mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-12-27 04:04:17 +01:00
Merge pull request #2271 from LOuroboros/patch-2
Removed unused local var in SetMonFormPSS
This commit is contained in:
commit
78c44b5f41
@ -6893,7 +6893,6 @@ static void ReshowDisplayMon(void)
|
||||
|
||||
void SetMonFormPSS(struct BoxPokemon *boxMon)
|
||||
{
|
||||
u16 species = GetMonData(boxMon, MON_DATA_SPECIES);
|
||||
u16 targetSpecies = GetFormChangeTargetSpeciesBoxMon(boxMon, FORM_ITEM_HOLD_ABILITY, 0);
|
||||
if (targetSpecies == SPECIES_NONE)
|
||||
targetSpecies = GetFormChangeTargetSpeciesBoxMon(boxMon, FORM_ITEM_HOLD, 0);
|
||||
|
Loading…
Reference in New Issue
Block a user