Pikachuun

2human items

Aug 6th, 2015
356
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 30.41 KB | None | 0 0
  1. exports.BattleItems = {
  2. "absorbbulb": {
  3. inherit: true,
  4. gen: 1006
  5. },
  6. "aguavberry": {
  7. inherit: true,
  8. naturalGift: {
  9. basePower: 60,
  10. type: "Faith"
  11. },
  12. gen: 1006
  13. },
  14. "airballoon": {
  15. inherit: true,
  16. onImmunity: function (type) {
  17. if (type === 'Earth') return false;
  18. },
  19. gen: 1006,
  20. desc: "Holder is immune to Earth-type attacks. Pops when holder is hit."
  21. },
  22. "apicotberry": {
  23. inherit: true,
  24. naturalGift: {
  25. basePower: 100,
  26. type: "Earth"
  27. },
  28. gen: 1006
  29. },
  30. "aspearberry": {
  31. inherit: true,
  32. gen: 1006
  33. },
  34. "babiriberry": {
  35. inherit: true,
  36. gen: 1006,
  37. },
  38. "beastgem": {
  39. id: "beastgem",
  40. name: "Beast Gem",
  41. spritenum: 415,
  42. isGem: true,
  43. onSourceTryPrimaryHit: function (target, source, move) {
  44. if (target === source || move.category === 'Status') return;
  45. if (move.type === 'Beast') {
  46. if (source.useItem()) {
  47. this.add('-enditem', source, 'Bug Gem', '[from] gem', '[move] ' + move.name);
  48. source.addVolatile('gem');
  49. }
  50. }
  51. },
  52. num: -559,
  53. gen: 1006,
  54. desc: "Holder's first successful Beast-type attack will have 1.3x power. Single use."
  55. },
  56. "belueberry": {
  57. inherit: true,
  58. naturalGift: {
  59. basePower: 100,
  60. type: "Wind"
  61. },
  62. gen: 1006
  63. },
  64. "berryjuice": {
  65. inherit: true,
  66. gen: 1006
  67. },
  68. "bigroot": {
  69. inherit: true,
  70. gen: 1006
  71. },
  72. "bindingband": {
  73. inherit: true,
  74. gen: 1006
  75. },
  76. "blazer": {
  77. id: "blazer",
  78. name: "Blazer",
  79. spritenum: 32, //Change this
  80. fling: {
  81. basePower: 30
  82. },
  83. onBasePowerPriority: 6,
  84. onBasePower: function (basePower, user, target, move) {
  85. if (move && move.type === 'Heart') {
  86. return this.chainModify(1.2);
  87. }
  88. },
  89. num: -222,
  90. gen: 1006,
  91. desc: "Holder's Heart-type attacks have 1.2x power."
  92. },
  93. "blacksludge": {
  94. inherit: true,
  95. onResidual: function (pokemon) {
  96. if (pokemon.hasType('Miasma')) {
  97. this.heal(pokemon.maxhp / 16);
  98. } else {
  99. this.damage(pokemon.maxhp / 8);
  100. }
  101. },
  102. gen: 1006,
  103. desc: "Each turn, if holder is a Miasma-type, restores 1/16 max HP; loses 1/8 if not."
  104. },
  105. "blukberry": {
  106. inherit: true,
  107. gen: 1006
  108. },
  109. "brightpowder": {
  110. inherit: true,
  111. gen: 1006,
  112. },
  113. "bunnycostume": {
  114. id: "bunnycostume",
  115. name: "Bunny Costume",
  116. spritenum: 32, //Change this
  117. fling: {
  118. basePower: 30
  119. },
  120. onBasePowerPriority: 6,
  121. onBasePower: function (basePower, user, target, move) {
  122. if (move && move.type === 'Beast') {
  123. return this.chainModify(1.2);
  124. }
  125. },
  126. num: -238,
  127. gen: 1006,
  128. desc: "Holder's Beast-type attacks have 1.2x power."
  129. },
  130. "camouflage": {
  131. id: "camouflage",
  132. name: "Camouflage",
  133. spritenum: 32, //Change this
  134. fling: {
  135. basePower: 30
  136. },
  137. onBasePowerPriority: 6,
  138. onBasePower: function (basePower, user, target, move) {
  139. if (move && move.type === 'Nature') {
  140. return this.chainModify(1.2);
  141. }
  142. },
  143. num: -239,
  144. gen: 1006,
  145. desc: "Holder's Nature-type attacks have 1.2x power."
  146. },
  147. "cheriberry": {
  148. inherit: true,
  149. gen: 1006
  150. },
  151. "chestoberry": {
  152. inherit: true,
  153. gen: 1006
  154. },
  155. "chinadress": {
  156. id: "chinadress",
  157. name: "China Dress",
  158. spritenum: 32, //Change this
  159. fling: {
  160. basePower: 30
  161. },
  162. onBasePowerPriority: 6,
  163. onBasePower: function (basePower, user, target, move) {
  164. if (move && move.type === 'Dream') {
  165. return this.chainModify(1.2);
  166. }
  167. },
  168. num: -241,
  169. gen: 1006,
  170. desc: "Holder's Dream-type attacks have 1.2x power."
  171. },
  172. "cobaberry": {
  173. inherit: true,
  174. gen: 1006
  175. },
  176. "colburberry": {
  177. inherit: true,
  178. gen: 1006
  179. },
  180. "cornnberry": {
  181. inherit: true,
  182. naturalGift: {
  183. basePower: 90,
  184. type: "Heart"
  185. },
  186. gen: 1006
  187. },
  188. "custapberry": {
  189. inherit: true,
  190. isUnreleased: false,
  191. gen: 1006
  192. },
  193. "damprock": {
  194. inherit: true,
  195. gen: 1006
  196. },
  197. "darkgem": {
  198. inherit: true,
  199. isUnreleased: false,
  200. gen: 1006
  201. },
  202. "destinyknot": {
  203. inherit: true,
  204. gen: 1006,
  205. desc: "If holder becomes infatuated, the other Puppet also becomes infatuated."
  206. },
  207. "dreamgem": {
  208. id: "dreamgem",
  209. name: "Dream Gem",
  210. spritenum: 139,
  211. isGem: true,
  212. onSourceTryPrimaryHit: function (target, source, move) {
  213. if (target === source || move.category === 'Status') return;
  214. if (move.type === 'Dream') {
  215. if (source.useItem()) {
  216. this.add('-enditem', source, 'Dream Gem', '[from] gem', '[move] ' + move.name);
  217. source.addVolatile('gem');
  218. }
  219. }
  220. },
  221. num: -553,
  222. gen: 5,
  223. desc: "Holder's first successful Dream-type attack will have 1.3x power. Single use."
  224. },
  225. "durinberry": {
  226. inherit: true,
  227. gen: 1006
  228. },
  229. "earthgem": {
  230. id: "earthgem",
  231. name: "Earth Gem",
  232. isUnreleased: true,
  233. spritenum: 182,
  234. isGem: true,
  235. onSourceTryPrimaryHit: function (target, source, move) {
  236. if (target === source || move.category === 'Status') return;
  237. if (move.type === 'Earth') {
  238. if (source.useItem()) {
  239. this.add('-enditem', source, 'Earth Gem', '[from] gem', '[move] ' + move.name);
  240. source.addVolatile('gem');
  241. }
  242. }
  243. },
  244. num: -555,
  245. gen: 1006,
  246. desc: "Holder's first successful Earth-type attack will have 1.3x power. Single use."
  247. },
  248. "ejectbutton": {
  249. inherit: true,
  250. gen: 1006
  251. },
  252. "enigmaberry": {
  253. inherit: true,
  254. naturalGift: {
  255. basePower: 100,
  256. type: "Heart"
  257. },
  258. gen: 1006
  259. },
  260. "eviolite": {
  261. inherit: true,
  262. gen: 1006
  263. },
  264. "expertbelt": {
  265. inherit: true,
  266. gen: 1006,
  267. desc: "Holder's super effective attacks against other Puppets do 1.2x damage."
  268. },
  269. "faithgem": {
  270. id: "faithgem",
  271. name: "Faith Gem",
  272. spritenum: 107,
  273. isGem: true,
  274. onSourceTryPrimaryHit: function (target, source, move) {
  275. if (target === source || move.category === 'Status') return;
  276. if (move.type === 'Faith') {
  277. if (source.useItem()) {
  278. this.add('-enditem', source, 'Faith Gem', '[from] gem', '[move] ' + move.name);
  279. source.addVolatile('gem');
  280. }
  281. }
  282. },
  283. num: -561,
  284. gen: 1006,
  285. desc: "Holder's first successful Faith-type attack will have 1.3x power. Single use."
  286. },
  287. "figyberry": {
  288. inherit: true,
  289. naturalGift: {
  290. basePower: 80,
  291. type: "Heart"
  292. },
  293. gen: 1006
  294. },
  295. "firegem": {
  296. inherit: true,
  297. isUnreleased: false,
  298. gen: 1006
  299. },
  300. "flameorb": {
  301. inherit: true,
  302. gen: 1006
  303. },
  304. "floatstone": {
  305. inherit: true,
  306. gen: 1006
  307. },
  308. "flyinggem": {
  309. inherit: true,
  310. isUnreleased: false,
  311. gen: 1006
  312. },
  313. "ganlonberry": {
  314. inherit: true,
  315. gen: 1006
  316. },
  317. "ghostgem": {
  318. inherit: true,
  319. isUnreleased: false,
  320. gen: 1006
  321. },
  322. "gothiclolita": {
  323. id: "gothiclolita",
  324. name: "Gothic Lolita",
  325. spritenum: 32, //Change this
  326. fling: {
  327. basePower: 30
  328. },
  329. onBasePowerPriority: 6,
  330. onBasePower: function (basePower, user, target, move) {
  331. if (move && move.type === 'Fire') {
  332. return this.chainModify(1.2);
  333. }
  334. },
  335. num: -249,
  336. gen: 1006,
  337. desc: "Holder's Fire-type attacks have 1.2x power."
  338. },
  339. "grepaberry": {
  340. inherit: true,
  341. gen: 1006
  342. },
  343. "gripclaw": {
  344. inherit: true,
  345. gen: 1006
  346. },
  347. "heartgem": {
  348. id: "heartgem",
  349. name: "Heart Gem",
  350. spritenum: 53,
  351. isGem: true,
  352. onSourceTryPrimaryHit: function (target, source, move) {
  353. if (target === source || move.category === 'Status') return;
  354. if (move.type === 'Heart') {
  355. if (source.useItem()) {
  356. this.add('-enditem', source, 'Heart Gem', '[from] gem', '[move] ' + move.name);
  357. source.addVolatile('gem');
  358. }
  359. }
  360. },
  361. num: -558,
  362. gen: 1006,
  363. desc: "Holder's first successful Heart-type attack will have 1.3x power. Single use."
  364. },
  365. "heatrock": {
  366. inherit: true,
  367. gen: 1006
  368. },
  369. "hondewberry": {
  370. inherit: true,
  371. naturalGift: {
  372. basePower: 90,
  373. type: "Earth"
  374. },
  375. gen: 1006
  376. },
  377. "iapapaberry": {
  378. inherit: true,
  379. gen: 1006
  380. },
  381. "icegem": {
  382. inherit: true,
  383. isUnreleased: false,
  384. gen: 1006
  385. },
  386. "icyrock": {
  387. inherit: true,
  388. gen: 1006
  389. },
  390. "illusiongem": {
  391. id: "illusiongem",
  392. name: "Illusion Gem",
  393. spritenum: 307,
  394. isGem: true,
  395. onSourceTryPrimaryHit: function (target, source, move) {
  396. if (target === source || move.category === 'Status') return;
  397. if (move.type === 'Illusion') {
  398. if (source.useItem()) {
  399. this.add('-enditem', source, 'Illusion Gem', '[from] gem', '[move] ' + move.name);
  400. source.addVolatile('gem');
  401. }
  402. }
  403. },
  404. num: -564,
  405. gen: 1006,
  406. desc: "Holder's first successful Illusion-type attack will have 1.3x power. Single use."
  407. },
  408. "ironball": {
  409. inherit: true,
  410. onModifyPokemon: function (pokemon) {
  411. if (pokemon.negateImmunity['Earth']) return;
  412. pokemon.negateImmunity['Earth'] = 'IgnoreEffectiveness';
  413. },
  414. gen: 1006,
  415. desc: "Holder's Speed halved, becomes grounded, and takes 1x from Earth."
  416. },
  417. "jabocaberry": {
  418. inherit: true,
  419. naturalGift: {
  420. basePower: 100,
  421. type: "Faith"
  422. },
  423. gen: 1006
  424. },
  425. "kasibberry": {
  426. inherit: true,
  427. gen: 1006
  428. },
  429. "kazeberry": {
  430. id: "kazeberry",
  431. name: "Kaze Berry",
  432. spritenum: 234, //Change this
  433. isBerry: true,
  434. naturalGift: {
  435. basePower: 80,
  436. type: "Wind"
  437. },
  438. onSourceModifyDamage: function (damage, source, target, move) {
  439. if (move.type === 'Wind' && this.getEffectiveness(move, target) > 0 && !target.volatiles['substitute']) {
  440. if (target.eatItem()) {
  441. this.debug('-50% reduction');
  442. return this.chainModify(0.5);
  443. }
  444. }
  445. },
  446. onEat: function () { },
  447. num: -186,
  448. gen: 1006
  449. desc: "Halves damage taken from a super effective Wind-type attack. Single use."
  450. },
  451. "keeberry": {
  452. inherit: true,
  453. naturalGift: {
  454. basePower: 100,
  455. type: "Illusion"
  456. },
  457. gen: 1006
  458. },
  459. "kelpsyberry": {
  460. inherit: true,
  461. naturalGift: {
  462. basePower: 90,
  463. type: "Dream"
  464. },
  465. gen: 1006
  466. },
  467. "kemoberry": {
  468. id: "kemoberry",
  469. name: "Kemo Berry",
  470. spritenum: 62, //Change this
  471. isBerry: true,
  472. naturalGift: {
  473. basePower: 80,
  474. type: "Beast"
  475. },
  476. onSourceModifyDamage: function (damage, source, target, move) {
  477. if (move.type === 'Beast' && this.getEffectiveness(move, target) > 0 && !target.volatiles['substitute']) {
  478. if (target.eatItem()) {
  479. this.debug('-50% reduction');
  480. return this.chainModify(0.5);
  481. }
  482. }
  483. },
  484. onEat: function () { },
  485. num: -195,
  486. gen: 1006
  487. desc: "Halves damage taken from a super effective Beast-type attack. Single use."
  488. },
  489. "kimono": {
  490. id: "kimono",
  491. name: "Kimono",
  492. spritenum: 32, //Change this
  493. fling: {
  494. basePower: 30
  495. },
  496. onBasePowerPriority: 6,
  497. onBasePower: function (basePower, user, target, move) {
  498. if (move && move.type === 'Ghost') {
  499. return this.chainModify(1.2);
  500. }
  501. },
  502. num: -247,
  503. gen: 1006,
  504. desc: "Holder's Ghost-type attacks have 1.2x power."
  505. },
  506. "kingsrock": {
  507. inherit: true,
  508. gen: 1006
  509. },
  510. "kokoberry": {
  511. id: "kokoberry",
  512. name: "Koko Berry",
  513. spritenum: 487, //Change this
  514. isBerry: true,
  515. naturalGift: {
  516. basePower: 80,
  517. type: "Heart"
  518. },
  519. onSourceModifyDamage: function (damage, source, target, move) {
  520. if (move.type === 'Heart' && this.getEffectiveness(move, target) > 0 && !target.volatiles['substitute']) {
  521. if (target.eatItem()) {
  522. this.debug('-50% reduction');
  523. return this.chainModify(0.5);
  524. }
  525. }
  526. },
  527. onEat: function () { },
  528. num: -194,
  529. gen: 1006
  530. desc: "Halves damage taken from a super effective Heart-type attack. Single use."
  531. },
  532. "kusanagi": {
  533. id: "kusanagi",
  534. name: "Kusanagi",
  535. spritenum: 94,
  536. fling: {
  537. basePower: 90
  538. },
  539. onModifyAtkPriority: 1,
  540. onModifyAtk: function (atk, pokemon) {
  541. if (pokemon.baseTemplate.species === 'Rinnosuke') {
  542. return this.chainModify(2);
  543. }
  544. },
  545. num: -226,
  546. gen: 1006
  547. desc: "If holder is Rinnosuke, its Atk is doubled."
  548. },
  549. "laggingtail": {
  550. inherit: true,
  551. gen: 1006
  552. },
  553. "lansatberry": {
  554. inherit: true,
  555. gen: 1006
  556. },
  557. "leftovers": {
  558. inherit: true,
  559. gen: 1006
  560. },
  561. "leppaberry": {
  562. inherit: true,
  563. naturalGift: {
  564. basePower: 80,
  565. type: "Dream"
  566. },
  567. gen: 1006
  568. },
  569. "liechiberry": {
  570. inherit: true,
  571. naturalGift: {
  572. basePower: 100,
  573. type: "Nature"
  574. },
  575. gen: 1006
  576.  
  577. },
  578. "lifeorb": {
  579. inherit: true,
  580. gen: 1006
  581. },
  582. "lightclay": {
  583. inherit: true,
  584. gen: 1006
  585. },
  586. "luckypunch": {
  587. inherit: true,
  588. onModifyMove: function (move, user) {
  589. if (user.baseTemplate.species === 'Ichirin') {
  590. move.critRatio += 2;
  591. }
  592. },
  593. gen: 1006,
  594. desc: "If holder is Ichirin, its critical hit ratio is boosted by 2."
  595. },
  596. "lumberry": {
  597. inherit: true,
  598. gen: 1006
  599. },
  600. "luminousmoss": {
  601. inherit: true,
  602. gen: 1006
  603. },
  604. "machobrace": {
  605. inherit: true,
  606. gen: 1006
  607. },
  608. "magoberry": {
  609. inherit: true,
  610. gen: 1006
  611. },
  612. "magostberry": {
  613. inherit: true,
  614. naturalGift: {
  615. basePower: 90,
  616. type: "Beast"
  617. },
  618. gen: 1006
  619. },
  620. "maidcostume": {
  621. id: "maidcostume",
  622. name: "Maid Costume",
  623. spritenum: 286, //Needs to be changed.
  624. fling: {
  625. basePower: 30
  626. },
  627. onBasePowerPriority: 6,
  628. onBasePower: function (basePower, user, target, move) {
  629. if (move.type === 'Steel') {
  630. return this.chainModify(1.2);
  631. }
  632. },
  633. num: -233,
  634. gen: 1006,
  635. desc: "Holder's Steel-type attacks have 1.2x power."
  636. },
  637. "mail": {
  638. inherit: true,
  639. isUnreleased: false,
  640. gen: 1006
  641. },
  642. "marangaberry": {
  643. inherit: true,
  644. gen: 1006
  645. },
  646. "mentalherb": {
  647. inherit: true,
  648. gen: 1006
  649. },
  650. "metronome": {
  651. inherit: true,
  652. gen: 1006
  653. },
  654. "miasmagem": {
  655. id: "miasmagem",
  656. name: "Miasma Gem",
  657. spritenum: 344,
  658. isGem: true,
  659. onSourceTryPrimaryHit: function (target, source, move) {
  660. if (target === source || move.category === 'Status') return;
  661. if (move.type === 'Miasma') {
  662. if (source.useItem()) {
  663. this.add('-enditem', source, 'Miasma Gem', '[from] gem', '[move] ' + move.name);
  664. source.addVolatile('gem');
  665. }
  666. }
  667. },
  668. num: -554,
  669. gen: 1006,
  670. desc: "Holder's first successful Miasma-type attack will have 1.3x power. Single use."
  671. },
  672. "micleberry": {
  673. inherit: true,
  674. naturalGift: {
  675. basePower: 100,
  676. type: "Beast"
  677. },
  678. gen: 1006
  679. },
  680. "mistress": {
  681. id: "mistress",
  682. name: "Mistress",
  683. spritenum: 286, //Needs to be changed.
  684. fling: {
  685. basePower: 30
  686. },
  687. onBasePowerPriority: 6,
  688. onBasePower: function (basePower, user, target, move) {
  689. if (move.type === 'Dark') {
  690. return this.chainModify(1.2);
  691. }
  692. },
  693. num: -240,
  694. gen: 1006,
  695. desc: "Holder's Dark-type attacks have 1.2x power."
  696. },
  697. "muscleband": {
  698. inherit: true,
  699. gen: 1006
  700. },
  701. "nanabberry": {
  702. inherit: true,
  703. gen: 1006
  704. },
  705. "naturegem": {
  706. id: "naturegem",
  707. name: "Nature Gem",
  708. spritenum: 172,
  709. isGem: true,
  710. onSourceTryPrimaryHit: function (target, source, move) {
  711. if (target === source || move.category === 'Status') return;
  712. if (move.type === 'Nature') {
  713. if (source.useItem()) {
  714. this.add('-enditem', source, 'Nature Gem', '[from] gem', '[move] ' + move.name);
  715. source.addVolatile('gem');
  716. }
  717. }
  718. },
  719. num: -551,
  720. gen: 1006,
  721. desc: "Holder's first successful Nature-type attack will have 1.3x power. Single use."
  722. },
  723. "ninjacostume": {
  724. id: "ninjacostume",
  725. name: "Ninja Costume",
  726. spritenum: 286, //Needs to be changed.
  727. fling: {
  728. basePower: 30
  729. },
  730. onBasePowerPriority: 6,
  731. onBasePower: function (basePower, user, target, move) {
  732. if (move.type === 'Wind') {
  733. return this.chainModify(1.2);
  734. }
  735. },
  736. num: -242,
  737. gen: 1006,
  738. desc: "Holder's Wind-type attacks have 1.2x power."
  739. },
  740. "nomelberry": {
  741. inherit: true,
  742. naturalGift: {
  743. basePower: 90,
  744. type: "Faith"
  745. },
  746. gen: 1006
  747. },
  748. "nurseuniform": {
  749. id: "nurseuniform",
  750. name: "Nurse Uniform",
  751. spritenum: 286, //Needs to be changed.
  752. fling: {
  753. basePower: 30
  754. },
  755. onBasePowerPriority: 6,
  756. onBasePower: function (basePower, user, target, move) {
  757. if (move.type === 'Miasma') {
  758. return this.chainModify(1.2);
  759. }
  760. },
  761. num: -245,
  762. gen: 1006,
  763. desc: "Holder's Miasma-type attacks have 1.2x power."
  764. },
  765. "occaberry": {
  766. inherit: true,
  767. gen: 1006
  768. },
  769. "oranberry": {
  770. inherit: true,
  771. naturalGift: {
  772. basePower: 80,
  773. type: "Miasma"
  774. },
  775. gen: 1006
  776. },
  777. "pamtreberry": {
  778. inherit: true,
  779. gen: 1006
  780. },
  781. "passhoberry": {
  782. inherit: true,
  783. gen: 1006
  784. },
  785. "pechaberry": {
  786. inherit: true,
  787. naturalGift: {
  788. basePower: 80,
  789. type: "Wind"
  790. },
  791. gen: 1006
  792. },
  793. "persimberry": {
  794. inherit: true,
  795. naturalGift: {
  796. basePower: 80,
  797. type: "Earth"
  798. },
  799. gen: 1006
  800. },
  801. "petayaberry": {
  802. inherit: true,
  803. naturalGift: {
  804. basePower: 100,
  805. type: "Miasma"
  806. },
  807. gen: 1006
  808. },
  809. "pinapberry": {
  810. inherit: true,
  811. naturalGift: {
  812. basePower: 90,
  813. type: "Nature"
  814. },
  815. gen: 1006
  816. },
  817. "pomegberry": {
  818. inherit: true,
  819. gen: 1006
  820. },
  821. "powerherb": {
  822. inherit: true,
  823. gen: 1006
  824. },
  825. "qualotberry": {
  826. inherit: true,
  827. naturalGift: {
  828. basePower: 80,
  829. type: "Miasma"
  830. },
  831. gen: 1006
  832. },
  833. "quickclaw": {
  834. inherit: true,
  835. gen: 1006
  836. },
  837. "rabutaberry": {
  838. inherit: true,
  839. gen: 1006
  840. },
  841. "rawstberry": {
  842. inherit: true,
  843. naturalGift: {
  844. basePower: 80,
  845. type: "Nature"
  846. },
  847. gen: 1006
  848. },
  849. "razzberry": {
  850. inherit: true,
  851. gen: 1006
  852. },
  853. "redcard": {
  854. inherit: true,
  855. gen: 1006
  856. },
  857. "rindoberry": {
  858. inherit: true,
  859. naturalGift: {
  860. basePower: 80,
  861. type: "Nature"
  862. },
  863. onSourceModifyDamage: function (damage, source, target, move) {
  864. if (move.type === 'Nature' && this.getEffectiveness(move, target) > 0 && !target.volatiles['substitute']) {
  865. if (target.eatItem()) {
  866. this.debug('-50% reduction');
  867. return this.chainModify(0.5);
  868. }
  869. }
  870. },
  871. gen: 1006,
  872. desc: "Halves damage taken from a super effective Nature-type attack. Single use."
  873. },
  874. "reasongem": {
  875. id: "reasongem",
  876. name: "Reason Gem",
  877. spritenum: 369,
  878. isGem: true,
  879. onSourceTryPrimaryHit: function (target, source, move) {
  880. if (target === source || move.category === 'Status') return;
  881. if (move.type === 'Reason') {
  882. if (source.useItem()) {
  883. this.add('-enditem', source, 'Reason Gem', '[from] gem', '[move] ' + move.name);
  884. source.addVolatile('gem');
  885. }
  886. }
  887. },
  888. num: -557,
  889. gen: 1006,
  890. desc: "Holder's first successful Reason-type attack will have 1.3x power. Single use."
  891. },
  892. "ringtarget": {
  893. inherit: true,
  894. gen: 1006
  895. },
  896. "riyuberry": {
  897. id: "riyuberry",
  898. name: "Riyu Berry",
  899. spritenum: 330, //CHANGE
  900. isBerry: true,
  901. naturalGift: {
  902. basePower: 80,
  903. type: "Reason"
  904. },
  905. onSourceModifyDamage: function (damage, source, target, move) {
  906. if (move.type === 'Reason' && this.getEffectiveness(move, target) > 0 && !target.volatiles['substitute']) {
  907. if (target.eatItem()) {
  908. this.debug('-50% reduction');
  909. return this.chainModify(0.5);
  910. }
  911. }
  912. },
  913. onEat: function () { },
  914. num: -193,
  915. gen: 6,
  916. desc: "Halves damage taken from a super effective Reason-type attack. Single use."
  917. },
  918. "rockyhelmet": {
  919. inherit: true,
  920. gen: 1006
  921. },
  922. "rowapberry": {
  923. inherit: true,
  924. gen: 1006
  925. },
  926. "safetygoggles": {
  927. inherit: true,
  928. gen: 1006
  929. },
  930. "sakaberry": {
  931. id: "sakaberry",
  932. name: "Saka Berry",
  933. spritenum: 66, //Change?
  934. isBerry: true,
  935. naturalGift: {
  936. basePower: 80,
  937. type: "Illusion"
  938. },
  939. onSourceModifyDamage: function (damage, source, target, move) {
  940. if (move.type === 'Illusion' && !target.volatiles['substitute']) {
  941. if (target.eatItem()) {
  942. this.debug('-50% reduction');
  943. return this.chainModify(0.5);
  944. }
  945. }
  946. },
  947. onEat: function () { },
  948. num: -200,
  949. gen: 1006,
  950. desc: "Halves damage taken from an Illusion-type attack. Single use."
  951. },
  952. "salacberry": {
  953. inherit: true,
  954. naturalGift: {
  955. basePower: 100,
  956. type: "Dream"
  957. },
  958. gen: 1006
  959. },
  960. "scopelens": {
  961. inherit: true,
  962. gen: 1006
  963. },
  964. "shedshell": {
  965. inherit: true,
  966. gen: 1006,
  967. desc: "Holder may switch out even when trapped by another Puppet."
  968. },
  969. "shellbell": {
  970. inherit: true,
  971. gen: 1006,
  972. desc: "After an attack, holder gains 1/8 of the damage in HP dealt to other Puppets."
  973. },
  974. "shinkoberry": {
  975. id: "shinkoberry",
  976. name: "Shinko Berry",
  977. spritenum: 185, //CHANGE
  978. isBerry: true,
  979. naturalGift: {
  980. basePower: 80,
  981. type: "Faith"
  982. },
  983. onSourceModifyDamage: function (damage, source, target, move) {
  984. if (move.type === 'Faith' && this.getEffectiveness(move, target) > 0 && !target.volatiles['substitute']) {
  985. if (target.eatItem()) {
  986. this.debug('-50% reduction');
  987. return this.chainModify(0.5);
  988. }
  989. }
  990. },
  991. onEat: function () { },
  992. num: -197,
  993. gen: 1006,
  994. desc: "Halves damage taken from a super effective Faith-type attack. Single use."
  995. },
  996. "shokiberry": {
  997. id: "shokiberry",
  998. name: "Shoki Berry",
  999. spritenum: 234, //CHANGE
  1000. isBerry: true,
  1001. naturalGift: {
  1002. basePower: 80,
  1003. type: "Miasma"
  1004. },
  1005. onSourceModifyDamage: function (damage, source, target, move) {
  1006. if (move.type === 'Miasma' && this.getEffectiveness(move, target) > 0 && !target.volatiles['substitute']) {
  1007. if (target.eatItem()) {
  1008. this.debug('-50% reduction');
  1009. return this.chainModify(0.5);
  1010. }
  1011. }
  1012. },
  1013. onEat: function () { },
  1014. num: -190,
  1015. gen: 1006,
  1016. desc: "Halves damage taken from a super effective Miasma-type attack. Single use."
  1017. },
  1018. "shrinemaidencostume": {
  1019. id: "shrinemaidencostume",
  1020. name: "Shrine Maiden Costume",
  1021. spritenum: 286, //Needs to be changed.
  1022. fling: {
  1023. basePower: 30
  1024. },
  1025. onBasePowerPriority: 6,
  1026. onBasePower: function (basePower, user, target, move) {
  1027. if (move.type === 'Faith') {
  1028. return this.chainModify(1.2);
  1029. }
  1030. },
  1031. num: -250,
  1032. gen: 1006,
  1033. desc: "Holder's Faith-type attacks have 1.2x power."
  1034. },
  1035. "shucaberry": {
  1036. inherit: true,
  1037. naturalGift: {
  1038. basePower: 80,
  1039. type: "Earth"
  1040. },
  1041. onSourceModifyDamage: function (damage, source, target, move) {
  1042. if (move.type === 'Earth' && this.getEffectiveness(move, target) > 0 && !target.volatiles['substitute']) {
  1043. if (target.eatItem()) {
  1044. this.debug('-50% reduction');
  1045. return this.chainModify(0.5);
  1046. }
  1047. }
  1048. },
  1049. gen: 1006,
  1050. desc: "Halves damage taken from a super effective Earth-type attack. Single use."
  1051. },
  1052. "sitrusberry": {
  1053. inherit: true,
  1054. naturalGift: {
  1055. basePower: 80,
  1056. type: "Reason"
  1057. },
  1058. gen: 1006
  1059. },
  1060. "smoothrock": {
  1061. inherit: true,
  1062. gen: 1006
  1063. },
  1064. "snowball": {
  1065. inherit: true,
  1066. gen: 1006
  1067. },
  1068. "specialbloomers": {
  1069. id: "specialbloomers",
  1070. name: "Special Bloomers",
  1071. spritenum: 68,
  1072. fling: {
  1073. basePower: 30
  1074. },
  1075. onStart: function (pokemon) {
  1076. if (pokemon.volatiles['choicelock']) {
  1077. this.debug('removing choicelock: ' + pokemon.volatiles.choicelock);
  1078. }
  1079. pokemon.removeVolatile('choicelock');
  1080. },
  1081. onModifyMove: function (move, pokemon) {
  1082. pokemon.addVolatile('choicelock');
  1083. },
  1084. onModifyAtkPriority: 1,
  1085. onModifyAtk: function (atk) {
  1086. return this.chainModify(1.5);
  1087. },
  1088. isChoice: true,
  1089. num: -220,
  1090. gen: 1006,
  1091. desc: "Holder's Attack is 1.5x, but it can only use the first move it selects."
  1092. },
  1093. "specialgrimoire": {
  1094. id: "specialgrimoire",
  1095. name: "Special Grimoire",
  1096. spritenum: 68,
  1097. fling: {
  1098. basePower: 30
  1099. },
  1100. onStart: function (pokemon) {
  1101. if (pokemon.volatiles['choicelock']) {
  1102. this.debug('removing choicelock: ' + pokemon.volatiles.choicelock);
  1103. }
  1104. pokemon.removeVolatile('choicelock');
  1105. },
  1106. onModifyMove: function (move, pokemon) {
  1107. pokemon.addVolatile('choicelock');
  1108. },
  1109. onModifySpAPriority: 1,
  1110. onModifySpA: function (spa) {
  1111. return this.chainModify(1.5);
  1112. },
  1113. isChoice: true,
  1114. num: -297,
  1115. gen: 1006,
  1116. desc: "Holder's Special Attack is 1.5x, but it can only use the first move it selects."
  1117. },
  1118. "specialribbon": {
  1119. id: "specialribbon",
  1120. name: "Special Ribbon",
  1121. spritenum: 69,
  1122. fling: {
  1123. basePower: 30
  1124. },
  1125. onStart: function (pokemon) {
  1126. if (pokemon.volatiles['choicelock']) {
  1127. this.debug('removing choicelock: ' + pokemon.volatiles.choicelock);
  1128. }
  1129. pokemon.removeVolatile('choicelock');
  1130. },
  1131. onModifyMove: function (move, pokemon) {
  1132. pokemon.addVolatile('choicelock');
  1133. },
  1134. onModifySpe: function (speMod) {
  1135. return this.chain(speMod, 1.5);
  1136. },
  1137. isChoice: true,
  1138. num: -287,
  1139. gen: 1006,
  1140. desc: "Holder's Speed is 1.5x, but it can only use the first move it selects."
  1141. },
  1142. "spelonberry": {
  1143. inherit: true,
  1144. gen: 1006
  1145. },
  1146. "sportsweater": {
  1147. id: "sportsweater",
  1148. name: "Sport Sweater",
  1149. spritenum: 286, //Needs to be changed.
  1150. fling: {
  1151. basePower: 30
  1152. },
  1153. onBasePowerPriority: 6,
  1154. onBasePower: function (basePower, user, target, move) {
  1155. if (move.type === 'Earth') {
  1156. return this.chainModify(1.2);
  1157. }
  1158. },
  1159. num: -237,
  1160. gen: 1006,
  1161. desc: "Holder's Earth-type attacks have 1.2x power."
  1162. },
  1163. "staminaribbon": {
  1164. id: "staminaribbon",
  1165. name: "staminaribbon",
  1166. spritenum: 150,
  1167. fling: {
  1168. basePower: 10
  1169. },
  1170. onDamage: function (damage, target, source, effect) {
  1171. if (this.random(10) === 0 && damage >= target.hp && effect && effect.effectType === 'Move') {
  1172. this.add("-message", target.name + " held on using its Focus Band! (placeholder)");
  1173. return target.hp - 1;
  1174. }
  1175. },
  1176. num: -230,
  1177. gen: 1006,
  1178. desc: "Holder has a 10% chance to survive an attack that would KO it with 1HP."
  1179. },
  1180. "staminasash": {
  1181. id: "staminasash",
  1182. name: "Stamina Sash",
  1183. spritenum: 151,
  1184. fling: {
  1185. basePower: 10
  1186. },
  1187. onDamage: function (damage, target, source, effect) {
  1188. if (target.hp === target.maxhp && damage >= target.hp && effect && effect.effectType === 'Move') {
  1189. if (target.useItem()) {
  1190. return target.hp - 1;
  1191. }
  1192. }
  1193. },
  1194. num: -275,
  1195. gen: 1006,
  1196. desc: "If holder's HP is full, will survive an attack that would KO it with 1HP. Single use."
  1197. },
  1198. "starfberry": {
  1199. inherit: true,
  1200. naturalGift: {
  1201. basePower: 100,
  1202. type: "Reason"
  1203. },
  1204. gen: 1006
  1205. },
  1206. "steelgem": {
  1207. inherit: true,
  1208. isUnreleased: false,
  1209. gen: 1006
  1210. },
  1211. "stewardess": {
  1212. id: "stewardess",
  1213. name: "Stewardess",
  1214. spritenum: 286, //Needs to be changed.
  1215. fling: {
  1216. basePower: 30
  1217. },
  1218. onBasePowerPriority: 6,
  1219. onBasePower: function (basePower, user, target, move) {
  1220. if (move.type === 'Flying') {
  1221. return this.chainModify(1.2);
  1222. }
  1223. },
  1224. num: -244,
  1225. gen: 1006,
  1226. desc: "Holder's Flying-type attacks have 1.2x power."
  1227. },
  1228. "stickybarb": {
  1229. inherit: true,
  1230. gen: 1006
  1231. },
  1232. "swimsuit": {
  1233. id: "swimsuit",
  1234. name: "Swimsuit",
  1235. spritenum: 286, //Needs to be changed.
  1236. fling: {
  1237. basePower: 30
  1238. },
  1239. onBasePowerPriority: 6,
  1240. onBasePower: function (basePower, user, target, move) {
  1241. if (move.type === 'Water') {
  1242. return this.chainModify(1.2);
  1243. }
  1244. },
  1245. num: -243,
  1246. gen: 1006,
  1247. desc: "Holder's Water-type attacks have 1.2x power."
  1248. },
  1249. "tamatoberry": {
  1250. inherit: true,
  1251. naturalGift: {
  1252. basePower: 90,
  1253. type: "Reason"
  1254. },
  1255. gen: 1006
  1256. },
  1257. "thickfur": {
  1258. id: "thickfur",
  1259. name: "Thick Fur",
  1260. spritenum: 286, //Needs to be changed.
  1261. fling: {
  1262. basePower: 30
  1263. },
  1264. onBasePowerPriority: 6,
  1265. onBasePower: function (basePower, user, target, move) {
  1266. if (move.type === 'Ice') {
  1267. return this.chainModify(1.2);
  1268. }
  1269. },
  1270. num: -246,
  1271. gen: 1006,
  1272. desc: "Holder's Ice-type attacks have 1.2x power."
  1273. },
  1274. "toxicorb": {
  1275. inherit: true,
  1276. gen: 1006
  1277. },
  1278. "watergem": {
  1279. inherit: true,
  1280. isUnreleased: false,
  1281. gen: 1006
  1282. },
  1283. "watmelberry": {
  1284. inherit: true,
  1285. gen: 1006
  1286. },
  1287. "weaknesspolicy": {
  1288. inherit: true,
  1289. gen: 1006
  1290. },
  1291. "weddingdress": {
  1292. id: "weddingdress",
  1293. name: "Wedding Dress",
  1294. spritenum: 286, //Needs to be changed.
  1295. fling: {
  1296. basePower: 30
  1297. },
  1298. onBasePowerPriority: 6,
  1299. onBasePower: function (basePower, user, target, move) {
  1300. if (move.type === 'Illusion') {
  1301. return this.chainModify(1.2);
  1302. }
  1303. },
  1304. num: -251,
  1305. gen: 1006,
  1306. desc: "Holder's Illusion-type attacks have 1.2x power."
  1307. },
  1308. "whiteherb": {
  1309. inherit: true,
  1310. gen: 1006
  1311. },
  1312. "widelens": {
  1313. inherit: true,
  1314. gen: 1006
  1315. },
  1316. "wikiberry": {
  1317. inherit: true,
  1318. naturalGift: {
  1319. basePower: 80,
  1320. type: "Beast"
  1321. },
  1322. gen: 1006
  1323. },
  1324. "windgem": {
  1325. id: "windgem",
  1326. name: "Wind Gem",
  1327. spritenum: 120,
  1328. isGem: true,
  1329. onSourceTryPrimaryHit: function (target, source, move) {
  1330. if (target === source || move.category === 'Status') return;
  1331. if (move.type === 'Wind') {
  1332. if (source.useItem()) {
  1333. this.add('-enditem', source, 'Wind Gem', '[from] gem', '[move] ' + move.name);
  1334. source.addVolatile('gem');
  1335. }
  1336. }
  1337. },
  1338. num: -550,
  1339. gen: 1006,
  1340. desc: "Holder's first successful Wind-type attack will have 1.3x power. Single use."
  1341. },
  1342. "windturbine": {
  1343. id: "windturbine",
  1344. name: "Wind Turbine",
  1345. spritenum: 60,
  1346. fling: {
  1347. basePower: 30
  1348. },
  1349. onAfterDamage: function (damage, target, source, move) {
  1350. if (move.type === 'Wind' && target.useItem()) {
  1351. this.boost({atk: 1});
  1352. }
  1353. },
  1354. num: 546,
  1355. gen: 5,
  1356. desc: "Raises Attack by 1 if hit by an Wind-type attack. Single use."
  1357. },
  1358. "wiseglasses": {
  1359. inherit: true,
  1360. gen: 1006
  1361. },
  1362. "witchcostume": {
  1363. id: "witchcostume",
  1364. name: "Witch Costume",
  1365. spritenum: 286, //Needs to be changed.
  1366. fling: {
  1367. basePower: 30
  1368. },
  1369. onBasePowerPriority: 6,
  1370. onBasePower: function (basePower, user, target, move) {
  1371. if (move.type === 'Reason') {
  1372. return this.chainModify(1.2);
  1373. }
  1374. },
  1375. num: -248,
  1376. gen: 1006,
  1377. desc: "Holder's Reason-type attacks have 1.2x power."
  1378. },
  1379. "yacheberry": {
  1380. inherit: true,
  1381. gen: 1006
  1382. },
  1383. "yatamirror": {
  1384. id: "yatamirror",
  1385. name: "Yata Mirror",
  1386. spritenum: 93, //Change
  1387. fling: {
  1388. basePower: 90
  1389. },
  1390. onModifyDefPriority: 1,
  1391. onModifyDef: function (def, pokemon) {
  1392. if (pokemon.baseTemplate.species === 'Rinnosuke') {
  1393. return this.chainModify(2);
  1394. }
  1395. },
  1396. num: -227,
  1397. gen: 1006
  1398. desc: "If holder is Rinnosuke, its Def is doubled."
  1399. },
  1400. "yumeberry": {
  1401. id: "yumeberry",
  1402. name: "Yume Berry",
  1403. spritenum: 71, //CHANGE
  1404. isBerry: true,
  1405. naturalGift: {
  1406. basePower: 80,
  1407. type: "Dream"
  1408. },
  1409. onSourceModifyDamage: function (damage, source, target, move) {
  1410. if (move.type === 'Dream' && this.getEffectiveness(move, target) > 0 && !target.volatiles['substitute']) {
  1411. if (target.eatItem()) {
  1412. this.debug('-50% reduction');
  1413. return this.chainModify(0.5);
  1414. }
  1415. }
  1416. },
  1417. onEat: function () { },
  1418. num: -189,
  1419. gen: 1006,
  1420. desc: "Halves damage taken from a super effective Dream-type attack. Single use."
  1421. },
  1422. "zoomlens": {
  1423. inherit: true,
  1424. gen: 1006
  1425. }
  1426. };
Advertisement
Add Comment
Please, Sign In to add comment