Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_battle_enemy_attack_ceroba_pillars_Create_0

(view raw script w/o annotations or w/e)
1
if (live_call())
2
    return global.live_result;
3
bullet_list = ds_list_create();
4
attack_tick = 0;
5
ds_list_add(bullet_list, "left", "right");
6
bullet_offset = 15;
7
wave_number = 1;
8
spawn_dist = 70;
9
var battle_box = 3154;
10
instance_create_depth(battle_box.x - 40, battle_box.bbox_bottom - 4, -100, obj_battle_enemy_attack_pillar_gray);
11
instance_create_depth(battle_box.x + 40, battle_box.bbox_bottom - 4, -100, obj_battle_enemy_attack_pillar_gray);
12
instance_create_depth(battle_box.x - 100, battle_box.bbox_bottom - 4, -100, obj_battle_enemy_attack_pillar_gray);
13
instance_create_depth(battle_box.x + 100, battle_box.bbox_bottom - 4, -100, obj_battle_enemy_attack_pillar_gray);