From 3e0980853653aec217c4ebec3f0f7526b34d288c Mon Sep 17 00:00:00 2001 From: cassidy Date: Sun, 9 May 2021 02:46:39 -0400 Subject: [PATCH] Save a byte setting processor flags --- accessibility.asm | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/accessibility.asm b/accessibility.asm index 2a2efad..dd4bcd6 100644 --- a/accessibility.asm +++ b/accessibility.asm @@ -257,9 +257,8 @@ ConditionalChangeGearPalette: BRA ++ ++ PLY ; use what was in Y register to determine which p flags to set - CPY #$000E : BEQ + - SEP #$10 - RTL + CPY #$000E : BNE + + SEP #$20 + - SEP #$30 + SEP #$10 RTL