function n04youngwomana2_080() local Event=EventClass.Event; Event:LockPlayer(); Event:PauseNpc(); Event:PauseEnemy(); coroutine.yield(); Event:BackupCamera(); setcamera() coroutine.yield(); if(Event:GetEventFlag(136)==1) --みどりのラブレターをもっている場合 then Event:Print("/vhHe stands on the gate’s/rleft side! Thank you!/vn/b/co"); Event:WaitContinue(); coroutine.yield(); Event:CloseMessage(); coroutine.yield(); Event:RestoreCamera(); Event:PlayEnemy(); Event:PlayNpc(); Event:UnlockPlayer(); return; end if(Event:GetEventFlag(135)==1) --黄色いラブレターをもっている場合 then Event:SetEventFlag(136,1); --136番のフラグがオン --みどりのラブレターを入手フラグ Event:Print("/vhWait... I’M his fiancee?/b/cl"); Event:Print("That’s news to me! All/rwe did was have/rdinner... Once!/b/cl"); Event:Print("He’s got the wrong idea!/rYou can do whatever you/rwant with that letter./b/co"); Event:WaitContinue(); coroutine.yield(); Event:CloseMessage(); coroutine.yield(); Event:Wait(1.0); coroutine.yield(); Event:Print("But, hey, could you give/rthis letter to the gateー/rkeeper at the castle?/b/co"); Event:WaitContinue(); coroutine.yield(); Event:CloseMessage(); coroutine.yield(); geteventitem() Event:Print("/vn> Got a Green Letter!/b/co"); Event:WaitContinue(); coroutine.yield(); Event:CloseMessage(); coroutine.yield(); endgeteventitem() Event:Print("/vhI’m such a huge fan!/b/cl"); Event:Print("He stands on the gate’s/rleft side! Thank you!/vn/b/co"); Event:WaitContinue(); coroutine.yield(); Event:CloseMessage(); coroutine.yield(); Event:RestoreCamera(); Event:PlayEnemy(); Event:PlayNpc(); Event:UnlockPlayer(); return; else Event:Print("/vhThe monsters make it too/rhard to leave town.../vn/b/co"); Event:WaitContinue(); coroutine.yield(); Event:CloseMessage(); coroutine.yield(); Event:RestoreCamera(); Event:PlayEnemy(); Event:PlayNpc(); Event:UnlockPlayer(); return; end end