From e09857fe9f051a79b16386b1e65751cccba5fc04 Mon Sep 17 00:00:00 2001 From: Kevin Lau Date: Wed, 12 Aug 2015 00:54:55 -0700 Subject: [PATCH] Random Battle: Add extra scenario for Choice Scarf distribution It is given to Pokemon within a certain speed tier with 3 Special attacks and also U-Turn. --- data/scripts.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/data/scripts.js b/data/scripts.js index 1c32541a29..3772b6a167 100644 --- a/data/scripts.js +++ b/data/scripts.js @@ -1784,6 +1784,8 @@ exports.BattleScripts = { item = template.baseStats.spe > 82 && template.baseStats.spe < 109 && !counter['priority'] && this.random(3) ? 'Choice Scarf' : 'Choice Band'; } else if (counter.Special >= 4 && ability !== 'Speed Boost' && !hasMove['acidspray'] && !hasMove['chargebeam'] && !hasMove['fierydance']) { item = template.baseStats.spe > 82 && template.baseStats.spe < 109 && !counter['priority'] && this.random(3) ? 'Choice Scarf' : 'Choice Specs'; + } else if (counter.Special >= 3 && hasMove['uturn'] && template.baseStats.spe > 82 && template.baseStats.spe < 109 && !counter['priority'] && this.random(3)) { + item = 'Choice Scarf'; } else if (hasMove['eruption'] || hasMove['waterspout']) { item = counter.Status <= 1 ? 'Expert Belt' : 'Leftovers'; } else if ((hasMove['endeavor'] || hasMove['flail'] || hasMove['reversal']) && ability !== 'Sturdy') {