Level 100 crash fix

This commit is contained in:
infinitefusion
2022-08-13 11:17:45 -04:00
parent 3921913d32
commit 0ae28b8023
2 changed files with 1 additions and 0 deletions

View File

@@ -293,6 +293,7 @@ class PokemonDataBox < SpriteWrapper
def refreshExp
return if !@showExp
return if @battler.level >= 100
w = exp_fraction * @expBarBitmap.width
# NOTE: The line below snaps the bar's width to the nearest 2 pixels, to
# fit in with the rest of the graphics which are doubled in size.