• 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.

[Scripting Question] Cosplay Pikachu moves when changing form

  • 44
    Posts
    5
    Years
    Hello, I'm adding all the Pikachu forms from ORAS and I'm trying that, when you change the form of the Pikachu with and item, she learns the attack that corresponds to that "form".

    Before nothing, the forms that I use for this Pikachus are: 4 (Cosplay), 5, 6, 7, 8, 9 to all the customes. Pikachu_1 is the one that I use for alolan raichu, 2 is for flying pikachu and 3 for surfing pikachu.

    The item works like a charm. I modified the "Rotom Catalog" made by Golisopod User in this thread: https://www.pokecommunity.com/showthread.php?p=10109969. Credits to him.

    Heres is the code:

    Spoiler:

    But the problem appears when I try the thing with the attacks. I looked into the Rotom code to do that, but everything that I try doesn't make nothing.

    Here is the code that I'm trying to use. Obviously modified from rotom's code.

    Spoiler:

    I know that I'm missing something, but I don't know what is.

    I tested rotom and works perfectly, by the way.

    Someone can help me?

    Thanks.
     
    Yeah you're problem is this right here
    Code:
    if isConst?(pokemon.moves[i].id,PBMoves,moves[j])

    You should change that to
    Code:
    if isConst?(pokemon.moves[i],PBMoves,moves[j])
     
    I just tried it but didn't worked...

    I don't know if it has something to be with the forms or what.

    Thanks for the rotom script and the help dude, you are great.
     
    Have run into an issue where Pikachu won't forget the move of the form it was when changing to a new form. Is that the same issue you're having? The rest of the code seems to be working flawlessly.
     
    Have run into an issue where Pikachu won't forget the move of the form it was when changing to a new form. Is that the same issue you're having? The rest of the code seems to be working flawlessly.

    No, no.

    When I try to change forms, my Pikachus don't learn anything. The form changes perfectly, but nothing more.

    I didn't get any success trying things so... If you have some kind of progress, that's a great thing.
     
    Hello, I'm checking in to see if you still working on this project, as I am interested of the idea of adding those underrated Pikachu(s) into essential, unfortunately it doesn't seems anyone is acknowledge Cosplay Pikachu as a real pokemon other than you, so please if you still working on it, I will be waiting even for the next 10 years to come, thank you.
     
    Back
    Top