fix level select for venom

This commit is contained in:
Alejandro Javier Asenjo Nitti
2024-04-03 01:02:07 -03:00
parent b8ee8bc770
commit a903e81638
+11 -5
View File
@@ -4098,11 +4098,11 @@ bool Map_801A62FC(PlanetId planet) {
break;
}
#ifdef MOD_LEVEL_SELECT
if (gCurrentPlanet == 15) {
return false;
}
#endif
#if MODS_LEVEL_SELECT == 1
if (gCurrentPlanet == 6) {
return false;
}
#endif
if (gSaveFile.save.data.planet[planetSaveSlot].played & 1) {
ret = false;
@@ -5399,6 +5399,12 @@ void Map_801A9A8C(void) {
RCP_SetupDL(&gMasterDisp, 0x53);
gDPSetPrimColor(gMasterDisp++, 0, 0, 255, 255, 255, 255);
#if MODS_LEVEL_SELECT == 1
if (gCurrentPlanet == 6) {
return;
}
#endif
TextureRect_8bIA(&gMasterDisp, &D_5000500, 112, 19, D_menu_801B6AC0[0], D_menu_801B6AC8[0], 1.0f, 1.0f);
TextureRect_8bIA(&gMasterDisp, sp54, 16, 15, D_menu_801B6AC0[1], D_menu_801B6AC8[1], 1.0f, 1.0f);