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 = {"Sounds like The Pelones\rin the backround.", "Pelo smashes a table\rjust because he can.", "Poseur's limbs shouldn't be\rmoving in this way."}
- commands = {"Challenge", "Plead", "Scream"}
- randomdialogue = {"[effect:none]Random\nDialogue\n1.", "[effect:none]Random Dialouge\n2.", "[effect:none]Random\nDialogue\n3."}
- SetBubbleOffset(-75, -50)
- sprite = "pelo" --Always PNG. Extension is added automatically.
- name = "Sr Pelo"
- hp = 100
- atk = 125
- def = 300
- check = "The meme animator with a\rprobably infinite vocal cord."
- dialogbubble = "rightwide" -- See documentation for what bubbles you have available.
- canspare = false
- cancheck = true
- function LaunchMusic()
- Audio.Unpause()
- Audio.LoadFile("pelo theme")
- end
- -- 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
- function nomore()
- SetGlobal('wavetimer',0)
- end
- -- This handles the commands; all-caps versions of the commands list you have above.
- function HandleCustomCommand(command)
- if command == "CHALLENGE" then
- currentdialogue = {"[effect:none]Selected\nAct 1."}
- BattleDialog({"You told Pelo his attacks\rare weak.\nThe bullets get faster."})
- elseif command == "PLEAD" then
- currentdialogue = {"[effect:none]Selected\nAct 2."}
- elseif command == "SCREAM" then
- currentdialogue = {"[effect:none]Selected\nAct 3."}
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement