scr_battle_core_directory_enemy_1_namefunction
scr_battle_core_directory_enemy_1_name(argument0, argument1) //gml_Script_scr_battle_core_directory_enemy_1_name
{
var battle_enemy_name = global.battle_enemy_name
var game_mode = global.game_mode
if (game_mode == "customs")
{
if (battle_enemy_name == "craniex")
{
battle_menu_option_x = obj_dialogue_box_battle.x + argument0
battle_menu_option_y = obj_dialogue_box_battle.y + argument1
battle_menu_option_string = "* Craniex"
script_execute(gml_Script_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 == "ms mettaton")
{
var ms_mettaton_transformed = global.ms_mettaton_transformed
if (ms_mettaton_transformed == false)
{
battle_menu_option_x = obj_dialogue_box_battle.x + argument0
battle_menu_option_y = obj_dialogue_box_battle.y + argument1
battle_menu_option_string = "* Ms. Mettaton"
script_execute(gml_Script_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 (ms_mettaton_transformed == true)
{
battle_menu_option_x = obj_dialogue_box_battle.x + argument0
battle_menu_option_y = obj_dialogue_box_battle.y + argument1
battle_menu_option_string = "* Ms. Mettaton EX"
script_execute(gml_Script_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 (game_mode == "yellow")
{
if (battle_enemy_name == "froggit intro")
{
battle_menu_option_x = obj_dialogue_box_battle.x + argument0
battle_menu_option_y = obj_dialogue_box_battle.y + argument1
battle_menu_option_string = "* Froggit"
script_execute(gml_Script_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 solo")
{
battle_menu_option_x = obj_dialogue_box_battle.x + argument0
battle_menu_option_y = obj_dialogue_box_battle.y + argument1
battle_menu_option_string = "* Flier"
script_execute(gml_Script_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 trio")
{
battle_menu_option_x = obj_dialogue_box_battle.x + argument0
battle_menu_option_y = obj_dialogue_box_battle.y + argument1
battle_menu_option_string = "* Flier A"
script_execute(gml_Script_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 == "penilla solo")
{
battle_menu_option_x = obj_dialogue_box_battle.x + argument0
battle_menu_option_y = obj_dialogue_box_battle.y + argument1
battle_menu_option_string = "* Penilla"
script_execute(gml_Script_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 + argument0
battle_menu_option_y = obj_dialogue_box_battle.y + argument1
battle_menu_option_string = "* Flier"
script_execute(gml_Script_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 solo")
{
battle_menu_option_x = obj_dialogue_box_battle.x + argument0
battle_menu_option_y = obj_dialogue_box_battle.y + argument1
battle_menu_option_string = "* Sweet Corn"
script_execute(gml_Script_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 + argument0
battle_menu_option_y = obj_dialogue_box_battle.y + argument1
battle_menu_option_string = "* Sweet Corn A"
script_execute(gml_Script_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 + argument0
battle_menu_option_y = obj_dialogue_box_battle.y + argument1
battle_menu_option_string = "* Sweet Corn"
script_execute(gml_Script_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))
}
...