mirror of
https://github.com/blondie7575/GSCats.git
synced 2024-11-28 15:49:25 +00:00
2b5e7a29f0
Animation system now supports multiple sprite sizes
31 lines
1.5 KiB
ArmAsm
31 lines
1.5 KiB
ArmAsm
; Autogenerated by Mr. Sprite. Do not modify
|
|
|
|
|
|
DrawSpriteBank :
|
|
ASL ; A=Sprite Number ($0000-$0025)
|
|
TAX ; Y=Target Screen Address ($2000-$9D00)
|
|
LDA SpriteBankNum,X ; Relative Sprite Number Table
|
|
JMP (SpriteBankBank,X) ; Bank Number Table
|
|
|
|
SpriteBankNum :
|
|
.dbyt $0C00,$0B00,$1E00,$1700,$1800,$1D00,$2400,$2200
|
|
.dbyt $1B00,$1C00,$2100,$2500,$1100,$1500,$1600,$2300
|
|
.dbyt $2000,$1F00,$1A00,$1900,$0D00,$1200,$0600,$0000
|
|
.dbyt $0300,$0400,$1000,$1300,$0E00,$0900,$0800,$0700
|
|
.dbyt $0200,$0100,$0500,$0F00,$1400,$0A00
|
|
|
|
SpriteBankBank :
|
|
.addr SpriteBankBank00,SpriteBankBank00,SpriteBankBank00,SpriteBankBank00,SpriteBankBank00,SpriteBankBank00,SpriteBankBank00,SpriteBankBank00
|
|
.addr SpriteBankBank00,SpriteBankBank00,SpriteBankBank00,SpriteBankBank00,SpriteBankBank00,SpriteBankBank00,SpriteBankBank00,SpriteBankBank00
|
|
.addr SpriteBankBank00,SpriteBankBank00,SpriteBankBank00,SpriteBankBank00,SpriteBankBank00,SpriteBankBank00,SpriteBankBank00,SpriteBankBank00
|
|
.addr SpriteBankBank00,SpriteBankBank00,SpriteBankBank00,SpriteBankBank00,SpriteBankBank00,SpriteBankBank00,SpriteBankBank00,SpriteBankBank00
|
|
.addr SpriteBankBank00,SpriteBankBank00,SpriteBankBank00,SpriteBankBank00,SpriteBankBank00,SpriteBankBank00
|
|
|
|
SpriteBankBank00 :
|
|
JSL $AA0000
|
|
PHK
|
|
PLB
|
|
RTS
|
|
|
|
;----------
|