2018-10-07 18:13:26 +02:00
|
|
|
[XCX_MOONJUMP]
|
|
|
|
moduleMatches = 0xF882D5CF, 0x30B6E091 ; 1.0.1E, 1.0.2U
|
|
|
|
|
|
|
|
codeCaveSize = 0x28
|
|
|
|
|
2018-11-03 18:22:34 +01:00
|
|
|
0x00000020 = .float $vert ; vertical velocity (default is 1.00, speedrun is 1.05)
|
|
|
|
0x00000024 = .float $horz ; horizontal velocity (default is 1.00, speedrun is 2.0)
|
2018-10-07 18:13:26 +02:00
|
|
|
|
|
|
|
_velocity = 0x00000020
|
|
|
|
_hvelocity = 0x00000024
|
|
|
|
|
|
|
|
_setVelocity = 0x00000000
|
|
|
|
0x00000000 = lis r3, _velocity@h
|
|
|
|
0x00000004 = lfs f30, _velocity@l(r3)
|
|
|
|
0x00000008 = fdivs f30, f1, f30
|
|
|
|
0x0000000C = blr
|
|
|
|
0x0264A700 = bla _setVelocity
|
|
|
|
|
|
|
|
_setHorizVelocity = 0x00000010
|
|
|
|
0x00000010 = lis r12, _hvelocity@h
|
|
|
|
0x00000014 = lfs f31, _hvelocity@l(r12)
|
|
|
|
0x00000018 = fdivs f31, f1, f31
|
|
|
|
0x0000001C = blr
|
|
|
|
0x0264C0EC = bla _setHorizVelocity
|
|
|
|
|
|
|
|
# chr::CIL_BaseJump::decideLandingType((void))
|
|
|
|
0x024714E0 = li r3, 5
|