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

How to make a wild event encounter Pokémon have a special move?

Minokun

The Rival in Space
  • 107
    Posts
    11
    Years
    • Seen Sep 18, 2019
    I've tried. I really have! I'm sure it's a simple solution that I've either overlooked, didn't know about, or was doing the first time just in the wrong way.

    Btw, An example of this would be the protagonist fighting an aipoim in the circus, so i want to make sure that that when you engage in a battle with it, it will know agility and acrobatics and Fly (idk I ran out of circusy moves).
     
    I'm not sure if this is the only way but put this in the script PField_EncounterModifiers
    Code:
    Events.onWildPokemonCreate+=proc {|sender,e|
      pokemon=e[0]
      if $game_switches[XXX] # <--- Put whatever switch number you want here 
        pokemon.pbLearnMove(:ACROBATICS)
        pokemon.pbLearnMove(:FLY)
        pokemon.pbLearnMove(:AGILITY)
      end

    Then in the event encounter turn on the switch you used before the battle AND make sure to turn it off afterwards otherwise every wild Pokémon will have those moves.
     
    I'm not sure if this is the only way but put this in the script PField_EncounterModifiers
    Code:
    Events.onWildPokemonCreate+=proc {|sender,e|
      pokemon=e[0]
      if $game_switches[XXX] # <--- Put whatever switch number you want here 
        pokemon.pbLearnMove(:ACROBATICS)
        pokemon.pbLearnMove(:FLY)
        pokemon.pbLearnMove(:AGILITY)
      end

    Then in the event encounter turn on the switch you used before the battle AND make sure to turn it off afterwards otherwise every wild Pokémon will have those moves.

    Dangit... I thought that was it! I tried it the first time, but it wouldn't work.... Thanks so much for your help!
     
    Back
    Top