Add light world check to more unbunny-ing code

This time the code that tries to unbunny you when leaving a dungeon.This
is needed to make ER's new cross world connects work properly.

Move the fake world fix to happen in time for this.
This commit is contained in:
Kevin Cathcart
2018-01-29 20:47:58 -05:00
parent 3764deb4d3
commit 16259ce158
3 changed files with 17 additions and 5 deletions

View File

@@ -24,7 +24,7 @@ RTL
;1 = Don't Reset Music
MSMusicReset:
LDA $8A : CMP.b #$80 : BNE +
LDA $23
LDA $23
+
RTL
;--------------------------------------------------------------------------------
@@ -42,4 +42,14 @@ RTL
; CPX.b #$1B : BNE + : LDA.b #$01 : RTL : +
; LDA $7EF340, X
;RTL
;--------------------------------------------------------------------------------
;--------------------------------------------------------------------------------
;--------------------------------------------------------------------------------
FixBunnyOnExitToLightWorld:
JSL.l FakeWorldFix
LDA.w $02E0 : BEQ +
JMP.w DecideIfBunny
+
LDA $7EF357; thing we overwrote
RTL
;--------------------------------------------------------------------------------