| 1 |
script_execute(scr_controls_text); |
| 2 |
if (key_revert_pressed) |
| 3 |
{ |
| 4 |
characters = message_length; |
| 5 |
message_draw = string_copy(message[message_current], 0, characters); |
| 6 |
} |
| 7 |
if (characters < message_length) |
| 8 |
{ |
| 9 |
if (counter == 0) |
| 10 |
{ |
| 11 |
script_execute(scr_text_increase); |
| 12 |
script_execute(scr_talking_flowey_1); |
| 13 |
} |
| 14 |
else |
| 15 |
{ |
| 16 |
can_talk = false; |
| 17 |
} |
| 18 |
} |
| 19 |
else |
| 20 |
{ |
| 21 |
can_talk = false; |
| 22 |
if (key_select_pressed) |
| 23 |
{ |
| 24 |
if (message_current < message_end) |
| 25 |
{ |
| 26 |
if (message_current == 1) |
| 27 |
audio_sound_pitch(mus_floweynew_yellow, 1); |
| 28 |
message_current += 1; |
| 29 |
message_length = string_length(message[message_current]); |
| 30 |
characters = 0; |
| 31 |
message_draw = ""; |
| 32 |
} |
| 33 |
else |
| 34 |
{ |
| 35 |
instance_create(0, 0, obj_battle_fade_out_screen); |
| 36 |
with (obj_quote_bubble_battle) |
| 37 |
instance_destroy(); |
| 38 |
instance_destroy(); |
| 39 |
} |
| 40 |
} |
| 41 |
} |
| 42 |
script_execute(scr_text_counter); |