mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-06 06:01:46 +00:00
Tidied up semicolon use, refactored random dungeon generation code, fixed visual bug in Day Care debug screen
This commit is contained in:
@@ -73,8 +73,10 @@ class Pokemon
|
||||
|
||||
def makeUnprimal
|
||||
v = MultipleForms.call("getUnprimalForm", self)
|
||||
if !v.nil?; self.form = v
|
||||
elsif primal?; self.form = 0
|
||||
if !v.nil?
|
||||
self.form = v
|
||||
elsif primal?
|
||||
self.form = 0
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user