Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_battle_enemy_attack_guardener_attack_10_Create_0

(view raw script w/o annotations or w/e)
1
if (live_call())
2
    return global.live_result;
3
scr_enable_battle_box_surface
scr_enable_battle_box_surface

function scr_enable_battle_box_surface() { if (!instance_exists(obj_surface_drawer)) instance_create_depth(0, 0, -999, obj_surface_drawer); }
();
4
if (instance_exists(obj_guardener_guy_a) && instance_exists(obj_guardener_guy_b))
5
{
6
}
7
else
8
{
9
    instance_destroy();
10
    exit;
11
}
12
scene = 0;
13
cutscene_timer = 0;
14
shoot_timer = 10;
15
shoot_timer_max = 50;
16
shoot_count = 4;
17
alarm[0] = room_speed * 8;