Fixed rupee drops from bushes during title screen

This commit is contained in:
MelonSpeedruns 2022-03-29 11:59:24 -04:00 committed by louist103
parent f3fe43b912
commit e1be01cb6d

View File

@ -300,7 +300,7 @@ void EnKusa_Main(EnKusa* this, GlobalContext* globalCtx) {
if (Actor_HasParent(&this->actor, globalCtx)) { if (Actor_HasParent(&this->actor, globalCtx)) {
EnKusa_SetupLiftedUp(this); EnKusa_SetupLiftedUp(this);
SoundSource_PlaySfxAtFixedWorldPos(globalCtx, &this->actor.world.pos, 20, NA_SE_PL_PULL_UP_PLANT); SoundSource_PlaySfxAtFixedWorldPos(globalCtx, &this->actor.world.pos, 20, NA_SE_PL_PULL_UP_PLANT);
} else if (this->collider.base.acFlags & AC_HIT) { } else if (this->collider.base.acFlags & AC_HIT && gGlobalCtx->csCtx.state == 0) {
this->collider.base.acFlags &= ~AC_HIT; this->collider.base.acFlags &= ~AC_HIT;
EnKusa_SpawnFragments(this, globalCtx); EnKusa_SpawnFragments(this, globalCtx);
EnKusa_DropCollectible(this, globalCtx); EnKusa_DropCollectible(this, globalCtx);