disable offscreen deactivation code for poltergeist
This commit is contained in:
@@ -36,10 +36,12 @@ Sprite_Poltergeist_Long:
|
|||||||
{
|
{
|
||||||
PHB : PHK : PLB
|
PHB : PHK : PLB
|
||||||
JSR Sprite_Poltergeist_Draw
|
JSR Sprite_Poltergeist_Draw
|
||||||
LDA $E0 : CMP #$F0 : BNE .onscreen
|
|
||||||
LDA.w SprMiscA, X : BEQ .SpriteIsNotActive
|
; LDA $E0 : CMP #$F0 : BNE .onscreen
|
||||||
STZ.w SprState, X ; kill the sprite if offscreen and activated
|
; LDA.w SprMiscA, X : BEQ .SpriteIsNotActive
|
||||||
.onscreen
|
; STZ.w SprState, X ; kill the sprite if offscreen and activated
|
||||||
|
; .onscreen
|
||||||
|
|
||||||
JSL Sprite_CheckActive : BCC .SpriteIsNotActive
|
JSL Sprite_CheckActive : BCC .SpriteIsNotActive
|
||||||
JSR Sprite_Poltergeist_Main
|
JSR Sprite_Poltergeist_Main
|
||||||
.SpriteIsNotActive
|
.SpriteIsNotActive
|
||||||
|
|||||||
Reference in New Issue
Block a user