Merge pull request #2271 from LOuroboros/patch-2

Removed unused local var in SetMonFormPSS
This commit is contained in:
Eduardo Quezada D'Ottone 2022-08-28 12:01:42 -04:00 committed by GitHub
commit 78c44b5f41
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);