Pokémon Essentials All questions and discussion about Pokémon Essentials, the Pokémon game kit for RPG Maker XP, go in here. Also contains links to the latest downloads and the Essentials Wiki.

Thread Tools
Old March 9th, 2013 (5:10 AM).
Fearghall Fearghall is offline
    Join Date: Mar 2013
    Gender: Male
    Posts: 6
    I'm trying to make it so that Hyper Beam will act in the glitchy way it does in RBY.
    So that if an opponent faints after Hyper Beam is used, no recharge is required.
    Can anybody give me some pointers on where to begin?
    Reply With Quote

    Relevant Advertising!

    Old March 9th, 2013 (2:57 PM).
    Maruno's Avatar
    Maruno Maruno is offline
    Lead Dev of Pokémon Essentials
      Join Date: Jan 2008
      Location: England
      Posts: 5,173
      You can begin and end in class PokeBattle_Move_0C2. The attacker's effects[PBEffects::HyperBeam] is set to 2 if the attack does damage. So long as this value is greater than 0, the Pokémon with it is recharging and can't move (it's reduced by 1 at the end of each turn). You want instead to set the value if the attack does damage and the opponent survived the attack.

      Think about it.
      Go to the Pokémon Essentials Wiki

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

      Follow me on Twitter: @maruno42

      Reply With Quote
      Old March 9th, 2013 (4:17 PM).
      Fearghall Fearghall is offline
        Join Date: Mar 2013
        Gender: Male
        Posts: 6
        It's working just how i want!
        Thanks for the direction and advice.
        Reply With Quote
        Quick Reply

        Sponsored Links
        Thread Tools

        Posting Rules
        You may not post new threads
        You may not post replies
        You may not post attachments
        You may not edit your posts

        BB code is On
        Smilies are On
        [IMG] code is On
        HTML code is Off

        Forum Jump

        All times are GMT -8. The time now is 10:51 AM.