Add back shift for toggling stats
parent
17ec6b3ccc
commit
77caa8ece5
|
@ -617,7 +617,7 @@ export default class BattleScene extends SceneBase {
|
||||||
[Button.ACTION]: [keyCodes.SPACE, keyCodes.ENTER, keyCodes.Z],
|
[Button.ACTION]: [keyCodes.SPACE, keyCodes.ENTER, keyCodes.Z],
|
||||||
[Button.CANCEL]: [keyCodes.BACKSPACE, keyCodes.X],
|
[Button.CANCEL]: [keyCodes.BACKSPACE, keyCodes.X],
|
||||||
[Button.MENU]: [keyCodes.ESC, keyCodes.M],
|
[Button.MENU]: [keyCodes.ESC, keyCodes.M],
|
||||||
[Button.STATS]: [keyCodes.C],
|
[Button.STATS]: [keyCodes.SHIFT, keyCodes.C],
|
||||||
[Button.CYCLE_SHINY]: [keyCodes.R],
|
[Button.CYCLE_SHINY]: [keyCodes.R],
|
||||||
[Button.CYCLE_FORM]: [keyCodes.F],
|
[Button.CYCLE_FORM]: [keyCodes.F],
|
||||||
[Button.CYCLE_GENDER]: [keyCodes.G],
|
[Button.CYCLE_GENDER]: [keyCodes.G],
|
||||||
|
@ -1437,7 +1437,7 @@ export default class BattleScene extends SceneBase {
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
let pressed = false;
|
let pressed = false;
|
||||||
if (this.buttonJustReleased(Button.STATS) || (pressed = this.buttonJustPressed(Button.STATS))) {
|
if (this.ui && (this.buttonJustReleased(Button.STATS) || (pressed = this.buttonJustPressed(Button.STATS)))) {
|
||||||
for (let p of this.getField().filter(p => p?.isActive(true)))
|
for (let p of this.getField().filter(p => p?.isActive(true)))
|
||||||
p.toggleStats(pressed);
|
p.toggleStats(pressed);
|
||||||
if (pressed)
|
if (pressed)
|
||||||
|
|
|
@ -22,7 +22,7 @@ export const tutorial: SimpleTranslationEntries = {
|
||||||
|
|
||||||
"statChange": `Stat changes persist across battles as long as your Pokémon aren't recalled.
|
"statChange": `Stat changes persist across battles as long as your Pokémon aren't recalled.
|
||||||
$Your Pokémon are recalled before a trainer battle and before entering a new biome.
|
$Your Pokémon are recalled before a trainer battle and before entering a new biome.
|
||||||
$You can also view the stat changes for the Pokémon on the field by holding C.`,
|
$You can also view the stat changes for the Pokémon on the field by holding C or Shift.`,
|
||||||
|
|
||||||
"selectItem": `After every battle, you are given a choice of 3 random items.\nYou may only pick one.
|
"selectItem": `After every battle, you are given a choice of 3 random items.\nYou may only pick one.
|
||||||
$These range from consumables, to Pokémon held items, to passive permanent items.
|
$These range from consumables, to Pokémon held items, to passive permanent items.
|
||||||
|
|
|
@ -22,7 +22,7 @@ export const tutorial: SimpleTranslationEntries = {
|
||||||
|
|
||||||
"statChange": `Stat changes persist across battles as long as your Pokémon aren't recalled.
|
"statChange": `Stat changes persist across battles as long as your Pokémon aren't recalled.
|
||||||
$Your Pokémon are recalled before a trainer battle and before entering a new biome.
|
$Your Pokémon are recalled before a trainer battle and before entering a new biome.
|
||||||
$You can also view the stat changes for the Pokémon on the field by holding C.`,
|
$You can also view the stat changes for the Pokémon on the field by holding C or Shift.`,
|
||||||
|
|
||||||
"selectItem": `After every battle, you are given a choice of 3 random items.\nYou may only pick one.
|
"selectItem": `After every battle, you are given a choice of 3 random items.\nYou may only pick one.
|
||||||
$These range from consumables, to Pokémon held items, to passive permanent items.
|
$These range from consumables, to Pokémon held items, to passive permanent items.
|
||||||
|
|
|
@ -22,7 +22,7 @@ export const tutorial: SimpleTranslationEntries = {
|
||||||
|
|
||||||
"statChange": `Stat changes persist across battles as long as your Pokémon aren't recalled.
|
"statChange": `Stat changes persist across battles as long as your Pokémon aren't recalled.
|
||||||
$Your Pokémon are recalled before a trainer battle and before entering a new biome.
|
$Your Pokémon are recalled before a trainer battle and before entering a new biome.
|
||||||
$You can also view the stat changes for the Pokémon on the field by holding C.`,
|
$You can also view the stat changes for the Pokémon on the field by holding C or Shift.`,
|
||||||
|
|
||||||
"selectItem": `After every battle, you are given a choice of 3 random items.\nYou may only pick one.
|
"selectItem": `After every battle, you are given a choice of 3 random items.\nYou may only pick one.
|
||||||
$These range from consumables, to Pokémon held items, to passive permanent items.
|
$These range from consumables, to Pokémon held items, to passive permanent items.
|
||||||
|
|
|
@ -27,7 +27,7 @@ export const tutorial: SimpleTranslationEntries = {
|
||||||
|
|
||||||
"statChange": `Stat changes persist across battles as long as your Pokémon aren't recalled.
|
"statChange": `Stat changes persist across battles as long as your Pokémon aren't recalled.
|
||||||
$Your Pokémon are recalled before a trainer battle and before entering a new biome.
|
$Your Pokémon are recalled before a trainer battle and before entering a new biome.
|
||||||
$You can also view the stat changes for the Pokémon on the field by holding C.`,
|
$You can also view the stat changes for the Pokémon on the field by holding C or Shift.`,
|
||||||
|
|
||||||
"selectItem": `Après chaque combat, vous avez le choix entre 3 objets\ntirés au sort. Vous ne pouvez en prendre qu’un.
|
"selectItem": `Après chaque combat, vous avez le choix entre 3 objets\ntirés au sort. Vous ne pouvez en prendre qu’un.
|
||||||
$Cela peut être des objets consommables, des objets à\nfaire tenir, ou des objets passifs aux effets permanents.
|
$Cela peut être des objets consommables, des objets à\nfaire tenir, ou des objets passifs aux effets permanents.
|
||||||
|
|
|
@ -22,7 +22,7 @@ export const tutorial: SimpleTranslationEntries = {
|
||||||
|
|
||||||
"statChange": `Stat changes persist across battles as long as your Pokémon aren't recalled.
|
"statChange": `Stat changes persist across battles as long as your Pokémon aren't recalled.
|
||||||
$Your Pokémon are recalled before a trainer battle and before entering a new biome.
|
$Your Pokémon are recalled before a trainer battle and before entering a new biome.
|
||||||
$You can also view the stat changes for the Pokémon on the field by holding C.`,
|
$You can also view the stat changes for the Pokémon on the field by holding C or Shift.`,
|
||||||
|
|
||||||
"selectItem": `After every battle, you are given a choice of 3 random items.\nYou may only pick one.
|
"selectItem": `After every battle, you are given a choice of 3 random items.\nYou may only pick one.
|
||||||
$These range from consumables, to Pokémon held items, to passive permanent items.
|
$These range from consumables, to Pokémon held items, to passive permanent items.
|
||||||
|
|
Loading…
Reference in New Issue