Undertale script viewer

← back to main script listing

gml_Object_obj_doorA_Alarm_2

(view raw script w/o annotations or w/e)
1
global.entrance = 1;
2
instance_create(0, 0, obj_persistentfader);
3
if (room != room_castle_prebarrier)
4
    room_goto(room_next(room));
5
else if (global.flag[7 true_pacifist] == 1)
6
    room_goto(room_castle_trueexit Path to outside [Dogchecked]);
7
else
8
    room_goto_next();