mirror of
https://github.com/HarbourMasters/Shipwright
synced 2026-08-15 05:10:21 -04:00
bushsanity (#5941)
This commit is contained in:
@@ -403,12 +403,14 @@ void EnWood02_Update(Actor* thisx, PlayState* play2) {
|
||||
(player->linearVelocity != 0.0f)) ||
|
||||
((player->rideActor != NULL) && (sqrt(this->actor.xyzDistToPlayerSq) < 60.0) &&
|
||||
(player->rideActor->speedXZ != 0.0f))) {
|
||||
if ((this->unk_14C >= 0) && (this->unk_14C < 0x64)) {
|
||||
Item_DropCollectibleRandom(play, &this->actor, &this->actor.world.pos,
|
||||
((this->unk_14C << 4) | 0x8000));
|
||||
if (GameInteractor_Should(VB_BUSH_DROP_ITEM, true, this)) {
|
||||
if ((this->unk_14C >= 0) && (this->unk_14C < 0x64)) {
|
||||
Item_DropCollectibleRandom(play, &this->actor, &this->actor.world.pos,
|
||||
((this->unk_14C << 4) | 0x8000));
|
||||
}
|
||||
this->unk_14C = -0x15;
|
||||
Audio_PlayActorSound2(&this->actor, NA_SE_EV_TREE_SWING);
|
||||
}
|
||||
this->unk_14C = -0x15;
|
||||
Audio_PlayActorSound2(&this->actor, NA_SE_EV_TREE_SWING);
|
||||
}
|
||||
}
|
||||
} else { // Leaves
|
||||
|
||||
Reference in New Issue
Block a user