mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-09-23 23:13:42 +02:00
Merge branch 'ssui-refactor' of https://github.com/pagefaultgames/pokerogue into ssui-refactor
This commit is contained in:
commit
39970212df
@ -3049,7 +3049,7 @@ export abstract class Pokemon extends Phaser.GameObjects.Container {
|
|||||||
public generateAndPopulateMoveset(): void {
|
public generateAndPopulateMoveset(): void {
|
||||||
this.moveset = [];
|
this.moveset = [];
|
||||||
let movePool: [MoveId, number][] = [];
|
let movePool: [MoveId, number][] = [];
|
||||||
const allLevelMoves = this.getLevelMoves(1, true, true);
|
const allLevelMoves = this.getLevelMoves(1, true, true, this.hasTrainer());
|
||||||
if (!allLevelMoves) {
|
if (!allLevelMoves) {
|
||||||
console.warn("Error encountered trying to generate moveset for:", this.species.name);
|
console.warn("Error encountered trying to generate moveset for:", this.species.name);
|
||||||
return;
|
return;
|
||||||
|
@ -111,6 +111,7 @@ export class StarterContainer extends Phaser.GameObjects.Container {
|
|||||||
this.checkIconId(female, formIndex, shiny, variant);
|
this.checkIconId(female, formIndex, shiny, variant);
|
||||||
this.icon.setTint(0);
|
this.icon.setTint(0);
|
||||||
this.add(this.icon);
|
this.add(this.icon);
|
||||||
|
this.icon.setBelow(this.label);
|
||||||
|
|
||||||
[
|
[
|
||||||
this.hiddenAbilityIcon,
|
this.hiddenAbilityIcon,
|
||||||
|
Loading…
Reference in New Issue
Block a user