mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-08-17 21:09:25 +02:00
Compare commits
4 Commits
b56a69ba19
...
68672e393a
Author | SHA1 | Date | |
---|---|---|---|
|
68672e393a | ||
|
05a85bcda2 | ||
|
f07b94107a | ||
|
65e36b276f |
@ -1870,13 +1870,13 @@ class PartySlot extends Phaser.GameObjects.Container {
|
||||
const offsetJa = currentLanguage === "ja";
|
||||
const isItemManageMode = partyUiMode === PartyUiMode.MODIFIER_TRANSFER || partyUiMode === PartyUiMode.DISCARD;
|
||||
|
||||
const slotKey = this.isBenched
|
||||
this.slotBgKey = this.isBenched
|
||||
? "party_slot"
|
||||
: isItemManageMode && globalScene.currentBattle.double
|
||||
? "party_slot_main_short"
|
||||
: "party_slot_main";
|
||||
this.slotBgKey = this.pokemon.hp ? slotKey : `${slotKey}${"_fnt"}`;
|
||||
this.slotBg = globalScene.add.sprite(0, 0, slotKey, this.slotBgKey);
|
||||
const fullSlotBgKey = this.pokemon.hp ? this.slotBgKey : `${this.slotBgKey}${"_fnt"}`;
|
||||
this.slotBg = globalScene.add.sprite(0, 0, this.slotBgKey, fullSlotBgKey);
|
||||
this.slotBg.setOrigin(0);
|
||||
this.add(this.slotBg);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user