pokerogue icon indicating copy to clipboard operation
pokerogue copied to clipboard

Bugfix - Ghost types are no longer trapped by abilities like Shadow Tag or moves like Fire Spin

Open td76099 opened this issue 9 months ago • 0 comments

@Piefrenzy in Discord

Originally reported in Discord Bug Reports channel, Ghost type Pokemon were being trapped by Shadow Tag as well as moves like Fire Spin/Whirlpool/etc. despite documentation saying trapping abilities shouldn't work and trapping moves shouldn't work.

The function didn't even take in the Pokemon trying to switch/run in the first place, so it now gets passed in and checked to see if it's a Ghost type.

Here is a Ghost type swapping through Shadow Tag and a non-Ghost type getting stuck:

https://github.com/pagefaultgames/pokerogue/assets/85713900/d017534b-fd46-45f5-ae0c-d3d5ca22e414

Ghost type successfully swapping through Fire Spin and a non-Ghost type getting stuck:

https://github.com/pagefaultgames/pokerogue/assets/85713900/5897b8d0-a9af-4a85-9270-4e6d3de6794a

Working on right side:

https://github.com/pagefaultgames/pokerogue/assets/85713900/2f39ad3a-4c85-4e6b-9d2d-32f2af60c0de

td76099 avatar May 11 '24 02:05 td76099