Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_mansion_hall_study_door_Step_0

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