Some byte designation corrections + formatting

This commit is contained in:
codemann8
2024-04-09 15:51:05 -05:00
committed by aerinon
parent 0339e09b5d
commit d75c72f85d
24 changed files with 244 additions and 240 deletions

View File

@@ -1,6 +1,6 @@
; Come in with
; A = item receipt ID
; X = slot
; X = sprite slot
RequestStandingItemVRAMSlot:
PHA
@@ -83,21 +83,21 @@ DrawPotItem:
.draw
PHB : PHK : PLB
STA.b $08
STA.b Scrap08
LDA.w SprItemGFX,X
AND.w #$00FF
ASL : ASL : ASL : ASL
ADC.b $08
STA.b $08
ADC.b Scrap08
STA.b Scrap08
SEP #$20
STZ.b $07
STZ.b Scrap07
LDA.b #$00 : STA.l SpriteSkipEOR
JSL Sprite_DrawMultiple_quantity_preset
LDA.b $90 : CLC : ADC.b #$08 : STA.b $90
INC.b $92
INC.b $92
LDA.b OAMPtr : CLC : ADC.b #$08 : STA.b OAMPtr
INC.b OAMPtr+2
INC.b OAMPtr+2
PLB
PLA