Advertisement
DigiDuncan

The Legend of Honeydew

Nov 26th, 2011
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1. color 13:PRINT "Do you...?"
  2. PRINT" A: hit with " ;: color 11:PRINT "diamond sword?"
  3. PRINT" B: Push out door, then close door?"
  4. color 13:PRINT "Select A or B."
  5. dim as string key = inkey() 'im storing the result of it because we will compare it multiple times
  6. if key = "A" then
  7. color 13:print "The " ;: color 10:PRINT "Creeper " ;: color 13:print "sizzles."
  8. SLEEP
  9. elseif key = "B" then
  10. color 13:print "The " ;: color 10:PRINT "Creeper " ;: color 13:print "stares at you through the iron door."
  11. SLEEP
  12. end if
  13. SLEEP
  14.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement