mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-06 06:01:46 +00:00
don't display gym rematch stats if didn't do any
This commit is contained in:
@@ -228,7 +228,8 @@ def Kernel.sumGameStats()
|
|||||||
stringStats << "\nBeaten the Elite Four " << $game_variables[VAR_STAT_NB_ELITE_FOUR].to_s << " times"
|
stringStats << "\nBeaten the Elite Four " << $game_variables[VAR_STAT_NB_ELITE_FOUR].to_s << " times"
|
||||||
stringStats << "\nFused " << $game_variables[VAR_STAT_NB_FUSIONS].to_s << " Pokémon"
|
stringStats << "\nFused " << $game_variables[VAR_STAT_NB_FUSIONS].to_s << " Pokémon"
|
||||||
|
|
||||||
stringStats << "\nRematched " << $game_variables[VAR_STAT_LEADER_REMATCH].to_s << " Gym Leaders"
|
nbGymRematches = $game_variables[VAR_STAT_LEADER_REMATCH]
|
||||||
|
stringStats << "\nRematched " << nbGymRematches.to_s << " Gym Leaders" if nbGymRematches > 0
|
||||||
stringStats << "\nTook " << $PokemonGlobal.stepcount.to_s << " steps"
|
stringStats << "\nTook " << $PokemonGlobal.stepcount.to_s << " steps"
|
||||||
stringStats << "\nVisited " << countVisitedMaps.to_s << " different areas"
|
stringStats << "\nVisited " << countVisitedMaps.to_s << " different areas"
|
||||||
stringStats << "\nUsed " << $game_variables[VAR_STAT_RARE_CANDY].to_s << " Rare Candies"
|
stringStats << "\nUsed " << $game_variables[VAR_STAT_RARE_CANDY].to_s << " Rare Candies"
|
||||||
|
|||||||
Reference in New Issue
Block a user