• 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.

Gen VII Scripts (Z-Moves, Abilities and Moves,)

Juno and Ice

Developer of Pokémon Floral Tempus
150
Posts
5
Years
    • Seen Apr 30, 2024
    Hmmm, how are your move.txt, about Baneful Bunker?

    EDIT: I checked my moves.txt and my script. So, someone have these scripts?

    Revelation Dance (DONE: https://www.pokecommunity.com/showpost.php?p=9691472&postcount=3)
    Power Trip
    Psychic Fangs
    Mind Blown
    Shell Trap

    Thanks!

    This is what my moves.txt for Baneful Bunker looks like:

    Code:
    669,BANEFULBUNKER,Baneful Bunker,15B,0,POISON,Status,0,10,0,10,4,,"In addition to protecting the user from attacks, this move also poisons any attacker that makes contact."

    I don't know if there's anything else I need to add, or change here. It seems like everything is in order yet the move is still bugged and allows the user to repeatedly use it without fail.
     

    mybusiness

    Guest
    0
    Posts
    It seems Baneful Bunker isn't working well for many. I'll share my code for that:
    In PBS, match ZZZ as it fits:
    Code:
    ZZZ,BANEFULBUNKER,Baneful Bunker,YYY,0,POISON,Status,0,10,0,10,4,,"In addition to protecting the user from attacks, this move also poisons any attacker that makes contact."

    In PBEffects:
    Code:
    BanefulBunker      = 120 #change the number as it fits there
    In PokeBattle_Battler, under # Spiky Shield, add
    Spoiler:
    Now everywhere you find YYY in my code, replace it with your function code (including in the PBS).
    In PokeBattle_MoveEffects
    Spoiler:

    In PokeBattle_Battle, where is # End of round, add what's red
    Spoiler:
     
    Last edited:

    WolfPP

    Spriter/ Pixel Artist
    1,309
    Posts
    5
    Years
  • You may add into Mind Blown class this also
    Code:
    def isRecoilMove?
        return true
      end

    Thanks but i checked again how this move works and it is not a recoil move, its just remove half hp. I removed the phrase, we dont need it.
     
    Last edited:
    13
    Posts
    6
    Years
    • Seen Dec 25, 2019
    Anyone here can help me for making a offensive version of Gastro Acid?

    Well, I really wanted to make the move Core Enforcer but at least I want the first thing that I said
     

    mybusiness

    Guest
    0
    Posts
    Code:
    ################################################################################
    # A powerful beam representing Zygarde is shot at the opponent. Supresses
    # opponent´s ability. (Core Enforcer)
    ################################################################################
    class PokeBattle_Move_15F < PokeBattle_Move
      def pbAdditionalEffect(attacker,opponent)
        return if opponent.damagestate.substitute
        if opponent.hasMovedThisRound? || @battle.choices[opponent.index][0]==3
          if isConst?(opponent.ability,PBAbilities,:MULTITYPE) ||
           isConst?(opponent.ability,PBAbilities,:STANCECHANGE) ||
           isConst?(opponent.ability,PBAbilities,:DISGUISE) ||
           isConst?(opponent.ability,PBAbilities,:COMATOSE) ||
           isConst?(opponent.ability,PBAbilities,:BATTLEBOND) ||
           isConst?(opponent.ability,PBAbilities,:POWERCONSTRUCT) ||
           isConst?(opponent.ability,PBAbilities,:RKSSYSTEM) ||
           isConst?(opponent.ability,PBAbilities,:SCHOOLING) ||
           isConst?(opponent.ability,PBAbilities,:SHIELDSDOWN)
            return
          end
          opponent.effects[PBEffects::GastroAcid]=true
          opponent.effects[PBEffects::Truant]=false
          @battle.pbDisplay(_INTL("{1}'s ability was suppressed!",opponent.pbThis)) 
        end
      end
    end
     

    WolfPP

    Spriter/ Pixel Artist
    1,309
    Posts
    5
    Years
  • [Help] Beak Blast move script

    I installed that script to Beak Blast but when i fight against wild pokemon/trainer, if i dont use a move (switch to other pokemon or use item) give me that error:

    Spoiler:


    Here the line:
    Spoiler:


    How can i fix that?

    Thank you!
     
    Last edited:
    1,682
    Posts
    8
    Years
    • Seen yesterday
    I installed that script to Beak Blast but when i fight against wild pokemon/trainer, if i dont use a move (switch to other pokemon or use item) give me that error:

    Spoiler:


    Here the line:
    Spoiler:


    How can i fix that?

    Thank you!

    You'll need to check that the target actually selected a move first.
    Code:
    @battle.choices[target.index][0]==1
    That would do it. Surrounding that whole bit with this should work.
    A nil check would not be out of the question either.
    Code:
    if movex &&  movex.function==0xCF20 && #etc
     

    WolfPP

    Spriter/ Pixel Artist
    1,309
    Posts
    5
    Years
  • Now, we have the same line but different cause:
    Spoiler:


    Line 2505 until 2512:
    Code:
            [email protected][target.index][0]==1
            if movex && movex.function==0xCF20 && # Beak Blast
             move.isContactMove? && user.pbCanBurn?(false,movex,target)
              user.pbBurn(target)
            end
            if movex && movex.function==0xCF22 && move.pbIsPhysical?(user) # Shell Trap
              target.effects[PBEffects::ShellTrap]=true
            end
     
    Last edited:
    1,682
    Posts
    8
    Years
    • Seen yesterday
    Now, we have the same line but different cause:
    Spoiler:


    Line 2505 until 2512:
    Code:
            [email protected][target.index][0]==1
            if movex && movex.function==0xCF20 && # Beak Blast
             move.isContactMove? && user.pbCanBurn?(false,movex,target)
              user.pbBurn(target)
            end
            if movex && movex.function==0xCF22 && move.pbIsPhysical?(user) # Shell Trap
              target.effects[PBEffects::ShellTrap]=true
            end

    wait, the other code was right, that line with the [target.index][0]==1 is supposed to guard the whole section in a if block of it's own.
    if [target.index][0]==1
    movex=[target.index][2]
    rest of the stuff.
    but like you do the full variables. phone coding is tiring.
     

    WolfPP

    Spriter/ Pixel Artist
    1,309
    Posts
    5
    Years
  • wait, the other code was right, that line with the [target.index][0]==1 is supposed to guard the whole section in a if block of it's own.
    if [target.index][0]==1
    movex=[target.index][2]
    rest of the stuff.
    but like you do the full variables. phone coding is tiring.
    Spoiler:

    EDIT I think i done:
    Code:
            if @battle.choices[target.index][0]==1
              [email protected][target.index][2]
              if targetmove.function==0xCF20 && # Beak Blast
               move.isContactMove? && user.pbCanBurn?(false,targetmove,target)
                user.pbBurn(target)
              end
              if targetmove.function==0xCF22 && move.pbIsPhysical?(user) # Shell Trap
                target.effects[PBEffects::ShellTrap]=true
              end
            end
     
    Last edited:
    3
    Posts
    4
    Years
  • Does anyone have a better code for Spotlight?
    It's because the one I found here on the community doesn't seem to work properly.
     
    Last edited:

    Cony

    Hotami's Empress
    9
    Posts
    8
    Years
  • Hello and sorry to bother, but I'm working on a complete Gen 1-7 Essentials and I would like to complete my movelist, couldn't find much about these moves:

    Zippy Zap
    Splishy Splash
    Floaty Fall
    Pika Papow
    Bouncy Bubble
    Buzzy Buzz
    Sizzly Slide
    Glitzy Glow
    Baddy Bad
    Sappy Seed
    Freezy Frost
    Sparkly Swirl
    Veevee Volley

    Ice Hammer
    Anchor Shot
    Lunge
    Fire Lash
    Power Trip
    Burn Up
    Smart Strike
    Trop Kick
    Clanging Scales
    Shell Trap
    Fleur Cannon
    Stomping Tantrum
    Shadow Bone
    Accelerock
    Liquidation
    Prismatic Laser
    Zing Zap
    Origin Pulse
    Precipice Blades
    Dragon Ascent
    Parabolic Charge
    Petal Blizzard
    Steam Eruption
    Mystical Fire
    Light of Ruin

    Could you share your PBS of these and if needed the move scripts ?
    I know that's much to ask for, but I really don't want to insert too many errors just because I've overseen something.

    Thanks so much in advance, these forums were so helpful and I really appreciate your work so nonprofessionals like me can get into the coding easily <3
     

    WolfPP

    Spriter/ Pixel Artist
    1,309
    Posts
    5
    Years
  • Hello and sorry to bother, but I'm working on a complete Gen 1-7 Essentials and I would like to complete my movelist, couldn't find much about these moves:

    Zippy Zap
    Splishy Splash
    Floaty Fall
    Pika Papow
    Bouncy Bubble
    Buzzy Buzz
    Sizzly Slide
    Glitzy Glow
    Baddy Bad
    Sappy Seed
    Freezy Frost
    Sparkly Swirl
    Veevee Volley

    Ice Hammer
    Anchor Shot
    Lunge
    Fire Lash
    Power Trip
    Burn Up
    Smart Strike
    Trop Kick
    Clanging Scales
    Shell Trap
    Fleur Cannon
    Stomping Tantrum
    Shadow Bone
    Accelerock
    Liquidation
    Prismatic Laser
    Zing Zap
    Origin Pulse
    Precipice Blades
    Dragon Ascent
    Parabolic Charge
    Petal Blizzard
    Steam Eruption
    Mystical Fire
    Light of Ruin

    Could you share your PBS of these and if needed the move scripts ?
    I know that's much to ask for, but I really don't want to insert too many errors just because I've overseen something.

    Thanks so much in advance, these forums were so helpful and I really appreciate your work so nonprofessionals like me can get into the coding easily <3

    Well, I think is better you wait for v18.
     

    WolfPP

    Spriter/ Pixel Artist
    1,309
    Posts
    5
    Years
  • Or you won't be lazy and add one by one about all theses move than you sent to us or wait for v18.
    About moves from LGPLGE, I don't think you will see them here. You need to make them from scratch.
     
    Back
    Top