Hi, I was working on an event encounter and I was wandering how to make the wild Pokèmon only have one move (I don't know what to put inside those brackets, I tried removing the whole line but it didn't work)
Events.onWildPokemonCreate+=proc {|sender,e|
pokemon=e[0]
if $game_switches[335]
pbAutoLearnMove(pokemon,PBMoves::THEMOVEIWANT)
pbAutoLearnMove(pokemon,PBMoves::IDK)
pbAutoLearnMove(pokemon,PBMoves::IDK)
pbAutoLearnMove(pokemon,PBMoves::IDK)
end
}
Spoiler:
Events.onWildPokemonCreate+=proc {|sender,e|
pokemon=e[0]
if $game_switches[335]
pbAutoLearnMove(pokemon,PBMoves::THEMOVEIWANT)
pbAutoLearnMove(pokemon,PBMoves::IDK)
pbAutoLearnMove(pokemon,PBMoves::IDK)
pbAutoLearnMove(pokemon,PBMoves::IDK)
end
}