Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Happens after the slash animation but before
- function HandleAttack(attackstatus)
- if attackstatus == -1 then
- -- player pressed fight but didn't press Z afterwards
- currentdialogue = {"text 1", "text 2"}
- BattleDialog({"[color:ff0000]You should help him."})
- Player.name = "mercy"
- Player.lv = 1
- Player.hp = 20
- else
- -- player did actually attack
- currentdialogue = {"text 1", "text 2"}
- BattleDialog({"[color:ff0000]Should you help him?"})
- Player.name = "murder"
- Player.lv = 20
- Player.hp = 99
- end
- end
- -- you can add more texts!
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement