Code: Select all
function onLoopSection1()
if(dialogueTime >= 0) then
dialogueTime = dialogueTime - 1
end
local dialogueInSeconds = math.ceil(dialogueTime / 32)
Graphics.drawImage(image, 0, 0)
if(dialogueInSeconds <= 30 and dialogueInSeconds >= 27) then
Graphics.drawImageWP(zlakerboy , 0, 472, 1)
Text.printWP("Did you see him straining?", 126, 520, 2)
Audio.playSFX("Zlakerboy quote.ogg")
elseif(dialogueInSeconds <= 27 and dialogueInSeconds >= 24) then
Graphics.drawImageWP(nude , 0, 472, 1)
Text.printWP("Positivley awful design.", 126, 520, 2)
Audio.playSFX("Bossedit8 quote.ogg")
elseif(dialogueInSeconds <= 24 and dialogueInSeconds >= 19) then
Graphics.drawImageWP(princess , 0, 472, 1)
Text.printWP("Just some garbage.", 126, 520, 2)
Text.printWP("He should give up and be", 126, 540, 2)
Text.printWP("disqualified before it's too late.", 126, 560, 2)
Audio.playSFX("Meme princess quote.ogg")
elseif(dialogueInSeconds <= 19 and dialogueInSeconds >= 15) then
Graphics.drawImageWP(sexy , 0, 472, 1)
Text.printWP("Shut up! You're all jealous.", 126, 520, 2)
Text.printWP("Wraith's better than any of you!", 126, 540, 2)
Audio.playSFX("some sexy girl.ogg")
elseif(dialogueInSeconds <= 15 and dialogueInSeconds >= 11) then
Graphics.drawImageWP(meme , 0, 472, 1)
Text.printWP("Yre right, Ski.", 126, 520, 2)
Text.printWP("Wraith's awl but heil surprise aws all!", 126, 540, 2)
Audio.playSFX("Sinda meme A.ogg")
elseif(dialogueInSeconds <= 11 and dialogueInSeconds >= 9) then
Graphics.drawImageWP(captain , 0, 472, 1)
Text.printWP("If people are gonna....", 126, 520, 2)
Audio.playSFX("Wraith 1.ogg")
elseif(dialogueInSeconds <= 9 and dialogueInSeconds >= 4) then
Graphics.drawImageWP(preach , 0, 472, 1)
Text.printWP("Come on Wraith, don't let them think", 126, 520, 2)
Text.printWP("you could never improve, you'll get back to", 126, 540, 2)
Text.printWP("higher tiers someday.", 126, 560, 2)
Audio.playSFX("NW Quote 1.ogg")
elseif(dialogueInSeconds <= 4 and dialogueInSeconds >= 1) then
Graphics.drawImageWP(captain , 0, 472, 1)
Text.printWP("Then I'll prove so that I can", 126, 520, 2)
Text.printWP("do well and take Lucas-Thursday with me.", 126, 540, 2)
Audio.playSFX("Wraith 2.ogg")
elseif(dialogueInSeconds <= 1) then
Text.printWP("PRESS UP TO CONTINUE", 230, 150, 1)
Graphics.drawImageWP(captain , 0, 472, 1)
Text.printWP("Then I'll prove so that I can", 126, 520, 2)
Text.printWP("do well and take Lucas-Thursday with me.", 126, 540, 2)
end
end