Skip to content

Commit

Permalink
ADD: z_en_firefly
Browse files Browse the repository at this point in the history
  • Loading branch information
PurpleHato committed Oct 21, 2023
1 parent a25202f commit 3377a45
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion soh/src/overlays/actors/ovl_En_Firefly/z_en_firefly.c
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,9 @@ void EnFirefly_SetupFall(EnFirefly* this) {
Animation_Change(&this->skelAnime, &gKeeseFlyAnim, 0.5f, 0.0f, 0.0f, ANIMMODE_LOOP_INTERP, -3.0f);
Audio_PlayActorSound2(&this->actor, NA_SE_EN_FFLY_DEAD);
this->actor.flags |= ACTOR_FLAG_UPDATE_WHILE_CULLED;
Actor_SetColorFilter(&this->actor, 0x4000, 0xFF, 0, 40);
if (!CVarGetInteger("gPhotosensitiveMode", 0)) {
Actor_SetColorFilter(&this->actor, 0x4000, 0xFF, 0, 40);
}
this->actionFunc = EnFirefly_Fall;
}

Expand Down

0 comments on commit 3377a45

Please sign in to comment.