post aga2 hook
This commit is contained in:
@@ -34,6 +34,11 @@ OnDungeonExit:
|
|||||||
PLP : PLA
|
PLP : PLA
|
||||||
RTL
|
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"
|
!RNG_ITEM_LOCK_IN = "$7F5090"
|
||||||
OnFileLoad:
|
OnFileLoad:
|
||||||
LDA !FRESH_FILE_MARKER : BNE +
|
LDA !FRESH_FILE_MARKER : BNE +
|
||||||
|
|||||||
@@ -233,7 +233,7 @@ JSL.l CalculateCapeUsage
|
|||||||
; Misc Stats
|
; Misc Stats
|
||||||
;--------------------------------------------------------------------------------
|
;--------------------------------------------------------------------------------
|
||||||
org $029E2E ; <- 11E2E - module_ganon_emerges.asm : 59 (JSL Dungeon_SaveRoomData.justKeys)
|
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)
|
org $0DDBDE ; <- 6DBDE - headsup_display.asm : 105 (DEC A : BPL .subtractRupees)
|
||||||
JSL.l IncrementSpentRupees
|
JSL.l IncrementSpentRupees
|
||||||
|
|||||||
@@ -214,7 +214,6 @@ DecrementSmallKeys:
|
|||||||
RTL
|
RTL
|
||||||
;--------------------------------------------------------------------------------
|
;--------------------------------------------------------------------------------
|
||||||
IncrementAgahnim2Sword:
|
IncrementAgahnim2Sword:
|
||||||
JSL.l Dungeon_SaveRoomData_justKeys ; thing we wrote over
|
|
||||||
PHA
|
PHA
|
||||||
LDA !LOCK_STATS : BNE +
|
LDA !LOCK_STATS : BNE +
|
||||||
JSL AddInventory_incrementBossSwordLong
|
JSL AddInventory_incrementBossSwordLong
|
||||||
|
|||||||
Reference in New Issue
Block a user