Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- At Link's Instance + 0x4EC, there is a 4-byte bit field which determines the type of attack Link has most recently used, for the sword, stick, and hammer items. Slashing or jumpslashing with one of those items writes different values to the bitfield.
- -When you load a new scene, that bit field gets set to the default value of 00000100 (Kokiri Sword Slash / Broken Giant's Knife Slash).
- -Performing any of the attacks listed below will set this bit field to the corresponding value. Quickspins set the same value as a slash.
- -Performing a crouch stab attack will not change the value of the bit field. Crouch stabs will use the last value stored in that bit field to calculate its damage.
- 00000001
- 00000002 Deku Stick Slash
- 00000004
- 00000008
- 00000010
- 00000020
- 00000040 Hammer Swing
- 00000080
- 00000100 Kokiri Sword Slash / Broken Giant's Knife Slash
- 00000200 Master Sword Slash
- 00000400 Biggoron Sword Slash / Giant's Knife Slash
- 00000800
- 00001000
- 00002000
- 00004000
- 00008000
- 00010000
- 00020000
- 00040000
- 00080000
- 00100000
- 00200000
- 00400000
- 00800000
- 01000000
- 02000000 Kokiri Sword Jump Attack / Broken Giant's Knife Jump Attack
- 04000000 Biggoron Sword Jump Attack / Giant's Knife Jump Attack
- 08000000 Master Sword Jump Attack / Deku Stick Jump Attack
- 10000000
- 20000000
- 40000000 Hammer Jump Attack
- 80000000
- For more information on enemy damage, check this page: https://wiki.cloudmodding.com/oot/Damage_Charts#Damage_Chart
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement