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.
- if hp > 500000 then
- comments = {"Get the free EXP"}
- else
- comments = {"Toriel is burning with anger.", "Toriel no longer wants to \rhold back.", "Toriel is giving it her all."}
- end
- commands = {"COMPLIMENT", "APOLOGISE", "INSULT"}
- randomdialogue = {"Random\nDialogue\n1.", "Random\nDialogue\n2.", "Random\nDialogue\n3."}
- --Always PNG. Extension is added automatically.
- if healcounter == 8 then
- sprite = "i_warned_you"
- Player.hurt(Player.hp)
- else
- sprite = "toriel_hurt_sprite"
- end
- name = "Toriel"
- hp = 750000
- atk = 10
- def = -15000
- check = "Will never forgive you."
- dialogbubble = "rightlarge" -- See documentation for what bubbles you have available.
- canspare = false
- currentdialogue = {"After all you've done you \nask for mercy?\nHeck no is all I have\n to say"}
- cancheck = true
- enemydying = false
- -- 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
- -- This handles the commands; all-caps versions of the commands list you have above.
- function HandleCustomCommand(command)
- if command == "COMPLIMENT" then
- BattleDialog({"[color:ff0000]Compliment her on what.\nBeing so naive."})
- elseif command == "APOLOGISE" then
- BattleDialog({"[color:ff0000]Apologise for genocide.\nWhat a joke"})
- elseif command == "INSULT" then
- BattleDialog({"[color:ff0000]Have you not caused enough pain."})
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement