mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2024-10-31 15:45:06 -04:00
Fix Entrances
This commit is contained in:
parent
d5bf73ac51
commit
318e6089a0
@ -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;
|
||||||
@ -364,7 +367,7 @@ void TimeSplitSceneSplitHandler(uint32_t entrance) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
loopCounter++;
|
loopCounter++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void TimeSplitSplitsHandler(GetItemEntry itemEntry) {
|
void TimeSplitSplitsHandler(GetItemEntry itemEntry) {
|
||||||
|
Loading…
Reference in New Issue
Block a user