pagefaultgames / pokerogue

A browser based Pokémon fangame heavily inspired by the roguelite genre.
https://pokerogue.net
GNU Affero General Public License v3.0
4.47k stars 1.79k forks source link

[Bug] Items stolen during Training Session [Mystery Encounter] are lost forever #4563

Open dragonsushi247 opened 3 weeks ago

dragonsushi247 commented 3 weeks ago

Describe the bug

I battled my Meowscarada with its passive, Magician, unlocked during a Training Session encounter. It stole my Zangoose's Toxic Orb during the fight. When Meowscarada returned to me, the Toxic Orb was not in its item list.

Reproduction

Battle one of your Pokemon during a Training Session and have it steal items, then move on to the next stage. The stolen items are gone.

Expected behavior

Since the chosen Pokemon returns to you, I expected it to keep its updated inventory of items, including any items stolen during battle.

Screenshots / Videos

No response

Session export file

No response

User data export file

No response

Additional context

No response

Snailman11 commented 3 weeks ago

Link to Discord's Bug Report (In-Training Pokemon with item-stealing(move/item) can delete item on return (Training Session)) https://discord.com/channels/1125469663833370665/1290801824256884766