| 1 |
script_execute(scr_controls_text); |
| 2 |
if (global.turns_passed == 5) |
| 3 |
{ |
| 4 |
if (audio_is_playing(mus_danza_battle_yellow)) |
| 5 |
key_select_pressed = false; |
| 6 |
else |
| 7 |
alarm[0] = 30; |
| 8 |
} |
| 9 |
if (key_revert_pressed) |
| 10 |
{ |
| 11 |
characters = message_length; |
| 12 |
message_draw = string_copy(message[message_current], 0, characters); |
| 13 |
} |
| 14 |
if (characters < message_length) |
| 15 |
{ |
| 16 |
if (counter == 0) |
| 17 |
{ |
| 18 |
script_execute(scr_text_increase); |
| 19 |
script_execute(scr_talking_enemy); |
| 20 |
} |
| 21 |
else |
| 22 |
{ |
| 23 |
can_talk = false; |
| 24 |
} |
| 25 |
} |
| 26 |
else |
| 27 |
{ |
| 28 |
can_talk = false; |
| 29 |
if (key_select_pressed) |
| 30 |
{ |
| 31 |
if (message_current < message_end) |
| 32 |
{ |
| 33 |
message_current += 1; |
| 34 |
message_length = string_length(message[message_current]); |
| 35 |
characters = 0; |
| 36 |
message_draw = ""; |
| 37 |
} |
| 38 |
else |
| 39 |
{ |
| 40 |
with (obj_heart_battle_fighting_parent) |
| 41 |
moveable = true; |
| 42 |
with (obj_quote_bubble_battle) |
| 43 |
instance_destroy(); |
| 44 |
instance_destroy(); |
| 45 |
} |
| 46 |
} |
| 47 |
} |
| 48 |
script_execute(scr_text_counter); |