Renaming Actor.unk28
This commit is contained in:
@@ -371,7 +371,7 @@ void func_80388080(Actor *this){
|
||||
}
|
||||
}else{//L80388520
|
||||
if(local->unkC == 1){
|
||||
this->unk28 = 3.0f;
|
||||
this->actor_specific_1_f = 3.0f;
|
||||
if(mapSpecificFlags_get(0xC) || volatileFlag_get(VOLATILE_FLAG_C1_IN_FINAL_CHARACTER_PARADE)){//L80388554
|
||||
if(!func_80329030(this, 0) && func_80329480(this)){
|
||||
func_80328CEC(this, (s32)this->yaw, 0x78, 0xb4);
|
||||
@@ -391,7 +391,7 @@ void func_80388080(Actor *this){
|
||||
}
|
||||
}
|
||||
else if(local->unkC == 2){//L80388634
|
||||
this->unk28 = 4.0f;
|
||||
this->actor_specific_1_f = 4.0f;
|
||||
if(!func_80329030(this, 0) && func_80329480(this)){
|
||||
func_80328CEC(this, (s32)this->yaw, 0x78, 0xB4);
|
||||
this->unk38_0 = 1;
|
||||
@@ -426,9 +426,9 @@ void func_80388080(Actor *this){
|
||||
if(ml_distance_vec3f(this->position, this->unk1C) < 20.0f){
|
||||
func_80387E64(this);
|
||||
}
|
||||
this->unk28 = 5.0f;
|
||||
this->actor_specific_1_f = 5.0f;
|
||||
if(mapSpecificFlags_get(0xC) || (volatileFlag_get(VOLATILE_FLAG_C1_IN_FINAL_CHARACTER_PARADE))){ //L8038892C
|
||||
if(!func_80387FA8(this, local, (s32)this->yaw, (s32)this->unk28)){
|
||||
if(!func_80387FA8(this, local, (s32)this->yaw, (s32)this->actor_specific_1_f)){
|
||||
if(func_80329480(this)){
|
||||
func_80328CEC(this, (s32)this->yaw, 0x78, 0xb4);
|
||||
this->unk38_0 = 1;
|
||||
@@ -441,7 +441,7 @@ void func_80388080(Actor *this){
|
||||
this->unk1C_x -= local->unk0_x;
|
||||
this->unk1C_y -= local->unk0_y;
|
||||
this->unk1C_z -= local->unk0_z;
|
||||
TUPLE_ASSIGN(sp60, this->unk28, 0.0f, 0.0f);
|
||||
TUPLE_ASSIGN(sp60, this->actor_specific_1_f, 0.0f, 0.0f);
|
||||
ml_vec3f_yaw_rotate_copy(sp60, sp60, this->yaw - 90.0);
|
||||
local->unk0_x = sp60[0] + local->unk0_x;
|
||||
local->unk0_y = sp60[1] + local->unk0_y;
|
||||
|
@@ -414,10 +414,10 @@ void chsmmole_Update(Actor * this){
|
||||
this->unk1C_x = this->position_x;
|
||||
this->unk1C_y = this->position_y;
|
||||
this->unk1C_z = this->position_z;
|
||||
this->unk28 = 300.0f;
|
||||
this->actor_specific_1_f = 300.0f;
|
||||
} else{ //L80389A68
|
||||
nodeprop_getPosition(sp40, this->unk1C);
|
||||
this->unk28 = nodeprop_getRadius(sp40);
|
||||
this->actor_specific_1_f = nodeprop_getRadius(sp40);
|
||||
}//L80389A8C
|
||||
if(this->unkF4_8 == 1){
|
||||
if(volatileFlag_get(VOLATILE_FLAG_1) || volatileFlag_get(VOLATILE_FLAG_1F_IN_CHARACTER_PARADE)){
|
||||
@@ -458,7 +458,7 @@ void chsmmole_Update(Actor * this){
|
||||
|| (this->unkF4_8 == 8 && mapSpecificFlags_get(3) && !mapSpecificFlags_get(0xF))
|
||||
){//L80389C50
|
||||
|
||||
if( ((ml_distance_vec3f(sp44, this->unk1C) < this->unk28) && func_8028F20C())
|
||||
if( ((ml_distance_vec3f(sp44, this->unk1C) < this->actor_specific_1_f) && func_8028F20C())
|
||||
|| mapSpecificFlags_get(0x10)
|
||||
){//L80389C8C
|
||||
if(func_80329530(this, 0x96))
|
||||
|
Reference in New Issue
Block a user