• Just a reminder that providing specifics on, sharing links to, or naming websites where ROMs can be accessed is against the rules. If your post has any of this information it will be removed.
  • Ever thought it'd be cool to have your art, writing, or challenge runs featured on PokéCommunity? Click here for info - we'd love to spotlight your work!
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

Ultra Burst (v17.2)

WolfPP

Spriter/ Pixel Artist
  • 1,308
    Posts
    6
    Years
    Let's start to put Ultra Burst functional, like Mega Evolution!

    First you need to insert Z-Move script:
    https://www.pokecommunity.com/showthread.php?t=393813

    After it, let's go!

    SETTING SCRIPT
    Spoiler:


    PokeBattle_Battler(WITH R) SCRIPT
    Spoiler:


    PokeBattle_Battle(WITHOUT R)
    Spoiler:


    PokeBattle_Scene
    Spoiler:


    Pokemon_Forms SCRIPT
    Spoiler:


    PSystem_PokemonUtilities SCRIPT
    Find 'def pbCheckMove(move)' and add above:
    Spoiler:


    In 'PSystem_Controls' SCRIPT
    Spoiler:


    And, FINALLY:
    Pokemon_MegaEvolution SCRIPT
    Above 'Primal Reversion' script and inside 'class PokeBattle_Pokemon', add
    Spoiler:


    Done!

    Credits to: https://www.pokecommunity.com/showthread.php?t=393813
    And credits for me to adapted the script :D
    Credit me if you use the button
    BONUS:
    NEUROFORCE, PRISMARMOR, N-Lunarizer and N-Solarizer: https://www.pokecommunity.com/showpost.php?p=9934995&postcount=89
    PHOTON GEYSER: https://www.pokecommunity.com/showpost.php?p=9941537&postcount=90
    P.S: Necrozma will not revert to its original form if it faints in battle. Only after battle.
    Im workin about that...

    P.S: Now, Thanks Vendily, Necrozma SHALL revert to its original form if it faints in battle.
    If you added all, just replace these red codes:
    PokeBattle_Battler
    Spoiler:


    Pokemon_Forms
    Spoiler:


    Pokemon_MegaEvolution
    Spoiler:
     

    Attachments

    • [PokeCommunity.com] Ultra Burst (v17.2)
      cursor_ultra.png
      1.2 KB · Views: 828
    Last edited:
    Hey! I noticed that the foe doesn´t Ultra Burst. To fix this, in PokeBattle_AI, under pbRegisterMegaEvolution(index) if pbEnemyShouldMegaEvolve?(index) put pbRegisterUltraBurst(index) if pbEnemyShouldUltraBurst?(index) , and under
    Code:
    ################################################################################
    # Decide whether the opponent should Mega Evolve their Pokémon.
    ################################################################################
      def pbEnemyShouldMegaEvolve?(index)
        # Simple "always should if possible"
        return pbCanMegaEvolve?(index)
      end
    put
    Code:
    ################################################################################
    # Decide whether the opponent should Ultra Burst their Pokémon.
    ################################################################################
      def pbEnemyShouldUltraBurst?(index)
        # Simple "always should if possible"
        return pbCanUltraBurst?(index)
      end
     
    Can I insert the z move script without losing all my inserted scripts? (there are too many)

    p.s. I'm working on the 17.2
     
    Hey man i added all the scripts correctly but the button is not appearing could you halp me please ? i also added the cursor in the battle folder.
     
    Nevermind it works now ;) but how can i add Photon Geyser to the Zmoves script now ?
     
    Back
    Top