| 1 |
function scr_battle_core_directory_tb_dimensionsscr_battle_core_directory_tb_dimensionsfunction scr_battle_core_directory_tb_dimensions()
{
if (live_call())
return global.live_result;
var battle_enemy_name = global.battle_enemy_name;
var enemy_attack = global.enemy_attack;
var game_mode = global.game_mode;
if (game_mode == "yellow")
{
global.determine_attack_priority = 2;
script_execute(scr_determine_enemy_attack_yellow);
enemy_attack = global.enemy_attack;
if (battle_enemy_name == "flier solo" || battle_enemy_name == "flier trio")
{
if (enemy_attack == "Flier Flies" || enemy_attack == "Flier Swarm" || enemy_attack == "Flier Fire" || enemy_attack == "Flier Flies Double" || enemy_attack == "Flier Swarm Double" || enemy_attack == "Flier Fire Flies")
{
instance_create(319, 320, obj_dialogue_box_battle_transformation_any_out);
with (obj_dialogue_box_battle_transformation_any_out)
{
sprite_width_destination = 127;
sprite_height_destination = 140;
disjoint_x = 0;
disjoint_y = 0;
}
}
}
else if (battle_enemy_name == "penilla solo")
{
if (enemy_attack == "Penilla Drawing")
{
instance_create(319, 320, obj_dialogue_box_battle_transformation_any_out);
with (obj_dialogue_box_battle_transformation_any_out)
{
sprite_width_destination = 128;
sprite_height_destination = 140;
disjoint_x = 0;
disjoint_y = 0;
}
}
else if (enemy_attack == "Penilla Lines")
{
instance_create(319, 320, obj_dialogue_box_battle_transformation_any_out);
with (obj_dialogue_box_battle_transformation_any_out)
{
sprite_width_destination = 90;
sprite_height_destination = 102;
disjoint_x = 0;
disjoint_y = 0;
}
}
}
else if (battle_enemy_name == "flier penilla duo")
{
if (enemy_attack == "Flier Flies Drawing")
{
instance_create(319, 320, obj_dialogue_box_battle_transformation_any_out);
with (obj_dialogue_box_battle_transformation_any_out)
{
sprite_width_destination = 127;
sprite_height_destination = 140;
disjoint_x = 0;
disjoint_y = 0;
}
}
else if (enemy_attack == "Flier Flies" || enemy_attack == "Flier Swarm" || enemy_attack == "Flier Fire")
{
instance_create(319, 320, obj_dialogue_box_battle_transformation_any_out);
with (obj_dialogue_box_battle_transformation_any_out)
{
sprite_width_destination = 127;
sprite_height_destination = 140;
disjoint_x = 0;
disjoint_y = 0;
}
}
else if (enemy_attack == "Penilla Drawing")
{
instance_create(319, 320, obj_dialogue_box_battle_transformation_any_out);
with (obj_dialogue_box_battle_transformation_any_out)
{
sprite_width_destination = 128;
sprite_height_destination = 140;
disjoint_x = 0;
disjoint_y = 0;
}
}
else if (enemy_attack == "Penilla Lines")
{
instance_create(319, 320, obj_dialogue_box_battle_transformation_any_out);
with (obj_dialogue_box_battle_transformation_any_out)
{
sprite_width_destination = 90;
sprite_height_destination = 102;
disjoint_x = 0;
disjoint_y = 0;
}
}
}
else if (battle_enemy_name == "sweet corn solo" || battle_enemy_name == "sweet corn duo")
{
if (enemy_attack == "Candy Corn" || enemy_attack == "Spear Corn" || enemy_attack == "Homing Corn" || enemy_attack == "Candy Spear Corn" || enemy_attack == "Homing Spear Corn")
... () |
| 2 |
{ |
| 3 |
if (live_call()) |
| 4 |
return global.live_result; |
| 5 |
var battle_enemy_name = global.battle_enemy_name; |
| 6 |
var enemy_attack = global.enemy_attack; |
| 7 |
var game_mode = global.game_mode; |
| 8 |
if (game_mode == "yellow") |
| 9 |
{ |
| 10 |
global.determine_attack_priority = 2; |
| 11 |
script_execute(scr_determine_enemy_attack_yellow); |
| 12 |
enemy_attack = global.enemy_attack; |
| 13 |
if (battle_enemy_name == "flier solo" || battle_enemy_name == "flier trio") |
| 14 |
{ |
| 15 |
if (enemy_attack == "Flier Flies" || enemy_attack == "Flier Swarm" || enemy_attack == "Flier Fire" || enemy_attack == "Flier Flies Double" || enemy_attack == "Flier Swarm Double" || enemy_attack == "Flier Fire Flies") |
| 16 |
{ |
| 17 |
instance_create(319, 320, obj_dialogue_box_battle_transformation_any_out); |
| 18 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 19 |
{ |
| 20 |
sprite_width_destination = 127; |
| 21 |
sprite_height_destination = 140; |
| 22 |
disjoint_x = 0; |
| 23 |
disjoint_y = 0; |
| 24 |
} |
| 25 |
} |
| 26 |
} |
| 27 |
else if (battle_enemy_name == "penilla solo") |
| 28 |
{ |
| 29 |
if (enemy_attack == "Penilla Drawing") |
| 30 |
{ |
| 31 |
instance_create(319, 320, obj_dialogue_box_battle_transformation_any_out); |
| 32 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 33 |
{ |
| 34 |
sprite_width_destination = 128; |
| 35 |
sprite_height_destination = 140; |
| 36 |
disjoint_x = 0; |
| 37 |
disjoint_y = 0; |
| 38 |
} |
| 39 |
} |
| 40 |
else if (enemy_attack == "Penilla Lines") |
| 41 |
{ |
| 42 |
instance_create(319, 320, obj_dialogue_box_battle_transformation_any_out); |
| 43 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 44 |
{ |
| 45 |
sprite_width_destination = 90; |
| 46 |
sprite_height_destination = 102; |
| 47 |
disjoint_x = 0; |
| 48 |
disjoint_y = 0; |
| 49 |
} |
| 50 |
} |
| 51 |
} |
| 52 |
else if (battle_enemy_name == "flier penilla duo") |
| 53 |
{ |
| 54 |
if (enemy_attack == "Flier Flies Drawing") |
| 55 |
{ |
| 56 |
instance_create(319, 320, obj_dialogue_box_battle_transformation_any_out); |
| 57 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 58 |
{ |
| 59 |
sprite_width_destination = 127; |
| 60 |
sprite_height_destination = 140; |
| 61 |
disjoint_x = 0; |
| 62 |
disjoint_y = 0; |
| 63 |
} |
| 64 |
} |
| 65 |
else if (enemy_attack == "Flier Flies" || enemy_attack == "Flier Swarm" || enemy_attack == "Flier Fire") |
| 66 |
{ |
| 67 |
instance_create(319, 320, obj_dialogue_box_battle_transformation_any_out); |
| 68 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 69 |
{ |
| 70 |
sprite_width_destination = 127; |
| 71 |
sprite_height_destination = 140; |
| 72 |
disjoint_x = 0; |
| 73 |
disjoint_y = 0; |
| 74 |
} |
| 75 |
} |
| 76 |
else if (enemy_attack == "Penilla Drawing") |
| 77 |
{ |
| 78 |
instance_create(319, 320, obj_dialogue_box_battle_transformation_any_out); |
| 79 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 80 |
{ |
| 81 |
sprite_width_destination = 128; |
| 82 |
sprite_height_destination = 140; |
| 83 |
disjoint_x = 0; |
| 84 |
disjoint_y = 0; |
| 85 |
} |
| 86 |
} |
| 87 |
else if (enemy_attack == "Penilla Lines") |
| 88 |
{ |
| 89 |
instance_create(319, 320, obj_dialogue_box_battle_transformation_any_out); |
| 90 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 91 |
{ |
| 92 |
sprite_width_destination = 90; |
| 93 |
sprite_height_destination = 102; |
| 94 |
disjoint_x = 0; |
| 95 |
disjoint_y = 0; |
| 96 |
} |
| 97 |
} |
| 98 |
} |
| 99 |
else if (battle_enemy_name == "sweet corn solo" || battle_enemy_name == "sweet corn duo") |
| 100 |
{ |
| 101 |
if (enemy_attack == "Candy Corn" || enemy_attack == "Spear Corn" || enemy_attack == "Homing Corn" || enemy_attack == "Candy Spear Corn" || enemy_attack == "Homing Spear Corn") |
| 102 |
{ |
| 103 |
instance_create(319, 320, obj_dialogue_box_battle_transformation_any_out); |
| 104 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 105 |
{ |
| 106 |
sprite_width_destination = 128; |
| 107 |
sprite_height_destination = 140; |
| 108 |
disjoint_x = 0; |
| 109 |
disjoint_y = 0; |
| 110 |
} |
| 111 |
} |
| 112 |
} |
| 113 |
else if (battle_enemy_name == "sweet corn penilla duo") |
| 114 |
{ |
| 115 |
if (enemy_attack == "Candy Corn" || enemy_attack == "Spear Corn" || enemy_attack == "Homing Corn" || enemy_attack == "Penilla Drawing" || enemy_attack == "Drawing Spear Corn") |
| 116 |
{ |
| 117 |
instance_create(319, 320, obj_dialogue_box_battle_transformation_any_out); |
| 118 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 119 |
{ |
| 120 |
sprite_width_destination = 128; |
| 121 |
sprite_height_destination = 140; |
| 122 |
disjoint_x = 0; |
| 123 |
disjoint_y = 0; |
| 124 |
} |
| 125 |
} |
| 126 |
else if (enemy_attack == "Penilla Lines") |
| 127 |
{ |
| 128 |
instance_create(319, 320, obj_dialogue_box_battle_transformation_any_out); |
| 129 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 130 |
{ |
| 131 |
sprite_width_destination = 90; |
| 132 |
sprite_height_destination = 102; |
| 133 |
disjoint_x = 0; |
| 134 |
disjoint_y = 0; |
| 135 |
} |
| 136 |
} |
| 137 |
} |
| 138 |
else if (battle_enemy_name == "crispy scroll solo") |
| 139 |
{ |
| 140 |
if (enemy_attack == "Crispy Slash" || enemy_attack == "Crispy Laser" || enemy_attack == "Crispy Tub") |
| 141 |
{ |
| 142 |
instance_create(319, 320, obj_dialogue_box_battle_transformation_any_out); |
| 143 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 144 |
{ |
| 145 |
sprite_width_destination = 128; |
| 146 |
sprite_height_destination = 140; |
| 147 |
disjoint_x = 0; |
| 148 |
disjoint_y = 0; |
| 149 |
} |
| 150 |
} |
| 151 |
} |
| 152 |
else if (battle_enemy_name == "crispy scroll penilla duo") |
| 153 |
{ |
| 154 |
if (enemy_attack == "Crispy Slash Drawing") |
| 155 |
{ |
| 156 |
instance_create(319, 320, obj_dialogue_box_battle_transformation_any_out); |
| 157 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 158 |
{ |
| 159 |
sprite_width_destination = 244; |
| 160 |
sprite_height_destination = 140; |
| 161 |
disjoint_x = 0; |
| 162 |
disjoint_y = 0; |
| 163 |
} |
| 164 |
} |
| 165 |
if (enemy_attack == "Crispy Slash" || enemy_attack == "Crispy Laser" || enemy_attack == "Crispy Tub" || enemy_attack == "Penilla Drawing") |
| 166 |
{ |
| 167 |
instance_create(319, 320, obj_dialogue_box_battle_transformation_any_out); |
| 168 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 169 |
{ |
| 170 |
sprite_width_destination = 128; |
| 171 |
sprite_height_destination = 140; |
| 172 |
disjoint_x = 0; |
| 173 |
disjoint_y = 0; |
| 174 |
} |
| 175 |
} |
| 176 |
else if (enemy_attack == "Penilla Lines") |
| 177 |
{ |
| 178 |
instance_create(319, 320, obj_dialogue_box_battle_transformation_any_out); |
| 179 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 180 |
{ |
| 181 |
sprite_width_destination = 90; |
| 182 |
sprite_height_destination = 102; |
| 183 |
disjoint_x = 0; |
| 184 |
disjoint_y = 0; |
| 185 |
} |
| 186 |
} |
| 187 |
} |
| 188 |
else if (battle_enemy_name == "rorrim solo") |
| 189 |
{ |
| 190 |
if (enemy_attack == "Rorrim Mirror" || enemy_attack == "Rorrim Sparkle") |
| 191 |
{ |
| 192 |
instance_create(319, 320, obj_dialogue_box_battle_transformation_any_out); |
| 193 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 194 |
{ |
| 195 |
sprite_width_destination = 128; |
| 196 |
sprite_height_destination = 140; |
| 197 |
disjoint_x = 0; |
| 198 |
disjoint_y = 0; |
| 199 |
} |
| 200 |
} |
| 201 |
} |
| 202 |
else if (battle_enemy_name == "decibat") |
| 203 |
{ |
| 204 |
if (enemy_attack == "Decibat Wave Orange" || enemy_attack == "Decibat Wave Blue" || enemy_attack == "Decibat Wave Multi" || enemy_attack == "Decibat Stalagmite") |
| 205 |
{ |
| 206 |
instance_create(319, 320, obj_dialogue_box_battle_transformation_any_out); |
| 207 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 208 |
{ |
| 209 |
sprite_width_destination = 128; |
| 210 |
sprite_height_destination = 140; |
| 211 |
disjoint_x = 0; |
| 212 |
disjoint_y = 0; |
| 213 |
} |
| 214 |
} |
| 215 |
else if (enemy_attack == "Decibat Wave Mini") |
| 216 |
{ |
| 217 |
instance_create(319, 320, obj_dialogue_box_battle_transformation_any_out); |
| 218 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 219 |
{ |
| 220 |
sprite_width_destination = 244; |
| 221 |
sprite_height_destination = 140; |
| 222 |
disjoint_x = 0; |
| 223 |
disjoint_y = 0; |
| 224 |
} |
| 225 |
} |
| 226 |
} |
| 227 |
else if (battle_enemy_name == "dalv") |
| 228 |
{ |
| 229 |
if (enemy_attack == "Dalv Lightning Balls" || enemy_attack == "Dalv Lightning Spinner" || enemy_attack == "Dalv Lightning Bolt") |
| 230 |
{ |
| 231 |
instance_create(319, 320, obj_dialogue_box_battle_transformation_any_out); |
| 232 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 233 |
{ |
| 234 |
sprite_width_destination = 128; |
| 235 |
sprite_height_destination = 140; |
| 236 |
disjoint_x = 0; |
| 237 |
disjoint_y = 0; |
| 238 |
} |
| 239 |
} |
| 240 |
else if (enemy_attack == "Dalv Lightning Vertical") |
| 241 |
{ |
| 242 |
instance_create(319, 320, obj_dialogue_box_battle_transformation_any_out); |
| 243 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 244 |
{ |
| 245 |
sprite_width_destination = 244; |
| 246 |
sprite_height_destination = 140; |
| 247 |
disjoint_x = 0; |
| 248 |
disjoint_y = 0; |
| 249 |
} |
| 250 |
} |
| 251 |
else if (enemy_attack == "Dalv Lightning Dual") |
| 252 |
{ |
| 253 |
instance_create(319, 320, obj_dialogue_box_battle_transformation_any_out); |
| 254 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 255 |
{ |
| 256 |
sprite_width_destination = 140; |
| 257 |
sprite_height_destination = 140; |
| 258 |
disjoint_x = 0; |
| 259 |
disjoint_y = 0; |
| 260 |
} |
| 261 |
} |
| 262 |
else if (enemy_attack == "Dalv Lightning Shift") |
| 263 |
{ |
| 264 |
instance_create(319, 320, obj_dialogue_box_battle_transformation_any_out); |
| 265 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 266 |
{ |
| 267 |
sprite_width_destination = 128; |
| 268 |
sprite_height_destination = 218; |
| 269 |
disjoint_x = 0; |
| 270 |
disjoint_y = -39; |
| 271 |
} |
| 272 |
} |
| 273 |
} |
| 274 |
else if (battle_enemy_name == "micro froggit") |
| 275 |
{ |
| 276 |
if (enemy_attack == "Micro Fly") |
| 277 |
{ |
| 278 |
instance_create(319, 320, obj_dialogue_box_battle_transformation_any_out); |
| 279 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 280 |
{ |
| 281 |
sprite_width_destination = 128; |
| 282 |
sprite_height_destination = 140; |
| 283 |
disjoint_x = 0; |
| 284 |
disjoint_y = 0; |
| 285 |
} |
| 286 |
} |
| 287 |
else if (enemy_attack == "Micro Barrage") |
| 288 |
{ |
| 289 |
instance_create(319, 320, obj_dialogue_box_battle_transformation_any_out); |
| 290 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 291 |
{ |
| 292 |
sprite_width_destination = 128; |
| 293 |
sprite_height_destination = 140; |
| 294 |
disjoint_x = 0; |
| 295 |
disjoint_y = 0; |
| 296 |
} |
| 297 |
} |
| 298 |
} |
| 299 |
else if (battle_enemy_name == "insomnitot solo" || battle_enemy_name == "insomnitot duo") |
| 300 |
{ |
| 301 |
if (enemy_attack == "Insomnitot Sheep") |
| 302 |
{ |
| 303 |
instance_create(319, 320, obj_dialogue_box_battle_transformation_any_out); |
| 304 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 305 |
{ |
| 306 |
sprite_width_destination = 100; |
| 307 |
sprite_height_destination = 64; |
| 308 |
disjoint_x = 0; |
| 309 |
disjoint_y = 0; |
| 310 |
} |
| 311 |
} |
| 312 |
else if (enemy_attack == "Insomnitot ZZZ" || enemy_attack == "Insomnitot Stars") |
| 313 |
{ |
| 314 |
instance_create(319, 320, obj_dialogue_box_battle_transformation_any_out); |
| 315 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 316 |
{ |
| 317 |
sprite_width_destination = 128; |
| 318 |
sprite_height_destination = 140; |
| 319 |
disjoint_x = 0; |
| 320 |
disjoint_y = 0; |
| 321 |
} |
| 322 |
} |
| 323 |
else if (enemy_attack == "Insomnitot Sheep ZZZ" || enemy_attack == "Insomnitot Sheep Stars") |
| 324 |
{ |
| 325 |
instance_create(319, 320, obj_dialogue_box_battle_transformation_any_out); |
| 326 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 327 |
{ |
| 328 |
sprite_width_destination = 100; |
| 329 |
sprite_height_destination = 140; |
| 330 |
disjoint_x = 0; |
| 331 |
disjoint_y = 0; |
| 332 |
} |
| 333 |
} |
| 334 |
} |
| 335 |
else if (battle_enemy_name == "know cone solo") |
| 336 |
{ |
| 337 |
if (enemy_attack == "Know Cone Blueberries" || enemy_attack == "Know Cone Oranges" || enemy_attack == "Know Cone Fig") |
| 338 |
{ |
| 339 |
instance_create(319, 320, obj_dialogue_box_battle_transformation_any_out); |
| 340 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 341 |
{ |
| 342 |
sprite_width_destination = 128; |
| 343 |
sprite_height_destination = 140; |
| 344 |
disjoint_x = 0; |
| 345 |
disjoint_y = 0; |
| 346 |
} |
| 347 |
} |
| 348 |
else if (enemy_attack == "Know Cone Cherries") |
| 349 |
{ |
| 350 |
instance_create(319, 320, obj_dialogue_box_battle_transformation_any_out); |
| 351 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 352 |
{ |
| 353 |
sprite_width_destination = 77; |
| 354 |
sprite_height_destination = 140; |
| 355 |
disjoint_x = 0; |
| 356 |
disjoint_y = 0; |
| 357 |
} |
| 358 |
} |
| 359 |
} |
| 360 |
else if (battle_enemy_name == "know cone insomnitot duo") |
| 361 |
{ |
| 362 |
if (enemy_attack == "Know Cone Cherries") |
| 363 |
{ |
| 364 |
instance_create(319, 320, obj_dialogue_box_battle_transformation_any_out); |
| 365 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 366 |
{ |
| 367 |
sprite_width_destination = 77; |
| 368 |
sprite_height_destination = 140; |
| 369 |
disjoint_x = 0; |
| 370 |
disjoint_y = 0; |
| 371 |
} |
| 372 |
} |
| 373 |
else if (enemy_attack == "Insomnitot Sheep") |
| 374 |
{ |
| 375 |
instance_create(319, 320, obj_dialogue_box_battle_transformation_any_out); |
| 376 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 377 |
{ |
| 378 |
sprite_width_destination = 100; |
| 379 |
sprite_height_destination = 64; |
| 380 |
disjoint_x = 0; |
| 381 |
disjoint_y = 0; |
| 382 |
} |
| 383 |
} |
| 384 |
else if (enemy_attack == "Know Cone Blueberries ZZZ" || enemy_attack == "Know Cone Oranges Stars" || enemy_attack == "Know Cone Blueberries" || enemy_attack == "Know Cone Oranges" || enemy_attack == "Know Cone Fig" || enemy_attack == "Insomnitot ZZZ" || enemy_attack == "Insomnitot Stars") |
| 385 |
{ |
| 386 |
instance_create(319, 320, obj_dialogue_box_battle_transformation_any_out); |
| 387 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 388 |
{ |
| 389 |
sprite_width_destination = 128; |
| 390 |
sprite_height_destination = 140; |
| 391 |
disjoint_x = 0; |
| 392 |
disjoint_y = 0; |
| 393 |
} |
| 394 |
} |
| 395 |
} |
| 396 |
else if (battle_enemy_name == "frostermit solo") |
| 397 |
{ |
| 398 |
if (enemy_attack == "Frostermit Snowflakes") |
| 399 |
{ |
| 400 |
instance_create(319, 320, obj_dialogue_box_battle_transformation_any_out); |
| 401 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 402 |
{ |
| 403 |
sprite_width_destination = 128; |
| 404 |
sprite_height_destination = 140; |
| 405 |
disjoint_x = 0; |
| 406 |
disjoint_y = 0; |
| 407 |
} |
| 408 |
} |
| 409 |
else if (enemy_attack == "Frostermit Ice Cubes") |
| 410 |
{ |
| 411 |
instance_create(319, 320, obj_dialogue_box_battle_transformation_any_out); |
| 412 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 413 |
{ |
| 414 |
sprite_width_destination = 95; |
| 415 |
sprite_height_destination = 95; |
| 416 |
disjoint_x = 0; |
| 417 |
disjoint_y = 0; |
| 418 |
} |
| 419 |
} |
| 420 |
else if (enemy_attack == "Frostermit Pinchers") |
| 421 |
{ |
| 422 |
instance_create(319, 320, obj_dialogue_box_battle_transformation_any_out); |
| 423 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 424 |
{ |
| 425 |
sprite_width_destination = 100; |
| 426 |
sprite_height_destination = 42; |
| 427 |
disjoint_x = 0; |
| 428 |
disjoint_y = 0; |
| 429 |
} |
| 430 |
} |
| 431 |
} |
| 432 |
else if (battle_enemy_name == "frostermit know cone duo") |
| 433 |
{ |
| 434 |
if (enemy_attack == "Frostermit Snowflakes Blueberries" || enemy_attack == "Frostermit Snowflakes Oranges" || enemy_attack == "Frostermit Snowflakes" || enemy_attack == "Know Cone Blueberries" || enemy_attack == "Know Cone Oranges" || enemy_attack == "Know Cone Fig") |
| 435 |
{ |
| 436 |
instance_create(319, 320, obj_dialogue_box_battle_transformation_any_out); |
| 437 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 438 |
{ |
| 439 |
sprite_width_destination = 128; |
| 440 |
sprite_height_destination = 140; |
| 441 |
disjoint_x = 0; |
| 442 |
disjoint_y = 0; |
| 443 |
} |
| 444 |
} |
| 445 |
else if (enemy_attack == "Frostermit Ice Cubes") |
| 446 |
{ |
| 447 |
instance_create(319, 320, obj_dialogue_box_battle_transformation_any_out); |
| 448 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 449 |
{ |
| 450 |
sprite_width_destination = 95; |
| 451 |
sprite_height_destination = 95; |
| 452 |
disjoint_x = 0; |
| 453 |
disjoint_y = 0; |
| 454 |
} |
| 455 |
} |
| 456 |
else if (enemy_attack == "Frostermit Pinchers") |
| 457 |
{ |
| 458 |
instance_create(319, 320, obj_dialogue_box_battle_transformation_any_out); |
| 459 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 460 |
{ |
| 461 |
sprite_width_destination = 100; |
| 462 |
sprite_height_destination = 42; |
| 463 |
disjoint_x = 0; |
| 464 |
disjoint_y = 0; |
| 465 |
} |
| 466 |
} |
| 467 |
else if (enemy_attack == "Know Cone Cherries") |
| 468 |
{ |
| 469 |
instance_create(319, 320, obj_dialogue_box_battle_transformation_any_out); |
| 470 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 471 |
{ |
| 472 |
sprite_width_destination = 77; |
| 473 |
sprite_height_destination = 140; |
| 474 |
disjoint_x = 0; |
| 475 |
disjoint_y = 0; |
| 476 |
} |
| 477 |
} |
| 478 |
} |
| 479 |
else if (battle_enemy_name == "trihecta together" || battle_enemy_name == "trihecta separated") |
| 480 |
{ |
| 481 |
if (enemy_attack == "Trihecta Circle Bounce") |
| 482 |
{ |
| 483 |
instance_create(319, 320, obj_dialogue_box_battle_transformation_any_out); |
| 484 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 485 |
{ |
| 486 |
sprite_width_destination = 300; |
| 487 |
sprite_height_destination = 130; |
| 488 |
disjoint_x = 0; |
| 489 |
disjoint_y = 0; |
| 490 |
} |
| 491 |
} |
| 492 |
else if (enemy_attack == "Trihecta Circle Reflect") |
| 493 |
{ |
| 494 |
instance_create(319, 320, obj_dialogue_box_battle_transformation_any_out); |
| 495 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 496 |
{ |
| 497 |
sprite_width_destination = 160; |
| 498 |
sprite_height_destination = 160; |
| 499 |
disjoint_x = 0; |
| 500 |
disjoint_y = -10; |
| 501 |
} |
| 502 |
} |
| 503 |
else if (enemy_attack == "Trihecta Circle Stack") |
| 504 |
{ |
| 505 |
instance_create(319, 320, obj_dialogue_box_battle_transformation_any_out); |
| 506 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 507 |
{ |
| 508 |
sprite_width_destination = 300; |
| 509 |
sprite_height_destination = 136; |
| 510 |
disjoint_x = 0; |
| 511 |
disjoint_y = 0; |
| 512 |
} |
| 513 |
} |
| 514 |
} |
| 515 |
else if (battle_enemy_name == "ceroba genocide") |
| 516 |
{ |
| 517 |
if (enemy_attack == "Ceroba Fire Circle" || enemy_attack == "Ceroba Flower Barrage" || enemy_attack == "Ceroba Flower Spiral" || enemy_attack == "Ceroba Flower Spray" || enemy_attack == "Ceroba Split Attack" || enemy_attack == "Ceroba Diamond Attack" || enemy_attack == "Ceroba Phase Switcher") |
| 518 |
{ |
| 519 |
instance_create(319, 320, obj_dialogue_box_battle_transformation_any_out); |
| 520 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 521 |
{ |
| 522 |
sprite_width_destination = 128; |
| 523 |
sprite_height_destination = 140; |
| 524 |
disjoint_x = 0; |
| 525 |
disjoint_y = 0; |
| 526 |
} |
| 527 |
} |
| 528 |
else if (enemy_attack == "Ceroba Opener") |
| 529 |
{ |
| 530 |
instance_create(319, 320, obj_dialogue_box_battle_transformation_any_out); |
| 531 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 532 |
{ |
| 533 |
sprite_width_destination = 256; |
| 534 |
sprite_height_destination = 180; |
| 535 |
disjoint_x = 0; |
| 536 |
disjoint_y = -80; |
| 537 |
} |
| 538 |
} |
| 539 |
else if (enemy_attack == "Ceroba Jumping Flowers") |
| 540 |
{ |
| 541 |
instance_create(319, 320, obj_dialogue_box_battle_transformation_any_out); |
| 542 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 543 |
{ |
| 544 |
sprite_width_destination = 220; |
| 545 |
sprite_height_destination = 140; |
| 546 |
disjoint_x = 0; |
| 547 |
disjoint_y = -20; |
| 548 |
} |
| 549 |
} |
| 550 |
else if (enemy_attack == "Ceroba Diamond Circle") |
| 551 |
{ |
| 552 |
instance_create(319, 320, obj_dialogue_box_battle_transformation_any_out); |
| 553 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 554 |
{ |
| 555 |
sprite_width_destination = 200; |
| 556 |
sprite_height_destination = 140; |
| 557 |
disjoint_x = 0; |
| 558 |
disjoint_y = 0; |
| 559 |
} |
| 560 |
} |
| 561 |
else if (enemy_attack == "Ceroba Pillars G") |
| 562 |
{ |
| 563 |
instance_create(319, 320, obj_dialogue_box_battle_transformation_any_out); |
| 564 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 565 |
{ |
| 566 |
sprite_width_destination = 300; |
| 567 |
sprite_height_destination = 80; |
| 568 |
disjoint_x = 0; |
| 569 |
disjoint_y = 0; |
| 570 |
} |
| 571 |
} |
| 572 |
} |
| 573 |
else if (battle_enemy_name == "martlet pacifist" || battle_enemy_name == "martlet genocide") |
| 574 |
{ |
| 575 |
if (enemy_attack == "Martlet Feather Fall") |
| 576 |
{ |
| 577 |
instance_create(319, 320, obj_dialogue_box_battle_transformation_any_out); |
| 578 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 579 |
{ |
| 580 |
sprite_width_destination = 128; |
| 581 |
sprite_height_destination = 140; |
| 582 |
disjoint_x = 0; |
| 583 |
disjoint_y = 0; |
| 584 |
} |
| 585 |
} |
| 586 |
else if (enemy_attack == "Martlet Feather Circle" || enemy_attack == "Martlet Feather Spiral" || enemy_attack == "Martlet Tornado" || enemy_attack == "Martlet Feather Finale" || enemy_attack == "Martlet Feather Flow") |
| 587 |
{ |
| 588 |
instance_create(319, 320, obj_dialogue_box_battle_transformation_any_out); |
| 589 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 590 |
{ |
| 591 |
sprite_width_destination = 140; |
| 592 |
sprite_height_destination = 140; |
| 593 |
disjoint_x = 0; |
| 594 |
disjoint_y = 0; |
| 595 |
} |
| 596 |
} |
| 597 |
else if (enemy_attack == "Martlet Package") |
| 598 |
{ |
| 599 |
instance_create(319, 320, obj_dialogue_box_battle_transformation_any_out); |
| 600 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 601 |
{ |
| 602 |
sprite_width_destination = 220; |
| 603 |
sprite_height_destination = 140; |
| 604 |
disjoint_x = 0; |
| 605 |
disjoint_y = 0; |
| 606 |
} |
| 607 |
} |
| 608 |
else if (enemy_attack == "Martlet Wing Gust") |
| 609 |
{ |
| 610 |
instance_create(319, 320, obj_dialogue_box_battle_transformation_any_out); |
| 611 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 612 |
{ |
| 613 |
sprite_width_destination = 180; |
| 614 |
sprite_height_destination = 140; |
| 615 |
disjoint_x = 0; |
| 616 |
disjoint_y = 0; |
| 617 |
} |
| 618 |
} |
| 619 |
} |
| 620 |
else if (battle_enemy_name == "dunebud solo" || battle_enemy_name == "dunebud duo") |
| 621 |
{ |
| 622 |
if (enemy_attack == "Dunebud Chase") |
| 623 |
{ |
| 624 |
instance_create(319, 320, obj_dialogue_box_battle_transformation_any_out); |
| 625 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 626 |
{ |
| 627 |
sprite_width_destination = 250; |
| 628 |
sprite_height_destination = 140; |
| 629 |
disjoint_x = 0; |
| 630 |
disjoint_y = 0; |
| 631 |
} |
| 632 |
} |
| 633 |
else if (enemy_attack == "Dunebud Chase Tumbleweeds") |
| 634 |
{ |
| 635 |
instance_create(319, 320, obj_dialogue_box_battle_transformation_any_out); |
| 636 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 637 |
{ |
| 638 |
sprite_width_destination = 250; |
| 639 |
sprite_height_destination = 140; |
| 640 |
disjoint_x = 0; |
| 641 |
disjoint_y = 0; |
| 642 |
} |
| 643 |
} |
| 644 |
else if (enemy_attack == "Dunebud Sandcastle") |
| 645 |
{ |
| 646 |
instance_create(319, 320, obj_dialogue_box_battle_transformation_any_out); |
| 647 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 648 |
{ |
| 649 |
sprite_width_destination = 260; |
| 650 |
sprite_height_destination = 180; |
| 651 |
disjoint_x = 0; |
| 652 |
disjoint_y = -20; |
| 653 |
} |
| 654 |
} |
| 655 |
else if (enemy_attack == "Dunebud Tumbleweeds") |
| 656 |
{ |
| 657 |
instance_create(319, 320, obj_dialogue_box_battle_transformation_any_out); |
| 658 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 659 |
{ |
| 660 |
sprite_width_destination = 200; |
| 661 |
sprite_height_destination = 140; |
| 662 |
disjoint_x = 0; |
| 663 |
disjoint_y = 0; |
| 664 |
} |
| 665 |
} |
| 666 |
} |
| 667 |
else if (battle_enemy_name == "cactony solo" || (battle_enemy_name == "cactony slither duo" && (global.enemy_spared_2 + global.enemy_dead_2) >= 1)) |
| 668 |
{ |
| 669 |
if (enemy_attack == "Cactony Needle Side") |
| 670 |
{ |
| 671 |
instance_create(319, 320, obj_dialogue_box_battle_transformation_any_out); |
| 672 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 673 |
{ |
| 674 |
sprite_width_destination = 140; |
| 675 |
sprite_height_destination = 140; |
| 676 |
disjoint_x = 0; |
| 677 |
disjoint_y = 0; |
| 678 |
} |
| 679 |
} |
| 680 |
else if (enemy_attack == "Cactony Needle Top") |
| 681 |
{ |
| 682 |
instance_create(319, 320, obj_dialogue_box_battle_transformation_any_out); |
| 683 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 684 |
{ |
| 685 |
sprite_width_destination = 180; |
| 686 |
sprite_height_destination = 180; |
| 687 |
disjoint_x = 0; |
| 688 |
disjoint_y = -20; |
| 689 |
} |
| 690 |
} |
| 691 |
else if (enemy_attack == "Cactony Needle Green") |
| 692 |
{ |
| 693 |
instance_create(319, 320, obj_dialogue_box_battle_transformation_any_out); |
| 694 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 695 |
{ |
| 696 |
sprite_width_destination = 140; |
| 697 |
sprite_height_destination = 140; |
| 698 |
disjoint_x = 0; |
| 699 |
disjoint_y = 0; |
| 700 |
} |
| 701 |
} |
| 702 |
} |
| 703 |
else if (battle_enemy_name == "slither solo" || (battle_enemy_name == "cactony slither duo" && (global.enemy_spared + global.enemy_dead) >= 1)) |
| 704 |
{ |
| 705 |
if (enemy_attack == "Slither Snake") |
| 706 |
{ |
| 707 |
instance_create(319, 320, obj_dialogue_box_battle_transformation_any_out); |
| 708 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 709 |
{ |
| 710 |
sprite_width_destination = 160; |
| 711 |
sprite_height_destination = 160; |
| 712 |
disjoint_x = 0; |
| 713 |
disjoint_y = 0; |
| 714 |
} |
| 715 |
} |
| 716 |
else if (enemy_attack == "Slither Pottery") |
| 717 |
{ |
| 718 |
instance_create(319, 320, obj_dialogue_box_battle_transformation_any_out); |
| 719 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 720 |
{ |
| 721 |
sprite_width_destination = 140; |
| 722 |
sprite_height_destination = 180; |
| 723 |
disjoint_x = 0; |
| 724 |
disjoint_y = -40; |
| 725 |
} |
| 726 |
} |
| 727 |
} |
| 728 |
else if (battle_enemy_name == "bowll solo") |
| 729 |
{ |
| 730 |
if (enemy_attack == "Bowll Liquid") |
| 731 |
{ |
| 732 |
instance_create(319, 320, obj_dialogue_box_battle_transformation_any_out); |
| 733 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 734 |
{ |
| 735 |
sprite_width_destination = 124; |
| 736 |
sprite_height_destination = 140; |
| 737 |
disjoint_x = 0; |
| 738 |
disjoint_y = 0; |
| 739 |
} |
| 740 |
} |
| 741 |
else if (enemy_attack == "Bowll Silverware") |
| 742 |
{ |
| 743 |
instance_create(319, 320, obj_dialogue_box_battle_transformation_any_out); |
| 744 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 745 |
{ |
| 746 |
sprite_width_destination = 139; |
| 747 |
sprite_height_destination = 139; |
| 748 |
disjoint_x = 0; |
| 749 |
disjoint_y = 0; |
| 750 |
} |
| 751 |
} |
| 752 |
else if (enemy_attack == "Bowll Bull") |
| 753 |
{ |
| 754 |
instance_create(319, 320, obj_dialogue_box_battle_transformation_any_out); |
| 755 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 756 |
{ |
| 757 |
sprite_width_destination = 157; |
| 758 |
sprite_height_destination = 157; |
| 759 |
disjoint_x = 0; |
| 760 |
disjoint_y = 0; |
| 761 |
} |
| 762 |
} |
| 763 |
else if (enemy_attack == "Bowll Test Song") |
| 764 |
{ |
| 765 |
instance_create(319, 320, obj_dialogue_box_battle_transformation_any_out); |
| 766 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 767 |
{ |
| 768 |
sprite_width_destination = 158; |
| 769 |
sprite_height_destination = 221; |
| 770 |
disjoint_x = 0; |
| 771 |
disjoint_y = -41; |
| 772 |
} |
| 773 |
} |
| 774 |
} |
| 775 |
else if (battle_enemy_name == "cactony slither duo" && (global.enemy_spared_2 + global.enemy_dead_2 + global.enemy_spared + global.enemy_dead) == 0) |
| 776 |
{ |
| 777 |
if (enemy_attack == "Cactony Slither Attack 1") |
| 778 |
{ |
| 779 |
instance_create(319, 320, obj_dialogue_box_battle_transformation_any_out); |
| 780 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 781 |
{ |
| 782 |
sprite_width_destination = 180; |
| 783 |
sprite_height_destination = 180; |
| 784 |
disjoint_x = 0; |
| 785 |
disjoint_y = 0; |
| 786 |
} |
| 787 |
} |
| 788 |
else if (enemy_attack == "Cactony Slither Attack 2") |
| 789 |
{ |
| 790 |
instance_create(319, 320, obj_dialogue_box_battle_transformation_any_out); |
| 791 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 792 |
{ |
| 793 |
sprite_width_destination = 140; |
| 794 |
sprite_height_destination = 140; |
| 795 |
disjoint_x = 0; |
| 796 |
disjoint_y = 0; |
| 797 |
} |
| 798 |
} |
| 799 |
} |
| 800 |
else if (battle_enemy_name == "el bailador") |
| 801 |
{ |
| 802 |
if (enemy_attack == "El Bailador Song") |
| 803 |
{ |
| 804 |
instance_create(319, 320, obj_dialogue_box_battle_transformation_any_out); |
| 805 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 806 |
{ |
| 807 |
sprite_width_destination = 158; |
| 808 |
sprite_height_destination = 221; |
| 809 |
disjoint_x = 0; |
| 810 |
disjoint_y = -41; |
| 811 |
} |
| 812 |
} |
| 813 |
else |
| 814 |
{ |
| 815 |
instance_create(319, 320, obj_dialogue_box_battle_transformation_any_out); |
| 816 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 817 |
{ |
| 818 |
sprite_width_destination = 158; |
| 819 |
sprite_height_destination = 221; |
| 820 |
disjoint_x = 0; |
| 821 |
disjoint_y = -41; |
| 822 |
} |
| 823 |
} |
| 824 |
} |
| 825 |
else if (battle_enemy_name == "flower girls") |
| 826 |
{ |
| 827 |
instance_create(319, 320, obj_dialogue_box_battle_transformation_any_out); |
| 828 |
if (enemy_attack == "Colored Flowers") |
| 829 |
{ |
| 830 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 831 |
{ |
| 832 |
sprite_width_destination = 200; |
| 833 |
sprite_height_destination = 126; |
| 834 |
disjoint_x = 0; |
| 835 |
disjoint_y = 0; |
| 836 |
} |
| 837 |
} |
| 838 |
else if (enemy_attack == "Growing Flowers") |
| 839 |
{ |
| 840 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 841 |
{ |
| 842 |
sprite_width_destination = 180; |
| 843 |
sprite_height_destination = 140; |
| 844 |
disjoint_x = 0; |
| 845 |
disjoint_y = 0; |
| 846 |
} |
| 847 |
} |
| 848 |
else if (enemy_attack == "Spinning Flowers") |
| 849 |
{ |
| 850 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 851 |
{ |
| 852 |
sprite_width_destination = 140; |
| 853 |
sprite_height_destination = 140; |
| 854 |
disjoint_x = 0; |
| 855 |
disjoint_y = -20; |
| 856 |
} |
| 857 |
} |
| 858 |
else |
| 859 |
{ |
| 860 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 861 |
{ |
| 862 |
sprite_width_destination = 140; |
| 863 |
sprite_height_destination = 140; |
| 864 |
disjoint_x = 0; |
| 865 |
disjoint_y = 0; |
| 866 |
} |
| 867 |
} |
| 868 |
} |
| 869 |
else if (battle_enemy_name == "starlo") |
| 870 |
{ |
| 871 |
instance_create(319, 320, obj_dialogue_box_battle_transformation_any_out); |
| 872 |
if (enemy_attack == "Starlo Guns Horizontal") |
| 873 |
{ |
| 874 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 875 |
{ |
| 876 |
sprite_width_destination = 140; |
| 877 |
sprite_height_destination = 120; |
| 878 |
disjoint_x = 0; |
| 879 |
disjoint_y = 0; |
| 880 |
} |
| 881 |
} |
| 882 |
else if (enemy_attack == "Starlo Guns Surround") |
| 883 |
{ |
| 884 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 885 |
{ |
| 886 |
sprite_width_destination = 120; |
| 887 |
sprite_height_destination = 120; |
| 888 |
disjoint_x = 0; |
| 889 |
disjoint_y = 0; |
| 890 |
} |
| 891 |
} |
| 892 |
else if (enemy_attack == "Starlo Shooting Dynamite") |
| 893 |
{ |
| 894 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 895 |
{ |
| 896 |
sprite_width_destination = 160; |
| 897 |
sprite_height_destination = 140; |
| 898 |
disjoint_x = 0; |
| 899 |
disjoint_y = 0; |
| 900 |
} |
| 901 |
} |
| 902 |
else if (enemy_attack == "Starlo Horseshoe") |
| 903 |
{ |
| 904 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 905 |
{ |
| 906 |
sprite_width_destination = 210; |
| 907 |
sprite_height_destination = 210; |
| 908 |
disjoint_x = 0; |
| 909 |
disjoint_y = -60; |
| 910 |
} |
| 911 |
} |
| 912 |
else |
| 913 |
{ |
| 914 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 915 |
{ |
| 916 |
sprite_width_destination = 140; |
| 917 |
sprite_height_destination = 140; |
| 918 |
disjoint_x = 0; |
| 919 |
disjoint_y = 0; |
| 920 |
} |
| 921 |
} |
| 922 |
} |
| 923 |
else if (battle_enemy_name == "boulders minifight") |
| 924 |
{ |
| 925 |
instance_create(319, 320, obj_dialogue_box_battle_transformation_any_out); |
| 926 |
if (enemy_attack == "Falling Boulders") |
| 927 |
{ |
| 928 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 929 |
{ |
| 930 |
sprite_width_destination = 120; |
| 931 |
sprite_height_destination = 210; |
| 932 |
disjoint_x = 0; |
| 933 |
disjoint_y = -60; |
| 934 |
image_xscale = (sprite_width_destination / sprite_width) * image_xscale_default; |
| 935 |
image_yscale = (sprite_height_destination / sprite_width) * image_yscale_default; |
| 936 |
y += disjoint_y; |
| 937 |
} |
| 938 |
script_execute(scr_battle_core_directory_enemy_attack_start); |
| 939 |
} |
| 940 |
} |
| 941 |
else if (enemy_attack == "Moray Balls") |
| 942 |
{ |
| 943 |
instance_create(319, 320, obj_dialogue_box_battle_transformation_any_out); |
| 944 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 945 |
{ |
| 946 |
sprite_width_destination = 200; |
| 947 |
sprite_height_destination = 100; |
| 948 |
disjoint_x = 0; |
| 949 |
disjoint_y = 0; |
| 950 |
} |
| 951 |
} |
| 952 |
else if (enemy_attack == "Ed Smash") |
| 953 |
{ |
| 954 |
instance_create(319, 320, obj_dialogue_box_battle_transformation_any_out); |
| 955 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 956 |
{ |
| 957 |
sprite_width_destination = 200; |
| 958 |
sprite_height_destination = 140; |
| 959 |
disjoint_x = 0; |
| 960 |
disjoint_y = 0; |
| 961 |
} |
| 962 |
} |
| 963 |
else if (enemy_attack == "Ace Dealing") |
| 964 |
{ |
| 965 |
instance_create(319, 320, obj_dialogue_box_battle_transformation_any_out); |
| 966 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 967 |
{ |
| 968 |
sprite_width_destination = 210; |
| 969 |
sprite_height_destination = 152; |
| 970 |
disjoint_x = 0; |
| 971 |
disjoint_y = -60; |
| 972 |
} |
| 973 |
} |
| 974 |
else if (enemy_attack == "Ace Cards") |
| 975 |
{ |
| 976 |
instance_create(319, 320, obj_dialogue_box_battle_transformation_any_out); |
| 977 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 978 |
{ |
| 979 |
sprite_width_destination = 120; |
| 980 |
sprite_height_destination = 140; |
| 981 |
disjoint_x = 0; |
| 982 |
disjoint_y = 0; |
| 983 |
} |
| 984 |
} |
| 985 |
else if (enemy_attack == "Grab & Moray") |
| 986 |
{ |
| 987 |
instance_create(319, 320, obj_dialogue_box_battle_transformation_any_out); |
| 988 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 989 |
{ |
| 990 |
sprite_width_destination = 100; |
| 991 |
sprite_height_destination = 140; |
| 992 |
disjoint_x = 0; |
| 993 |
disjoint_y = 0; |
| 994 |
} |
| 995 |
} |
| 996 |
else if (enemy_attack == "Mooch Bag") |
| 997 |
{ |
| 998 |
instance_create(319, 320, obj_dialogue_box_battle_transformation_any_out); |
| 999 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 1000 |
{ |
| 1001 |
sprite_width_destination = 80; |
| 1002 |
sprite_height_destination = 80; |
| 1003 |
disjoint_x = 0; |
| 1004 |
disjoint_y = -20; |
| 1005 |
} |
| 1006 |
} |
| 1007 |
else if (enemy_attack == "Ed Grab") |
| 1008 |
{ |
| 1009 |
instance_create(319, 320, obj_dialogue_box_battle_transformation_any_out); |
| 1010 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 1011 |
{ |
| 1012 |
sprite_width_destination = 160; |
| 1013 |
sprite_height_destination = 100; |
| 1014 |
disjoint_x = 0; |
| 1015 |
disjoint_y = -40; |
| 1016 |
} |
| 1017 |
} |
| 1018 |
else if (enemy_attack == "Moray Spin") |
| 1019 |
{ |
| 1020 |
instance_create(319, 320, obj_dialogue_box_battle_transformation_any_out); |
| 1021 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 1022 |
{ |
| 1023 |
sprite_width_destination = 120; |
| 1024 |
sprite_height_destination = 180; |
| 1025 |
disjoint_x = 0; |
| 1026 |
disjoint_y = -40; |
| 1027 |
} |
| 1028 |
} |
| 1029 |
else if (enemy_attack == "Coin Rain" || enemy_attack == "Coin Rain & Ace Cards") |
| 1030 |
{ |
| 1031 |
instance_create(319, 320, obj_dialogue_box_battle_transformation_any_out); |
| 1032 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 1033 |
{ |
| 1034 |
sprite_width_destination = 76; |
| 1035 |
sprite_height_destination = 140; |
| 1036 |
disjoint_x = 0; |
| 1037 |
disjoint_y = -20; |
| 1038 |
} |
| 1039 |
} |
| 1040 |
else if (battle_enemy_name == "steam minifight") |
| 1041 |
{ |
| 1042 |
instance_create(319, 320, obj_dialogue_box_battle_transformation_any_out); |
| 1043 |
if (enemy_attack == "Steam Puffs") |
| 1044 |
{ |
| 1045 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 1046 |
{ |
| 1047 |
sprite_width_destination = 140; |
| 1048 |
sprite_height_destination = 180; |
| 1049 |
disjoint_x = 0; |
| 1050 |
disjoint_y = -60; |
| 1051 |
image_xscale = (sprite_width_destination / sprite_width) * image_xscale_default; |
| 1052 |
image_yscale = (sprite_height_destination / sprite_width) * image_yscale_default; |
| 1053 |
y += disjoint_y; |
| 1054 |
} |
| 1055 |
script_execute(scr_battle_core_directory_enemy_attack_start); |
| 1056 |
} |
| 1057 |
} |
| 1058 |
else if (battle_enemy_name == "energy balls minifight") |
| 1059 |
{ |
| 1060 |
instance_create(319, 320, obj_dialogue_box_battle_transformation_any_out); |
| 1061 |
if (enemy_attack == "Energy Balls") |
| 1062 |
{ |
| 1063 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 1064 |
{ |
| 1065 |
sprite_width_destination = 160; |
| 1066 |
sprite_height_destination = 160; |
| 1067 |
disjoint_x = 0; |
| 1068 |
disjoint_y = 0; |
| 1069 |
image_xscale = (sprite_width_destination / sprite_width) * image_xscale_default; |
| 1070 |
image_yscale = (sprite_height_destination / sprite_width) * image_yscale_default; |
| 1071 |
y += disjoint_y; |
| 1072 |
} |
| 1073 |
script_execute(scr_battle_core_directory_enemy_attack_start); |
| 1074 |
} |
| 1075 |
} |
| 1076 |
else if (battle_enemy_name == "jandroid" || (battle_enemy_name == "jandroid goosic duo" && (global.enemy_dead_2 + global.enemy_spared_2) >= 1) || battle_enemy_name == "jandroid duo") |
| 1077 |
{ |
| 1078 |
instance_create(319, 320, obj_dialogue_box_battle_transformation_any_out); |
| 1079 |
if (enemy_attack == "Slippery Floor" || enemy_attack == "Double Jandroid Slippery Floor") |
| 1080 |
{ |
| 1081 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 1082 |
{ |
| 1083 |
sprite_width_destination = 160; |
| 1084 |
sprite_height_destination = 100; |
| 1085 |
disjoint_x = 0; |
| 1086 |
disjoint_y = 0; |
| 1087 |
} |
| 1088 |
} |
| 1089 |
else if (enemy_attack == "Garbage Cans" || enemy_attack == "Double Jandroid Gargbage Cans") |
| 1090 |
{ |
| 1091 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 1092 |
{ |
| 1093 |
sprite_width_destination = 90; |
| 1094 |
sprite_height_destination = 128; |
| 1095 |
disjoint_x = 0; |
| 1096 |
disjoint_y = -10; |
| 1097 |
} |
| 1098 |
} |
| 1099 |
else if (enemy_attack == "Spray Bottle") |
| 1100 |
{ |
| 1101 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 1102 |
{ |
| 1103 |
sprite_width_destination = 110; |
| 1104 |
sprite_height_destination = 128; |
| 1105 |
disjoint_x = 0; |
| 1106 |
disjoint_y = -10; |
| 1107 |
} |
| 1108 |
} |
| 1109 |
} |
| 1110 |
else if (battle_enemy_name == "goosic" || (battle_enemy_name == "jandroid goosic duo" && (global.enemy_dead + global.enemy_spared) >= 1)) |
| 1111 |
{ |
| 1112 |
instance_create(319, 320, obj_dialogue_box_battle_transformation_any_out); |
| 1113 |
if (enemy_attack == "Goosic EQ Visualizer") |
| 1114 |
{ |
| 1115 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 1116 |
{ |
| 1117 |
sprite_width_destination = 140; |
| 1118 |
sprite_height_destination = 160; |
| 1119 |
disjoint_x = 0; |
| 1120 |
disjoint_y = -20; |
| 1121 |
} |
| 1122 |
} |
| 1123 |
else if (enemy_attack == "Goosic Disk") |
| 1124 |
{ |
| 1125 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 1126 |
{ |
| 1127 |
sprite_width_destination = 128; |
| 1128 |
sprite_height_destination = 128; |
| 1129 |
disjoint_x = 0; |
| 1130 |
disjoint_y = 0; |
| 1131 |
} |
| 1132 |
} |
| 1133 |
else if (enemy_attack == "Goosic Speaker") |
| 1134 |
{ |
| 1135 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 1136 |
{ |
| 1137 |
sprite_width_destination = 140; |
| 1138 |
sprite_height_destination = 128; |
| 1139 |
disjoint_x = 0; |
| 1140 |
disjoint_y = 0; |
| 1141 |
} |
| 1142 |
} |
| 1143 |
} |
| 1144 |
else if (battle_enemy_name == "tellyvis") |
| 1145 |
{ |
| 1146 |
instance_create(319, 320, obj_dialogue_box_battle_transformation_any_out); |
| 1147 |
if (enemy_attack == "Tellyvis Logo") |
| 1148 |
{ |
| 1149 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 1150 |
{ |
| 1151 |
sprite_width_destination = 160; |
| 1152 |
sprite_height_destination = 120; |
| 1153 |
disjoint_x = 0; |
| 1154 |
disjoint_y = -10; |
| 1155 |
} |
| 1156 |
} |
| 1157 |
else if (enemy_attack == "Tellyvis Remote") |
| 1158 |
{ |
| 1159 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 1160 |
{ |
| 1161 |
sprite_width_destination = 140; |
| 1162 |
sprite_height_destination = 140; |
| 1163 |
disjoint_x = 0; |
| 1164 |
disjoint_y = -10; |
| 1165 |
} |
| 1166 |
} |
| 1167 |
else if (enemy_attack == "Tellyvis Tape") |
| 1168 |
{ |
| 1169 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 1170 |
{ |
| 1171 |
sprite_width_destination = 140; |
| 1172 |
sprite_height_destination = 140; |
| 1173 |
disjoint_x = 0; |
| 1174 |
disjoint_y = -10; |
| 1175 |
} |
| 1176 |
} |
| 1177 |
} |
| 1178 |
else if (battle_enemy_name == "sousborg") |
| 1179 |
{ |
| 1180 |
instance_create(319, 320, obj_dialogue_box_battle_transformation_any_out); |
| 1181 |
if (enemy_attack == "Egg Crack") |
| 1182 |
{ |
| 1183 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 1184 |
{ |
| 1185 |
sprite_width_destination = 148; |
| 1186 |
sprite_height_destination = 160; |
| 1187 |
disjoint_x = 0; |
| 1188 |
disjoint_y = 0; |
| 1189 |
} |
| 1190 |
} |
| 1191 |
else if (enemy_attack == "Egg Boil") |
| 1192 |
{ |
| 1193 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 1194 |
{ |
| 1195 |
sprite_width_destination = 148; |
| 1196 |
sprite_height_destination = 160; |
| 1197 |
disjoint_x = 0; |
| 1198 |
disjoint_y = -20; |
| 1199 |
} |
| 1200 |
} |
| 1201 |
else if (enemy_attack == "Sousborg Season") |
| 1202 |
{ |
| 1203 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 1204 |
{ |
| 1205 |
sprite_width_destination = 128; |
| 1206 |
sprite_height_destination = 128; |
| 1207 |
disjoint_x = 0; |
| 1208 |
disjoint_y = 0; |
| 1209 |
} |
| 1210 |
} |
| 1211 |
else if (enemy_attack == "Sousborg Flip") |
| 1212 |
{ |
| 1213 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 1214 |
{ |
| 1215 |
sprite_width_destination = 128; |
| 1216 |
sprite_height_destination = 128; |
| 1217 |
disjoint_x = 0; |
| 1218 |
disjoint_y = -60; |
| 1219 |
} |
| 1220 |
} |
| 1221 |
} |
| 1222 |
else if (battle_enemy_name == "jandroid goosic duo") |
| 1223 |
{ |
| 1224 |
if (enemy_attack == "Jandroid Goosic Attack 1") |
| 1225 |
{ |
| 1226 |
instance_create(319, 320, obj_dialogue_box_battle_transformation_any_out); |
| 1227 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 1228 |
{ |
| 1229 |
sprite_width_destination = 140; |
| 1230 |
sprite_height_destination = 128; |
| 1231 |
disjoint_x = 0; |
| 1232 |
disjoint_y = 0; |
| 1233 |
} |
| 1234 |
} |
| 1235 |
else if (enemy_attack == "Jandroid Goosic Attack 2") |
| 1236 |
{ |
| 1237 |
instance_create(319, 320, obj_dialogue_box_battle_transformation_any_out); |
| 1238 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 1239 |
{ |
| 1240 |
sprite_width_destination = 90; |
| 1241 |
sprite_height_destination = 150; |
| 1242 |
disjoint_x = 0; |
| 1243 |
disjoint_y = -30; |
| 1244 |
} |
| 1245 |
} |
| 1246 |
} |
| 1247 |
else if (battle_enemy_name == "jandroid duo") |
| 1248 |
{ |
| 1249 |
instance_create(319, 320, obj_dialogue_box_battle_transformation_any_out); |
| 1250 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 1251 |
{ |
| 1252 |
sprite_width_destination = 140; |
| 1253 |
sprite_height_destination = 140; |
| 1254 |
disjoint_x = 0; |
| 1255 |
disjoint_y = 0; |
| 1256 |
} |
| 1257 |
} |
| 1258 |
else if (battle_enemy_name == "axis") |
| 1259 |
{ |
| 1260 |
instance_create(319, 320, obj_dialogue_box_battle_transformation_any_out); |
| 1261 |
if (enemy_attack == "Introductory Attack") |
| 1262 |
{ |
| 1263 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 1264 |
{ |
| 1265 |
sprite_width_destination = 160; |
| 1266 |
sprite_height_destination = 170; |
| 1267 |
disjoint_x = 0; |
| 1268 |
disjoint_y = 0; |
| 1269 |
} |
| 1270 |
} |
| 1271 |
else if (enemy_attack == "Energy Balls Spin 1" || enemy_attack == "Hand Laser" || enemy_attack == "Super Ball 4" || enemy_attack == "Super Ball 5" || enemy_attack == "Super Ball 6") |
| 1272 |
{ |
| 1273 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 1274 |
{ |
| 1275 |
sprite_width_destination = 140; |
| 1276 |
sprite_height_destination = 140; |
| 1277 |
disjoint_x = 0; |
| 1278 |
disjoint_y = 0; |
| 1279 |
} |
| 1280 |
} |
| 1281 |
else if (enemy_attack == "Energy Balls 1" || enemy_attack == "Energy Balls 2") |
| 1282 |
{ |
| 1283 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 1284 |
{ |
| 1285 |
sprite_width_destination = 140; |
| 1286 |
sprite_height_destination = 170; |
| 1287 |
disjoint_x = 0; |
| 1288 |
disjoint_y = 0; |
| 1289 |
} |
| 1290 |
} |
| 1291 |
else if (enemy_attack == "Super Ball 1") |
| 1292 |
{ |
| 1293 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 1294 |
{ |
| 1295 |
sprite_width_destination = 140; |
| 1296 |
sprite_height_destination = 180; |
| 1297 |
disjoint_x = 0; |
| 1298 |
disjoint_y = -20; |
| 1299 |
} |
| 1300 |
} |
| 1301 |
else if (enemy_attack == "Super Ball 2") |
| 1302 |
{ |
| 1303 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 1304 |
{ |
| 1305 |
sprite_width_destination = 180; |
| 1306 |
sprite_height_destination = 180; |
| 1307 |
disjoint_x = 0; |
| 1308 |
disjoint_y = -20; |
| 1309 |
} |
| 1310 |
} |
| 1311 |
else if (enemy_attack == "Color Lasers" || enemy_attack == "Color Lasers 2" || enemy_attack == "X Colors" || enemy_attack == "Super Ball 3") |
| 1312 |
{ |
| 1313 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 1314 |
{ |
| 1315 |
sprite_width_destination = 150; |
| 1316 |
sprite_height_destination = 150; |
| 1317 |
disjoint_x = 0; |
| 1318 |
disjoint_y = -20; |
| 1319 |
} |
| 1320 |
} |
| 1321 |
else if (enemy_attack == "Steam Walls Spin" || enemy_attack == "Lobbing Bombs 2") |
| 1322 |
{ |
| 1323 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 1324 |
{ |
| 1325 |
sprite_width_destination = 132; |
| 1326 |
sprite_height_destination = 132; |
| 1327 |
disjoint_x = 0; |
| 1328 |
disjoint_y = -20; |
| 1329 |
} |
| 1330 |
} |
| 1331 |
else if (enemy_attack == "Lobbing Bombs") |
| 1332 |
{ |
| 1333 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 1334 |
{ |
| 1335 |
sprite_width_destination = 120; |
| 1336 |
sprite_height_destination = 164; |
| 1337 |
disjoint_x = 0; |
| 1338 |
disjoint_y = -30; |
| 1339 |
} |
| 1340 |
} |
| 1341 |
else if (enemy_attack == "Magnetic Orbs") |
| 1342 |
{ |
| 1343 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 1344 |
{ |
| 1345 |
sprite_width_destination = 220; |
| 1346 |
sprite_height_destination = 220; |
| 1347 |
disjoint_x = 0; |
| 1348 |
disjoint_y = -40; |
| 1349 |
} |
| 1350 |
} |
| 1351 |
else if (enemy_attack == "Axis Turrets" || enemy_attack == "Axis Turrets 3") |
| 1352 |
{ |
| 1353 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 1354 |
{ |
| 1355 |
sprite_width_destination = 100; |
| 1356 |
sprite_height_destination = 100; |
| 1357 |
disjoint_x = 0; |
| 1358 |
disjoint_y = -40; |
| 1359 |
} |
| 1360 |
} |
| 1361 |
else if (enemy_attack == "Axis Turrets 2") |
| 1362 |
{ |
| 1363 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 1364 |
{ |
| 1365 |
sprite_width_destination = 140; |
| 1366 |
sprite_height_destination = 140; |
| 1367 |
disjoint_x = 0; |
| 1368 |
disjoint_y = -40; |
| 1369 |
} |
| 1370 |
} |
| 1371 |
else if (enemy_attack == "Laser Grid") |
| 1372 |
{ |
| 1373 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 1374 |
{ |
| 1375 |
sprite_width_destination = 180; |
| 1376 |
sprite_height_destination = 180; |
| 1377 |
disjoint_x = 0; |
| 1378 |
disjoint_y = -40; |
| 1379 |
} |
| 1380 |
} |
| 1381 |
else if (enemy_attack == "Pulse Energy") |
| 1382 |
{ |
| 1383 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 1384 |
{ |
| 1385 |
sprite_width_destination = 100; |
| 1386 |
sprite_height_destination = 100; |
| 1387 |
disjoint_x = 0; |
| 1388 |
disjoint_y = -40; |
| 1389 |
} |
| 1390 |
} |
| 1391 |
else |
| 1392 |
{ |
| 1393 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 1394 |
{ |
| 1395 |
sprite_width_destination = 120; |
| 1396 |
sprite_height_destination = 140; |
| 1397 |
disjoint_x = 0; |
| 1398 |
disjoint_y = 0; |
| 1399 |
} |
| 1400 |
} |
| 1401 |
} |
| 1402 |
else if (battle_enemy_name == "axis genocide") |
| 1403 |
{ |
| 1404 |
instance_create(319, 320, obj_dialogue_box_battle_transformation_any_out); |
| 1405 |
if (enemy_attack == "Axis Geno At 1" || enemy_attack == "Axis Geno At 7") |
| 1406 |
{ |
| 1407 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 1408 |
{ |
| 1409 |
sprite_width_destination = 160; |
| 1410 |
sprite_height_destination = 160; |
| 1411 |
disjoint_x = 0; |
| 1412 |
disjoint_y = -40; |
| 1413 |
} |
| 1414 |
} |
| 1415 |
else if (enemy_attack == "Axis Geno At 2" || enemy_attack == "Axis Geno At 3" || enemy_attack == "Axis Geno At 4" || enemy_attack == "Axis Geno At 5" || enemy_attack == "Axis Geno At 6" || enemy_attack == "Axis Geno At 9" || enemy_attack == "Axis Geno At 10") |
| 1416 |
{ |
| 1417 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 1418 |
{ |
| 1419 |
sprite_width_destination = 140; |
| 1420 |
sprite_height_destination = 140; |
| 1421 |
disjoint_x = 0; |
| 1422 |
disjoint_y = -20; |
| 1423 |
if (enemy_attack == "Axis Geno At 4" || enemy_attack == "Axis Geno At 5" || enemy_attack == "Axis Geno At 6") |
| 1424 |
disjoint_y = -40; |
| 1425 |
} |
| 1426 |
} |
| 1427 |
else if (enemy_attack == "Axis Geno At 8") |
| 1428 |
{ |
| 1429 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 1430 |
{ |
| 1431 |
sprite_width_destination = 60; |
| 1432 |
sprite_height_destination = 60; |
| 1433 |
disjoint_x = 0; |
| 1434 |
disjoint_y = -40; |
| 1435 |
} |
| 1436 |
} |
| 1437 |
else |
| 1438 |
{ |
| 1439 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 1440 |
{ |
| 1441 |
sprite_width_destination = 120; |
| 1442 |
sprite_height_destination = 140; |
| 1443 |
disjoint_x = 0; |
| 1444 |
disjoint_y = 0; |
| 1445 |
} |
| 1446 |
} |
| 1447 |
} |
| 1448 |
else if (battle_enemy_name == "macro froggit") |
| 1449 |
{ |
| 1450 |
instance_create(319, 320, obj_dialogue_box_battle_transformation_any_out); |
| 1451 |
if (enemy_attack == "Macro Transform") |
| 1452 |
{ |
| 1453 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 1454 |
{ |
| 1455 |
sprite_width_destination = 160; |
| 1456 |
sprite_height_destination = 160; |
| 1457 |
disjoint_x = 0; |
| 1458 |
disjoint_y = 0; |
| 1459 |
} |
| 1460 |
} |
| 1461 |
else if (enemy_attack == "Frogger") |
| 1462 |
{ |
| 1463 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 1464 |
{ |
| 1465 |
sprite_width_destination = 180; |
| 1466 |
sprite_height_destination = 160; |
| 1467 |
disjoint_x = 0; |
| 1468 |
disjoint_y = 0; |
| 1469 |
} |
| 1470 |
} |
| 1471 |
else if (enemy_attack == "Log Frogs") |
| 1472 |
{ |
| 1473 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 1474 |
{ |
| 1475 |
sprite_width_destination = 180; |
| 1476 |
sprite_height_destination = 120; |
| 1477 |
disjoint_x = 0; |
| 1478 |
disjoint_y = -40; |
| 1479 |
} |
| 1480 |
} |
| 1481 |
else if (enemy_attack == "Space Frog") |
| 1482 |
{ |
| 1483 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 1484 |
{ |
| 1485 |
sprite_width_destination = 280; |
| 1486 |
sprite_height_destination = 120; |
| 1487 |
disjoint_x = 0; |
| 1488 |
disjoint_y = -40; |
| 1489 |
} |
| 1490 |
} |
| 1491 |
else if (enemy_attack == "Gun Flies") |
| 1492 |
{ |
| 1493 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 1494 |
{ |
| 1495 |
sprite_width_destination = 260; |
| 1496 |
sprite_height_destination = 120; |
| 1497 |
disjoint_x = 0; |
| 1498 |
disjoint_y = -20; |
| 1499 |
} |
| 1500 |
} |
| 1501 |
else if (enemy_attack == "Big Frogs") |
| 1502 |
{ |
| 1503 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 1504 |
{ |
| 1505 |
sprite_width_destination = 220; |
| 1506 |
sprite_height_destination = 100; |
| 1507 |
disjoint_x = 0; |
| 1508 |
disjoint_y = -20; |
| 1509 |
} |
| 1510 |
} |
| 1511 |
else if (enemy_attack == "Tongue Attack") |
| 1512 |
{ |
| 1513 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 1514 |
{ |
| 1515 |
sprite_width_destination = 200; |
| 1516 |
sprite_height_destination = 160; |
| 1517 |
disjoint_x = 0; |
| 1518 |
disjoint_y = -20; |
| 1519 |
} |
| 1520 |
} |
| 1521 |
else if (enemy_attack == "Sword Frog") |
| 1522 |
{ |
| 1523 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 1524 |
{ |
| 1525 |
sprite_width_destination = 260; |
| 1526 |
sprite_height_destination = 130; |
| 1527 |
disjoint_x = 0; |
| 1528 |
disjoint_y = -30; |
| 1529 |
} |
| 1530 |
} |
| 1531 |
else if (enemy_attack == "Frog Choir") |
| 1532 |
{ |
| 1533 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 1534 |
{ |
| 1535 |
sprite_width_destination = 180; |
| 1536 |
sprite_height_destination = 200; |
| 1537 |
disjoint_x = 0; |
| 1538 |
disjoint_y = -40; |
| 1539 |
} |
| 1540 |
} |
| 1541 |
else if (enemy_attack == "Mecha Frog") |
| 1542 |
{ |
| 1543 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 1544 |
{ |
| 1545 |
sprite_width_destination = 280; |
| 1546 |
sprite_height_destination = 200; |
| 1547 |
disjoint_x = 0; |
| 1548 |
disjoint_y = -50; |
| 1549 |
} |
| 1550 |
} |
| 1551 |
else |
| 1552 |
{ |
| 1553 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 1554 |
{ |
| 1555 |
sprite_width_destination = 140; |
| 1556 |
sprite_height_destination = 140; |
| 1557 |
disjoint_x = 0; |
| 1558 |
disjoint_y = 0; |
| 1559 |
} |
| 1560 |
} |
| 1561 |
} |
| 1562 |
else if (battle_enemy_name == "guardener") |
| 1563 |
{ |
| 1564 |
if (!instance_exists(obj_dialogue_box_battle_transformation_any_out)) |
| 1565 |
{ |
| 1566 |
instance_create(319, 320, obj_dialogue_box_battle_transformation_any_out); |
| 1567 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 1568 |
{ |
| 1569 |
sprite_width_destination = 575; |
| 1570 |
sprite_height_destination = 140; |
| 1571 |
disjoint_x = 0; |
| 1572 |
disjoint_y = 0; |
| 1573 |
} |
| 1574 |
} |
| 1575 |
if (enemy_attack == "Guardener Attack 1" || enemy_attack == "Guardener Attack 6" || enemy_attack == "Guardener Attack 12" || enemy_attack == "Guardener Attack 8" || enemy_attack == "Guardener Attack 10") |
| 1576 |
{ |
| 1577 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 1578 |
{ |
| 1579 |
sprite_width_destination = 140; |
| 1580 |
sprite_height_destination = 140; |
| 1581 |
disjoint_x = 0; |
| 1582 |
disjoint_y = 0; |
| 1583 |
} |
| 1584 |
} |
| 1585 |
else if (enemy_attack == "Guardener Attack 2") |
| 1586 |
{ |
| 1587 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 1588 |
{ |
| 1589 |
sprite_width_destination = 160; |
| 1590 |
sprite_height_destination = 140; |
| 1591 |
disjoint_x = 0; |
| 1592 |
disjoint_y = 0; |
| 1593 |
} |
| 1594 |
} |
| 1595 |
else if (enemy_attack == "Guardener Attack 3") |
| 1596 |
{ |
| 1597 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 1598 |
{ |
| 1599 |
sprite_width_destination = 140; |
| 1600 |
sprite_height_destination = 180; |
| 1601 |
disjoint_x = 0; |
| 1602 |
disjoint_y = 0; |
| 1603 |
} |
| 1604 |
} |
| 1605 |
else if (enemy_attack == "Guardener Attack 4" || enemy_attack == "Guardener Attack 5" || enemy_attack == "Guardener Attack 7") |
| 1606 |
{ |
| 1607 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 1608 |
{ |
| 1609 |
sprite_width_destination = 160; |
| 1610 |
sprite_height_destination = 160; |
| 1611 |
disjoint_x = 0; |
| 1612 |
disjoint_y = -20; |
| 1613 |
} |
| 1614 |
} |
| 1615 |
else if (enemy_attack == "Guardener Attack 9" || enemy_attack == "Guardener Attack 11") |
| 1616 |
{ |
| 1617 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 1618 |
{ |
| 1619 |
sprite_width_destination = 120; |
| 1620 |
sprite_height_destination = 140; |
| 1621 |
disjoint_x = 0; |
| 1622 |
disjoint_y = 0; |
| 1623 |
} |
| 1624 |
} |
| 1625 |
else if (enemy_attack == "Guardener Pacifist Opening") |
| 1626 |
{ |
| 1627 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 1628 |
{ |
| 1629 |
sprite_width_destination = 575; |
| 1630 |
sprite_height_destination = 140; |
| 1631 |
disjoint_x = 0; |
| 1632 |
disjoint_y = 0; |
| 1633 |
} |
| 1634 |
} |
| 1635 |
else |
| 1636 |
{ |
| 1637 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 1638 |
{ |
| 1639 |
sprite_width_destination = 120; |
| 1640 |
sprite_height_destination = 140; |
| 1641 |
disjoint_x = 0; |
| 1642 |
disjoint_y = 0; |
| 1643 |
} |
| 1644 |
} |
| 1645 |
} |
| 1646 |
else if (battle_enemy_name == "flowey") |
| 1647 |
{ |
| 1648 |
instance_create(319, 320, obj_dialogue_box_battle_transformation_any_out); |
| 1649 |
if (enemy_attack == "Flowey Opener") |
| 1650 |
{ |
| 1651 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 1652 |
{ |
| 1653 |
sprite_width_destination = 128; |
| 1654 |
sprite_height_destination = 128; |
| 1655 |
disjoint_x = 0; |
| 1656 |
disjoint_y = 0; |
| 1657 |
image_xscale = (sprite_width_destination / sprite_width) * image_xscale_default; |
| 1658 |
image_yscale = (sprite_height_destination / sprite_width) * image_yscale_default; |
| 1659 |
y += disjoint_y; |
| 1660 |
} |
| 1661 |
script_execute(scr_battle_core_directory_enemy_attack_start); |
| 1662 |
exit; |
| 1663 |
} |
| 1664 |
else if (enemy_attack == "Flowey Attack 1") |
| 1665 |
{ |
| 1666 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 1667 |
{ |
| 1668 |
sprite_width_destination = 90; |
| 1669 |
sprite_height_destination = 90; |
| 1670 |
disjoint_x = 0; |
| 1671 |
disjoint_y = -50; |
| 1672 |
} |
| 1673 |
} |
| 1674 |
else if (enemy_attack == "Flowey Attack 2") |
| 1675 |
{ |
| 1676 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 1677 |
{ |
| 1678 |
sprite_width_destination = 128; |
| 1679 |
sprite_height_destination = 128; |
| 1680 |
disjoint_x = 0; |
| 1681 |
disjoint_y = -40; |
| 1682 |
} |
| 1683 |
} |
| 1684 |
else if (enemy_attack == "Flowey Attack 3") |
| 1685 |
{ |
| 1686 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 1687 |
{ |
| 1688 |
sprite_width_destination = 128; |
| 1689 |
sprite_height_destination = 128; |
| 1690 |
disjoint_x = 0; |
| 1691 |
disjoint_y = -80; |
| 1692 |
} |
| 1693 |
} |
| 1694 |
else if (enemy_attack == "Flowey Attack 4") |
| 1695 |
{ |
| 1696 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 1697 |
{ |
| 1698 |
sprite_width_destination = 128; |
| 1699 |
sprite_height_destination = 128; |
| 1700 |
disjoint_x = 0; |
| 1701 |
disjoint_y = -50; |
| 1702 |
} |
| 1703 |
} |
| 1704 |
else if (enemy_attack == "Flowey Attack 5") |
| 1705 |
{ |
| 1706 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 1707 |
{ |
| 1708 |
sprite_width_destination = 128; |
| 1709 |
sprite_height_destination = 128; |
| 1710 |
disjoint_x = 0; |
| 1711 |
disjoint_y = -60; |
| 1712 |
} |
| 1713 |
} |
| 1714 |
else if (enemy_attack == "Flowey Attack 6") |
| 1715 |
{ |
| 1716 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 1717 |
{ |
| 1718 |
sprite_width_destination = 220; |
| 1719 |
sprite_height_destination = 100; |
| 1720 |
disjoint_x = 0; |
| 1721 |
disjoint_y = -20; |
| 1722 |
} |
| 1723 |
} |
| 1724 |
else if (enemy_attack == "Flowey Attack 7") |
| 1725 |
{ |
| 1726 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 1727 |
{ |
| 1728 |
sprite_width_destination = 128; |
| 1729 |
sprite_height_destination = 128; |
| 1730 |
disjoint_x = 0; |
| 1731 |
disjoint_y = 0; |
| 1732 |
} |
| 1733 |
} |
| 1734 |
else if (enemy_attack == "Flowey Attack 8") |
| 1735 |
{ |
| 1736 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 1737 |
{ |
| 1738 |
sprite_width_destination = 128; |
| 1739 |
sprite_height_destination = 128; |
| 1740 |
disjoint_x = 0; |
| 1741 |
disjoint_y = -40; |
| 1742 |
} |
| 1743 |
} |
| 1744 |
else if (enemy_attack == "Flowey Attack 9") |
| 1745 |
{ |
| 1746 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 1747 |
{ |
| 1748 |
sprite_width_destination = 90; |
| 1749 |
sprite_height_destination = 110; |
| 1750 |
disjoint_x = 0; |
| 1751 |
disjoint_y = -60; |
| 1752 |
} |
| 1753 |
} |
| 1754 |
else if (enemy_attack == "Flowey Attack 10") |
| 1755 |
{ |
| 1756 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 1757 |
{ |
| 1758 |
sprite_width_destination = 640; |
| 1759 |
sprite_height_destination = 480; |
| 1760 |
disjoint_x = 0; |
| 1761 |
disjoint_y = -80; |
| 1762 |
} |
| 1763 |
} |
| 1764 |
else if (enemy_attack == "Flowey Corrupt Attack 1") |
| 1765 |
{ |
| 1766 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 1767 |
{ |
| 1768 |
sprite_width_destination = 244; |
| 1769 |
sprite_height_destination = 140; |
| 1770 |
disjoint_x = 0; |
| 1771 |
disjoint_y = 0; |
| 1772 |
} |
| 1773 |
} |
| 1774 |
else if (enemy_attack == "Flowey Corrupt Attack 2") |
| 1775 |
{ |
| 1776 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 1777 |
{ |
| 1778 |
sprite_width_destination = 158; |
| 1779 |
sprite_height_destination = 221; |
| 1780 |
disjoint_x = 0; |
| 1781 |
disjoint_y = -41; |
| 1782 |
} |
| 1783 |
} |
| 1784 |
else if (enemy_attack == "Flowey Corrupt Attack 3") |
| 1785 |
{ |
| 1786 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 1787 |
{ |
| 1788 |
sprite_width_destination = 160; |
| 1789 |
sprite_height_destination = 140; |
| 1790 |
disjoint_x = 0; |
| 1791 |
disjoint_y = 0; |
| 1792 |
} |
| 1793 |
} |
| 1794 |
else if (enemy_attack == "Flowey Corrupt Attack 4") |
| 1795 |
{ |
| 1796 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 1797 |
{ |
| 1798 |
sprite_width_destination = 140; |
| 1799 |
sprite_height_destination = 180; |
| 1800 |
disjoint_x = 0; |
| 1801 |
disjoint_y = -40; |
| 1802 |
} |
| 1803 |
} |
| 1804 |
else if (enemy_attack == "Flowey Corrupt Attack 5") |
| 1805 |
{ |
| 1806 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 1807 |
{ |
| 1808 |
sprite_width_destination = 140; |
| 1809 |
sprite_height_destination = 140; |
| 1810 |
disjoint_x = 0; |
| 1811 |
disjoint_y = 0; |
| 1812 |
} |
| 1813 |
} |
| 1814 |
else if (enemy_attack == "Flowey Corrupt Attack 6") |
| 1815 |
{ |
| 1816 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 1817 |
{ |
| 1818 |
sprite_width_destination = 140; |
| 1819 |
sprite_height_destination = 140; |
| 1820 |
disjoint_x = 0; |
| 1821 |
disjoint_y = 0; |
| 1822 |
} |
| 1823 |
} |
| 1824 |
else if (enemy_attack == "Flowey Corrupt Attack 7") |
| 1825 |
{ |
| 1826 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 1827 |
{ |
| 1828 |
sprite_width_destination = 140; |
| 1829 |
sprite_height_destination = 140; |
| 1830 |
disjoint_x = 0; |
| 1831 |
disjoint_y = 0; |
| 1832 |
} |
| 1833 |
} |
| 1834 |
instance_create_depth(0, 0, -999, obj_flowey_battle_screen_glitch_attack_switch); |
| 1835 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 1836 |
{ |
| 1837 |
image_xscale = (sprite_width_destination / sprite_width) * image_xscale_default; |
| 1838 |
image_yscale = (sprite_height_destination / sprite_height) * image_yscale_default; |
| 1839 |
y += disjoint_y; |
| 1840 |
x += disjoint_x; |
| 1841 |
event_perform(ev_alarm, 0); |
| 1842 |
} |
| 1843 |
} |
| 1844 |
else if (battle_enemy_name == "ceroba") |
| 1845 |
{ |
| 1846 |
instance_create(319, 320, obj_dialogue_box_battle_transformation_any_out); |
| 1847 |
if (enemy_attack == "Ceroba Bells" || enemy_attack == "Ceroba Leaves") |
| 1848 |
{ |
| 1849 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 1850 |
{ |
| 1851 |
sprite_width_destination = 160; |
| 1852 |
sprite_height_destination = 128; |
| 1853 |
disjoint_x = 0; |
| 1854 |
disjoint_y = 0; |
| 1855 |
} |
| 1856 |
} |
| 1857 |
else if (enemy_attack == "Ceroba Bullets") |
| 1858 |
{ |
| 1859 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 1860 |
{ |
| 1861 |
sprite_width_destination = 130; |
| 1862 |
sprite_height_destination = 120; |
| 1863 |
disjoint_x = 0; |
| 1864 |
disjoint_y = 0; |
| 1865 |
} |
| 1866 |
} |
| 1867 |
else if (enemy_attack == "Ceroba Pillars") |
| 1868 |
{ |
| 1869 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 1870 |
{ |
| 1871 |
sprite_width_destination = 160; |
| 1872 |
sprite_height_destination = 120; |
| 1873 |
disjoint_x = 0; |
| 1874 |
disjoint_y = 0; |
| 1875 |
} |
| 1876 |
} |
| 1877 |
else if (enemy_attack == "Ceroba Staff") |
| 1878 |
{ |
| 1879 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 1880 |
{ |
| 1881 |
sprite_width_destination = 128; |
| 1882 |
sprite_height_destination = 128; |
| 1883 |
disjoint_x = 0; |
| 1884 |
disjoint_y = -20; |
| 1885 |
} |
| 1886 |
} |
| 1887 |
else if (enemy_attack == "Ceroba Black Hole" || enemy_attack == "Ceroba Flower Circle Pacifist") |
| 1888 |
{ |
| 1889 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 1890 |
{ |
| 1891 |
sprite_width_destination = 128; |
| 1892 |
sprite_height_destination = 140; |
| 1893 |
disjoint_x = 0; |
| 1894 |
disjoint_y = 0; |
| 1895 |
} |
| 1896 |
} |
| 1897 |
else if (enemy_attack == "Ceroba Rotating Bullets") |
| 1898 |
{ |
| 1899 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 1900 |
{ |
| 1901 |
sprite_width_destination = 128; |
| 1902 |
sprite_height_destination = 128; |
| 1903 |
disjoint_x = 0; |
| 1904 |
disjoint_y = -40; |
| 1905 |
} |
| 1906 |
} |
| 1907 |
else if (enemy_attack == "Ceroba Transform 1") |
| 1908 |
{ |
| 1909 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 1910 |
{ |
| 1911 |
sprite_width_destination = 60; |
| 1912 |
sprite_height_destination = 40; |
| 1913 |
disjoint_x = 0; |
| 1914 |
disjoint_y = 30; |
| 1915 |
} |
| 1916 |
} |
| 1917 |
else if (enemy_attack == "Ceroba Phase 2 P1 Ribbon Attack") |
| 1918 |
{ |
| 1919 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 1920 |
{ |
| 1921 |
sprite_width_destination = 100; |
| 1922 |
sprite_height_destination = 140; |
| 1923 |
disjoint_x = 0; |
| 1924 |
disjoint_y = -30; |
| 1925 |
} |
| 1926 |
} |
| 1927 |
else if (enemy_attack == "Ceroba Phase 2 P1 Obstacles") |
| 1928 |
{ |
| 1929 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 1930 |
{ |
| 1931 |
sprite_width_destination = 75; |
| 1932 |
sprite_height_destination = 140; |
| 1933 |
disjoint_x = 0; |
| 1934 |
disjoint_y = -30; |
| 1935 |
} |
| 1936 |
} |
| 1937 |
else if (enemy_attack == "Ceroba Phase 2 P1 Falling Bells") |
| 1938 |
{ |
| 1939 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 1940 |
{ |
| 1941 |
sprite_width_destination = 160; |
| 1942 |
sprite_height_destination = 160; |
| 1943 |
disjoint_x = 0; |
| 1944 |
disjoint_y = -40; |
| 1945 |
} |
| 1946 |
} |
| 1947 |
else if (enemy_attack == "Ceroba Shield Defense") |
| 1948 |
{ |
| 1949 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 1950 |
{ |
| 1951 |
sprite_width_destination = 190; |
| 1952 |
sprite_height_destination = 128; |
| 1953 |
disjoint_x = 0; |
| 1954 |
disjoint_y = 0; |
| 1955 |
} |
| 1956 |
} |
| 1957 |
else if (enemy_attack == "Ceroba Phase 2 Spawner" || enemy_attack == "Ceroba Phase 2 Spawner 2") |
| 1958 |
{ |
| 1959 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 1960 |
{ |
| 1961 |
sprite_width_destination = 300; |
| 1962 |
sprite_height_destination = 140; |
| 1963 |
disjoint_x = 0; |
| 1964 |
disjoint_y = 0; |
| 1965 |
} |
| 1966 |
} |
| 1967 |
else if (enemy_attack == "Ceroba Special Attack") |
| 1968 |
{ |
| 1969 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 1970 |
{ |
| 1971 |
sprite_width_destination = 240; |
| 1972 |
sprite_height_destination = 140; |
| 1973 |
disjoint_x = 0; |
| 1974 |
disjoint_y = 0; |
| 1975 |
} |
| 1976 |
} |
| 1977 |
else |
| 1978 |
{ |
| 1979 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 1980 |
{ |
| 1981 |
sprite_width_destination = 140; |
| 1982 |
sprite_height_destination = 140; |
| 1983 |
disjoint_x = 0; |
| 1984 |
disjoint_y = 0; |
| 1985 |
} |
| 1986 |
} |
| 1987 |
} |
| 1988 |
else if (battle_enemy_name == "martlet genocide final") |
| 1989 |
{ |
| 1990 |
if (enemy_attack == "Martlet Wings" || enemy_attack == "Splitting Feathers + Martlet Wings" || enemy_attack == "Talon Scratch + Martlet Wings") |
| 1991 |
{ |
| 1992 |
instance_create(319, 320, obj_dialogue_box_battle_transformation_any_out); |
| 1993 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 1994 |
{ |
| 1995 |
sprite_width_destination = 150; |
| 1996 |
sprite_height_destination = 200; |
| 1997 |
disjoint_x = 0; |
| 1998 |
disjoint_y = -30; |
| 1999 |
} |
| 2000 |
} |
| 2001 |
else if (enemy_attack == "Martlet Blocks" || enemy_attack == "Martlet Blocks 2") |
| 2002 |
{ |
| 2003 |
instance_create(319, 320, obj_dialogue_box_battle_transformation_any_out); |
| 2004 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 2005 |
{ |
| 2006 |
sprite_width_destination = 82; |
| 2007 |
sprite_height_destination = 160; |
| 2008 |
disjoint_x = 0; |
| 2009 |
disjoint_y = -20; |
| 2010 |
} |
| 2011 |
} |
| 2012 |
else if (enemy_attack == "Martlet Talon Walls") |
| 2013 |
{ |
| 2014 |
instance_create(319, 320, obj_dialogue_box_battle_transformation_any_out); |
| 2015 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 2016 |
{ |
| 2017 |
sprite_width_destination = 200; |
| 2018 |
sprite_height_destination = 180; |
| 2019 |
disjoint_x = 0; |
| 2020 |
disjoint_y = -30; |
| 2021 |
} |
| 2022 |
} |
| 2023 |
else if (enemy_attack == "Splitting Feathers + Talon Scratch" || enemy_attack == "Splitting Feathers + Talon Scratch 2" || enemy_attack == "Circular Scratch") |
| 2024 |
{ |
| 2025 |
instance_create(319, 320, obj_dialogue_box_battle_transformation_any_out); |
| 2026 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 2027 |
{ |
| 2028 |
sprite_width_destination = 140; |
| 2029 |
sprite_height_destination = 140; |
| 2030 |
disjoint_x = 0; |
| 2031 |
disjoint_y = -30; |
| 2032 |
} |
| 2033 |
} |
| 2034 |
else if (enemy_attack == "Martlet Feather Circle Final") |
| 2035 |
{ |
| 2036 |
instance_create(319, 320, obj_dialogue_box_battle_transformation_any_out); |
| 2037 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 2038 |
{ |
| 2039 |
sprite_width_destination = 140; |
| 2040 |
sprite_height_destination = 140; |
| 2041 |
disjoint_x = 0; |
| 2042 |
disjoint_y = -40; |
| 2043 |
} |
| 2044 |
} |
| 2045 |
else if (enemy_attack == "Wing Gust Final") |
| 2046 |
{ |
| 2047 |
instance_create(319, 320, obj_dialogue_box_battle_transformation_any_out); |
| 2048 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 2049 |
{ |
| 2050 |
sprite_width_destination = 180; |
| 2051 |
sprite_height_destination = 140; |
| 2052 |
disjoint_x = 0; |
| 2053 |
disjoint_y = 0; |
| 2054 |
} |
| 2055 |
} |
| 2056 |
else if (enemy_attack == "Martlet Phase 2 Blocks" || enemy_attack == "Martlet Phase 2 Blocks 4") |
| 2057 |
{ |
| 2058 |
instance_create(319, 320, obj_dialogue_box_battle_transformation_any_out); |
| 2059 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 2060 |
{ |
| 2061 |
sprite_width_destination = 106; |
| 2062 |
sprite_height_destination = 160; |
| 2063 |
disjoint_x = 0; |
| 2064 |
disjoint_y = -20; |
| 2065 |
} |
| 2066 |
} |
| 2067 |
else if (enemy_attack == "Martlet Phase 2 Blocks 2") |
| 2068 |
{ |
| 2069 |
instance_create(319, 320, obj_dialogue_box_battle_transformation_any_out); |
| 2070 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 2071 |
{ |
| 2072 |
sprite_width_destination = 120; |
| 2073 |
sprite_height_destination = 120; |
| 2074 |
disjoint_x = 0; |
| 2075 |
disjoint_y = 20; |
| 2076 |
} |
| 2077 |
} |
| 2078 |
else if (enemy_attack == "Martlet Phase 2 Blocks 3") |
| 2079 |
{ |
| 2080 |
instance_create(319, 320, obj_dialogue_box_battle_transformation_any_out); |
| 2081 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 2082 |
{ |
| 2083 |
sprite_width_destination = 106; |
| 2084 |
sprite_height_destination = 106; |
| 2085 |
disjoint_x = 0; |
| 2086 |
disjoint_y = -20; |
| 2087 |
} |
| 2088 |
} |
| 2089 |
else |
| 2090 |
{ |
| 2091 |
instance_create(319, 320, obj_dialogue_box_battle_transformation_any_out); |
| 2092 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 2093 |
{ |
| 2094 |
sprite_width_destination = 140; |
| 2095 |
sprite_height_destination = 140; |
| 2096 |
disjoint_x = 0; |
| 2097 |
disjoint_y = 0; |
| 2098 |
} |
| 2099 |
} |
| 2100 |
} |
| 2101 |
else if (battle_enemy_name == "asgore") |
| 2102 |
{ |
| 2103 |
instance_create(319, 240, obj_dialogue_box_battle_transformation_any_out); |
| 2104 |
with (obj_dialogue_box_battle_transformation_any_out) |
| 2105 |
{ |
| 2106 |
sprite_width_destination = 200; |
| 2107 |
sprite_height_destination = 280; |
| 2108 |
disjoint_x = 0; |
| 2109 |
disjoint_y = 0; |
| 2110 |
image_xscale = (sprite_width_destination / sprite_width) * image_xscale_default; |
| 2111 |
image_yscale = (sprite_height_destination / sprite_width) * image_yscale_default; |
| 2112 |
} |
| 2113 |
script_execute(scr_battle_core_directory_enemy_attack_start); |
| 2114 |
} |
| 2115 |
} |
| 2116 |
} |