Merge pull request #83 from V4Victini/patch-12

New types (type change) are now delimited by /
This commit is contained in:
Guangcong Luo
2013-11-20 13:29:24 -08:00

View File

@@ -804,7 +804,7 @@
}
if (pokemon.volatiles.typechange) {
text += '<small>(Type changed)</small><br />';
types = pokemon.volatiles.typechange[2].split(', ');
types = pokemon.volatiles.typechange[2].split('/');
}
if (types) {
text += types.map(Tools.getTypeIcon).join(' ');