fix script context func names
This commit is contained in:
parent
0585123da9
commit
9bf64085ba
1 changed files with 3 additions and 3 deletions
|
@ -1356,14 +1356,14 @@ static void Task_ExitStairs(u8 taskId)
|
||||||
if (WaitForWeatherFadeIn() == TRUE)
|
if (WaitForWeatherFadeIn() == TRUE)
|
||||||
{
|
{
|
||||||
CameraObjectReset1();
|
CameraObjectReset1();
|
||||||
ScriptContext2_Disable();
|
UnlockPlayerFieldControls();
|
||||||
DestroyTask(taskId);
|
DestroyTask(taskId);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case 0:
|
case 0:
|
||||||
Overworld_PlaySpecialMapMusic();
|
Overworld_PlaySpecialMapMusic();
|
||||||
WarpFadeInScreen();
|
WarpFadeInScreen();
|
||||||
ScriptContext2_Enable();
|
LockPlayerFieldControls();
|
||||||
ExitStairsMovement(&data[1], &data[2], &data[3], &data[4], &data[5]);
|
ExitStairsMovement(&data[1], &data[2], &data[3], &data[4], &data[5]);
|
||||||
data[0]++;
|
data[0]++;
|
||||||
break;
|
break;
|
||||||
|
@ -1425,7 +1425,7 @@ static void Task_StairWarp(u8 taskId)
|
||||||
switch (data[0])
|
switch (data[0])
|
||||||
{
|
{
|
||||||
case 0:
|
case 0:
|
||||||
ScriptContext2_Enable();
|
LockPlayerFieldControls();
|
||||||
FreezeObjectEvents();
|
FreezeObjectEvents();
|
||||||
CameraObjectReset2();
|
CameraObjectReset2();
|
||||||
data[0]++;
|
data[0]++;
|
||||||
|
|
Loading…
Reference in a new issue