Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- keep in mind that I have this function used (in the row of name, HP, ATK, etc...):
- posecount = 0
- ! The script below is where my problem is facing. ! (the small script on the top is just to let you know that, yes I have a variable ready for the custom command script of mine.)
- -- This handles the commands; all-caps versions of the commands list you have above.
- function HandleCustomCommand(command)
- if command == "COMPLIMENT" then
- if posecount == 0 then
- table.insert(comments, "Try complimenting the stickman more.")
- currentdialogue = {"Stickier than\nbefore!"}
- battledialog({"You compliment the stickman.\rHe seems happy."})
- elseif posecount == 1 then
- currentdialogue = {"Even stickier\nthan before!"}
- battledialog({"You compliment the stickman,\r[w:20]again.\r[w:20]He seems happier."})
- elseif posecount == 2 then
- currentdialogue = {"Stickiest\nform!"}
- battledialog({"You compliment the stickman,\r[w:20]another time\r[w:20]He seems the happiest he can be."})
- elseif posecount == 3 then
- canspare = true
- table.insert(comments, "The happiest version of the\rstickman.")
- currentdialogue = {":)"}
- BattleDialog({"[effect:rotate]You've made him happier\rthan the happiest version\rof the stickman.\r[w:20]Now what?"})
- end
- posecount = posecount + 1
- elseif command == "INSULT" then
- currentdialogue = {"Less sticky...\n:("}
- battledialog({"You insult the stickman.\rHe seems sad."})
- end
- elseif command == "FLIRT" then
- currentdialogue = {"Um... Sticky?"}
- battledialog({"You flirt with the stickman.\rHe seems...[w:20]normal?"})
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment