map: Rooms now dynamically add doors
authorLukas Krickl <lukas@krickl.dev>
Thu, 2 Jan 2025 12:19:14 +0000 (13:19 +0100)
committerLukas Krickl <lukas@krickl.dev>
Thu, 2 Jan 2025 12:19:14 +0000 (13:19 +0100)
commite9d390024dbedceac8f8c10c75179d985ef0d78f
tree6158a25875b04827531f49b0f1f26599216f18fc
parenta4a39e6ac8b19513288b6db06ecb449a6802adee
map: Rooms now dynamically add doors

This is done by writing the flags and tiles when linking.
Also added a memcpy that will skip copying if the value is not zero.
maps/base_room.s
maps/base_room2.s
src/map.s
src/mem.s
tiles/tileset1.inc