Advertisement
Guest User

Monster

a guest
Feb 14th, 2016
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.30 KB | None | 0 0
  1. -- A basic monster script skeleton you can copy and modify for your own creations.
  2. comments = {"Ultrafish notices you.", "That's a long Beard.", "Ultrafish turns into a fish /nand then back again?"}
  3. commands = {"FISH", "GHOST SMOOCH", "CACTUS"}
  4. randomdialogue = {"[font:papyrus]..."}
  5.  
  6. sprite = "empty" --Always PNG. Extension is added automatically.
  7. name = "Ultrafish"
  8. hp = 8
  9. atk = 100
  10. def = 99999999
  11. check = "FISH."
  12. dialogbubble = "right" -- See documentation for what bubbles you have available.
  13. cancheck = true
  14. canspare = false
  15.  
  16. function HandleAttack(attackstatus)
  17. if attackstatus == 10 then
  18. currentdialogue = {"Do\nno\nharm."}
  19. else
  20. if hp > 1 then
  21. currentdialogue = {"You..."}
  22. else
  23. currentdialogue = {"You're Too\nStrong\n..."}
  24. end
  25. end
  26. end
  27.  
  28. elseif command == "CACTUS" then
  29. currentdialogue = {"Thanks for\nthe compliment!"}
  30. BattleDialog({"You call him a cactus."})
  31. end
  32.  
  33. elseif command == "GHOST SMOOCH" then
  34. currentdialogue = {"You tell him\nyou're attracted to\n ghosts?"}
  35. Battledialogue = {"Kisseh Kisseh"}
  36. end
  37.  
  38. elseif command == "FISH" then
  39. currentdialogue = {"Fish\nWasher!."}
  40. BattleDialog({"You make a scathing remark about\rUltrafish's pet."})
  41. end
  42. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement