Various GFX fixes

This commit is contained in:
codemann8
2024-04-10 03:17:03 -05:00
parent d34cb70444
commit 279a0ad030
2 changed files with 3 additions and 2 deletions

View File

@@ -34,7 +34,8 @@ RequestStandingItemVRAMSlot:
++ LDA.b #!DynamicDropGFXSlotCount_OW
+++ INC : STA.w SprItemGFXSlot,X
JMP .success
+ CMP.b #$A0 : BCC + : CMP.b #$AF+1 : BCS + ; if key, use key OAM slot
+ CMP.b #$24 : BEQ .key : CMP.b #$A0 : BCC + : CMP.b #$AF+1 : BCS + ; if key, use key OAM slot
.key
LDY.b LinkState : CPY.b #$19 : BCC ++ : CPY.b #$1A+1 : BCS ++ ; if getting tablet item, don't use key slot
BRA +
++