| 1 | var enemy_count = global.enemy_count; | 
    
    
        | 2 | if (global.current_hp_enemy < 0) | 
    
    
        | 3 | { | 
    
    
        | 4 |     global.current_hp_enemy = 0; | 
    
    
        | 5 | } | 
    
    
        | 6 | else if (enemy_count >= 2) | 
    
    
        | 7 | { | 
    
    
        | 8 |     if (global.current_hp_enemy_2 < 0) | 
    
    
        | 9 |         global.current_hp_enemy_2 = 0; | 
    
    
        | 10 | } | 
    
    
        | 11 | else if (enemy_count >= 3) | 
    
    
        | 12 | { | 
    
    
        | 13 |     if (global.current_hp_enemy_3 < 0) | 
    
    
        | 14 |         global.current_hp_enemy_3 = 0; | 
    
    
        | 15 | } | 
    
    
        | 16 | if (global.anti_amplitude_ASGORE_flash_2 > 0) | 
    
    
        | 17 |     global.anti_amplitude_ASGORE_flash_2 -= 1; | 
    
    
        | 18 | if (global.anti_amplitude_asriel_battle_sound_3 > 0) | 
    
    
        | 19 |     global.anti_amplitude_asriel_battle_sound_3 -= 1; | 
    
    
        | 20 | if (global.anti_amplitude_asriel_battle_sound_4 > 0) | 
    
    
        | 21 |     global.anti_amplitude_asriel_battle_sound_4 -= 1; | 
    
    
        | 22 | if (global.anti_amplitude_battle_item_eat_starfait > 0) | 
    
    
        | 23 |     global.anti_amplitude_battle_item_eat_starfait -= 1; | 
    
    
        | 24 | if (global.anti_amplitude_monster_encounter > 0) | 
    
    
        | 25 |     global.anti_amplitude_monster_encounter -= 1; | 
    
    
        | 26 | if (global.anti_amplitude_omegaflowey_battle_sound_17 > 0) | 
    
    
        | 27 |     global.anti_amplitude_omegaflowey_battle_sound_17 -= 1; | 
    
    
        | 28 | if (global.anti_amplitude_sans_battle_gasterblaster_charge > 0) | 
    
    
        | 29 |     global.anti_amplitude_sans_battle_gasterblaster_charge -= 1; | 
    
    
        | 30 | if (global.anti_amplitude_sans_battle_pound > 0) | 
    
    
        | 31 |     global.anti_amplitude_sans_battle_pound -= 1; | 
    
    
        | 32 | if (global.anti_amplitude_soul_mettaton_hit_2 > 0) | 
    
    
        | 33 |     global.anti_amplitude_soul_mettaton_hit_2 -= 1; | 
    
    
        | 34 | if (global.anti_amplitude_talk_2 > 0) | 
    
    
        | 35 |     global.anti_amplitude_talk_2 -= 1; | 
    
    
        | 36 | if (global.anti_amplitude_undyne_spear_fire > 0) | 
    
    
        | 37 |     global.anti_amplitude_undyne_spear_fire -= 1; | 
    
    
        | 38 | script_execute(scr_game_time_add); |