pokerogue icon indicating copy to clipboard operation
pokerogue copied to clipboard

Arena Trap & Poison Spikes bug

Open Stagfox opened this issue 9 months ago • 2 comments

Not sure if it's intended but arena trap doesn't work against teleport, Skorupi also not absorbing poison spikes.

Edit: Block also does not stop teleport.

Stagfox avatar May 15 '24 22:05 Stagfox

What Pokemon is using Teleport? If it's a Ghost type, or if it's not grounded, i.e.

  • Flying type
  • Levitate
  • Air Balloon (IDT this is in the game yet)
  • Telekinesis or Magnet Rise

It will not be Arena Trapped. If Skorupi is any of these things either, the spikes will not be there.

PLMMJ-FH avatar May 15 '24 23:05 PLMMJ-FH

Sorry I should have clarified these are two separate instances, Abra's are teleporting away from Trapinch w/ arena trap and stonejourner with block, Abra was grounded. The Skorupi situation was opposing Skorupi toxic spiked, I caught and switched to him and he would not absorb the toxic spikes no matter how many times I would switch back out to him.

Stagfox avatar May 15 '24 23:05 Stagfox

https://github.com/pagefaultgames/pokerogue/blob/39abac65be26c2004ea1ca9a686cc8d7b35efb65/src/data/arena-tag.ts#L1208

Link to Discord Post (Toxic Spikes not being Absorbed) https://discord.com/channels/1125469663833370665/1267643732878954538

Catch and Switch in

https://github.com/user-attachments/assets/e113b7be-545e-47bf-87c7-fdbad337faf1

Switch in after

https://github.com/user-attachments/assets/466fd0c9-f741-4c9f-a116-7423818a8561

-This occurs whenever the source of Toxic Spikes is switched in on a Toxic Spikes Pile that it has started. I believe that this must mean that the source is checked , and then Toxic Spikes are not removed, if the sourceid matches the mon switching in.

Snailman11 avatar Oct 20 '24 02:10 Snailman11

Probably all Arena Hazards

https://github.com/user-attachments/assets/7c08e910-b315-40a2-b5bf-3872569c02b6

https://github.com/pagefaultgames/pokerogue/blob/39abac65be26c2004ea1ca9a686cc8d7b35efb65/src/data/arena-tag.ts#L628

Code that might be related

Snailman11 avatar Oct 20 '24 03:10 Snailman11

Gonna make this issue only track the hazards bug, if the "teleport/etc ignores trapping" is a bug it can be made into a new issue.

DayKev avatar Oct 20 '24 03:10 DayKev