New types (type change) are now delimited by /

This commit is contained in:
V4Victini
2013-11-20 16:28:30 -05:00
parent 5279d100bc
commit 70f43c7a4b

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(' ');