diff options
Diffstat (limited to 'soh/src/code')
| -rw-r--r-- | soh/src/code/z_play.c | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/soh/src/code/z_play.c b/soh/src/code/z_play.c index b1a714dcb..89583e598 100644 --- a/soh/src/code/z_play.c +++ b/soh/src/code/z_play.c @@ -1180,15 +1180,17 @@ void Play_Update(PlayState* play) { } if (play->actorCtx.freezeFlashTimer && (play->actorCtx.freezeFlashTimer-- < 5)) { - osSyncPrintf("FINISH=%d\n", play->actorCtx.freezeFlashTimer); - - if ((play->actorCtx.freezeFlashTimer > 0) && ((play->actorCtx.freezeFlashTimer % 2) != 0)) { - play->envCtx.fillScreen = true; - play->envCtx.screenFillColor[0] = play->envCtx.screenFillColor[1] = - play->envCtx.screenFillColor[2] = 150; - play->envCtx.screenFillColor[3] = 80; - } else { - play->envCtx.fillScreen = false; + if (GameInteractor_Should(VB_FLASH_SCREEN_FOR_FINISHING_BLOW, true)) { + osSyncPrintf("FINISH=%d\n", play->actorCtx.freezeFlashTimer); + + if ((play->actorCtx.freezeFlashTimer > 0) && ((play->actorCtx.freezeFlashTimer % 2) != 0)) { + play->envCtx.fillScreen = true; + play->envCtx.screenFillColor[0] = play->envCtx.screenFillColor[1] = + play->envCtx.screenFillColor[2] = 150; + play->envCtx.screenFillColor[3] = 80; + } else { + play->envCtx.fillScreen = false; + } } } else { PLAY_LOG(3606); |
