Thread:Knj00/@comment-24713723-20160829201753/@comment-4830404-20160830213053

Ok, it looks like there were naming conflicts with some of the functions. A lot of javascript is loaded onto the page, and some of that javascript had the same name as the functions I used. So, I renamed the following breeding calculator functions: mergeSort to dbcMergeSort, merge to dbcMerge, and compareValues to dbcCompareValues. They need to be renamed in the place the function is defined and also everywhere the function is called. For Battle Arena code, I would name those same functions to basMergeSort, basMerge, and basCompareValues; I'd do it myself but you may be working on it so I'll hold off.

Anyway, I ran it in Test Mode and it looks ok now. :)