mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2025-02-24 21:25:30 +01:00
Removed unused local var in SetMonFormPSS
This commit is contained in:
parent
e5288449b4
commit
5801047e50
@ -6893,7 +6893,6 @@ static void ReshowDisplayMon(void)
|
|||||||
|
|
||||||
void SetMonFormPSS(struct BoxPokemon *boxMon)
|
void SetMonFormPSS(struct BoxPokemon *boxMon)
|
||||||
{
|
{
|
||||||
u16 species = GetMonData(boxMon, MON_DATA_SPECIES);
|
|
||||||
u16 targetSpecies = GetFormChangeTargetSpeciesBoxMon(boxMon, FORM_ITEM_HOLD_ABILITY, 0);
|
u16 targetSpecies = GetFormChangeTargetSpeciesBoxMon(boxMon, FORM_ITEM_HOLD_ABILITY, 0);
|
||||||
if (targetSpecies == SPECIES_NONE)
|
if (targetSpecies == SPECIES_NONE)
|
||||||
targetSpecies = GetFormChangeTargetSpeciesBoxMon(boxMon, FORM_ITEM_HOLD, 0);
|
targetSpecies = GetFormChangeTargetSpeciesBoxMon(boxMon, FORM_ITEM_HOLD, 0);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user