Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Choice scarf shouldn't have an effect during the turn a pokemon dynamaxes. [Medium priority] #6008

Closed
TZubiri opened this issue Nov 19, 2019 · 2 comments

Comments

@TZubiri
Copy link
Contributor

TZubiri commented Nov 19, 2019

Minimum verifiable scenario:
Player A has a choice scarf Haxorus with dragon claw, Player B has a life orb Dragapult with dragon pulse. Player A dynamaxes and attacks, player B attacks as well.
Both pokemon have neutral speed natures and 0 speed evs.
https://replay.pokemonshowdown.com/gen8oubeta-1012442381

What happens:
Haxorus attacks first.

What should happen:
Dragapult should attack first.

Source from researcher:
https://www.smogon.com/forums/threads/sword-shield-battle-mechanics-research.3655528/post-8287541

Edge cases:
If Haxorus uses Protect while dynamaxing, and on the second turn uses the attacking move, then Dragapult will act first, which is the correct behaviour.
https://replay.pokemonshowdown.com/gen8oubeta-1012443471
If haxorus uses choice band, the item has no effect during any dynamax turn. This is the correct behaviour.
https://replay.pokemonshowdown.com/gen8oubeta-1012444670

Notes:
The fact that choice scarf effect works during the first turn is probably unintended and has something to do with the order in which who moves first is determined.
There have been changes between gen 7 and 8 regarding how speed works that might affect this issue, and even explain why the simulator implementation differed from cartridge.
It's ok to submit a quick patch for this issue, but later work needs to be done so that the core speed mechanics more closely match that of the game. Specifically speaking, that the order of moves not be determined at the start of a turn, rather that it change with speed changes mid-turn.
Sources:
https://www.smogon.com/forums/threads/sword-shield-battle-mechanics-research.3655528/post-8286116
https://twitter.com/i/web/status/1196444365750784005

@TZubiri TZubiri changed the title Choice scarf shouldn't have an effect during the turn a pokemon dynamaxes. Choice scarf shouldn't have an effect during the turn a pokemon dynamaxes. [Mid priority] Nov 19, 2019
@TZubiri TZubiri changed the title Choice scarf shouldn't have an effect during the turn a pokemon dynamaxes. [Mid priority] Choice scarf shouldn't have an effect during the turn a pokemon dynamaxes. [Medium priority] Nov 19, 2019
@Zarel Zarel closed this as completed in b02e91f Nov 20, 2019
@TZubiri
Copy link
Contributor Author

TZubiri commented Nov 20, 2019

@Zarel
Copy link
Member

Zarel commented Nov 20, 2019

Fixed properly in 65b17bc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants