1 |
function scr_generate_battle_el_bailadorscr_generate_battle_el_bailadorfunction scr_generate_battle_el_bailador()
{
global.battle_enemy_name_1 = "el bailador";
global.battle_menu_number = 1;
global.speed_self = 4;
global.invulnerability_self = global.player_invulnerability;
global.attacking_damage_cap = -1;
global.hit_self = false;
global.hurt_self = false;
global.current_hp_enemy = 300;
global.max_hp_enemy = 300;
global.last_hp_enemy = global.current_hp_enemy;
global.current_hp_enemy_draw = global.current_hp_enemy;
global.enemy_low_hp = false;
global.enemy_hit = false;
global.enemy_hurt = false;
global.enemy_attack_stat = 9;
global.enemy_defense_stat = 7;
if (global.route == 3)
{
global.current_hp_enemy = 500;
global.max_hp_enemy = 500;
global.enemy_defense_stat = 8;
}
global.enemy_vulnerable = true;
global.enemy_attacking = true;
global.enemy_sparing = false;
global.enemy_dead = false;
global.enemy_spared = false;
global.enemy_betrayed = false;
global.enemy_fleeable = false;
global.enemy_special_text = 0;
global.enemy_exp = 80;
global.enemy_gold = 50;
global.enemy_count = 1;
global.turns_passed = 0;
global.last_action_selected = "Nothing";
global.action_1_important = false;
global.action_2_important = false;
global.action_3_important = false;
global.action_1_color = 16777215;
global.action_2_color = 16777215;
global.action_3_color = 16777215;
global.action_amount = 3;
if (global.route == 3)
global.action_amount = 1;
global.item_use = "Nothing";
global.item_used = "Nothing";
global.item_gift = "Nothing";
global.item_gifted = "Nothing";
global.image_alpha_enemy_attacking = 1;
global.important_cutscene = false;
global.can_attack = true;
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.miss_count = 0;
global.no_hit_count = 0;
global.hurt_self_count = 0;
global.hurt_self_turn_count = 0;
global.item_use_count = 0;
global.item_gift_count = 0;
global.enemy_mode = 0;
global.enemy_mode_previous = 0;
global.enemy_mode_gen = 0;
global.enemy_mode_gen_previous = 0;
audio_extend = false;
global.sound_carry_battle = false;
global.mettaton_voice_count = 1;
instance_create(318, 232, obj_el_bailador_neutral);
global.enemy_damage_x = obj_el_bailador_neutral.x;
global.enemy_damage_y = obj_el_bailador_neutral.y - 112;
global.enemy_target_x = obj_el_bailador_neutral.x;
global.enemy_target_y = obj_el_bailador_neutral.y - 112;
global.last_text_move_select = -1;
instance_create(0, 0, obj_battle_el_bailador_controller);
instance_create(0, 0, obj_battle_fade_in_screen);
instance_create(275, 400, obj_battle_hp_current_self);
instance_create(275, 400, obj_battle_hp_max_self);
instance_create(275, 400, obj_battle_hp_cover_self);
instance_create(0, 0, obj_text_battle_stat_name);
instance_create(0, 0, obj_text_battle_stat_lv);
instance_create(244, 405, obj_text_hp);
instance_create(0, 0, obj_text_hp_stat);
instance_create(0, 0, obj_background_el_bailador_test_yellow);
instance_create(0, 0, obj_battle_enemy_attack_el_bailador_stage_master);
instance_create(319, 320, obj_dialogue_box_battle_transformation_any);
instance_create(390, 74, obj_quote_bubble_battle_yellow_3);
if (global.route != 3)
instance_create(0, 0, obj_quote_battle_el_bailador);
else
instance_create_depth(0, 0, -1000, obj_quote_battle_el_bailador_g);
instance_create(31, 431, obj_fight);
instance_create(184, 431, obj_act);
instance_create(344, 431, obj_item);
instance_create(499, 431, obj_mercy);
if (global.route != 3)
{
global.soul_mode = "Yellow Rhythm";
... () |
2 |
{ |
3 |
global.battle_enemy_name_1 = "el bailador"; |
4 |
global.battle_menu_number = 1; |
5 |
global.speed_self = 4; |
6 |
global.invulnerability_self = global.player_invulnerability; |
7 |
global.attacking_damage_cap = -1; |
8 |
global.hit_self = false; |
9 |
global.hurt_self = false; |
10 |
global.current_hp_enemy = 300; |
11 |
global.max_hp_enemy = 300; |
12 |
global.last_hp_enemy = global.current_hp_enemy; |
13 |
global.current_hp_enemy_draw = global.current_hp_enemy; |
14 |
global.enemy_low_hp = false; |
15 |
global.enemy_hit = false; |
16 |
global.enemy_hurt = false; |
17 |
global.enemy_attack_stat = 9; |
18 |
global.enemy_defense_stat = 7; |
19 |
if (global.route == 3) |
20 |
{ |
21 |
global.current_hp_enemy = 500; |
22 |
global.max_hp_enemy = 500; |
23 |
global.enemy_defense_stat = 8; |
24 |
} |
25 |
global.enemy_vulnerable = true; |
26 |
global.enemy_attacking = true; |
27 |
global.enemy_sparing = false; |
28 |
global.enemy_dead = false; |
29 |
global.enemy_spared = false; |
30 |
global.enemy_betrayed = false; |
31 |
global.enemy_fleeable = false; |
32 |
global.enemy_special_text = 0; |
33 |
global.enemy_exp = 80; |
34 |
global.enemy_gold = 50; |
35 |
global.enemy_count = 1; |
36 |
global.turns_passed = 0; |
37 |
global.last_action_selected = "Nothing"; |
38 |
global.action_1_important = false; |
39 |
global.action_2_important = false; |
40 |
global.action_3_important = false; |
41 |
global.action_1_color = 16777215; |
42 |
global.action_2_color = 16777215; |
43 |
global.action_3_color = 16777215; |
44 |
global.action_amount = 3; |
45 |
if (global.route == 3) |
46 |
global.action_amount = 1; |
47 |
global.item_use = "Nothing"; |
48 |
global.item_used = "Nothing"; |
49 |
global.item_gift = "Nothing"; |
50 |
global.item_gifted = "Nothing"; |
51 |
global.image_alpha_enemy_attacking = 1; |
52 |
global.important_cutscene = false; |
53 |
global.can_attack = true; |
54 |
global.action_1_selected_count = 0; |
55 |
global.action_2_selected_count = 0; |
56 |
global.action_3_selected_count = 0; |
57 |
global.spare_selected_count = 0; |
58 |
global.hit_count = 0; |
59 |
global.miss_count = 0; |
60 |
global.no_hit_count = 0; |
61 |
global.hurt_self_count = 0; |
62 |
global.hurt_self_turn_count = 0; |
63 |
global.item_use_count = 0; |
64 |
global.item_gift_count = 0; |
65 |
global.enemy_mode = 0; |
66 |
global.enemy_mode_previous = 0; |
67 |
global.enemy_mode_gen = 0; |
68 |
global.enemy_mode_gen_previous = 0; |
69 |
audio_extend = false; |
70 |
global.sound_carry_battle = false; |
71 |
global.mettaton_voice_count = 1; |
72 |
instance_create(318, 232, obj_el_bailador_neutral); |
73 |
global.enemy_damage_x = obj_el_bailador_neutral.x; |
74 |
global.enemy_damage_y = obj_el_bailador_neutral.y - 112; |
75 |
global.enemy_target_x = obj_el_bailador_neutral.x; |
76 |
global.enemy_target_y = obj_el_bailador_neutral.y - 112; |
77 |
global.last_text_move_select = -1; |
78 |
instance_create(0, 0, obj_battle_el_bailador_controller); |
79 |
instance_create(0, 0, obj_battle_fade_in_screen); |
80 |
instance_create(275, 400, obj_battle_hp_current_self); |
81 |
instance_create(275, 400, obj_battle_hp_max_self); |
82 |
instance_create(275, 400, obj_battle_hp_cover_self); |
83 |
instance_create(0, 0, obj_text_battle_stat_name); |
84 |
instance_create(0, 0, obj_text_battle_stat_lv); |
85 |
instance_create(244, 405, obj_text_hp); |
86 |
instance_create(0, 0, obj_text_hp_stat); |
87 |
instance_create(0, 0, obj_background_el_bailador_test_yellow); |
88 |
instance_create(0, 0, obj_battle_enemy_attack_el_bailador_stage_master); |
89 |
instance_create(319, 320, obj_dialogue_box_battle_transformation_any); |
90 |
instance_create(390, 74, obj_quote_bubble_battle_yellow_3); |
91 |
if (global.route != 3) |
92 |
instance_create(0, 0, obj_quote_battle_el_bailador); |
93 |
else |
94 |
instance_create_depth(0, 0, -1000, obj_quote_battle_el_bailador_g); |
95 |
instance_create(31, 431, obj_fight); |
96 |
instance_create(184, 431, obj_act); |
97 |
instance_create(344, 431, obj_item); |
98 |
instance_create(499, 431, obj_mercy); |
99 |
if (global.route != 3) |
100 |
{ |
101 |
global.soul_mode = "Yellow Rhythm"; |
102 |
instance_create(obj_dialogue_box_battle_transformation_any.bbox_left + 79, obj_dialogue_box_battle_transformation_any.bbox_top + 202, obj_heart_battle_fighting_yellow_rhythm); |
103 |
} |
104 |
else |
105 |
{ |
106 |
global.soul_mode = "Red"; |
107 |
instance_create(obj_dialogue_box_battle_transformation_any.x, obj_dialogue_box_battle_transformation_any.y, obj_heart_battle_fighting_red); |
108 |
} |
109 |
with (obj_heart_battle_fighting_parent) |
110 |
moveable = false; |
111 |
instance_create(obj_fight.x + 17, obj_fight.y + 23, obj_heart_battle_menu); |
112 |
with (obj_heart_battle_menu) |
113 |
image_alpha = 0; |
114 |
global.boss_mini = false; |
115 |
global.enemy_attack = "El Bailador Song"; |
116 |
global.image_alpha_enemy_attacking_immunity = true; |
117 |
if (global.route == 3) |
118 |
global.dunes_flag[52] = 1; |
119 |
} |