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(talk_script); |
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 |
message_current += 1; |
27 |
message_length = string_length(message[message_current]); |
28 |
characters = 0; |
29 |
message_draw = ""; |
30 |
} |
31 |
else |
32 |
{ |
33 |
with (obj_quote_bubble_battle) |
34 |
instance_destroy(); |
35 |
switch (object_index) |
36 |
{ |
37 |
case obj_quote_battle_feisty_four_t3_mooch_1: |
38 |
with (obj_enemy_controller_feisty_four) |
39 |
{ |
40 |
case_exec = "T3 Vanish Ace"; |
41 |
event_user(0); |
42 |
} |
43 |
break; |
44 |
case obj_quote_battle_feisty_four_t7_mooch: |
45 |
with (obj_enemy_controller_feisty_four) |
46 |
{ |
47 |
case_exec = "T7 Vanish Ace"; |
48 |
event_user(0); |
49 |
} |
50 |
break; |
51 |
case obj_quote_battle_feisty_four_t8_ed: |
52 |
with (obj_enemy_controller_feisty_four) |
53 |
{ |
54 |
case_exec = "T8 Appear Moray"; |
55 |
event_user(0); |
56 |
} |
57 |
break; |
58 |
case obj_quote_battle_feisty_four_t9_ace: |
59 |
with (obj_enemy_controller_feisty_four) |
60 |
{ |
61 |
case_exec = "T9 Quote Mooch 1"; |
62 |
event_user(0); |
63 |
instance_destroy(other); |
64 |
exit; |
65 |
} |
66 |
break; |
67 |
case obj_quote_battle_feisty_four_t9_mooch_1: |
68 |
with (obj_enemy_controller_feisty_four) |
69 |
{ |
70 |
case_exec = "T9 Appear Mooch"; |
71 |
event_user(0); |
72 |
} |
73 |
break; |
74 |
case obj_quote_battle_feisty_four_t10_ed_1: |
75 |
with (obj_enemy_controller_feisty_four) |
76 |
{ |
77 |
instance_create(0, 74, obj_quote_bubble_battle); |
78 |
instance_create_depth(0, 0, -1000, obj_quote_battle_feisty_four_t10_starlo_1); |
79 |
} |
80 |
break; |
81 |
case obj_quote_battle_feisty_four_t10_starlo_1: |
82 |
with (obj_enemy_controller_feisty_four) |
83 |
{ |
84 |
instance_create(390, 74, obj_quote_bubble_battle_yellow_3); |
85 |
instance_create_depth(0, 0, -1000, obj_quote_battle_feisty_four_t10_ed_2); |
86 |
} |
87 |
break; |
88 |
case obj_quote_battle_feisty_four_t10_ed_2: |
89 |
with (obj_enemy_controller_feisty_four) |
90 |
instance_create(0, 0, obj_battle_fade_out_screen); |
91 |
break; |
92 |
default: |
93 |
with (obj_heart_battle_fighting_parent) |
94 |
moveable = true; |
95 |
} |
96 |
instance_destroy(); |
97 |
} |
98 |
} |
99 |
} |
100 |
script_execute(scr_text_counter); |