[Fixed] RBY/GSC: 40 PP moves max out at 61 with PP ups

Discussion in 'Solved Bugs' started by Pokefan Bob, Jun 17, 2016.

  1. Pokefan Bob

    Pokefan Bob Member

    Joined:
    Dec 25, 2011
    Messages:
    87
    Likes Received:
    2
    In the simulator, it says 64, but if you play the game you will see that it doesn't go above 61.

    The formula for PP Up effect is something like:
    5x + min(7,x)*y

    where x is the unboosted PP divided by 5 (for Hyper Beam this is 1 for example)
    and y is the amount of PP ups (from 0 to 3)

    So a 40 PP move will have an x of 8, and thus will max out with a PP of:
    5*8 + min(7,x)*3 = 5*8 + 7*3 = 61

    See that the min(7,8) term just happens to be x for all values of x less than 8.

    So, all the other ones are fine. Possible max PPs are 61, 56, 48, 40, 32, 24, 16, 8

    see: http://bulbapedia.bulbagarden.net/wiki/Power_Point#Base_value_alteration
     
    Last edited: Jun 18, 2016
    Blitzamirin likes this.
  2. Fuzzysqurl

    Fuzzysqurl baa baa mareep I do what I want Server Owner Developer I do what I want Server Owner Developer

    Joined:
    Sep 12, 2012
    Messages:
    2,096
    Likes Received:
    967
    Pic please
     
  3. Pokefan Bob

    Pokefan Bob Member

    Joined:
    Dec 25, 2011
    Messages:
    87
    Likes Received:
    2
    What kind of pic? Like this?

    [​IMG]
     
  4. Fuzzysqurl

    Fuzzysqurl baa baa mareep I do what I want Server Owner Developer I do what I want Server Owner Developer

    Joined:
    Sep 12, 2012
    Messages:
    2,096
    Likes Received:
    967
    Last edited: Jun 18, 2016