update masks

This commit is contained in:
Justin Scofield
2022-10-05 23:52:01 -05:00
parent 0c505e8ae2
commit de31f30fd7
8 changed files with 58 additions and 9 deletions

View File

@@ -20,6 +20,29 @@
; TODO: draw sprite on link
;===========================================================
org $07A494
LinkItem_Ether:
{
JSR Link_CheckNewY_ButtonPress : BCC .return
LDA $6C : BNE .return ; doorway
LDA $0FFC : BNE .return ; cantopen menu
LDY.b #$04
LDA.b #$23
JSL AddTransformationCloud
LDA #$37 : STA $BC
.return
RTS
}
org $378000
incbin bunny_link.4bpp
namespace BunnyHood
{
Main:
@@ -50,4 +73,5 @@ namespace BunnyHood
org $20AF70 ; this selects the new speed values
db $20, $12, $0a, $18, $10, $08, $08, $04, $0c, $10, $09, $19, $14, $0d, $10, $08, $40
} ; label Main
} ; namespace BunnyHood

BIN
Masks/bunny_link.4bpp Normal file

Binary file not shown.

Binary file not shown.

View File

@@ -1,14 +1,10 @@
; Hooks
incsrc "../Sprites/sprite_functions_hooks.asm"
; =============================================================================
org $008A01
LDA $BC
org $07B073 ; *$3B073-$3B086 LOCAL
Link_CheckNewY_ButtonPress:
org $07A64B
LinkItem_Quake:
{
@@ -18,16 +14,20 @@ LinkItem_Quake:
LDA $0FFC : BNE .return ; cantopen menu
LDA #$40 : STA $BC
LDY.b #$04
LDA.b #$23
JSL AddTransformationCloud
LDA #$35 : STA $BC
.return
RTS
}
org $408000
org $358000
incbin deku_link.bin
org $1BEDF9
JSL Palette_ArmorAndGloves ; 4bytes
RTL ; 1byte

9
Masks/mask_routines.asm Normal file
View File

@@ -0,0 +1,9 @@
org $09912C
AddTransformationCloud:
org $07B073
Link_CheckNewY_ButtonPress:
org $078028
Player_DoSfx2:

BIN
Masks/wolf_link.4bpp Normal file

Binary file not shown.

9
Masks/wolf_mask.asm Normal file
View File

@@ -0,0 +1,9 @@
org $318000
LinkItem_WolfMask:
{
}
org $388000
incbin wolf_link.4bpp

View File

@@ -9,11 +9,18 @@ LinkItem_ZoraMask:
LDA $0FFC : BNE .return ; cantopen menu
LDA #$41 : STA $BC
LDY.b #$04
LDA.b #$23
JSL AddTransformationCloud
LDA.b #$14 : JSR Player_DoSfx2
LDA #$36 : STA $BC
.return
RTS
}
org $418000
org $368000
incbin zora_link.4bpp