• 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.
  • Our friends from the Johto Times are hosting a favorite Pokémon poll - and we'd love for you to participate! Click here for information on how to vote for your favorites!
  • Cyndy, May, Hero (Conquest), or Wes - 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] Coding Abilities?

  • 5
    Posts
    8
    Years
    Hey anybody, I'm fairly new to PE and coding, and I'm still trying to figure things out. For the most part, I've been able to get by just simply using the wiki site and modifying similar moves/pokemon/etc. But when it came to making a new ability, not only does the wiki say that its very difficult(so it just decides to leave it out apparently), but it also kind of sends you into a loop trying to define an ability just through the .txt file.
    So, currently, the ability I'm trying to code is one similar to Motor Drive, but it raises a different stat and uses a different type, but I couldn't find Motor Drive in the script editor, so I wasn't sure what to use. I was originally going to try to modify Lightningrod or Water Absorb, but I wasn't exactly sure how to modify it or where to put it into the game(or even what script I was supposed to put it in, between what lines, etc.)...
    I was also searching for a general guide on coding/abilities, but I couldn't really find anything myself, so if anyone knows where one would be, or is for some reason willing to spend time making one, I'd really appreciate it.
    Thanks in advance for anyone that can help me with this.
     
    At a guess, I would say Motor Drive is in *_Move, rather than *_MoveEffects. (I can't remember what * is off the top of my head.)

    Take a look at that and you should be set.
     
    The RMXP Script Editor has a feature that allows you to search through all script sections at once for a word or phrase, in addition to the feature that searches just the current script section. Have a quick look on the Interweb for that information, or just try clicking on everything (right-clicking is a good idea). I presume you know to search for the internal name "MOTORDRIVE" rather than "Motor Drive".

    But when it came to making a new ability, not only does the wiki say that its very difficult(so it just decides to leave it out apparently), but it also kind of sends you into a loop trying to define an ability just through the .txt file.
    I was also searching for a general guide on coding/abilities, but I couldn't really find anything myself, so if anyone knows where one would be, or is for some reason willing to spend time making one, I'd really appreciate it.
    There is no general guide for coding a new ability because an ability could do anything. Change stats, provide immunities to certain attacks, change the user's form, damage other Pokémon, increase wild encounter rate, cause weather, etc. etc. etc. These effects are all completely different, so there's nothing "general" about them. There's very little sense in even trying to describe how to code a new ability, because you'd very quickly get to the point where the description just chooses an effect of its own (which is probably not an effect you care about) and tells you how to code that (and is thus worthless to you).

    So the wiki provides the only sensible advice on the matter, which is that, if you want to create a new ability that's kinda sorta like an existing ability, find out how the existing ability works and copy it.

    Regarding the "kind of sends you into a loop trying to define an ability just through the .txt file", if you'd like to be more specific about how the wiki does this, please let me know in a PM. I'm always up for making the wiki more navigable.
     
    So, it turns out it was in moves, but for some reason I wasn't able to search for it before. I was searching as MOTORDRIVE (and as Motor Drive) before though, and I wasn't able to find it. Also after that, I wasn't able to search for a couple other abilities (or I guess key words) normally and I couldn't figure out why. I didn't think that there was a guide, but they all seem to have their own kind of formulas and terms, that I thought maybe someone out there may have something basic somewhere, but I guess copying and pasting (if I can just find what I'm looking for) would be quite a bit easier.
     
    Back
    Top