Advertisement
Guest User

Untitled

a guest
Jan 26th, 2020
138
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 2.06 KB | None | 0 0
  1. def global_greeting():
  2.     greetings_dict = {
  3.         1: "It's great to see you! Ready to battle?",
  4.         2: "Long time no see. Let's battle!",
  5.         3: "My dad gave me his Pokemon. Let's see how strong they are!",
  6.         4: "My time to shine!",
  7.         7: "Let's battle!",
  8.         8: "This will be fun!",
  9.         9: "Oh! It's time for a battle!",
  10.         10: "I hope you trained your Pokemon well!",
  11.         11: "I'm going to take you down, whether you like it or not!",
  12.         12: "You're gonna lose, and I won't help you up if you fall!",
  13.         16: "I can't wait to show you my skills!",
  14.         17: "I've traveled a long way and I'm not gonna lose!",
  15.         18: "How many trainers are going to come through here...?",
  16.         19: "A new trainer! Just another experience to add under my belt!",
  17.         20: "Time to show off!",
  18.         21: "You, beating me? You're on!",
  19.         22: "I see the future like a Gardevoir, and I don't see you winning!",
  20.         23: "I've got you in my sights, now!",
  21.         24: "What I'm about to do, oh boy I wouldn't wish you!"
  22.     }
  23.     greeting = greetings_dict[random.randint(1, 24)]
  24.     return greeting
  25.  
  26.  
  27. def global_win():
  28.     win_dict = {
  29.         1: "You are strong!",
  30.         2: "Wow, I didn't expect that! Well done.",
  31.         3: "What a battle!",
  32.         4: "I need to train a lot more to become as good as you!",
  33.         5: "Wow, I'm impressed...",
  34.         6: "I will beat you next time!",
  35.         7: "Sometimes by losing a battle you will find a new way to win...",
  36.         8: "Great battle! Let's fight again in the future.",
  37.         9: "You're the topic of lots of conversations around town. Now I understand why."
  38.     }
  39.     win = win_dict[random.randint(1, 9)]
  40.     return win
  41.  
  42.  
  43. def global_lose():
  44.     lose_dict = {
  45.         1: "Haha, that was easy!",
  46.         2: "You didn't expect that, did you?",
  47.         3: "Great battle, but you will have to learn a lot more to beat me!",
  48.         4: "Maybe next time.",
  49.         5: "Never quit trying!"
  50.     }
  51.     lose = lose_dict[random.randint(1, 5)]
  52.     return lose
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement