From 145267c9a66e4cbf909c39862134a1950fda87ac Mon Sep 17 00:00:00 2001 From: John Martin Date: Wed, 24 Apr 2024 23:29:47 -0400 Subject: [PATCH] Fixed leftover text re-corrections. (#283) * Minor text corrections to item descriptions. * Update modifier-type.ts; minor text correction updates * Update modifier-type.ts; further text re-corrections. * Update modifier-type.ts; leftover re-corrections. * Minor text corrections in modifier menu. --- src/modifier/modifier-type.ts | 4 ++-- src/ui/modifier-select-ui-handler.ts | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/modifier/modifier-type.ts b/src/modifier/modifier-type.ts index 354f80f91fe..76ab3bd5f78 100644 --- a/src/modifier/modifier-type.ts +++ b/src/modifier/modifier-type.ts @@ -213,7 +213,7 @@ export class PokemonReviveModifierType extends PokemonHpRestoreModifierType { return null; }), iconImage, 'revive'); - this.description = `Revive one Pokémon and restore ${restorePercent}% HP.`; + this.description = `Revives one Pokémon and restores ${restorePercent}% HP`; this.selectFilter = (pokemon: PlayerPokemon) => { if (pokemon.hp) return PartyUiHandler.NoEffectMessage; @@ -224,7 +224,7 @@ export class PokemonReviveModifierType extends PokemonHpRestoreModifierType { export class PokemonStatusHealModifierType extends PokemonModifierType { constructor(name: string) { - super(name, `Heal any status ailment for one Pokémon.`, + super(name, `Heals any status ailment for one Pokémon`, ((_type, args) => new Modifiers.PokemonStatusHealModifier(this, (args[0] as PlayerPokemon).id)), ((pokemon: PlayerPokemon) => { if (!pokemon.hp || !pokemon.status) diff --git a/src/ui/modifier-select-ui-handler.ts b/src/ui/modifier-select-ui-handler.ts index 6b4cf30b0df..1bd44bfd3c4 100644 --- a/src/ui/modifier-select-ui-handler.ts +++ b/src/ui/modifier-select-ui-handler.ts @@ -285,13 +285,13 @@ export default class ModifierSelectUiHandler extends AwaitableUiHandler { ui.showText(options[this.cursor].modifierTypeOption.type.getDescription(this.scene)); } else if (!cursor) { this.cursorObj.setPosition(6, this.lockRarityButtonContainer.visible ? -72 : -60); - ui.showText('Spend money to reroll your item options'); + ui.showText('Spend money to reroll your item options.'); } else if (cursor === 1) { this.cursorObj.setPosition((this.scene.game.canvas.width / 6) - 50, -60); - ui.showText('Transfer a held item from one Pokémon to another'); + ui.showText('Transfer a held item from one Pokémon to another.'); } else { this.cursorObj.setPosition(6, -60); - ui.showText('Lock item rarities on reroll (affects reroll cost)'); + ui.showText('Lock item rarities on reroll (affects reroll cost).'); } return ret;