| 1 |
function scr_battle_core_directory_enemy_2_namescr_battle_core_directory_enemy_2_namefunction scr_battle_core_directory_enemy_2_name(arg0, arg1)
{
var battle_enemy_name = global.battle_enemy_name;
var game_mode = global.game_mode;
if (game_mode == "customs")
{
}
else if (game_mode == "yellow")
{
if (battle_enemy_name == "flier trio")
{
battle_menu_option_x = obj_dialogue_box_battle.x + arg0;
battle_menu_option_y = obj_dialogue_box_battle.y + arg1;
battle_menu_option_string = "* Flier B";
script_execute(scr_draw_text_effect_twitchy_textbox_battle_menu_options);
global.battle_enemy_name_string_width = string_width(string_hash_to_newline(battle_menu_option_string));
}
else if (battle_enemy_name == "flier penilla duo")
{
battle_menu_option_x = obj_dialogue_box_battle.x + arg0;
battle_menu_option_y = obj_dialogue_box_battle.y + arg1;
battle_menu_option_string = "* Penilla";
script_execute(scr_draw_text_effect_twitchy_textbox_battle_menu_options);
global.battle_enemy_name_string_width = string_width(string_hash_to_newline(battle_menu_option_string));
}
else if (battle_enemy_name == "sweet corn duo")
{
battle_menu_option_x = obj_dialogue_box_battle.x + arg0;
battle_menu_option_y = obj_dialogue_box_battle.y + arg1;
battle_menu_option_string = "* Sweet Corn B";
script_execute(scr_draw_text_effect_twitchy_textbox_battle_menu_options);
global.battle_enemy_name_string_width = string_width(string_hash_to_newline(battle_menu_option_string));
}
else if (battle_enemy_name == "sweet corn penilla duo")
{
battle_menu_option_x = obj_dialogue_box_battle.x + arg0;
battle_menu_option_y = obj_dialogue_box_battle.y + arg1;
battle_menu_option_string = "* Penilla";
script_execute(scr_draw_text_effect_twitchy_textbox_battle_menu_options);
global.battle_enemy_name_string_width = string_width(string_hash_to_newline(battle_menu_option_string));
}
else if (battle_enemy_name == "crispy scroll penilla duo")
{
battle_menu_option_x = obj_dialogue_box_battle.x + arg0;
battle_menu_option_y = obj_dialogue_box_battle.y + arg1;
battle_menu_option_string = "* Penilla";
script_execute(scr_draw_text_effect_twitchy_textbox_battle_menu_options);
global.battle_enemy_name_string_width = string_width(string_hash_to_newline(battle_menu_option_string));
}
else if (battle_enemy_name == "insomnitot duo")
{
battle_menu_option_x = obj_dialogue_box_battle.x + arg0;
battle_menu_option_y = obj_dialogue_box_battle.y + arg1;
battle_menu_option_string = "* Insomnitot B";
script_execute(scr_draw_text_effect_twitchy_textbox_battle_menu_options);
global.battle_enemy_name_string_width = string_width(string_hash_to_newline(battle_menu_option_string));
}
else if (battle_enemy_name == "know cone insomnitot duo")
{
battle_menu_option_x = obj_dialogue_box_battle.x + arg0;
battle_menu_option_y = obj_dialogue_box_battle.y + arg1;
battle_menu_option_string = "* Insomnitot";
script_execute(scr_draw_text_effect_twitchy_textbox_battle_menu_options);
global.battle_enemy_name_string_width = string_width(string_hash_to_newline(battle_menu_option_string));
}
else if (battle_enemy_name == "frostermit know cone duo")
{
battle_menu_option_x = obj_dialogue_box_battle.x + arg0;
battle_menu_option_y = obj_dialogue_box_battle.y + arg1;
battle_menu_option_string = "* Know Cone";
script_execute(scr_draw_text_effect_twitchy_textbox_battle_menu_options);
global.battle_enemy_name_string_width = string_width(string_hash_to_newline(battle_menu_option_string));
}
else if (battle_enemy_name == "trihecta separated")
{
battle_menu_option_x = obj_dialogue_box_battle.x + arg0;
battle_menu_option_y = obj_dialogue_box_battle.y + arg1;
battle_menu_option_string = "* Hec";
script_execute(scr_draw_text_effect_twitchy_textbox_battle_menu_options);
global.battle_enemy_name_string_width = string_width(string_hash_to_newline(battle_menu_option_string));
}
else if (battle_enemy_name == "dunebud duo")
{
battle_menu_option_x = obj_dialogue_box_battle.x + arg0;
battle_menu_option_y = obj_dialogue_box_battle.y + arg1;
battle_menu_option_string = "* Dunebud B";
script_execute(scr_draw_text_effect_twitchy_textbox_battle_menu_options);
global.battle_enemy_name_string_width = string_width(string_hash_to_newline(battle_menu_option_string));
}
else if (battle_enemy_name == "cactony slither duo")
{
battle_menu_option_x = obj_dialogue_box_battle.x + arg0;
battle_menu_option_y = obj_dialogue_box_battle.y + arg1;
battle_menu_option_string = "* Sir Slither";
script_execute(scr_draw_text_effect_twitchy_textbox_battle_menu_options);
global.battle_enemy_name_string_width = string_width(string_hash_to_newline(battle_menu_option_string));
}
else if (battle_enemy_name == "feisty five")
{
var battle_enemy_name_2 = global.battle_enemy_name_2;
battle_menu_option_x = obj_dialogue_box_battle.x + arg0;
... (arg0, arg1) |
| 2 |
{ |
| 3 |
var battle_enemy_name = global.battle_enemy_name; |
| 4 |
var game_mode = global.game_mode; |
| 5 |
if (game_mode == "customs") |
| 6 |
{ |
| 7 |
} |
| 8 |
else if (game_mode == "yellow") |
| 9 |
{ |
| 10 |
if (battle_enemy_name == "flier trio") |
| 11 |
{ |
| 12 |
battle_menu_option_x = obj_dialogue_box_battle.x + arg0; |
| 13 |
battle_menu_option_y = obj_dialogue_box_battle.y + arg1; |
| 14 |
battle_menu_option_string = "* Flier B"; |
| 15 |
script_execute(scr_draw_text_effect_twitchy_textbox_battle_menu_options); |
| 16 |
global.battle_enemy_name_string_width = string_width(string_hash_to_newline(battle_menu_option_string)); |
| 17 |
} |
| 18 |
else if (battle_enemy_name == "flier penilla duo") |
| 19 |
{ |
| 20 |
battle_menu_option_x = obj_dialogue_box_battle.x + arg0; |
| 21 |
battle_menu_option_y = obj_dialogue_box_battle.y + arg1; |
| 22 |
battle_menu_option_string = "* Penilla"; |
| 23 |
script_execute(scr_draw_text_effect_twitchy_textbox_battle_menu_options); |
| 24 |
global.battle_enemy_name_string_width = string_width(string_hash_to_newline(battle_menu_option_string)); |
| 25 |
} |
| 26 |
else if (battle_enemy_name == "sweet corn duo") |
| 27 |
{ |
| 28 |
battle_menu_option_x = obj_dialogue_box_battle.x + arg0; |
| 29 |
battle_menu_option_y = obj_dialogue_box_battle.y + arg1; |
| 30 |
battle_menu_option_string = "* Sweet Corn B"; |
| 31 |
script_execute(scr_draw_text_effect_twitchy_textbox_battle_menu_options); |
| 32 |
global.battle_enemy_name_string_width = string_width(string_hash_to_newline(battle_menu_option_string)); |
| 33 |
} |
| 34 |
else if (battle_enemy_name == "sweet corn penilla duo") |
| 35 |
{ |
| 36 |
battle_menu_option_x = obj_dialogue_box_battle.x + arg0; |
| 37 |
battle_menu_option_y = obj_dialogue_box_battle.y + arg1; |
| 38 |
battle_menu_option_string = "* Penilla"; |
| 39 |
script_execute(scr_draw_text_effect_twitchy_textbox_battle_menu_options); |
| 40 |
global.battle_enemy_name_string_width = string_width(string_hash_to_newline(battle_menu_option_string)); |
| 41 |
} |
| 42 |
else if (battle_enemy_name == "crispy scroll penilla duo") |
| 43 |
{ |
| 44 |
battle_menu_option_x = obj_dialogue_box_battle.x + arg0; |
| 45 |
battle_menu_option_y = obj_dialogue_box_battle.y + arg1; |
| 46 |
battle_menu_option_string = "* Penilla"; |
| 47 |
script_execute(scr_draw_text_effect_twitchy_textbox_battle_menu_options); |
| 48 |
global.battle_enemy_name_string_width = string_width(string_hash_to_newline(battle_menu_option_string)); |
| 49 |
} |
| 50 |
else if (battle_enemy_name == "insomnitot duo") |
| 51 |
{ |
| 52 |
battle_menu_option_x = obj_dialogue_box_battle.x + arg0; |
| 53 |
battle_menu_option_y = obj_dialogue_box_battle.y + arg1; |
| 54 |
battle_menu_option_string = "* Insomnitot B"; |
| 55 |
script_execute(scr_draw_text_effect_twitchy_textbox_battle_menu_options); |
| 56 |
global.battle_enemy_name_string_width = string_width(string_hash_to_newline(battle_menu_option_string)); |
| 57 |
} |
| 58 |
else if (battle_enemy_name == "know cone insomnitot duo") |
| 59 |
{ |
| 60 |
battle_menu_option_x = obj_dialogue_box_battle.x + arg0; |
| 61 |
battle_menu_option_y = obj_dialogue_box_battle.y + arg1; |
| 62 |
battle_menu_option_string = "* Insomnitot"; |
| 63 |
script_execute(scr_draw_text_effect_twitchy_textbox_battle_menu_options); |
| 64 |
global.battle_enemy_name_string_width = string_width(string_hash_to_newline(battle_menu_option_string)); |
| 65 |
} |
| 66 |
else if (battle_enemy_name == "frostermit know cone duo") |
| 67 |
{ |
| 68 |
battle_menu_option_x = obj_dialogue_box_battle.x + arg0; |
| 69 |
battle_menu_option_y = obj_dialogue_box_battle.y + arg1; |
| 70 |
battle_menu_option_string = "* Know Cone"; |
| 71 |
script_execute(scr_draw_text_effect_twitchy_textbox_battle_menu_options); |
| 72 |
global.battle_enemy_name_string_width = string_width(string_hash_to_newline(battle_menu_option_string)); |
| 73 |
} |
| 74 |
else if (battle_enemy_name == "trihecta separated") |
| 75 |
{ |
| 76 |
battle_menu_option_x = obj_dialogue_box_battle.x + arg0; |
| 77 |
battle_menu_option_y = obj_dialogue_box_battle.y + arg1; |
| 78 |
battle_menu_option_string = "* Hec"; |
| 79 |
script_execute(scr_draw_text_effect_twitchy_textbox_battle_menu_options); |
| 80 |
global.battle_enemy_name_string_width = string_width(string_hash_to_newline(battle_menu_option_string)); |
| 81 |
} |
| 82 |
else if (battle_enemy_name == "dunebud duo") |
| 83 |
{ |
| 84 |
battle_menu_option_x = obj_dialogue_box_battle.x + arg0; |
| 85 |
battle_menu_option_y = obj_dialogue_box_battle.y + arg1; |
| 86 |
battle_menu_option_string = "* Dunebud B"; |
| 87 |
script_execute(scr_draw_text_effect_twitchy_textbox_battle_menu_options); |
| 88 |
global.battle_enemy_name_string_width = string_width(string_hash_to_newline(battle_menu_option_string)); |
| 89 |
} |
| 90 |
else if (battle_enemy_name == "cactony slither duo") |
| 91 |
{ |
| 92 |
battle_menu_option_x = obj_dialogue_box_battle.x + arg0; |
| 93 |
battle_menu_option_y = obj_dialogue_box_battle.y + arg1; |
| 94 |
battle_menu_option_string = "* Sir Slither"; |
| 95 |
script_execute(scr_draw_text_effect_twitchy_textbox_battle_menu_options); |
| 96 |
global.battle_enemy_name_string_width = string_width(string_hash_to_newline(battle_menu_option_string)); |
| 97 |
} |
| 98 |
else if (battle_enemy_name == "feisty five") |
| 99 |
{ |
| 100 |
var battle_enemy_name_2 = global.battle_enemy_name_2; |
| 101 |
battle_menu_option_x = obj_dialogue_box_battle.x + arg0; |
| 102 |
battle_menu_option_y = obj_dialogue_box_battle.y + arg1; |
| 103 |
switch (battle_enemy_name_2) |
| 104 |
{ |
| 105 |
case "ed": |
| 106 |
battle_menu_option_string = "* Ed"; |
| 107 |
break; |
| 108 |
case "moray": |
| 109 |
battle_menu_option_string = "* Moray"; |
| 110 |
break; |
| 111 |
case "ace": |
| 112 |
battle_menu_option_string = "* Ace"; |
| 113 |
break; |
| 114 |
case "mooch": |
| 115 |
battle_menu_option_string = "* Mooch"; |
| 116 |
break; |
| 117 |
default: |
| 118 |
battle_menu_option_string = "* Feisty Four"; |
| 119 |
} |
| 120 |
script_execute(scr_draw_text_effect_twitchy_textbox_battle_menu_options); |
| 121 |
global.battle_enemy_name_string_width = string_width(battle_menu_option_string); |
| 122 |
} |
| 123 |
else if (battle_enemy_name == "jandroid goosic duo") |
| 124 |
{ |
| 125 |
battle_menu_option_x = obj_dialogue_box_battle.x + arg0; |
| 126 |
battle_menu_option_y = obj_dialogue_box_battle.y + arg1; |
| 127 |
battle_menu_option_string = "* Goosic"; |
| 128 |
script_execute(scr_draw_text_effect_twitchy_textbox_battle_menu_options); |
| 129 |
global.battle_enemy_name_string_width = string_width(string_hash_to_newline(battle_menu_option_string)); |
| 130 |
} |
| 131 |
else if (battle_enemy_name == "jandroid duo") |
| 132 |
{ |
| 133 |
battle_menu_option_x = obj_dialogue_box_battle.x + arg0; |
| 134 |
battle_menu_option_y = obj_dialogue_box_battle.y + arg1; |
| 135 |
battle_menu_option_string = "* Jandroid B"; |
| 136 |
script_execute(scr_draw_text_effect_twitchy_textbox_battle_menu_options); |
| 137 |
global.battle_enemy_name_string_width = string_width(string_hash_to_newline(battle_menu_option_string)); |
| 138 |
} |
| 139 |
} |
| 140 |
} |