- 8
- Posts
- 3
- Years
- Seen Dec 25, 2023
So, was making a event pokemon as title says, something for the trainer to challenge after going through the area as sort of an elite foe. So, I looked at the various scripts, at Mew and Deoxys, looked up how to make an event pokemon with its own move list, and went with this;
p=Pokemon.new(:INFERNAPE,20, $Trainer)
p.pbLearnMove(:FIREPUNCH)
p.pbLearnMove(:POWERUPPUNCH)
p.pbLearnMove(:SLACKOFF)
p.pbLearnMove(:AERIALACE)
p.calcStats
Kernel.pbWildBattle(p)
However, thats when I get the argument error, that I gave the wrong number of arguments, 1 instead of 2,,5
Not entirely sure whats happening, but would appreciate the help, as I be new to coding in general.
p=Pokemon.new(:INFERNAPE,20, $Trainer)
p.pbLearnMove(:FIREPUNCH)
p.pbLearnMove(:POWERUPPUNCH)
p.pbLearnMove(:SLACKOFF)
p.pbLearnMove(:AERIALACE)
p.calcStats
Kernel.pbWildBattle(p)
However, thats when I get the argument error, that I gave the wrong number of arguments, 1 instead of 2,,5
Not entirely sure whats happening, but would appreciate the help, as I be new to coding in general.