Workaround to allow market grass during night

This commit is contained in:
Fredrik Andréasson 2025-01-18 15:10:56 +01:00
parent f3a0726159
commit 6e699e3e67

View File

@ -2201,6 +2201,10 @@ GrassIdentity Randomizer::IdentifyGrass(s32 sceneNum, s32 posX, s32 posZ, s32 re
if (sceneNum == SCENE_GROTTOS) {
respawnData = TWO_ACTOR_PARAMS(posX, respawnData);
} else {
if (sceneNum == SCENE_MARKET_NIGHT) {
sceneNum = SCENE_MARKET_DAY;
}
respawnData = TWO_ACTOR_PARAMS(posX, posZ);
}