maps: Added ability to add coordinate based flags to maps
authorLukas Krickl <lukas@krickl.dev>
Fri, 4 Jul 2025 15:47:51 +0000 (17:47 +0200)
committerLukas Krickl <lukas@krickl.dev>
Fri, 4 Jul 2025 15:47:51 +0000 (17:47 +0200)
commit2c314779358aa568174aa69a0c7d674755fd0bbe
treec9ca57dd43195564aa19532a50ba3bddf5ab7a0a
parent1f5b6c9b9dc3dc60abd1f4e727c5fdbab3b22a3e
maps: Added ability to add coordinate based flags to maps

Reworked how tile-based flags are read.
They are now read from a property called flags with a simple int value.

Coordinate based flags are read from layer properties.
A layer property with int value called flags_x,y will be or'd with the
tile property value to arrive at a final flag value.

This can be useful for exits to allow the setting of exit table offsets
in the upper nibble of the flags byte.
maps/default_map.s
src/defs.s
src/player.s
tiles/bank8000.inc
tiles/bank9000.inc
tools/tms2map.py