tables.asm: Add GFX pointer to table in utilities.asm

This commit is contained in:
cassidoxa
2022-09-09 19:30:16 -04:00
parent 031e3965b2
commit f8d9be201a
2 changed files with 9 additions and 3 deletions

View File

@@ -175,7 +175,7 @@ GetSpritePalette:
PHX
PHB : PHK : PLB
;--------
TAX : LDA.l .gfxPalettes, X ; look up item gfx
TAX : LDA.l GfxPalettes, X ; look up item gfx
PLB : PLX
CMP.b #$F8 : !BGE .specialHandling
RTL
@@ -236,7 +236,7 @@ RTL
;DATA - Loot Identifier to Sprite Palette
{
.gfxPalettes
GfxPalettes:
db $00, $04, $02, $08, $04, $02, $08, $02
db $04, $02, $02, $02, $04, $04, $04, $08