Skip to content

Commit

Permalink
Merge pull request #92 from JCog/tidal-wave-crash
Browse files Browse the repository at this point in the history
Fix tidal wave crash
  • Loading branch information
JCog authored Sep 25, 2024
2 parents 71eaa89 + b005286 commit 39c64bd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/fp.c
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,9 @@ void fpUpdateCheats(void) {
}
}
if (CHEAT_ACTIVE(CHEAT_AUTO_ACTION_CMD)) {
pm_gActionCommandStatus.autoSucceed = 1;
// prevent tidal wave crash
pm_gActionCommandStatus.autoSucceed =
pm_gActionCommandStatus.actionCommandID != 23 || pm_gActionCommandStatus.unk_5D < 14;
}
if (CHEAT_ACTIVE(CHEAT_BRIGHTEN_ROOM)) {
pm_set_screen_overlay_alpha(1, 0);
Expand Down

0 comments on commit 39c64bd

Please sign in to comment.