Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- comments = {"You can feel the blood of the demons you killed coursing through your veins."}
- randomdialogue = {"Random\nDialogue\n1.", "Random\nDialogue\n2.", "Random\nDialogue\n3."}
- commands = {"Check"}
- sprite = "cube_base"
- name = "RobTop"
- hp = 9 -- Normally 9999
- atk = 1
- def = 1
- 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
- -- player did actually attack
- end
- end
- function HandleCustomCommand(command)
- if command == "Check" then
- end
- BattleDialog({"Doesn't have 1 HP like the others. One attack and one defense are all he needs."})
- end
- require "Animations/BobAnim"
- function Ouchy()
- cube_blood.Remove()
- cube_hurt = CreateSprite("cube_hurt")
- cube_hurt.SetPivot(0.5, 0)
- cube_hurt.Dust()
- Kill()
- end
- function OnDeath()
- cube.Remove()
- cube_blood = CreateSprite("cube_badly_hurt")
- cube_blood.SetPivot(0.5, 0)
- Audio.Stop()
- Audio.LoadFile("mus_toomuch")
- currentdialogue = {"Y... \nYou idiot...", "Now 2.3 is never coming out.", "Ha... Ha...", "[func:Ouchy]"}
- State("ENEMYDIALOGUE")
- end
Advertisement
Add Comment
Please, Sign In to add comment