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:
14
bugfixes.asm
14
bugfixes.asm
@@ -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
|
||||
;--------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user