Bottles/Bug Catching Net, fix menu item icons
This commit is contained in:
@@ -30,8 +30,6 @@ Link_HandleDekuTransformation:
|
||||
RTS
|
||||
}
|
||||
|
||||
print "here", pc
|
||||
|
||||
org $07811A
|
||||
JSR Link_HandleDekuTransformation
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -34,22 +34,10 @@ org $07B073
|
||||
org $078028
|
||||
Player_DoSfx2:
|
||||
|
||||
|
||||
; =============================================================================
|
||||
|
||||
org $008827
|
||||
JSL StartupMasks
|
||||
|
||||
org $1BEDF9
|
||||
JSL Palette_ArmorAndGloves ; 4bytes
|
||||
RTL ; 1byte
|
||||
NOP #$01
|
||||
|
||||
org $1BEE1B
|
||||
JSL Palette_ArmorAndGloves_part_two
|
||||
RTL
|
||||
|
||||
; =============================================================================
|
||||
JSL StartupMasks
|
||||
|
||||
org $278000
|
||||
StartupMasks:
|
||||
@@ -66,16 +54,15 @@ StartupMasks:
|
||||
|
||||
; =============================================================================
|
||||
|
||||
CancelMask:
|
||||
{
|
||||
JSL Palette_ArmorAndGloves
|
||||
LDA #$10 : STA $BC : STZ $02B2
|
||||
org $1BEDF9
|
||||
JSL Palette_ArmorAndGloves ; 4bytes
|
||||
RTL ; 1byte
|
||||
NOP #$01
|
||||
|
||||
org $1BEE1B
|
||||
JSL Palette_ArmorAndGloves_part_two
|
||||
RTL
|
||||
}
|
||||
|
||||
; =============================================================================
|
||||
|
||||
; Code :
|
||||
org $398000
|
||||
Palette_ArmorAndGloves:
|
||||
{
|
||||
@@ -239,7 +226,54 @@ LinkState_ResetMaskAnimated:
|
||||
RTL
|
||||
}
|
||||
|
||||
print "Next address for jump in bank07: ", pc
|
||||
Link_CheckNewL_ButtonPress:
|
||||
{
|
||||
; Check if the L button is already down.
|
||||
BIT $3B : BVS .noNewInput
|
||||
|
||||
; Flag to see if Link is recoiling from damage or other stuff.
|
||||
LDA $46 : BNE .noNewInput
|
||||
|
||||
; Check joypad readings for new input during this frame.
|
||||
LDA $F6 : AND.b #$08 : BEQ .noNewInput ; AND with 00001000 to isolate L
|
||||
|
||||
TSB $3B
|
||||
|
||||
SEC
|
||||
|
||||
RTS
|
||||
|
||||
.noNewInput
|
||||
|
||||
; I'm guessing this is like a cancel indicator.
|
||||
CLC
|
||||
|
||||
RTS
|
||||
}
|
||||
|
||||
Link_CheckNewR_ButtonPress:
|
||||
{
|
||||
; Check if the R button is already down.
|
||||
BIT $3B : BVS .noNewInput
|
||||
|
||||
; Flag to see if Link is recoiling from damage or other stuff.
|
||||
LDA $46 : BNE .noNewInput
|
||||
|
||||
; Check joypad readings for new input during this frame.
|
||||
LDA $F6 : AND.b #$04 : BEQ .noNewInput ; AND with 00000100 to isolate R
|
||||
|
||||
TSB $3B
|
||||
|
||||
SEC
|
||||
|
||||
RTS
|
||||
|
||||
.noNewInput
|
||||
|
||||
; I'm guessing this is like a cancel indicator.
|
||||
CLC
|
||||
|
||||
RTS
|
||||
}
|
||||
|
||||
; =============================================================================
|
||||
@@ -31,6 +31,8 @@ LinkItem_WolfMask:
|
||||
{
|
||||
LDA $02B2 : CMP #$03 : BNE .equip
|
||||
|
||||
; FIXME: activates whenever you press the Y button
|
||||
; needs a delay or something?
|
||||
JSR LinkItem_Shovel
|
||||
|
||||
.equip
|
||||
@@ -61,6 +63,8 @@ LinkItem_WolfMask:
|
||||
RTS
|
||||
}
|
||||
|
||||
print "End of LinkItem_WolfMask ", pc
|
||||
|
||||
; =============================================================================
|
||||
|
||||
org $388000
|
||||
|
||||
@@ -240,3 +240,5 @@ org $0782D2
|
||||
org $07C307
|
||||
JSR LinkState_UsingZoraMask_dungeon_stairs
|
||||
RTS
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user