fix script context func names

This commit is contained in:
ghoulslash 2023-05-21 12:56:15 -04:00
parent 0585123da9
commit 9bf64085ba

View file

@ -1356,14 +1356,14 @@ static void Task_ExitStairs(u8 taskId)
if (WaitForWeatherFadeIn() == TRUE)
{
CameraObjectReset1();
ScriptContext2_Disable();
UnlockPlayerFieldControls();
DestroyTask(taskId);
}
break;
case 0:
Overworld_PlaySpecialMapMusic();
WarpFadeInScreen();
ScriptContext2_Enable();
LockPlayerFieldControls();
ExitStairsMovement(&data[1], &data[2], &data[3], &data[4], &data[5]);
data[0]++;
break;
@ -1425,7 +1425,7 @@ static void Task_StairWarp(u8 taskId)
switch (data[0])
{
case 0:
ScriptContext2_Enable();
LockPlayerFieldControls();
FreezeObjectEvents();
CameraObjectReset2();
data[0]++;