mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2025-02-05 19:00:01 +01:00
now closes debug windows after giving all TMs
This commit is contained in:
parent
174867c612
commit
5bb92efa5b
@ -1539,6 +1539,8 @@ static void DebugAction_Give_AllTMs(u8 taskId)
|
||||
for (i = ITEM_TM01; i <= ITEM_TM50; i++)
|
||||
if(!CheckBagHasItem(i, 1))
|
||||
AddBagItem(i, 1);
|
||||
Debug_DestroyMenu(taskId);
|
||||
EnableBothScriptContexts();
|
||||
}
|
||||
|
||||
//Pokemon
|
||||
|
Loading…
x
Reference in New Issue
Block a user