Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_macro_froggit_pacifist_collider_Create_0

(view raw script w/o annotations or w/e)
1
scene = 0
2
cutscene_timer = 0
3
if (global.sworks_flag[46] != 1 || (global.sworks_flag[50] == 0 && global.party_member == -4))
4
{
5
    instance_destroy()
6
    return;
7
}
8
else if (global.sworks_flag[50] >= 1)
9
{
10
    scene = 6
11
    instance_create_depth(450, 200, 0, obj_ceroba_npc)
12
    obj_ceroba_npc.npc_direction = "up"
13
}