fix sera bottle check if faorn twilight is cleared

This commit is contained in:
gymnast86
2026-05-10 03:02:27 -07:00
parent 4b363dab06
commit a6fda86ebf
+5
View File
@@ -205,6 +205,11 @@ void dSv_player_status_b_c::offDarkClearLV(int i_no) {
}
BOOL dSv_player_status_b_c::isDarkClearLV(int i_no) const {
#if TARGET_PC
if (i_no == 0 && playerIsInRoomStage(1, allStages[Ordon_Village_Interiors])) {
return 0; // Return false so Sera will give us the bottle if we have rescued the cat.
}
#endif
JUT_ASSERT(311, (i_no >= 0) && (i_no < 8));
return mDarkClearLevelFlag & (u8)(1 << i_no) ? TRUE : FALSE;
}