local L0_1, L1_1, L2_1, L3_1, L4_1, L5_1, L6_1, L7_1, L8_1, L9_1, L10_1, L11_1 L0_1 = {} L0_1.group_id = 133223128 L1_1 = {} L1_1.pointarray_ID = 322300017 L1_1.gadget_thunderThelfID = 128006 function L2_1(A0_2) local L1_2, L2_2, L3_2, L4_2, L5_2 L1_2 = {} L2_2 = ScriptLib L2_2 = L2_2.GetGroupVariableValue L3_2 = A0_2 L4_2 = "target_routeIndex" L2_2 = L2_2(L3_2, L4_2) if L2_2 ~= 0 then L3_2 = table L3_2 = L3_2.insert L4_2 = L1_2 L5_2 = L2_2 L3_2(L4_2, L5_2) end return L1_2 end GetPath = L2_1 function L2_1(A0_2) local L1_2, L2_2, L3_2, L4_2, L5_2, L6_2 L1_2 = ScriptLib L1_2 = L1_2.PrintLog L2_2 = "platform to move" L1_2(A0_2, L2_2) L1_2 = ScriptLib L1_2 = L1_2.SetGroupVariableValue L2_2 = A0_2 L3_2 = "isMoving" L4_2 = 1 L1_2 = L1_2(L2_2, L3_2, L4_2) if 0 ~= L1_2 then L1_2 = ScriptLib L1_2 = L1_2.PrintContextLog L2_2 = A0_2 L3_2 = "@@ LUA_WARNING : set_groupVariable" L1_2(L2_2, L3_2) L1_2 = -1 return L1_2 end L1_2 = ScriptLib L1_2 = L1_2.SetPlatformPointArray L2_2 = A0_2 L3_2 = L1_1.gadget_thunderThelfID L4_2 = L1_1.pointarray_ID L5_2 = GetPath L6_2 = A0_2 L5_2 = L5_2(L6_2) L6_2 = {} L6_2.route_type = 0 L1_2(L2_2, L3_2, L4_2, L5_2, L6_2) L1_2 = ScriptLib L1_2 = L1_2.PrintLog L2_2 = "platform to move : start platform" L1_2(A0_2, L2_2) L1_2 = 0 return L1_2 end MovePlatform = L2_1 L2_1 = {} monsters = L2_1 L2_1 = {} npcs = L2_1 L2_1 = {} L3_1 = {} L3_1.config_id = 128001 L3_1.gadget_id = 70310090 L4_1 = {} L4_1.x = -6187.521 L4_1.y = 230.745 L4_1.z = -2552.098 L3_1.pos = L4_1 L4_1 = {} L4_1.x = 0.0 L4_1.y = 62.646 L4_1.z = 9.896 L3_1.rot = L4_1 L3_1.level = 33 L3_1.persistent = true L3_1.area_id = 18 L4_1 = {} L4_1.config_id = 128002 L4_1.gadget_id = 70310090 L5_1 = {} L5_1.x = -6182.611 L5_1.y = 230.127 L5_1.z = -2537.521 L4_1.pos = L5_1 L5_1 = {} L5_1.x = 5.385 L5_1.y = 162.696 L5_1.z = 14.239 L4_1.rot = L5_1 L4_1.level = 33 L4_1.persistent = true L4_1.area_id = 18 L5_1 = {} L5_1.config_id = 128003 L5_1.gadget_id = 70310090 L6_1 = {} L6_1.x = -6163.049 L6_1.y = 224.102 L6_1.z = -2538.849 L5_1.pos = L6_1 L6_1 = {} L6_1.x = 359.074 L6_1.y = 226.102 L6_1.z = 14.769 L5_1.rot = L6_1 L5_1.level = 33 L5_1.persistent = true L5_1.area_id = 18 L6_1 = {} L6_1.config_id = 128004 L6_1.gadget_id = 70310090 L7_1 = {} L7_1.x = -6161.164 L7_1.y = 223.283 L7_1.z = -2558.18 L6_1.pos = L7_1 L7_1 = {} L7_1.x = 354.167 L7_1.y = 304.332 L7_1.z = 8.465 L6_1.rot = L7_1 L6_1.level = 33 L6_1.persistent = true L6_1.area_id = 18 L7_1 = {} L7_1.config_id = 128006 L7_1.gadget_id = 70350292 L8_1 = {} L8_1.x = -6176.74 L8_1.y = 234.723 L8_1.z = -2549.933 L7_1.pos = L8_1 L8_1 = {} L8_1.x = 0.0 L8_1.y = 93.627 L8_1.z = 0.0 L7_1.rot = L8_1 L7_1.level = 33 L7_1.start_route = false L7_1.is_use_point_array = true L7_1.area_id = 18 L2_1[1] = L3_1 L2_1[2] = L4_1 L2_1[3] = L5_1 L2_1[4] = L6_1 L2_1[5] = L7_1 gadgets = L2_1 L2_1 = {} regions = L2_1 L2_1 = {} L3_1 = {} L3_1.config_id = 1128005 L3_1.name = "VARIABLE_CHANGE_128005" L4_1 = EventType L4_1 = L4_1.EVENT_VARIABLE_CHANGE L3_1.event = L4_1 L3_1.source = "" L3_1.condition = "condition_EVENT_VARIABLE_CHANGE_128005" L3_1.action = "action_EVENT_VARIABLE_CHANGE_128005" L4_1 = {} L4_1.config_id = 1128007 L4_1.name = "GROUP_LOAD_128007" L5_1 = EventType L5_1 = L5_1.EVENT_GROUP_LOAD L4_1.event = L5_1 L4_1.source = "" L4_1.condition = "condition_EVENT_GROUP_LOAD_128007" L4_1.action = "action_EVENT_GROUP_LOAD_128007" L4_1.trigger_count = 0 L5_1 = {} L5_1.config_id = 1128008 L5_1.name = "GADGET_STATE_CHANGE_128008" L6_1 = EventType L6_1 = L6_1.EVENT_GADGET_STATE_CHANGE L5_1.event = L6_1 L5_1.source = "" L5_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_128008" L5_1.action = "action_EVENT_GADGET_STATE_CHANGE_128008" L5_1.trigger_count = 0 L6_1 = {} L6_1.config_id = 1128009 L6_1.name = "GADGET_STATE_CHANGE_128009" L7_1 = EventType L7_1 = L7_1.EVENT_GADGET_STATE_CHANGE L6_1.event = L7_1 L6_1.source = "" L6_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_128009" L6_1.action = "action_EVENT_GADGET_STATE_CHANGE_128009" L6_1.trigger_count = 0 L7_1 = {} L7_1.config_id = 1128010 L7_1.name = "GADGET_STATE_CHANGE_128010" L8_1 = EventType L8_1 = L8_1.EVENT_GADGET_STATE_CHANGE L7_1.event = L8_1 L7_1.source = "" L7_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_128010" L7_1.action = "action_EVENT_GADGET_STATE_CHANGE_128010" L7_1.trigger_count = 0 L8_1 = {} L8_1.config_id = 1128011 L8_1.name = "GADGET_STATE_CHANGE_128011" L9_1 = EventType L9_1 = L9_1.EVENT_GADGET_STATE_CHANGE L8_1.event = L9_1 L8_1.source = "" L8_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_128011" L8_1.action = "action_EVENT_GADGET_STATE_CHANGE_128011" L8_1.trigger_count = 0 L9_1 = {} L9_1.config_id = 1128020 L9_1.name = "PLATFORM_REACH_POINT_128020" L10_1 = EventType L10_1 = L10_1.EVENT_PLATFORM_REACH_POINT L9_1.event = L10_1 L9_1.source = "" L9_1.condition = "condition_EVENT_PLATFORM_REACH_POINT_128020" L9_1.action = "action_EVENT_PLATFORM_REACH_POINT_128020" L9_1.trigger_count = 0 L2_1[1] = L3_1 L2_1[2] = L4_1 L2_1[3] = L5_1 L2_1[4] = L6_1 L2_1[5] = L7_1 L2_1[6] = L8_1 L2_1[7] = L9_1 triggers = L2_1 L2_1 = {} L3_1 = {} L3_1.configId = 1 L3_1.name = "finish" L3_1.value = 0 L3_1.no_refresh = true L4_1 = {} L4_1.configId = 2 L4_1.name = "target_routeIndex" L4_1.value = 0 L4_1.no_refresh = false L5_1 = {} L5_1.configId = 3 L5_1.name = "isMoving" L5_1.value = 0 L5_1.no_refresh = false L2_1[1] = L3_1 L2_1[2] = L4_1 L2_1[3] = L5_1 variables = L2_1 L2_1 = {} L2_1.io_type = 1 L2_1.suite = 1 L2_1.end_suite = 2 L2_1.rand_suite = false init_config = L2_1 L2_1 = {} L3_1 = {} L4_1 = {} L5_1 = {} L5_1.config_id = 128001 L5_1.state = 0 L6_1 = {} L6_1.config_id = 128002 L6_1.state = 0 L7_1 = {} L7_1.config_id = 128003 L7_1.state = 0 L8_1 = {} L8_1.config_id = 128004 L8_1.state = 0 L9_1 = {} L9_1.config_id = 128006 L9_1.state = 0 L10_1 = {} L10_1.point_id = 0 L10_1.move_type = 1 L10_1.route_id = 0 L10_1.route_index = 0 L10_1.is_started = false L9_1.platform_info = L10_1 L4_1[1] = L5_1 L4_1[2] = L6_1 L4_1[3] = L7_1 L4_1[4] = L8_1 L4_1[5] = L9_1 L3_1.gadgets = L4_1 L4_1 = {} L3_1.monsters = L4_1 L4_1 = {} L3_1.regions = L4_1 L4_1 = {} L5_1 = "VARIABLE_CHANGE_128005" L6_1 = "GROUP_LOAD_128007" L7_1 = "GADGET_STATE_CHANGE_128008" L8_1 = "GADGET_STATE_CHANGE_128009" L9_1 = "GADGET_STATE_CHANGE_128010" L10_1 = "GADGET_STATE_CHANGE_128011" L11_1 = "PLATFORM_REACH_POINT_128020" L4_1[1] = L5_1 L4_1[2] = L6_1 L4_1[3] = L7_1 L4_1[4] = L8_1 L4_1[5] = L9_1 L4_1[6] = L10_1 L4_1[7] = L11_1 L3_1.triggers = L4_1 L4_1 = {} L3_1.npcs = L4_1 L4_1 = {} L5_1 = {} L5_1.configId = 1 L5_1.name = "finish" L5_1.value = 0 L5_1.no_refresh = true L6_1 = {} L6_1.configId = 2 L6_1.name = "target_routeIndex" L6_1.value = 0 L6_1.no_refresh = false L7_1 = {} L7_1.configId = 3 L7_1.name = "isMoving" L7_1.value = 0 L7_1.no_refresh = false L4_1[1] = L5_1 L4_1[2] = L6_1 L4_1[3] = L7_1 L3_1.variables = L4_1 L2_1[1] = L3_1 L3_1 = {} L4_1 = {} L5_1 = {} L5_1.config_id = 128001 L5_1.state = 201 L6_1 = {} L6_1.config_id = 128002 L6_1.state = 201 L7_1 = {} L7_1.config_id = 128003 L7_1.state = 201 L8_1 = {} L8_1.config_id = 128004 L8_1.state = 201 L4_1[1] = L5_1 L4_1[2] = L6_1 L4_1[3] = L7_1 L4_1[4] = L8_1 L3_1.gadgets = L4_1 L4_1 = {} L3_1.monsters = L4_1 L4_1 = {} L3_1.regions = L4_1 L4_1 = {} L3_1.triggers = L4_1 L4_1 = {} L3_1.npcs = L4_1 L4_1 = {} L5_1 = {} L5_1.configId = 1 L5_1.name = "finish" L5_1.value = 0 L5_1.no_refresh = true L6_1 = {} L6_1.configId = 2 L6_1.name = "target_routeIndex" L6_1.value = 0 L6_1.no_refresh = false L7_1 = {} L7_1.configId = 3 L7_1.name = "isMoving" L7_1.value = 0 L7_1.no_refresh = false L4_1[1] = L5_1 L4_1[2] = L6_1 L4_1[3] = L7_1 L3_1.variables = L4_1 L2_1[2] = L3_1 suite_disk = L2_1 L2_1 = {} L3_1 = {} L4_1 = {} L3_1.monsters = L4_1 L4_1 = {} L5_1 = 128001 L6_1 = 128002 L7_1 = 128003 L8_1 = 128004 L9_1 = 128006 L4_1[1] = L5_1 L4_1[2] = L6_1 L4_1[3] = L7_1 L4_1[4] = L8_1 L4_1[5] = L9_1 L3_1.gadgets = L4_1 L4_1 = {} L3_1.regions = L4_1 L4_1 = {} L5_1 = "VARIABLE_CHANGE_128005" L6_1 = "GROUP_LOAD_128007" L7_1 = "GADGET_STATE_CHANGE_128008" L8_1 = "GADGET_STATE_CHANGE_128009" L9_1 = "GADGET_STATE_CHANGE_128010" L10_1 = "GADGET_STATE_CHANGE_128011" L11_1 = "PLATFORM_REACH_POINT_128020" L4_1[1] = L5_1 L4_1[2] = L6_1 L4_1[3] = L7_1 L4_1[4] = L8_1 L4_1[5] = L9_1 L4_1[6] = L10_1 L4_1[7] = L11_1 L3_1.triggers = L4_1 L3_1.rand_weight = 100 L4_1 = {} L5_1 = {} L4_1.monsters = L5_1 L5_1 = {} L6_1 = 128001 L7_1 = 128002 L8_1 = 128003 L9_1 = 128004 L5_1[1] = L6_1 L5_1[2] = L7_1 L5_1[3] = L8_1 L5_1[4] = L9_1 L4_1.gadgets = L5_1 L5_1 = {} L4_1.regions = L5_1 L5_1 = {} L4_1.triggers = L5_1 L4_1.rand_weight = 100 L2_1[1] = L3_1 L2_1[2] = L4_1 suites = L2_1 function L2_1(A0_2, A1_2) local L2_2, L3_2, L4_2 L2_2 = A1_2.param1 L3_2 = A1_2.param2 if L2_2 == L3_2 then L2_2 = false return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.GetGroupVariableValue L3_2 = A0_2 L4_2 = "finish" L2_2 = L2_2(L3_2, L4_2) if L2_2 ~= 1 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_VARIABLE_CHANGE_128005 = L2_1 function L2_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2 L2_2 = ScriptLib L2_2 = L2_2.GoToFlowSuite L3_2 = A0_2 L4_2 = 133223128 L5_2 = 2 L2_2(L3_2, L4_2, L5_2) L2_2 = ScriptLib L2_2 = L2_2.SetGadgetStateByConfigId L3_2 = A0_2 L4_2 = 128001 L5_2 = GadgetState L5_2 = L5_2.GearStart L2_2 = L2_2(L3_2, L4_2, L5_2) if 0 ~= L2_2 then L2_2 = ScriptLib L2_2 = L2_2.PrintContextLog L3_2 = A0_2 L4_2 = "@@ LUA_WARNING : set_gadget_state_by_configId" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.SetGadgetStateByConfigId L3_2 = A0_2 L4_2 = 128002 L5_2 = GadgetState L5_2 = L5_2.GearStart L2_2 = L2_2(L3_2, L4_2, L5_2) if 0 ~= L2_2 then L2_2 = ScriptLib L2_2 = L2_2.PrintContextLog L3_2 = A0_2 L4_2 = "@@ LUA_WARNING : set_gadget_state_by_configId" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.SetGadgetStateByConfigId L3_2 = A0_2 L4_2 = 128003 L5_2 = GadgetState L5_2 = L5_2.GearStart L2_2 = L2_2(L3_2, L4_2, L5_2) if 0 ~= L2_2 then L2_2 = ScriptLib L2_2 = L2_2.PrintContextLog L3_2 = A0_2 L4_2 = "@@ LUA_WARNING : set_gadget_state_by_configId" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.SetGadgetStateByConfigId L3_2 = A0_2 L4_2 = 128004 L5_2 = GadgetState L5_2 = L5_2.GearStart L2_2 = L2_2(L3_2, L4_2, L5_2) if 0 ~= L2_2 then L2_2 = ScriptLib L2_2 = L2_2.PrintContextLog L3_2 = A0_2 L4_2 = "@@ LUA_WARNING : set_gadget_state_by_configId" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = 0 return L2_2 end action_EVENT_VARIABLE_CHANGE_128005 = L2_1 function L2_1(A0_2, A1_2) local L2_2, L3_2, L4_2 L2_2 = ScriptLib L2_2 = L2_2.GetGroupVariableValue L3_2 = A0_2 L4_2 = "finish" L2_2 = L2_2(L3_2, L4_2) if L2_2 ~= 0 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_GROUP_LOAD_128007 = L2_1 function L2_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2 L2_2 = ScriptLib L2_2 = L2_2.SetGadgetStateByConfigId L3_2 = A0_2 L4_2 = 128001 L5_2 = GadgetState L5_2 = L5_2.Default L2_2 = L2_2(L3_2, L4_2, L5_2) if 0 ~= L2_2 then L2_2 = ScriptLib L2_2 = L2_2.PrintContextLog L3_2 = A0_2 L4_2 = "@@ LUA_WARNING : set_gadget_state_by_configId" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.SetGadgetStateByConfigId L3_2 = A0_2 L4_2 = 128002 L5_2 = GadgetState L5_2 = L5_2.Default L2_2 = L2_2(L3_2, L4_2, L5_2) if 0 ~= L2_2 then L2_2 = ScriptLib L2_2 = L2_2.PrintContextLog L3_2 = A0_2 L4_2 = "@@ LUA_WARNING : set_gadget_state_by_configId" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.SetGadgetStateByConfigId L3_2 = A0_2 L4_2 = 128003 L5_2 = GadgetState L5_2 = L5_2.Default L2_2 = L2_2(L3_2, L4_2, L5_2) if 0 ~= L2_2 then L2_2 = ScriptLib L2_2 = L2_2.PrintContextLog L3_2 = A0_2 L4_2 = "@@ LUA_WARNING : set_gadget_state_by_configId" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.SetGadgetStateByConfigId L3_2 = A0_2 L4_2 = 128004 L5_2 = GadgetState L5_2 = L5_2.Default L2_2 = L2_2(L3_2, L4_2, L5_2) if 0 ~= L2_2 then L2_2 = ScriptLib L2_2 = L2_2.PrintContextLog L3_2 = A0_2 L4_2 = "@@ LUA_WARNING : set_gadget_state_by_configId" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = 0 return L2_2 end action_EVENT_GROUP_LOAD_128007 = L2_1 function L2_1(A0_2, A1_2) local L2_2, L3_2 L2_2 = A1_2.param2 if 128001 == L2_2 then L2_2 = GadgetState L2_2 = L2_2.GearStart L3_2 = A1_2.param1 if L2_2 == L3_2 then L2_2 = GadgetState L2_2 = L2_2.Default L3_2 = A1_2.param3 if L2_2 == L3_2 then goto lbl_16 end end end L2_2 = false do return L2_2 end ::lbl_16:: L2_2 = true return L2_2 end condition_EVENT_GADGET_STATE_CHANGE_128008 = L2_1 function L2_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2 L2_2 = ScriptLib L2_2 = L2_2.SetGadgetStateByConfigId L3_2 = A0_2 L4_2 = 128002 L5_2 = GadgetState L5_2 = L5_2.Default L2_2 = L2_2(L3_2, L4_2, L5_2) if 0 ~= L2_2 then L2_2 = ScriptLib L2_2 = L2_2.PrintContextLog L3_2 = A0_2 L4_2 = "@@ LUA_WARNING : set_gadget_state_by_configId" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.SetGadgetStateByConfigId L3_2 = A0_2 L4_2 = 128003 L5_2 = GadgetState L5_2 = L5_2.Default L2_2 = L2_2(L3_2, L4_2, L5_2) if 0 ~= L2_2 then L2_2 = ScriptLib L2_2 = L2_2.PrintContextLog L3_2 = A0_2 L4_2 = "@@ LUA_WARNING : set_gadget_state_by_configId" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.SetGadgetStateByConfigId L3_2 = A0_2 L4_2 = 128004 L5_2 = GadgetState L5_2 = L5_2.Default L2_2 = L2_2(L3_2, L4_2, L5_2) if 0 ~= L2_2 then L2_2 = ScriptLib L2_2 = L2_2.PrintContextLog L3_2 = A0_2 L4_2 = "@@ LUA_WARNING : set_gadget_state_by_configId" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.SetGroupVariableValue L3_2 = A0_2 L4_2 = "target_routeIndex" L5_2 = 1 L2_2 = L2_2(L3_2, L4_2, L5_2) if 0 ~= L2_2 then L2_2 = ScriptLib L2_2 = L2_2.PrintContextLog L3_2 = A0_2 L4_2 = "@@ LUA_WARNING : set_groupVariable" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = MovePlatform L3_2 = A0_2 L2_2(L3_2) L2_2 = 0 return L2_2 end action_EVENT_GADGET_STATE_CHANGE_128008 = L2_1 function L2_1(A0_2, A1_2) local L2_2, L3_2 L2_2 = A1_2.param2 if 128002 == L2_2 then L2_2 = GadgetState L2_2 = L2_2.GearStart L3_2 = A1_2.param1 if L2_2 == L3_2 then L2_2 = GadgetState L2_2 = L2_2.Default L3_2 = A1_2.param3 if L2_2 == L3_2 then goto lbl_16 end end end L2_2 = false do return L2_2 end ::lbl_16:: L2_2 = true return L2_2 end condition_EVENT_GADGET_STATE_CHANGE_128009 = L2_1 function L2_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2 L2_2 = ScriptLib L2_2 = L2_2.SetGadgetStateByConfigId L3_2 = A0_2 L4_2 = 128001 L5_2 = GadgetState L5_2 = L5_2.Default L2_2 = L2_2(L3_2, L4_2, L5_2) if 0 ~= L2_2 then L2_2 = ScriptLib L2_2 = L2_2.PrintContextLog L3_2 = A0_2 L4_2 = "@@ LUA_WARNING : set_gadget_state_by_configId" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.SetGadgetStateByConfigId L3_2 = A0_2 L4_2 = 128003 L5_2 = GadgetState L5_2 = L5_2.Default L2_2 = L2_2(L3_2, L4_2, L5_2) if 0 ~= L2_2 then L2_2 = ScriptLib L2_2 = L2_2.PrintContextLog L3_2 = A0_2 L4_2 = "@@ LUA_WARNING : set_gadget_state_by_configId" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.SetGadgetStateByConfigId L3_2 = A0_2 L4_2 = 128004 L5_2 = GadgetState L5_2 = L5_2.Default L2_2 = L2_2(L3_2, L4_2, L5_2) if 0 ~= L2_2 then L2_2 = ScriptLib L2_2 = L2_2.PrintContextLog L3_2 = A0_2 L4_2 = "@@ LUA_WARNING : set_gadget_state_by_configId" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.SetGroupVariableValue L3_2 = A0_2 L4_2 = "target_routeIndex" L5_2 = 2 L2_2 = L2_2(L3_2, L4_2, L5_2) if 0 ~= L2_2 then L2_2 = ScriptLib L2_2 = L2_2.PrintContextLog L3_2 = A0_2 L4_2 = "@@ LUA_WARNING : set_groupVariable" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = MovePlatform L3_2 = A0_2 L2_2(L3_2) L2_2 = 0 return L2_2 end action_EVENT_GADGET_STATE_CHANGE_128009 = L2_1 function L2_1(A0_2, A1_2) local L2_2, L3_2 L2_2 = A1_2.param2 if 128003 == L2_2 then L2_2 = GadgetState L2_2 = L2_2.GearStart L3_2 = A1_2.param1 if L2_2 == L3_2 then L2_2 = GadgetState L2_2 = L2_2.Default L3_2 = A1_2.param3 if L2_2 == L3_2 then goto lbl_16 end end end L2_2 = false do return L2_2 end ::lbl_16:: L2_2 = true return L2_2 end condition_EVENT_GADGET_STATE_CHANGE_128010 = L2_1 function L2_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2 L2_2 = ScriptLib L2_2 = L2_2.SetGadgetStateByConfigId L3_2 = A0_2 L4_2 = 128001 L5_2 = GadgetState L5_2 = L5_2.Default L2_2 = L2_2(L3_2, L4_2, L5_2) if 0 ~= L2_2 then L2_2 = ScriptLib L2_2 = L2_2.PrintContextLog L3_2 = A0_2 L4_2 = "@@ LUA_WARNING : set_gadget_state_by_configId" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.SetGadgetStateByConfigId L3_2 = A0_2 L4_2 = 128002 L5_2 = GadgetState L5_2 = L5_2.Default L2_2 = L2_2(L3_2, L4_2, L5_2) if 0 ~= L2_2 then L2_2 = ScriptLib L2_2 = L2_2.PrintContextLog L3_2 = A0_2 L4_2 = "@@ LUA_WARNING : set_gadget_state_by_configId" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.SetGadgetStateByConfigId L3_2 = A0_2 L4_2 = 128004 L5_2 = GadgetState L5_2 = L5_2.Default L2_2 = L2_2(L3_2, L4_2, L5_2) if 0 ~= L2_2 then L2_2 = ScriptLib L2_2 = L2_2.PrintContextLog L3_2 = A0_2 L4_2 = "@@ LUA_WARNING : set_gadget_state_by_configId" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.SetGroupVariableValue L3_2 = A0_2 L4_2 = "target_routeIndex" L5_2 = 3 L2_2 = L2_2(L3_2, L4_2, L5_2) if 0 ~= L2_2 then L2_2 = ScriptLib L2_2 = L2_2.PrintContextLog L3_2 = A0_2 L4_2 = "@@ LUA_WARNING : set_groupVariable" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = MovePlatform L3_2 = A0_2 L2_2(L3_2) L2_2 = 0 return L2_2 end action_EVENT_GADGET_STATE_CHANGE_128010 = L2_1 function L2_1(A0_2, A1_2) local L2_2, L3_2 L2_2 = A1_2.param2 if 128004 == L2_2 then L2_2 = GadgetState L2_2 = L2_2.GearStart L3_2 = A1_2.param1 if L2_2 == L3_2 then L2_2 = GadgetState L2_2 = L2_2.Default L3_2 = A1_2.param3 if L2_2 == L3_2 then goto lbl_16 end end end L2_2 = false do return L2_2 end ::lbl_16:: L2_2 = true return L2_2 end condition_EVENT_GADGET_STATE_CHANGE_128011 = L2_1 function L2_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2 L2_2 = ScriptLib L2_2 = L2_2.SetGadgetStateByConfigId L3_2 = A0_2 L4_2 = 128001 L5_2 = GadgetState L5_2 = L5_2.Default L2_2 = L2_2(L3_2, L4_2, L5_2) if 0 ~= L2_2 then L2_2 = ScriptLib L2_2 = L2_2.PrintContextLog L3_2 = A0_2 L4_2 = "@@ LUA_WARNING : set_gadget_state_by_configId" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.SetGadgetStateByConfigId L3_2 = A0_2 L4_2 = 128002 L5_2 = GadgetState L5_2 = L5_2.Default L2_2 = L2_2(L3_2, L4_2, L5_2) if 0 ~= L2_2 then L2_2 = ScriptLib L2_2 = L2_2.PrintContextLog L3_2 = A0_2 L4_2 = "@@ LUA_WARNING : set_gadget_state_by_configId" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.SetGadgetStateByConfigId L3_2 = A0_2 L4_2 = 128003 L5_2 = GadgetState L5_2 = L5_2.Default L2_2 = L2_2(L3_2, L4_2, L5_2) if 0 ~= L2_2 then L2_2 = ScriptLib L2_2 = L2_2.PrintContextLog L3_2 = A0_2 L4_2 = "@@ LUA_WARNING : set_gadget_state_by_configId" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.SetGroupVariableValue L3_2 = A0_2 L4_2 = "target_routeIndex" L5_2 = 4 L2_2 = L2_2(L3_2, L4_2, L5_2) if 0 ~= L2_2 then L2_2 = ScriptLib L2_2 = L2_2.PrintContextLog L3_2 = A0_2 L4_2 = "@@ LUA_WARNING : set_groupVariable" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = MovePlatform L3_2 = A0_2 L2_2(L3_2) L2_2 = 0 return L2_2 end action_EVENT_GADGET_STATE_CHANGE_128011 = L2_1 function L2_1(A0_2, A1_2) local L2_2 L2_2 = A1_2.param1 if 128006 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_PLATFORM_REACH_POINT_128020 = L2_1 function L2_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2 L2_2 = ScriptLib L2_2 = L2_2.SetGroupVariableValue L3_2 = A0_2 L4_2 = "isMoving" L5_2 = 0 L2_2 = L2_2(L3_2, L4_2, L5_2) if 0 ~= L2_2 then L2_2 = ScriptLib L2_2 = L2_2.PrintContextLog L3_2 = A0_2 L4_2 = "@@ LUA_WARNING : set_groupVariable" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.StopPlatform L3_2 = A0_2 L4_2 = L1_1.gadget_thunderThelfID L2_2(L3_2, L4_2) L2_2 = 0 return L2_2 end action_EVENT_PLATFORM_REACH_POINT_128020 = L2_1