From: Lukas Krickl Date: Wed, 11 Dec 2024 13:07:57 +0000 (+0100) Subject: Added docs for map flags X-Git-Url: https://git.krickl.dev/?a=commitdiff_plain;h=4aeecc224f3b0b59e7dc2d7cb959d00405b68218;p=gbrg%2F.git Added docs for map flags --- 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