2018-10-07 18:13:26 +02:00
|
|
|
[XCX_RELEASEDIST]
|
|
|
|
moduleMatches = 0xF882D5CF, 0x30B6E091 ; 1.0.1E, 1.0.2U
|
|
|
|
|
|
|
|
codeCaveSize = 0x20
|
|
|
|
|
|
|
|
; ----------------------------------------------------------------------------
|
|
|
|
; WHO : cfs::CfCompoPropertyEnemy::getReleasePcDistanceXZ
|
2018-11-03 18:22:34 +01:00
|
|
|
; WHAT : Reduce escape distance from enemies (to lose aggro)
|
2018-10-07 18:13:26 +02:00
|
|
|
|
2018-11-03 18:22:34 +01:00
|
|
|
0x00000000 = .float $mod ; default is 1.0
|
2018-10-07 18:13:26 +02:00
|
|
|
_distanceConst = 0x00000000
|
|
|
|
|
|
|
|
_getRelease = 0x00000004
|
2018-11-03 18:22:34 +01:00
|
|
|
0x00000004 = lis r3, _distanceConst@ha
|
|
|
|
0x00000008 = lfs f29, _distanceConst@l(r3)
|
|
|
|
0x0000000C = fdivs f1, f1, f29
|
|
|
|
0x00000010 = mr r3, r21
|
2018-10-07 18:13:26 +02:00
|
|
|
0x00000014 = blr
|
|
|
|
|
2018-11-03 18:22:34 +01:00
|
|
|
# AI::CAIData::chkHoming
|
|
|
|
0x02030BE4 = bla _getRelease ; cfs::CfCompoPropertyEnemy::getReleasePcDistanceXZ
|