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 = {"Compliment", "Threaten"}
- randomdialogue = {"Random\nDialogue\n1.", "Random\nDialogue\n2.", "Random\nDialogue\n3."}
- sprite = "poseur" --Always PNG. Extension is added automatically.
- name = "Killgit"
- hp = 60
- atk = 8
- def = 10
- check = "Life is difficult for those\nwho cross this enemy."
- dialogbubble = "right" -- See documentation for what bubbles you have available.
- canspare = false
- cancheck = true
- -- 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
- end
- function HandleCustomCommand(command)
- if command == "COMPLIMENT" then
- if threatencount == 0 then
- currentdialogue = {"Ribbit,\nrobbit."}
- BattleDialog({"Killgit didn't understand what\ryou said, so it was unfazed."})
- elseif threatencount == 1 then
- currentdialogue = {"(Apologetic\nCroak)"}
- BattleDialog({"Killgit recognizes your words\ras an apology."})
- canspare = true
- end
- elseif command == "THREATEN" then
- threatencount = threatencount + 1
- currentdialogue = {"Moo."}
- BattleDialog({"Killgit recognized the words\ryou said an was reminded of\r itself."})
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement