- 32
- Posts
- 5
- Years
- Seen yesterday
Hi everyone, i try to make another form to get a started.
Spoiler:
the numbers in the array is the number of the pokemon
Code:
Iniciales=[1,4,7,152,155,158,252,255,258,387,390,393,495,498,501,650,653,656,722,725,728,
810,813,816];
def pbEleccionInicial
poke=rand(728)+1;
level=5;
if $game_variables[7]<1
if Iniciales.include?(poke)
if Kernel.pbConfirmMessage(_INTL("Quieres a este {1}",PBSpecies.getName(poke)))
pokes=pbAddPokemon(poke,level);
$game_switches[3]=true
$game_variables[7]=1
else
Kernel.pbMessage(_INTL("Piensalo muy bien"))
end
else
pbEleccionInicial;
end
else
Kernel.pbMessage(_INTL("Ya obtuviste tu pokemon inicial."))
end
end