Advertisement
Guest User

Yes

a guest
Jan 30th, 2021
171
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 3.42 KB | None | 0 0
  1. -- A basic monster script skeleton you can copy and modify for your own creations.
  2. comments = {"La risa de Chaos Chara te llena de miedo", "Chaos Chara te mira atentamente", "Estas determinada hasta el final"}
  3. commands = {"Preguntar", "Orar", "Usar magia"}
  4. randomdialogue = {"[color:ff0000][voice:chara]HAHAAHAHAHHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHA", "[color:ff0000][voice:chara][effect:shake]QUIERO VER CAOS", "[color:ff0000][voice:chara]ADMITELO, ERES DEBIL A COMPARACION DE MI", "[effect:shake][color:ff0000][voice:chara]CAOS, CAOS", "[color:ff0000][voice:chara][effect:shake]MUERETE"}
  5.  
  6. sprite = "ChaosChara" --Always PNG. Extension is added automatically.
  7. name = "Chaos Chara"
  8. hp = 99
  9. atk = 99
  10. def = 99
  11. check = "Quiere ver el mundo en caos"
  12. dialogbubble = "right" -- See documentation for what bubbles you have available.
  13. canspare = false
  14. cancheck = true
  15.  
  16. Player.name = "Undyne"
  17.  
  18. skipchoose = false
  19.  
  20. magiacounter = 0
  21.  
  22. -- Happens after the slash animation but before
  23. function HandleAttack(attackstatus)
  24.  
  25.     currentdialogue = {"[color:ff0000][voice:chara][effect:shake]NO PUEDES ATACARME"}
  26. end
  27.  
  28. -- This handles the commands; all-caps versions of the commands list you have above.
  29. function HandleCustomCommand(command)
  30.     if command == "PREGUNTAR" then
  31.         currentdialogue = {"[color:ff0000][voice:chara][effect:shake]ME GUSTA"}
  32.         BattleDialog({"[voice:UT]Porque haces esto?"})
  33.         nextwaves = {"vertical", "knives1"}
  34.     end
  35.     if command == "ORAR" then
  36.         BattleDialog({"Oras por tu seguridad, sientes las almas humanas curandote, recuperas 10 HP!!"})
  37.         Player.Heal(10)
  38.         nextwaves = {"vertical", "knives3"}
  39.     end
  40.     if command == "USAR MAGIA" then
  41.     if magiacounter == 0 then
  42.        BattleDialog({"Sientes la magia entrando a tu cuerpo"})
  43.     elseif magiacounter == 1 then
  44.        BattleDialog({"Lanzas un hechizo a Chaos Chara, pero solo aumento su ataque"})
  45.        atk = atk + 1
  46.     elseif magiacounter == 2 then
  47.        BattleDialog({"Lanzas un hechizo a Chaos Chara, pero solo disminuyo 1 de defensa, eres mala en la magia"})  
  48.        def = def - 1
  49.     elseif magiacounter == 3 then
  50.        BattleDialog({"Lanzas un hechizo a Chaos Chara, pero solo la volvio a su estado original"})
  51.        atk = atk - 1
  52.        def = def + 1
  53.     elseif magiacounter == 4 then
  54.        BattleDialog({"Lanzas un hechizo a Chaos Chara, prece mas cansada"})
  55.        currentdialogue = {"[color:ff0000][voice:chara]Ese truco no funciona conmigo =)"}
  56.     elseif magiacounter == 5 then
  57.        BattleDialog({"Lanzas un hechizo a misterioso Chaos Chara parece confundida"})
  58.        currentdialogue = {"[color:ff0000][voice:chara]Que haces?"}
  59.     elseif magiacounter == 6 then
  60.        BattleDialog({"(Tu defensa subio!!)"})
  61.        currentdialogue = {"[color:ff0000][voice:chara][effect:shake]QUE MURMULLAS?"}
  62.     elseif magiacounter == 7 then
  63.        BattleDialog({"Preparas un gran hechizo"})
  64.        currentdialogue = {"[color:ff0000][voice:chara][effect:shake]QUE HACES?"}
  65.     elseif magiacounter == 8 then
  66.        BattleDialog({"Chaos Chara Parece cansada"})
  67.        currentdialogue = {"[color:ff0000][voice:chara][effect:shake]NOOOO"}
  68.         SetSprite("Asriel")
  69.     else
  70.        BattleDialog({"Obligas a Chaos Chara a Perdonarte con un hechizo"})
  71.        currentdialogue = {"[color:ff0000][voice:chara][effect:shake]Talvez me venciste", "pero volvere aun mas fuerte hehehe"}
  72.        SetSprite("ChaosChara")
  73.        canspare = true
  74.     end
  75.     magiacounter = magiacounter + 1
  76. end
  77. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement