2022-04-29 16:40:51 +02:00

548 lines
12 KiB
Lua

local L0_1, L1_1, L2_1, L3_1, L4_1, L5_1, L6_1, L7_1, L8_1, L9_1
L0_1 = require
L1_1 = "Actor/ActorCommon"
L0_1(L1_1)
L0_1 = require
L1_1 = "Actor/Quest/QuestActorProxy"
L0_1 = L0_1(L1_1)
L1_1 = require
L2_1 = "Actor/DailyNPCManager"
L1_1 = L1_1(L2_1)
L2_1 = class
L3_1 = "Quest372"
L4_1 = L0_1
L2_1 = L2_1(L3_1, L4_1)
L2_1.defaultAlias = "Quest372"
L3_1 = nil
L4_1 = nil
L5_1 = 372
L6_1 = nil
L7_1 = nil
L8_1 = nil
function L9_1(A0_2)
local L1_2
L1_2 = A0_2.clientData
L3_1 = L1_2
L1_2 = L3_1.SubIDs
L4_1 = L1_2
L1_2 = L3_1.PaimonData
L6_1 = L1_2
L1_2 = L3_1.WendyData
L7_1 = L1_2
L1_2 = L3_1.NPCData
L8_1 = L1_2
end
L2_1.OnDataLoaded = L9_1
function L9_1(A0_2)
local L1_2, L2_2
L1_2 = {}
A0_2.subStartHandlers = L1_2
L1_2 = A0_2.subStartHandlers
L2_2 = A0_2.OnSubStart37201
L1_2["37201"] = L2_2
L1_2 = A0_2.subStartHandlers
L2_2 = A0_2.OnSubStart37202
L1_2["37202"] = L2_2
L1_2 = A0_2.subStartHandlers
L2_2 = A0_2.OnSubStart37203
L1_2["37203"] = L2_2
end
L2_1.OnSubStartHandlerBuild = L9_1
function L9_1(A0_2)
local L1_2, L2_2
L1_2 = {}
A0_2.subFinishHandlers = L1_2
L1_2 = A0_2.subFinishHandlers
L2_2 = A0_2.OnSubFinish37201
L1_2["37201"] = L2_2
L1_2 = A0_2.subFinishHandlers
L2_2 = A0_2.OnSubFinish37202
L1_2["37202"] = L2_2
L1_2 = A0_2.subFinishHandlers
L2_2 = A0_2.OnSubFinish37203
L1_2["37203"] = L2_2
end
L2_1.OnSubFinishHandlerBuild = L9_1
function L9_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2, L10_2, L11_2, L12_2
L2_2 = print
L3_2 = "37201 start "
L2_2(L3_2)
L3_2 = A0_2
L2_2 = A0_2.NotifyTo
L4_2 = "Npc1429"
L5_2 = L1_1.NpcEventType
L5_2 = L5_2.HIDESELF
L6_2 = true
L2_2(L3_2, L4_2, L5_2, L6_2)
L3_2 = A0_2
L2_2 = A0_2.NotifyTo
L4_2 = "Npc1453"
L5_2 = L1_1.NpcEventType
L5_2 = L5_2.HIDESELF
L6_2 = true
L2_2(L3_2, L4_2, L5_2, L6_2)
L3_2 = A0_2
L2_2 = A0_2.NotifyTo
L4_2 = "Npc1451"
L5_2 = L1_1.NpcEventType
L5_2 = L5_2.HIDESELF
L6_2 = true
L2_2(L3_2, L4_2, L5_2, L6_2)
L3_2 = A0_2
L2_2 = A0_2.NotifyTo
L4_2 = "Npc1601"
L5_2 = L1_1.NpcEventType
L5_2 = L5_2.HIDESELF
L6_2 = true
L2_2(L3_2, L4_2, L5_2, L6_2)
L2_2 = actorMgr
L3_2 = L2_2
L2_2 = L2_2.CreateActorWithPos
L4_2 = "Q372Trigger"
L5_2 = "Actor/Gadget/Q372Trigger"
L6_2 = 70900002
L7_2 = 0
L8_2 = sceneData
L9_2 = L8_2
L8_2 = L8_2.GetDummyPoint
L10_2 = 3
L11_2 = "Q372WendyShow"
L8_2 = L8_2(L9_2, L10_2, L11_2)
L8_2 = L8_2.pos
L9_2 = sceneData
L10_2 = L9_2
L9_2 = L9_2.GetDummyPoint
L11_2 = 3
L12_2 = "Q372WendyShow"
L9_2 = L9_2(L10_2, L11_2, L12_2)
L9_2 = L9_2.rot
L10_2 = true
L11_2 = false
L2_2(L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2, L10_2, L11_2)
L3_2 = A0_2
L2_2 = A0_2.CreateQuestNpc
L4_2 = A1_2
L5_2 = L7_1.WendyID
L2_2(L3_2, L4_2, L5_2)
L3_2 = A0_2
L2_2 = A0_2.CallDelay
L4_2 = 2
function L5_2(A0_3)
local L1_3, L2_3, L3_3, L4_3
L2_3 = A0_3
L1_3 = A0_3.GetQuestNpcActor
L3_3 = L7_1.Wendy
L1_3 = L1_3(L2_3, L3_3)
L3_3 = L1_3
L2_3 = L1_3.DoFreeStyle
L4_3 = 1120
L2_3(L3_3, L4_3)
end
L2_2(L3_2, L4_2, L5_2)
L3_2 = A0_2
L2_2 = A0_2.CreateQuestNpc
L4_2 = A1_2
L5_2 = L8_1.Npc1ID
L2_2(L3_2, L4_2, L5_2)
L3_2 = A0_2
L2_2 = A0_2.CreateQuestNpc
L4_2 = A1_2
L5_2 = L8_1.Npc2ID
L2_2(L3_2, L4_2, L5_2)
L3_2 = A0_2
L2_2 = A0_2.CreateQuestNpc
L4_2 = A1_2
L5_2 = L8_1.Npc3ID
L2_2(L3_2, L4_2, L5_2)
L3_2 = A0_2
L2_2 = A0_2.CreateQuestNpc
L4_2 = A1_2
L5_2 = L8_1.Npc4ID
L2_2(L3_2, L4_2, L5_2)
L3_2 = A0_2
L2_2 = A0_2.CreateQuestNpc
L4_2 = A1_2
L5_2 = L8_1.Npc5ID
L2_2(L3_2, L4_2, L5_2)
end
L2_1.OnSubStart37201 = L9_1
function L9_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2, L6_2
L2_2 = print
L3_2 = "37202 start:..."
L2_2(L3_2)
L3_2 = A0_2
L2_2 = A0_2.NotifyTo
L4_2 = "Npc1525"
L5_2 = L1_1.NpcEventType
L5_2 = L5_2.HIDESELF
L6_2 = true
L2_2(L3_2, L4_2, L5_2, L6_2)
L2_2 = actorMgr
L3_2 = L2_2
L2_2 = L2_2.GetActor
L4_2 = L3_1.ActorAlias
L2_2 = L2_2(L3_2, L4_2)
if L2_2 ~= nil then
L4_2 = L2_2
L3_2 = L2_2.FinishQuest
L5_2 = false
L6_2 = nil
L3_2(L4_2, L5_2, L6_2)
end
end
L2_1.OnSubStart37202 = L9_1
function L9_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2, L6_2
L2_2 = print
L3_2 = "37203 start:..."
L2_2(L3_2)
L3_2 = A0_2
L2_2 = A0_2.NotifyTo
L4_2 = "Npc1525"
L5_2 = L1_1.NpcEventType
L5_2 = L5_2.HIDESELF
L6_2 = true
L2_2(L3_2, L4_2, L5_2, L6_2)
L3_2 = A0_2
L2_2 = A0_2.ActionSafeCall
L4_2 = A0_2.RequestWendy
L2_2(L3_2, L4_2)
L3_2 = A0_2
L2_2 = A0_2.NotifyTo
L4_2 = "Npc1429"
L5_2 = L1_1.NpcEventType
L5_2 = L5_2.HIDESELF
L6_2 = true
L2_2(L3_2, L4_2, L5_2, L6_2)
L3_2 = A0_2
L2_2 = A0_2.NotifyTo
L4_2 = "Npc1451"
L5_2 = L1_1.NpcEventType
L5_2 = L5_2.HIDESELF
L6_2 = true
L2_2(L3_2, L4_2, L5_2, L6_2)
L3_2 = A0_2
L2_2 = A0_2.NotifyTo
L4_2 = "Npc1453"
L5_2 = L1_1.NpcEventType
L5_2 = L5_2.HIDESELF
L6_2 = true
L2_2(L3_2, L4_2, L5_2, L6_2)
L3_2 = A0_2
L2_2 = A0_2.NotifyTo
L4_2 = "Npc1601"
L5_2 = L1_1.NpcEventType
L5_2 = L5_2.HIDESELF
L6_2 = true
L2_2(L3_2, L4_2, L5_2, L6_2)
end
L2_1.OnSubStart37203 = L9_1
function L9_1(A0_2, A1_2)
local L2_2, L3_2, L4_2
L3_2 = A0_2
L2_2 = A0_2.RequestInteraction
L4_2 = L6_1.Paimon
L2_2(L3_2, L4_2)
end
L2_1.RequestPaimon = L9_1
function L9_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2
L3_2 = A0_2
L2_2 = A0_2.ShowBlackScreen
L4_2 = 0.5
L5_2 = 1
L6_2 = 0.5
function L7_2(A0_3)
local L1_3, L2_3, L3_3, L4_3, L5_3, L6_3, L7_3, L8_3, L9_3, L10_3, L11_3
L2_3 = A0_3
L1_3 = A0_3.GetQuestNpcActor
L3_3 = L8_1.Npc1
L1_3 = L1_3(L2_3, L3_3)
if L1_3 ~= nil then
L3_3 = L1_3
L2_3 = L1_3.Destroy
L4_3 = false
L2_3(L3_3, L4_3)
end
L3_3 = A0_3
L2_3 = A0_3.GetQuestNpcActor
L4_3 = L8_1.Npc2
L2_3 = L2_3(L3_3, L4_3)
if L2_3 ~= nil then
L4_3 = L2_3
L3_3 = L2_3.Destroy
L5_3 = false
L3_3(L4_3, L5_3)
end
L4_3 = A0_3
L3_3 = A0_3.GetQuestNpcActor
L5_3 = L8_1.Npc3
L3_3 = L3_3(L4_3, L5_3)
if L3_3 ~= nil then
L5_3 = L3_3
L4_3 = L3_3.Destroy
L6_3 = false
L4_3(L5_3, L6_3)
end
L5_3 = A0_3
L4_3 = A0_3.GetQuestNpcActor
L6_3 = L8_1.Npc4
L4_3 = L4_3(L5_3, L6_3)
if L4_3 ~= nil then
L6_3 = L4_3
L5_3 = L4_3.Destroy
L7_3 = false
L5_3(L6_3, L7_3)
end
L6_3 = A0_3
L5_3 = A0_3.GetQuestNpcActor
L7_3 = L8_1.Npc5
L5_3 = L5_3(L6_3, L7_3)
if L5_3 ~= nil then
L7_3 = L5_3
L6_3 = L5_3.Destroy
L8_3 = false
L6_3(L7_3, L8_3)
end
L7_3 = A0_3
L6_3 = A0_3.TryPlayVideo
L8_3 = "MDAQ041.usm"
L9_3 = 300001
L10_3 = true
L11_3 = A0_3.AdvanceQuest
L6_3(L7_3, L8_3, L9_3, L10_3, L11_3)
end
L2_2(L3_2, L4_2, L5_2, L6_2, L7_2)
end
L2_1.VideoNow = L9_1
function L9_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2, L6_2
L2_2 = actorMgr
L3_2 = L2_2
L2_2 = L2_2.GetActor
L4_2 = L3_1.ActorAlias
L2_2 = L2_2(L3_2, L4_2)
if L2_2 ~= nil then
L4_2 = L2_2
L3_2 = L2_2.FinishQuest
L5_2 = false
L6_2 = nil
L3_2(L4_2, L5_2, L6_2)
end
end
L2_1.AdvanceQuest = L9_1
function L9_1(A0_2, A1_2)
local L2_2, L3_2, L4_2
L3_2 = A0_2
L2_2 = A0_2.RequestInteraction
L4_2 = L7_1.Wendy
L2_2(L3_2, L4_2)
end
L2_1.RequestWendy = L9_1
function L9_1(A0_2, A1_2)
local L2_2, L3_2
L2_2 = print
L3_2 = "OnFinished 37201"
L2_2(L3_2)
end
L2_1.OnSubFinish37201 = L9_1
function L9_1(A0_2, A1_2)
local L2_2, L3_2
L2_2 = print
L3_2 = "OnFinished 37202"
L2_2(L3_2)
end
L2_1.OnSubFinish37202 = L9_1
function L9_1(A0_2, A1_2)
local L2_2, L3_2, L4_2
L2_2 = print
L3_2 = "OnFinished 37203"
L2_2(L3_2)
L3_2 = A0_2
L2_2 = A0_2.ActionSafeCall
L4_2 = A0_2.DestroyNPC
L2_2(L3_2, L4_2)
L3_2 = A0_2
L2_2 = A0_2.ActionSafeCall
L4_2 = A0_2.TellStory
L2_2(L3_2, L4_2)
end
L2_1.OnSubFinish37203 = L9_1
function L9_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2, L8_2
L2_2 = print
L3_2 = "Destory NPC "
L2_2(L3_2)
L3_2 = A0_2
L2_2 = A0_2.GetQuestNpcActor
L4_2 = "Paimon"
L2_2 = L2_2(L3_2, L4_2)
if L2_2 ~= nil then
L4_2 = L2_2
L3_2 = L2_2.DestroyWithDisappear
L5_2 = false
L3_2(L4_2, L5_2)
end
L4_2 = A0_2
L3_2 = A0_2.GetQuestNpcActor
L5_2 = L7_1.Wendy
L3_2 = L3_2(L4_2, L5_2)
if L3_2 ~= nil then
L5_2 = L3_2
L4_2 = L3_2.Destroy
L6_2 = false
L4_2(L5_2, L6_2)
end
L5_2 = A0_2
L4_2 = A0_2.NotifyTo
L6_2 = "Npc1525"
L7_2 = L1_1.NpcEventType
L7_2 = L7_2.STARTDAILY
L8_2 = true
L4_2(L5_2, L6_2, L7_2, L8_2)
end
L2_1.DestroyNPC = L9_1
function L9_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2
L3_2 = A0_2
L2_2 = A0_2.CallDelay
L4_2 = 1.5
function L5_2(A0_3)
local L1_3, L2_3, L3_3, L4_3, L5_3, L6_3, L7_3, L8_3
L2_3 = A0_3
L1_3 = A0_3.NarratorOnlyTaskLegacy
L3_3 = L3_1.NarratorFlow
L4_3 = nil
L5_3 = "Story"
L1_3(L2_3, L3_3, L4_3, L5_3)
L2_3 = A0_3
L1_3 = A0_3.GetQuestNpcActor
L3_3 = L8_1.Npc1
L1_3 = L1_3(L2_3, L3_3)
if L1_3 ~= nil then
L3_3 = L1_3
L2_3 = L1_3.Destroy
L4_3 = false
L2_3(L3_3, L4_3)
end
L3_3 = A0_3
L2_3 = A0_3.GetQuestNpcActor
L4_3 = L8_1.Npc2
L2_3 = L2_3(L3_3, L4_3)
if L2_3 ~= nil then
L4_3 = L2_3
L3_3 = L2_3.Destroy
L5_3 = false
L3_3(L4_3, L5_3)
end
L4_3 = A0_3
L3_3 = A0_3.GetQuestNpcActor
L5_3 = L8_1.Npc3
L3_3 = L3_3(L4_3, L5_3)
if L3_3 ~= nil then
L5_3 = L3_3
L4_3 = L3_3.Destroy
L6_3 = false
L4_3(L5_3, L6_3)
end
L5_3 = A0_3
L4_3 = A0_3.GetQuestNpcActor
L6_3 = L8_1.Npc4
L4_3 = L4_3(L5_3, L6_3)
if L4_3 ~= nil then
L6_3 = L4_3
L5_3 = L4_3.Destroy
L7_3 = false
L5_3(L6_3, L7_3)
end
L6_3 = A0_3
L5_3 = A0_3.GetQuestNpcActor
L7_3 = L8_1.Npc5
L5_3 = L5_3(L6_3, L7_3)
if L5_3 ~= nil then
L7_3 = L5_3
L6_3 = L5_3.Destroy
L8_3 = false
L6_3(L7_3, L8_3)
end
end
L2_2(L3_2, L4_2, L5_2)
end
L2_1.TellStory = L9_1
function L9_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2
L2_2 = print
L3_2 = "OnFinished 37203"
L2_2(L3_2)
L3_2 = A0_2
L2_2 = A0_2.ShowBlackScreen
L4_2 = 1.0
L5_2 = 1.0
L6_2 = 1.0
L7_2 = A0_2.DestroyNPC
L2_2(L3_2, L4_2, L5_2, L6_2, L7_2)
end
L2_1.BlackDoSth = L9_1
function L9_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2, L6_2
if A1_2 == 3 then
L2_2 = print
L3_2 = "Now Spawn Tears"
L2_2(L3_2)
L3_2 = A0_2
L2_2 = A0_2.SpawnGadgetById
L4_2 = 37203
L5_2 = 70300042
L2_2(L3_2, L4_2, L5_2)
elseif A1_2 == 4 then
L2_2 = print
L3_2 = "Now Destroy Tears"
L2_2(L3_2)
L3_2 = A0_2
L2_2 = A0_2.UnSpawn
L4_2 = "Tears"
L2_2(L3_2, L4_2)
elseif A1_2 == 6 then
L3_2 = A0_2
L2_2 = A0_2.GetQuestNpcActor
L4_2 = L7_1.Wendy
L2_2 = L2_2(L3_2, L4_2)
if L2_2 ~= nil then
L4_2 = L2_2
L3_2 = L2_2.ClearFollowTask
L3_2(L4_2)
L4_2 = L2_2
L3_2 = L2_2.WalkToTask
L5_2 = L7_1.desPos
L6_2 = L2_1.wendyVanish
L3_2(L4_2, L5_2, L6_2)
end
end
end
L2_1.InvokeOnInteraction = L9_1
function L9_1(A0_2)
local L1_2, L2_2, L3_2, L4_2
L2_2 = A0_2
L1_2 = A0_2.GetQuestNpcActor
L3_2 = L7_1.Wendy
L1_2 = L1_2(L2_2, L3_2)
if L1_2 ~= nil then
L3_2 = L1_2
L2_2 = L1_2.SetVisible
L4_2 = false
L2_2(L3_2, L4_2)
end
end
L2_1.wendyVanish = L9_1
function L9_1(A0_2)
local L1_2
end
L2_1.Start = L9_1
function L9_1(A0_2)
local L1_2
end
L2_1.OnDestroy = L9_1
return L2_1