mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-09 06:04:59 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user