Rewrite to handle electro palette, leave bunny alone

Should fix bunny issues
Big thank to kara for report, assistance, and testing
This commit is contained in:
cassidy
2021-06-14 13:14:38 -04:00
parent 2276b5782a
commit 77f742b25c
4 changed files with 92 additions and 51 deletions

View File

@@ -15,7 +15,7 @@ RTL
!BANK_BASE = "#$29"
org $BF8000
SwapSpriteIfNecissary:
SwapSpriteIfNecessary:
PHP
SEP #$20 ; set 8-bit accumulator
LDA !SPRITE_SWAP : BEQ + : !ADD !BANK_BASE : CMP $BC : BEQ +
@@ -83,4 +83,4 @@ SpriteSwap_Palette_ArmorAndGloves:
INC $15
PLA : PLY : PLX
RTL
}
}