function n04youngwomana3_130() local Event=EventClass.Event; if(Event:GetEventFlag(155) == 1) --ぽふぽふ後 then Event:Pause(); coroutine.yield(); Event:BackupCamera(); Event:BackupDof(); setnpccamerac("YoungWomana3_130") coroutine.yield(); Event:Print("/vhCome again!/vn/b/co"); Event:WaitContinue(); coroutine.yield(); Event:CloseMessage(); coroutine.yield(); Event:RestoreDof(); Event:RestoreCamera(); Event:Play(); return; end Event:Pause(); coroutine.yield(); Event:BackupCamera(); Event:BackupDof(); setnpccamerac("YoungWomana3_130") coroutine.yield(); Event:Print("/vhOh, what a nice hero./rWould you like... the/rpoofpoof? Only 10G?/co"); Event:WaitContinue(); coroutine.yield(); Event:Select(); coroutine.yield(); if(Event:GetSelect()==0) then if(Event:GetMoney() >9) then Event:PlaySe(soundList.SoundID.SE_item_purchase); coroutine.yield(); Event:SetMoney(Event:GetMoney()-10); Event:Wait(0.5); coroutine.yield(); else Event:Print("/clOh, you don’t have the/rmoney. Do come back.../vn/b/co"); Event:WaitContinue(); coroutine.yield(); Event:CloseMessage(); coroutine.yield(); Event:RestoreDof(); Event:RestoreCamera(); Event:Play(); return; end Event:SetEventFlag(155,1); --155番のフラグがオン --ぽふぽふ娘 Event:Print("/clGreat, come over here!/rI’ll just dim the lights.../co"); Event:WaitContinue(); coroutine.yield(); Event:Select(); coroutine.yield(); if(Event:GetSelect()==0) then Event:Print("/clOkay! Lights off now!/b/co"); else Event:Print("/clBut I need it dark.../b/co"); end Event:WaitContinue(); coroutine.yield(); Event:CloseMessage(); coroutine.yield(); -------------画面暗転-------------------- Event:FadeOut(); coroutine.yield(); Event:RestoreDof(); Event:RestoreCamera(); Event:SetPlayerPosition(10,12,0) coroutine.yield(); Event:SetPlayerDirection(0) Event:MoveNpc("YoungWomana3_130",3.2,0.0,12,0); coroutine.yield(); Event:Print("Come closer... Yes, have/ra seat, right there.../b/cl"); Event:Print("/vnPoof... poofpoof.../b/cl"); Event:Print("/vhHehehehe.../rPoof... poofpoof.../b/cl"); Event:Print("/vhTeeheehee.../b/cl"); Event:Print("/vn> What a nice feeling!/rWhat could it be? Wow.../b/co"); Event:WaitContinue(); coroutine.yield(); Event:CloseMessage(); coroutine.yield(); Event:CreateNpc(0.0,0.0,1.6,"Merchanta3_140"); Event:SetNpcDirection("Merchanta3_140",1); Event:SetNpcDirection("YoungWomana3_130",2); -------------画面明転-------------------- Event:FadeIn(); coroutine.yield(); Event:Print("/vnAh, how’d you like the/rpoofing, youngster?/b/cl"); Event:Print("/vnAny time you need it,/rjust come on down!/b/cl"); Event:Print("/vhThis is my dad. His back/rrubs are masterful!/b/cl"); Event:Print("/vnWell, back to work. If/ryou need the poofpoof,/rdon’t be shy now!/b/co"); Event:WaitContinue(); coroutine.yield(); Event:CloseMessage(); coroutine.yield(); Event:FadeOut(); coroutine.yield(); -------------画面暗転-------------------- Event:SetNpcVisible("Merchanta3_140",0); Event:MoveNpc("YoungWomana3_130",-3.2,0.0,12,0); coroutine.yield(); Event:SetNpcDirection("YoungWomana3_130",1); -------------ウェイト-------------------- -------------画面明転-------------------- Event:FadeIn(); coroutine.yield(); Event:Play(); return; else Event:Print("/cl/vhSuch a square hero.../vn/b/co"); Event:WaitContinue(); coroutine.yield(); Event:CloseMessage(); coroutine.yield(); Event:RestoreDof(); Event:RestoreCamera(); Event:Play(); return; end end