Added Setting that makes trainer-owned Pokémon give more Exp, other tweaks

This commit is contained in:
Maruno17
2022-07-03 17:39:44 +01:00
parent a2327c6280
commit 2976ee93ce
7 changed files with 24 additions and 2 deletions

View File

@@ -32,6 +32,8 @@ module GameData
@after_evolution_proc = hash[:after_evolution_proc]
end
alias name real_name
def call_level_up(*args)
return (@level_up_proc) ? @level_up_proc.call(*args) : nil
end

View File

@@ -60,6 +60,8 @@ module GameData
@ignore_passability = hash[:ignore_passability] || false
end
alias name real_name
def can_surf_freely
return @can_surf && !@waterfall && !@waterfall_crest
end

View File

@@ -44,6 +44,8 @@ module GameData
@tone_proc = hash[:tone_proc]
end
alias name real_name
def has_particles?
return @graphics[0] && @graphics[0].length > 0
end

View File

@@ -19,6 +19,8 @@ module GameData
@type = hash[:type] || :none
@trigger_chance = hash[:trigger_chance] || 0
end
alias name real_name
end
end