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

+1 -1
View File
@@ -381,7 +381,7 @@ export abstract class PokemonHeldItemModifier extends PersistentModifier {
const isIconShown = pokemon instanceof PlayerPokemon || scene.currentBattle.seenEnemyPartyMemberIds.has(pokemon.id);
const iconAtlasKey = isIconShown ? pokemon.getIconAtlasKey() : 'pokemon_icons_0';
const pokemonIcon = scene.add.sprite(0, 8, iconAtlasKey);
if (pokemon.getSpeciesForm().isObtainable()) {
if (pokemon.getSpeciesForm().generation <= 5) {
const iconKey = isIconShown ? pokemon.getIconKey() : 'pkmn_icon__000';
pokemonIcon.play(iconKey).stop();
} else {