• 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] About new custom moves and abilities.

  • 22
    Posts
    8
    Years
    • Seen May 15, 2023
    Hi, I have some ideas for movements that I would like to code, but I would appreciate some help. I am working with P.Essentials V.17.2

    -A Movement with this effect: Uses a random move the user knows (even deactivated moves, by Disable, e.g.) increasing a bit their power if this are physical or special
    I have used the code for sleep talk for the first part, but i'm not sure how to code the basepower increased part.
    The code:
    Spoiler:


    -An Ability that increase the power of the weakest Special moves only for the first time each one is used.
    I have tried to do that with a code similar to Technician's code, but it didn't worked when i tested.
    The code:
    Spoiler:
     
    Last edited:
    I've already found the part of the code, that it was wrong for the ability,
    this is what i needed to fix:
    ((thismove.pp)==((thismove.totalpp)-1))

    I think that for the move, i would need a much more complex solution, so I will abandon that idea for now,
    thank you anyways!
     
    Back
    Top