- 13
- Posts
- 6
- Years
- Seen Jul 23, 2020
Hello
i would like to give Brock 3 different teams so every time you battle him its maybe an other team.
I used this script from an other thread
Random teams working great so far, but after the battle the event beginns from the beginning.
But actually should it give the first badge.
So what did i wrong?
i would like to give Brock 3 different teams so every time you battle him its maybe an other team.
I used this script from an other thread
class Brockrndteam
def initialize
random=rand(3)
if random == 0
pbTrainerBattle(PBTrainers::LEADER_Brock,"Brock",_I("...."),false,0,false,0)
elsif random == 1
pbTrainerBattle(PBTrainers::LEADER_Brock,"Brock",_I("...."),false,1,false,0)
elsif random == 2
pbTrainerBattle(PBTrainers::LEADER_Brock,"Brock",_I("...."),false,2,false,0)
end
end
end
Random teams working great so far, but after the battle the event beginns from the beginning.
But actually should it give the first badge.
So what did i wrong?