post aga2 hook

This commit is contained in:
Karkat
2017-12-22 21:45:10 -05:00
parent 3cc2ccf500
commit 0097425e1e
3 changed files with 6 additions and 2 deletions

View File

@@ -34,6 +34,11 @@ OnDungeonExit:
PLP : PLA
RTL
;--------------------------------------------------------------------------------
OnAga2Defeated:
JSL.l Dungeon_SaveRoomData_justKeys ; thing we wrote over, make sure this is first
JSL.l IncrementAgahnim2Sword
RTL
;--------------------------------------------------------------------------------
!RNG_ITEM_LOCK_IN = "$7F5090"
OnFileLoad:
LDA !FRESH_FILE_MARKER : BNE +

View File

@@ -233,7 +233,7 @@ JSL.l CalculateCapeUsage
; Misc Stats
;--------------------------------------------------------------------------------
org $029E2E ; <- 11E2E - module_ganon_emerges.asm : 59 (JSL Dungeon_SaveRoomData.justKeys)
JSL.l IncrementAgahnim2Sword
JSL.l OnAga2Defeated
;--------------------------------------------------------------------------------
org $0DDBDE ; <- 6DBDE - headsup_display.asm : 105 (DEC A : BPL .subtractRupees)
JSL.l IncrementSpentRupees

View File

@@ -214,7 +214,6 @@ DecrementSmallKeys:
RTL
;--------------------------------------------------------------------------------
IncrementAgahnim2Sword:
JSL.l Dungeon_SaveRoomData_justKeys ; thing we wrote over
PHA
LDA !LOCK_STATS : BNE +
JSL AddInventory_incrementBossSwordLong