Bool values naming
This commit is contained in:
@@ -20,5 +20,5 @@ void func_8038FCB0(Actor *this){
|
||||
return;
|
||||
this->marker->propPtr->unk8_3 = 1;
|
||||
actor_collisionOff(this);
|
||||
this->initialized = 1;
|
||||
this->initialized = TRUE;
|
||||
}
|
||||
|
@@ -74,8 +74,8 @@ void chmudhut_update(Actor *this){
|
||||
|
||||
if(func_80334904() == 2){
|
||||
if(!this->initialized){
|
||||
this->marker->collidable = 0;
|
||||
this->initialized = 1;
|
||||
this->marker->collidable = FALSE;
|
||||
this->initialized = TRUE;
|
||||
}
|
||||
|
||||
switch(this->state){
|
||||
|
@@ -63,7 +63,7 @@ void chpinkegg_spawn_next(ActorMarker * arg0, u32 arg1){
|
||||
|
||||
((ActorLocal_PinkEgg *) &unkActor->local)->unk0 = arg1 + 1;
|
||||
((ActorLocal_PinkEgg *) &unkActor->local)->unk4 = 5;
|
||||
unkActor->marker->collidable = 0;
|
||||
unkActor->marker->collidable = FALSE;
|
||||
|
||||
}
|
||||
|
||||
@@ -87,7 +87,7 @@ void chpinkegg_collision(ActorMarker *this, ActorMarker *other_marker){
|
||||
sfxsource_play(SFX_AA_BGS_EGG_BREAKING_1, 28000);
|
||||
subaddie_set_state(thisActor, 3);
|
||||
actor_playAnimationOnce(thisActor);
|
||||
this->collidable = 0;
|
||||
this->collidable = FALSE;
|
||||
thisActor->unk124_6 = 0;
|
||||
if(D_803906C4[(tmp = (ActorLocal_PinkEgg *) &thisActor->local)->unk0] != 0){
|
||||
__spawnQueue_add_2(chpinkegg_spawn_next, thisActor->marker, tmp->unk0);
|
||||
@@ -101,13 +101,13 @@ void chpinkegg_update(Actor *this){
|
||||
if(!this->initialized){
|
||||
this->marker->propPtr->unk8_3 = 1;
|
||||
marker_setCollisionScripts(this->marker, NULL, NULL, chpinkegg_collision);
|
||||
this->initialized = 1;
|
||||
this->initialized = TRUE;
|
||||
}
|
||||
|
||||
switch(this->state){
|
||||
case 1:
|
||||
if(!((ActorLocal_PinkEgg *) &this->local)->unk4){
|
||||
this->marker->collidable = 1;
|
||||
this->marker->collidable = TRUE;
|
||||
subaddie_set_state(this,2);
|
||||
|
||||
}else{
|
||||
|
@@ -112,7 +112,7 @@ void func_8038F6A4(Actor *this)
|
||||
nodeprop_getPosition(temp_v0, local->unk18);
|
||||
}
|
||||
this->unk138_24 = 0;
|
||||
this->initialized = 1;
|
||||
this->initialized = TRUE;
|
||||
}
|
||||
if (!this->unk16C_4)
|
||||
{
|
||||
|
Reference in New Issue
Block a user