summary refs log tree commit diff stats
path: root/res/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'res/scripts')
-rw-r--r--res/scripts/common.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/res/scripts/common.lua b/res/scripts/common.lua index 35eec22..46f2275 100644 --- a/res/scripts/common.lua +++ b/res/scripts/common.lua
@@ -247,6 +247,10 @@ function PanToSprite(spriteName, length)
247 camera():panToSprite(spriteId, length) 247 camera():panToSprite(spriteId, length)
248end 248end
249 249
250function PanToWarpPoint(warpPoint, length)
251 camera():panToWarpPoint(warpPoint, length)
252end
253
250function WaitForPan() 254function WaitForPan()
251 while camera():isPanning() do 255 while camera():isPanning() do
252 coroutine.yield() 256 coroutine.yield()