- 1,541
- Posts
- 11
- Years
- Seen today
The problem, which I think is you set gigantamax to yes, though bellsprout don't have a gigantamax form. Try changing it to gigantamax=no. I ain't sure about this but this is what I found weird.
That isn't the problem. The Gigantamax setting is ignored if the species doesn't have a G-Max form.
Yep, for sure, my opponents is like this:
I see what the issue is. It has to do with the fact that Bellsprout has less than 4 moves. When I fixed the issue of level-up moves not appearing as Max Moves in the menu after learning them, I didn't account for the fact that there might be empty moveslots. So the code is trying to turn a non-existing move into a Max Move, which is obviously impossible. So it returns an error.
In ZUD_02 replace the entire def pbDynamaxTimer method with this:
Code:
def pbDynamaxTimer
eachBattler do |b|
next if b.effects[PBEffects::Dynamax]<=0
# Converts any newly-learned moves into Max Moves while Dynamaxed.
for m in 0...b.moves.length
next if b.moves[m].id==0 || b.moves[m].id==nil
next if b.moves[m].maxMove?
b.moves[m] = PokeBattle_MaxMove.pbFromOldMove(self,b,b.moves[m])
end
b.effects[PBEffects::Dynamax]-=1
b.unmax if b.effects[PBEffects::Dynamax]==0
pbRaidUpdate(b)
end
end
Alternatively, just reinstall ZUD_02. It's been updated in the link.