[Bug] Legendary Weather (Desolate Land, Primordial Sea, Delta Stream) persist past Biome Transition, Trainer Transition, ME Transition #5158
Labels
Mystery Encounter
Mystery Encounters and related work
P2 Bug
Minor. Non crashing Incorrect move/ability/interaction
Describe the bug
Legendary Weather; Desolate Land, Primordial Sea, and Delta Stream does not disappear on Pokemon recall on Biome Transitions, Trainer Battle Transitions, and Mystery Encounter Transitions.
-This can have profound effects on battles from that point on, as the weather lasts until a Pokemon with a Weather Ability is sent out.
The block of code that seems to clear the Arena's Terrain and Weather does not seem to include Legendary Weather
pokerogue/src/field/arena.ts
Line 685 in f3256ec
Link to Discord's Bug Report (Primordial sea active even when manaphy not in)
https://discord.com/channels/1125469663833370665/1294538878404788234
Reproduction
Choose Kyogre and Castform, you'll need to switch Primal Kyogre back in to activate Heavy Rain.
Or, change starting wave to 3, Primal evolve Kyogre, and watch Heavy Rain not dissipate on recall from the Endless Biome Transition 5 -> 6 or the Classic Youngster.
Expected behavior
Heavy Rain, Delta Stream, and Harsh Sun should not persist while their user is not on the field.
Screenshots / Videos
Heavy Rain persists after GTS has started, Pokemon removed from Party
GTS.Heavy.Rain.Persists.mp4
Gravity is cleared but Heavy Rain is not on transition to a Trainer Battle
Heavy.Rain.and.Gravity.mp4
Heavy Rain exists after Weird Dream despite Primal Kyogre being Transmogrified.
Session export file
No response
User data export file
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: