• Our software update is now concluded. You will need to reset your password to log in. In order to do this, you will have to click "Log in" in the top right corner and then "Forgot your password?".
  • 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,309
Posts
5
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

    • cursor_ultra.png
      cursor_ultra.png
      1.2 KB · Views: 825
    Last edited:

    mybusiness

    Guest
    0
    Posts
    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
     
    33
    Posts
    5
    Years
    • Seen Dec 19, 2023
    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.
     
    33
    Posts
    5
    Years
    • Seen Dec 19, 2023
    Nevermind it works now ;) but how can i add Photon Geyser to the Zmoves script now ?
     
    Back
    Top