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 = {"Stage lights are blaring."}
- commands = {"Check"}
- sprite = "empty" --Always PNG. Extension is added automatically.
- name = "Mettaton NEO"
- hp = 30000
- atk = 90
- def = -40000
- check = "Dr. Alphys's greatest invention."
- 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
- function BeforeDamageCalculation()
- SetDamage(math.random(900000,999999))
- end
- -- 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 == "CHECK" then
- BattleDialog({"METTATON NEO - 90 ATK 9 DEF\nDr. Alphys' greatest invention."})
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement