| 1 |
function scr_battle_core_directory_enemy_attack_startscr_battle_core_directory_enemy_attack_startfunction scr_battle_core_directory_enemy_attack_start()
{
var battle_enemy_name = global.battle_enemy_name;
var game_mode = global.game_mode;
if (game_mode == "customs")
{
if (battle_enemy_name == "craniex")
script_execute(scr_start_enemy_attacking_craniex);
else if (battle_enemy_name == "ms mettaton")
script_execute(scr_start_enemy_attacking_ms_mettaton);
}
else if (game_mode == "yellow")
{
if (battle_enemy_name == "flier solo")
{
script_execute(scr_start_enemy_attacking_flier_solo);
}
else if (battle_enemy_name == "flier trio")
{
script_execute(scr_start_enemy_attacking_flier_trio);
}
else if (battle_enemy_name == "penilla solo")
{
script_execute(scr_start_enemy_attacking_penilla_solo);
}
else if (battle_enemy_name == "flier penilla duo")
{
script_execute(scr_start_enemy_attacking_flier_penilla_duo);
}
else if (battle_enemy_name == "sweet corn solo")
{
script_execute(scr_start_enemy_attacking_sweet_corn_solo);
}
else if (battle_enemy_name == "sweet corn duo")
{
script_execute(scr_start_enemy_attacking_sweet_corn_duo);
}
else if (battle_enemy_name == "sweet corn penilla duo")
{
script_execute(scr_start_enemy_attacking_sweet_corn_penilla_duo);
}
else if (battle_enemy_name == "crispy scroll solo")
{
script_execute(scr_start_enemy_attacking_crispy_scroll_solo);
}
else if (battle_enemy_name == "crispy scroll penilla duo")
{
script_execute(scr_start_enemy_attacking_crispy_scroll_penilla_duo);
}
else if (battle_enemy_name == "rorrim solo")
{
script_execute(scr_start_enemy_attacking_rorrim_solo);
}
else if (battle_enemy_name == "decibat")
{
script_execute(scr_start_enemy_attacking_decibat);
}
else if (battle_enemy_name == "dalv")
{
script_execute(scr_start_enemy_attacking_dalv);
}
else if (battle_enemy_name == "micro froggit")
{
script_execute(scr_start_enemy_attacking_micro_froggit);
}
else if (battle_enemy_name == "insomnitot solo")
{
script_execute(scr_start_enemy_attacking_insomnitot_solo);
}
else if (battle_enemy_name == "insomnitot duo")
{
script_execute(scr_start_enemy_attacking_insomnitot_duo);
}
else if (battle_enemy_name == "know cone solo")
{
script_execute(scr_start_enemy_attacking_know_cone_solo);
}
else if (battle_enemy_name == "know cone insomnitot duo")
{
script_execute(scr_start_enemy_attacking_know_cone_insomnitot_duo);
}
else if (battle_enemy_name == "frostermit solo")
{
script_execute(scr_start_enemy_attacking_frostermit_solo);
}
else if (battle_enemy_name == "frostermit know cone duo")
{
script_execute(scr_start_enemy_attacking_frostermit_know_cone_duo);
}
else if (battle_enemy_name == "trihecta together")
{
script_execute(scr_start_enemy_attacking_trihecta_together);
}
else if (battle_enemy_name == "trihecta separated")
{
script_execute(scr_start_enemy_attacking_trihecta_separated);
}
else if (battle_enemy_name == "martlet pacifist")
{
script_execute(scr_start_enemy_attacking_martlet_pacifist);
}
... () |
| 2 |
{ |
| 3 |
var battle_enemy_name = global.battle_enemy_name; |
| 4 |
var game_mode = global.game_mode; |
| 5 |
if (game_mode == "customs") |
| 6 |
{ |
| 7 |
if (battle_enemy_name == "craniex") |
| 8 |
script_execute(scr_start_enemy_attacking_craniex); |
| 9 |
else if (battle_enemy_name == "ms mettaton") |
| 10 |
script_execute(scr_start_enemy_attacking_ms_mettaton); |
| 11 |
} |
| 12 |
else if (game_mode == "yellow") |
| 13 |
{ |
| 14 |
if (battle_enemy_name == "flier solo") |
| 15 |
{ |
| 16 |
script_execute(scr_start_enemy_attacking_flier_solo); |
| 17 |
} |
| 18 |
else if (battle_enemy_name == "flier trio") |
| 19 |
{ |
| 20 |
script_execute(scr_start_enemy_attacking_flier_trio); |
| 21 |
} |
| 22 |
else if (battle_enemy_name == "penilla solo") |
| 23 |
{ |
| 24 |
script_execute(scr_start_enemy_attacking_penilla_solo); |
| 25 |
} |
| 26 |
else if (battle_enemy_name == "flier penilla duo") |
| 27 |
{ |
| 28 |
script_execute(scr_start_enemy_attacking_flier_penilla_duo); |
| 29 |
} |
| 30 |
else if (battle_enemy_name == "sweet corn solo") |
| 31 |
{ |
| 32 |
script_execute(scr_start_enemy_attacking_sweet_corn_solo); |
| 33 |
} |
| 34 |
else if (battle_enemy_name == "sweet corn duo") |
| 35 |
{ |
| 36 |
script_execute(scr_start_enemy_attacking_sweet_corn_duo); |
| 37 |
} |
| 38 |
else if (battle_enemy_name == "sweet corn penilla duo") |
| 39 |
{ |
| 40 |
script_execute(scr_start_enemy_attacking_sweet_corn_penilla_duo); |
| 41 |
} |
| 42 |
else if (battle_enemy_name == "crispy scroll solo") |
| 43 |
{ |
| 44 |
script_execute(scr_start_enemy_attacking_crispy_scroll_solo); |
| 45 |
} |
| 46 |
else if (battle_enemy_name == "crispy scroll penilla duo") |
| 47 |
{ |
| 48 |
script_execute(scr_start_enemy_attacking_crispy_scroll_penilla_duo); |
| 49 |
} |
| 50 |
else if (battle_enemy_name == "rorrim solo") |
| 51 |
{ |
| 52 |
script_execute(scr_start_enemy_attacking_rorrim_solo); |
| 53 |
} |
| 54 |
else if (battle_enemy_name == "decibat") |
| 55 |
{ |
| 56 |
script_execute(scr_start_enemy_attacking_decibat); |
| 57 |
} |
| 58 |
else if (battle_enemy_name == "dalv") |
| 59 |
{ |
| 60 |
script_execute(scr_start_enemy_attacking_dalv); |
| 61 |
} |
| 62 |
else if (battle_enemy_name == "micro froggit") |
| 63 |
{ |
| 64 |
script_execute(scr_start_enemy_attacking_micro_froggit); |
| 65 |
} |
| 66 |
else if (battle_enemy_name == "insomnitot solo") |
| 67 |
{ |
| 68 |
script_execute(scr_start_enemy_attacking_insomnitot_solo); |
| 69 |
} |
| 70 |
else if (battle_enemy_name == "insomnitot duo") |
| 71 |
{ |
| 72 |
script_execute(scr_start_enemy_attacking_insomnitot_duo); |
| 73 |
} |
| 74 |
else if (battle_enemy_name == "know cone solo") |
| 75 |
{ |
| 76 |
script_execute(scr_start_enemy_attacking_know_cone_solo); |
| 77 |
} |
| 78 |
else if (battle_enemy_name == "know cone insomnitot duo") |
| 79 |
{ |
| 80 |
script_execute(scr_start_enemy_attacking_know_cone_insomnitot_duo); |
| 81 |
} |
| 82 |
else if (battle_enemy_name == "frostermit solo") |
| 83 |
{ |
| 84 |
script_execute(scr_start_enemy_attacking_frostermit_solo); |
| 85 |
} |
| 86 |
else if (battle_enemy_name == "frostermit know cone duo") |
| 87 |
{ |
| 88 |
script_execute(scr_start_enemy_attacking_frostermit_know_cone_duo); |
| 89 |
} |
| 90 |
else if (battle_enemy_name == "trihecta together") |
| 91 |
{ |
| 92 |
script_execute(scr_start_enemy_attacking_trihecta_together); |
| 93 |
} |
| 94 |
else if (battle_enemy_name == "trihecta separated") |
| 95 |
{ |
| 96 |
script_execute(scr_start_enemy_attacking_trihecta_separated); |
| 97 |
} |
| 98 |
else if (battle_enemy_name == "martlet pacifist") |
| 99 |
{ |
| 100 |
script_execute(scr_start_enemy_attacking_martlet_pacifist); |
| 101 |
} |
| 102 |
else if (battle_enemy_name == "martlet genocide") |
| 103 |
{ |
| 104 |
script_execute(scr_start_enemy_attacking_martlet_genocide); |
| 105 |
} |
| 106 |
else if (battle_enemy_name == "dunebud solo") |
| 107 |
{ |
| 108 |
script_execute(scr_start_enemy_attacking_dunebud_solo); |
| 109 |
} |
| 110 |
else if (battle_enemy_name == "dunebud duo") |
| 111 |
{ |
| 112 |
script_execute(scr_start_enemy_attacking_dunebud_duo); |
| 113 |
} |
| 114 |
else if (battle_enemy_name == "cactony solo") |
| 115 |
{ |
| 116 |
script_execute(scr_start_enemy_attacking_cactony_solo); |
| 117 |
} |
| 118 |
else if (battle_enemy_name == "slither solo") |
| 119 |
{ |
| 120 |
script_execute(scr_start_enemy_attacking_slither_solo); |
| 121 |
} |
| 122 |
else if (battle_enemy_name == "bowll solo") |
| 123 |
{ |
| 124 |
script_execute(scr_start_enemy_attacking_bowll_solo); |
| 125 |
} |
| 126 |
else if (battle_enemy_name == "cactony slither duo") |
| 127 |
{ |
| 128 |
script_execute(scr_start_enemy_attacking_cactony_slither_duo); |
| 129 |
} |
| 130 |
else if (battle_enemy_name == "el bailador") |
| 131 |
{ |
| 132 |
script_execute(scr_start_enemy_attacking_el_bailador); |
| 133 |
} |
| 134 |
else if (battle_enemy_name == "flower girls") |
| 135 |
{ |
| 136 |
script_execute(scr_start_enemy_attacking_flower_girls); |
| 137 |
} |
| 138 |
else if (battle_enemy_name == "ceroba genocide") |
| 139 |
{ |
| 140 |
script_execute(scr_start_enemy_attacking_ceroba_genocide); |
| 141 |
} |
| 142 |
else if (battle_enemy_name == "starlo") |
| 143 |
{ |
| 144 |
script_execute(scr_start_enemy_attacking_starlo); |
| 145 |
} |
| 146 |
else if (battle_enemy_name == "boulders minifight") |
| 147 |
{ |
| 148 |
script_execute(scr_start_enemy_attacking_boulders); |
| 149 |
} |
| 150 |
else if (battle_enemy_name == "feisty five") |
| 151 |
{ |
| 152 |
script_execute(scr_start_enemy_attacking_feisty_five); |
| 153 |
} |
| 154 |
else if (battle_enemy_name == "steam minifight") |
| 155 |
{ |
| 156 |
script_execute(scr_start_enemy_attacking_steam); |
| 157 |
} |
| 158 |
else if (battle_enemy_name == "energy balls minifight") |
| 159 |
{ |
| 160 |
script_execute(scr_start_enemy_attacking_energy_balls); |
| 161 |
} |
| 162 |
else if (battle_enemy_name == "goosic") |
| 163 |
{ |
| 164 |
script_execute(scr_start_enemy_attacking_goosic_solo); |
| 165 |
} |
| 166 |
else if (battle_enemy_name == "jandroid") |
| 167 |
{ |
| 168 |
script_execute(scr_start_enemy_attacking_jandroid_solo); |
| 169 |
} |
| 170 |
else if (battle_enemy_name == "tellyvis") |
| 171 |
{ |
| 172 |
script_execute(scr_start_enemy_attacking_tellyvis_solo); |
| 173 |
} |
| 174 |
else if (battle_enemy_name == "sousborg") |
| 175 |
{ |
| 176 |
script_execute(scr_start_enemy_attacking_sousborg); |
| 177 |
} |
| 178 |
else if (battle_enemy_name == "jandroid goosic duo") |
| 179 |
{ |
| 180 |
script_execute(scr_start_enemy_attacking_jandroid_goosic_duo); |
| 181 |
} |
| 182 |
else if (battle_enemy_name == "jandroid duo") |
| 183 |
{ |
| 184 |
script_execute(scr_start_enemy_attacking_jandroid_duo); |
| 185 |
} |
| 186 |
else if (battle_enemy_name == "axis") |
| 187 |
{ |
| 188 |
if (global.action_1_important) |
| 189 |
script_execute(scr_start_enemy_no_attack_axis); |
| 190 |
else |
| 191 |
script_execute(scr_start_enemy_attacking_axis); |
| 192 |
} |
| 193 |
else if (battle_enemy_name == "axis genocide") |
| 194 |
{ |
| 195 |
script_execute(scr_start_enemy_attacking_axis_geno); |
| 196 |
} |
| 197 |
else if (battle_enemy_name == "macro froggit") |
| 198 |
{ |
| 199 |
script_execute(scr_start_enemy_attacking_macro); |
| 200 |
} |
| 201 |
else if (battle_enemy_name == "guardener") |
| 202 |
{ |
| 203 |
script_execute(scr_start_enemy_attacking_guardener); |
| 204 |
} |
| 205 |
else if (battle_enemy_name == "flowey") |
| 206 |
{ |
| 207 |
script_execute(scr_start_enemy_attacking_flowey); |
| 208 |
} |
| 209 |
else if (battle_enemy_name == "ceroba") |
| 210 |
{ |
| 211 |
script_execute(scr_start_enemy_attacking_ceroba); |
| 212 |
} |
| 213 |
else if (battle_enemy_name == "martlet genocide final") |
| 214 |
{ |
| 215 |
script_execute(scr_start_enemy_attacking_martlet_genocide_final); |
| 216 |
} |
| 217 |
else if (battle_enemy_name == "asgore") |
| 218 |
{ |
| 219 |
script_execute(scr_start_enemy_attacking_asgore); |
| 220 |
} |
| 221 |
} |
| 222 |
} |