diff --git a/script_res/setdex_custom.js b/script_res/setdex_custom.js index 67985a3..236769a 100644 --- a/script_res/setdex_custom.js +++ b/script_res/setdex_custom.js @@ -100,7 +100,7 @@ var savecustom = function() species = lines[0].substring(firstParenth + 1, lastParenth).trim(); } else - species = lines[0].split(' ')[0].trim(); //species is always first + species = lines[0].split('@')[0].trim(); //species is always first for(var i = 0; i < showdownFormes.length; ++i) { if(species == showdownFormes[i][0]) @@ -228,4 +228,4 @@ var savecustom = function() reloadXYScript() -} \ No newline at end of file +}