keldaanCommunity / pokemonAutoChess

Pokemon Auto Chess Game. Made by fans for fans. Open source, non profit. All rights to the Pokemon Company.
https://pokemon-auto-chess.com/
GNU General Public License v3.0
1.17k stars 362 forks source link

fix animations after transform #2471

Closed sylvainpolletvillard closed 3 days ago

sylvainpolletvillard commented 3 days ago

Pokemons transforming (Kecleon, Zorua, Metamorph...) had animations broken after transforming, because we preserve their original name and animations are selected by name.

Changed it so animations are resolved by index instead.

https://discord.com/channels/737230355039387749/1291110602617524356