pokerogue/public
Wlowscha 140e4ab142
[UI/UX] Party slots refactor (#6199)
* constants for position of discard button

* Moved transfer/discard button up in doubles

* Fixed the various `.setOrigin(0,0)`

* Small clean up

* Added `isBenched` property to slots; x origin of `slotBg` is now 0

* Also set y origin to 0

* Offsets are relevant to the same thing

* Introducing const object to store ui magic numbers

* More magic numbers in const

* Laid out numbers for slot positions

* Added smaller main slots for transfer mode in doubles

* Changed background to fit new slot disposition

* Apply suggestions from code review

Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
Co-authored-by: Bertie690 <136088738+Bertie690@users.noreply.github.com>

* Optimized PNGs

* Updated comment

* Removed "magicNumbers" container, added multiple comments

* Update src/ui/party-ui-handler.ts

Co-authored-by: Amani H. <109637146+xsn34kzx@users.noreply.github.com>

* Fainted pkmn slots displaying correctly

---------

Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
Co-authored-by: Bertie690 <136088738+Bertie690@users.noreply.github.com>
Co-authored-by: Adri1 <adrien.grivel@hotmail.fr>
Co-authored-by: Amani H. <109637146+xsn34kzx@users.noreply.github.com>
Co-authored-by: Sirz Benjie <142067137+SirzBenjie@users.noreply.github.com>
2025-08-14 13:10:15 -05:00
..
audio [Audio] Add new Desert and Fairy Cave biome music (#6257) 2025-08-11 18:09:52 -04:00
battle-anims [Animation] [P3 Bug] Fix Sandstorm weather animation not playing properly (#5853) 2025-05-21 02:07:37 +00:00
fonts [UI/UX] Optimized images (#6125) 2025-07-21 10:40:21 -07:00
images [UI/UX] Party slots refactor (#6199) 2025-08-14 13:10:15 -05:00
locales@ab2716d544 [i18n] Update locales submodule 2025-08-07 18:11:47 -07:00
.gitkeep
exp-sprites.json [Sprite] Updated animated sprites, put in consistent for White-Stripe Basculin, Basculegion, Sandygast, Palossand, Silicobra, and Sandaconda (#6244) 2025-08-10 17:41:42 -04:00
logo128.png [UI/UX] Optimized images (#6125) 2025-07-21 10:40:21 -07:00
logo512.png [UI/UX] Optimized images (#6125) 2025-07-21 10:40:21 -07:00
manifest.webmanifest Prevent Fusion Status Errors +Fix Double Battle Issue (#472) 2024-05-04 22:16:59 -05:00
service-worker.js Move service-worker to public folder 2024-05-02 11:37:06 -04:00
starter-colors.json Add candy system for passives and value reductions 2024-04-13 18:59:58 -04:00