From 4aeecc224f3b0b59e7dc2d7cb959d00405b68218 Mon Sep 17 00:00:00 2001 From: Lukas Krickl Date: Wed, 11 Dec 2024 14:07:57 +0100 Subject: [PATCH] Added docs for map flags --- src/wram.s | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/wram.s b/src/wram.s index 9c38b84..b5a148d 100644 --- a/src/wram.s +++ b/src/wram.s @@ -91,8 +91,17 @@ damage_anim: .adv 1 ; room flags .se 1 + ; set if a tile is a wall .de RF_WALL, 1 + ; set if a tile is a door .de RF_DOOR, 2 + ; set if a tile is blocked by an actor + ; if this flag is set + ; collision resolution will + ; need to look up the actor in question by + ; iterating over the actor table + player + ; and checking each position + ; TODO: maybe add an actor lookup table for each tile .de RF_ACTOR, 4 ; current room struct -- 2.30.2