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,3 +1,6 @@
#===============================================================================
#
#===============================================================================
module GameData
class PhoneMessage
attr_reader :id
@@ -11,7 +14,6 @@ module GameData
DATA = {}
DATA_FILENAME = "phone.dat"
PBS_BASE_FILENAME = "phone"
SCHEMA = {
"SectionName" => [:id, "q"],
"Intro" => [:intro, "^q"],
@@ -69,6 +71,8 @@ module GameData
return (self::DATA.has_key?(key)) ? self::DATA[key] : nil
end
#---------------------------------------------------------------------------
def initialize(hash)
@id = hash[:id]
@trainer_type = hash[:trainer_type]