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 mannequin.", "Poseur is posing."}
- commands = {"Act 1"}
- randomdialogue = {"{font:papyrus}you wanted this."}
- sprite = "poseur" --Always PNG. Extension is added automatically.
- name = "Poseur EX"
- hp = 100
- atk = 5
- def = 2
- check = "One of ALPHYS's experiments gone wrong."
- dialogbubble = "rightlarge" -- 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
- currentdialogue = {"Watch where you're waving\nthat thing, would you?"}
- else
- if hp > 35 then
- currentdialogue = {"Guess I'd better STEP IT UP..."}
- -- 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 == "ACT 1" then
- BattleDialog({"You plead with Poseur to stop.\nHe's not listening."})
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement