- 83
- Posts
- 4
- Years
- He | Him
- São Paulo, Brazil
- Seen Apr 15, 2025
Spoiler:
I found a bug which I think I need to let you know.... According to Bulbapedia...."the increased stat is notated in red text and the decreased stat is notated in blue text". But it is the opposite in here, red showing decreased stat and blue showing increased stat. The fix for this would be.....
To....Code:# Determine which stats are boosted and lowered by the Pokémon's nature statshadows = {} GameData::Stat.each_main { |s| statshadows[s.id] = shadow } if [email protected]? || @pokemon.heartStage > 3 @pokemon.nature_for_stats.stat_changes.each do |change| statshadows[change[0]] = Color.new(148,148,214) if change[1] > 0 statshadows[change[0]] = Color.new(206,148,156) if change[1] < 0 end end
Code:# Determine which stats are boosted and lowered by the Pokémon's nature statshadows = {} GameData::Stat.each_main { |s| statshadows[s.id] = shadow } if [email protected]? || @pokemon.heartStage > 3 @pokemon.nature_for_stats.stat_changes.each do |change| statshadows[change[0]] = Color.new(206,148,156) if change[1] > 0 statshadows[change[0]] = Color.new(148,148,214) if change[1] < 0 end end
Oh my, how could that had happened [*laughs nervously in portuguese]...
Jokes aside, that was sort of an mistake of mine that I thought I had fixed. Guess not.
Thanks for bringing this to my attention. I'll fix it right away