Advertisement
Clara_Dragon

Regalo Online

May 28th, 2019
3,464
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Ruby 1.02 KB | None | 0 0
  1. if $game_switches[494] != true
  2.         Kernel.pbMessage(_INTL("En conmemoración al tercer aniversario del juego\\n¡Aquí tienes un regalo!"))
  3.         p=PokeBattle_Pokemon.new(:POIPOLE,10,$Trainer)
  4.         p.pbLearnMove(:CELEBRATE)
  5.         p.pbLearnMove(:STARSTORM)
  6.         p.pbLearnMove(:VENOSHOCK)
  7.         p.setItem(:COMETSHARD)
  8.         p.iv[1]=31
  9.         p.iv[2]=31
  10.         p.iv[3]=31
  11.         p.iv[5]=31
  12.         p.iv[4]=31
  13.         p.iv[0]=31
  14.         p.obtainText=_INTL("Evento Misterioso")
  15.         p.calcStats
  16.         b=PokeBattle_Pokemon.new(:METAPOD,10,$Trainer)
  17.         b.pbLearnMove(:CELEBRATE)
  18.         b.pbLearnMove(:STOREDPOWER)
  19.         b.pbLearnMove(:SIGNALBEAM)
  20.         b.pbLearnMove(:COSMICPOWER)
  21.         b.setItem(:EVIOLITE)
  22.         b.makeShiny
  23.         b.iv[1]=31
  24.         b.iv[2]=31
  25.         b.iv[3]=31
  26.         b.iv[5]=31
  27.         b.iv[4]=31
  28.         b.iv[0]=31
  29.         b.name="Lord Cheeto"
  30.         b.makeShiny
  31.         b.obtainText=_INTL("Evento Misterioso")
  32.         b.calcStats
  33.         a=PokeBattle_Pokemon.new(:WEEDLE,10,$Trainer)
  34.         a.pbLearnMove(:CELEBRATE)
  35.         a.setItem(:BEEDRILLITE)
  36.         a.iv[1]=31
  37.         a.iv[2]=31
  38.         a.iv[3]=31
  39.         a.iv[5]=31
  40.         a.iv[4]=31
  41.         a.iv[0]=31
  42.         a.obtainText=_INTL("Evento Misterioso")
  43.         a.calcStats
  44.         pbAddPokemonSilent(p,1)
  45.         pbAddPokemonSilent(b,1)
  46.         pbAddPokemonSilent(a,1)
  47.         Kernel.pbMessage(_INTL(\\PN obtuvo un Weedle!\\se[PokemonGet]\\1"))
  48.         Kernel.pbMessage(_INTL("\\wt[10].\\wt[10].\\wt[10].\\wt[10] ¿Que? Eso no te lo esperabas ¿eh?"))
  49.         Kernel.pbMessage(_INTL("Va, aquí esta el bueno."))
  50.         Kernel.pbMessage(_INTL(\\PN obtuvo un Metapod!\\se[PokemonGet]\\1"))
  51.         Kernel.pbMessage(_INTL("Que noooo. Anda toma tu alíen de una vez."))
  52.         Kernel.pbMessage(_INTL(\\PN obtuvo un Poipole!\\se[PokemonGet]\\1"))
  53.         Kernel.pbMessage(_INTL("Tres años desde el nacimiento del juego, tres pokémon de regalo\\n¡Disfrútalos!"))
  54. if $Trainer.party.length>6
  55.         Kernel.pbMessage(_INTL("Los pokémon son enviados al PC"))
  56. end
  57.     $game_switches[494]=true
  58. else
  59.     Kernel.pbMessage(_INTL("No se encuentran mas regalos disponibles."))
  60.     Kernel.pbMessage(_INTL("¡Sigue disfrutando del juego!"))        
  61. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement