Files
project-restoration/v110/hooks.hks
Léo Lam 566bab8877 Revert the changes to ice arrows
* Hide the new sparkle actors.
* Make ice arrows create ice platforms outside of Gyorg's room too.
2019-07-07 17:37:04 +02:00

88 lines
1.8 KiB
Plaintext

zora_swim_1a:
# Remove fast swim magic check
type: patch
data: E3A00001
addr: 0x00220F50
reverse: true
zora_swim_1b:
# Remove fast swim magic check
type: patch
data: E3A00001
addr: 0x002210CC
reverse: true
zora_swim_1c:
# Remove fast swim magic check
type: patch
data: E3A00001
addr: 0x001FFDA8
reverse: true
zora_swim_2:
# Change fast swim start trigger (A+R -> A)
type: branch
link: true
func: rst_trampoline_rst_link_ShouldUseZoraFastSwim
addr: 0x220EEC
zora_swim_2:
type: patch
data: 00 F0 20 E3 01 00 50 E3
addr: 0x220F1C
zora_swim_3a:
# Change fast swim continue trigger (A+R -> A)
type: branch
link: true
func: rst_trampoline_rst_link_ShouldUseZoraFastSwim
addr: 0x1FFD64
zora_swim_3a:
type: patch
data: 00 F0 20 E3 00 F0 20 E3 01 00 50 E3
addr: 0x1FFD68
zora_swim_3b:
# Change fast swim continue trigger (A+R -> A)
type: branch
link: true
func: rst_trampoline_rst_link_ShouldUseZoraFastSwim
addr: 0x1FFA74
zora_swim_3b:
type: patch
data: 00 F0 20 E3 00 F0 20 E3 01 00 50 E3
addr: 0x1FFA78
zora_swim_4:
type: patch
data: EA000009
addr: 0x00220EF0
reverse: true
fix_transformation_mask_equip_checks_1:
# prevent forced transform when mask is not equipped
type: patch
data: E12FFF1E
addr: 0x001E76A0
reverse: true
fix_transformation_mask_equip_checks_2a:
# remove other checks (fix first-person mode, Goron rolling and potentially more)
type: patch
data: EA00003B
addr: 0x001EDFA4
reverse: true
fix_transformation_mask_equip_checks_2b:
type: patch
data: EA000052
reverse: true
addr: 0x001F78BC
decouple_trigger_btns:
type: patch
data: 12 00 00 EA # skips over the ZL/ZR checks
addr: 0x1167C8
ice_arrows:
type: patch
data: 00 F0 20 E3 # nop
addr: 0x318898
main_hook:
type: softbranch
opcode: post
func: rst_Calc
addr: 0x106798