documentation: core2/ba/physics
This commit is contained in:
@@ -42,7 +42,7 @@ void chwadingboots_update(Actor *this){
|
||||
this->initialized = TRUE;
|
||||
this->velocity[0] = this->yaw;
|
||||
this->unk10_12 = !func_803203FC(UNKFLAGS1_1F_IN_CHARACTER_PARADE) && !func_803203FC(0x1);
|
||||
func_80328A84(this, 0);
|
||||
subaddie_set_state(this, 0);
|
||||
}
|
||||
|
||||
if(!func_803203FC(0x10) && ability_isUnlocked(ABILITY_E_WADING_BOOTS)){
|
||||
@@ -78,14 +78,14 @@ void chwadingboots_update(Actor *this){
|
||||
case 1://L802D6D34
|
||||
this->velocity[1] -= time_getDelta();
|
||||
if(this->velocity[1] <= 0.0f){
|
||||
func_80328A84(this, 2);
|
||||
subaddie_set_state(this, 2);
|
||||
}
|
||||
break;
|
||||
|
||||
case 2://L802D6D74
|
||||
if(player_stateTimer_get(STATE_TIMER_2_LONGLEG) == 0.0f){
|
||||
this->velocity[1] = 1.5f;
|
||||
func_80328A84(this, 3);
|
||||
subaddie_set_state(this, 3);
|
||||
}
|
||||
break;
|
||||
|
||||
@@ -93,7 +93,7 @@ void chwadingboots_update(Actor *this){
|
||||
this->velocity[1] -= time_getDelta();
|
||||
if(this->velocity[1] <= 0.0f){
|
||||
this->unk10_12 = 1;
|
||||
func_80328A84(this, 0);
|
||||
subaddie_set_state(this, 0);
|
||||
}
|
||||
break;
|
||||
}//L802D6DFC
|
||||
@@ -108,7 +108,7 @@ f32 chwadingboots_802D6E4C(Actor *this){
|
||||
}
|
||||
|
||||
void chwadingboots_802D6E54(Actor *this){
|
||||
func_80328A84(this, 1);
|
||||
subaddie_set_state(this, 1);
|
||||
this->velocity[1] = 1.5f;
|
||||
this->unk10_12 = 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user