1 |
script_execute(scr_controls_text); |
2 |
if (instance_exists(obj_quote_bubble_battle)) |
3 |
{ |
4 |
if (draw_enabled == false) |
5 |
obj_quote_bubble_battle.visible = 0; |
6 |
else |
7 |
obj_quote_bubble_battle.visible = 1; |
8 |
} |
9 |
switch (global.turns_passed) |
10 |
{ |
11 |
case 0: |
12 |
script_execute(scr_cutscene_battle_macro_1); |
13 |
break; |
14 |
} |
15 |
if (!draw_enabled) |
16 |
exit; |
17 |
if (key_revert_pressed) |
18 |
{ |
19 |
characters = message_length; |
20 |
message_draw = string_copy(message[message_current], 0, characters); |
21 |
} |
22 |
if (characters < message_length) |
23 |
{ |
24 |
if (counter == 0) |
25 |
{ |
26 |
script_execute(scr_text_increase); |
27 |
script_execute(scr_talking_normal, voice_pitch); |
28 |
} |
29 |
else |
30 |
{ |
31 |
can_talk = false; |
32 |
} |
33 |
} |
34 |
else |
35 |
{ |
36 |
can_talk = false; |
37 |
if (key_select_pressed && skippable == true) |
38 |
{ |
39 |
if (message_current < message_end) |
40 |
{ |
41 |
message_adv = true; |
42 |
} |
43 |
else |
44 |
{ |
45 |
with (obj_heart_battle_fighting_parent) |
46 |
moveable = true; |
47 |
with (obj_quote_bubble_battle) |
48 |
instance_destroy(); |
49 |
instance_destroy(); |
50 |
} |
51 |
} |
52 |
} |
53 |
if (message_adv == true) |
54 |
{ |
55 |
message_current += 1; |
56 |
message_length = string_length(message[message_current]); |
57 |
characters = 0; |
58 |
message_draw = ""; |
59 |
draw_enabled = true; |
60 |
message_adv = false; |
61 |
} |
62 |
script_execute(scr_text_counter); |