Fix Eggmanland using incorrect exit transition

This commit is contained in:
Hyper 2024-10-20 14:02:31 +01:00
parent ecc1098ddc
commit 03fbb2f1ee

View file

@ -128,7 +128,7 @@ PPC_FUNC(sub_824DCF38)
3 - Tails Electric NOW LOADING w/ Info (requires context) 3 - Tails Electric NOW LOADING w/ Info (requires context)
4 - Arrows In/Out 4 - Arrows In/Out
5 - NOW LOADING 5 - NOW LOADING
6 - Theatre Mode 6 - Event Gallery
7 - NOW LOADING 7 - NOW LOADING
8 - Black Screen 8 - Black Screen
*/ */
@ -139,8 +139,8 @@ PPC_FUNC(sub_824DCF38)
if (m_pStageID) if (m_pStageID)
{ {
/* Fix restarting Eggmanland as the Werehog /* Fix restarting Eggmanland as the Werehog
erroneously using the Theatre Mode transition. */ erroneously using the Event Gallery transition. */
if (!strcmp(m_pStageID, "Act_EggmanLand")) if (ctx.r4.u32 == 6 && !strcmp(m_pStageID, "Act_EggmanLand"))
ctx.r4.u32 = 5; ctx.r4.u32 = 5;
} }