Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function HandleCustomCommand(command)
- if command == "TALK" then
- if (annoyance <= 7) then
- if (annoyance == 0) then
- BattleDialog = {"Herb waits for you to stop talking."}
- annoyance = 1
- elseif (annoyance == 1) then
- BattleDialog = {"Herb gives you a stern look."}
- annoyance = 2
- elseif (annoyance == 2) then
- BattleDialog = {"Herb gives you a stern look."}
- annoyance = 3
- elseif (annoyance == 3) then
- BattleDialog = {"Herb gives you a stern look."}
- annoyance = 4
- elseif (annoyance == 4) then
- BattleDialog = {"Herb gives you a stern look."}
- annoyance = 5
- elseif (annoyance == 5) then
- BattleDialog = {"Herb looks very annoyed."}
- annoyance = 6
- elseif (annoyance == 6) then
- BattleDialog = {"Herb is getting exhausted."}
- annoyance = 7
- elseif (annoyance == 7) then
- BattleDialog = {"Herb is looking weary."}
- annoyance = 100
- end
- else
- Audio.Stop()
- SetSprite("herbdead")
- SetGlobal("DEAD", 1)
- BattleDialog = {"You talked for so long that Herb died of old age. Try talking after class next time."}
- end
- end
- end
- elseif command == "FLIRT" then
- if (flirtatiousness == 0) then
- flirtatiousness == 1
- BattleDialog = {"Herb asks Vinnie to deal with it. Vinnie sings Hey Baby."}
- elseif (flirtatiousness == 1) then
- flirtatiousness == 2
- BattleDialog = {"Herb is ignoring you."}
- currentdialogue = {"*whistles*"}
- elseif (flirtatiousness == 2) then
- flirtatiousness == 3
- BattleDialog = {"Herb shuffles around uncomfortably."}
- elseif (flirtatiousness == 3) then
- flirtatiousness == 4
- BattleDialog = {"Herb shrugs you off."}
- currentdialogue = {"A commendable effort."}
- elseif (flirtatiousness == 4) then
- flirtatiousness == 5
- BattleDialog = {"Herb gives you a weird look."}
- currentdialogue = {"You do realize I'm married, right?"}
- elseif (flirtatiousness == 5) then
- BattleDialog = {"You go to FLIRT again, but suddenly, you hear M. C. Hammer's \"Can't Touch This\" play in the distance."}
- elseif command == "PLAY" then
- BattleDialog = {"Herb insists you buy a tuner."}
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement