1 |
script_execute(gml_Script_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(gml_Script_scr_text_increase) |
12 |
script_execute(talk_script) |
13 |
} |
14 |
else |
15 |
can_talk = false |
16 |
} |
17 |
else |
18 |
{ |
19 |
can_talk = false |
20 |
if key_select_pressed |
21 |
{ |
22 |
if (message_current < message_end) |
23 |
{ |
24 |
message_current += 1 |
25 |
message_length = string_length(message[message_current]) |
26 |
characters = 0 |
27 |
message_draw = "" |
28 |
} |
29 |
else |
30 |
{ |
31 |
with (obj_quote_bubble_battle) |
32 |
instance_destroy() |
33 |
switch object_index |
34 |
{ |
35 |
case obj_quote_battle_feisty_four_t3_mooch_1: |
36 |
with (obj_enemy_controller_feisty_four) |
37 |
{ |
38 |
case_exec = "T3 Vanish Ace" |
39 |
event_user(0) |
40 |
} |
41 |
break |
42 |
case 2664: |
43 |
with (obj_enemy_controller_feisty_four) |
44 |
{ |
45 |
case_exec = "T7 Vanish Ace" |
46 |
event_user(0) |
47 |
} |
48 |
break |
49 |
case 646: |
50 |
with (obj_enemy_controller_feisty_four) |
51 |
{ |
52 |
case_exec = "T8 Appear Moray" |
53 |
event_user(0) |
54 |
} |
55 |
break |
56 |
case 258: |
57 |
with (obj_enemy_controller_feisty_four) |
58 |
{ |
59 |
case_exec = "T9 Quote Mooch 1" |
60 |
event_user(0) |
61 |
instance_destroy(other) |
62 |
return; |
63 |
} |
64 |
case 875: |
65 |
with (obj_enemy_controller_feisty_four) |
66 |
{ |
67 |
case_exec = "T9 Appear Mooch" |
68 |
event_user(0) |
69 |
} |
70 |
break |
71 |
case 1306: |
72 |
with (obj_enemy_controller_feisty_four) |
73 |
{ |
74 |
instance_create(0, 74, obj_quote_bubble_battle) |
75 |
instance_create_depth(0, 0, -1000, obj_quote_battle_feisty_four_t10_starlo_1) |
76 |
} |
77 |
break |
78 |
case 744: |
79 |
with (obj_enemy_controller_feisty_four) |
80 |
{ |
81 |
instance_create(390, 74, obj_quote_bubble_battle_yellow_3) |
82 |
instance_create_depth(0, 0, -1000, obj_quote_battle_feisty_four_t10_ed_2) |
83 |
} |
84 |
break |
85 |
case 597: |
86 |
with (obj_enemy_controller_feisty_four) |
87 |
instance_create(0, 0, obj_battle_fade_out_screen) |
88 |
break |
89 |
default: |
90 |
with (obj_heart_battle_fighting_parent) |
91 |
moveable = true |
92 |
} |
93 |
|
94 |
instance_destroy() |
95 |
} |
96 |
} |
97 |
} |
98 |
script_execute(gml_Script_scr_text_counter) |