fix katina and venom briefing in level select

This commit is contained in:
Sonic Dreamcaster 2024-12-07 03:55:45 -03:00
parent cbaa2b5a4a
commit bff2324fae
2 changed files with 6 additions and 2 deletions

View File

@ -112,7 +112,7 @@ void Map_LevelSelect(void) {
} }
// Bypass briefing // Bypass briefing
if (CVarGetInteger("gSkipBriefing", 0) == 1) { if ((CVarGetInteger("gSkipBriefing", 0) == 1) || (sCurrentPlanetId == PLANET_VENOM)) {
if ((timer == 0) && (startLevel == 1)) { if ((timer == 0) && (startLevel == 1)) {
if ((sMapState == 2) && (sMapSubState > 0)) { if ((sMapState == 2) && (sMapSubState > 0)) {
if (sCurrentPlanetId == PLANET_VENOM) { if (sCurrentPlanetId == PLANET_VENOM) {

View File

@ -4093,6 +4093,10 @@ bool Map_LevelPlayedStatus_Check(PlanetId planet) {
case PLANET_SOLAR: case PLANET_SOLAR:
planetSaveSlot = SAVE_SLOT_SOLAR; planetSaveSlot = SAVE_SLOT_SOLAR;
break; break;
default:
planetSaveSlot = planet;
break;
} }
if (CVarGetInteger("gLevelSelector", 0) && gMissionNumber == 6) { if (CVarGetInteger("gLevelSelector", 0) && gMissionNumber == 6) {
@ -6086,7 +6090,7 @@ void Map_BriefingRadio_Update(void) {
if ((D_menu_801CF018 > 0) && (D_menu_801CF018 != 100)) { if ((D_menu_801CF018 > 0) && (D_menu_801CF018 != 100)) {
Map_BriefingRadio_Draw(gCurrentRadioPortrait); Map_BriefingRadio_Draw(gCurrentRadioPortrait);
Map_BriefingRadio_Draw(D_menu_801AF420[!D_menu_801CD940]); Map_BriefingRadio_Draw(D_menu_801AF420[!D_menu_801CD940]);
if (CVarGetInteger("gLevelSelector", 0) && (sCurrentPlanetId == 6)) { if (CVarGetInteger("gLevelSelector", 0) && (gMissionNumber == 6)) {
return; return;
} }
func_radio_800BB388(); func_radio_800BB388();