mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-07 13:15:01 +00:00
Added Setting that makes trainer-owned Pokémon give more Exp, other tweaks
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -19,6 +19,8 @@ module GameData
|
||||
@type = hash[:type] || :none
|
||||
@trigger_chance = hash[:trigger_chance] || 0
|
||||
end
|
||||
|
||||
alias name real_name
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user