tables.asm: Add GFX pointer to table in utilities.asm
This commit is contained in:
@@ -1064,8 +1064,14 @@ db $00, $00, $00
|
|||||||
org $308358
|
org $308358
|
||||||
AllowAccidentalMajorGlitch:
|
AllowAccidentalMajorGlitch:
|
||||||
db $00
|
db $00
|
||||||
|
;--------------------------------------------------------------------------------
|
||||||
|
; GFX pointer (0x180359 - 0x18035B)
|
||||||
|
; For 3rd party sprite stuff
|
||||||
|
;--------------------------------------------------------------------------------
|
||||||
|
org $308359
|
||||||
|
dl GfxPalettes
|
||||||
;================================================================================
|
;================================================================================
|
||||||
; 0x180359 - 0x1814FF (unused)
|
; 0x18035C - 0x1814FF (unused)
|
||||||
;================================================================================
|
;================================================================================
|
||||||
; $309500 (0x181500) - $309FFF (0x181FFF) original 0x39C bytes
|
; $309500 (0x181500) - $309FFF (0x181FFF) original 0x39C bytes
|
||||||
; Replacement Ending Sequence Text Data
|
; Replacement Ending Sequence Text Data
|
||||||
|
|||||||
@@ -175,7 +175,7 @@ GetSpritePalette:
|
|||||||
PHX
|
PHX
|
||||||
PHB : PHK : PLB
|
PHB : PHK : PLB
|
||||||
;--------
|
;--------
|
||||||
TAX : LDA.l .gfxPalettes, X ; look up item gfx
|
TAX : LDA.l GfxPalettes, X ; look up item gfx
|
||||||
PLB : PLX
|
PLB : PLX
|
||||||
CMP.b #$F8 : !BGE .specialHandling
|
CMP.b #$F8 : !BGE .specialHandling
|
||||||
RTL
|
RTL
|
||||||
@@ -236,7 +236,7 @@ RTL
|
|||||||
|
|
||||||
;DATA - Loot Identifier to Sprite Palette
|
;DATA - Loot Identifier to Sprite Palette
|
||||||
{
|
{
|
||||||
.gfxPalettes
|
GfxPalettes:
|
||||||
db $00, $04, $02, $08, $04, $02, $08, $02
|
db $00, $04, $02, $08, $04, $02, $08, $02
|
||||||
db $04, $02, $02, $02, $04, $04, $04, $08
|
db $04, $02, $02, $02, $04, $04, $04, $08
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user