[Fix] Implemented 3 suggestions

This commit is contained in:
Tiago Rodrigues 2025-06-27 23:02:17 +01:00
parent fde0a3f149
commit 6b23f425c0
2 changed files with 2 additions and 2 deletions

View File

@ -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);

View File

@ -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);