1 |
function scr_battle_core_directory_check_selected_textscr_battle_core_directory_check_selected_textfunction scr_battle_core_directory_check_selected_text() //gml_Script_scr_battle_core_directory_check_selected_text
{
if (global.battling_boss == true)
{
var battle_enemy_name = global.battle_enemy_name
var enemy_attack_stat = global.enemy_attack_stat
var enemy_defense_stat = global.enemy_defense_stat
var enemy_mode = global.enemy_mode
var enemy_low_hp = global.enemy_low_hp
}
else
{
var act_number = global.act_number
switch act_number
{
case 1:
battle_enemy_name = global.battle_enemy_name_1
enemy_attack_stat = global.enemy_attack_stat
enemy_defense_stat = global.enemy_defense_stat
enemy_mode = global.enemy_mode
enemy_low_hp = global.enemy_low_hp
break
case 2:
battle_enemy_name = global.battle_enemy_name_2
enemy_attack_stat = global.enemy_attack_stat_2
enemy_defense_stat = global.enemy_defense_stat_2
enemy_mode = global.enemy_mode_2
enemy_low_hp = global.enemy_low_hp_2
break
case 3:
battle_enemy_name = global.battle_enemy_name_3
enemy_attack_stat = global.enemy_attack_stat_3
enemy_defense_stat = global.enemy_defense_stat_3
enemy_mode = global.enemy_mode_3
enemy_low_hp = global.enemy_low_hp_3
break
default:
battle_enemy_name = global.battle_enemy_name_1
enemy_attack_stat = global.enemy_attack_stat
enemy_defense_stat = global.enemy_defense_stat
enemy_mode = global.enemy_mode
enemy_low_hp = global.enemy_low_hp
}
}
var game_mode = global.game_mode
if (game_mode == "customs")
{
if (battle_enemy_name == "craniex")
message[0] = "* CRANIEX -- ATK " + string(enemy_attack_stat) + " DEF " + string(enemy_defense_stat) + "#* Gifted logically, stubborn# emotionally."
else if (battle_enemy_name == "ms mettaton")
{
if (global.ms_mettaton_transformed == false)
message[0] = "* MS. METTATON -- ATK " + string(enemy_attack_stat) + " DEF " + string(enemy_defense_stat) + "#* Her speed renders her# invulnerable to attack."
else
message[0] = "* MS. METTATON EX ATK " + string(enemy_attack_stat) + " DEF " + string(enemy_defense_stat) + "#* The ultimate, yet imperfect,# killer robot!"
}
}
else if (game_mode == "yellow")
{
if (battle_enemy_name == "froggit intro")
message[0] = "* FROGGIT -- ATK " + string(enemy_attack_stat) + " DEF " + string(enemy_defense_stat) + "#* Life is difficult for this# enemy."
else if (battle_enemy_name == "flier a" || battle_enemy_name == "flier b" || battle_enemy_name == "flier c")
message[0] = "* FLIER -- ATK " + string(enemy_attack_stat) + " DEF " + string(enemy_defense_stat) + "#* Flier feels nothing."
else if (battle_enemy_name == "penilla a" || battle_enemy_name == "penilla b")
message[0] = "* PENILLA -- ATK " + string(enemy_attack_stat) + " DEF " + string(enemy_defense_stat) + "#* A sketchy character."
else if (battle_enemy_name == "sweet corn a" || battle_enemy_name == "sweet corn b")
message[0] = "* SWEET CORN -- ATK " + string(enemy_attack_stat) + " DEF " + string(enemy_defense_stat) + "#* Constantly on a sugar rush."
else if (battle_enemy_name == "crispy scroll a")
message[0] = "* CRISPY SCROLL -- ATK " + string(enemy_attack_stat) + " DEF " + string(enemy_defense_stat) + "#* Looking for someone who can# match his enthusiasm."
else if (battle_enemy_name == "rorrim a")
message[0] = "* RORRIM -- ATK " + string(enemy_attack_stat) + " DEF " + string(enemy_defense_stat) + "#* Rorrim's expression is blank."
else if (battle_enemy_name == "decibat")
message[0] = "* DECIBAT -- ATK " + string(enemy_attack_stat) + " DEF " + string(enemy_defense_stat) + "#* Missing his quiet solitude."
else if (battle_enemy_name == "dalv")
{
switch enemy_mode
{
case 0:
message[0] = "* DALV -- ATK " + string(enemy_attack_stat) + " DEF " + string(enemy_defense_stat) + "#* Wants to be left alone."
break
case 1:
message[0] = "* DALV -- ATK " + string(enemy_attack_stat) + " DEF " + string(enemy_defense_stat) + "#* Acting somber."
break
case 2:
message[0] = "* DALV -- ATK " + string(enemy_attack_stat) + " DEF " + string(enemy_defense_stat) + "#* Finally alone."
break
default:
message[0] = "* DALV -- ATK " + string(enemy_attack_stat) + " DEF " + string(enemy_defense_stat) + "#* Wants to be left alone."
}
}
else if (battle_enemy_name == "micro froggit")
message[0] = "* MICRO FROGGIT -- ATK " + string(enemy_attack_stat) + " DEF " + string(enemy_defense_stat) + "#* Often falls through the cracks."
else if (battle_enemy_name == "insomnitot a" || battle_enemy_name == "insomnitot b")
message[0] = "* INSOMNITOT -- ATK " + string(enemy_attack_stat) + " DEF " + string(enemy_defense_stat) + "#* Up past its bedtime."
else if (battle_enemy_name == "know cone a" || battle_enemy_name == "know cone b")
{
if (global.route == 2)
message[0] = "* KNOW CONE -- ATK " + string(enemy_attack_stat) + " DEF " + string(enemy_defense_stat) + "#* One ski short of a snowmobile."
else
... () //gml_Script_scr_battle_core_directory_check_selected_text |
2 |
{ |
3 |
if (global.battling_boss == true) |
4 |
{ |
5 |
var battle_enemy_name = global.battle_enemy_name |
6 |
var enemy_attack_stat = global.enemy_attack_stat |
7 |
var enemy_defense_stat = global.enemy_defense_stat |
8 |
var enemy_mode = global.enemy_mode |
9 |
var enemy_low_hp = global.enemy_low_hp |
10 |
} |
11 |
else |
12 |
{ |
13 |
var act_number = global.act_number |
14 |
switch act_number |
15 |
{ |
16 |
case 1: |
17 |
battle_enemy_name = global.battle_enemy_name_1 |
18 |
enemy_attack_stat = global.enemy_attack_stat |
19 |
enemy_defense_stat = global.enemy_defense_stat |
20 |
enemy_mode = global.enemy_mode |
21 |
enemy_low_hp = global.enemy_low_hp |
22 |
break |
23 |
case 2: |
24 |
battle_enemy_name = global.battle_enemy_name_2 |
25 |
enemy_attack_stat = global.enemy_attack_stat_2 |
26 |
enemy_defense_stat = global.enemy_defense_stat_2 |
27 |
enemy_mode = global.enemy_mode_2 |
28 |
enemy_low_hp = global.enemy_low_hp_2 |
29 |
break |
30 |
case 3: |
31 |
battle_enemy_name = global.battle_enemy_name_3 |
32 |
enemy_attack_stat = global.enemy_attack_stat_3 |
33 |
enemy_defense_stat = global.enemy_defense_stat_3 |
34 |
enemy_mode = global.enemy_mode_3 |
35 |
enemy_low_hp = global.enemy_low_hp_3 |
36 |
break |
37 |
default: |
38 |
battle_enemy_name = global.battle_enemy_name_1 |
39 |
enemy_attack_stat = global.enemy_attack_stat |
40 |
enemy_defense_stat = global.enemy_defense_stat |
41 |
enemy_mode = global.enemy_mode |
42 |
enemy_low_hp = global.enemy_low_hp |
43 |
} |
44 |
|
45 |
} |
46 |
var game_mode = global.game_mode |
47 |
if (game_mode == "customs") |
48 |
{ |
49 |
if (battle_enemy_name == "craniex") |
50 |
message[0] = "* CRANIEX -- ATK " + string(enemy_attack_stat) + " DEF " + string(enemy_defense_stat) + "#* Gifted logically, stubborn# emotionally." |
51 |
else if (battle_enemy_name == "ms mettaton") |
52 |
{ |
53 |
if (global.ms_mettaton_transformed == false) |
54 |
message[0] = "* MS. METTATON -- ATK " + string(enemy_attack_stat) + " DEF " + string(enemy_defense_stat) + "#* Her speed renders her# invulnerable to attack." |
55 |
else |
56 |
message[0] = "* MS. METTATON EX ATK " + string(enemy_attack_stat) + " DEF " + string(enemy_defense_stat) + "#* The ultimate, yet imperfect,# killer robot!" |
57 |
} |
58 |
} |
59 |
else if (game_mode == "yellow") |
60 |
{ |
61 |
if (battle_enemy_name == "froggit intro") |
62 |
message[0] = "* FROGGIT -- ATK " + string(enemy_attack_stat) + " DEF " + string(enemy_defense_stat) + "#* Life is difficult for this# enemy." |
63 |
else if (battle_enemy_name == "flier a" || battle_enemy_name == "flier b" || battle_enemy_name == "flier c") |
64 |
message[0] = "* FLIER -- ATK " + string(enemy_attack_stat) + " DEF " + string(enemy_defense_stat) + "#* Flier feels nothing." |
65 |
else if (battle_enemy_name == "penilla a" || battle_enemy_name == "penilla b") |
66 |
message[0] = "* PENILLA -- ATK " + string(enemy_attack_stat) + " DEF " + string(enemy_defense_stat) + "#* A sketchy character." |
67 |
else if (battle_enemy_name == "sweet corn a" || battle_enemy_name == "sweet corn b") |
68 |
message[0] = "* SWEET CORN -- ATK " + string(enemy_attack_stat) + " DEF " + string(enemy_defense_stat) + "#* Constantly on a sugar rush." |
69 |
else if (battle_enemy_name == "crispy scroll a") |
70 |
message[0] = "* CRISPY SCROLL -- ATK " + string(enemy_attack_stat) + " DEF " + string(enemy_defense_stat) + "#* Looking for someone who can# match his enthusiasm." |
71 |
else if (battle_enemy_name == "rorrim a") |
72 |
message[0] = "* RORRIM -- ATK " + string(enemy_attack_stat) + " DEF " + string(enemy_defense_stat) + "#* Rorrim's expression is blank." |
73 |
else if (battle_enemy_name == "decibat") |
74 |
message[0] = "* DECIBAT -- ATK " + string(enemy_attack_stat) + " DEF " + string(enemy_defense_stat) + "#* Missing his quiet solitude." |
75 |
else if (battle_enemy_name == "dalv") |
76 |
{ |
77 |
switch enemy_mode |
78 |
{ |
79 |
case 0: |
80 |
message[0] = "* DALV -- ATK " + string(enemy_attack_stat) + " DEF " + string(enemy_defense_stat) + "#* Wants to be left alone." |
81 |
break |
82 |
case 1: |
83 |
message[0] = "* DALV -- ATK " + string(enemy_attack_stat) + " DEF " + string(enemy_defense_stat) + "#* Acting somber." |
84 |
break |
85 |
case 2: |
86 |
message[0] = "* DALV -- ATK " + string(enemy_attack_stat) + " DEF " + string(enemy_defense_stat) + "#* Finally alone." |
87 |
break |
88 |
default: |
89 |
message[0] = "* DALV -- ATK " + string(enemy_attack_stat) + " DEF " + string(enemy_defense_stat) + "#* Wants to be left alone." |
90 |
} |
91 |
|
92 |
} |
93 |
else if (battle_enemy_name == "micro froggit") |
94 |
message[0] = "* MICRO FROGGIT -- ATK " + string(enemy_attack_stat) + " DEF " + string(enemy_defense_stat) + "#* Often falls through the cracks." |
95 |
else if (battle_enemy_name == "insomnitot a" || battle_enemy_name == "insomnitot b") |
96 |
message[0] = "* INSOMNITOT -- ATK " + string(enemy_attack_stat) + " DEF " + string(enemy_defense_stat) + "#* Up past its bedtime." |
97 |
else if (battle_enemy_name == "know cone a" || battle_enemy_name == "know cone b") |
98 |
{ |
99 |
if (global.route == 2) |
100 |
message[0] = "* KNOW CONE -- ATK " + string(enemy_attack_stat) + " DEF " + string(enemy_defense_stat) + "#* One ski short of a snowmobile." |
101 |
else |
102 |
message[0] = "* KNOW CONE -- ATK " + string(enemy_attack_stat) + " DEF " + string(enemy_defense_stat) + "#* An eager mind filled with a# burning passion." |
103 |
} |
104 |
else if (battle_enemy_name == "frostermit a") |
105 |
{ |
106 |
if (enemy_mode == 1) |
107 |
message[0] = "* FROSTERMIT -- ATK " + string(enemy_attack_stat) + " DEF " + string(enemy_defense_stat) + "#* Always right at home." |
108 |
else |
109 |
message[0] = "* FROSTERMIT -- ATK " + string(enemy_attack_stat) + " DEF " + string(enemy_defense_stat) + "#* A suspicious igloo." |
110 |
} |
111 |
else if (battle_enemy_name == "trihecta") |
112 |
message[0] = "* TRIHECTA -- ATK " + string(enemy_attack_stat) + " DEF " + string(enemy_defense_stat) + "#* Intimidatingly tall." |
113 |
else if (battle_enemy_name == "tri") |
114 |
{ |
115 |
if (enemy_low_hp == true) |
116 |
message[0] = "* TRI -- ATK " + string(enemy_attack_stat) + " DEF " + string(enemy_defense_stat) + "#* No longer intimidating." |
117 |
else |
118 |
message[0] = "* TRI -- ATK " + string(enemy_attack_stat) + " DEF " + string(enemy_defense_stat) + "#* Taking things one step at a# time." |
119 |
} |
120 |
else if (battle_enemy_name == "hec") |
121 |
{ |
122 |
if (enemy_low_hp == true) |
123 |
message[0] = "* HEC -- ATK " + string(enemy_attack_stat) + " DEF " + string(enemy_defense_stat) + "#* No longer intimidating." |
124 |
else |
125 |
message[0] = "* HEC -- ATK " + string(enemy_attack_stat) + " DEF " + string(enemy_defense_stat) + "#* Day is getting better." |
126 |
} |
127 |
else if (battle_enemy_name == "ta") |
128 |
{ |
129 |
if (enemy_low_hp == true) |
130 |
message[0] = "* TA -- ATK " + string(enemy_attack_stat) + " DEF " + string(enemy_defense_stat) + "#* No longer intimidating." |
131 |
else |
132 |
message[0] = "* TA -- ATK " + string(enemy_attack_stat) + " DEF " + string(enemy_defense_stat) + "#* Hopping with excitement!!" |
133 |
} |
134 |
else if (battle_enemy_name == "martlet pacifist") |
135 |
message[0] = "* MARTLET -- ATK " + string(enemy_attack_stat) + " DEF " + string(enemy_defense_stat) + "#* A little scatterbrained." |
136 |
else if (battle_enemy_name == "martlet genocide") |
137 |
{ |
138 |
if (enemy_mode == 3) |
139 |
message[0] = "* MARTLET -- ATK " + string(enemy_attack_stat) + " DEF " + string(enemy_defense_stat) + "#* Standing firm." |
140 |
else |
141 |
message[0] = "* MARTLET -- ATK " + string(enemy_attack_stat) + " DEF " + string(enemy_defense_stat) + "#* Scatterbrained." |
142 |
} |
143 |
else if (battle_enemy_name == "dunebud a" || battle_enemy_name == "dunebud b") |
144 |
{ |
145 |
if (enemy_low_hp == true) |
146 |
message[0] = "* DUNEBUD -- ATK " + string(enemy_attack_stat) + " DEF " + string(enemy_defense_stat) + "#* Wondering." |
147 |
else |
148 |
message[0] = "* DUNEBUD -- ATK " + string(enemy_attack_stat) + " DEF " + string(enemy_defense_stat) + "#* Looking for some fun." |
149 |
} |
150 |
else if (battle_enemy_name == "cactony a") |
151 |
message[0] = "* CACTONY -- ATK " + string(enemy_attack_stat) + " DEF " + string(enemy_defense_stat) + "#* Lacks physical affection." |
152 |
else if (battle_enemy_name == "slither a" || battle_enemy_name == "slither b") |
153 |
message[0] = "* SLITHER -- ATK " + string(enemy_attack_stat) + " DEF " + string(enemy_defense_stat) + "#* Trying to get a leg up in the# world." |
154 |
else if (battle_enemy_name == "bowll a") |
155 |
message[0] = "* BOWLL -- ATK " + string(enemy_attack_stat) + " DEF " + string(enemy_defense_stat) + "#* A fragile facade." |
156 |
else if (battle_enemy_name == "el bailador") |
157 |
{ |
158 |
if (global.route != 3) |
159 |
message[0] = "* EL BAILADOR -- ATK " + string(enemy_attack_stat) + " DEF " + string(enemy_defense_stat) + "#* The definition of passion!" |
160 |
else |
161 |
message[0] = "* EL BAILADOR -- ATK " + string(enemy_attack_stat) + " DEF " + string(enemy_defense_stat) + "#* Another roadblock." |
162 |
} |
163 |
else if (battle_enemy_name == "flower girls") |
164 |
{ |
165 |
switch global.dunes_flag[31] |
166 |
{ |
167 |
case 1: |
168 |
message[0] = "* Violetta -- ATK " + string(enemy_attack_stat) + " DEF " + string(enemy_defense_stat) + "#* Not one for conversation." |
169 |
break |
170 |
case 2: |
171 |
message[0] = "* Pedla -- ATK " + string(enemy_attack_stat) + " DEF " + string(enemy_defense_stat) + "#* Loves to give away flowers." |
172 |
break |
173 |
case 3: |
174 |
message[0] = "* Rosa -- ATK " + string(enemy_attack_stat) + " DEF " + string(enemy_defense_stat) + "#* Likes a good challenge." |
175 |
break |
176 |
} |
177 |
|
178 |
} |
179 |
else if (battle_enemy_name == "dummy training pacifist") |
180 |
message[0] = "* DUMMY -- ATK ? DEF ?#* Just a dummy." |
181 |
else if (battle_enemy_name == "ceroba genocide") |
182 |
message[0] = "* CEROBA -- ATK " + string(enemy_attack_stat) + " DEF " + string(enemy_defense_stat) + "#* Nothing left." |
183 |
else if (battle_enemy_name == "starlo") |
184 |
{ |
185 |
if (global.attack_cycle < 10) |
186 |
message[0] = "* STARLO -- ATK " + string(enemy_attack_stat) + " DEF " + string(enemy_defense_stat) + "#* The almighty Sheriff." |
187 |
else |
188 |
message[0] = "* STARLO -- ATK " + string(enemy_attack_stat) + " DEF " + string(enemy_defense_stat) + "#* The not-so-almighty Sheriff." |
189 |
} |
190 |
else if (battle_enemy_name == "ed") |
191 |
message[0] = "* ED -- ATK " + string(enemy_attack_stat) + " DEF " + string(enemy_defense_stat) + "#* The dream team!" |
192 |
else if (battle_enemy_name == "moray") |
193 |
message[0] = "* MORAY -- ATK " + string(enemy_attack_stat) + " DEF " + string(enemy_defense_stat) + "#* The dream team!" |
194 |
else if (battle_enemy_name == "ace") |
195 |
message[0] = "* ACE -- ATK " + string(enemy_attack_stat) + " DEF " + string(enemy_defense_stat) + "#* The dream team!" |
196 |
else if (battle_enemy_name == "mooch") |
197 |
message[0] = "* MOOCH -- ATK " + string(enemy_attack_stat) + " DEF " + string(enemy_defense_stat) + "#* The dream team!" |
198 |
else if (battle_enemy_name == "tellyvis a") |
199 |
message[0] = "* TELLYVIS -- ATK " + string(enemy_attack_stat) + " DEF " + string(enemy_defense_stat) + "#* Can't live with or without# one another." |
200 |
else if (battle_enemy_name == "jandroid a" || battle_enemy_name == "jandroid b") |
201 |
message[0] = "* JANDROID -- ATK " + string(enemy_attack_stat) + " DEF " + string(enemy_defense_stat) + "#* \"Hygiene\" is not in their# vocabulary." |
202 |
else if (battle_enemy_name == "goosic a" || battle_enemy_name == "goosic b") |
203 |
message[0] = "* GOOSIC -- ATK " + string(enemy_attack_stat) + " DEF " + string(enemy_defense_stat) + "#* Music drives the mood." |
204 |
else if (battle_enemy_name == "sousborg") |
205 |
message[0] = "* SOUSBORG -- ATK " + string(enemy_attack_stat) + " DEF " + string(enemy_defense_stat) + "#* A recipe for disaster." |
206 |
else if (battle_enemy_name == "axis") |
207 |
message[0] = "* AXIS -- ATK " + string(enemy_attack_stat) + " DEF " + string(enemy_defense_stat) + "#* Today means the Surface." |
208 |
else if (battle_enemy_name == "axis genocide") |
209 |
message[0] = "* AXIS -- ATK " + string(enemy_attack_stat) + " DEF " + string(enemy_defense_stat) |
210 |
else if (battle_enemy_name == "macro froggit") |
211 |
{ |
212 |
if (global.turns_passed == 0) |
213 |
message[0] = "* MICRO FROGGIT -- ATK " + string(enemy_attack_stat) + " DEF " + string(enemy_defense_stat) + "#* Often falls through the cracks." |
214 |
else |
215 |
message[0] = "* MACRO FROGGIT -- ATK " + string(enemy_attack_stat) + " DEF " + string(enemy_defense_stat) + "#* Big frog." |
216 |
} |
217 |
else if (battle_enemy_name == "guardener") |
218 |
{ |
219 |
if (global.enemy_mode == 0) |
220 |
message[0] = "* GUARDENER -- ATK " + string(enemy_attack_stat) + " DEF " + string(enemy_defense_stat) + "#* Traps offenders for easy# apprehension." |
221 |
else |
222 |
message[0] = "* GUARDENER -- ATK " + string(enemy_attack_stat) + " DEF " + string(enemy_defense_stat) + "#* Should take her rage down a few# notches." |
223 |
} |
224 |
else if (battle_enemy_name == "flowey") |
225 |
message[0] = "* Your best friend!" |
226 |
else if (battle_enemy_name == "ceroba") |
227 |
{ |
228 |
if (global.hotland_flag[2] == 0) |
229 |
message[0] = "* CEROBA -- ATK " + string(enemy_attack_stat) + " DEF " + string(enemy_defense_stat) + "#* A legacy not to be forgotten." |
230 |
else |
231 |
message[0] = "* Absolute devotion." |
232 |
} |
233 |
else if (battle_enemy_name == "martlet genocide final") |
234 |
{ |
235 |
message[0] = "* MARTLET -- ATK " + string(enemy_attack_stat) + " DEF " + string(enemy_defense_stat) + "#* A worthy opponent." |
236 |
if (global.hotland_flag[9] >= 2) |
237 |
message[0] = "* MARTLET -- ATK " + string(enemy_attack_stat) + " DEF " + string(enemy_defense_stat) + "#* Fallen down." |
238 |
} |
239 |
} |
240 |
} |