From 7d9858fec42d0cef1f0349c3cef250003c5ed66d Mon Sep 17 00:00:00 2001 From: Sylvie <35663410+Rangi42@users.noreply.github.com> Date: Sun, 29 Sep 2024 11:24:35 -0400 Subject: Identify more bit flags (#119) * Identify more bit flags * Bit serves dual use in debug mode --- home/overworld.asm | 2 +- home/text.asm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'home') diff --git a/home/overworld.asm b/home/overworld.asm index f9aaa089..2b32eb16 100644 --- a/home/overworld.asm +++ b/home/overworld.asm @@ -1233,7 +1233,7 @@ CollisionCheckOnLand:: ldh [hTextID], a call IsSpriteInFrontOfPlayer ; check for sprite collisions again? when does the above check fail to detect a sprite collision? jr nc, .asm_0a5c - res 7, [hl] + res BIT_FACE_PLAYER, [hl] ldh a, [hTextID] and a ; was there a sprite collision? jr z, .asm_0a5c diff --git a/home/text.asm b/home/text.asm index d6baf35c..9bc7f3cf 100644 --- a/home/text.asm +++ b/home/text.asm @@ -244,7 +244,7 @@ Paragraph:: PageChar:: ldh a, [hUILayoutFlags] - bit 3, a + bit BIT_PAGE_CHAR_IS_NEXT, a jr z, .pageChar ld a, "" jp PlaceNextChar.NotTerminator -- cgit v1.3.1-sl0p