mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-10 14:44:58 +00:00
Made more use of nil_or_empty?, fixed incorrect default species body shape, fixed Illusion, fixed potential foreign Pokémon with blank names
This commit is contained in:
@@ -80,7 +80,7 @@ class PBPokemon
|
||||
end
|
||||
for i in 1..maxconst
|
||||
val=mod.getName(i)
|
||||
next if !val || val==""
|
||||
next if nil_or_empty?(val)
|
||||
return i if val==str
|
||||
end
|
||||
return 0
|
||||
|
||||
Reference in New Issue
Block a user