View Single Post
Old September 28th, 2012 (5:48 AM).
Maruno's Avatar
Maruno Maruno is offline
Lead Dev of Pokémon Essentials
    Join Date: Jan 2008
    Location: England
    Posts: 5,189
    I presume you made a "getForm" procedure for your Pokémon in order to make sure its form changes outside of battle properly (which could happen due to poisoning).

    The stats not changing in battle is an oversight on my part. In PokeBattle_Battler, find def pbUpdate and add this:

      def pbUpdate(fullchange=false)
        if @pokemon
          if fullchange
            @[email protected]
            @[email protected]
    Bear in mind that there's a very good reason why, of all the base stats, the HP stat never changes between forms - it would affect the current HP as well, and that's too fiddly to deal with. Make sure any of your Pokémon with multiple forms never change their HP stat.
    Go to the Pokémon Essentials Wiki

    | Downloads | Tutorials | Fangames |
    | All Animations Project |

    Follow me on Twitter: @maruno42

    Reply With Quote