function n04youngwomana4_100() local Event=EventClass.Event; Event:LockPlayer(); Event:PauseNpc(); coroutine.yield(); Event:BackupCamera(); setcamera() coroutine.yield(); if(Event:GetEventFlag(EventFlag.item_blueorb)==1) --ブルーオーブを持っている場合 then if(Event:GetEventFlag(200)==1) --ホームランバットを入手している場合 then Event:Print("/vhPlease make my father’s/rspirit proud!/vn/b/co"); else if(Event:GetEventFlag(199)==1) --もくせいバットをバット職人2に見せた場合 then Event:SetEventFlag(200,1); --ホームランバットを入手したフラグ Event:Print("/vhA famous batter...?/b/cl"); Event:Print("I’m sure it’s my father./rWho told you that...?/b/cl"); Event:Print("The bat maker is right./rMy father’s home run/rrecord is unbreakable./b/cl"); Event:Print("You want to see him...?/r/b/cl"); Event:Print("Well... Sadly, he’s.../r/b/co"); Event:WaitContinue(); coroutine.yield(); Event:CloseMessage(); coroutine.yield(); Event:Wait(1.0); --ウェイト coroutine.yield(); Event:Print("Wait! Just give me a/rminute!/b/co"); Event:WaitContinue(); coroutine.yield(); Event:CloseMessage(); coroutine.yield(); Event:FadeOut(); --画面暗転 coroutine.yield(); Event:Wait(1.0); --ウェイト coroutine.yield(); Event:FadeIn(); coroutine.yield(); --画面もどる Event:Print("This bat is my father’s/rlegacy, but it’s useless/rsitting on a shelf./b/cl"); Event:Print("I’m sure you’ll wield it/rlike he did, Hero. You/rcan take it with you./b/co"); Event:WaitContinue(); coroutine.yield(); Event:CloseMessage(); coroutine.yield(); Event:Wait(0.5); coroutine.yield(); getspecialitem2(113) --ホームランバットを入手 Event:Print("/vn> Got the Home Run Bat!/b/co"); Event:WaitContinue(); coroutine.yield(); Event:CloseMessage(); coroutine.yield(); endgetspecialitem2() Event:Wait(0.5); coroutine.yield(); Event:Print("/vhBy the way, you should/rmake your own “home run/rwar cry” when you swing./b/cl"); Event:Print("Something like.../r /r“CRITICAL HIT!!!!!”/vn/b/co"); else Event:Print("/vhThanks to you, Hero, we/rcan catch fish again./b/cl"); Event:Print("Thank you very much./vn/b/co"); end end else if(Event:GetEventFlag(199)==1) then Event:Print("/vhOur town is running out/rof food. At this rate.../b/cl"); Event:Print("A famous batter...? It/rcould be my father, but/rnow is a bad time.../b/cl"); Event:Print("Sorry./vn/b/co"); else Event:Print("/vhOur town is running out/rof food. At this rate.../vn/b/co"); end end Event:WaitContinue(); coroutine.yield(); Event:CloseMessage(); coroutine.yield(); Event:RestoreCamera(); Event:UnlockPlayer(); Event:PlayNpc(); return; end