summaryrefslogtreecommitdiff
path: root/src/code/z_parameter.c
diff options
context:
space:
mode:
authorengineer124 <47598039+engineer124@users.noreply.github.com>2023-11-25 17:34:33 +1100
committerGitHub <noreply@github.com>2023-11-25 17:34:33 +1100
commitb25e64d1bd2ece30301f9fa5af78f963afd0cf76 (patch)
tree16bbd3fc0fb479b470351adfcbad35274abaf2c8 /src/code/z_parameter.c
parent919d3d81e012e58cf5a04db6559844bb4869e247 (diff)
`z_en_test4.c` Documented (#1498)
* begin docs * more docs * skybox * more cleanup * more cleanup * more cleanup * Improve comment * in-function static
Diffstat (limited to 'src/code/z_parameter.c')
-rw-r--r--src/code/z_parameter.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/code/z_parameter.c b/src/code/z_parameter.c
index db101efb5..9bf52c4e4 100644
--- a/src/code/z_parameter.c
+++ b/src/code/z_parameter.c
@@ -4405,7 +4405,8 @@ void Interface_DrawClock(PlayState* play) {
OPEN_DISPS(play->state.gfxCtx);
if ((R_TIME_SPEED != 0) &&
- ((msgCtx->msgMode == MSGMODE_NONE) || ((play->actorCtx.flags & ACTORCTX_FLAG_1) && !Play_InCsMode(play)) ||
+ ((msgCtx->msgMode == MSGMODE_NONE) ||
+ ((play->actorCtx.flags & ACTORCTX_FLAG_TELESCOPE_ON) && !Play_InCsMode(play)) ||
(msgCtx->msgMode == MSGMODE_NONE) || ((msgCtx->currentTextId >= 0x100) && (msgCtx->currentTextId <= 0x200)) ||
(gSaveContext.gameMode == GAMEMODE_END_CREDITS)) &&
!FrameAdvance_IsEnabled(&play->state) && !Environment_IsTimeStopped() && (gSaveContext.save.day <= 3)) {
@@ -4428,7 +4429,7 @@ void Interface_DrawClock(PlayState* play) {
sClockAlphaTimer1 = 0;
}
} else {
- if (play->actorCtx.flags & ACTORCTX_FLAG_1) {
+ if (play->actorCtx.flags & ACTORCTX_FLAG_TELESCOPE_ON) {
sThreeDayClockAlpha = 255;
} else {
sThreeDayClockAlpha = interfaceCtx->bAlpha;
@@ -4437,7 +4438,7 @@ void Interface_DrawClock(PlayState* play) {
sClockAlphaTimer1 = 0;
}
} else {
- if (play->actorCtx.flags & ACTORCTX_FLAG_1) {
+ if (play->actorCtx.flags & ACTORCTX_FLAG_TELESCOPE_ON) {
sThreeDayClockAlpha = 255;
} else {
sThreeDayClockAlpha = interfaceCtx->bAlpha;
@@ -5432,7 +5433,7 @@ void Interface_DrawPerfectLetters(PlayState* play) {
}
void Interface_StartMoonCrash(PlayState* play) {
- if (play->actorCtx.flags & ACTORCTX_FLAG_1) {
+ if (play->actorCtx.flags & ACTORCTX_FLAG_TELESCOPE_ON) {
SEQCMD_DISABLE_PLAY_SEQUENCES(false);
}