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 |
if (color_count >= 1) |
7 |
message_draw_2 = string_copy(message_2[message_current], 0, characters); |
8 |
} |
9 |
if (characters < message_length) |
10 |
{ |
11 |
if (counter == 0) |
12 |
{ |
13 |
if (color_count >= 1) |
14 |
{ |
15 |
script_execute(scr_text_increase_color); |
16 |
script_execute(scr_talking_enemy_color); |
17 |
} |
18 |
else |
19 |
{ |
20 |
script_execute(scr_text_increase); |
21 |
script_execute(scr_talking_enemy); |
22 |
} |
23 |
} |
24 |
else |
25 |
{ |
26 |
can_talk = false; |
27 |
} |
28 |
} |
29 |
else |
30 |
{ |
31 |
can_talk = false; |
32 |
if (key_select_pressed) |
33 |
{ |
34 |
if (message_current < message_end) |
35 |
{ |
36 |
message_current += 1; |
37 |
message_length = string_length(message[message_current]); |
38 |
characters = 0; |
39 |
message_draw = ""; |
40 |
if (color_count >= 1) |
41 |
message_draw_2 = ""; |
42 |
} |
43 |
else |
44 |
{ |
45 |
with (obj_heart_battle_fighting_parent) |
46 |
moveable = true; |
47 |
with (obj_quote_bubble_battle_yellow_2_reverse) |
48 |
instance_destroy(); |
49 |
with (obj_quote_bubble_battle) |
50 |
instance_destroy(); |
51 |
with (obj_quote_battle_tellyvis_a) |
52 |
instance_destroy(); |
53 |
instance_destroy(); |
54 |
} |
55 |
} |
56 |
} |
57 |
if (color_count >= 1) |
58 |
script_execute(scr_text_counter_color); |
59 |
else |
60 |
script_execute(scr_text_counter); |