Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- prof = 'OAK'
- prompt = '>'
- roadChoice = 'lab'
- labChoice = 'na'
- bourChoice = 'na'
- map = 'n'
- scientist = 'scientist'
- pidgy2 = 'f'
- pidgy = "pidgy"
- pikachu = "pikachu"
- class Pokemon(object):
- sName = "pidgy"
- nAttack = 5
- nHealth = 10
- nEvasion = 1
- def __init__(self, name, atk, hp, evd):
- self.sName = name
- self.nAttack = atk
- self.nHealth = hp
- self.nEvasion = evd
- def fight(target, self):
- target.nHealth - self.nAttack
- def battle():
- print "A wild appeared"
- #pikachu = Pokemon("Pikafaggot", 18, 80, 21)
- pidgy = Pokemon("Pidgy", 18, 80, 21)
- pidgy.fight(pikachu)
- #pikachu.fight(pidgy)
- def road():
- global readChoice
- print "where too? lab, neighbour, grass, home?"
- roadChoice = raw_input(prompt)
- if roadChoice == 'lab':
- lab()
- elif roadChoice == 'bour':
- bour()
- elif roadChoice == 'grass':
- battle()
- else:
- print "say again? Lab, neighbour, grass, home?"
- road()
- def lab():
- global labChoice
- print "%r: Hello how can I help you?" %scientist
- labChoice = raw_input(prompt)
- if labChoice == 'no':
- road()
- elif labChoice =='oak':
- print "%r: Oh! You must be %r! You are here to see %r! Right this way!" %(scientist, name, prof)
- grab()
- else:
- print"huh? Say again?"
- lab()
- def grab():
- global pidgy
- if pidgy2 == 'na':
- print "OAK: Hello there %r! Here to get your first pokemon it seems!" %name
- print "%r: Well, %r sorta' took all the POKEMON, so here is a Pidgey!" %(prof, name)
- print "%r Obtained a Pidgey!" %name
- print "%r: 'igh peace nigga" %prof
- pidgy = 'y'
- road()
- else:
- print "%r: How is the Pidgey doing %r?" %(prof, name)
- print "%r: you should go to Veridian city and pick up some shit for me" %prof
- road()
- def bour():
- global map
- global bourChoice
- if map == 'n':
- print "oh, hello! How can I help you? Do you need a map?"
- bourChoice = raw_input(prompt)
- else:
- print "What else do you need?"
- bourChoice = raw_input(prompt)
- if bourChoice == "yes":
- print "oh! Well here is a map! don't tell %r" %rival
- print "You have obtained a map!"
- map = 'y'
- bour()
- elif bourChoice == "no":
- print "fine fuck off"
- road()
- else:
- print "huh? Say again."
- bour()
- print "%r: Hello there! Welcome to the world of POKEMON!" %prof
- print "My name is %r! People call me the POKEMON PROF!" %prof
- print "%r:This world is inhabited by creatures called POKEMON! For some" %prof
- print "people, POKEMON are pets. Others use them for fights. Myself..."
- print "I study POKEMON as a profession. "
- print "%r: First, what is your name?" %prof
- name = raw_input(prompt)
- print "%r: Right! So your name is %r" %(prof, name)
- print "%r: This is my grandson. He's been your rival since you were a baby." %prof
- print "...Erm, what is his name again?"
- rival = raw_input(prompt)
- print "%r That's right! I remember now! His name is %r" %(prof, rival)
- print "%r: %r Your very own POKEMON legend is about to unfold! A world of dreams and adventures with POKEMON awaits! Let's go!" %(prof, name)
- road()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement