function graundc1_040() local Event=EventClass.Event; if(Event:GetEventFlag(142)==1 and Event:GetEventFlag(143)==0) --灼熱のルビーを手に入れている場合 then Event:ResetDash(); Event:PauseEnemy(); Event:LockPlayer(); Event:PauseNpc(); coroutine.yield(); Event:BackupCamera(); setcamera() coroutine.yield(); Event:Print("/vn> The volcano’s heat is/rstifling. Stones lie/rscattered about./b/cl"); Event:Print("> Search?/co"); Event:WaitContinue(); coroutine.yield(); Event:Select(); coroutine.yield(); if(Event:GetSelect()==0) then Event:SetEventFlag(143,1); --灼熱のルビーを入手したフラグ(143番) Event:WaitContinue(); coroutine.yield(); Event:CloseMessage(); coroutine.yield(); geteventitem() Event:Print("> Got the Fire Ruby!/b/co"); Event:WaitContinue(); coroutine.yield(); Event:CloseMessage(); coroutine.yield(); endgeteventitem() Event:RestoreCamera(); Event:PlayNpc(); Event:UnlockPlayer(); Event:PlayEnemy(); Event:setItemMenuOpenFlag( 0 ); return; else Event:WaitContinue(); coroutine.yield(); Event:CloseMessage(); coroutine.yield(); Event:RestoreCamera(); Event:PlayNpc(); Event:UnlockPlayer(); Event:PlayEnemy(); Event:setItemMenuOpenFlag( 0 ); return; end else Event:setItemMenuOpenFlag( 0 ); return; end end