Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_battle_enemy_attack_macro_gun_flies_creator_Step_0

(view raw script w/o annotations or w/e)
1
if live_call()
2
    return global.live_result;
3
var battle_box = obj_dialogue_box_battle_transformation_any
4
switch attack_tick
5
{
6
    case 0:
7
        instance_create_depth((battle_box.bbox_left + 30), battle_box.y, -100, obj_battle_enemy_attack_bigfrog_herofly)
8
        instance_create_depth((battle_box.bbox_right - 30), battle_box.y, -100, obj_battle_enemy_attack_bigfrog_villainfly)
9
        break
10
    case 290:
11
        instance_destroy()
12
        break
13
}
14
15
attack_tick += 1