2 if unlocked_the_door
== False:
3 unlocked_the_door
= True
5 tile
= area
.tiles(4, 0, 0.0) # closed exit on north wall, property layer
6 tile
.exit
= newExit("areas/secret_room.tmx", 4, 5, 0.0)
9 tile
= area
.tiles(4, 0, -0.2) # closed exit on north wall, graphics layer
10 tile
.type = area
.get_tile_type(66) # change to open exit
13 Sound
.play("sounds/door.oga") # unlocking sound