mirror of
https://github.com/smogon/pokemon-showdown.git
synced 2026-05-05 21:17:43 -05:00
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:
parent
eeb232bc04
commit
0d37b7946d
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user