Fix for post-mirror follower sprite gfx
This commit is contained in:
12
bugfixes.asm
12
bugfixes.asm
@@ -180,9 +180,19 @@ LDA.b IndoorsFlag : BNE +
|
|||||||
+
|
+
|
||||||
RTL
|
RTL
|
||||||
|
|
||||||
|
PostFixMirrorGfxPrep:
|
||||||
|
LDA.b #$01 : STA.w OWTransitionFlag
|
||||||
|
JML HandleFollowersAfterMirroring ; what we wrote over
|
||||||
|
|
||||||
|
; warning, this is called on frames after PostFixMirrorGfxPrep but for
|
||||||
|
; several frames after, so we use OWTransitionFlag to run something once
|
||||||
PostFixMirrorGfx:
|
PostFixMirrorGfx:
|
||||||
JSL HandleFollowersAfterMirroring
|
STA.w SubModuleInterface ; what we wrote over
|
||||||
|
LDA.w OWTransitionFlag : CMP.b #$01 : BNE .done
|
||||||
|
LDA.b #$08 : STA.w OWTransitionFlag
|
||||||
JML FollowerGfxRedraw
|
JML FollowerGfxRedraw
|
||||||
|
.done
|
||||||
|
RTL
|
||||||
|
|
||||||
PostFixOAMGfx:
|
PostFixOAMGfx:
|
||||||
JSL FollowerGfxRedraw
|
JSL FollowerGfxRedraw
|
||||||
|
|||||||
@@ -411,7 +411,9 @@ JSL OnLoadDuckMap
|
|||||||
; Fix Clobbered Gfx
|
; Fix Clobbered Gfx
|
||||||
;--------------------------------------------------------------------------------
|
;--------------------------------------------------------------------------------
|
||||||
org $80DB92
|
org $80DB92
|
||||||
JSL PostFixMirrorGfx
|
JSL PostFixMirrorGfxPrep
|
||||||
|
org $80D911
|
||||||
|
JML PostFixMirrorGfx
|
||||||
org $80E259
|
org $80E259
|
||||||
JSL PostFixOAMGfx : NOP
|
JSL PostFixOAMGfx : NOP
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user