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 = {"Looks like you might be able\nto save Asriel!", "Asriel is looking very curious.", "Asriel tells you a snail fact!"}
- commands = {"Joke", "Save", "Flirt", "Dream"}
- randomdialogue = {"[voice:asriel][color:00c000]Howdy! I'm Asriel!", "[voice:asriel][color:00c000]Man, this place\nis weird...", "[voice:asriel][color:00c000]You're trying to\nsave me?", "[voice:asriel][color:00c000]What's your name?\n [w:30]...Oh. You don't\n have one?", "[voice:asriel][color:00c000]Have you seen my\nfriend Chara?", "[voice:asriel][color:00c000]What's with the\ngreen boxes\nbehind me?"}
- sprite = "asrielidle" --Always PNG. Extension is added automatically.
- name = "Asriel"
- hp = 999999999
- atk = 1
- def = 1
- check = "Someone familiar..."
- dialogbubble = "rightlarge"
- -- Happens after the slash animation but before
- function HandleAttack(attackstatus)
- if attackstatus == -1 then
- SetSprite("asrielunsure")
- currentdialogue = {"[voice:asriel][color:ff0000]You really\n think you can\n hit me?"}
- else
- SetSprite(asrielangry)
- currentdialogue = {"[voice:asriel][color:ff0000]Wow, you hit\nme. You really\nare\nsomething\nspecial."}
- end
- end
- -- This handles the commands; all-caps versions of the commands list you have above.
- function HandleCustomCommand(command)
- if command == "JOKE" then
- SetSprite("asriellaugh")
- currentdialogue = {"[voice:asriel][color:00c000]Haha, that's\na funny one! I\nwonder if my mom\nknows it!"}
- SetSprite("asrielidle")
- elseif command == "SAVE" then
- SetSprite("asrielunsure2")
- currentdialogue = {"[voice:asriel][color:00c000]Man, wouldn't/nit be cool if\nI was super\npowerful?]"}
- SetSprite("asrielidle")
- elseif command == "FLIRT" then
- SetSprite("asrielunsure")
- currentdialogue = {"[voice:asriel][color:00c000]You... [w:30] want to\n go out on a date!? ]"}
- SetSprite("asrielsorry")
- currentdialogue = {"[voice:asriel][color:00c000]Haha... [w:20] maybe \nafter our fight!"}
- elseif command == "DREAM" then
- SetSprite("asrieldetermined")
- currentdialogue = {"[voice:asriel][color:00c000]Man, wouldn't/nit be cool if\nI was super\npowerful?]"}
- SetSprite("asrieldream")
- currentdialogue = {"[voice:asriel][color:00c000]I can see it/nnow...]"}
- end
- end
Add Comment
Please, Sign In to add comment