Fixed jumps and return to be proper for the banks the code is in

This commit is contained in:
aerinon
2020-08-26 16:50:19 -06:00
committed by aerinon
parent f565fc93be
commit cdd4199cf9
3 changed files with 9 additions and 6 deletions

View File

@@ -58,11 +58,11 @@ GiveBonkItem:
PHY : LDY.b #$24 : JSL.l AddInventory : PLY ; do inventory processing for a small key
LDA $7EF36F : INC A : STA $7EF36F
LDA.b #$2F : JSL.l Sound_SetSfx3PanLong
JSR CountBonkKey
JSL CountBonkItem
RTL
.notKey
PHY : TAY : JSL.l Link_ReceiveItem : PLY
JSR CountBonkKey
JSL CountBonkItem
RTL
;--------------------------------------------------------------------------------
LoadBonkItem: