cemu_graphic_packs/Modifications/XenobladeX_mod_PhysicsRunForrestRun/patches.txt

25 lines
663 B
Plaintext
Raw Normal View History

[XCX_MOVESPEED]
moduleMatches = 0xF882D5CF, 0x30B6E091 ; 1.0.1E, 1.0.2U
codeCaveSize = 0x1C
0x00000018 = .float $mod ; dash speed (smallest means fastest, default is 1.0)
_speed = 0x00000018
_setSpeed = 0x00000000
0x00000000 = lis r3, _speed@h
0x00000004 = lfs f13, _speed@l(r3)
0x00000008 = fdivs f1, f1, f13
0x0000000C = lwz r3, 0(r31)
0x00000010 = blr
# chr::CInnerLabelState::applyFieldMoveWeight((float))
0x02643330 = bla _setSpeed ; SetVariableFloat(0xBD,float)
;0x026431C8 = bla _setSpeed
;0x026431D8 = bla _setSpeed
;0x026431E8 = bla _setSpeed
;0x026431F8 = bla _setSpeed
;0x02643208 = bla _setSpeed
;0x02643218 = bla _setSpeed