Skip to content

Commit

Permalink
ADD: More Actor Synch
Browse files Browse the repository at this point in the history
DMT, Shadow Temple Bombable Walls
Deku Tree Lader
  • Loading branch information
PurpleHato committed Sep 2, 2023
1 parent 09e9747 commit 7c6735c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion soh/src/overlays/actors/ovl_Bg_Bombwall/z_bg_bombwall.c
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ void func_8086ED50(BgBombwall* this, PlayState* play) {
}

void func_8086ED70(BgBombwall* this, PlayState* play) {
if (this->collider.base.acFlags & AC_HIT) {
if ((this->collider.base.acFlags & AC_HIT) || Flags_GetSwitch(play, this->dyna.actor.params & 0x3F)) {
this->collider.base.acFlags &= ~AC_HIT;
func_8086EDFC(this, play);
Flags_SetSwitch(play, this->dyna.actor.params & 0x3F);
Expand Down
2 changes: 1 addition & 1 deletion soh/src/overlays/actors/ovl_Bg_Haka_Zou/z_bg_haka_zou.c
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ void func_80882E54(BgHakaZou* this, PlayState* play) {
}

void func_80883000(BgHakaZou* this, PlayState* play) {
if (this->collider.base.acFlags & AC_HIT) {
if (this->collider.base.acFlags & AC_HIT || Flags_GetSwitch(play, this->switchFlag)) {
Flags_SetSwitch(play, this->switchFlag);

if (this->dyna.actor.params == STA_GIANT_BIRD_STATUE) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ void func_808BEFF4(BgYdanMaruta* this, PlayState* play) {
}

void func_808BF078(BgYdanMaruta* this, PlayState* play) {
if (this->collider.base.acFlags & AC_HIT) {
if (this->collider.base.acFlags & AC_HIT || Flags_GetSwitch(play, this->switchFlag)) {
this->unk_16A = 20;
Flags_SetSwitch(play, this->switchFlag);
func_80078884(NA_SE_SY_CORRECT_CHIME);
Expand Down

0 comments on commit 7c6735c

Please sign in to comment.