1 |
function scr_battle_core_directory_action_1_selected_textscr_battle_core_directory_action_1_selected_textfunction scr_battle_core_directory_action_1_selected_text() //gml_Script_scr_battle_core_directory_action_1_selected_text
{
if (global.battling_boss == true)
{
battle_enemy_name = global.battle_enemy_name
enemy_mode = global.enemy_mode
}
else
{
var act_number = global.act_number
switch act_number
{
case 1:
battle_enemy_name = global.battle_enemy_name_1
enemy_mode = global.enemy_mode
break
case 2:
battle_enemy_name = global.battle_enemy_name_2
enemy_mode = global.enemy_mode_2
break
case 3:
battle_enemy_name = global.battle_enemy_name_3
enemy_mode = global.enemy_mode_3
break
default:
battle_enemy_name = global.battle_enemy_name_1
enemy_mode = global.enemy_mode
}
}
game_mode = global.game_mode
if (game_mode == "customs")
{
if (battle_enemy_name == "craniex")
script_execute(scr_dialogue_battle_action_selected_action_1_craniex)
else if (battle_enemy_name == "ms mettaton")
script_execute(scr_dialogue_battle_action_selected_action_1_ms_mettaton)
}
else if (game_mode == "yellow")
{
if (battle_enemy_name == "froggit intro")
script_execute(gml_Script_scr_dialogue_battle_action_selected_action_1_froggit_intro_yellow)
else if (battle_enemy_name == "flier a")
script_execute(gml_Script_scr_dialogue_battle_action_selected_action_1_flier_a)
else if (battle_enemy_name == "flier b")
script_execute(gml_Script_scr_dialogue_battle_action_selected_action_1_flier_b)
else if (battle_enemy_name == "flier c")
script_execute(gml_Script_scr_dialogue_battle_action_selected_action_1_flier_c)
else if (battle_enemy_name == "penilla a")
script_execute(gml_Script_scr_dialogue_battle_action_selected_action_1_penilla_a)
else if (battle_enemy_name == "penilla b")
script_execute(gml_Script_scr_dialogue_battle_action_selected_action_1_penilla_b)
else if (battle_enemy_name == "sweet corn a")
script_execute(gml_Script_scr_dialogue_battle_action_selected_action_1_sweet_corn_a)
else if (battle_enemy_name == "sweet corn b")
script_execute(gml_Script_scr_dialogue_battle_action_selected_action_1_sweet_corn_b)
else if (battle_enemy_name == "crispy scroll a")
script_execute(gml_Script_scr_dialogue_battle_action_selected_action_1_crispy_scroll_a)
else if (battle_enemy_name == "rorrim a")
script_execute(gml_Script_scr_dialogue_battle_action_selected_action_1_rorrim_a)
else if (battle_enemy_name == "decibat")
script_execute(gml_Script_scr_dialogue_battle_action_selected_action_1_decibat)
else if (battle_enemy_name == "dalv")
script_execute(gml_Script_scr_dialogue_battle_action_selected_action_1_dalv)
else if (battle_enemy_name == "micro froggit")
script_execute(gml_Script_scr_dialogue_battle_action_selected_action_1_micro_froggit)
else if (battle_enemy_name == "insomnitot a")
script_execute(gml_Script_scr_dialogue_battle_action_selected_action_1_insomnitot_a)
else if (battle_enemy_name == "insomnitot b")
script_execute(gml_Script_scr_dialogue_battle_action_selected_action_1_insomnitot_b)
else if (battle_enemy_name == "know cone a")
script_execute(gml_Script_scr_dialogue_battle_action_selected_action_1_know_cone_a)
else if (battle_enemy_name == "know cone b")
script_execute(gml_Script_scr_dialogue_battle_action_selected_action_1_know_cone_b)
else if (battle_enemy_name == "frostermit a")
script_execute(gml_Script_scr_dialogue_battle_action_selected_action_1_frostermit_a)
else if (battle_enemy_name == "trihecta")
script_execute(gml_Script_scr_dialogue_battle_action_selected_action_1_trihecta)
else if (battle_enemy_name == "tri")
script_execute(gml_Script_scr_dialogue_battle_action_selected_action_1_tri)
else if (battle_enemy_name == "hec")
script_execute(gml_Script_scr_dialogue_battle_action_selected_action_1_hec)
else if (battle_enemy_name == "ta")
script_execute(gml_Script_scr_dialogue_battle_action_selected_action_1_ta)
else if (battle_enemy_name == "martlet pacifist")
script_execute(gml_Script_scr_dialogue_battle_action_selected_action_1_martlet_pacifist)
else if (battle_enemy_name == "martlet genocide")
script_execute(gml_Script_scr_dialogue_battle_action_selected_action_1_martlet_genocide)
else if (battle_enemy_name == "dunebud a")
script_execute(gml_Script_scr_dialogue_battle_action_selected_action_1_dunebud_a)
else if (battle_enemy_name == "dunebud b")
script_execute(gml_Script_scr_dialogue_battle_action_selected_action_1_dunebud_b)
else if (battle_enemy_name == "cactony a")
script_execute(gml_Script_scr_dialogue_battle_action_selected_action_1_cactony_a)
else if (battle_enemy_name == "slither b")
script_execute(gml_Script_scr_dialogue_battle_action_selected_action_1_slither_b)
else if (battle_enemy_name == "slither a")
script_execute(gml_Script_scr_dialogue_battle_action_selected_action_1_slither_a)
else if (battle_enemy_name == "bowll a")
script_execute(gml_Script_scr_dialogue_battle_action_selected_action_1_bowll_a)
else if (battle_enemy_name == "el bailador")
... () //gml_Script_scr_battle_core_directory_action_1_selected_text |
2 |
{ |
3 |
if (global.battling_boss == true) |
4 |
{ |
5 |
battle_enemy_name = global.battle_enemy_name |
6 |
enemy_mode = global.enemy_mode |
7 |
} |
8 |
else |
9 |
{ |
10 |
var act_number = global.act_number |
11 |
switch act_number |
12 |
{ |
13 |
case 1: |
14 |
battle_enemy_name = global.battle_enemy_name_1 |
15 |
enemy_mode = global.enemy_mode |
16 |
break |
17 |
case 2: |
18 |
battle_enemy_name = global.battle_enemy_name_2 |
19 |
enemy_mode = global.enemy_mode_2 |
20 |
break |
21 |
case 3: |
22 |
battle_enemy_name = global.battle_enemy_name_3 |
23 |
enemy_mode = global.enemy_mode_3 |
24 |
break |
25 |
default: |
26 |
battle_enemy_name = global.battle_enemy_name_1 |
27 |
enemy_mode = global.enemy_mode |
28 |
} |
29 |
|
30 |
} |
31 |
game_mode = global.game_mode |
32 |
if (game_mode == "customs") |
33 |
{ |
34 |
if (battle_enemy_name == "craniex") |
35 |
script_execute(scr_dialogue_battle_action_selected_action_1_craniex) |
36 |
else if (battle_enemy_name == "ms mettaton") |
37 |
script_execute(scr_dialogue_battle_action_selected_action_1_ms_mettaton) |
38 |
} |
39 |
else if (game_mode == "yellow") |
40 |
{ |
41 |
if (battle_enemy_name == "froggit intro") |
42 |
script_execute(gml_Script_scr_dialogue_battle_action_selected_action_1_froggit_intro_yellow) |
43 |
else if (battle_enemy_name == "flier a") |
44 |
script_execute(gml_Script_scr_dialogue_battle_action_selected_action_1_flier_a) |
45 |
else if (battle_enemy_name == "flier b") |
46 |
script_execute(gml_Script_scr_dialogue_battle_action_selected_action_1_flier_b) |
47 |
else if (battle_enemy_name == "flier c") |
48 |
script_execute(gml_Script_scr_dialogue_battle_action_selected_action_1_flier_c) |
49 |
else if (battle_enemy_name == "penilla a") |
50 |
script_execute(gml_Script_scr_dialogue_battle_action_selected_action_1_penilla_a) |
51 |
else if (battle_enemy_name == "penilla b") |
52 |
script_execute(gml_Script_scr_dialogue_battle_action_selected_action_1_penilla_b) |
53 |
else if (battle_enemy_name == "sweet corn a") |
54 |
script_execute(gml_Script_scr_dialogue_battle_action_selected_action_1_sweet_corn_a) |
55 |
else if (battle_enemy_name == "sweet corn b") |
56 |
script_execute(gml_Script_scr_dialogue_battle_action_selected_action_1_sweet_corn_b) |
57 |
else if (battle_enemy_name == "crispy scroll a") |
58 |
script_execute(gml_Script_scr_dialogue_battle_action_selected_action_1_crispy_scroll_a) |
59 |
else if (battle_enemy_name == "rorrim a") |
60 |
script_execute(gml_Script_scr_dialogue_battle_action_selected_action_1_rorrim_a) |
61 |
else if (battle_enemy_name == "decibat") |
62 |
script_execute(gml_Script_scr_dialogue_battle_action_selected_action_1_decibat) |
63 |
else if (battle_enemy_name == "dalv") |
64 |
script_execute(gml_Script_scr_dialogue_battle_action_selected_action_1_dalv) |
65 |
else if (battle_enemy_name == "micro froggit") |
66 |
script_execute(gml_Script_scr_dialogue_battle_action_selected_action_1_micro_froggit) |
67 |
else if (battle_enemy_name == "insomnitot a") |
68 |
script_execute(gml_Script_scr_dialogue_battle_action_selected_action_1_insomnitot_a) |
69 |
else if (battle_enemy_name == "insomnitot b") |
70 |
script_execute(gml_Script_scr_dialogue_battle_action_selected_action_1_insomnitot_b) |
71 |
else if (battle_enemy_name == "know cone a") |
72 |
script_execute(gml_Script_scr_dialogue_battle_action_selected_action_1_know_cone_a) |
73 |
else if (battle_enemy_name == "know cone b") |
74 |
script_execute(gml_Script_scr_dialogue_battle_action_selected_action_1_know_cone_b) |
75 |
else if (battle_enemy_name == "frostermit a") |
76 |
script_execute(gml_Script_scr_dialogue_battle_action_selected_action_1_frostermit_a) |
77 |
else if (battle_enemy_name == "trihecta") |
78 |
script_execute(gml_Script_scr_dialogue_battle_action_selected_action_1_trihecta) |
79 |
else if (battle_enemy_name == "tri") |
80 |
script_execute(gml_Script_scr_dialogue_battle_action_selected_action_1_tri) |
81 |
else if (battle_enemy_name == "hec") |
82 |
script_execute(gml_Script_scr_dialogue_battle_action_selected_action_1_hec) |
83 |
else if (battle_enemy_name == "ta") |
84 |
script_execute(gml_Script_scr_dialogue_battle_action_selected_action_1_ta) |
85 |
else if (battle_enemy_name == "martlet pacifist") |
86 |
script_execute(gml_Script_scr_dialogue_battle_action_selected_action_1_martlet_pacifist) |
87 |
else if (battle_enemy_name == "martlet genocide") |
88 |
script_execute(gml_Script_scr_dialogue_battle_action_selected_action_1_martlet_genocide) |
89 |
else if (battle_enemy_name == "dunebud a") |
90 |
script_execute(gml_Script_scr_dialogue_battle_action_selected_action_1_dunebud_a) |
91 |
else if (battle_enemy_name == "dunebud b") |
92 |
script_execute(gml_Script_scr_dialogue_battle_action_selected_action_1_dunebud_b) |
93 |
else if (battle_enemy_name == "cactony a") |
94 |
script_execute(gml_Script_scr_dialogue_battle_action_selected_action_1_cactony_a) |
95 |
else if (battle_enemy_name == "slither b") |
96 |
script_execute(gml_Script_scr_dialogue_battle_action_selected_action_1_slither_b) |
97 |
else if (battle_enemy_name == "slither a") |
98 |
script_execute(gml_Script_scr_dialogue_battle_action_selected_action_1_slither_a) |
99 |
else if (battle_enemy_name == "bowll a") |
100 |
script_execute(gml_Script_scr_dialogue_battle_action_selected_action_1_bowll_a) |
101 |
else if (battle_enemy_name == "el bailador") |
102 |
script_execute(gml_Script_scr_dialogue_battle_action_selected_action_1_el_bailador) |
103 |
else if (battle_enemy_name == "flower girls") |
104 |
script_execute(gml_Script_scr_dialogue_battle_action_selected_action_1_flower_girls) |
105 |
else if (battle_enemy_name == "dummy training pacifist") |
106 |
script_execute(gml_Script_scr_dialogue_battle_action_selected_action_1_dummy_training_pacifist) |
107 |
else if (battle_enemy_name == "ceroba genocide") |
108 |
script_execute(gml_Script_scr_dialogue_battle_action_selected_action_1_ceroba) |
109 |
else if (battle_enemy_name == "starlo") |
110 |
script_execute(gml_Script_scr_dialogue_battle_action_selected_action_1_starlo) |
111 |
else if (battle_enemy_name == "tellyvis a") |
112 |
script_execute(gml_Script_scr_dialogue_battle_action_selected_action_1_tellyvis_a) |
113 |
else if (battle_enemy_name == "jandroid a") |
114 |
script_execute(gml_Script_scr_dialogue_battle_action_selected_action_1_jandroid_a) |
115 |
else if (battle_enemy_name == "jandroid b") |
116 |
script_execute(gml_Script_scr_dialogue_battle_action_selected_action_1_jandroid_b) |
117 |
else if (battle_enemy_name == "goosic a") |
118 |
script_execute(gml_Script_scr_dialogue_battle_action_selected_action_1_goosic_a) |
119 |
else if (battle_enemy_name == "goosic b") |
120 |
script_execute(gml_Script_scr_dialogue_battle_action_selected_action_1_goosic_b) |
121 |
else if (battle_enemy_name == "sousborg") |
122 |
script_execute(gml_Script_scr_dialogue_battle_action_selected_action_1_sousborg) |
123 |
else if (battle_enemy_name == "axis") |
124 |
script_execute(gml_Script_scr_dialogue_battle_action_selected_action_1_axis) |
125 |
else if (battle_enemy_name == "macro froggit") |
126 |
script_execute(gml_Script_scr_dialogue_battle_action_selected_action_1_macro) |
127 |
else if (battle_enemy_name == "axis genocide") |
128 |
script_execute(gml_Script_scr_dialogue_battle_action_selected_action_1_axis_geno) |
129 |
else if (battle_enemy_name == "guardener") |
130 |
script_execute(gml_Script_scr_dialogue_battle_action_selected_action_1_guardener) |
131 |
else if (battle_enemy_name == "ed" || battle_enemy_name == "ace" || battle_enemy_name == "moray" || battle_enemy_name == "mooch") |
132 |
script_execute(gml_Script_scr_dialogue_battle_action_selected_action_1_feisty_four) |
133 |
else if (battle_enemy_name == "flowey") |
134 |
{ |
135 |
if (global.flowey_act[0] == 4) |
136 |
message[0] = "* Recovered 30% of your HP!" |
137 |
else |
138 |
{ |
139 |
message[0] = "" |
140 |
script_execute(gml_Script_scr_battle_core_directory_action_1_selected_event) |
141 |
instance_destroy() |
142 |
} |
143 |
} |
144 |
else if (battle_enemy_name == "ceroba") |
145 |
script_execute(gml_Script_scr_dialogue_battle_action_selected_action_1_ceroba_pacifist) |
146 |
else if (battle_enemy_name == "martlet genocide final") |
147 |
script_execute(gml_Script_scr_dialogue_battle_action_selected_action_1_martlet_final) |
148 |
} |
149 |
} |