fight documentation

This commit is contained in:
Banjo Kazooie
2022-10-08 22:07:56 -05:00
parent c0b005fa3d
commit cd222d498a
106 changed files with 1120 additions and 880 deletions

View File

@@ -378,7 +378,7 @@ void func_80388080(Actor *this){
this->unk38_0 = 1;
}//L803885A0
if(func_803292E0(this)){
this->yaw_moving = func_80329784(this);
this->yaw_ideal = func_80329784(this);
}
else{//L803885CC
if(randf() < 0.02){
@@ -387,7 +387,7 @@ void func_80388080(Actor *this){
}//L80388B68
}
else{//L80388618
this->yaw_moving = func_80329784(this);
this->yaw_ideal = func_80329784(this);
}
}
else if(local->unkC == 2){//L80388634
@@ -397,7 +397,7 @@ void func_80388080(Actor *this){
this->unk38_0 = 1;
}//L80388698
if(mapSpecificFlags_get(0xC) || (func_803203FC(UNKFLAGS1_C1_IN_FINAL_CHARACTER_PARADE) && func_803292E0(this))){
this->yaw_moving = func_80329784(this);
this->yaw_ideal = func_80329784(this);
}else{//L803886E4
if(randf() < 0.02){//D_8038B1D0){
func_80328CEC(this, (s32)this->yaw, 0x1E, 0x5A);
@@ -454,7 +454,7 @@ void func_80388080(Actor *this){
this->unk1C_z = local->unk0_z + this->unk1C_z;
}//L80388AD8
if(func_803292E0(this)){
this->yaw_moving = func_80329784(this);
this->yaw_ideal = func_80329784(this);
}else{//L80388B04
if(randf() < 0.01){
func_80328CEC(this, (s32)this->yaw, 0x1e, 0x5A);
@@ -462,7 +462,7 @@ void func_80388080(Actor *this){
}
}else{
//L80388B50
this->yaw_moving = func_80329784(this);
this->yaw_ideal = func_80329784(this);
}
}

View File

@@ -407,7 +407,7 @@ void func_803899B0(Actor * this){
}//L80389B20
if(!this->unk16C_4){
func_802C3C88((GenMethod_1)func_80389948, reinterpret_cast(s32, this->marker));
__spawnqueue_add_1((GenMethod_1)func_80389948, reinterpret_cast(s32, this->marker));
this->unk16C_4 = 1;
}//L80389B4C
@@ -420,7 +420,7 @@ void func_803899B0(Actor * this){
switch (this->state)
{
case 1://L80389BAC
this->yaw_moving = (f32)func_80329784(this);
this->yaw_ideal = (f32)func_80329784(this);
func_80328FB0(this, 4.0f);
if( (this->unkF4_8 == 1 && !mapSpecificFlags_get(1))
|| (this->unkF4_8 == 8 && !mapSpecificFlags_get(2))
@@ -467,7 +467,7 @@ void func_803899B0(Actor * this){
}
break;
case 2://L80389E2C
this->yaw_moving = func_80329784(this);
this->yaw_ideal = func_80329784(this);
func_80328FB0(this, 4.0f);
if( (f64) 0.0 < animctrl_getAnimTimer(this->animctrl)
&& animctrl_getAnimTimer(this->animctrl) < 0.16
@@ -494,7 +494,7 @@ void func_803899B0(Actor * this){
}
break;
case 3://L80389FAC
this->yaw_moving = func_80329784(this);
this->yaw_ideal = func_80329784(this);
func_80328FB0(this, 4.0f);
if( ( actor_animationIsAt(this, 0.37f)
|| actor_animationIsAt(this, 0.66f)

View File

@@ -48,8 +48,8 @@ void func_8038A8F8(Actor *this){
if( !mapSpecificFlags_get(2)
|| (mapSpecificFlags_get(3) && !mapSpecificFlags_get(0xf))
){ //L8038AA54
this->yaw_moving = ml_vec3f_distance(this->velocity, this->unk1C) / 150.0;
func_8028F3D8(this->unk1C, this->yaw_moving, func_8038A8C0, this->marker);
this->yaw_ideal = ml_vec3f_distance(this->velocity, this->unk1C) / 150.0;
func_8028F3D8(this->unk1C, this->yaw_ideal, func_8038A8C0, this->marker);
mapSpecificFlags_set(0x10, 1);
}
}