Fix conflict between hammer-on-B code with bunny-pressing-A code

This commit is contained in:
2022-11-19 10:06:37 -08:00
parent 44e2ccf7f7
commit 846ad798cf
2 changed files with 6 additions and 4 deletions

View File

@@ -823,7 +823,3 @@ Sprite_GetEmptyBottleIndex: ; this is totally in sprite_bees.asm
org $1EF4E7 org $1EF4E7
Sprite_PlayerCantPassThrough: Sprite_PlayerCantPassThrough:
;================================================================================ ;================================================================================
org $07FFF4
Link_UseHammerLong:
JSR Link_UseHammer : RTL

View File

@@ -2955,6 +2955,11 @@ NOP #48
skip 11 skip 11
.bee_valid_target .bee_valid_target
;-------------------------------------------------------------------------------- ;--------------------------------------------------------------------------------
org $07F88C ; free rom from F877 - F88F; the starting part of this is used in quadrant glitch fix below, however.
Link_UseHammerLong:
JSR Link_UseHammer : RTL
warnpc $07F890
;--------------------------------------------------------------------------------
;================================================================================ ;================================================================================
; Variable Ganon Vulnerability ; Variable Ganon Vulnerability
@@ -2993,6 +2998,7 @@ SwordSpinQuadrantFix:
JMP.w $07E8D9 ; HandleIndoorCameraAndDoors JMP.w $07E8D9 ; HandleIndoorCameraAndDoors
++ RTS ++ RTS
warnpc $07F88C ; hammer-on-B hook uses the end of this free rom section
;================================================================================ ;================================================================================