mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-12-15 06:15:20 +01:00
[Bug] Show base moves and ability in run info instead of transformed ones (#6702)
Show base moves and ability in run info Co-authored-by: Fabi <192151969+fabske0@users.noreply.github.com>
This commit is contained in:
parent
301ad0e7c1
commit
b2089012c1
@ -774,7 +774,7 @@ export class RunInfoUiHandler extends UiHandler {
|
||||
abilityLabel = abilityLabel.charAt(0);
|
||||
}
|
||||
const pPassiveInfo = pokemon.passive ? passiveLabel + ": " + pokemon.getPassiveAbility().name : "";
|
||||
const pAbilityInfo = abilityLabel + ": " + pokemon.getAbility().name;
|
||||
const pAbilityInfo = abilityLabel + ": " + pokemon.getAbility(true).name;
|
||||
// Japanese is set to a greater line spacing of 35px in addBBCodeTextObject() if lineSpacing < 12.
|
||||
const lineSpacing = i18next.resolvedLanguage === "ja" ? 3 : 3;
|
||||
const pokeInfoText = addBBCodeTextObject(0, 0, pName, TextStyle.SUMMARY, {
|
||||
@ -859,7 +859,7 @@ export class RunInfoUiHandler extends UiHandler {
|
||||
|
||||
// Pokemon Moveset
|
||||
// Need to check if dynamically typed moves
|
||||
const pokemonMoveset = pokemon.getMoveset();
|
||||
const pokemonMoveset = pokemon.getMoveset(true);
|
||||
const movesetContainer = globalScene.add.container(70, -29);
|
||||
const pokemonMoveBgs: Phaser.GameObjects.NineSlice[] = [];
|
||||
const pokemonMoveLabels: Phaser.GameObjects.Text[] = [];
|
||||
|
||||
Loading…
Reference in New Issue
Block a user