Disable Screen Flash for Finishing Blow option (#5988)
This commit is contained in:
@@ -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 (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;
|
||||
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);
|
||||
|
||||
Reference in New Issue
Block a user