Add Annihilape with Rage Fist move

This commit is contained in:
Flashfyre committed 2023-11-28 21:35:52 -05:00
1 parent 233e33bbed
commit ad9d8a8507
24 files changed
+13781 -45

No files matched your search

+6 -1
View File
@@ -740,7 +740,12 @@ class PartySlot extends Phaser.GameObjects.Container {
this.add(slotPb);
const pokemonIcon = this.scene.add.sprite(slotPb.x, slotPb.y, this.pokemon.getIconAtlasKey(true));
pokemonIcon.play(this.pokemon.getIconKey(true));
if (this.pokemon.getSpeciesForm().generation <= 5)
pokemonIcon.play(this.pokemon.getIconKey(true));
else {
pokemonIcon.setFrame(this.pokemon.getIconId());
pokemonIcon.setScale(0.75);
}
this.add(pokemonIcon);