mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2025-01-31 08:23:56 +01:00
Update src/pokemon_storage_system.c
Co-authored-by: LOuroboros <lunosouroboros@gmail.com>
This commit is contained in:
parent
79c4fa560f
commit
155465a919
@ -1669,12 +1669,15 @@ static void FieldTask_ReturnToPcMenu(void)
|
||||
MainCallback vblankCb = gMain.vblankCallback;
|
||||
|
||||
SetVBlankCallback(NULL);
|
||||
if (!FlagGet(FLAG_SYS_PC_FROM_DEBUG_MENU)) {
|
||||
if (!FlagGet(FLAG_SYS_PC_FROM_DEBUG_MENU))
|
||||
{
|
||||
taskId = CreateTask(Task_PCMainMenu, 80);
|
||||
gTasks[taskId].tState = 0;
|
||||
gTasks[taskId].tSelectedOption = sPreviousBoxOption;
|
||||
Task_PCMainMenu(taskId);
|
||||
} else {
|
||||
}
|
||||
else
|
||||
{
|
||||
FlagClear(FLAG_SYS_PC_FROM_DEBUG_MENU);
|
||||
ScriptContext_Enable();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user