• 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!
  • Our weekly protagonist poll is now up! Vote for your favorite Trading Card Game 2 protagonist in the poll by clicking here.
  • 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
     
    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
     
    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