Skip water level change cutscenes in Water Temple (#4726)

* Skip water level change cutscenes in Water Temple

* Fix disappearing HUD issue
This commit is contained in:
Jordan Longstaff 2024-12-21 09:52:34 -05:00 committed by GitHub
parent c5923fafcf
commit 845e37936e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -215,11 +215,13 @@ void TimeSaverOnVanillaBehaviorHandler(GIVanillaBehavior id, bool* should, va_li
s16* csId = va_arg(args, s16*); s16* csId = va_arg(args, s16*);
BgSpot03Taki* taki = NULL; BgSpot03Taki* taki = NULL;
switch (*csId) { switch (*csId) {
case 3120:
case 3150: case 3150:
case 4180: case 4180:
case 4100: case 4100:
*should = false; *should = false;
RateLimitedSuccessChime(); RateLimitedSuccessChime();
Message_CloseTextbox(gPlayState);
taki = (BgSpot03Taki*)Actor_FindNearby(gPlayState, &GET_PLAYER(gPlayState)->actor, taki = (BgSpot03Taki*)Actor_FindNearby(gPlayState, &GET_PLAYER(gPlayState)->actor,
ACTOR_BG_SPOT03_TAKI, ACTORCAT_BG, 999.0f); ACTOR_BG_SPOT03_TAKI, ACTORCAT_BG, 999.0f);
if (taki != NULL) { if (taki != NULL) {