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 = {"Check"}
- randomdialogue = {"Random\nDialogue\n1.", "Random\nDialogue\n2.", "Random\nDialogue\n3."}
- sprite = "empty" --Always PNG. Extension is added automatically.
- name = "ToddDragon"
- hp = 40000
- atk = 5
- def = 1
- fakeatk = 500
- fakedef = 500
- check = ""
- defensemisstext = "COUNTERED"
- 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
- Sound.Play("hit") -- 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
- currentdialogue = {"Selected\nAct 1."}
- elseif command == "ACT 2" then
- currentdialogue = {"Selected\nAct 2."}
- elseif command == "ACT 3" then
- currentdialogue = {"Selected\nAct 3."}
- end
- BattleDialog({"TODD THE DRAGON KID "..fakeatk.." ATK\r"..fakedef.." DEF\nFusing with a dragon's DNA gave\rhim superhuman powers."})
- end
- function OnDeath()
- dialogbubble = "rightlargeminus"
- hp = 1
- def = 1
- Audio.Pause()
- currentdialogue = {"Nice try, boy-o"}
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement