Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!python
- #include 36956
- #this template will enable you to script your own boss
- #first off, find and replace all "fadoka" (without quotes) with your boss's name
- #each of the following should be completed in the desired party order
- #list your Pokemon's species
- Pokes = ["Salamence", "Keldeo", "Dragonite", "Jirachi", "Tyranitar", "Conkeldurr"]
- #replace these with your desired natures
- Natures = [Nature.Naive, Nature.Timid, Nature.Adamant, Nature.Jolly, Nature.Adamant, Nature.Adamant]
- #replace move1-4 with the names of your boss's desired moves for easy difficulty
- MovesEasy = [
- ("Dragon Dance", "Dragon Claw", "Fire Fang", "Earthquake"),
- ("Bubblebeam", "Focus Blast", "Icy Wind", "Calm Mind"),
- ("Fire Punch", "Dragon Claw", "Thunder Punch", "Waterfall"),
- ("Iron Head", "Thunder Punch", "Aerial Ace", "Fire Punch"),
- ("Rock Slide", "Crunch", "Superpower", "Earthquake"),
- ("Hammer Arm", "Facade", "Knock Off", "Ice Punch"),
- ]
- #replace move1-4 with the names of your boss's desired moves for medium and hard difficulty
- MovesNormal = [
- ("Dragon Dance", "Outrage", "Fire Blast", "Iron Tail"),
- ("Hydro Pump", "Secret Sword", "Icy Wind", "Calm Mind"),
- ("Dragon Dance", "Dragon Claw", "Extreme Speed", "Waterfall"),
- ("Iron Head", "Zen Headbutt", "Ice Punch", "Fire Punch"),
- ("Stone Edge", "Crunch", "Superpower", "Fire Punch"),
- ("Drain Punch", "Facade", "Knock Off", "Ice Punch"),
- ]
- #replaced item1-6 with your Pokemon's items, will only be effective on medium and hard
- Items = [
- "Lum Berry",
- "Choice Specs",
- "Yache Berry",
- "Choice Scarf",
- "Leftovers",
- "Flame Orb"
- ]
- #EVs based on difficulty
- EV_easy = [(0, 0, 0, 0, 0, 0),(0, 0, 0, 0, 0, 0),(0, 0, 0, 0, 0, 0),(0, 0, 0, 0, 0, 0),(0, 0, 0, 0, 0, 0),(0, 0, 0, 0, 0, 0)]
- EV_medium = [(252, 252, 252, 252, 252, 252),(252, 252, 252, 252, 252, 252),(252, 252, 252, 252, 252, 252),(252, 252, 252, 252, 252, 252),(252, 252, 252, 252, 252, 252),(252, 252, 252, 252, 252, 252)]
- EV_hard = [(400, 400, 400, 400, 400, 400),(400, 400, 400, 400, 400, 400),(400, 400, 400, 400, 400, 400),(400, 400, 400, 400, 400, 400),(400, 400, 400, 400, 400, 400),(400, 400, 400, 400, 400, 400)]
- #replace the integers with your Pokemon's abilities (first ability is 1, second ability is 2, hidden ability is 3)
- Abilities = [1, 1, 3, 1, 1, 1]
- #replace name with your boss's name, keep it in quotes
- bossname = "Fadoka"
- #format items ("itemname",minquantity,maxquantity) and simply name Pokemon - you can add as many or as few as you like
- #higher tier is rarer
- t1items = [("Rare Candy",4,6)]
- t2items = [("Focus Sash",15,20)]
- t3items = []
- t1pokes = ["Starly"]
- t2pokes = ["Klefki","Relicanth"]
- t3pokes = ["Rotom"]
- rewardlist = [t1pokes, t1items, t2pokes, t2items, t3pokes, t3items]
- #third time reward pokes go here
- extrarewardlist = ["Klefki","Relicanth","Rotom"]
- def eumitokenreward(min, max, bossname):
- reward = random.randint(min, max)
- user.vars.EumiTokens = user.vars.EumiTokens + reward
- user.say("{} gives you {} Eumi Tokens!".format(bossname, reward))
- return
- if user.vars.fadokaextrareward == True:
- user.vars.fadokaextrareward = thirdtimereward(extrarewardlist)
- return
- if user.vars.fadokacooldown is not None:
- user.say("Just come back later. Let me troll the confused guy in the casino right there for now.")
- checker(user.expire.fadokacooldown.days, user.vars.fadokaconsecutivewins)
- return
- #what you want the boss to say if player is not region champion
- if not user.vars.HoennChamp:
- return user.say("if the user sees this something is wrong")
- if user.vars.HoennChamp == "0":
- return user.say("if the user sees this something is wrong")
- #greet the player
- user.say("Hey buddy.")
- #warn new players that bosses are difficult
- if user.playtime < timedelta(hours=100):
- user.say("The eye of the tiger senses your weakness. Are you sure about this?")
- #ask for a battle otherwise
- else:
- user.say("What's up? You came here to chill? Okay let's have a look at the eye of the tiger before you check on the dude searching his books.")
- trigger = user.select("Battle {}?".format(bossname),["Ok","No, tigers are scary"])
- if trigger[0] == 1:
- return
- difficulty = user.select("The eye of the tiger awaits you.",["Uhh, take it easy... (Easy)","As you wish. (Medium)","Come at me! (Hard)"])
- if difficulty[0] == 0:
- confirmdiff = "Easy"
- elif difficulty[0] == 1:
- confimdiff = "Medium"
- else:
- confirmdiff = "Hard"
- confirm = user.select("{}, huh?".format(confirmdiff),["Yeah!","No"])
- if confirm[0]== 1:
- return
- #dialogue after battle is agreed
- user.say("Let's do this!")
- if difficulty[0] == 0:
- battleresult = bosseasybattle(Pokes, Natures, MovesEasy, Abilities, EV_easy)
- user.say("Consecutive win rewards are not available on Easy difficulty!")
- #minimum money rewarded
- minmoney = 5000
- #maximum money rewarded
- maxmoney = 15000
- #pve coins rewarded
- pvecoins = 0
- #% of rewards that should be tier 1
- t2cutoff = 85
- #% of rewards that should not be tier 3
- t3cutoff = 95
- mineumi = 15
- maxeumi = 20
- elif difficulty[0] == 1:
- battleresult = bossbattle(Pokes, Natures, MovesNormal, Items, Abilities, EV_medium)
- #see above
- minmoney = 8000
- maxmoney = 25000
- pvecoins = 0
- t2cutoff = 80
- t3cutoff = 90
- mineumi = 20
- maxeumi = 30
- elif difficulty[0] == 2:
- battleresult = superbossbattle(Pokes, Natures, MovesNormal, Items, Abilities, EV_hard)
- #see above
- minmoney = 20000
- maxmoney = 35000
- pvecoins = 0
- t2cutoff = 60
- t3cutoff = 85
- mineumi = 30
- maxeumi = 40
- else:
- user.say("Something went wrong.")
- if battleresult != 1:
- user.vars.fadokaconsecutivewins = 0
- #victory quotation
- user.say("The dead are rising from the graves, Is this the eye of the tiger?")
- return
- user.say("Legends never die but brah, go check if Bill found his book.")
- #gives the player their rewards
- eumitokenreward(mineumi,maxeumi,bossname)
- rfunctiers(bossname, minmoney, maxmoney, pvecoins, t2cutoff, t3cutoff, rewardlist)
- if user.vars.fadokaconsecutivewins == 0:
- user.vars.fadokaconsecutivewins = 1
- user.say("You have beaten me once in a row. You need to beat me two more times on Medium or Hard to pick a prize!")
- elif user.vars.fadokaconsecutivewins == 1:
- user.vars.fadokaconsecutivewins = 2
- user.say("You have beaten me twice in a row. You need to beat me one more time on Medium or Hard to pick a prize!")
- elif user.vars.fadokaconsecutivewins == 2:
- user.vars.fadoka_consecutivewins = 0
- user.vars.fadokaextrareward = True
- user.vars.fadokaextrareward = thirdtimereward(extrarewardlist)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement