mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2025-03-06 23:48:02 +01:00
Merge pull request #2475 from Bassoonian/gen9moves
Set FLAG_SYS_POKEMON_GET when debug gifting yourself a Pokémon
This commit is contained in:
commit
db32032781
@ -2178,6 +2178,8 @@ static void DebugAction_Give_Pokemon_SelectLevel(u8 taskId)
|
||||
{
|
||||
PlaySE(MUS_LEVEL_UP);
|
||||
ScriptGiveMon(sDebugMonData->mon_speciesId, gTasks[taskId].data[3], ITEM_NONE, 0,0,0);
|
||||
//Set flag for user convenience
|
||||
FlagSet(FLAG_SYS_POKEMON_GET);
|
||||
Free(sDebugMonData); //Frees EWRAM of MonData Struct
|
||||
DebugAction_DestroyExtraWindow(taskId);
|
||||
}
|
||||
@ -2732,6 +2734,9 @@ static void DebugAction_Give_Pokemon_ComplexCreateMon(u8 taskId) //https://githu
|
||||
break;
|
||||
}
|
||||
|
||||
//Set flag for user convenience
|
||||
FlagSet(FLAG_SYS_POKEMON_GET);
|
||||
|
||||
Free(sDebugMonData); //Frees EWRAM of MonData Struct
|
||||
DebugAction_DestroyExtraWindow(taskId); //return sentToPc;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user