Add Call/Return script commands

This commit is contained in:
Ryan Shepherd
2018-10-11 15:45:35 -04:00
parent 15ae3dafdb
commit 3af5ced1cd
2 changed files with 38 additions and 11 deletions
+12 -9
View File
@@ -6,7 +6,7 @@ drawroom:
SetBackground 0 0 0 255
SetAssetOption spritesheet.png Animated
AddSayer h "Hermione" aka01.png 255 0 0 255
AddSayer h2 "Hermione2" aka05.png 32 32 255 255 left flip
#AddSayer h2 "Hermione2" aka05.png 32 32 255 255 left flip
SpeechBorderSize = 3
SpeechBorderColor = "128 128 128 255"
@@ -21,19 +21,22 @@ drawroom:
Show candler candle.png 400 100 11 flip
Show candlel candle.png 240 100 11
Show fireplacea fireplace_fire.vs 575 147 12
Show candlera fire.vs 400 95 12 flip
Show candlela fire.vs 240 95 12
#Show fireplacea fireplace_fire.vs 575 147 12
#Show candlera fire.vs 400 95 12 flip
#Show candlela fire.vs 240 95 12
Show desk 11_genie_00.png 230 220 13
Show hermione spritesheet.png 450 310 14 reverse ticks=4
#Show hermione spritesheet.png 450 310 14 reverse ticks=4
convo:
Wait
h "Continue..."
Wait
h2 "Continue2..."
Call subtest
RecompileScripts drawroom
Jump convo
subtest:
Define TestVar 1
h "Loop [TestVar]..."
TestVar = TestVar + 1
Return