More or less standardised separator comments in the code

This commit is contained in:
Maruno17
2024-06-27 21:21:26 +01:00
parent 225549bfce
commit 509a414f37
198 changed files with 1907 additions and 1263 deletions

View File

@@ -1,8 +1,10 @@
#===============================================================================
# The pbs_order value determines the order in which the stats are written in
# several PBS files, where base stats/IVs/EVs/EV yields are defined. Only stats
# which are yielded by the "each_main" method can have stat numbers defined in
# those places. The values of pbs_order defined below should start with 0 and
# increase without skipping any numbers.
#===============================================================================
module GameData
class Stat
attr_reader :id
@@ -34,6 +36,8 @@ module GameData
self.each { |s| yield s if [:main_battle, :battle].include?(s.type) }
end
#---------------------------------------------------------------------------
def initialize(hash)
@id = hash[:id]
@real_name = hash[:name] || "Unnamed"
@@ -54,6 +58,8 @@ module GameData
end
end
#===============================================================================
#
#===============================================================================
GameData::Stat.register({