Undertale script viewer

← back to main script listing

gml_Object_obj_battlecontroller_Other_10

(view raw script w/o annotations or w/e)
1
if (won == 1)
2
{
3
    if (instance_exists(OBJ_WRITER) == 0)
4
        room_goto(global.currentroom);
5
}
6
if (won == 1)
7
{
8
    if (instance_exists(OBJ_WRITER) == 1)
9
    {
10
        if (OBJ_WRITER.halt != 0)
11
            room_goto(global.currentroom);
12
    }
13
}