Advertisement
Guest User

Untitled

a guest
Mar 26th, 2015
182
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.60 KB | None | 0 0
  1. //switchin msg
  2.  
  3. if (name === 'sparkychild') {
  4. this.add('c|+sparkychild|t-this is gonna be fun!~ n_n');
  5. }
  6. //onFaint msg
  7.  
  8. if (name === 'sparkychild') {
  9. this.add('c|+sparkychild|Trickster!....~' h-help....~);
  10. }
  11.  
  12. //in /scripts.js
  13. '+sparkychild': {
  14. species: 'Pikachu', ability: 'Regenerator', item: 'Light Ball', gender: 'F',
  15. moves: ['thunderbolt', 'psystrike', ['ice beam', 'baton pass'][this.random(2)]],
  16. baseSignatureMove: 'substitute', signatureMove: "Lobby Cutie",
  17. evs: {hp:4, spa:252, spe:252}, nature: 'Modest'
  18. },
  19. // in /formats.js
  20. if (move.id === 'substitute' && name === 'sparkychild') {
  21. move.name = 'Lobby Cutie';
  22. move.priority = 2;
  23. move.boosts = {spa: 2, spe: 2};
  24. };
  25. //typing change
  26.  
  27. if (name === 'sparkychild' && !pokemon.illusion) {
  28. this.add('-start', pokemon, 'typechange', 'Electric/Psychic');
  29. pokemon.typesData = [
  30. {type: 'Electric', suppressed: false, isAdded: false},
  31. {type: 'Psychic', suppressed: false, isAdded: false}
  32. ];
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement