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

@@ -1091,8 +1091,12 @@ JSL.l LoadModifiedTileBufferAddress : NOP #2
; Permabunny Fix
;--------------------------------------------------------------------------------
org $078F32 ; <- 38F32 - Bank07.asm:2420 - (LDA $7EF357)
JSL.l DecideIfBunny
JSL.l DecideIfBunny ; for bunny beams
;--------------------------------------------------------------------------------
org $028468 ; <- 10468 Bank02.asm:911 - (LDA $7EF357)
JSL.l FixBunnyOnExitToLightWorld ; for cross-world connections
;--------------------------------------------------------------------------------
;================================================================================
; Open Mode Fixes
@@ -2018,4 +2022,3 @@ org $00DF62 ; <- Bank00.asm:4672 (LDX.w #$0000 : LDY.w #$0040)
org $00DF6E ; <- A few instructions later, right after JSR Do3To4High16Bit
ReloadingFloorsCancel:
;================================================================================