let's dev sep 15th 2017

added logic to synchronize dungeon key stats
moved keysanity table init to menu init so it comes in pre-rendered
This commit is contained in:
Karkat
2017-09-15 23:59:52 -04:00
parent 58e646756e
commit c2e5fca01c
8 changed files with 67 additions and 25 deletions

View File

@@ -194,10 +194,16 @@ IncrementFlute:
RTL
;--------------------------------------------------------------------------------
IncrementSmallKeys:
STA $7EF36F ; thing we wrote over, write small key count
LDA !LOCK_STATS : BNE +
JSL AddInventory_incrementKeyLong
+
LDA $7EF36F ; thing we wrote over, read small key count
JSL.l UpdateKeys
RTL
;--------------------------------------------------------------------------------
DecrementSmallKeys:
STA $7EF36F ; thing we wrote over, write small key count
JSL.l UpdateKeys
RTL
;--------------------------------------------------------------------------------
IncrementAgahnim2Sword: