Fix showing level moves in blue instead of spliced moves

pull/2/head
Flashfyre 2023-11-08 23:37:12 -05:00
parent 1236cb948d
commit f0055048ed
1 changed files with 1 additions and 1 deletions

View File

@ -587,7 +587,7 @@ export default class PartyUiHandler extends MessageUiHandler {
else if (this.partyUiMode === PartyUiMode.REMEMBER_MOVE_MODIFIER) {
const move = learnableLevelMoves[option];
optionName = allMoves[move].name;
altText = !!pokemon.getSpeciesForm().getLevelMoves().find(plm => plm[1] === move);
altText = !pokemon.getSpeciesForm().getLevelMoves().find(plm => plm[1] === move);
} else {
const itemModifier = itemModifiers[option];
optionName = itemModifier.type.name;