Undertale script viewer

← back to main script listing

gml_Object_obj_door_u_Alarm_2

(view raw script w/o annotations or w/e)
1
global.entrance = 21;
2
instance_create(0, 0, obj_persistentfader);
3
if (room == room_tundra_town)
4
    room_goto(room_tundra_library Snowdin Town: Library);
5
if (room == room_tundra_library)
6
    room_goto(room_tundra_town Snowdin - Town [SAVE]);
7
if (room == room_water13)
8
    room_goto(room_water12 Waterfall - Split Pathway);
9
if (room == room_water12)
10
    room_goto(room_water13 Waterfall - Cut Bridge Puzzle [Dogchecked]);
11
if (room == room_fire7)
12
    room_goto(room_fire9 Hotland - Right Box Puzzle Entrance);
13
if (room == room_fire9)
14
    room_goto(room_fire7 Hotland - Puzzle Gate 1);
15
if (room == room_fire_core_center)
16
    room_goto(room_fire_core_top Hotland - Core West Puzzle Entrance + 2);
17
if (room == room_fire_core_top)
18
    room_goto(room_fire_core_center Hotland - Core End - 4);
19
if (room == room_fire_core_branch)
20
    room_goto(room_fire_core_bottomright Hotland - South of 100G Trash Can);
21
if (room == room_fire_core_bottomright)
22
    room_goto(room_fire_core_branch Hotland - Core Branch [SAVE]);
23
if (room == room_truelab_hall3)
24
    room_goto(room_truelab_fan True Lab - Fans);
25
if (room == room_truelab_fan)
26
    room_goto(room_truelab_hall3 True Lab - North Corridor 2);
27
if (room == room_fire_core_premett)
28
    room_goto(room_fire_core1 Hotland - Core Elevator);
29
if (room == room_fire_core1)
30
    room_goto(room_fire_core_premett Hotland - Core End - 1);
31
if (room == room_water_fakehallway)
32
    room_goto(room_water11 Waterfall - Sans Telescope);