mirror of
https://github.com/zeldaret/tmc
synced 2026-08-18 21:48:21 -04:00
clean up linkAnimation.c
This commit is contained in:
@@ -211,7 +211,7 @@ void BusinessScrub_Action3(Entity* this) {
|
||||
if (iVar1 != NULL) {
|
||||
iVar1->spritePriority.b0 = 3;
|
||||
iVar1->z.HALF.HI -= 12;
|
||||
SetDefaultPriority(iVar1, PRIO_MESSAGE);
|
||||
SetEntityPriority(iVar1, PRIO_MESSAGE);
|
||||
}
|
||||
SetFlag(this->field_0x86.HWORD);
|
||||
sub_0802925C(this);
|
||||
|
||||
@@ -54,7 +54,7 @@ void BusinessScrubPrologue_OnCollision(BusinessScrubPrologueEntity* this) {
|
||||
|
||||
gPlayerState.field_0x27[0] = 0xff;
|
||||
EnqueueSFX(SFX_EM_DEKUSCRUB_HIT);
|
||||
SetDefaultPriority(super, PRIO_MESSAGE);
|
||||
SetEntityPriority(super, PRIO_MESSAGE);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -189,7 +189,7 @@ void sub_08045E14(BusinessScrubPrologueEntity* this) {
|
||||
if (ent != NULL) {
|
||||
ent->spritePriority.b0 = 3;
|
||||
ent->z.HALF.HI -= 0xc;
|
||||
SetDefaultPriority(ent, PRIO_MESSAGE);
|
||||
SetEntityPriority(ent, PRIO_MESSAGE);
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
||||
@@ -73,7 +73,7 @@ void LikeLike_OnCollision(LikeLikeEntity* this) {
|
||||
|
||||
void LikeLike_OnDeath(LikeLikeEntity* this) {
|
||||
if (super->timer == 2 && this->stolenItem != 0xff) {
|
||||
SetDefaultPriority(super, PRIO_NO_BLOCK);
|
||||
SetEntityPriority(super, PRIO_NO_BLOCK);
|
||||
LikeLike_ReturnStolenItem(this->stolenItem);
|
||||
}
|
||||
GenericDeath(super);
|
||||
|
||||
Reference in New Issue
Block a user