Undertale Yellow script viewer

← back to main script listing

gml_GlobalScript_scr_enemy_attack_micro_barrage

(view raw script w/o annotations or w/e)
1
function scr_enemy_attack_micro_barrage
scr_enemy_attack_micro_barrage

function scr_enemy_attack_micro_barrage() //gml_Script_scr_enemy_attack_micro_barrage { global.attack_counter_max = 15 if (global.attack_counter == 0 && global.timer_attacks_counter < 10) { if (global.timer_attacks_counter < 5) instance_create((obj_dialogue_box_battle_transformation_any.bbox_right - 6), (obj_dialogue_box_battle_transformation_any.bbox_bottom - 6), obj_battle_enemy_attack_micro_barrage) else instance_create((obj_dialogue_box_battle_transformation_any.bbox_left + 7), (obj_dialogue_box_battle_transformation_any.bbox_bottom - 6), obj_battle_enemy_attack_micro_barrage) global.timer_attacks_counter += 1 } }
() //gml_Script_scr_enemy_attack_micro_barrage
2
{
3
    global.attack_counter_max = 15
4
    if (global.attack_counter == 0 && global.timer_attacks_counter < 10)
5
    {
6
        if (global.timer_attacks_counter < 5)
7
            instance_create((obj_dialogue_box_battle_transformation_any.bbox_right - 6), (obj_dialogue_box_battle_transformation_any.bbox_bottom - 6), obj_battle_enemy_attack_micro_barrage)
8
        else
9
            instance_create((obj_dialogue_box_battle_transformation_any.bbox_left + 7), (obj_dialogue_box_battle_transformation_any.bbox_bottom - 6), obj_battle_enemy_attack_micro_barrage)
10
        global.timer_attacks_counter += 1
11
    }
12
}