Adds experimental mode in which levels don't affect stats

This commit is contained in:
chardub
2023-02-07 17:09:46 -05:00
parent 80543cb31a
commit a487f45800
12 changed files with 12 additions and 3 deletions

View File

@@ -1136,6 +1136,11 @@ class Pokemon
base_stats = self.baseStats
this_level = self.level
this_IV = self.calcIV
if $game_switches[SWITCH_NO_LEVELS_MODE]
this_level = Settings::NO_LEVEL_MODE_LEVEL
end
# Format stat multipliers due to nature
nature_mod = {}
GameData::Stat.each_main { |s| nature_mod[s.id] = 100 }