misc documentation

This commit is contained in:
Banjo Kazooie
2023-01-30 00:02:44 -06:00
parent da9a0109b5
commit cd146f444f
258 changed files with 2526 additions and 3594 deletions

View File

@@ -172,7 +172,7 @@ void func_8038687C(Actor *this) {
other->position[1] = this->position[1] + sp6C[1];
other->position[2] = this->position[2] + sp6C[2];
}
if (func_8025773C(&local->unkC, sp88)) {
if (ml_timer_update(&local->unkC, sp88)) {
if ((local->unk4 < 3) && ((local->unk8 + local->unk4) < 10)) {
player_getPosition(sp5C);
for(phi_s0 = 0; phi_s0 < 20; phi_s0++){
@@ -180,10 +180,10 @@ void func_8038687C(Actor *this) {
sp4C[1] = -100.0f;
sp4C[2] = randf2(-500.0f, 900.0f);
if(ml_vec3f_distance(this->position, sp4C) < 400.0f)
if(ml_distance_vec3f(this->position, sp4C) < 400.0f)
continue;
tmp = ml_vec3f_distance(sp5C, sp4C);
tmp = ml_distance_vec3f(sp5C, sp4C);
phi_v0 = (phi_s0 < 0xA) ? 500 : 200;
if(tmp < (f32) phi_v0)
continue;
@@ -204,7 +204,7 @@ void func_8038687C(Actor *this) {
func_803865F4(this, 3);
} else if ((local->unk0 != NULL) && (map_get() == MAP_5A_CCW_SUMMER_ZUBBA_HIVE)) {
player_getPosition(sp40);
if ((ml_vec3f_distance(this->position, sp40) < 300.0f) && (player_getTransformation() == TRANSFORM_1_BANJO)) {
if ((ml_distance_vec3f(this->position, sp40) < 300.0f) && (player_getTransformation() == TRANSFORM_1_BANJO)) {
func_803865F4(this, 2);
}
}