Skip to content

Commit

Permalink
ADD: Synch Red Ice
Browse files Browse the repository at this point in the history
  • Loading branch information
PurpleHato committed Sep 1, 2023
1 parent aef1b2f commit 1942bda
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions soh/src/overlays/actors/ovl_Bg_Ice_Shelter/z_bg_ice_shelter.c
Original file line number Diff line number Diff line change
Expand Up @@ -332,10 +332,11 @@ void func_8089107C(BgIceShelter* this, PlayState* play) {
MeltOnIceArrowHit(this, this->cylinder2, type, play);
}
// Default blue fire check
if (this->cylinder1.base.acFlags & AC_HIT) {
if ((this->cylinder1.base.acFlags & AC_HIT) || Flags_GetSwitch(play, this->dyna.actor.params & 0x3F)) {
this->cylinder1.base.acFlags &= ~AC_HIT;

if ((this->cylinder1.base.ac != NULL) && (this->cylinder1.base.ac->id == ACTOR_EN_ICE_HONO)) {
if (((this->cylinder1.base.ac != NULL) && (this->cylinder1.base.ac->id == ACTOR_EN_ICE_HONO)) ||
Flags_GetSwitch(play, this->dyna.actor.params & 0x3F)) {
if (type == 4) {
if (this->dyna.actor.parent != NULL) {
this->dyna.actor.parent->freezeTimer = 50;
Expand Down

0 comments on commit 1942bda

Please sign in to comment.