Undertale script viewer

← back to main script listing

gml_Object_obj_switch_room_Create_0

(view raw script w/o annotations or w/e)
1
on = 0;
2
myinteract = 0;
3
if (room == room_fire8 && global.flag[374 completed_shoot_puzzle1] == 1)
4
    event_user(0);
5
if (room == room_fire9 && global.flag[375 completed_shoot_puzzle2] == 1)
6
    event_user(0);
7
if (room == room_fire_core_warrior && global.flag[419 warriors_path_complete] == 1)
8
    event_user(0);
9
if (room == room_fire_core_warrior)
10
    depth = 700000;