Files
gymkhana-actions/game/rooms/room01/esc/room01.esc
Julian Murgia 9dbcf2b58b Make ESCLocation is_start_location work (#421)
Introducing BYPASS_LAST_ROOM global to allow changing scene without considering the previous room
Fixes godot-escoria/escoria-issues#40
2021-10-26 16:36:02 +02:00

28 lines
510 B
Plaintext

:setup
> [eq ESC_LAST_SCENE room2]
teleport player r1_r_exit
# Set player look left
set_angle player 270
stop
:ready
set_sound_state _music res://game/sfx/contemplation.ogg true
> [!room1_visited]
set_global room1_visited true
set_global dialog_advance 0
set_global dialog_popup_advance 0
walk_block player r1_destination_point
wait 2
walk_block player r1_destination_point2
wait 2
set_angle player 225 0.2
wait 2
walk_block player r1_destination_point3
wait 1
turn_to player r1_r_exit