Fixed reference to PlayCry2

This commit is contained in:
Eduardo Quezada D'Ottone 2021-12-19 13:09:01 -03:00
parent 8b49f8f925
commit 793de70068
2 changed files with 1 additions and 2 deletions

View file

@ -5317,7 +5317,7 @@ void TryItemHoldFormChange(struct Pokemon *mon)
targetSpecies = GetFormChangeTargetSpecies(mon, FORM_ITEM_HOLD, 0);
if (targetSpecies != SPECIES_NONE)
{
PlayCry2(targetSpecies, 0, 0x7D, 0xA);
PlayCry_NormalNoDucking(targetSpecies, 0, CRY_VOLUME_RS, CRY_VOLUME_RS);
SetMonData(mon, MON_DATA_SPECIES, &targetSpecies);
FreeAndDestroyMonIconSprite(&gSprites[sPartyMenuBoxes[gPartyMenu.slotId].monSpriteId]);
CreatePartyMonIconSpriteParameterized(targetSpecies, GetMonData(mon, MON_DATA_PERSONALITY, NULL), &sPartyMenuBoxes[gPartyMenu.slotId], 1);

View file

@ -6911,7 +6911,6 @@ void SetMonFormPSS(struct BoxPokemon *boxMon)
targetSpecies = GetFormChangeTargetSpeciesBoxMon(boxMon, FORM_ITEM_HOLD, 0);
if (targetSpecies != SPECIES_NONE)
{
//PlayCry2(targetSpecies, 0, 0x7D, 0xA);
SetBoxMonData(boxMon, MON_DATA_SPECIES, &targetSpecies);
UpdateSpeciesSpritePSS(boxMon);
}