Advertisement
DGamerYT

Regalo misterioso

May 20th, 2018
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.18 KB | None | 0 0
  1. password=pbEnterText(_INTL("Inserta tu código."),0,12)
  2. Kernel.pbMessage(_INTL("Vale, déjame comprobar si este código es correcto.\\wt[10].\\wt[10].\\wt[10] \\wt[10].\\wt[10].\\wt[10].\\wtnp[10]"))
  3. if password=="KARP2018"
  4. if $game_switches[476] != true
  5. Kernel.pbMessage(_INTL("¡Código Correcto!"))
  6. Kernel.pbMessage(_INTL("¡Aquí tienes un regalo para ti!"))
  7. pbWait(10)
  8. p=PokeBattle_Pokemon.new(:MAGIKARP,15,GG)
  9. p.setAbility(2)
  10. p.makeMale
  11. p.ot="Sr. Karp"
  12. p.pbLearnMove(:BUGBITE)
  13. p.pbLearnMove(:BRICKBREAK)
  14. p.giveRibbon(:BIRTHDAY)
  15. p.setNature(:JOLLY)
  16. p.happiness=200
  17. p.obtainMode=4
  18. p.iv[1]=31
  19. p.iv[2]=31
  20. p.iv[3]=31
  21. p.iv[4]=31
  22. p.iv[5]=31
  23. p.iv[0]=31
  24. p.obtainText=_INTL("De tierras lejanas.")
  25. p.trainerID=02018
  26. p.calcStats
  27. pbAddPokemonSilent(p,1)
  28. Kernel.pbMessage(_INTL("\\PN obtuvo a Magikarp!\\se[PokemonGet]\\1"))
  29. $game_switches[476]=true
  30. else
  31. Kernel.pbMessage(_INTL("Este código ya ha sido usado."))
  32. Kernel.pbMessage(_INTL("¡Sigue disfrutando del juego!"))
  33. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement