Advertisement
offbrandbiscuit

Untitled

Jun 8th, 2018
171
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.78 KB | None | 0 0
  1. comments = {"Smells like revenge.", "Toriel.", "Toriel's eyes are practically\nblazing."}
  2. commands = {"Taunt", "Talk"}
  3. randomdialogue = {"My child...", "You are not\nabove\nconsequences.", "Time for your\npunishment.", "You chose\nthis path."}
  4.  
  5. sprite = "torielcyf" --Always PNG. Extension is added automatically.
  6. name = "Toriel"
  7. hp = 1200
  8. atk = 35
  9. def = 25
  10.  
  11. check = "[color:ff0000]In my way."
  12. dialogbubble = "rightlarge" -- See documentation for what bubbles you have available.
  13. canspare = false
  14. cancheck = true
  15. xp = 999,999
  16. gold = 100
  17.  
  18. tauntcount = 0
  19.  
  20. -- Happens after the slash animation but before
  21. function HandleAttack(attackstatus)
  22. if attackstatus == -1 then
  23. currentdialogue = {"My goodness!\rPut that knife down\rthis instant!"}
  24. else
  25. if hp < 30 then
  26. currentdialogue = {"P-plese...\nstop."}
  27. -- player pressed fight but didn't press Z afterwards
  28. else
  29. -- player did actually attack
  30. end
  31. end
  32. end
  33.  
  34.  
  35. function HandleCustomCommand(command)
  36. if command == "TALK" then
  37. BattleDialog({"[color:ff0000]Not worth talking to."})
  38. if command == "TAUNT" then
  39. if tauntcount == 0 then
  40. currentdialogue = {"My child...\nhow could you\nsay that?"}
  41. BattleDialog({"You tell Toriel that she was too\nweak to save any of them.\nShe flinches."})
  42. elseif tauntcount == 1 then
  43. currentdialogue = {"I... no.\nYou're right.\nI was a fool\nto try to protect YOU."}
  44. BattleDialog({"You tell Toriel that she was\rstupid to try to protect you.\rShe's shaking with rage."})
  45. elseif tauntcount == 2 then
  46. currentdialogue = {"You...\nyou really\nshouldn't have\nsaid that."}
  47. BattleDialog({"You tell Toriel she didn't\reven try to save her son.", "Toriel's finally had it.\rToriel's ATK up!"})
  48. end
  49. end
  50. end
  51. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement