Updated comment

This commit is contained in:
Wlowscha 2025-08-06 18:51:31 +02:00
parent 2a0da37e1d
commit 4c699edf21
No known key found for this signature in database
GPG Key ID: 3C8F1AD330565D04

View File

@ -1835,7 +1835,8 @@ class PartySlot extends Phaser.GameObjects.Container {
/*
* Here we determine the position of the slot.
* The x coordinate depends on whether the pokemon is on the field or in the bench.
* The y coordinate depends on various factors, such as
* The y coordinate depends on various factors, such as the number of pokémon on the field,
* and whether the transfer/discard button is also on the screen.
*/
const slotPositionX = isBenched ? 143 : 9;