Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[
- 030_0160.lua
- ]]
- --■痴話喧嘩の末、理科室に閉じ込められ死んでしまった男の亡霊
- --■ほんの些細なスレ違いで、不幸な最後を遂げた事を悔やんでいる
- --メイン処理
- do
- return function()
- --フラグを取得
- local flag32 = Adventure:GetFlag('32')
- local flag9 = Adventure:GetFlag('9')
- --ミストからの電話(1回目)が着たかどうか
- if flag9 == false then
- --着てないなら何もしない
- return
- end -- if
- --女幽霊から鍵をもらったなら
- if flag32 then
- --何もしないことになりました(部屋に入った時点でいなくなっているので)
- --「32」のフラグが立っているとイベントは終了しているので、NPC_Ghostを消す
- --local obj = GameObject.Find('Event/NPC_Ghost')
- --obj:set_Active(false)
- else
- Adventure:SetName('Phantom')
- Adventure:SetMessage('*moan*\n *moan*')
- Adventure:SetMessage('Daaaamm...nnn...it...\n...Don\'t...have...keeeeeey...')
- Adventure:SetMessage('My...body\'s in...the science lab...\n...He...has...the key...')
- Adventure:SetMessage('Find...him...and...get it...back...')
- Adventure:SetMessage('...Sc...science...lab...\n...Key... Keeeey...')
- --030_0170のフラグを立ててイベントが発生するようにする
- Adventure:SetFlag('11')
- end
- end -- function
- end -- do
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement