PerlRPG/Resources/script.gs

35 lines
831 B
JavaScript

__init__:
SetBackground 128 128 128 255
SetAssetOption spritesheet.png Animated
AddSayer h "Hermione" aka01.png 200 200 200 255
AddSayer h2 "Hermione2" aka05.png 200 200 200 255 left flip
TargetFPS = 20
ResourceDir = "Resources"
drawroom:
Show bg main_room_day.png 0 0 10
Show window 05_window.png 350 100 11
Show cupboard cupboard.png 120 72 11
Show door door.png 840 177 11
Show fireplace fireplace.png 600 150 11
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 desk 11_genie_00.png 230 220 13
Show hermione spritesheet.png 450 310 14 reverse ticks=3
convo:
Wait
h "Continue..."
Wait
h2 "Continue2..."
RecompileScripts drawroom
Jump convo