| 1 |
global.current_room = room_get_name(room); |
| 2 |
var battle_enemy_name = global.battle_enemy_name; |
| 3 |
global.battle_phase_step = 0; |
| 4 |
global.special_effect_end_value = ""; |
| 5 |
script_execute(scr_battle_core_directory_generation); |
| 6 |
if (global.game_mode == "customs") |
| 7 |
{ |
| 8 |
global.determine_attack_priority = 1; |
| 9 |
script_execute(scr_determine_enemy_attack); |
| 10 |
} |
| 11 |
else if (global.game_mode == "yellow") |
| 12 |
{ |
| 13 |
global.determine_attack_priority = 1; |
| 14 |
script_execute(scr_determine_enemy_attack_yellow); |
| 15 |
} |
| 16 |
script_execute(scr_determine_attacking_damage_stat_critical); |
| 17 |
global.fight_number = 1; |
| 18 |
global.act_number = 1; |
| 19 |
global.act_number_row = 1; |
| 20 |
global.act_number_column = 1; |
| 21 |
global.item_page_count = 1; |
| 22 |
global.item_number_row = 1; |
| 23 |
global.item_number_column = 1; |
| 24 |
global.mercy_number = 1; |
| 25 |
global.attack_counter = 0; |
| 26 |
global.attack_counter_max = 0; |
| 27 |
global.timer_attacks_counter = 0; |
| 28 |
global.timer_attacks_counter_2 = 0; |
| 29 |
global.timer_attacks_switch = false; |
| 30 |
global.attack_end_text = false; |
| 31 |
global.anti_amplitude_ASGORE_flash_2 = 0; |
| 32 |
global.anti_amplitude_asriel_battle_sound_3 = 0; |
| 33 |
global.anti_amplitude_asriel_battle_sound_4 = 0; |
| 34 |
global.anti_amplitude_battle_item_eat_starfait = 0; |
| 35 |
global.anti_amplitude_monster_encounter = 0; |
| 36 |
global.anti_amplitude_omegaflowey_battle_sound_17 = 0; |
| 37 |
global.anti_amplitude_sans_battle_gasterblaster_charge = 0; |
| 38 |
global.anti_amplitude_sans_battle_pound = 0; |
| 39 |
global.anti_amplitude_soul_mettaton_hit_2 = 0; |
| 40 |
global.anti_amplitude_talk_2 = 0; |
| 41 |
global.anti_amplitude_undyne_spear_fire = 0; |
| 42 |
global.radio = "nothing"; |
| 43 |
if (global.debug_menu == true) |
| 44 |
instance_create(0, 0, obj_debug_battle); |
| 45 |
battle_ceroba_buff_noloop = false; |