mirror of
https://github.com/HarbourMasters/Shipwright
synced 2026-08-27 00:44:04 -04:00
Clear fire timer when blue warp skip bypasses chamber of sage (#7112)
Avoids timer from Volvagia carrying over to DMC
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
#include <libultraship/libultra.h>
|
||||
#include "z64math.h"
|
||||
#include "z64audio.h"
|
||||
#include "soh/Enhancements/randomizer/randomizerTypes.h"
|
||||
#include "soh/Enhancements/randomizer/randomizerEnums.h"
|
||||
#include "soh/Enhancements/gameplaystats.h"
|
||||
#include "soh/Enhancements/randomizer/randomizer_entrance.h"
|
||||
#include "soh/Enhancements/boss-rush/BossRush.h"
|
||||
|
||||
@@ -157,6 +157,11 @@ void RegisterShouldPlayBlueWarp() {
|
||||
}
|
||||
|
||||
if (isBlueWarpCutscene) {
|
||||
// Skip bypasses Chamber of Sages, which would have cleared heat timer
|
||||
if (gSaveContext.timerState <= TIMER_STATE_ENV_HAZARD_TICK) {
|
||||
gSaveContext.timerState = TIMER_STATE_OFF;
|
||||
}
|
||||
|
||||
if (gSaveContext.entranceIndex != ENTR_LAKE_HYLIA_WATER_TEMPLE_BLUE_WARP) {
|
||||
// Normally set in the blue warp cutscene
|
||||
gSaveContext.dayTime = gSaveContext.skyboxTime = 0x8000;
|
||||
|
||||
Reference in New Issue
Block a user