1 |
execute_normal = false |
2 |
execute_random = false |
3 |
text_effect = "twitchy" |
4 |
text_effect_2 = "twitchy" |
5 |
color_count = 0 |
6 |
if (global.battle_enemy_name == "insomnitot duo") |
7 |
{ |
8 |
var heart_position = script_execute(gml_Script_scr_return_heart_battle_menu_position) |
9 |
if (global.enemy_dead == true && global.fight_number == 1 && global.battle_menu_number == 1) |
10 |
{ |
11 |
message[0] = "Huh? What? I#think I nodded#off..." |
12 |
message_end = 0 |
13 |
} |
14 |
else if (global.last_action_selected == "Action 1 Message 1" && heart_position == "2122") |
15 |
{ |
16 |
message[0] = "So much for all night." |
17 |
message_end = 0 |
18 |
} |
19 |
else |
20 |
execute_normal = true |
21 |
} |
22 |
else if (global.battle_enemy_name == "know cone insomnitot duo") |
23 |
{ |
24 |
if (global.enemy_dead == true && global.fight_number == 1 && global.battle_menu_number == 1) |
25 |
{ |
26 |
message[0] = "Huh. The noise#stopped." |
27 |
message_end = 0 |
28 |
} |
29 |
else |
30 |
execute_normal = true |
31 |
} |
32 |
else |
33 |
execute_normal = true |
34 |
if (execute_normal == true) |
35 |
{ |
36 |
if (global.last_action_selected_2 == "Action 1 Low HP") |
37 |
{ |
38 |
message[0] = "You need vocal#lessons." |
39 |
message_end = 0 |
40 |
} |
41 |
else if (global.last_action_selected_2 == "Action 1 Sparing") |
42 |
{ |
43 |
message[0] = "Pretty song...#zzzz..." |
44 |
message_end = 0 |
45 |
} |
46 |
else if (global.last_action_selected_2 == "Action 1 Message 1") |
47 |
{ |
48 |
random_number = irandom_range(0, 1) |
49 |
if (random_number == 0) |
50 |
{ |
51 |
text_effect_2 = "circle" |
52 |
message[0] = "You're a #good sing...er..." |
53 |
message_2[0] = " *YAWN*# " |
54 |
message_end = 0 |
55 |
color_count = 1 |
56 |
} |
57 |
else if (random_number == 1) |
58 |
{ |
59 |
message[0] = "I like that#song..." |
60 |
message_end = 0 |
61 |
} |
62 |
} |
63 |
else if (global.last_action_selected_2 == "Action 1 Message 0") |
64 |
{ |
65 |
random_number = irandom_range(0, 1) |
66 |
if (random_number == 0) |
67 |
{ |
68 |
message[0] = "Know anything#more upbeat?" |
69 |
message_end = 0 |
70 |
} |
71 |
else if (random_number == 1) |
72 |
{ |
73 |
message[0] = "I see what#you're doing.#It's not gonna#work!" |
74 |
message_end = 0 |
75 |
} |
76 |
} |
77 |
else if (global.last_action_selected_2 == "Action 2 Low HP") |
78 |
{ |
79 |
message[0] = "You're not the#boss of me." |
80 |
message_end = 0 |
81 |
} |
82 |
else if (global.last_action_selected_2 == "Action 2 Sparing" || global.last_action_selected_2 == "Action 2 Message 0") |
83 |
{ |
84 |
random_number = irandom_range(0, 1) |
85 |
if (random_number == 0) |
86 |
{ |
87 |
message[0] = "Yeah, yeah,#don't talk to#strangers." |
88 |
message_end = 0 |
89 |
} |
90 |
else if (random_number == 1) |
91 |
{ |
92 |
message[0] = "You sound like#my parents!" |
93 |
message_end = 0 |
94 |
} |
95 |
} |
96 |
else if (global.last_action_selected_2 == "Action 3 Low HP") |
97 |
{ |
98 |
message[0] = "Nice try." |
99 |
message_end = 0 |
100 |
} |
101 |
else if (global.last_action_selected_2 == "Action 3 Sparing" || global.last_action_selected_2 == "Action 3 Message 0") |
102 |
{ |
103 |
random_number = irandom_range(0, 1) |
104 |
if (random_number == 0) |
105 |
{ |
106 |
message[0] = "I'm...#getting...#sleepy?" |
107 |
message_end = 0 |
108 |
} |
109 |
else if (random_number == 1) |
110 |
{ |
111 |
text_effect = "circle" |
112 |
message[0] = "*YAWN*" |
113 |
message_end = 0 |
114 |
} |
115 |
} |
116 |
else if (global.enemy_low_hp_2 == true) |
117 |
{ |
118 |
random_number = irandom_range(0, 1) |
119 |
if (random_number == 0) |
120 |
{ |
121 |
message[0] = "Ow... now I have#a headache." |
122 |
message_end = 0 |
123 |
} |
124 |
else if (random_number == 1) |
125 |
{ |
126 |
message[0] = "No need to be so#crass." |
127 |
message_end = 0 |
128 |
} |
129 |
} |
130 |
else if (global.enemy_sparing_2 == true) |
131 |
{ |
132 |
random_number = irandom_range(0, 2) |
133 |
if (random_number == 0) |
134 |
{ |
135 |
message[0] = "Zzzz...zzz" |
136 |
message_end = 0 |
137 |
} |
138 |
else if (random_number == 1) |
139 |
{ |
140 |
text_effect = "circle" |
141 |
message[0] = "*Snore*" |
142 |
message_end = 0 |
143 |
} |
144 |
else if (random_number == 2) |
145 |
{ |
146 |
message[0] = "Zzzzz... noodles... zzz" |
147 |
message_end = 0 |
148 |
} |
149 |
} |
150 |
else |
151 |
{ |
152 |
if (global.battle_enemy_name == "insomnitot duo") |
153 |
{ |
154 |
if ((global.enemy_dead + global.enemy_spared) < 1) |
155 |
{ |
156 |
random_number = irandom_range(0, 3) |
157 |
if (random_number == 0) |
158 |
{ |
159 |
message[0] = "When you have#friends, you#don't need sleep!" |
160 |
message_end = 0 |
161 |
} |
162 |
else if (random_number == 1) |
163 |
{ |
164 |
message[0] = "We're gonna stay#up all night#chatting!" |
165 |
message_end = 0 |
166 |
} |
167 |
else if (random_number == 2) |
168 |
{ |
169 |
message[0] = "We're starting a#night owl club." |
170 |
message_end = 0 |
171 |
} |
172 |
else if (random_number == 3) |
173 |
{ |
174 |
message[0] = "Together we fight#the oppressive#construct of#bedtimes!" |
175 |
message_end = 0 |
176 |
} |
177 |
} |
178 |
else |
179 |
execute_random = true |
180 |
} |
181 |
if (global.battle_enemy_name == "know cone insomnitot duo") |
182 |
{ |
183 |
if ((global.enemy_dead + global.enemy_spared) < 1) |
184 |
{ |
185 |
random_number = irandom_range(0, 1) |
186 |
if (random_number == 0) |
187 |
{ |
188 |
message[0] = "I can't sleep#even if I wanted#to." |
189 |
message_end = 0 |
190 |
} |
191 |
else if (random_number == 1) |
192 |
{ |
193 |
text_effect = "circle" |
194 |
message[0] = "*YAWN*" |
195 |
message_end = 0 |
196 |
} |
197 |
} |
198 |
else |
199 |
execute_random = true |
200 |
} |
201 |
else |
202 |
execute_random = true |
203 |
if (execute_random == true) |
204 |
{ |
205 |
random_number = irandom_range(0, 4) |
206 |
if (random_number == 0) |
207 |
{ |
208 |
message[0] = "I outgrew my#bedtime, so no#rules for me." |
209 |
message_end = 0 |
210 |
} |
211 |
else if (random_number == 1) |
212 |
{ |
213 |
message[0] = "Sleep is for#the weak!" |
214 |
message_end = 0 |
215 |
} |
216 |
else if (random_number == 2) |
217 |
{ |
218 |
message[0] = "Cool things#happen 24 hours#a day!" |
219 |
message_end = 0 |
220 |
} |
221 |
else if (random_number == 3) |
222 |
{ |
223 |
message[0] = "I'm not tired,#you are!" |
224 |
message_end = 0 |
225 |
} |
226 |
else if (random_number == 4) |
227 |
{ |
228 |
message[0] = "Don't know what#time it is and#I don't care." |
229 |
message_end = 0 |
230 |
} |
231 |
} |
232 |
} |
233 |
} |
234 |
message_current = 0 |
235 |
message_draw = "" |
236 |
increase = global.text_speed |
237 |
characters = 0 |
238 |
hold = 0 |
239 |
message_length = string_length(message[message_current]) |
240 |
script_execute(gml_Script_scr_generate_text_counters) |
241 |
circle_text_angle = global.circle_text_angle_default |
242 |
circle_text_angle_direction = 1 |