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.
This commit is contained in:
parent
7ff82440bc
commit
145267c9a6
|
@ -213,7 +213,7 @@ export class PokemonReviveModifierType extends PokemonHpRestoreModifierType {
|
||||||
return null;
|
return null;
|
||||||
}), iconImage, 'revive');
|
}), 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) => {
|
this.selectFilter = (pokemon: PlayerPokemon) => {
|
||||||
if (pokemon.hp)
|
if (pokemon.hp)
|
||||||
return PartyUiHandler.NoEffectMessage;
|
return PartyUiHandler.NoEffectMessage;
|
||||||
|
@ -224,7 +224,7 @@ export class PokemonReviveModifierType extends PokemonHpRestoreModifierType {
|
||||||
|
|
||||||
export class PokemonStatusHealModifierType extends PokemonModifierType {
|
export class PokemonStatusHealModifierType extends PokemonModifierType {
|
||||||
constructor(name: string) {
|
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)),
|
((_type, args) => new Modifiers.PokemonStatusHealModifier(this, (args[0] as PlayerPokemon).id)),
|
||||||
((pokemon: PlayerPokemon) => {
|
((pokemon: PlayerPokemon) => {
|
||||||
if (!pokemon.hp || !pokemon.status)
|
if (!pokemon.hp || !pokemon.status)
|
||||||
|
|
|
@ -285,13 +285,13 @@ export default class ModifierSelectUiHandler extends AwaitableUiHandler {
|
||||||
ui.showText(options[this.cursor].modifierTypeOption.type.getDescription(this.scene));
|
ui.showText(options[this.cursor].modifierTypeOption.type.getDescription(this.scene));
|
||||||
} else if (!cursor) {
|
} else if (!cursor) {
|
||||||
this.cursorObj.setPosition(6, this.lockRarityButtonContainer.visible ? -72 : -60);
|
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) {
|
} else if (cursor === 1) {
|
||||||
this.cursorObj.setPosition((this.scene.game.canvas.width / 6) - 50, -60);
|
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 {
|
} else {
|
||||||
this.cursorObj.setPosition(6, -60);
|
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;
|
return ret;
|
||||||
|
|
Loading…
Reference in New Issue