• Our software update is now concluded. You will need to reset your password to log in. In order to do this, you will have to click "Log in" in the top right corner and then "Forgot your password?".
  • Staff applications for our PokéCommunity Daily and Social Media team are now open! Interested in joining staff? Then click here for more info!
  • 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.

Gift Pokemon Script Help

cRaCkZ

Well...
  • 358
    Posts
    9
    Years
    Hello! So a short time ago i decided to make my own game using RMXP :)
    I added some original starter to my Regional Dex and i wanted players obtain it via special NPC's,but we all know starters pokemon are special in their games so i wanted to make them more special.
    I tried to make a Gift Pokemon (like in FanClub Event) with a special moveset.
    I saw the event with Spiky Eared Pichu and a custom moveset and i tried to adapt it to my event but didn't work.

    My question is : Someone can help me (or is even possible) to make a gift pokemon event like this:
    Example: Snivy , Level 10 , Gender:Female
    Ability : Contrary
    Moves: Attract,Vine Whip, Leaf Storm, Leaf Blade
    (BW Fans will know it)

    Oh, and a second question :))
    Is possible to make a puzzle like in Blaine Gym ? (These Trivia machines)

    PS. I use Mej Gen6 Kit :)
    Thanks in advance :)
     
    Code:
    p=PokeBattle_Pokemon.new(:SNIVY,10,$Trainer)
    p.setGender(1)
    p.setAbility(2)   # this is likely where you had problems.  setAbility(2) is used to switch the Pokemon to their Hidden Ability.  For Snivy, that's Contrary.
    p.makeNotShiny
    p.calcStats
    pbAutoLearnMove(p,:ATTRACT)
    pbAutoLearnMove(p,:VINEWHIP)
    pbAutoLearnMove(p,:LEAFSTORM)
    pbAutoLearnMove(p,:LEAFBLADE)

    As for your second question, yes, it's very possible to have a puzzle like that - Pokemon Reborn has a gym that uses them. As for pulling it off, I don't know.

    Also, woot for fellow Shiny Glaceon lover!
     
    Last edited:
    Thanks :) i'll try it now..
    I think here (p=PokeBattle_Pokemon.new(NIVY,10,$Trainer) <-- i should put OT Name, right?
     
    Thanks :) i'll try it now..
    I think here (p=PokeBattle_Pokemon.new(NIVY,10,$Trainer) <-- i should put OT Name, right?

    It's :SNIVY smilies got in the way. (I edited my initial post so that shouldn't be a problem)

    Also, no, leave it exactly the way it is. Unless you want it to not be the player's original Pokemon. Unfortunately, the $Trainer value is the entire player character, not the name, so if you want to give the Snivy a different OT you'd need to create the entire character.
     
    It's :SNIVY smilies got in the way. (I edited my initial post so that shouldn't be a problem)

    Also, no, leave it exactly the way it is. Unless you want it to not be the player's original Pokemon. Unfortunately, the $Trainer value is the entire player character, not the name, so if you want to give the Snivy a different OT you'd need to create the entire character.

    Thanks a lot :) It worked perfectly...
     
    Back
    Top