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

PP Shows Negative if Stalled to 0 from an Odd Number, Against Pressure Ability #1740

Open
test123 opened this issue Apr 5, 2021 · 3 comments

Comments

@test123
Copy link

test123 commented Apr 5, 2021

If we PP stall a Pokémon's move with an odd number of PP left, facing off a Pokémon with the Pressure ability, bring it down to 0 count, and hover over it to generate the tooltip, the remaining PP count will show -1.

To replicate this issue, we will use:

Team 1

Articuno @ Aguav Berry  
Ability: Pressure  
EVs: 252 Atk / 252 Spe  
Timid Nature  
IVs: 0 Atk  
- Substitute  
- Roost  

Shedinja @ Colbur Berry  
Ability: Wonder Guard  
EVs: 252 Atk  
Adamant Nature  
- Facade  

Team 2

Relicanth @ Wiki Berry  
Ability: Rock Head  
EVs: 252 HP / 252 SpD  
Brave Nature  
- Head Smash  

The specifics do not matter. All we care about is:

  • Articuno has the pressure ability
  • Articuno outspeeds the Relicanth
  • Articuno has substitute (so that it can live every Head Smash)

We choose Head Smash, because it has 8 PP and can run out really quickly.

Steps to Reproduce

Turn 0:

  • Player 1 sends out Relicanth
  • Player 2 sends out Shedinja

Turn 1:

  • Player 1 uses Head Smash
  • Player 2 clicks Facade
  • Player 2 sends out Articuno

Turn 3:

  • Player 1 uses Head Smash
  • Player 2 uses Substitute

Turn 4:

  • Player 1 uses Head Smash
  • Player 2 uses Substitute

Turn 5:

  • Player 1 uses Head Smash
  • Player 2 uses Substitute

Turn 6:

  • Player 1 uses Head Smash
  • Player 2 uses Substitute

Turn 7:
Hover over Relicanth's sprite, the PP Count will say -1.

Example of Error:

https://replay.pokemonshowdown.com/gen8customgame-1313171013-v0bh2mj6ovmf2cn2qhkutdyudls4zdfpw

@test123
Copy link
Author

test123 commented Apr 5, 2021

Created a Pull request, here: #1741

@test123
Copy link
Author

test123 commented Apr 5, 2021

Important Note: This issue is only on the tooltip, because the move selector shows 0 PP, if Relicanth has multiple moves.

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
@test123 and others