default back to regular menu mode
also hooked links starting rupees for later use
This commit is contained in:
@@ -42,6 +42,7 @@ RTL
|
|||||||
!RNG_ITEM_LOCK_IN = "$7F5090"
|
!RNG_ITEM_LOCK_IN = "$7F5090"
|
||||||
OnNewFile:
|
OnNewFile:
|
||||||
REP #$20 ; set 16-bit accumulator
|
REP #$20 ; set 16-bit accumulator
|
||||||
|
LDA.l LinkStartingRupees : STA $7EF362 : STA $7EF360
|
||||||
LDA.l StartingTime : STA $7EF454
|
LDA.l StartingTime : STA $7EF454
|
||||||
LDA.l StartingTime+2 : STA $7EF454+2
|
LDA.l StartingTime+2 : STA $7EF454+2
|
||||||
SEP #$20 ; set 8-bit accumulator
|
SEP #$20 ; set 8-bit accumulator
|
||||||
|
|||||||
16
hooks.asm
16
hooks.asm
@@ -253,14 +253,14 @@ org $0DE6F4 ; <- 6E6F4 - equipment.asm : 1474 (BCC .lacksAbility)
|
|||||||
db #$80 ; BRA
|
db #$80 ; BRA
|
||||||
org $0DE81A ; <- 6E81A - equipment.asm : 1597 (STA $00)
|
org $0DE81A ; <- 6E81A - equipment.asm : 1597 (STA $00)
|
||||||
RTS
|
RTS
|
||||||
org $0DE7B9 ; <- 6E7B9 - equipment.asm : 1548 (LDA.w #$16D0)
|
org $0DE7B9 ; <- 6E7B9 - equipment.asm : 1548 (LDA.w #$16D0 : STA $00)
|
||||||
LDA.w #$1590
|
JSL.l DrawGlovesInMenuLocation : NOP
|
||||||
org $0DE7CF ; <- 6E7CF - equipment.asm : 1554 (LDA.w #$16C8)
|
org $0DE7CF ; <- 6E7CF - equipment.asm : 1554 (LDA.w #$16C8 : STA $00)
|
||||||
LDA.w #$1588
|
JSL.l DrawBootsInMenuLocation : NOP
|
||||||
org $0DE7E5 ; <- 6E7E5 - equipment.asm : 1560 (LDA.w #$16D8)
|
org $0DE7E5 ; <- 6E7E5 - equipment.asm : 1560 (LDA.w #$16D8 : STA $00)
|
||||||
LDA.w #$1598
|
JSL.l DrawFlippersInMenuLocation : NOP
|
||||||
org $0DECEB ; <- 6ECEB - equipment.asm : 1946 (LDA.w #$16E0)
|
org $0DECEB ; <- 6ECEB - equipment.asm : 1946 (LDA.w #$16E0 : STA $00)
|
||||||
LDA.w #$15A0
|
JSL.l DrawMoonPearlInMenuLocation : NOP
|
||||||
;--------------------------------------------------------------------------------
|
;--------------------------------------------------------------------------------
|
||||||
;org $0DE9D8 ; <- 6E9D8 - equipment.asm : 1635 (LDA $E860, X : STA $12EA, X)
|
;org $0DE9D8 ; <- 6E9D8 - equipment.asm : 1635 (LDA $E860, X : STA $12EA, X)
|
||||||
;BRA DrawProgressIcons_initPendantDiagram_notext
|
;BRA DrawProgressIcons_initPendantDiagram_notext
|
||||||
|
|||||||
@@ -174,6 +174,38 @@ RTL
|
|||||||
;$388 = Turtle Rock
|
;$388 = Turtle Rock
|
||||||
;$389 = Ganon's Tower
|
;$389 = Ganon's Tower
|
||||||
;--------------------------------------------------------------------------------
|
;--------------------------------------------------------------------------------
|
||||||
|
DrawBootsInMenuLocation:
|
||||||
|
LDA.l HUDDungeonItems : BNE +
|
||||||
|
LDA.w #$1608 : STA $00
|
||||||
|
RTL
|
||||||
|
+
|
||||||
|
LDA.w #$1588 : STA $00
|
||||||
|
RTL
|
||||||
|
;--------------------------------------------------------------------------------
|
||||||
|
DrawGlovesInMenuLocation:
|
||||||
|
LDA.l HUDDungeonItems : BNE +
|
||||||
|
LDA.w #$1610 : STA $00
|
||||||
|
RTL
|
||||||
|
+
|
||||||
|
LDA.w #$1590 : STA $00
|
||||||
|
RTL
|
||||||
|
;--------------------------------------------------------------------------------
|
||||||
|
DrawFlippersInMenuLocation:
|
||||||
|
LDA.l HUDDungeonItems : BNE +
|
||||||
|
LDA.w #$1618 : STA $00
|
||||||
|
RTL
|
||||||
|
+
|
||||||
|
LDA.w #$1598 : STA $00
|
||||||
|
RTL
|
||||||
|
;--------------------------------------------------------------------------------
|
||||||
|
DrawMoonPearlInMenuLocation:
|
||||||
|
LDA.l HUDDungeonItems : BNE +
|
||||||
|
LDA.w #$1620 : STA $00
|
||||||
|
RTL
|
||||||
|
+
|
||||||
|
LDA.w #$15A0 : STA $00
|
||||||
|
RTL
|
||||||
|
;--------------------------------------------------------------------------------
|
||||||
DrawHUDDungeonItems:
|
DrawHUDDungeonItems:
|
||||||
LDA.l HUDDungeonItems : BNE + : RTL : +
|
LDA.l HUDDungeonItems : BNE + : RTL : +
|
||||||
|
|
||||||
|
|||||||
@@ -173,7 +173,11 @@ db #$00 ; #$00 = Off (default) - #$01 = On
|
|||||||
;--------------------------------------------------------------------------------
|
;--------------------------------------------------------------------------------
|
||||||
org $308045 ; PC 0x180045
|
org $308045 ; PC 0x180045
|
||||||
HUDDungeonItems:
|
HUDDungeonItems:
|
||||||
db #$FF ; display ----dcba a: Small Keys, b: Big Key, c: Map, d: Compass
|
db #$00 ; display ----dcba a: Small Keys, b: Big Key, c: Map, d: Compass
|
||||||
|
;--------------------------------------------------------------------------------
|
||||||
|
org $308046 ; PC 0x180046 Link's starting equipment
|
||||||
|
LinkStartingRupees:
|
||||||
|
dw #$0000
|
||||||
;--------------------------------------------------------------------------------
|
;--------------------------------------------------------------------------------
|
||||||
org $308080 ; PC 0x180080
|
org $308080 ; PC 0x180080
|
||||||
Upgrade5BombsRefill:
|
Upgrade5BombsRefill:
|
||||||
|
|||||||
Reference in New Issue
Block a user