1 |
function scr_battle_core_directory_action_3_selected_textscr_battle_core_directory_action_3_selected_textfunction scr_battle_core_directory_action_3_selected_text() //gml_Script_scr_battle_core_directory_action_3_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_3_craniex)
else if (battle_enemy_name == "ms mettaton")
script_execute(scr_dialogue_battle_action_selected_action_3_ms_mettaton)
}
else if (game_mode == "yellow")
{
if (battle_enemy_name == "flier a")
script_execute(gml_Script_scr_dialogue_battle_action_selected_action_3_flier_a)
else if (battle_enemy_name == "flier b")
script_execute(gml_Script_scr_dialogue_battle_action_selected_action_3_flier_b)
else if (battle_enemy_name == "flier c")
script_execute(gml_Script_scr_dialogue_battle_action_selected_action_3_flier_c)
else if (battle_enemy_name == "sweet corn a")
script_execute(gml_Script_scr_dialogue_battle_action_selected_action_3_sweet_corn_a)
else if (battle_enemy_name == "sweet corn b")
script_execute(gml_Script_scr_dialogue_battle_action_selected_action_3_sweet_corn_b)
else if (battle_enemy_name == "crispy scroll a")
script_execute(gml_Script_scr_dialogue_battle_action_selected_action_3_crispy_scroll_a)
else if (battle_enemy_name == "rorrim a")
script_execute(gml_Script_scr_dialogue_battle_action_selected_action_3_rorrim_a)
else if (battle_enemy_name == "decibat")
script_execute(gml_Script_scr_dialogue_battle_action_selected_action_3_decibat)
else if (battle_enemy_name == "micro froggit")
script_execute(gml_Script_scr_dialogue_battle_action_selected_action_3_micro_froggit)
else if (battle_enemy_name == "insomnitot a")
script_execute(gml_Script_scr_dialogue_battle_action_selected_action_3_insomnitot_a)
else if (battle_enemy_name == "insomnitot b")
script_execute(gml_Script_scr_dialogue_battle_action_selected_action_3_insomnitot_b)
else if (battle_enemy_name == "know cone a")
script_execute(gml_Script_scr_dialogue_battle_action_selected_action_3_know_cone_a)
else if (battle_enemy_name == "know cone b")
script_execute(gml_Script_scr_dialogue_battle_action_selected_action_3_know_cone_b)
else if (battle_enemy_name == "frostermit a")
script_execute(gml_Script_scr_dialogue_battle_action_selected_action_3_frostermit_a)
else if (battle_enemy_name == "trihecta")
script_execute(gml_Script_scr_dialogue_battle_action_selected_action_3_trihecta)
else if (battle_enemy_name == "tri")
script_execute(gml_Script_scr_dialogue_battle_action_selected_action_3_tri)
else if (battle_enemy_name == "hec")
script_execute(gml_Script_scr_dialogue_battle_action_selected_action_3_hec)
else if (battle_enemy_name == "ta")
script_execute(gml_Script_scr_dialogue_battle_action_selected_action_3_ta)
else if (battle_enemy_name == "martlet pacifist")
script_execute(gml_Script_scr_dialogue_battle_action_selected_action_3_martlet_pacifist)
else if (battle_enemy_name == "martlet genocide")
script_execute(scr_dialogue_battle_action_selected_action_3_martlet_genocide)
else if (battle_enemy_name == "dunebud a")
script_execute(gml_Script_scr_dialogue_battle_action_selected_action_3_dunebud_a)
else if (battle_enemy_name == "dunebud b")
script_execute(gml_Script_scr_dialogue_battle_action_selected_action_3_dunebud_b)
else if (battle_enemy_name == "bowll a")
script_execute(gml_Script_scr_dialogue_battle_action_selected_action_3_bowll_a)
else if (battle_enemy_name == "slither a")
script_execute(gml_Script_scr_dialogue_battle_action_selected_action_3_slither_a)
else if (battle_enemy_name == "slither b")
script_execute(gml_Script_scr_dialogue_battle_action_selected_action_3_slither_b)
else if (battle_enemy_name == "el bailador")
script_execute(gml_Script_scr_dialogue_battle_action_selected_action_3_el_bailador)
else if (battle_enemy_name == "flower girls")
script_execute(gml_Script_scr_dialogue_battle_action_selected_action_3_flower_girls)
else if (battle_enemy_name == "ceroba genocide")
script_execute(gml_Script_scr_dialogue_battle_action_selected_action_3_ceroba)
else if (battle_enemy_name == "starlo")
script_execute(gml_Script_scr_dialogue_battle_action_selected_action_3_starlo)
else if (battle_enemy_name == "tellyvis a")
script_execute(gml_Script_scr_dialogue_battle_action_selected_action_3_tellyvis_a)
else if (battle_enemy_name == "jandroid a")
... () //gml_Script_scr_battle_core_directory_action_3_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_3_craniex) |
36 |
else if (battle_enemy_name == "ms mettaton") |
37 |
script_execute(scr_dialogue_battle_action_selected_action_3_ms_mettaton) |
38 |
} |
39 |
else if (game_mode == "yellow") |
40 |
{ |
41 |
if (battle_enemy_name == "flier a") |
42 |
script_execute(gml_Script_scr_dialogue_battle_action_selected_action_3_flier_a) |
43 |
else if (battle_enemy_name == "flier b") |
44 |
script_execute(gml_Script_scr_dialogue_battle_action_selected_action_3_flier_b) |
45 |
else if (battle_enemy_name == "flier c") |
46 |
script_execute(gml_Script_scr_dialogue_battle_action_selected_action_3_flier_c) |
47 |
else if (battle_enemy_name == "sweet corn a") |
48 |
script_execute(gml_Script_scr_dialogue_battle_action_selected_action_3_sweet_corn_a) |
49 |
else if (battle_enemy_name == "sweet corn b") |
50 |
script_execute(gml_Script_scr_dialogue_battle_action_selected_action_3_sweet_corn_b) |
51 |
else if (battle_enemy_name == "crispy scroll a") |
52 |
script_execute(gml_Script_scr_dialogue_battle_action_selected_action_3_crispy_scroll_a) |
53 |
else if (battle_enemy_name == "rorrim a") |
54 |
script_execute(gml_Script_scr_dialogue_battle_action_selected_action_3_rorrim_a) |
55 |
else if (battle_enemy_name == "decibat") |
56 |
script_execute(gml_Script_scr_dialogue_battle_action_selected_action_3_decibat) |
57 |
else if (battle_enemy_name == "micro froggit") |
58 |
script_execute(gml_Script_scr_dialogue_battle_action_selected_action_3_micro_froggit) |
59 |
else if (battle_enemy_name == "insomnitot a") |
60 |
script_execute(gml_Script_scr_dialogue_battle_action_selected_action_3_insomnitot_a) |
61 |
else if (battle_enemy_name == "insomnitot b") |
62 |
script_execute(gml_Script_scr_dialogue_battle_action_selected_action_3_insomnitot_b) |
63 |
else if (battle_enemy_name == "know cone a") |
64 |
script_execute(gml_Script_scr_dialogue_battle_action_selected_action_3_know_cone_a) |
65 |
else if (battle_enemy_name == "know cone b") |
66 |
script_execute(gml_Script_scr_dialogue_battle_action_selected_action_3_know_cone_b) |
67 |
else if (battle_enemy_name == "frostermit a") |
68 |
script_execute(gml_Script_scr_dialogue_battle_action_selected_action_3_frostermit_a) |
69 |
else if (battle_enemy_name == "trihecta") |
70 |
script_execute(gml_Script_scr_dialogue_battle_action_selected_action_3_trihecta) |
71 |
else if (battle_enemy_name == "tri") |
72 |
script_execute(gml_Script_scr_dialogue_battle_action_selected_action_3_tri) |
73 |
else if (battle_enemy_name == "hec") |
74 |
script_execute(gml_Script_scr_dialogue_battle_action_selected_action_3_hec) |
75 |
else if (battle_enemy_name == "ta") |
76 |
script_execute(gml_Script_scr_dialogue_battle_action_selected_action_3_ta) |
77 |
else if (battle_enemy_name == "martlet pacifist") |
78 |
script_execute(gml_Script_scr_dialogue_battle_action_selected_action_3_martlet_pacifist) |
79 |
else if (battle_enemy_name == "martlet genocide") |
80 |
script_execute(scr_dialogue_battle_action_selected_action_3_martlet_genocide) |
81 |
else if (battle_enemy_name == "dunebud a") |
82 |
script_execute(gml_Script_scr_dialogue_battle_action_selected_action_3_dunebud_a) |
83 |
else if (battle_enemy_name == "dunebud b") |
84 |
script_execute(gml_Script_scr_dialogue_battle_action_selected_action_3_dunebud_b) |
85 |
else if (battle_enemy_name == "bowll a") |
86 |
script_execute(gml_Script_scr_dialogue_battle_action_selected_action_3_bowll_a) |
87 |
else if (battle_enemy_name == "slither a") |
88 |
script_execute(gml_Script_scr_dialogue_battle_action_selected_action_3_slither_a) |
89 |
else if (battle_enemy_name == "slither b") |
90 |
script_execute(gml_Script_scr_dialogue_battle_action_selected_action_3_slither_b) |
91 |
else if (battle_enemy_name == "el bailador") |
92 |
script_execute(gml_Script_scr_dialogue_battle_action_selected_action_3_el_bailador) |
93 |
else if (battle_enemy_name == "flower girls") |
94 |
script_execute(gml_Script_scr_dialogue_battle_action_selected_action_3_flower_girls) |
95 |
else if (battle_enemy_name == "ceroba genocide") |
96 |
script_execute(gml_Script_scr_dialogue_battle_action_selected_action_3_ceroba) |
97 |
else if (battle_enemy_name == "starlo") |
98 |
script_execute(gml_Script_scr_dialogue_battle_action_selected_action_3_starlo) |
99 |
else if (battle_enemy_name == "tellyvis a") |
100 |
script_execute(gml_Script_scr_dialogue_battle_action_selected_action_3_tellyvis_a) |
101 |
else if (battle_enemy_name == "jandroid a") |
102 |
script_execute(gml_Script_scr_dialogue_battle_action_selected_action_3_jandroid_a) |
103 |
else if (battle_enemy_name == "goosic a") |
104 |
script_execute(gml_Script_scr_dialogue_battle_action_selected_action_3_goosic_a) |
105 |
else if (battle_enemy_name == "jandroid b") |
106 |
script_execute(gml_Script_scr_dialogue_battle_action_selected_action_3_jandroid_b) |
107 |
else if (battle_enemy_name == "goosic b") |
108 |
script_execute(gml_Script_scr_dialogue_battle_action_selected_action_3_goosic_b) |
109 |
else if (battle_enemy_name == "sousborg") |
110 |
script_execute(gml_Script_scr_dialogue_battle_action_selected_action_3_sousborg) |
111 |
else if (battle_enemy_name == "axis") |
112 |
script_execute(gml_Script_scr_dialogue_battle_action_selected_action_3_axis) |
113 |
else if (battle_enemy_name == "macro froggit") |
114 |
script_execute(gml_Script_scr_dialogue_battle_action_selected_action_3_macro) |
115 |
else if (battle_enemy_name == "axis genocide") |
116 |
script_execute(gml_Script_scr_dialogue_battle_action_selected_action_3_axis_geno) |
117 |
else if (battle_enemy_name == "guardener") |
118 |
script_execute(gml_Script_scr_dialogue_battle_action_selected_action_3_guardener) |
119 |
else if (battle_enemy_name == "ed" || battle_enemy_name == "ace" || battle_enemy_name == "moray" || battle_enemy_name == "mooch") |
120 |
script_execute(gml_Script_scr_dialogue_battle_action_selected_action_3_feisty_four) |
121 |
else if (battle_enemy_name == "flowey") |
122 |
{ |
123 |
if (global.flowey_act[2] == 4) |
124 |
message[0] = "* Recovered 30% of your HP!" |
125 |
else |
126 |
{ |
127 |
message[0] = "" |
128 |
script_execute(gml_Script_scr_battle_core_directory_action_3_selected_event) |
129 |
instance_destroy() |
130 |
} |
131 |
} |
132 |
else if (battle_enemy_name == "ceroba") |
133 |
script_execute(gml_Script_scr_dialogue_battle_action_selected_action_3_ceroba_pacifist) |
134 |
} |
135 |
} |