Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_mansion_hall_bedroom_door_Step_0

(view raw script w/o annotations or w/e)
1
event_inherited()
2
if interact
3
{
4
    audio_play_sound(snd_doorclose, 1, 0)
5
    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 } } }
(246, 80, 200)
6
    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 }
()
7
}