Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_ruins_03_controller_Create_0

(view raw script w/o annotations or w/e)
1
if (global.ruins_flag[2] == 1)
2
{
3
    instance_destroy();
4
    instance_destroy(obj_door);
5
    obj_switch1.image_index = 1;
6
    exit;
7
}
8
instance_create(124, 124, obj_toriel_npc);
9
scene = 0;
10
cutscene_timer = 0;
11
scr_cutscene_start
scr_cutscene_start

function scr_cutscene_start() { global.cutscene = true; obj_pl.state = scr_frozen_state; obj_pl.image_index = 0; obj_pl.image_speed = 0; }
();
12
obj_pl.direction = 90;