mirror of
https://github.com/zeldaret/tp
synced 2026-06-17 23:21:28 -04:00
npc_wrestler dbg work (#2795)
This commit is contained in:
@@ -3950,7 +3950,7 @@ bool daNpcChat_c::wait(void* param_1) {
|
||||
|
||||
if (
|
||||
dKy_darkworld_check() == 0 && daPy_py_c::checkNowWolf() &&
|
||||
fopAcM_searchPlayerDistanceXZ2(this) < std::pow(500.0, 2.0) || mFear
|
||||
fopAcM_searchPlayerDistanceXZ2(this) < std::pow(500.0f, 2.0f) || mFear
|
||||
) {
|
||||
setAction(&daNpcChat_c::fear);
|
||||
if (!mFear) {
|
||||
@@ -3988,8 +3988,7 @@ bool daNpcChat_c::wait(void* param_1) {
|
||||
setMotion(i_motion, -1.0f, 1);
|
||||
}
|
||||
|
||||
if (mTalkFlag) {
|
||||
if (dComIfGp_event_getTalkPartner() != this) {
|
||||
if (mTalkFlag && dComIfGp_event_getTalkPartner() != this) {
|
||||
if (field_0xe51 == 1) {
|
||||
setMotion(MOT_SITWAIT_A, -1.0f, 0);
|
||||
} else if (field_0xe51 == 2) {
|
||||
@@ -3997,7 +3996,6 @@ bool daNpcChat_c::wait(void* param_1) {
|
||||
} else {
|
||||
setMotion(MOT_WAIT_A, -1.0f, 0);
|
||||
}
|
||||
}
|
||||
}
|
||||
} else if (mTalkFlag) {
|
||||
mMode = 0;
|
||||
|
||||
+485
-236
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user