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 = {"Sans se interpone en\rtu camino!"}
- commands = {"Checar", "Coqueteo", "Insultar"}
- randomdialogue = {""}
- sprite = "blueberry" --Always PNG. Extension is added automatically.
- name = "Sans"
- hp = 600
- atk = 30
- def = 5
- check = "Check message goes here."
- dialogbubble = "right" -- See documentation for what bubbles you have available.
- canspare = false
- cancheck = 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
- Audio.Stop("bonequarrel")
- State("ENEMYDIALOGUE")
- currentdialogue = {"Asi que iremos\rde ese modo?"}
- end
- end
- -- This handles the commands; all-caps versions of the commands list you have above.
- function HandleCustomCommand(command)
- if command == "CHECAR" then
- BattleDialog({"SANS 30 ATK 5 DEF\nEn el fondo quiere invitarte a\rcomer unos tacos."})
- elseif command == "ACT 2" then
- currentdialogue = {"Selected\nAct 2."}
- elseif command == "ACT 3" then
- currentdialogue = {"Selected\nAct 3."}
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment