Feat: New graphics for room 8

This commit is contained in:
Balloonpopper
2022-03-04 09:56:42 +11:00
committed by Julian Murgia
parent 7e6fb7b047
commit 7a64c7707f
10 changed files with 319 additions and 110 deletions

View File

@@ -1,7 +1,22 @@
:setup
# This code will run only the first time you enter the room.
> [!room8_visited]
set_global room8_visited true
set_global r8_m_door_open false
# Activate locked puzzle button the first time you enter the room only.
# It will keep it's locked/unlocked state on future room entrances.
# It should already be active, this is a safety precaution.
set_active r8_mini_puzzle_button true
> [r8_m_door_open]
# If the door was previously opened, quickly play the open animation
# so you don't see a closed door when the room appears.
set_state r8_m_door door_open true
# Hide locked puzzle icon and make the button non-interactive as
# the puzzle was previously unlocked
set_active r8_mini_puzzle_button false
> [eq ESC_LAST_SCENE room7]
teleport player r8_l_exit