Not A Bug [Gen 1] Slp/frz should inherit the move priority of the last move used (wPlayerSelectedMove)

Amaranth

is a Site Content Manageris a Forum Moderatoris a Top Community Contributoris a Top Metagame Resource Contributoris a Top Tiering Contributoris a Top Contributoris a Top Dedicated Tournament Hostis a Tournament Director Alumnusis a Social Media Contributor Alumnusis a Community Leader Alumnusis a Past SPL Champion
World Defender
What type of bug are you reporting? Mechanics

What is the bug?
In this replay, Jynx is inexplicably slower than Victreebel on turns 12-13, then faster again on turns 85-86-87.

I'm fairly confident of my guess that this is an interaction caused by the recent patches regarding Counter (clicked on Turn 10), Sleep, and the Fight button. Possibly Jynx is being treated as still having Snorlax's speed because of the way some of this stuff is coded, I don't know for sure how everything was implemented.

https://replay.pokemonshowdown.com/smogtours-gen1ou-924160

Are you able to replicate it? If so, how?
I haven't tried, but I probably could by setting up the same Counter situation
 
This is the expected behavior. By the same logic, if you had used Quick Attack and then switched to a sleeping Pokémon, its sleep turn would always come first. I'll add a test to the code to ensure no one accidentally changes this.

Edit: that was the offline version. I'm not going to reopen this, but I just discovered a desync glitch where players see their Pokemon acting with different priorities (both players see their own Pokemon moving first, or the enemy's Pokemon moving first). Basically, when a Pokémon is asleep or frozen, its owner sees it with the same priority as the last move used by their team, but the opponent sees that Pokémon with the priority of the first move in its moveset.
 
Last edited:
Back
Top