- 386
- Posts
- 18
- Years
- Seen Aug 10, 2015
I checked my script code, and in principle nothing prevents you from assuming that there are more than eight badges, though in the Trainer Card and for the purpose of hidden moves, only the first eight badges are important.
Oh, one tiny change in the "numbadges" function in script section PokeBattle_Trainer:
Oh, one tiny change in the "numbadges" function in script section PokeBattle_Trainer:
Code:
def numbadges # Number of badges
ret=0
for i in 0...[b]@badges.length[/b]
ret+=1 if @badges[i]
end
return ret
end