mirror of https://github.com/pret/pokeemerald.git
Use descriptive constant for ScriptGiveMon call
This commit is contained in:
parent
a38bff8c17
commit
a727c16012
|
@ -897,7 +897,7 @@ static void CB2_GiveStarter(void)
|
||||||
|
|
||||||
*GetVarPointer(VAR_STARTER_MON) = gSpecialVar_Result;
|
*GetVarPointer(VAR_STARTER_MON) = gSpecialVar_Result;
|
||||||
starterMon = GetStarterPokemon(gSpecialVar_Result);
|
starterMon = GetStarterPokemon(gSpecialVar_Result);
|
||||||
ScriptGiveMon(starterMon, 5, 0, 0, 0, 0);
|
ScriptGiveMon(starterMon, 5, ITEM_NONE, 0, 0, 0);
|
||||||
ResetTasks();
|
ResetTasks();
|
||||||
PlayBattleBGM();
|
PlayBattleBGM();
|
||||||
SetMainCallback2(CB2_StartFirstBattle);
|
SetMainCallback2(CB2_StartFirstBattle);
|
||||||
|
|
Loading…
Reference in New Issue