mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-06 06:01:46 +00:00
Level 100 crash fix
This commit is contained in:
@@ -293,6 +293,7 @@ class PokemonDataBox < SpriteWrapper
|
|||||||
|
|
||||||
def refreshExp
|
def refreshExp
|
||||||
return if !@showExp
|
return if !@showExp
|
||||||
|
return if @battler.level >= 100
|
||||||
w = exp_fraction * @expBarBitmap.width
|
w = exp_fraction * @expBarBitmap.width
|
||||||
# NOTE: The line below snaps the bar's width to the nearest 2 pixels, to
|
# 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.
|
# fit in with the rest of the graphics which are doubled in size.
|
||||||
|
|||||||
Binary file not shown.
Reference in New Issue
Block a user