1 |
function scr_generate_battle_feisty_fivescr_generate_battle_feisty_fivefunction scr_generate_battle_feisty_five() //gml_Script_scr_generate_battle_feisty_five
{
global.battle_enemy_name_1 = "ed"
global.battle_enemy_name_2 = "moray"
global.battle_menu_number = 1
global.speed_self = 4
global.invulnerability_self = global.player_invulnerability
global.attacking_damage_cap = -1
global.attacking_damage_cap_2 = -1
global.hit_self = false
global.hurt_self = false
global.current_hp_enemy = 1000
global.current_hp_enemy_2 = 1000
global.max_hp_enemy = 1000
global.max_hp_enemy_2 = 1000
global.last_hp_enemy = global.current_hp_enemy
global.last_hp_enemy_2 = global.current_hp_enemy_2
global.current_hp_enemy_draw = global.current_hp_enemy
global.current_hp_enemy_draw_2 = global.current_hp_enemy_2
global.enemy_low_hp = false
global.enemy_low_hp_2 = false
global.enemy_hit = false
global.enemy_hit_2 = false
global.enemy_hurt = false
global.enemy_hurt_2 = false
global.enemy_attack_stat = 10
global.enemy_attack_stat_2 = 10
global.enemy_defense_stat = 10
global.enemy_defense_stat_2 = 8
global.enemy_vulnerable = true
global.enemy_vulnerable_2 = true
global.enemy_attacking = false
global.enemy_sparing = false
global.enemy_sparing_2 = false
global.enemy_dead = false
global.enemy_dead_2 = false
global.enemy_spared = false
global.enemy_spared_2 = false
global.enemy_betrayed = false
global.enemy_betrayed_2 = false
global.enemy_fleeable = false
global.enemy_special_text = 0
global.enemy_special_text_2 = 0
global.enemy_exp = 3
global.enemy_exp_2 = 3
global.enemy_gold = 2
global.enemy_gold_2 = 2
global.enemy_count = 1
global.turns_passed = 0
global.last_action_selected = "Nothing"
global.last_action_selected_2 = "Nothing"
global.action_1_important = false
global.action_1_important_2 = false
global.action_2_important = false
global.action_2_important_2 = false
global.action_3_important = false
global.action_3_important_2 = false
global.action_1_color = 16777215
global.action_1_color_2 = 16777215
global.action_2_color = 16777215
global.action_2_color_2 = 16777215
global.action_3_color = 16777215
global.action_3_color_2 = 16777215
global.action_amount = 3
global.action_amount_2 = 3
global.image_alpha_enemy_attacking = 1
global.important_cutscene = false
global.can_attack = true
global.item_use = "Nothing"
global.item_used = "Nothing"
global.item_gift = "Nothing"
global.item_gifted = "Nothing"
global.attack_cycle_max = 10
global.attack_cycle = 0
global.action_1_selected_count = 0
global.action_2_selected_count = 0
global.action_3_selected_count = 0
global.spare_selected_count = 0
global.hit_count = 0
global.hit_count_2 = 0
global.miss_count = 0
global.miss_count_2 = 0
global.no_hit_count = 0
global.no_hit_count_2 = 0
global.no_hit_count_3 = 0
global.hurt_self_count = 0
global.hurt_self_turn_count = 0
global.item_use_count = 0
global.item_gift_count = 0
global.item_gift_count_2 = 0
global.enemy_mode = 0
global.enemy_mode_previous = 0
global.enemy_mode_2 = 0
global.enemy_mode_2_previous = 0
global.enemy_mode_3 = 0
global.enemy_mode_3_previous = 0
global.enemy_mode_gen = 0
global.enemy_mode_gen_previous = 0
global.enemy_mode_gen_2 = 0
global.enemy_mode_gen_2_previous = 0
global.enemy_mode_gen_3 = 0
... () //gml_Script_scr_generate_battle_feisty_five |
2 |
{ |
3 |
global.battle_enemy_name_1 = "ed" |
4 |
global.battle_enemy_name_2 = "moray" |
5 |
global.battle_menu_number = 1 |
6 |
global.speed_self = 4 |
7 |
global.invulnerability_self = global.player_invulnerability |
8 |
global.attacking_damage_cap = -1 |
9 |
global.attacking_damage_cap_2 = -1 |
10 |
global.hit_self = false |
11 |
global.hurt_self = false |
12 |
global.current_hp_enemy = 1000 |
13 |
global.current_hp_enemy_2 = 1000 |
14 |
global.max_hp_enemy = 1000 |
15 |
global.max_hp_enemy_2 = 1000 |
16 |
global.last_hp_enemy = global.current_hp_enemy |
17 |
global.last_hp_enemy_2 = global.current_hp_enemy_2 |
18 |
global.current_hp_enemy_draw = global.current_hp_enemy |
19 |
global.current_hp_enemy_draw_2 = global.current_hp_enemy_2 |
20 |
global.enemy_low_hp = false |
21 |
global.enemy_low_hp_2 = false |
22 |
global.enemy_hit = false |
23 |
global.enemy_hit_2 = false |
24 |
global.enemy_hurt = false |
25 |
global.enemy_hurt_2 = false |
26 |
global.enemy_attack_stat = 10 |
27 |
global.enemy_attack_stat_2 = 10 |
28 |
global.enemy_defense_stat = 10 |
29 |
global.enemy_defense_stat_2 = 8 |
30 |
global.enemy_vulnerable = true |
31 |
global.enemy_vulnerable_2 = true |
32 |
global.enemy_attacking = false |
33 |
global.enemy_sparing = false |
34 |
global.enemy_sparing_2 = false |
35 |
global.enemy_dead = false |
36 |
global.enemy_dead_2 = false |
37 |
global.enemy_spared = false |
38 |
global.enemy_spared_2 = false |
39 |
global.enemy_betrayed = false |
40 |
global.enemy_betrayed_2 = false |
41 |
global.enemy_fleeable = false |
42 |
global.enemy_special_text = 0 |
43 |
global.enemy_special_text_2 = 0 |
44 |
global.enemy_exp = 3 |
45 |
global.enemy_exp_2 = 3 |
46 |
global.enemy_gold = 2 |
47 |
global.enemy_gold_2 = 2 |
48 |
global.enemy_count = 1 |
49 |
global.turns_passed = 0 |
50 |
global.last_action_selected = "Nothing" |
51 |
global.last_action_selected_2 = "Nothing" |
52 |
global.action_1_important = false |
53 |
global.action_1_important_2 = false |
54 |
global.action_2_important = false |
55 |
global.action_2_important_2 = false |
56 |
global.action_3_important = false |
57 |
global.action_3_important_2 = false |
58 |
global.action_1_color = 16777215 |
59 |
global.action_1_color_2 = 16777215 |
60 |
global.action_2_color = 16777215 |
61 |
global.action_2_color_2 = 16777215 |
62 |
global.action_3_color = 16777215 |
63 |
global.action_3_color_2 = 16777215 |
64 |
global.action_amount = 3 |
65 |
global.action_amount_2 = 3 |
66 |
global.image_alpha_enemy_attacking = 1 |
67 |
global.important_cutscene = false |
68 |
global.can_attack = true |
69 |
global.item_use = "Nothing" |
70 |
global.item_used = "Nothing" |
71 |
global.item_gift = "Nothing" |
72 |
global.item_gifted = "Nothing" |
73 |
global.attack_cycle_max = 10 |
74 |
global.attack_cycle = 0 |
75 |
global.action_1_selected_count = 0 |
76 |
global.action_2_selected_count = 0 |
77 |
global.action_3_selected_count = 0 |
78 |
global.spare_selected_count = 0 |
79 |
global.hit_count = 0 |
80 |
global.hit_count_2 = 0 |
81 |
global.miss_count = 0 |
82 |
global.miss_count_2 = 0 |
83 |
global.no_hit_count = 0 |
84 |
global.no_hit_count_2 = 0 |
85 |
global.no_hit_count_3 = 0 |
86 |
global.hurt_self_count = 0 |
87 |
global.hurt_self_turn_count = 0 |
88 |
global.item_use_count = 0 |
89 |
global.item_gift_count = 0 |
90 |
global.item_gift_count_2 = 0 |
91 |
global.enemy_mode = 0 |
92 |
global.enemy_mode_previous = 0 |
93 |
global.enemy_mode_2 = 0 |
94 |
global.enemy_mode_2_previous = 0 |
95 |
global.enemy_mode_3 = 0 |
96 |
global.enemy_mode_3_previous = 0 |
97 |
global.enemy_mode_gen = 0 |
98 |
global.enemy_mode_gen_previous = 0 |
99 |
global.enemy_mode_gen_2 = 0 |
100 |
global.enemy_mode_gen_2_previous = 0 |
101 |
global.enemy_mode_gen_3 = 0 |
102 |
global.enemy_mode_gen_3_previous = 0 |
103 |
global.boss_mini = false |
104 |
if (global.sound_carry_overworld == false) |
105 |
{ |
106 |
scr_audio_stop_soundscr_audio_stop_soundfunction scr_audio_stop_sound(argument0) //gml_Script_scr_audio_stop_sound
{
audio_array_val = 0
sound_y[audio_array_val] = mus_apprehension_yellow
audio_array_val += 1
sound_y[audio_array_val] = mus_dalvbattle_yellow
audio_array_val += 1
sound_y[audio_array_val] = mus_dalvopening_yellow
audio_array_val += 1
sound_y[audio_array_val] = mus_dalvbattle_yellow
audio_array_val += 1
sound_y[audio_array_val] = mus_decibat_yellow
audio_array_val += 1
sound_y[audio_array_val] = mus_dalvopening_yellow
audio_array_val += 1
sound_y[audio_array_val] = mus_danza_attack_01_yellow
audio_array_val += 1
sound_y[audio_array_val] = mus_danza_attack_02_yellow
audio_array_val += 1
sound_y[audio_array_val] = mus_danza_attack_03_yellow
audio_array_val += 1
sound_y[audio_array_val] = mus_danza_attack_04_yellow
audio_array_val += 1
sound_y[audio_array_val] = mus_danza_attack_05_yellow
audio_array_val += 1
sound_y[audio_array_val] = mus_danza_attack_06_yellow
audio_array_val += 1
sound_y[audio_array_val] = mus_danza_attack_07_yellow
audio_array_val += 1
sound_y[audio_array_val] = mus_danza_attack_08_yellow
audio_array_val += 1
sound_y[audio_array_val] = mus_danza_attack_09_yellow
audio_array_val += 1
sound_y[audio_array_val] = mus_danza_attack_10_yellow
audio_array_val += 1
sound_y[audio_array_val] = mus_danza_attack_finale_yellow
audio_array_val += 1
sound_y[audio_array_val] = mus_danza_battle_yellow
audio_array_val += 1
sound_y[audio_array_val] = mus_floweynew_yellow
audio_array_val += 1
sound_y[audio_array_val] = mus_funsized_yellow
audio_array_val += 1
sound_y[audio_array_val] = mus_genobattle_yellow
audio_array_val += 1
sound_y[audio_array_val] = mus_mart_geno_wind_yellow
audio_array_val += 1
sound_y[audio_array_val] = mus_martletbattle_yellow
audio_array_val += 1
sound_y[audio_array_val] = mus_nobodycame_yellow
audio_array_val += 1
sound_y[audio_array_val] = mus_occupied_turf_yellow
audio_array_val += 1
sound_y[audio_array_val] = mus_prebattle1_yellow
audio_array_val += 1
sound_y[audio_array_val] = mus_prebattle2_yellow
audio_array_val += 1
sound_y[audio_array_val] = mus_battle_snowdin
audio_array_val += 1
sound_y[audio_array_val] = mus_trial_by_fury
audio_array_val += 1
sound_y[audio_array_val] = mus_prebattle3_yellow
audio_array_val += 1
sound_y[audio_array_val] = mus_heatwave_approaching
for (i = 0; i < array_length_1d(sound_y); i += 1)
{
var audio_gain = audio_sound_get_gain(sound_y[i])
if (audio_gain <= argument0)
audio_stop_sound(sound_y[i])
}
} (0) |
107 |
audio_sound_gain(mus_deal_em_out_yellow, 1, 0) |
108 |
audio_sound_pitch(mus_deal_em_out_yellow, 1) |
109 |
audio_play_sound(mus_deal_em_out_yellow, 20, true) |
110 |
audio_sound_gain(mus_deal_em_out_ace_yellow, 0, 0) |
111 |
audio_sound_pitch(mus_deal_em_out_ace_yellow, 1) |
112 |
audio_play_sound(mus_deal_em_out_ace_yellow, 20, true) |
113 |
audio_sound_gain(mus_deal_em_out_ed_yellow, 1, 0) |
114 |
audio_sound_pitch(mus_deal_em_out_ed_yellow, 1) |
115 |
audio_play_sound(mus_deal_em_out_ed_yellow, 20, true) |
116 |
audio_sound_gain(mus_deal_em_out_mooch_yellow, 0, 0) |
117 |
audio_sound_pitch(mus_deal_em_out_mooch_yellow, 1) |
118 |
audio_play_sound(mus_deal_em_out_mooch_yellow, 20, true) |
119 |
audio_sound_gain(mus_deal_em_out_moray_yellow, 0, 0) |
120 |
audio_sound_pitch(mus_deal_em_out_moray_yellow, 1) |
121 |
audio_play_sound(mus_deal_em_out_moray_yellow, 20, true) |
122 |
} |
123 |
audio_extend = false |
124 |
global.sound_carry_battle = false |
125 |
global.mettaton_voice_count = 1 |
126 |
instance_create(318, 224, obj_feisty_four_ed_legs) |
127 |
global.enemy_target_x = 318 |
128 |
global.enemy_target_y = 144 |
129 |
global.enemy_damage_x = 318 |
130 |
global.enemy_damage_y = 30 |
131 |
global.enemy_target_x_2 = 318 |
132 |
global.enemy_target_y_2 = 144 |
133 |
global.enemy_damage_x_2 = 318 |
134 |
global.enemy_damage_y_2 = 30 |
135 |
instance_create(0, 0, obj_battle_fade_in_screen) |
136 |
instance_create(275, 400, obj_battle_hp_current_self) |
137 |
instance_create(275, 400, obj_battle_hp_max_self) |
138 |
instance_create(275, 400, obj_battle_hp_cover_self) |
139 |
instance_create(0, 0, obj_text_battle_stat_name) |
140 |
instance_create(0, 0, obj_text_battle_stat_lv) |
141 |
instance_create(244, 405, obj_text_hp) |
142 |
instance_create(0, 0, obj_text_hp_stat) |
143 |
instance_create(32, 250, obj_dialogue_box_battle) |
144 |
instance_create(31, 431, obj_fight) |
145 |
instance_create(184, 431, obj_act) |
146 |
instance_create(344, 431, obj_item) |
147 |
instance_create(499, 431, obj_mercy) |
148 |
instance_create_depth(0, 0, 99999, obj_background_feisty_four_yellow) |
149 |
instance_create(0, 0, obj_enemy_controller_feisty_four) |
150 |
global.last_text_move_select = 0 |
151 |
global.soul_mode = "Red" |
152 |
instance_create((obj_fight.x + 17), (obj_fight.y + 23), obj_heart_battle_menu) |
153 |
obj_heart_battle_menu.no_loop = false |
154 |
} |