Fix the dark world
Restore fake world fix to previous position Change how the FixBunnyOnExitToLightworld Code works, and where it is called from
This commit is contained in:
@@ -66,12 +66,12 @@ RTL
|
|||||||
|
|
||||||
;--------------------------------------------------------------------------------
|
;--------------------------------------------------------------------------------
|
||||||
FixBunnyOnExitToLightWorld:
|
FixBunnyOnExitToLightWorld:
|
||||||
JSL.l FakeWorldFix
|
|
||||||
LDA.w $02E0 : BEQ +
|
LDA.w $02E0 : BEQ +
|
||||||
JMP.w DecideIfBunny
|
JSL.l DecideIfBunny : BEQ +
|
||||||
|
STZ $5D ; set player mode to Normal
|
||||||
|
STZ $02E0 : STZ $56 ; return player graphics to normal
|
||||||
+
|
+
|
||||||
LDA $7EF357; thing we overwrote
|
RTS
|
||||||
RTL
|
|
||||||
;--------------------------------------------------------------------------------
|
;--------------------------------------------------------------------------------
|
||||||
|
|
||||||
;--------------------------------------------------------------------------------
|
;--------------------------------------------------------------------------------
|
||||||
|
|||||||
@@ -1108,9 +1108,6 @@ JSL.l LoadModifiedTileBufferAddress : NOP #2
|
|||||||
org $078F32 ; <- 38F32 - Bank07.asm:2420 - (LDA $7EF357)
|
org $078F32 ; <- 38F32 - Bank07.asm:2420 - (LDA $7EF357)
|
||||||
JSL.l DecideIfBunny ; for bunny beams
|
JSL.l DecideIfBunny ; for bunny beams
|
||||||
;--------------------------------------------------------------------------------
|
;--------------------------------------------------------------------------------
|
||||||
org $028468 ; <- 10468 Bank02.asm:911 - (LDA $7EF357)
|
|
||||||
JSL.l FixBunnyOnExitToLightWorld ; for cross-world connections
|
|
||||||
;--------------------------------------------------------------------------------
|
|
||||||
|
|
||||||
;================================================================================
|
;================================================================================
|
||||||
; Other bunny Fixes
|
; Other bunny Fixes
|
||||||
|
|||||||
@@ -830,6 +830,8 @@ RTL
|
|||||||
;--------------------------------------------------------------------------------
|
;--------------------------------------------------------------------------------
|
||||||
ClearOWKeys:
|
ClearOWKeys:
|
||||||
PHA
|
PHA
|
||||||
|
JSL.l FakeWorldFix
|
||||||
|
JSR.w FixBunnyOnExitToLightWorld
|
||||||
LDA.l GenericKeys : BEQ +
|
LDA.l GenericKeys : BEQ +
|
||||||
PLA : LDA $7EF38B : STA $7EF36F
|
PLA : LDA $7EF38B : STA $7EF36F
|
||||||
RTL
|
RTL
|
||||||
|
|||||||
Reference in New Issue
Block a user