1 |
function scr_battle_core_directory_enemy_2_namescr_battle_core_directory_enemy_2_namefunction scr_battle_core_directory_enemy_2_name(argument0, argument1) //gml_Script_scr_battle_core_directory_enemy_2_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 B"
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 = "* 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 == "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 B"
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 = "* 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 == "crispy scroll 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 = "* 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 == "insomnitot 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 = "* Insomnitot B"
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 == "know cone insomnitot 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 = "* Insomnitot"
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 == "frostermit know cone 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 = "* Know Cone"
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 = "* Hec"
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 == "dunebud 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 = "* Dunebud B"
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 == "cactony slither 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 = "* Sir Slither"
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 == "feisty five")
{
var battle_enemy_name_2 = global.battle_enemy_name_2
battle_menu_option_x = obj_dialogue_box_battle.x + argument0
... (argument0, argument1) //gml_Script_scr_battle_core_directory_enemy_2_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 B" |
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 == "flier penilla duo") |
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 = "* Penilla" |
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 |
else if (battle_enemy_name == "sweet corn duo") |
27 |
{ |
28 |
battle_menu_option_x = obj_dialogue_box_battle.x + argument0 |
29 |
battle_menu_option_y = obj_dialogue_box_battle.y + argument1 |
30 |
battle_menu_option_string = "* Sweet Corn B" |
31 |
script_execute(gml_Script_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 + argument0 |
37 |
battle_menu_option_y = obj_dialogue_box_battle.y + argument1 |
38 |
battle_menu_option_string = "* Penilla" |
39 |
script_execute(gml_Script_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 + argument0 |
45 |
battle_menu_option_y = obj_dialogue_box_battle.y + argument1 |
46 |
battle_menu_option_string = "* Penilla" |
47 |
script_execute(gml_Script_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 + argument0 |
53 |
battle_menu_option_y = obj_dialogue_box_battle.y + argument1 |
54 |
battle_menu_option_string = "* Insomnitot B" |
55 |
script_execute(gml_Script_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 + argument0 |
61 |
battle_menu_option_y = obj_dialogue_box_battle.y + argument1 |
62 |
battle_menu_option_string = "* Insomnitot" |
63 |
script_execute(gml_Script_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 + argument0 |
69 |
battle_menu_option_y = obj_dialogue_box_battle.y + argument1 |
70 |
battle_menu_option_string = "* Know Cone" |
71 |
script_execute(gml_Script_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 + argument0 |
77 |
battle_menu_option_y = obj_dialogue_box_battle.y + argument1 |
78 |
battle_menu_option_string = "* Hec" |
79 |
script_execute(gml_Script_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 + argument0 |
85 |
battle_menu_option_y = obj_dialogue_box_battle.y + argument1 |
86 |
battle_menu_option_string = "* Dunebud B" |
87 |
script_execute(gml_Script_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 + argument0 |
93 |
battle_menu_option_y = obj_dialogue_box_battle.y + argument1 |
94 |
battle_menu_option_string = "* Sir Slither" |
95 |
script_execute(gml_Script_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 + argument0 |
102 |
battle_menu_option_y = obj_dialogue_box_battle.y + argument1 |
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 |
|
121 |
script_execute(gml_Script_scr_draw_text_effect_twitchy_textbox_battle_menu_options) |
122 |
global.battle_enemy_name_string_width = string_width(battle_menu_option_string) |
123 |
} |
124 |
else if (battle_enemy_name == "jandroid goosic duo") |
125 |
{ |
126 |
battle_menu_option_x = obj_dialogue_box_battle.x + argument0 |
127 |
battle_menu_option_y = obj_dialogue_box_battle.y + argument1 |
128 |
battle_menu_option_string = "* Goosic" |
129 |
script_execute(gml_Script_scr_draw_text_effect_twitchy_textbox_battle_menu_options) |
130 |
global.battle_enemy_name_string_width = string_width(string_hash_to_newline(battle_menu_option_string)) |
131 |
} |
132 |
else if (battle_enemy_name == "jandroid duo") |
133 |
{ |
134 |
battle_menu_option_x = obj_dialogue_box_battle.x + argument0 |
135 |
battle_menu_option_y = obj_dialogue_box_battle.y + argument1 |
136 |
battle_menu_option_string = "* Jandroid B" |
137 |
script_execute(gml_Script_scr_draw_text_effect_twitchy_textbox_battle_menu_options) |
138 |
global.battle_enemy_name_string_width = string_width(string_hash_to_newline(battle_menu_option_string)) |
139 |
} |
140 |
} |
141 |
} |