Fix the Pokémon used for some variables in the give Pokémon procedure
MR Description
This MR:
- Fixes the Pokémon ball item icon for a Pokémon that will be sent to the Storage.
- Fixes the Pokémon loyalty given to a Pokémon that will be sent to the Storage.
Notes to acknowledge before testing
- At the end of a battle, some Pokémon properties are overwritten to send back the COPIED_PROPERTIES copied at the beginning of the battle. This is why there were some bugs with the battler and the original Pokémon. A Pokémon that is stored in the Storage seem to have
Tests to realize
-
Try to catch a Pokémon with a Ball that is not a Poké Ball and check the Poké Ball icon in the Team summary. -
Try to catch a Pokémon (with a full team to make sure it'll be sent in the Storage) with a Ball that is not a Poké Ball and check the Poké Ball icon in the Storage Pokémon summary.
Edited by Zøzo