From 72b9b71b5b7fb5757849d19af3dfae21d0ab9c92 Mon Sep 17 00:00:00 2001 From: Colin Noga Date: Sun, 25 Nov 2012 15:35:01 -0600 Subject: shop animation --- src/koopatlas/shop.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/koopatlas') diff --git a/src/koopatlas/shop.cpp b/src/koopatlas/shop.cpp index a323bce..4ee20f7 100644 --- a/src/koopatlas/shop.cpp +++ b/src/koopatlas/shop.cpp @@ -304,7 +304,7 @@ void dWMShop_c::executeState_ButtonActivateWait() { void dWMShop_c::endState_ButtonActivateWait() { OSReport("Wait"); } // Wait -void dWMShop_c::beginState_Wait() { timer = 0; MapSoundPlayer(SoundRelatedClass, SE_OBJ_CLOUD_BLOCK_TO_JUGEM, 1); } +void dWMShop_c::beginState_Wait() { timer = 1; MapSoundPlayer(SoundRelatedClass, SE_OBJ_CLOUD_BLOCK_TO_JUGEM, 1); } void dWMShop_c::executeState_Wait() { if (timer < 90) { scaleEase = -((cos(timer * 3.14 /20)-0.9)/timer*10)+1; @@ -366,7 +366,7 @@ void dWMShop_c::beginState_HideWait() { layout.enableNonLoopAnim(HIDE_ALL); layout.enableNonLoopAnim(DEACTIVATE_BUTTON+selected); - timer = 25; + timer = 26; MapSoundPlayer(SoundRelatedClass, SE_OBJ_CS_KINOHOUSE_DISAPP, 1); } void dWMShop_c::executeState_HideWait() { -- cgit v1.2.3