• 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!
  • Which Pokémon Masters protagonist do you like most? Let us know by casting a vote in our Masters favorite protagonist poll here!
  • Red, Hilda, Paxton, or Kellyn - which Pokémon protagonist is your favorite? Let us know by voting in our poll!
  • 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.

[Scripting Question] [v18.1] Ability coding help

  • 40
    Posts
    4
    Years
    • Seen Jan 13, 2022
    I want to code this ability, but I have no clue how to go about it. Ability concept will be down below.

    Stun Lock - On switch-in, the holder paralyzes and confuses all adjacent Pokemon. Pokemon in reach of the ability are also trapped.

    It is basically supposed to be a unique clone of Intimidate only really given to a cockatrice line of Pokemon in their final stage.

    EDIT: I know the basics, like that it needs its own Intimidate-esque function and that it needs to be coded in the ability handlers exactly like Intimidate. But thats about it, because the only things it doesnt affect negatively are Pokemon behind a substitute or Pokemon affected by Flower Veil.
     
    Last edited:
    I want to code this ability, but I have no clue how to go about it. Ability concept will be down below.

    Stun Lock - On switch-in, the holder paralyzes and confuses all adjacent Pokemon. Pokemon in reach of the ability are also trapped.

    It is basically supposed to be a unique clone of Intimidate only really given to a cockatrice line of Pokemon in their final stage.

    EDIT: I know the basics, like that it needs its own Intimidate-esque function and that it needs to be coded in the ability handlers exactly like Intimidate. But thats about it, because the only things it doesnt affect negatively are Pokemon behind a substitute or Pokemon affected by Flower Veil.

    Just use "eachBattler do" (instead of eachOtherSideBattler that Intimidate uses, since this affects all battlers, not just opposing), and then just apply Paralysis, Confusion, and Mean Look on each of those battlers. Which you can figure out just by looking at specific moves/abilities that apply those effects to find the appropriate calls.
     
    Back
    Top