formatted wondertrade script

This commit is contained in:
infinitefusion
2022-03-19 17:59:45 -04:00
parent 6794004d94
commit dcd6a18189

View File

@@ -1,4 +1,3 @@
=begin
*** Wonder Trade Script by Black Eternity ***
This script is to mimic Wonder Trade from an offline perspective.
@@ -1004,7 +1003,6 @@ RandPokeNick=[
"maymay"
]
def pbWonderTrade(lvl, except = [], except2 = [], rare = true)
# for i in 0...except.length # Gets ID of pokemon in exception array
# except[i]=getID(PBSpecies,except[i]) if !except[i].is_a?(Integer)
@@ -1048,7 +1046,6 @@ def pbWonderTrade(lvl,except=[],except2=[],rare=true)
#Redo loop if below BST - 200
species = 0 if bst < (chosenBST - 200)
# raise _INTL("{1}'s bst ist {2}, new ist {3}",myPoke,chosenBST,bst)
# species=0 if (except.include?(species) && except2.include?(species))
@@ -1078,7 +1075,8 @@ def pbWonderTrade(lvl,except=[],except2=[],rare=true)
end
end
def pbGRS(minBST,chosenBST,luck,rare,except2) #pbGenerateRandomSpecies (le nom doit etre short pour etre callé dans events)
def pbGRS(minBST, chosenBST, luck, rare, except2)
#pbGenerateRandomSpecies (le nom doit etre short pour etre callé dans events)
# The following excecption fields are for hardcoding the blacklisted pokemon
# without adding them in the events.
#except+=[]
@@ -1102,7 +1100,6 @@ while (species==0) # Loop Start
#Redo loop if below BST - 200
species = 0 if bst < (chosenBST - 200)
# raise _INTL("{1}'s bst ist {2}, new ist {3}",myPoke,chosenBST,bst)
# species=0 if (except.include?(species) && except2.include?(species))