1 |
function scr_battle_core_directory_enemy_3_namescr_battle_core_directory_enemy_3_namefunction scr_battle_core_directory_enemy_3_name(argument0, argument1) //gml_Script_scr_battle_core_directory_enemy_3_name
{
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 + argument0
battle_menu_option_y = obj_dialogue_box_battle.y + argument1
battle_menu_option_string = "* Flier C"
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 == "trihecta separated")
{
battle_menu_option_x = obj_dialogue_box_battle.x + argument0
battle_menu_option_y = obj_dialogue_box_battle.y + argument1
battle_menu_option_string = "* Ta"
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))
}
}
} (argument0, argument1) //gml_Script_scr_battle_core_directory_enemy_3_name |
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 + argument0 |
13 |
battle_menu_option_y = obj_dialogue_box_battle.y + argument1 |
14 |
battle_menu_option_string = "* Flier C" |
15 |
script_execute(gml_Script_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 == "trihecta separated") |
19 |
{ |
20 |
battle_menu_option_x = obj_dialogue_box_battle.x + argument0 |
21 |
battle_menu_option_y = obj_dialogue_box_battle.y + argument1 |
22 |
battle_menu_option_string = "* Ta" |
23 |
script_execute(gml_Script_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 |
} |
27 |
} |