This is done even if there is no ESC script attached to the room. First default position will then be the start ESCLocation if there is one. Else, fallback to origin (0,0).
4 lines
129 B
Plaintext
4 lines
129 B
Plaintext
:exit_scene
|
|
set_sound_state _sound res://game/sfx/sounds/doorOpen_2.ogg false
|
|
change_scene "res://game/rooms/room15/room15.tscn"
|