This PR fixes a crash in movepool page if we try to delete a move from the movepool with a creature form other than 0 because there has been confusion between the id of the form and its index. (the usual bug...)
In practice, it's with mega evolutions that have form equal to or greater than 30 that the problem occurs. (because the index is different to the form id)
Tests to perform
[x] The user can delete a move in the movepool page
Description
This PR fixes a crash in movepool page if we try to delete a move from the movepool with a creature form other than 0 because there has been confusion between the id of the form and its index. (the usual bug...)
In practice, it's with mega evolutions that have form equal to or greater than 30 that the problem occurs. (because the index is different to the form id)
Tests to perform
Error
Discord: https://discord.com/channels/143824995867557888/1255523750078713979