This is a simple Rental Script , due to "rental" script in essentials doesn't work.
Script still needs to be added on with "Swapping" & "Choose 3/4 to battle with".
To call the script use "pbRentalsingle" , "pbRentaldouble", or "pbRentalBF"
*For the time being "pbRentalsingle" will let you choose 3 pokemon from a list
*For the time being "pbRentaldouble" will let you choose 4 pokemon from a list
*For the time being "pbRentalBF" will give you 6 Random Pokemon to use
Script still needs to be added on with "Swapping" & "Choose 3/4 to battle with".
To call the script use "pbRentalsingle" , "pbRentaldouble", or "pbRentalBF"
*For the time being "pbRentalsingle" will let you choose 3 pokemon from a list
*For the time being "pbRentaldouble" will let you choose 4 pokemon from a list
*For the time being "pbRentalBF" will give you 6 Random Pokemon to use
Code:
#Rental Pokemon for Single
def pbRentalsingle
$game_variables[99]= $Trainer.party
$Trainer.party = []
while $Trainer.party.length<3
species=pbChooseSpeciesOrdered(1)
level=100
pbAddPokemon(species,level)
end
end
#Rental Pokemon for Double
def pbRentaldouble
$game_variables[99]= $Trainer.party
$Trainer.party = []
while $Trainer.party.length<4
species=pbChooseSpeciesOrdered(1)
level=100
pbAddPokemon(species,level)
end
end
#Returns Party that was stored in variable
def pbRentReturn
$Trainer.party = $game_variables[99]
Kernel.pbMessage(_INTL("Gave back rental pokemon."))
end
#Rental Pokemon for Battle Factory
def pbRentalBF
$game_variables[99]= $Trainer.party
$Trainer.party = []
while $Trainer.party.length<6
species=rand(PBSpecies.maxValue)+1
level=100
pbAddPokemon(species,level)
end
end
Last edited: