unit rendering: units are now hidden if they are inside a room
authorLukas Krickl <lukas@krickl.dev>
Thu, 31 Jul 2025 17:00:56 +0000 (19:00 +0200)
committerLukas Krickl <lukas@krickl.dev>
Thu, 31 Jul 2025 17:00:56 +0000 (19:00 +0200)
commit6f7c710d0582b00f8b02cc5ead4c02dff960b89d
treee909b6155c383cc24ac3625f15c2a1acdc6ed589
parentcf71f9e08ab8b7dfaef12be031c43af8be97e865
unit rendering: units are now hidden if they are inside a room

This is done by simply swapping the bg tilemap to a tile when the player is
not indoors. The BG priority bit is also set for all unit objects.
src/hw.inc
src/player.s
src/roompatterns.s
src/unit_demo.s
src/video.s
tiles/bank8000.inc