mirror of
https://github.com/leoetlino/project-restoration
synced 2025-10-06 00:32:43 +02:00
83 lines
1.8 KiB
Plaintext
83 lines
1.8 KiB
Plaintext
zora_swim_1a:
|
|
# Remove fast swim magic check
|
|
type: patch
|
|
data: E3A00001
|
|
addr: 0x00220F60
|
|
reverse: true
|
|
zora_swim_1b:
|
|
# Remove fast swim magic check
|
|
type: patch
|
|
data: E3A00001
|
|
addr: 0x002210DC
|
|
reverse: true
|
|
zora_swim_1c:
|
|
# Remove fast swim magic check
|
|
type: patch
|
|
data: E3A00001
|
|
addr: 0x001FFDBC
|
|
reverse: true
|
|
zora_swim_2:
|
|
# Change fast swim start trigger (A+R -> A)
|
|
type: branch
|
|
link: true
|
|
func: rst_trampoline_rst_link_ShouldUseZoraFastSwim
|
|
addr: 0x220EFC
|
|
zora_swim_2:
|
|
type: patch
|
|
data: 00 F0 20 E3 01 00 50 E3
|
|
addr: 0x220F2C
|
|
zora_swim_3a:
|
|
# Change fast swim continue trigger (A+R -> A)
|
|
type: branch
|
|
link: true
|
|
func: rst_trampoline_rst_link_ShouldUseZoraFastSwim
|
|
addr: 0x1FFD74
|
|
zora_swim_3a:
|
|
type: patch
|
|
data: 00 F0 20 E3 00 F0 20 E3 01 00 50 E3
|
|
addr: 0x1FFD78
|
|
zora_swim_3b:
|
|
# Change fast swim continue trigger (A+R -> A)
|
|
type: branch
|
|
link: true
|
|
func: rst_trampoline_rst_link_ShouldUseZoraFastSwim
|
|
addr: 0x1FFA84
|
|
zora_swim_3b:
|
|
type: patch
|
|
data: 00 F0 20 E3 00 F0 20 E3 01 00 50 E3
|
|
addr: 0x1FFA88
|
|
zora_swim_4:
|
|
type: patch
|
|
data: EA000009
|
|
addr: 0x00220F00
|
|
reverse: true
|
|
|
|
fix_transformation_mask_equip_checks_1:
|
|
# prevent forced transform when mask is not equipped
|
|
type: patch
|
|
data: E12FFF1E
|
|
addr: 0x001E76B0
|
|
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: 0x001EDFB4
|
|
reverse: true
|
|
fix_transformation_mask_equip_checks_2b:
|
|
type: patch
|
|
data: EA000052
|
|
reverse: true
|
|
addr: 0x001F78CC
|
|
|
|
decouple_trigger_btns:
|
|
type: patch
|
|
data: 12 00 00 EA # skips over the ZL/ZR checks
|
|
addr: 0x1166C8
|
|
|
|
main_hook:
|
|
type: softbranch
|
|
opcode: post
|
|
func: rst_Calc
|
|
addr: 0x0010676C
|