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, L12_1, L13_1, L14_1, L15_1, L16_1, L17_1, L18_1, L19_1 L0_1 = {} L0_1.group_id = 133212554 L1_1 = {} L1_1.active_step = 202 L1_1.inactive_step = 0 L2_1 = {} L3_1 = 554001 L4_1 = 554002 L5_1 = 554003 L6_1 = 554004 L7_1 = 554005 L8_1 = 554011 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 L1_1.gadget_array = L2_1 L2_1 = {} L3_1 = 554001 L4_1 = 554002 L5_1 = 554003 L6_1 = 554004 L7_1 = 554005 L8_1 = 554011 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 L1_1.reset_gear_list = L2_1 L2_1 = 0 L3_1 = 0 L4_1 = L1_1.gadget_array L4_1 = #L4_1 L5_1 = {} L6_1 = {} L6_1.config_id = 554012 L6_1.monster_id = 25100301 L7_1 = {} L7_1.x = -3642.765 L7_1.y = 236.538 L7_1.z = -2376.406 L6_1.pos = L7_1 L7_1 = {} L7_1.x = 0.0 L7_1.y = 179.703 L7_1.z = 0.0 L6_1.rot = L7_1 L6_1.level = 27 L6_1.drop_tag = "\233\171\152\233\152\182\230\173\166\229\163\171" L6_1.pose_id = 1 L6_1.area_id = 13 L7_1 = {} L7_1.config_id = 554013 L7_1.monster_id = 25100401 L8_1 = {} L8_1.x = -3639.483 L8_1.y = 236.448 L8_1.z = -2379.322 L7_1.pos = L8_1 L8_1 = {} L8_1.x = 0.0 L8_1.y = 232.424 L8_1.z = 0.0 L7_1.rot = L8_1 L7_1.level = 27 L7_1.drop_tag = "\233\171\152\233\152\182\230\173\166\229\163\171" L7_1.pose_id = 1 L7_1.area_id = 13 L5_1[1] = L6_1 L5_1[2] = L7_1 monsters = L5_1 L5_1 = {} npcs = L5_1 L5_1 = {} L6_1 = {} L6_1.config_id = 554001 L6_1.gadget_id = 70900400 L7_1 = {} L7_1.x = -3652.853 L7_1.y = 236.56 L7_1.z = -2379.531 L6_1.pos = L7_1 L7_1 = {} L7_1.x = 0.0 L7_1.y = 0.0 L7_1.z = 0.0 L6_1.rot = L7_1 L6_1.level = 30 L6_1.persistent = true L6_1.area_id = 13 L7_1 = {} L7_1.config_id = 554002 L7_1.gadget_id = 70900400 L8_1 = {} L8_1.x = -3632.815 L8_1.y = 236.661 L8_1.z = -2379.556 L7_1.pos = L8_1 L8_1 = {} L8_1.x = 0.0 L8_1.y = 0.0 L8_1.z = 0.0 L7_1.rot = L8_1 L7_1.level = 30 L7_1.persistent = true L7_1.area_id = 13 L8_1 = {} L8_1.config_id = 554003 L8_1.gadget_id = 70900400 L9_1 = {} L9_1.x = -3648.563 L9_1.y = 236.958 L9_1.z = -2371.267 L8_1.pos = L9_1 L9_1 = {} L9_1.x = 0.0 L9_1.y = 0.0 L9_1.z = 0.0 L8_1.rot = L9_1 L8_1.level = 30 L8_1.persistent = true L8_1.area_id = 13 L9_1 = {} L9_1.config_id = 554004 L9_1.gadget_id = 70900400 L10_1 = {} L10_1.x = -3648.195 L10_1.y = 235.876 L10_1.z = -2387.931 L9_1.pos = L10_1 L10_1 = {} L10_1.x = 0.0 L10_1.y = 0.0 L10_1.z = 0.0 L9_1.rot = L10_1 L9_1.level = 30 L9_1.persistent = true L9_1.area_id = 13 L10_1 = {} L10_1.config_id = 554005 L10_1.gadget_id = 70900400 L11_1 = {} L11_1.x = -3636.908 L11_1.y = 236.816 L11_1.z = -2371.707 L10_1.pos = L11_1 L11_1 = {} L11_1.x = 0.0 L11_1.y = 0.0 L11_1.z = 0.0 L10_1.rot = L11_1 L10_1.level = 30 L10_1.persistent = true L10_1.area_id = 13 L11_1 = {} L11_1.config_id = 554006 L11_1.gadget_id = 70211032 L12_1 = {} L12_1.x = -3642.872 L12_1.y = 236.328 L12_1.z = -2379.432 L11_1.pos = L12_1 L12_1 = {} L12_1.x = 0.0 L12_1.y = 216.133 L12_1.z = 0.0 L11_1.rot = L12_1 L11_1.level = 26 L11_1.drop_tag = "\230\136\152\230\150\151\232\182\133\231\186\167\231\168\187\229\166\187" L12_1 = GadgetState L12_1 = L12_1.ChestLocked L11_1.state = L12_1 L11_1.isOneoff = true L11_1.persistent = true L12_1 = {} L12_1.name = "chest" L12_1.exp = 1 L11_1.explore = L12_1 L11_1.area_id = 13 L12_1 = {} L12_1.config_id = 554011 L12_1.gadget_id = 70900400 L13_1 = {} L13_1.x = -3638.384 L13_1.y = 235.829 L13_1.z = -2388.326 L12_1.pos = L13_1 L13_1 = {} L13_1.x = 0.0 L13_1.y = 0.0 L13_1.z = 0.0 L12_1.rot = L13_1 L12_1.level = 27 L12_1.persistent = true L12_1.area_id = 13 L5_1[1] = L6_1 L5_1[2] = L7_1 L5_1[3] = L8_1 L5_1[4] = L9_1 L5_1[5] = L10_1 L5_1[6] = L11_1 L5_1[7] = L12_1 gadgets = L5_1 L5_1 = {} regions = L5_1 L5_1 = {} L6_1 = {} L6_1.config_id = 1554007 L6_1.name = "GADGET_STATE_CHANGE_554007" 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_554007" L6_1.action = "action_EVENT_GADGET_STATE_CHANGE_554007" L6_1.trigger_count = 0 L7_1 = {} L7_1.config_id = 1554008 L7_1.name = "VARIABLE_CHANGE_554008" L8_1 = EventType L8_1 = L8_1.EVENT_VARIABLE_CHANGE L7_1.event = L8_1 L7_1.source = "gear_reset" L7_1.condition = "" L7_1.action = "action_EVENT_VARIABLE_CHANGE_554008" L7_1.trigger_count = 0 L8_1 = {} L8_1.config_id = 1554009 L8_1.name = "VARIABLE_CHANGE_554009" L9_1 = EventType L9_1 = L9_1.EVENT_VARIABLE_CHANGE L8_1.event = L9_1 L8_1.source = "trigger_output" L8_1.condition = "condition_EVENT_VARIABLE_CHANGE_554009" L8_1.action = "" L8_1.trigger_count = 0 L9_1 = {} L9_1.config_id = 1554010 L9_1.name = "VARIABLE_CHANGE_554010" L10_1 = EventType L10_1 = L10_1.EVENT_VARIABLE_CHANGE L9_1.event = L10_1 L9_1.source = "trigger_output" L9_1.condition = "condition_EVENT_VARIABLE_CHANGE_554010" L9_1.action = "action_EVENT_VARIABLE_CHANGE_554010" L9_1.trigger_count = 0 L10_1 = {} L10_1.config_id = 1554014 L10_1.name = "ANY_MONSTER_DIE_554014" L11_1 = EventType L11_1 = L11_1.EVENT_ANY_MONSTER_DIE L10_1.event = L11_1 L10_1.source = "" L10_1.condition = "" L10_1.action = "action_EVENT_ANY_MONSTER_DIE_554014" L10_1.trigger_count = 0 L11_1 = {} L11_1.config_id = 1554015 L11_1.name = "VARIABLE_CHANGE_554015" L12_1 = EventType L12_1 = L12_1.EVENT_VARIABLE_CHANGE L11_1.event = L12_1 L11_1.source = "" L11_1.condition = "condition_EVENT_VARIABLE_CHANGE_554015" L11_1.action = "action_EVENT_VARIABLE_CHANGE_554015" L12_1 = {} L12_1.config_id = 1554016 L12_1.name = "GADGET_STATE_CHANGE_554016" L13_1 = EventType L13_1 = L13_1.EVENT_GADGET_STATE_CHANGE L12_1.event = L13_1 L12_1.source = "" L12_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_554016" L12_1.action = "action_EVENT_GADGET_STATE_CHANGE_554016" L12_1.trigger_count = 0 L13_1 = {} L13_1.config_id = 1554017 L13_1.name = "GADGET_STATE_CHANGE_554017" L14_1 = EventType L14_1 = L14_1.EVENT_GADGET_STATE_CHANGE L13_1.event = L14_1 L13_1.source = "" L13_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_554017" L13_1.action = "action_EVENT_GADGET_STATE_CHANGE_554017" L13_1.trigger_count = 0 L14_1 = {} L14_1.config_id = 1554018 L14_1.name = "GADGET_STATE_CHANGE_554018" L15_1 = EventType L15_1 = L15_1.EVENT_GADGET_STATE_CHANGE L14_1.event = L15_1 L14_1.source = "" L14_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_554018" L14_1.action = "action_EVENT_GADGET_STATE_CHANGE_554018" L14_1.trigger_count = 0 L15_1 = {} L15_1.config_id = 1554019 L15_1.name = "GADGET_STATE_CHANGE_554019" L16_1 = EventType L16_1 = L16_1.EVENT_GADGET_STATE_CHANGE L15_1.event = L16_1 L15_1.source = "" L15_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_554019" L15_1.action = "action_EVENT_GADGET_STATE_CHANGE_554019" L15_1.trigger_count = 0 L16_1 = {} L16_1.config_id = 1554020 L16_1.name = "GADGET_STATE_CHANGE_554020" L17_1 = EventType L17_1 = L17_1.EVENT_GADGET_STATE_CHANGE L16_1.event = L17_1 L16_1.source = "" L16_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_554020" L16_1.action = "action_EVENT_GADGET_STATE_CHANGE_554020" L16_1.trigger_count = 0 L17_1 = {} L17_1.config_id = 1554021 L17_1.name = "GADGET_STATE_CHANGE_554021" L18_1 = EventType L18_1 = L18_1.EVENT_GADGET_STATE_CHANGE L17_1.event = L18_1 L17_1.source = "" L17_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_554021" L17_1.action = "action_EVENT_GADGET_STATE_CHANGE_554021" L17_1.trigger_count = 0 L5_1[1] = L6_1 L5_1[2] = L7_1 L5_1[3] = L8_1 L5_1[4] = L9_1 L5_1[5] = L10_1 L5_1[6] = L11_1 L5_1[7] = L12_1 L5_1[8] = L13_1 L5_1[9] = L14_1 L5_1[10] = L15_1 L5_1[11] = L16_1 L5_1[12] = L17_1 triggers = L5_1 L5_1 = {} L6_1 = {} L6_1.configId = 1 L6_1.name = "sort" L6_1.value = 0 L6_1.no_refresh = false L7_1 = {} L7_1.configId = 2 L7_1.name = "gear_reset" L7_1.value = 0 L7_1.no_refresh = false L8_1 = {} L8_1.configId = 3 L8_1.name = "v_error" L8_1.value = 0 L8_1.no_refresh = false L9_1 = {} L9_1.configId = 4 L9_1.name = "trigger_output" L9_1.value = 0 L9_1.no_refresh = false L10_1 = {} L10_1.configId = 5 L10_1.name = "num" L10_1.value = 0 L10_1.no_refresh = false L5_1[1] = L6_1 L5_1[2] = L7_1 L5_1[3] = L8_1 L5_1[4] = L9_1 L5_1[5] = L10_1 variables = L5_1 L5_1 = {} L5_1.suite = 1 L5_1.end_suite = 0 L5_1.rand_suite = false init_config = L5_1 L5_1 = {} L6_1 = {} L7_1 = {} L6_1.monsters = L7_1 L7_1 = {} L8_1 = 554001 L9_1 = 554002 L10_1 = 554003 L11_1 = 554004 L12_1 = 554005 L13_1 = 554006 L14_1 = 554011 L7_1[1] = L8_1 L7_1[2] = L9_1 L7_1[3] = L10_1 L7_1[4] = L11_1 L7_1[5] = L12_1 L7_1[6] = L13_1 L7_1[7] = L14_1 L6_1.gadgets = L7_1 L7_1 = {} L6_1.regions = L7_1 L7_1 = {} L8_1 = "GADGET_STATE_CHANGE_554007" L9_1 = "VARIABLE_CHANGE_554008" L10_1 = "VARIABLE_CHANGE_554009" L11_1 = "VARIABLE_CHANGE_554010" L12_1 = "ANY_MONSTER_DIE_554014" L13_1 = "VARIABLE_CHANGE_554015" L14_1 = "GADGET_STATE_CHANGE_554016" L15_1 = "GADGET_STATE_CHANGE_554017" L16_1 = "GADGET_STATE_CHANGE_554018" L17_1 = "GADGET_STATE_CHANGE_554019" L18_1 = "GADGET_STATE_CHANGE_554020" L19_1 = "GADGET_STATE_CHANGE_554021" L7_1[1] = L8_1 L7_1[2] = L9_1 L7_1[3] = L10_1 L7_1[4] = L11_1 L7_1[5] = L12_1 L7_1[6] = L13_1 L7_1[7] = L14_1 L7_1[8] = L15_1 L7_1[9] = L16_1 L7_1[10] = L17_1 L7_1[11] = L18_1 L7_1[12] = L19_1 L6_1.triggers = L7_1 L6_1.rand_weight = 100 L5_1[1] = L6_1 suites = L5_1 function L5_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2 L2_2 = 1 L3_2 = L1_1.gadget_array L3_2 = #L3_2 L4_2 = 1 for L5_2 = L2_2, L3_2, L4_2 do L6_2 = L1_1.gadget_array L6_2 = L6_2[L5_2] L7_2 = A1_2.param2 if L6_2 == L7_2 then L6_2 = true return L6_2 end end L2_2 = false return L2_2 end condition_EVENT_GADGET_STATE_CHANGE_554007 = L5_1 function L5_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2 L2_2 = L4_1 if not (9 < L2_2) then L2_2 = L4_1 if not (L2_2 <= 1) then goto lbl_9 end end L2_2 = -1 do return L2_2 end ::lbl_9:: L2_2 = A1_2.param1 L3_2 = L1_1.active_step if L2_2 == L3_2 then L2_2 = 1 L3_2 = L4_1 L4_2 = 1 for L5_2 = L2_2, L3_2, L4_2 do L6_2 = L1_1.gadget_array L6_2 = L6_2[L5_2] L7_2 = A1_2.param2 if L6_2 == L7_2 then L6_2 = ScriptLib L6_2 = L6_2.GetGroupVariableValue L7_2 = A0_2 L8_2 = "sort" L6_2 = L6_2(L7_2, L8_2) L2_1 = L6_2 L6_2 = L2_1 L6_2 = 10 * L6_2 L6_2 = L6_2 + L5_2 L2_1 = L6_2 L6_2 = ScriptLib L6_2 = L6_2.SetGroupVariableValue L7_2 = A0_2 L8_2 = "sort" L9_2 = L2_1 L6_2(L7_2, L8_2, L9_2) break end L6_2 = L4_1 if L5_2 == L6_2 then L6_2 = L1_1.gadget_array L6_2 = L6_2[L5_2] L7_2 = A1_2.param2 if L6_2 ~= L7_2 then L6_2 = ScriptLib L6_2 = L6_2.SetGroupVariableValue L7_2 = A0_2 L8_2 = "v_error" L9_2 = 1 L6_2(L7_2, L8_2, L9_2) L6_2 = L2_1 L6_2 = 10 * L6_2 L2_1 = L6_2 end end end end L2_2 = L2_1 L3_2 = L4_1 L3_2 = L3_2 - 1 L3_2 = 10 ^ L3_2 if L2_2 > L3_2 then L2_2 = ScriptLib L2_2 = L2_2.GetGroupVariableValue L3_2 = A0_2 L4_2 = "v_error" L2_2 = L2_2(L3_2, L4_2) L3_1 = L2_2 L2_2 = L3_1 if 0 == L2_2 then L2_2 = L4_1 L3_2 = 1 L4_2 = -1 for L5_2 = L2_2, L3_2, L4_2 do L6_2 = L2_1 L6_2 = L6_2 % 10 if L6_2 ~= L5_2 then L6_2 = 1 L3_1 = L6_2 break end L6_2 = math L6_2 = L6_2.floor L7_2 = L2_1 L7_2 = L7_2 / 10 L6_2 = L6_2(L7_2) L2_1 = L6_2 end end L2_2 = 0 L2_1 = L2_2 L2_2 = L3_1 if L2_2 ~= 1 then L2_2 = -1 L3_1 = L2_2 end L2_2 = ScriptLib L2_2 = L2_2.SetGroupVariableValue L3_2 = A0_2 L4_2 = "sort" L5_2 = L2_1 L2_2(L3_2, L4_2, L5_2) L2_2 = ScriptLib L2_2 = L2_2.SetGroupVariableValue L3_2 = A0_2 L4_2 = "gear_reset" L5_2 = L3_1 L2_2(L3_2, L4_2, L5_2) L2_2 = ScriptLib L2_2 = L2_2.SetGroupVariableValue L3_2 = A0_2 L4_2 = "v_error" L5_2 = 0 L2_2(L3_2, L4_2, L5_2) end L2_2 = 0 return L2_2 end action_EVENT_GADGET_STATE_CHANGE_554007 = L5_1 function L5_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2, L10_2 L2_2 = A1_2.param1 L3_2 = A1_2.param2 if L2_2 == L3_2 then L2_2 = -1 return L2_2 end L2_2 = A1_2.param1 if L2_2 == 1 then L2_2 = L1_1.reset_gear_list L2_2 = #L2_2 if L2_2 == 0 then L2_2 = suites L2_2 = L2_2[1] L2_2 = L2_2.gadgets L1_1.reset_gear_list = L2_2 end L2_2 = 1 L3_2 = L1_1.reset_gear_list L3_2 = #L3_2 L4_2 = 1 for L5_2 = L2_2, L3_2, L4_2 do L6_2 = ScriptLib L6_2 = L6_2.SetGroupGadgetStateByConfigId L7_2 = A0_2 L8_2 = 0 L9_2 = L1_1.reset_gear_list L9_2 = L9_2[L5_2] L10_2 = L1_1.inactive_step L6_2(L7_2, L8_2, L9_2, L10_2) end L2_2 = ScriptLib L2_2 = L2_2.SetGroupVariableValue L3_2 = A0_2 L4_2 = "trigger_output" L5_2 = -1 L2_2(L3_2, L4_2, L5_2) else L2_2 = A1_2.param1 if -1 == L2_2 then L2_2 = ScriptLib L2_2 = L2_2.SetGroupVariableValue L3_2 = A0_2 L4_2 = "trigger_output" L5_2 = 1 L2_2(L3_2, L4_2, L5_2) end end L2_2 = ScriptLib L2_2 = L2_2.SetGroupVariableValue L3_2 = A0_2 L4_2 = "gear_reset" L5_2 = 0 L2_2(L3_2, L4_2, L5_2) L2_2 = 0 return L2_2 end action_EVENT_VARIABLE_CHANGE_554008 = L5_1 function L5_1(A0_2, A1_2) local L2_2, L3_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 = A1_2.param1 if L2_2 == -1 then L2_2 = true return L2_2 end L2_2 = false return L2_2 end condition_EVENT_VARIABLE_CHANGE_554009 = L5_1 function L5_1(A0_2, A1_2) local L2_2, L3_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 = A1_2.param1 if 0 < L2_2 then L2_2 = true return L2_2 end L2_2 = false return L2_2 end condition_EVENT_VARIABLE_CHANGE_554010 = L5_1 function L5_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2, L6_2 L2_2 = ScriptLib L2_2 = L2_2.CreateMonster L3_2 = A0_2 L4_2 = {} L4_2.config_id = 554013 L4_2.delay_time = 0 L2_2 = L2_2(L3_2, L4_2) if 0 ~= L2_2 then L2_2 = ScriptLib L2_2 = L2_2.PrintContextLog L3_2 = A0_2 L4_2 = "@@ LUA_WARNING : create_monster" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.CreateMonster L3_2 = A0_2 L4_2 = {} L4_2.config_id = 554012 L4_2.delay_time = 0 L2_2 = L2_2(L3_2, L4_2) if 0 ~= L2_2 then L2_2 = ScriptLib L2_2 = L2_2.PrintContextLog L3_2 = A0_2 L4_2 = "@@ LUA_WARNING : create_monster" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.SetGroupVariableValueByGroup L3_2 = A0_2 L4_2 = "default" L5_2 = 1 L6_2 = 133212553 L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2) if 0 ~= L2_2 then L2_2 = ScriptLib L2_2 = L2_2.PrintContextLog L3_2 = A0_2 L4_2 = "@@ LUA_WARNING : set_groupVariable_by_group" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = 0 return L2_2 end action_EVENT_VARIABLE_CHANGE_554010 = L5_1 function L5_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2 L2_2 = ScriptLib L2_2 = L2_2.ChangeGroupVariableValue L3_2 = A0_2 L4_2 = "num" 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 : change_GroupVariable" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = 0 return L2_2 end action_EVENT_ANY_MONSTER_DIE_554014 = L5_1 function L5_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 = "num" L2_2 = L2_2(L3_2, L4_2) if L2_2 ~= 2 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_VARIABLE_CHANGE_554015 = L5_1 function L5_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2, L6_2 L2_2 = ScriptLib L2_2 = L2_2.SetGadgetStateByConfigId L3_2 = A0_2 L4_2 = 554006 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.ChangeGroupVariableValueByGroup L3_2 = A0_2 L4_2 = "Sword_01" L5_2 = 1 L6_2 = 133212263 L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2) if 0 ~= L2_2 then L2_2 = ScriptLib L2_2 = L2_2.PrintContextLog L3_2 = A0_2 L4_2 = "@@ LUA_WARNING : change_GroupVariable_by_group" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = 0 return L2_2 end action_EVENT_VARIABLE_CHANGE_554015 = L5_1 function L5_1(A0_2, A1_2) local L2_2, L3_2 L2_2 = A1_2.param2 if 554001 == L2_2 then L2_2 = GadgetState L2_2 = L2_2.GearStart L3_2 = A1_2.param1 if L2_2 == L3_2 then goto lbl_11 end end L2_2 = false do return L2_2 end ::lbl_11:: L2_2 = true return L2_2 end condition_EVENT_GADGET_STATE_CHANGE_554016 = L5_1 function L5_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 = 554001 L5_2 = GadgetState L5_2 = L5_2.GearStop 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_GADGET_STATE_CHANGE_554016 = L5_1 function L5_1(A0_2, A1_2) local L2_2, L3_2 L2_2 = A1_2.param2 if 554002 == L2_2 then L2_2 = GadgetState L2_2 = L2_2.GearStart L3_2 = A1_2.param1 if L2_2 == L3_2 then goto lbl_11 end end L2_2 = false do return L2_2 end ::lbl_11:: L2_2 = true return L2_2 end condition_EVENT_GADGET_STATE_CHANGE_554017 = L5_1 function L5_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 = 554002 L5_2 = GadgetState L5_2 = L5_2.GearStop 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_GADGET_STATE_CHANGE_554017 = L5_1 function L5_1(A0_2, A1_2) local L2_2, L3_2 L2_2 = A1_2.param2 if 554003 == L2_2 then L2_2 = GadgetState L2_2 = L2_2.GearStart L3_2 = A1_2.param1 if L2_2 == L3_2 then goto lbl_11 end end L2_2 = false do return L2_2 end ::lbl_11:: L2_2 = true return L2_2 end condition_EVENT_GADGET_STATE_CHANGE_554018 = L5_1 function L5_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 = 554003 L5_2 = GadgetState L5_2 = L5_2.GearStop 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_GADGET_STATE_CHANGE_554018 = L5_1 function L5_1(A0_2, A1_2) local L2_2, L3_2 L2_2 = A1_2.param2 if 554004 == L2_2 then L2_2 = GadgetState L2_2 = L2_2.GearStart L3_2 = A1_2.param1 if L2_2 == L3_2 then goto lbl_11 end end L2_2 = false do return L2_2 end ::lbl_11:: L2_2 = true return L2_2 end condition_EVENT_GADGET_STATE_CHANGE_554019 = L5_1 function L5_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 = 554004 L5_2 = GadgetState L5_2 = L5_2.GearStop 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_GADGET_STATE_CHANGE_554019 = L5_1 function L5_1(A0_2, A1_2) local L2_2, L3_2 L2_2 = A1_2.param2 if 554005 == L2_2 then L2_2 = GadgetState L2_2 = L2_2.GearStart L3_2 = A1_2.param1 if L2_2 == L3_2 then goto lbl_11 end end L2_2 = false do return L2_2 end ::lbl_11:: L2_2 = true return L2_2 end condition_EVENT_GADGET_STATE_CHANGE_554020 = L5_1 function L5_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 = 554005 L5_2 = GadgetState L5_2 = L5_2.GearStop 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_GADGET_STATE_CHANGE_554020 = L5_1 function L5_1(A0_2, A1_2) local L2_2, L3_2 L2_2 = A1_2.param2 if 554011 == L2_2 then L2_2 = GadgetState L2_2 = L2_2.GearStart L3_2 = A1_2.param1 if L2_2 == L3_2 then goto lbl_11 end end L2_2 = false do return L2_2 end ::lbl_11:: L2_2 = true return L2_2 end condition_EVENT_GADGET_STATE_CHANGE_554021 = L5_1 function L5_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 = 554011 L5_2 = GadgetState L5_2 = L5_2.GearStop 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_GADGET_STATE_CHANGE_554021 = L5_1