Undertale script viewer

← back to main script listing

gml_Object_obj_battlecontroller_Other_10

related scripts: Alarm_0Create_0Destroy_0Draw_0KeyPress_117KeyPress_37KeyPress_38KeyPress_39KeyPress_40KeyPress_46KeyPress_49KeyPress_50KeyPress_80Keyboard_56Keyboard_57Other_10 Other_5Step_0Step_1

(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
}