• 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!
  • Our weekly protagonist poll is now up! Vote for your favorite Conquest protagonist in the poll by clicking here.
  • 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,)

Inserted that as well, and it still allows me to use Baneful Bunker throughout the whole battle, and never fails.


Hmmm, how are your move.txt, about Baneful Bunker?
 
Last edited:
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.
 
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:
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
 
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
 
[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:
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
 
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:
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.
 
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:
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:
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
 
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.
 
Back
Top