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).
6 lines
131 B
Plaintext
6 lines
131 B
Plaintext
:exit_scene
|
|
set_sound_state _sound res://game/sfx/sounds/doorOpen_2.ogg false
|
|
change_scene "res://game/rooms/room14/room14.tscn"
|
|
|
|
|