Cleanup Pols Voice

This commit is contained in:
scawful
2024-11-19 14:57:39 -05:00
parent 1abe75ddb1
commit d88410e9c2

View File

@@ -37,28 +37,22 @@
Sprite_PolsVoice_Long:
{
PHB : PHK : PLB
JSR Sprite_PolsVoice_Draw ; Call the draw code
JSR Sprite_PolsVoice_Draw
JSL Sprite_DrawShadow
JSL Sprite_CheckActive ; Check if game is not paused
BCC .SpriteIsNotActive ; Skip Main code is sprite is innactive
JSR Sprite_PolsVoice_Main ; Call the main sprite code
JSL Sprite_CheckActive : BCC .SpriteIsNotActive
JSR Sprite_PolsVoice_Main
.SpriteIsNotActive
PLB ; Get back the databank we stored previously
RTL ; Go back to original code
PLB
RTL
}
; =========================================================
Sprite_PolsVoice_Prep:
{
PHB : PHK : PLB
LDA.b #$80 : STA.w SprTimerA, X
LDA.b #$00 : STA.w SprDefl, X
LDA.b #$00 : STA.w SprTileDie, X
PLB
RTL
}
@@ -133,10 +127,8 @@ Sprite_PolsVoice_Main:
.no_damage
RTS
}
}
; =========================================================
Sprite_PolsVoice_Draw: