From a903e816380517fbbd6749c0b426e327434c110b Mon Sep 17 00:00:00 2001 From: Alejandro Javier Asenjo Nitti Date: Wed, 3 Apr 2024 01:02:07 -0300 Subject: [PATCH] fix level select for venom --- src/overlays/ovl_menu/fox_map.c | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/src/overlays/ovl_menu/fox_map.c b/src/overlays/ovl_menu/fox_map.c index 382b3ce6..e85f74e6 100644 --- a/src/overlays/ovl_menu/fox_map.c +++ b/src/overlays/ovl_menu/fox_map.c @@ -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);