local SpeedsterRequestFinished = false
local OnMission = false
local encrypt = API.load("encrypt")
local SpeedsterMission = encrypt.Data(Data.DATA_LEVEL, false)
function OnStart()
if SpeedsterMission:get == false then
SpeedsterMaskless:show(true)
SpeedsterWithMask:hide(true)
elseif SpeedsterMission:get == true then
SpeedsterMaskless:hide(true)
SpeedsterWithMask:show(true)
end
end
function onMessageBox(Msgstr, eventObj)
if SpeedsterMission:get == true and Msgstr == "SpeedsterText" and ("MissionStatus") == true then
eventObj.cancelled = true
if player.character == 1 then
Text.showMessageBox("Speedster: Hey MosaicMario! Guess What?!")
Text.showMessageBox("MosaicMario: I already see what it is. Your mask is back?")
Text.showMessageBox("Speedster: Yep, Rosy was kind enough to find it for me.")
Text.showMessageBox("MosaicMario: Well that's great.")
Text.showMessageBox("MosaicMario: Did you have any tips of the area surrounding here?")
Text.showMessageBox("Speedster: Well, i did hear somewhere near an ice palace, there's some milltary base loaded with weapons")
Text.showMessageBox("MosaicMario: Wow, really? That's intresting to hear, see you later!")
Text.showMessageBox("Speedster: Alright, see yea.")
elseif player.character == 2 then
Text.showMessageBox("Speedster: Hey, just wanted to say thanks for finding my mask!")
Text.showMessageBox("Rosy: Well once again, your welcome! Actually, i have a question, did you have any tips for me about the area?")
Text.showMessageBox("Speedster: Sure, anything for you.")
Text.showMessageBox("Speedster: There's some milltary base near an ice palance that's loaded with weapons!")
Text.showMessageBox("Rosy: Wow, really? That's instresting, thanks!")
Text.showMessageBox("Speedster: Nah, it's nothing, be safe out there.")
elseif player.character == 3 then
elseif player.character == 4 then
elseif player.character == 5 then
elseif SpeedsterRequestFinished == true and player.character == 2 and SpeedsterMission:get("MissionStatus") == false then
Text.showMessageBox("Speedster: Rosy? Did you find my mask?")
Text.showMessageBox("Rosy: Yeah, i did! Here you go.")
Text.showMessageBox("Speedster: Thank you!")
SpeedsterWithMask:show(true)
SpeedsterMaskless:hide(true)
Text.showMessageBox("Speedster: Now your prize, well, here it is!")
PurpleFlowers:show(false)
Audio.playSFX(41)
Text.showMessageBox("Rosy: Purple Flowers? Nice! Thank you for those!")
Text.showMessageBox("Speedster: My pleasure, becareful out there now beautiful")
Text.showMessageBox("Rosy: Hmm?")
Text.showMessageBox("Speedster: Nothing...")
SpeedsterMission:get("MissonStatus") == false then
SpeedsterMission:set("MissionStatus") = true
SpeedsterMission:save()
Audio.playSFX(20)
elseif SpeedsterRequestFinished == false then and OnMission == false then
if player.character == 1 then
Text.showMessageBox("Speedster: Hey There MosaicMario!")
Text.showMessageBox("MosaicMario: Oh? Hey Speedster, i almost didn't recongnize you.")
Text.showMessageBox("Speedster: Really? Why?")
Text.showMessageBox("MosaicMario: Well, it's obvious right? Something's missing, it's your-")
Text.showMessageBox("Speedster: What? No, nothing's missing, nothing at all...")
Text.showMessageBox("MosaicMario: Well, suit yourself i guess, later")
Text.showMessageBox("Speedster: Okay, bye!")
elseif player.character == 2 then
Text.showMessageBox("Rosy: Hey Speedster.")
Text.showMessageBox("Speedster: Uh, Oh! H-Hi Rosy!")
Text.showMessageBox("Rosy: Is something wrong?")
Text.showMessageBox("Speedster: Um, n-no, nothing is wron-")
Text.showMessageBox("Rosy: Hey Speedster, don't pretend, there's something wrong, i can tell.")
Text.showMessageBox("Speedster: ...")
Text.showMessageBox("Speedster: Alright, guess i'll tell you")
Text.showMessageBox("Speedster: In pretty much a nutshell, my mask has gone missing. And I forgot where i could have been where i could have dropped it.")
Text.showMessageBox("Speedster: So, is there some way you could maybe, find it for me?")
Text.showMessageBox("Rosy: Hmm, know what? Sure! I can find it.")
Text.showMessageBox("Speedster: Really? You can? Thanks!")
Text.showMessageBox("Speedster: To find it, i'd say look around this city and you'll eventually find it, good luck!")
Text.showMessageBox("Rosy: Okay, i'll see what i can find!")
do OnMission = true
elseif player.character == 3 then
Text.showMessageBox("Speedster: Oh hi Berry.")
Text.showMessageBox("Berry: Yoshi? (Wheres his mask?)")
Text.showMessageBox("Speedster: So, what was the problem?")
Text.showMessageBox("Berry: Yoshi, Yosh- (Well, it's your face, Wheres your ma-")
Text.showMessageBox("Speedster: What are you talking about? What mask?")
Text.showMessageBox("Berry: Yoshi, Yosh- (It's obvious if you just look at hi-")
Text.showMessageBox("Speedster: Sorry, but i can't talk to you if i don't know what your talking about.")
Text.showMessageBox("Berry: Yoshi... (Welp, bye i guess)")
elseif player.character == 4 then
Text.showMessageBox("Hoops: Hey Speedster!")
Text.showMessageBox("Speedster: ...")
Text.showMessageBox("Hoops: What's wrong? Wait, i see the problem, it's your mask, i don'-")
Text.showMessageBox("Speedster: May you not talk to me for a sec?")
Text.showMessageBox("Hoops: Umm, if you let me talk i could fi-")
Text.showMessageBox("Speedster: What problem? I don't have a problem. Could you find something else to do?")
Text.showMessageBox("Hoops: Well fine then, bye.(Rude Much?)")
elseif player.character == 5 then
Text.showMessageBox("*****: Umm, hi?")
Text.showMessageBox("Speedster: ...(Who's This?)")
Text.showMessageBox("*****: Umm, i'm MosaicLink?")
Text.showMessageBox("Speedster: ...(MosaicLink? Sounds kind of like MosaicMario.")
Text.showMessageBox("*****: Did you need anything?")
Text.showMessageBox("Speedster: ...(Just don't talk to him Speedster)")
Text.showMessageBox("*****: Well, guess not, bye then")
Text.showMessageBox("Speedster: ...")