Undertale script viewer

← back to main script listing

gml_Object_obj_switch_room_Other_11

(view raw script w/o annotations or w/e)
1
on = 0;
2
image_speed = 0.25;
3
sprite_index = spr_onoffswitch_off;
4
if (room == room_fire8)
5
    global.flag[374 completed_shoot_puzzle1] = 0;
6
if (room == room_fire9)
7
    global.flag[375 completed_shoot_puzzle2] = 0;
8
if (room == room_fire_core_warrior)
9
{
10
    global.flag[419 warriors_path_complete] = 1;
11
    sprite_index = spr_onoffswitch_on;
12
}