8 if opened_door
== False:
11 tile
= Area
.tile(4, 0, 0.0) # closed exit on north wall, property layer
12 tile
.exit
= new_exit("areas/secret_room.tmx", 4, 5, 0.0)
13 tile
.flag
.nowalk
= False
15 tile
= Area
.tile(4, 0, -0.2) # closed exit on north wall, graphics layer
16 tile
.type = Area
.tileset("areas/tiles/indoors.png").at(2, 9) # change to open exit
19 areas
.sounds
.sound_door()