------------------------------------------------------------------ -- \author m-miyazaki -- \date 2010/06/01 ------------------------------------------------------------------ -- 扉の制御:sa00e 焼肉Q local id = ccGetScriptId(); -- 進行度によって設定 local chap = ccGetAdvMainChapter( id ); local seq = ccGetAdvMainSequence( id ); -- 「許可書配布」任務の進行度 local eventSeq = ccGetSubEventSequenceById( "m_sub02" ); -- 序章で、かつ任務をクリアしていないなら扉閉める if chap == 0 and eventSeq == 0 then ccSetAdvMobAnmByNameFrame( "sa00e_door0", "data/stage/sa00e.xfbin", "sa00e_gim00_n0", 0 ); -- ヒットを有効に else -- ヒット無効 MobUtil_SetMobDispByName( "sa00e_door0_hit", false ); end