Fix Entrances

This commit is contained in:
Caladius 2024-03-07 14:15:17 -05:00
parent d5bf73ac51
commit 318e6089a0

View File

@ -344,10 +344,13 @@ void TimeSplitSplitsHandlerS(uint32_t itemID) {
void TimeSplitSceneSplitHandler(uint32_t entrance) { void TimeSplitSceneSplitHandler(uint32_t entrance) {
uint32_t loopCounter = 0; uint32_t loopCounter = 0;
if (entrance == ESCAPE_KOKIRI_FOREST && gSaveContext.cutsceneIndex != 0xfff0) {
return;
}
if (entrance != ESCAPE_LOST_WOODS && entrance != ESCAPE_KOKIRI_FOREST) {
entrance += 667;
}
for (auto& str : splitItem) { for (auto& str : splitItem) {
if (entrance == ESCAPE_KOKIRI_FOREST && gSaveContext.cutsceneIndex != 0xfff0) {
return;
}
if (entrance == splitItem[loopCounter]) { if (entrance == splitItem[loopCounter]) {
if (splitStatus[loopCounter] == 2) { if (splitStatus[loopCounter] == 2) {
splitTime[loopCounter] = GAMEPLAYSTAT_TOTAL_TIME; splitTime[loopCounter] = GAMEPLAYSTAT_TOTAL_TIME;