function n05oldmana2_040() local Event=EventClass.Event; Event:LockPlayer(); Event:PauseNpc(); Event:PauseEnemy(); coroutine.yield(); Event:BackupCamera(); setcamera() coroutine.yield(); if(Event:GetEventFlag(EventFlag.item_yelloworb )==1) --イエローオーブを入手持っている場合 then if(Event:GetEventFlag(138)==1) --料理の本を入手している場合 then Event:Print("/vnThis yolk is sooo tasty!/b/co"); else if(Event:GetEventFlag(103)==1) --おんせんたまごをもっている場合 then Event:SetEventFlag(138,1); --138番のフラグがオン --おんせんたまごを老人に届け、役立つ本を入手したフラグ Event:Print("/vnAh! That Spa Egg! You’ll/rgive it to me, won’t you!?/b/cl"); Event:Print("Thank you so much! You/rcan have this in return.../b/co"); Event:WaitContinue(); coroutine.yield(); Event:CloseMessage(); coroutine.yield(); geteventitem() --Event:Wait(1.0); coroutine.yield(); Event:Print("> Got a Cook Book!/b/co"); -- 料理の本を手に入れる。 Event:WaitContinue(); coroutine.yield(); endgeteventitem() else Event:Print("/vnI wish I could try a/rreal Spa Egg.../b/co"); end end else Event:Print("/vnYou’ll find a temple in/rthe grass to the west./b/co"); end Event:WaitContinue(); coroutine.yield(); Event:CloseMessage(); coroutine.yield(); Event:RestoreCamera(); Event:PlayEnemy(); Event:PlayNpc(); Event:UnlockPlayer(); return; end