Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_battle_enemy_attack_guardener_attack_6_Create_0

(view raw script w/o annotations or w/e)
1
if live_call()
2
    return global.live_result;
3
var box = 3154
4
if (instance_exists(obj_guardener_guy_a) && instance_exists(obj_guardener_guy_b))
5
{
6
}
7
else
8
{
9
    instance_destroy()
10
    return;
11
}
12
scene = 0
13
cutscene_timer = 0
14
shoot_timer = 10
15
shoot_timer_max = 50
16
shoot_count = 4
17
guy_b_start_xy = [obj_guardener_guy_b.x, obj_guardener_guy_b.y]
18
guy_a_start_xy = [obj_guardener_guy_a.x, obj_guardener_guy_a.y]