From 48054f857e3280dc0c2ba843f67ce6e6d07d93e5 Mon Sep 17 00:00:00 2001 From: Engezerstorung <154867622+Engezerstorung@users.noreply.github.com> Date: Sun, 8 Dec 2024 11:26:40 +0100 Subject: [PATCH] ListEventCheck Fix Fix error in ListEventCheck The value that is supposed to be check for zero is the event bit value loaded in b, not the event byte value loaded in a. --- color/colorplus/loadextragfx.asm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/color/colorplus/loadextragfx.asm b/color/colorplus/loadextragfx.asm index c175274c..338beba8 100644 --- a/color/colorplus/loadextragfx.asm +++ b/color/colorplus/loadextragfx.asm @@ -159,7 +159,8 @@ ListEventCheck: add hl, de ld a, [hl] ; byte containing the event bit pop hl - and a + inc b + dec b jr z, .bitIs0 .rrcaLoop rrca