Advertisement
Guest User

fixed

a guest
Aug 14th, 2020
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.38 KB | None | 0 0
  1. -- A basic monster script skeleton you can copy and modify for your own creations.
  2. comments = {"Smells like the work\rof an enemy stand.", "Poseur is posing like his\rlife depends on it.", "Poseur's limbs shouldn't be\rmoving in this way."}
  3. commands = {"screech", "pose on them", "Act 3"}
  4. randomdialogue = {"Random\nDialogue\n1.", "Random\nDialogue\n2.", "Random\nDialogue\n3."}
  5.  
  6. sprite = "poseur" --Always PNG. Extension is added automatically.
  7. name = "Mess"
  8. hp = 100000000
  9. atk = 100
  10. def = 1
  11. gold = 69
  12. check = "my life is a mess."
  13. dialogbubble = "right" -- See documentation for what bubbles you have available.
  14. canspare = false
  15. cancheck = true
  16.  
  17. posecounter = 0
  18.  
  19. -- Happens after the slash animation but before
  20. function HandleAttack(attackstatus)
  21. if attackstatus == -1 then
  22. -- player pressed fight but didn't press Z afterwards
  23. else
  24. -- player did actually attack
  25. end
  26. -- This handles the commands; all-caps versions of the commands list you have above.
  27. function HandleCustomCommand(command)
  28. if command == "SCREECH" then
  29. canspare = false
  30. currentdialogue = {"screw off"}
  31. BattleDialog({"you screech so loud that the mess is angry"})
  32. elseif command == "POSE ON THEM" then
  33. if posecounter == 0 then
  34. currentdialogue = ("bruh stop")
  35. battledialog({"dude what the heck is wrong with you" }) end
  36. end
  37. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement