Add icons for Mega Rayquaza and Eternamax Eternatus

This commit is contained in:
Flashfyre committed 2023-10-24 15:17:41 -04:00
1 parent 0ab7f1b018
commit 50cbad3af3
11 files changed
+69 -19

No files matched your search

+1 -1
View File
@@ -39,7 +39,7 @@ export default class PartyExpBar extends Phaser.GameObjects.Container {
if (this.shown)
return resolve();
this.pokemonIcon.setTexture(pokemon.species.getIconAtlasKey());
this.pokemonIcon.setTexture(pokemon.getIconAtlasKey());
this.pokemonIcon.play(pokemon.getIconKey()).stop();
this.expText.setText(`+${expValue.toString()}`);
+1 -1
View File
@@ -619,7 +619,7 @@ class PartySlot extends Phaser.GameObjects.Container {
this.add(slotPb);
const pokemonIcon = this.scene.add.sprite(slotPb.x, slotPb.y, this.pokemon.species.getIconAtlasKey());
const pokemonIcon = this.scene.add.sprite(slotPb.x, slotPb.y, this.pokemon.getIconAtlasKey());
pokemonIcon.play(this.pokemon.getIconKey());
this.add(pokemonIcon);
+1 -1
View File
@@ -151,7 +151,7 @@ export default class StarterSelectUiHandler extends MessageUiHandler {
species.generateIconAnim(this.scene, dexEntry?.female, dexEntry?.formIndex);
const x = (s % 9) * 18;
const y = Math.floor(s / 9) * 18;
const icon = this.scene.add.sprite(x, y, species.getIconAtlasKey());
const icon = this.scene.add.sprite(x, y, species.getIconAtlasKey(dexEntry?.formIndex));
icon.setScale(0.5);
icon.setOrigin(0, 0);
icon.play(species.getIconKey(dexEntry?.female, dexEntry?.formIndex)).stop();