update all sprites to use SprFlash instead of SprMiscA

This commit is contained in:
scawful
2024-07-07 10:20:15 -04:00
parent 15031bb6ec
commit 0979c4eb81
10 changed files with 17 additions and 53 deletions

View File

@@ -39,6 +39,7 @@ Sprite_Darknut_Long:
PHB : PHK : PLB
JSR Sprite_Darknut_Draw ; Call the draw code
JSL Sprite_DrawShadow
JSL Sprite_CheckActive ; Check if game is not paused
BCC .SpriteIsNotActive ; Skip Main code is sprite is innactive
@@ -143,8 +144,8 @@ Sprite_Darknut_Draw:
LDA $0DC0, X : CLC : ADC $0D90, X : TAY;Animation Frame
LDA .start_index, Y : STA $06
LDA.w SprMiscA, X : STA $08
LDA.w SprFlash, X : STA $08
PHX
LDX .nbr_of_tiles, Y ;amount of tiles -1