• 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!
  • 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] KeyItem Running a code

  • 20
    Posts
    4
    Years
    • Seen Apr 29, 2021
    Hlw, everyone i have a question related to Pokemon Essentials v17.2 I want that if I use a keyitem name-Pokeride Arcanine it will run a code for me like -
    module Rhyhorn#Just to keep a rock climb mount
    MoveSheet = ["Pokeride/boy_rhyhorn","Pokeride/girl_rhyhorn"]
    MoveSpeed = 4.4
    ActionSheet = ["Pokeride/boy_rhyhorn","Pokeride/girl_rhyhorn"]
    ActionSpeed = 4.4
    RockClimb = true
    end
    If anyone pls tell me Thanks in advance
     
    All this block of code appears to do is set up a module with some variables on it. Nothing actually gets 'run' that would affect the game in any way.

    Setting up item effects for key items is a little trickier than some things in essentials, but can be done by reading this page on the wiki.

    You will need to ensure that whatever you are doing is actually running a function that is responsible for activating this PokeRide feature.
     
    Back
    Top