Tweaked some overworld weather animations, added NPCTrainer#version, added Debug function for editing more things in the phone and its contacts

This commit is contained in:
Maruno17
2023-06-24 23:52:09 +01:00
parent 4fc0806c8a
commit 7d77c5f3fc
6 changed files with 179 additions and 101 deletions

View File

@@ -182,12 +182,14 @@ end
# Trainer class for NPC trainers
#===============================================================================
class NPCTrainer < Trainer
attr_accessor :version
attr_accessor :items
attr_accessor :lose_text
attr_accessor :win_text
def initialize(name, trainer_type)
def initialize(name, trainer_type, version = 0)
super
@version = version
@items = []
@lose_text = nil
@win_text = nil