mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-03 23:12:20 +02:00
[Fix] Implemented 3 suggestions
This commit is contained in:
parent
fde0a3f149
commit
6b23f425c0
@ -1099,7 +1099,7 @@ export default class PartyUiHandler extends MessageUiHandler {
|
|||||||
break;
|
break;
|
||||||
case Button.LEFT:
|
case Button.LEFT:
|
||||||
if (this.cursor >= battlerCount && this.cursor <= 6) {
|
if (this.cursor >= battlerCount && this.cursor <= 6) {
|
||||||
success = this.setCursor(0);
|
success = this.setCursor(this.isItemManageMode() ? 7 : 0);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case Button.RIGHT:
|
case Button.RIGHT:
|
||||||
@ -2052,6 +2052,7 @@ class PartyCancelButton extends Phaser.GameObjects.Container {
|
|||||||
|
|
||||||
this.setup();
|
this.setup();
|
||||||
}
|
}
|
||||||
|
|
||||||
setup() {
|
setup() {
|
||||||
const partyCancelBg = globalScene.add.sprite(0, 0, "party_cancel");
|
const partyCancelBg = globalScene.add.sprite(0, 0, "party_cancel");
|
||||||
this.add(partyCancelBg);
|
this.add(partyCancelBg);
|
||||||
|
@ -33,7 +33,6 @@ describe("UI - Transfer Items", () => {
|
|||||||
{ name: "BERRY", count: 2, type: BerryType.APICOT },
|
{ name: "BERRY", count: 2, type: BerryType.APICOT },
|
||||||
{ name: "BERRY", count: 2, type: BerryType.LUM },
|
{ name: "BERRY", count: 2, type: BerryType.LUM },
|
||||||
]);
|
]);
|
||||||
game.override.moveset(MoveId.DRAGON_CLAW);
|
|
||||||
game.override.enemySpecies(SpeciesId.MAGIKARP);
|
game.override.enemySpecies(SpeciesId.MAGIKARP);
|
||||||
game.override.enemyMoveset(MoveId.SPLASH);
|
game.override.enemyMoveset(MoveId.SPLASH);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user