Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- A basic monster script skeleton you can copy and modify for your own creations.
- 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."}
- commands = {"screech", "pose on them", "Act 3"}
- randomdialogue = {"Random\nDialogue\n1.", "Random\nDialogue\n2.", "Random\nDialogue\n3."}
- sprite = "poseur" --Always PNG. Extension is added automatically.
- name = "Mess"
- hp = 100000000
- atk = 100
- def = 1
- gold = 69
- check = "my life is a mess."
- dialogbubble = "right" -- See documentation for what bubbles you have available.
- canspare = false
- cancheck = true
- posecounter = 0
- -- Happens after the slash animation but before
- function HandleAttack(attackstatus)
- if attackstatus == -1 then
- -- player pressed fight but didn't press Z afterwards
- else
- -- player did actually attack
- end
- -- This handles the commands; all-caps versions of the commands list you have above.
- function HandleCustomCommand(command)
- if command == "SCREECH" then
- canspare = false
- currentdialogue = {"screw off"}
- BattleDialog({"you screech so loud that the mess is angry"})
- elseif command == "POSE ON THEM" then
- if posecounter == 0 then
- currentdialogue = ("bruh stop")
- battledialog({"dude what the heck is wrong with you" }) end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement