Merge branch 'master' of https://github.com/mmxbass/z3randomizer
This commit is contained in:
18
hooks.asm
18
hooks.asm
@@ -1934,12 +1934,12 @@ JSL.l SetOverlayIfLamp
|
||||
; Overworld Door Frame Overlay Fix
|
||||
;
|
||||
; When entering an overworld entrance, if it is an entrance to a simple cave, we
|
||||
; store the entrance id, then use that (instead of the cave id) to determine the
|
||||
; store the overworld door id, then use that (instead of the cave id) to determine the
|
||||
; overlay to draw when leaving the cave again. We also use this value to
|
||||
; identify the tavern entrance to determine whether link should walk up or down.
|
||||
;--------------------------------------------------------------------------------
|
||||
org $1BBD5F ; <- Bank1b.asm:296 (LDA $1BBB73, X : STA $010E)
|
||||
JSL.l StoreLastEntranceID
|
||||
JSL.l StoreLastOverworldDoorID
|
||||
NOP #3
|
||||
;--------------------------------------------------------------------------------
|
||||
org $02D754 ; <- Bank02.asm:10847 (LDA $D724, X : STA $0696 : STZ $0698)
|
||||
@@ -1951,6 +1951,19 @@ JSL.l WalkDownIntoTavern
|
||||
NOP #1
|
||||
;================================================================================
|
||||
|
||||
;================================================================================
|
||||
; Music fixes
|
||||
;--------------------------------------------------------------------------------
|
||||
org $0282F4 ; <- Bank02.asm:654 (LDY.b #$58 ...)
|
||||
JML.l PreOverworld_LoadProperties_ChooseMusic
|
||||
org $028389 ; <- Bank02.asm:763
|
||||
PreOverworld_LoadProperties_SetSong:
|
||||
;--------------------------------------------------------------------------------
|
||||
org $05CC58 ; <- Bank05.asm:1307 (LDA $040A : CMP.b #$18)
|
||||
JSL PsychoSolder_MusicCheck
|
||||
NOP #1
|
||||
;================================================================================
|
||||
|
||||
;================================================================================
|
||||
; Hooks for roomloading.asm
|
||||
;--------------------------------------------------------------------------------
|
||||
@@ -1987,4 +2000,3 @@ org $00DF62 ; <- Bank00.asm:4672 (LDX.w #$0000 : LDY.w #$0040)
|
||||
org $00DF6E ; <- A few instructions later, right after JSR Do3To4High16Bit
|
||||
ReloadingFloorsCancel:
|
||||
;================================================================================
|
||||
|
||||
|
||||
Reference in New Issue
Block a user