Added slider for Rupee Diving Game's time limit (#6476)

This commit is contained in:
Jordan Longstaff
2026-04-10 19:51:38 -04:00
committed by GitHub
parent 06b512faa9
commit b2f0cae9ec
4 changed files with 40 additions and 4 deletions
@@ -424,10 +424,12 @@ void func_809EE800(EnDivingGame* this, PlayState* play) {
SkelAnime_Update(&this->skelAnime);
if (this->unk_292 == Message_GetState(&play->msgCtx) && Message_ShouldAdvance(play)) {
Message_CloseTextbox(play);
if (!Flags_GetEventChkInf(EVENTCHKINF_OBTAINED_SILVER_SCALE)) {
Interface_SetTimer(BREG(2) + 50);
} else {
Interface_SetTimer(BREG(2) + 50);
if (GameInteractor_Should(VB_SET_DIVING_GAME_TIME_LIMIT, true)) {
if (!Flags_GetEventChkInf(EVENTCHKINF_OBTAINED_SILVER_SCALE)) {
Interface_SetTimer(BREG(2) + 50);
} else {
Interface_SetTimer(BREG(2) + 50);
}
}
func_800F5ACC(NA_BGM_TIMED_MINI_GAME);
Player_SetCsActionWithHaltedActors(play, NULL, 7);