Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_transition_Other_4

(view raw script w/o annotations or w/e)
1
if (waiter == 1 && room == newRoom)
2
{
3
    if (room_persistent == true && global.battlecheck == 0)
4
    {
5
        room_persistent = false
6
        room_restart()
7
        waiter = 0
8
    }
9
    else if (global.battlecheck == 1)
10
        global.battlecheck = 0
11
}
12
if instance_exists(obj_pl)
13
    obj_pl.alarm[0] = 1