Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_dunes_42_door_Step_0

(view raw script w/o annotations or w/e)
1
event_inherited()
2
if ((interact || place_meeting(x, y, obj_pl)) && noloop == false)
3
{
4
    if (!instance_exists(obj_transition))
5
    {
6
        audio_play_sound(snd_doorclose, 1, 0)
7
        scr_change_room
scr_change_room

function scr_change_room(argument0, argument1, argument2) //gml_Script_scr_change_room { if (!instance_exists(obj_transition)) { trn = instance_create(x, y, obj_transition) trn.newRoom = argument0 if instance_exists(obj_pl) { trn.xx = argument1 trn.yy = argument2 } } }
(283, 217, 200)
8
        scr_cutscene_start
scr_cutscene_start

function scr_cutscene_start() //gml_Script_scr_cutscene_start { global.cutscene = true obj_pl.state = gml_Script_scr_frozen_state obj_pl.image_index = 0 obj_pl.image_speed = 0 }
()
9
        noloop = true
10
    }
11
}