code_9E370.c progress

This commit is contained in:
Banjo Kazooie
2022-07-27 19:34:05 -05:00
parent f9588fa0c1
commit 19b01cf810
26 changed files with 95 additions and 48 deletions

View File

@@ -30,7 +30,7 @@ void func_8038FF54(Actor *this){
ParticleEmitter *sp3C;
if( func_8038BFA0() ) return;
if( !actor_playerIsWithinDist(this, 4500) ) return;
if( !subaddie_playerIsWithinSphere(this, 4500) ) return;
this->marker->propPtr->unk8_3 = FALSE;
actor_collisionOff(this);

View File

@@ -577,7 +577,7 @@ void func_803896FC(Actor *this){
case 11:// L80389F20
func_803890DC(this, local->unk19);
if(!actor_playerIsWithinDist(this, 2000)
if(!subaddie_playerIsWithinSphere(this, 2000)
&& !this->marker->unk14_21
){
switch(local->unk19){

View File

@@ -195,7 +195,7 @@ void func_8038F7AC(Actor *this){
}
}//L8038F910
if(func_8038BFA0() || this->unk38_31 || !actor_playerIsWithinDist(this, 3000)){
if(func_8038BFA0() || this->unk38_31 || !subaddie_playerIsWithinSphere(this, 3000)){
actor_collisionOff(this);
return;
}

View File

@@ -127,7 +127,7 @@ void func_80391180(Actor *this){
this->unk58_0 = func_8038DD14() ? 0 : 1;
if(this->marker->unk14_20 == 0x21F){
this->marker->unk40_22 = actor_playerIsWithinDist(this, 2000) ? 1 : 0;
this->marker->unk40_22 = subaddie_playerIsWithinSphere(this, 2000) ? 1 : 0;
}
}