mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-06 06:01:46 +00:00
formatted wondertrade script
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user