diff options
author | Colin Noga <Tempus@chronometry.ca> | 2012-11-25 15:35:01 -0600 |
---|---|---|
committer | Colin Noga <Tempus@chronometry.ca> | 2012-11-25 15:35:01 -0600 |
commit | 72b9b71b5b7fb5757849d19af3dfae21d0ab9c92 (patch) | |
tree | de2afd1cdf69f4c58503dfce0c52fcfe7c344992 /src/koopatlas | |
parent | 03543264f99392834e63ff1c23bc0b7ebaa4ce51 (diff) | |
download | kamek-72b9b71b5b7fb5757849d19af3dfae21d0ab9c92.tar.gz kamek-72b9b71b5b7fb5757849d19af3dfae21d0ab9c92.zip |
shop animation
Diffstat (limited to '')
-rw-r--r-- | src/koopatlas/shop.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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() { |