# :SETUP is called EVERY TIME the room is loaded
# :READY is called only the FIRST TIME the room is loaded

:setup
set_state r7_button_push button_repaired
set_state r7_button_shift button_repaired
set_state r7_button_follow button_repaired
set_state r7_button_zoom button_repaired

> [eq ESC_LAST_SCENE room6]
	teleport player r7_l_exit
	# Set player look right
	set_angle player 180
	stop
> [eq ESC_LAST_SCENE room8]
	teleport player r7_r_exit
	# Set player look left
	set_angle player 270
	stop
> [!last_scene]
	teleport player player_start
	stop


:ready

#camera_push player 0 LINEAR
#camera_push r7_object2 1 LINEAR
#wait 3
#camera_push player 1 LINEAR

#camera_set_drag_margin_enabled bool bool
#camera_set_pos real int int
#camera_set_target real
#camera_set_zoom real
#camera_set_zoom_height int
#camera_shift int int

