Cleanup Pols Voice
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user