Seasonal: Fix custom movesets

Merge conflicts were being resolved in the wrong direction, giving all Pokemon their normal Random Battle movepools.
This commit is contained in:
Marty-D 2015-11-22 21:46:14 -05:00
parent eeb232bc04
commit 0d37b7946d

View File

@ -3234,7 +3234,7 @@ exports.BattleScripts = {
let template = {};
if (heroTemplate.moves) template.randomBattleMoves = heroTemplate.moves;
if (heroTemplate.required) template.requiredMove = heroTemplate.required;
Object.merge(template, this.getTemplate(heroTemplate.species), false);
Object.merge(template, this.getTemplate(heroTemplate.species), false, false);
let pokemon = this.randomSet(template, i, teamDetails);