Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[ Flowey Battle Monster Script
- By MarioMario456 --]]
- comments = {"Flowey."}
- commands = {"Check", "Save"}
- randomdialogue = {"..."}
- sprite = "poseur" --Always PNG. Extension is added automatically.
- name = "Flowey"
- hp = 500
- atk = 2
- def = -5
- check = "Lies about being good."
- dialogbubble = "right" -- See documentation for what bubbles you have available.
- canspare = false
- cancheck = false
- SaveCounter = 0
- DecreasedFloweyStats = 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
- -- This handles the commands; all-caps versions of the commands list you have above.
- function HandleCustomCommand(command)
- if command == "CHECK" then
- BattleDialog({"FLOWEY - 5 ATK 2 DEF\nLies about being good."})
- elseif command == "SAVE" then
- if SaveCounter == 0 then
- BattleDialog({"You show Flowey a family\rphotograph.\nHe seems to remember..."})
- else
- BattleDialog({"More save texts to be added\rlater."})
- end
- SaveCounter = SaveCounter + 1
- end
- end
- function DecreaseFloweyStats()
- DecreasedFloweyStats = true
- def = -10
- end
Advertisement
Add Comment
Please, Sign In to add comment