mirror of
https://github.com/zeldaret/tp
synced 2026-09-06 10:55:34 -04:00
d_a_mg_rod a little closer to matching (#2857)
* closer to matching * build error fix * PR cleanup
This commit is contained in:
@@ -95,7 +95,7 @@ static void hit_vib_set(mg_fish_class* i_this) {
|
||||
static s32 vib_p[4] = { 1, 2, 3, 4 };
|
||||
|
||||
dmg_rod_class* rod = (dmg_rod_class*)fopAcM_SearchByID(i_this->mRodId);
|
||||
if (rod != NULL && rod->field_0x10ab == 0) {
|
||||
if (rod != NULL && rod->vib_timer == 0) {
|
||||
s32 vib_index = (rod->field_0xf60 - 100.0f) * 0.02f;
|
||||
if (vib_index < 0) {
|
||||
vib_index = 0;
|
||||
@@ -1584,8 +1584,8 @@ static void mf_lure_search(mg_fish_class* i_this) {
|
||||
rod->field_0x1410 = 0.0f;
|
||||
dKy_Sound_set(i_this->actor.current.pos, 40.0f * i_this->mJointScale,
|
||||
fopAcM_GetID(i_this), 5);
|
||||
rod->field_0x10ab = 5;
|
||||
rod->field_0x10aa = 3;
|
||||
rod->vib_timer = 5;
|
||||
rod->vibmode = VIBMODE_S_POWER3;
|
||||
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user