mirror of
https://github.com/CTR-tools/CTR-ModSDK.git
synced 2025-01-23 13:37:09 +00:00
missing instances of level id enum
This commit is contained in:
parent
d0cdf78fdc
commit
f7670b72a4
@ -4,16 +4,7 @@ int LOAD_GetAdvPackIndex()
|
||||
{
|
||||
int levelID = sdata->gGT->levelID;
|
||||
|
||||
if(
|
||||
// Not on GemStone Valley
|
||||
(levelID != 0x19) &&
|
||||
|
||||
// Not on Glacier Park
|
||||
(levelID != 0x1c)
|
||||
)
|
||||
{
|
||||
return 1;
|
||||
}
|
||||
if ((levelID != GEM_STONE_VALLEY) && (levelID != GLACIER_PARK)) return 1;
|
||||
|
||||
return 2;
|
||||
}
|
@ -612,7 +612,7 @@ void RenderAllBoxSceneSplitLines(struct GameTracker* gGT)
|
||||
if(LOAD_IsOpen_Podiums() != 0)
|
||||
{
|
||||
// ND Box Scene
|
||||
if(gGT->levelID == 0x29)
|
||||
if(gGT->levelID == NAUGHTY_DOG_CRATE)
|
||||
{
|
||||
CS_BoxScene_InstanceSplitLines();
|
||||
}
|
||||
@ -829,13 +829,13 @@ void RenderAllLevelGeometry(struct GameTracker* gGT)
|
||||
|
||||
if(
|
||||
// adv character selection screen
|
||||
(gGT->levelID == 0x28) ||
|
||||
(gGT->levelID == ADVENTURE_CHARACTER_SELECT) ||
|
||||
|
||||
// cutscene that's not Crash Bandicoot intro
|
||||
// where he's sleeping and snoring on a hill
|
||||
(
|
||||
((gGT->gameMode1 & GAME_CUTSCENE) != 0) &&
|
||||
(gGT->levelID != 0x25)
|
||||
(gGT->levelID != INTRO_CRASH)
|
||||
)
|
||||
)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user