GSCats/spritebank.s
blondie7575 a932295552 Refactoring of gameobject rendering macros
Prep work for projectile orientation
2017-10-26 20:15:52 -07:00

23 lines
649 B
ArmAsm

; Autogenerated by Mr. Sprite. Do not modify
DrawSpriteBank :
ASL ; A=Sprite Number ($0000-$0006)
TAX ; Y=Target Screen Address ($2000-$9D00)
LDA SpriteBankNum,X ; Relative Sprite Number Table
JMP (SpriteBankBank,X) ; Bank Number Table
SpriteBankNum :
.dbyt $0000,$0500,$0400,$0100,$0200,$0600,$0300
SpriteBankBank :
.addr SpriteBankBank00,SpriteBankBank00,SpriteBankBank00,SpriteBankBank00,SpriteBankBank00,SpriteBankBank00,SpriteBankBank00
SpriteBankBank00 :
JSL $AA0000
PHK
PLB
RTS
;----------