From d1235174157bd498d0c148325d7c8066e3ab6ac7 Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Mon, 15 Feb 2021 12:05:18 -0500 Subject: Added camera shake to lightning event --- res/scripts/common.lua | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'res/scripts/common.lua') diff --git a/res/scripts/common.lua b/res/scripts/common.lua index 2197417..422d157 100644 --- a/res/scripts/common.lua +++ b/res/scripts/common.lua @@ -131,6 +131,14 @@ function WaitForMapFade() end end +function ShakeCamera(period) + effect():shakeCamera(period) +end + +function StopShakingCamera() + effect():stopShakingCamera() +end + function SetPartyDirection(spriteId, direction) animation():setSpriteDirection(spriteId, direction) -- cgit 1.4.1