1 |
execute_normal = false |
2 |
execute_random = false |
3 |
text_effect = "twitchy" |
4 |
if (global.battle_enemy_name == "sweet corn duo") |
5 |
{ |
6 |
if (global.enemy_dead_2 == true && global.fight_number == 2 && global.battle_menu_number == 1) |
7 |
{ |
8 |
message[0] = "What was#that#sound?" |
9 |
message_end = 0 |
10 |
} |
11 |
else |
12 |
execute_normal = true |
13 |
} |
14 |
else if (global.battle_enemy_name == "sweet corn penilla duo") |
15 |
{ |
16 |
if (global.enemy_dead_2 == true && global.fight_number == 2 && global.battle_menu_number == 1) |
17 |
{ |
18 |
text_effect = "circle" |
19 |
message[0] = "*oblivious#squeak*" |
20 |
message_end = 0 |
21 |
} |
22 |
else |
23 |
execute_normal = true |
24 |
} |
25 |
else |
26 |
execute_normal = true |
27 |
if (execute_normal == true) |
28 |
{ |
29 |
if (global.last_action_selected == "Action 1 Low HP") |
30 |
{ |
31 |
message[0] = "W-whatever#makes you#happy." |
32 |
message_end = 0 |
33 |
} |
34 |
else if (global.last_action_selected == "Action 1 Message 0") |
35 |
{ |
36 |
if (global.action_1_selected_count >= 3) |
37 |
{ |
38 |
message[0] = "Now#you're#just#invading#my space." |
39 |
message_end = 0 |
40 |
} |
41 |
else if (global.action_1_selected_count >= 2) |
42 |
{ |
43 |
message[0] = "Whatever#makes you#happy! I#suppose..." |
44 |
message_end = 0 |
45 |
} |
46 |
else if (global.action_1_selected_count >= 1) |
47 |
{ |
48 |
message[0] = "Whatever#makes you#happy!" |
49 |
message_end = 0 |
50 |
} |
51 |
} |
52 |
else if (global.last_action_selected == "Action 2 Low HP") |
53 |
{ |
54 |
message[0] = "I can't#feel your#love." |
55 |
message_end = 0 |
56 |
} |
57 |
else if (global.last_action_selected == "Action 2 Message 0") |
58 |
{ |
59 |
random_number = irandom_range(0, 1) |
60 |
if (random_number == 0) |
61 |
{ |
62 |
message[0] = "I love#hugs! <3" |
63 |
message_end = 0 |
64 |
} |
65 |
else if (random_number == 1) |
66 |
{ |
67 |
message[0] = "I'm#feelin'#the love~" |
68 |
message_end = 0 |
69 |
} |
70 |
} |
71 |
else if (global.last_action_selected == "Action 3 Low HP") |
72 |
{ |
73 |
message[0] = "I don't#want#anything#but a#smile." |
74 |
message_end = 0 |
75 |
} |
76 |
else if (global.last_action_selected == "Action 3 Message 0") |
77 |
{ |
78 |
if (global.item_gift == "Candy Corn") |
79 |
{ |
80 |
message[0] = "REALLY?!?" |
81 |
message_end = 0 |
82 |
} |
83 |
else if (global.item_gift == "Corn Dog") |
84 |
{ |
85 |
text_effect = "circle" |
86 |
message[0] = "*bark*#*bark*" |
87 |
message_end = 0 |
88 |
} |
89 |
else if (global.item_gift == "Nothing") |
90 |
{ |
91 |
message[0] = "It's the#thought#that#counts!" |
92 |
message_end = 0 |
93 |
} |
94 |
} |
95 |
else if (global.enemy_low_hp == true) |
96 |
{ |
97 |
random_number = irandom_range(0, 1) |
98 |
if (random_number == 0) |
99 |
{ |
100 |
message[0] = "Why#aren't#you#happy?" |
101 |
message_end = 0 |
102 |
} |
103 |
else if (random_number == 1) |
104 |
{ |
105 |
message[0] = "I feel...#hurt." |
106 |
message_end = 0 |
107 |
} |
108 |
} |
109 |
else |
110 |
{ |
111 |
if (global.battle_enemy_name == "sweet corn duo") |
112 |
{ |
113 |
if ((global.enemy_dead_2 + global.enemy_spared_2) < 1) |
114 |
{ |
115 |
random_number = irandom_range(0, 2) |
116 |
if (random_number == 0) |
117 |
{ |
118 |
message[0] = "I love#you so#much <3" |
119 |
message_end = 0 |
120 |
} |
121 |
else if (random_number == 1) |
122 |
{ |
123 |
message[0] = "You're so#sweet <3" |
124 |
message_end = 0 |
125 |
} |
126 |
else if (random_number == 2) |
127 |
{ |
128 |
message[0] = "A hug is#the best#medicine!" |
129 |
message_end = 0 |
130 |
} |
131 |
} |
132 |
else |
133 |
execute_random = true |
134 |
} |
135 |
else if (global.battle_enemy_name == "sweet corn penilla duo") |
136 |
{ |
137 |
if ((global.enemy_dead_2 + global.enemy_spared_2) < 1) |
138 |
{ |
139 |
random_number = irandom_range(0, 1) |
140 |
if (random_number == 0) |
141 |
{ |
142 |
message[0] = "Friend?" |
143 |
message_end = 0 |
144 |
} |
145 |
else if (random_number == 1) |
146 |
{ |
147 |
text_effect = "circle" |
148 |
message[0] = "*hums#along#with the#music*" |
149 |
message_end = 0 |
150 |
} |
151 |
} |
152 |
else |
153 |
execute_random = true |
154 |
} |
155 |
else |
156 |
execute_random = true |
157 |
if (execute_random == true) |
158 |
{ |
159 |
random_number = irandom_range(0, 3) |
160 |
if (random_number == 0) |
161 |
{ |
162 |
message[0] = "You're#doing#great,#Sweetie!" |
163 |
message_end = 0 |
164 |
} |
165 |
else if (random_number == 1) |
166 |
{ |
167 |
text_effect = "circle" |
168 |
message[0] = "*squeak*#*squeak*" |
169 |
message_end = 0 |
170 |
} |
171 |
else if (random_number == 2) |
172 |
{ |
173 |
message[0] = "You can#do this!" |
174 |
message_end = 0 |
175 |
} |
176 |
else if (random_number == 3) |
177 |
{ |
178 |
message[0] = "Remember,#I always#love you!#<3" |
179 |
message_end = 0 |
180 |
} |
181 |
} |
182 |
} |
183 |
} |
184 |
message_current = 0 |
185 |
message_draw = "" |
186 |
increase = global.text_speed |
187 |
characters = 0 |
188 |
hold = 0 |
189 |
message_length = string_length(message[message_current]) |
190 |
script_execute(gml_Script_scr_generate_text_counters) |
191 |
circle_text_angle = global.circle_text_angle_default |
192 |
circle_text_angle_direction = 1 |