------------------------------------------------------------------ -- \author tsuneoka -- \date 2009/06/22 14:52:40 ------------------------------------------------------------------ -- start local id = ccGetScriptId(); local itemBoxId = ccGetItemBoxId( id ); local enable = ccGetEnableItemBox( id, itemBoxId ); if( enable == true ) then ccSuspendScript(); if( ccIsTutorialGet( "TUTORIAL_052" ) == false ) then ccChangeTutorial( id, "TUTORIAL_052"); ccSuspendScript(); end ccSetAdvMobEventCollision( id, false ); ccSetAdvPlayerDefaultLockOperate( id, false ); ccTurnAdvPlayerToMob( id ); ccSetAdvPlayerState( id, CCD_ADV_CHARA_STATE_ACTION ); ccSetAdvPlayerAnmByMotionName(id, "gim1" ); ccAdvPlay3dSeByCurPos( id, S_leaves ); ccCreateAdvMobEffect( id, "data/stage/saxgim.xfbin", "saxgim024_eff00" ); ccWaitEndAnmPlayer( id ); ccSuspendScript(); -- アイテムボックスを開ける ccOpenItemBoxId( id, itemBoxId ); if( ccIsTutorialGet( "TUTORIAL_002" ) == false ) then ccChangeTutorial( id, "TUTORIAL_002"); ccSuspendScript(); end ccSetAdvPlayerDefaultLockOperate( id, true ); end ccSetAdvMobEventCollision( id, false ); -- end ------------------------------------------------------------------ -- EOF ------------------------------------------------------------------