mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-06 06:01:46 +00:00
various fixes
This commit is contained in:
@@ -222,12 +222,12 @@ class Pokemon
|
||||
end
|
||||
|
||||
def form=(value)
|
||||
oldForm = @form
|
||||
@form = value
|
||||
@ability = nil
|
||||
MultipleForms.call("onSetForm", self, value, oldForm)
|
||||
calc_stats
|
||||
$Trainer.pokedex.register(self)
|
||||
# oldForm = @form
|
||||
# @form = value
|
||||
# @ability = nil
|
||||
# MultipleForms.call("onSetForm", self, value, oldForm)
|
||||
# calc_stats
|
||||
# $Trainer.pokedex.register(self)
|
||||
end
|
||||
|
||||
# The same as def form=, but yields to a given block in the middle so that a
|
||||
|
||||
Reference in New Issue
Block a user