diff --git a/public/images/ui/legacy/party_discard.json b/public/images/ui/legacy/party_discard.json index f6ba017cdf5..4aa563fcd77 100644 --- a/public/images/ui/legacy/party_discard.json +++ b/public/images/ui/legacy/party_discard.json @@ -4,8 +4,8 @@ "image": "party_discard.png", "format": "RGBA8888", "size": { - "w": 52, - "h": 32 + "w": 75, + "h": 50 }, "scale": 1, "frames": [ @@ -14,20 +14,20 @@ "rotated": false, "trimmed": false, "sourceSize": { - "w": 52, - "h": 16 + "w": 75, + "h": 25 }, "spriteSourceSize": { "x": 0, "y": 0, - "w": 52, - "h": 16 + "w": 75, + "h": 25 }, "frame": { "x": 0, "y": 0, - "w": 52, - "h": 16 + "w": 75, + "h": 25 } }, { @@ -35,20 +35,20 @@ "rotated": false, "trimmed": false, "sourceSize": { - "w": 52, - "h": 16 + "w": 75, + "h": 25 }, "spriteSourceSize": { "x": 0, "y": 0, - "w": 52, - "h": 16 + "w": 75, + "h": 25 }, "frame": { "x": 0, - "y": 16, - "w": 52, - "h": 16 + "y": 25, + "w": 75, + "h": 25 } } ] diff --git a/public/images/ui/legacy/party_transfer.json b/public/images/ui/legacy/party_transfer.json index 04b7c423012..7cfcf5ccc30 100644 --- a/public/images/ui/legacy/party_transfer.json +++ b/public/images/ui/legacy/party_transfer.json @@ -4,8 +4,8 @@ "image": "party_transfer.png", "format": "RGBA8888", "size": { - "w": 52, - "h": 32 + "w": 75, + "h": 50 }, "scale": 1, "frames": [ @@ -14,20 +14,20 @@ "rotated": false, "trimmed": false, "sourceSize": { - "w": 52, - "h": 16 + "w": 75, + "h": 25 }, "spriteSourceSize": { "x": 0, "y": 0, - "w": 52, - "h": 16 + "w": 75, + "h": 25 }, "frame": { "x": 0, "y": 0, - "w": 52, - "h": 16 + "w": 75, + "h": 25 } }, { @@ -35,20 +35,20 @@ "rotated": false, "trimmed": false, "sourceSize": { - "w": 52, - "h": 16 + "w": 75, + "h": 25 }, "spriteSourceSize": { "x": 0, "y": 0, - "w": 52, - "h": 16 + "w": 75, + "h": 25 }, "frame": { "x": 0, - "y": 16, - "w": 52, - "h": 16 + "y": 25, + "w": 75, + "h": 25 } } ] diff --git a/public/images/ui/party_discard.json b/public/images/ui/party_discard.json index 308fe51cee3..4aa563fcd77 100644 --- a/public/images/ui/party_discard.json +++ b/public/images/ui/party_discard.json @@ -5,7 +5,7 @@ "format": "RGBA8888", "size": { "w": 75, - "h": 46 + "h": 50 }, "scale": 1, "frames": [ @@ -15,19 +15,19 @@ "trimmed": false, "sourceSize": { "w": 75, - "h": 23 + "h": 25 }, "spriteSourceSize": { "x": 0, "y": 0, "w": 75, - "h": 23 + "h": 25 }, "frame": { "x": 0, "y": 0, "w": 75, - "h": 23 + "h": 25 } }, { @@ -36,19 +36,19 @@ "trimmed": false, "sourceSize": { "w": 75, - "h": 23 + "h": 25 }, "spriteSourceSize": { "x": 0, "y": 0, "w": 75, - "h": 23 + "h": 25 }, "frame": { "x": 0, - "y": 23, + "y": 25, "w": 75, - "h": 23 + "h": 25 } } ] diff --git a/public/images/ui/party_transfer.json b/public/images/ui/party_transfer.json index a9d0e66c9c8..7cfcf5ccc30 100644 --- a/public/images/ui/party_transfer.json +++ b/public/images/ui/party_transfer.json @@ -5,7 +5,7 @@ "format": "RGBA8888", "size": { "w": 75, - "h": 46 + "h": 50 }, "scale": 1, "frames": [ @@ -15,19 +15,19 @@ "trimmed": false, "sourceSize": { "w": 75, - "h": 23 + "h": 25 }, "spriteSourceSize": { "x": 0, "y": 0, "w": 75, - "h": 23 + "h": 25 }, "frame": { "x": 0, "y": 0, "w": 75, - "h": 23 + "h": 25 } }, { @@ -36,19 +36,19 @@ "trimmed": false, "sourceSize": { "w": 75, - "h": 23 + "h": 25 }, "spriteSourceSize": { "x": 0, "y": 0, "w": 75, - "h": 23 + "h": 25 }, "frame": { "x": 0, - "y": 23, + "y": 25, "w": 75, - "h": 23 + "h": 25 } } ] diff --git a/src/ui/party-ui-handler.ts b/src/ui/party-ui-handler.ts index fc52d75536e..78fccf0e06f 100644 --- a/src/ui/party-ui-handler.ts +++ b/src/ui/party-ui-handler.ts @@ -2107,7 +2107,6 @@ class PartyDiscardModeButton extends Phaser.GameObjects.Container { private transferIcon: Phaser.GameObjects.Sprite; private discardIcon: Phaser.GameObjects.Sprite; - private partyDiscardPb: Phaser.GameObjects.Sprite; private textBox: Phaser.GameObjects.Text; constructor(x: number, y: number) { @@ -2119,12 +2118,10 @@ class PartyDiscardModeButton extends Phaser.GameObjects.Container { setup() { this.transferIcon = globalScene.add.sprite(0, 0, "party_transfer"); this.discardIcon = globalScene.add.sprite(0, 0, "party_discard"); - this.partyDiscardPb = globalScene.add.sprite(-20, 0, "party_pb"); this.textBox = addTextObject(-8, -7, i18next.t("partyUiHandler:TRANSFER"), TextStyle.PARTY); this.add(this.transferIcon); this.add(this.discardIcon); - this.add(this.partyDiscardPb); this.add(this.textBox); this.clear(); @@ -2139,7 +2136,6 @@ class PartyDiscardModeButton extends Phaser.GameObjects.Container { this.transferIcon.setFrame("selected"); this.discardIcon.setFrame("selected"); - this.partyDiscardPb.setFrame("party_pb_sel"); } deselect() { @@ -2151,7 +2147,6 @@ class PartyDiscardModeButton extends Phaser.GameObjects.Container { this.transferIcon.setFrame("normal"); this.discardIcon.setFrame("normal"); - this.partyDiscardPb.setFrame("party_pb"); } toggleIcon(partyMode: number) { @@ -2159,7 +2154,6 @@ class PartyDiscardModeButton extends Phaser.GameObjects.Container { case PartyUiMode.MODIFIER_TRANSFER: this.transferIcon.setVisible(true); this.discardIcon.setVisible(false); - this.partyDiscardPb.setVisible(true); this.textBox.setVisible(true); this.textBox.setText(i18next.t("partyUiHandler:TRANSFER")); this.setPosition( @@ -2171,7 +2165,6 @@ class PartyDiscardModeButton extends Phaser.GameObjects.Container { case PartyUiMode.DISCARD: this.transferIcon.setVisible(false); this.discardIcon.setVisible(true); - this.partyDiscardPb.setVisible(true); this.textBox.setVisible(true); this.textBox.setText(i18next.t("partyUiHandler:DISCARD")); this.setPosition( @@ -2189,6 +2182,5 @@ class PartyDiscardModeButton extends Phaser.GameObjects.Container { this.transferIcon.setVisible(false); this.discardIcon.setVisible(false); this.textBox.setVisible(false); - this.partyDiscardPb.setVisible(false); } }