• 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!
  • Serena, Kris, Dawn, Red - which Pokémon protagonist is your favorite? Let us know by voting in our grand final favorite protagonist poll!
  • PokéCommunity supports the Stop Killing Games movement. If you're a resident of the UK or EU, consider signing one of the petitions to stop publishers from destroying games. Click here for more information!
  • 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.

[Question] Ability quiestion.

  • 68
    Posts
    6
    Years
    • Seen Aug 25, 2023
    Hello! I was trying to make the Zoroarks ability: "Illusion" to not only copy the look but also to copy the moves. So, my idea worked perfetly well but... At the moment whe the Illusion faded, Zoroark does not recover its own moves, it keeps the transformation moves. So, i think i have to define the pokémon original moves, maybe? But I don´t know how to do that.... I truly don´t know what i have to do. I tried everything but i just can´t... I just don´t know what i have to do... So if anybody has a hint, pls and thanks.
     
    Is it not this change in green?
    Code:
    if self.effects[PBEffects::Transform]=nil
      for i in 0...4
        @moves[i]=PokeBattle_Move.pbFromPBMove(@battle,PBMove.new(self.[color=green]pokemon.[/color]moves[i].id))
      end

    Nope. It doesn't works
     
    Well i thougth: since here is where zoroarks takes back his look, is here maybe where i have to put it?:

    Spoiler:


    So i did this:

    Spoiler:


    it doesn't worked neither xd
     
    btw you have a lot of:
    Code:
    if something=nil
    But you definitely mean
    Code:
    if something==nil
    … or more simply
    Code:
    if something

    Wow. If all the problems only were for that... Damn! I'll try
     
    Back
    Top