Fix baguette (#459)

This commit is contained in:
Garrett Cox
2024-05-23 10:35:45 -05:00
committed by GitHub
parent 7f88f173a4
commit b73db51098
@@ -10,7 +10,7 @@ extern SaveContext gSaveContext;
void RegisterSkipClockTowerOpen() {
REGISTER_VB_SHOULD(GI_VB_PLAY_TRANSITION_CS, {
// Cutscene where clock tower opens. Will only show if the player is in Clock Town
if (ENTRANCE(SOUTH_CLOCK_TOWN, 0) && gSaveContext.save.cutsceneIndex == 0xFFF1 &&
if (gSaveContext.save.entrance == ENTRANCE(SOUTH_CLOCK_TOWN, 0) && gSaveContext.save.cutsceneIndex == 0xFFF1 &&
CVarGetInteger("gEnhancements.Cutscenes.SkipStoryCutscenes", 0)) {
// Setting the respawn flag to 2 will respawn the player where they were before the cutscene, consistent
// with the normal behavior