Change activation trigger

Switch the bar to show with the C key instead of the V key (no space with V key)
This commit is contained in:
RedstonewolfX 2024-07-05 11:08:50 -04:00
parent 1e63f99765
commit 96146891dc
2 changed files with 1 additions and 1 deletions

View File

@ -1401,7 +1401,6 @@ export default class BattleScene extends SceneBase {
}
processInfoButton(pressed: boolean): void {
this.arenaFlyout.toggleFlyout(pressed);
this.trainerBar.toggleFlyout(pressed);
}
showFieldOverlay(duration: integer): Promise<void> {

View File

@ -442,6 +442,7 @@ export default class BattleInfo extends Phaser.GameObjects.Container {
ease: "Sine.easeInOut",
alpha: visible ? 1 : 0
});
(this.scene as BattleScene).trainerBar.toggleFlyout(visible);
}
updateBossSegments(pokemon: EnemyPokemon): void {