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, L20_1, L21_1, L22_1, L23_1, L24_1, L25_1 L0_1 = {} L0_1.group_id = 144004056 L1_1 = {} monsters = L1_1 L1_1 = {} npcs = L1_1 L1_1 = {} L2_1 = {} L2_1.config_id = 56001 L2_1.gadget_id = 70360006 L3_1 = {} L3_1.x = -703.076 L3_1.y = 121.465 L3_1.z = -91.584 L2_1.pos = L3_1 L3_1 = {} L3_1.x = 0.0 L3_1.y = 0.0 L3_1.z = 0.0 L2_1.rot = L3_1 L2_1.level = 1 L2_1.area_id = 103 L3_1 = {} L3_1.config_id = 56002 L3_1.gadget_id = 70211102 L4_1 = {} L4_1.x = -706.54 L4_1.y = 121.876 L4_1.z = -102.807 L3_1.pos = L4_1 L4_1 = {} L4_1.x = 0.0 L4_1.y = 358.81 L4_1.z = 0.0 L3_1.rot = L4_1 L3_1.level = 16 L3_1.drop_tag = "\232\167\163\232\176\156\228\189\142\231\186\167\231\190\164\229\178\155" L4_1 = GadgetState L4_1 = L4_1.ChestLocked L3_1.state = L4_1 L3_1.isOneoff = true L3_1.persistent = true L4_1 = {} L4_1.name = "chest" L4_1.exp = 1 L3_1.explore = L4_1 L3_1.area_id = 103 L4_1 = {} L4_1.config_id = 56003 L4_1.gadget_id = 70950076 L5_1 = {} L5_1.x = -708.659 L5_1.y = 125.9 L5_1.z = -95.771 L4_1.pos = L5_1 L5_1 = {} L5_1.x = 0.0 L5_1.y = 347.1 L5_1.z = 0.0 L4_1.rot = L5_1 L4_1.level = 1 L4_1.is_use_point_array = true L4_1.area_id = 103 L5_1 = {} L5_1.config_id = 56004 L5_1.gadget_id = 70350240 L6_1 = {} L6_1.x = -708.685 L6_1.y = 121.54 L6_1.z = -95.781 L5_1.pos = L6_1 L6_1 = {} L6_1.x = 0.0 L6_1.y = 67.55 L6_1.z = 0.0 L5_1.rot = L6_1 L5_1.level = 1 L5_1.area_id = 103 L6_1 = {} L6_1.config_id = 56005 L6_1.gadget_id = 70950079 L7_1 = {} L7_1.x = -717.98 L7_1.y = 125.489 L7_1.z = -89.73 L6_1.pos = L7_1 L7_1 = {} L7_1.x = 0.0 L7_1.y = 75.444 L7_1.z = 0.0 L6_1.rot = L7_1 L6_1.level = 1 L6_1.is_use_point_array = true L6_1.area_id = 103 L7_1 = {} L7_1.config_id = 56006 L7_1.gadget_id = 70350243 L8_1 = {} L8_1.x = -717.98 L8_1.y = 121.495 L8_1.z = -89.73 L7_1.pos = L8_1 L8_1 = {} L8_1.x = 0.0 L8_1.y = 200.035 L8_1.z = 0.0 L7_1.rot = L8_1 L7_1.level = 1 L8_1 = GadgetState L8_1 = L8_1.GearStop L7_1.state = L8_1 L7_1.area_id = 103 L8_1 = {} L8_1.config_id = 56007 L8_1.gadget_id = 70360001 L9_1 = {} L9_1.x = -717.98 L9_1.y = 121.495 L9_1.z = -89.73 L8_1.pos = L9_1 L9_1 = {} L9_1.x = 0.0 L9_1.y = 200.035 L9_1.z = 0.0 L8_1.rot = L9_1 L8_1.level = 1 L8_1.area_id = 103 L9_1 = {} L9_1.config_id = 56008 L9_1.gadget_id = 70950079 L10_1 = {} L10_1.x = -699.55 L10_1.y = 125.357 L10_1.z = -98.11 L9_1.pos = L10_1 L10_1 = {} L10_1.x = 0.0 L10_1.y = 113.897 L10_1.z = 0.0 L9_1.rot = L10_1 L9_1.level = 1 L9_1.is_use_point_array = true L9_1.area_id = 103 L10_1 = {} L10_1.config_id = 56009 L10_1.gadget_id = 70350243 L11_1 = {} L11_1.x = -699.55 L11_1.y = 121.516 L11_1.z = -98.11 L10_1.pos = L11_1 L11_1 = {} L11_1.x = 0.0 L11_1.y = 200.035 L11_1.z = 0.0 L10_1.rot = L11_1 L10_1.level = 1 L11_1 = GadgetState L11_1 = L11_1.GearStop L10_1.state = L11_1 L10_1.area_id = 103 L11_1 = {} L11_1.config_id = 56010 L11_1.gadget_id = 70360001 L12_1 = {} L12_1.x = -699.55 L12_1.y = 121.516 L12_1.z = -98.11 L11_1.pos = L12_1 L12_1 = {} L12_1.x = 0.0 L12_1.y = 200.035 L12_1.z = 0.0 L11_1.rot = L12_1 L11_1.level = 1 L11_1.area_id = 103 L12_1 = {} L12_1.config_id = 56019 L12_1.gadget_id = 70950073 L13_1 = {} L13_1.x = -715.225 L13_1.y = 124.905 L13_1.z = -97.536 L12_1.pos = L13_1 L13_1 = {} L13_1.x = 0.0 L13_1.y = 159.468 L13_1.z = 0.0 L12_1.rot = L13_1 L12_1.level = 1 L12_1.area_id = 103 L13_1 = {} L13_1.config_id = 56020 L13_1.gadget_id = 70360001 L14_1 = {} L14_1.x = -708.685 L14_1.y = 121.54 L14_1.z = -95.781 L13_1.pos = L14_1 L14_1 = {} L14_1.x = 0.0 L14_1.y = 200.035 L14_1.z = 0.0 L13_1.rot = L14_1 L13_1.level = 1 L13_1.area_id = 103 L14_1 = {} L14_1.config_id = 56022 L14_1.gadget_id = 70350085 L15_1 = {} L15_1.x = -715.225 L15_1.y = 124.905 L15_1.z = -97.536 L14_1.pos = L15_1 L15_1 = {} L15_1.x = 0.0 L15_1.y = 0.0 L15_1.z = 0.0 L14_1.rot = L15_1 L14_1.level = 1 L14_1.area_id = 103 L1_1[1] = L2_1 L1_1[2] = L3_1 L1_1[3] = L4_1 L1_1[4] = L5_1 L1_1[5] = L6_1 L1_1[6] = L7_1 L1_1[7] = L8_1 L1_1[8] = L9_1 L1_1[9] = L10_1 L1_1[10] = L11_1 L1_1[11] = L12_1 L1_1[12] = L13_1 L1_1[13] = L14_1 gadgets = L1_1 L1_1 = {} regions = L1_1 L1_1 = {} L2_1 = {} L2_1.config_id = 1056023 L2_1.name = "SELECT_OPTION_56023" L3_1 = EventType L3_1 = L3_1.EVENT_SELECT_OPTION L2_1.event = L3_1 L2_1.source = "" L2_1.condition = "condition_EVENT_SELECT_OPTION_56023" L2_1.action = "action_EVENT_SELECT_OPTION_56023" L2_1.trigger_count = 0 L3_1 = {} L3_1.config_id = 1056024 L3_1.name = "GADGET_STATE_CHANGE_56024" L4_1 = EventType L4_1 = L4_1.EVENT_GADGET_STATE_CHANGE L3_1.event = L4_1 L3_1.source = "" L3_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_56024" L3_1.action = "action_EVENT_GADGET_STATE_CHANGE_56024" L3_1.trigger_count = 0 L4_1 = {} L4_1.config_id = 1056025 L4_1.name = "GADGET_STATE_CHANGE_56025" L5_1 = EventType L5_1 = L5_1.EVENT_GADGET_STATE_CHANGE L4_1.event = L5_1 L4_1.source = "" L4_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_56025" L4_1.action = "action_EVENT_GADGET_STATE_CHANGE_56025" L4_1.trigger_count = 0 L5_1 = {} L5_1.config_id = 1056026 L5_1.name = "GADGET_CREATE_56026" L6_1 = EventType L6_1 = L6_1.EVENT_GADGET_CREATE L5_1.event = L6_1 L5_1.source = "" L5_1.condition = "condition_EVENT_GADGET_CREATE_56026" L5_1.action = "action_EVENT_GADGET_CREATE_56026" L5_1.trigger_count = 0 L6_1 = {} L6_1.config_id = 1056031 L6_1.name = "SELECT_OPTION_56031" L7_1 = EventType L7_1 = L7_1.EVENT_SELECT_OPTION L6_1.event = L7_1 L6_1.source = "" L6_1.condition = "condition_EVENT_SELECT_OPTION_56031" L6_1.action = "action_EVENT_SELECT_OPTION_56031" L6_1.trigger_count = 0 L7_1 = {} L7_1.config_id = 1056032 L7_1.name = "GROUP_LOAD_56032" L8_1 = EventType L8_1 = L8_1.EVENT_GROUP_LOAD L7_1.event = L8_1 L7_1.source = "" L7_1.condition = "" L7_1.action = "action_EVENT_GROUP_LOAD_56032" L7_1.trigger_count = 0 L8_1 = {} L8_1.config_id = 1056033 L8_1.name = "GADGET_STATE_CHANGE_56033" 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_56033" L8_1.action = "action_EVENT_GADGET_STATE_CHANGE_56033" L8_1.trigger_count = 0 L9_1 = {} L9_1.config_id = 1056034 L9_1.name = "GADGET_STATE_CHANGE_56034" L10_1 = EventType L10_1 = L10_1.EVENT_GADGET_STATE_CHANGE L9_1.event = L10_1 L9_1.source = "" L9_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_56034" L9_1.action = "action_EVENT_GADGET_STATE_CHANGE_56034" L9_1.trigger_count = 0 L10_1 = {} L10_1.config_id = 1056035 L10_1.name = "SELECT_OPTION_56035" L11_1 = EventType L11_1 = L11_1.EVENT_SELECT_OPTION L10_1.event = L11_1 L10_1.source = "" L10_1.condition = "condition_EVENT_SELECT_OPTION_56035" L10_1.action = "action_EVENT_SELECT_OPTION_56035" L10_1.trigger_count = 0 L11_1 = {} L11_1.config_id = 1056036 L11_1.name = "SELECT_OPTION_56036" L12_1 = EventType L12_1 = L12_1.EVENT_SELECT_OPTION L11_1.event = L12_1 L11_1.source = "" L11_1.condition = "condition_EVENT_SELECT_OPTION_56036" L11_1.action = "action_EVENT_SELECT_OPTION_56036" L11_1.trigger_count = 0 L12_1 = {} L12_1.config_id = 1056038 L12_1.name = "SELECT_OPTION_56038" L13_1 = EventType L13_1 = L13_1.EVENT_SELECT_OPTION L12_1.event = L13_1 L12_1.source = "" L12_1.condition = "condition_EVENT_SELECT_OPTION_56038" L12_1.action = "action_EVENT_SELECT_OPTION_56038" L12_1.trigger_count = 0 L13_1 = {} L13_1.config_id = 1056039 L13_1.name = "VARIABLE_CHANGE_56039" L14_1 = EventType L14_1 = L14_1.EVENT_VARIABLE_CHANGE L13_1.event = L14_1 L13_1.source = "" L13_1.condition = "condition_EVENT_VARIABLE_CHANGE_56039" L13_1.action = "action_EVENT_VARIABLE_CHANGE_56039" L13_1.trigger_count = 0 L14_1 = {} L14_1.config_id = 1056041 L14_1.name = "GADGET_STATE_CHANGE_56041" 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_56041" L14_1.action = "action_EVENT_GADGET_STATE_CHANGE_56041" L14_1.trigger_count = 0 L15_1 = {} L15_1.config_id = 1056042 L15_1.name = "GADGET_STATE_CHANGE_56042" 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_56042" L15_1.action = "action_EVENT_GADGET_STATE_CHANGE_56042" L15_1.trigger_count = 0 L16_1 = {} L16_1.config_id = 1056043 L16_1.name = "GADGET_CREATE_56043" L17_1 = EventType L17_1 = L17_1.EVENT_GADGET_CREATE L16_1.event = L17_1 L16_1.source = "" L16_1.condition = "condition_EVENT_GADGET_CREATE_56043" L16_1.action = "action_EVENT_GADGET_CREATE_56043" L16_1.trigger_count = 0 L17_1 = {} L17_1.config_id = 1056045 L17_1.name = "SELECT_OPTION_56045" L18_1 = EventType L18_1 = L18_1.EVENT_SELECT_OPTION L17_1.event = L18_1 L17_1.source = "" L17_1.condition = "condition_EVENT_SELECT_OPTION_56045" L17_1.action = "action_EVENT_SELECT_OPTION_56045" L17_1.trigger_count = 0 L18_1 = {} L18_1.config_id = 1056046 L18_1.name = "SELECT_OPTION_56046" L19_1 = EventType L19_1 = L19_1.EVENT_SELECT_OPTION L18_1.event = L19_1 L18_1.source = "" L18_1.condition = "condition_EVENT_SELECT_OPTION_56046" L18_1.action = "action_EVENT_SELECT_OPTION_56046" L18_1.trigger_count = 0 L19_1 = {} L19_1.config_id = 1056047 L19_1.name = "SELECT_OPTION_56047" L20_1 = EventType L20_1 = L20_1.EVENT_SELECT_OPTION L19_1.event = L20_1 L19_1.source = "" L19_1.condition = "condition_EVENT_SELECT_OPTION_56047" L19_1.action = "action_EVENT_SELECT_OPTION_56047" L19_1.trigger_count = 0 L20_1 = {} L20_1.config_id = 1056048 L20_1.name = "VARIABLE_CHANGE_56048" L21_1 = EventType L21_1 = L21_1.EVENT_VARIABLE_CHANGE L20_1.event = L21_1 L20_1.source = "" L20_1.condition = "condition_EVENT_VARIABLE_CHANGE_56048" L20_1.action = "action_EVENT_VARIABLE_CHANGE_56048" L20_1.trigger_count = 0 L21_1 = {} L21_1.config_id = 1056061 L21_1.name = "ANY_GADGET_DIE_56061" L22_1 = EventType L22_1 = L22_1.EVENT_ANY_GADGET_DIE L21_1.event = L22_1 L21_1.source = "" L21_1.condition = "condition_EVENT_ANY_GADGET_DIE_56061" L21_1.action = "action_EVENT_ANY_GADGET_DIE_56061" L22_1 = {} L22_1.config_id = 1056064 L22_1.name = "GADGET_STATE_CHANGE_56064" L23_1 = EventType L23_1 = L23_1.EVENT_GADGET_STATE_CHANGE L22_1.event = L23_1 L22_1.source = "" L22_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_56064" L22_1.action = "action_EVENT_GADGET_STATE_CHANGE_56064" L23_1 = {} L23_1.config_id = 1056065 L23_1.name = "GADGET_STATE_CHANGE_56065" L24_1 = EventType L24_1 = L24_1.EVENT_GADGET_STATE_CHANGE L23_1.event = L24_1 L23_1.source = "" L23_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_56065" L23_1.action = "action_EVENT_GADGET_STATE_CHANGE_56065" L23_1.trigger_count = 0 L24_1 = {} L24_1.config_id = 1056066 L24_1.name = "GADGET_STATE_CHANGE_56066" L25_1 = EventType L25_1 = L25_1.EVENT_GADGET_STATE_CHANGE L24_1.event = L25_1 L24_1.source = "" L24_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_56066" L24_1.action = "action_EVENT_GADGET_STATE_CHANGE_56066" L24_1.trigger_count = 0 L1_1[1] = L2_1 L1_1[2] = L3_1 L1_1[3] = L4_1 L1_1[4] = L5_1 L1_1[5] = L6_1 L1_1[6] = L7_1 L1_1[7] = L8_1 L1_1[8] = L9_1 L1_1[9] = L10_1 L1_1[10] = L11_1 L1_1[11] = L12_1 L1_1[12] = L13_1 L1_1[13] = L14_1 L1_1[14] = L15_1 L1_1[15] = L16_1 L1_1[16] = L17_1 L1_1[17] = L18_1 L1_1[18] = L19_1 L1_1[19] = L20_1 L1_1[20] = L21_1 L1_1[21] = L22_1 L1_1[22] = L23_1 L1_1[23] = L24_1 triggers = L1_1 L1_1 = {} L2_1 = {} L2_1.configId = 1 L2_1.name = "hoop1Pos" L2_1.value = 0 L2_1.no_refresh = false L3_1 = {} L3_1.configId = 2 L3_1.name = "hoop2Pos" L3_1.value = 0 L3_1.no_refresh = false L4_1 = {} L4_1.configId = 3 L4_1.name = "complete" L4_1.value = 0 L4_1.no_refresh = false L5_1 = {} L5_1.configId = 4 L5_1.name = "killedHoops" L5_1.value = 0 L5_1.no_refresh = false L6_1 = {} L6_1.configId = 5 L6_1.name = "turncount1" L6_1.value = 0 L6_1.no_refresh = false L7_1 = {} L7_1.configId = 6 L7_1.name = "turncount2" L7_1.value = 0 L7_1.no_refresh = false L8_1 = {} L8_1.configId = 7 L8_1.name = "turncount3" L8_1.value = 0 L8_1.no_refresh = false L9_1 = {} L9_1.configId = 8 L9_1.name = "done" L9_1.value = 0 L9_1.no_refresh = false L1_1[1] = L2_1 L1_1[2] = L3_1 L1_1[3] = L4_1 L1_1[4] = L5_1 L1_1[5] = L6_1 L1_1[6] = L7_1 L1_1[7] = L8_1 L1_1[8] = L9_1 variables = L1_1 L1_1 = {} L1_1.suite = 1 L1_1.end_suite = 3 L1_1.rand_suite = false init_config = L1_1 L1_1 = {} L2_1 = {} L3_1 = {} L2_1.monsters = L3_1 L3_1 = {} L4_1 = 56001 L5_1 = 56002 L6_1 = 56019 L3_1[1] = L4_1 L3_1[2] = L5_1 L3_1[3] = L6_1 L2_1.gadgets = L3_1 L3_1 = {} L2_1.regions = L3_1 L3_1 = {} L4_1 = "GROUP_LOAD_56032" L5_1 = "ANY_GADGET_DIE_56061" L6_1 = "GADGET_STATE_CHANGE_56064" L7_1 = "GADGET_STATE_CHANGE_56065" L8_1 = "GADGET_STATE_CHANGE_56066" L3_1[1] = L4_1 L3_1[2] = L5_1 L3_1[3] = L6_1 L3_1[4] = L7_1 L3_1[5] = L8_1 L2_1.triggers = L3_1 L2_1.rand_weight = 100 L3_1 = {} L4_1 = {} L3_1.monsters = L4_1 L4_1 = {} L5_1 = 56022 L4_1[1] = L5_1 L3_1.gadgets = L4_1 L4_1 = {} L3_1.regions = L4_1 L4_1 = {} L3_1.triggers = L4_1 L3_1.rand_weight = 100 L4_1 = {} L5_1 = {} L4_1.monsters = L5_1 L5_1 = {} L6_1 = 56003 L7_1 = 56004 L8_1 = 56020 L5_1[1] = L6_1 L5_1[2] = L7_1 L5_1[3] = L8_1 L4_1.gadgets = L5_1 L5_1 = {} L4_1.regions = L5_1 L5_1 = {} L6_1 = "GADGET_STATE_CHANGE_56033" L7_1 = "GADGET_STATE_CHANGE_56034" L5_1[1] = L6_1 L5_1[2] = L7_1 L4_1.triggers = L5_1 L4_1.rand_weight = 100 L5_1 = {} L6_1 = {} L5_1.monsters = L6_1 L6_1 = {} L7_1 = 56008 L8_1 = 56009 L9_1 = 56010 L6_1[1] = L7_1 L6_1[2] = L8_1 L6_1[3] = L9_1 L5_1.gadgets = L6_1 L6_1 = {} L5_1.regions = L6_1 L6_1 = {} L7_1 = "SELECT_OPTION_56031" L8_1 = "SELECT_OPTION_56035" L9_1 = "SELECT_OPTION_56036" L10_1 = "SELECT_OPTION_56038" L11_1 = "VARIABLE_CHANGE_56039" L12_1 = "GADGET_STATE_CHANGE_56041" L13_1 = "GADGET_STATE_CHANGE_56042" L14_1 = "GADGET_CREATE_56043" L6_1[1] = L7_1 L6_1[2] = L8_1 L6_1[3] = L9_1 L6_1[4] = L10_1 L6_1[5] = L11_1 L6_1[6] = L12_1 L6_1[7] = L13_1 L6_1[8] = L14_1 L5_1.triggers = L6_1 L5_1.rand_weight = 100 L6_1 = {} L7_1 = {} L6_1.monsters = L7_1 L7_1 = {} L8_1 = 56005 L9_1 = 56006 L10_1 = 56007 L7_1[1] = L8_1 L7_1[2] = L9_1 L7_1[3] = L10_1 L6_1.gadgets = L7_1 L7_1 = {} L6_1.regions = L7_1 L7_1 = {} L8_1 = "SELECT_OPTION_56023" L9_1 = "GADGET_STATE_CHANGE_56024" L10_1 = "GADGET_STATE_CHANGE_56025" L11_1 = "GADGET_CREATE_56026" L12_1 = "SELECT_OPTION_56045" L13_1 = "SELECT_OPTION_56046" L14_1 = "SELECT_OPTION_56047" L15_1 = "VARIABLE_CHANGE_56048" 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 L6_1.triggers = L7_1 L6_1.rand_weight = 100 L7_1 = {} L8_1 = {} L7_1.monsters = L8_1 L8_1 = {} L7_1.gadgets = L8_1 L8_1 = {} L7_1.regions = L8_1 L8_1 = {} L7_1.triggers = L8_1 L7_1.rand_weight = 100 L1_1[1] = L2_1 L1_1[2] = L3_1 L1_1[3] = L4_1 L1_1[4] = L5_1 L1_1[5] = L6_1 L1_1[6] = L7_1 suites = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2, L4_2 L2_2 = A1_2.param1 if 56007 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = A1_2.param2 if 211 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.GetGroupVariableValue L3_2 = A0_2 L4_2 = "turncount2" 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_SELECT_OPTION_56023 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2, L8_2 L2_2 = {} L2_2.route_type = 0 L2_2.turn_mode = true L3_2 = ScriptLib L3_2 = L3_2.SetPlatformPointArray L4_2 = A0_2 L5_2 = 56005 L6_2 = 400400004 L7_2 = {} L8_2 = 1 L7_2[1] = L8_2 L8_2 = L2_2 L3_2 = L3_2(L4_2, L5_2, L6_2, L7_2, L8_2) if 0 ~= L3_2 then L3_2 = ScriptLib L3_2 = L3_2.PrintContextLog L4_2 = A0_2 L5_2 = "@@ LUA_WARNING : set_platform_pointArray" L3_2(L4_2, L5_2) L3_2 = -1 return L3_2 end L3_2 = ScriptLib L3_2 = L3_2.ChangeGroupVariableValue L4_2 = A0_2 L5_2 = "turncount2" L6_2 = 1 L3_2 = L3_2(L4_2, L5_2, L6_2) if 0 ~= L3_2 then L3_2 = ScriptLib L3_2 = L3_2.PrintContextLog L4_2 = A0_2 L5_2 = "@@ LUA_WARNING : change_GroupVariable" L3_2(L4_2, L5_2) L3_2 = -1 return L3_2 end L3_2 = 0 return L3_2 end action_EVENT_SELECT_OPTION_56023 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2 L2_2 = A1_2.param2 if 56001 == 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_56024 = L1_1 function L1_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 = 56005 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_GADGET_STATE_CHANGE_56024 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2 L2_2 = A1_2.param2 if 56001 == L2_2 then L2_2 = GadgetState L2_2 = L2_2.Default 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_56025 = L1_1 function L1_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 = 56005 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_GADGET_STATE_CHANGE_56025 = L1_1 function L1_1(A0_2, A1_2) local L2_2 L2_2 = A1_2.param1 if 56007 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_GADGET_CREATE_56026 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2 L2_2 = ScriptLib L2_2 = L2_2.SetWorktopOptionsByGroupId L3_2 = A0_2 L4_2 = 144004056 L5_2 = 56007 L6_2 = {} L7_2 = 211 L6_2[1] = L7_2 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_wok_options_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_CREATE_56026 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2, L4_2 L2_2 = A1_2.param1 if 56010 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = A1_2.param2 if 211 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.GetGroupVariableValue L3_2 = A0_2 L4_2 = "turncount1" 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_SELECT_OPTION_56031 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2, L8_2 L2_2 = {} L2_2.route_type = 0 L2_2.turn_mode = true L3_2 = ScriptLib L3_2 = L3_2.SetPlatformPointArray L4_2 = A0_2 L5_2 = 56008 L6_2 = 400400003 L7_2 = {} L8_2 = 1 L7_2[1] = L8_2 L8_2 = L2_2 L3_2 = L3_2(L4_2, L5_2, L6_2, L7_2, L8_2) if 0 ~= L3_2 then L3_2 = ScriptLib L3_2 = L3_2.PrintContextLog L4_2 = A0_2 L5_2 = "@@ LUA_WARNING : set_platform_pointArray" L3_2(L4_2, L5_2) L3_2 = -1 return L3_2 end L3_2 = ScriptLib L3_2 = L3_2.ChangeGroupVariableValue L4_2 = A0_2 L5_2 = "turncount1" L6_2 = 1 L3_2 = L3_2(L4_2, L5_2, L6_2) if 0 ~= L3_2 then L3_2 = ScriptLib L3_2 = L3_2.PrintContextLog L4_2 = A0_2 L5_2 = "@@ LUA_WARNING : change_GroupVariable" L3_2(L4_2, L5_2) L3_2 = -1 return L3_2 end L3_2 = 0 return L3_2 end action_EVENT_SELECT_OPTION_56031 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2 L2_2 = ScriptLib L2_2 = L2_2.AddExtraGroupSuite L3_2 = A0_2 L4_2 = 144004056 L5_2 = 3 L2_2(L3_2, L4_2, L5_2) L2_2 = ScriptLib L2_2 = L2_2.AddExtraGroupSuite L3_2 = A0_2 L4_2 = 144004056 L5_2 = 4 L2_2(L3_2, L4_2, L5_2) L2_2 = ScriptLib L2_2 = L2_2.AddExtraGroupSuite L3_2 = A0_2 L4_2 = 144004056 L5_2 = 5 L2_2(L3_2, L4_2, L5_2) L2_2 = ScriptLib L2_2 = L2_2.AddExtraGroupSuite L3_2 = A0_2 L4_2 = 144004056 L5_2 = 6 L2_2(L3_2, L4_2, L5_2) L2_2 = 0 return L2_2 end action_EVENT_GROUP_LOAD_56032 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2 L2_2 = A1_2.param2 if 56001 == 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_56033 = L1_1 function L1_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 = 56003 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 = 56004 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_56033 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2 L2_2 = A1_2.param2 if 56001 == L2_2 then L2_2 = GadgetState L2_2 = L2_2.Default 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_56034 = L1_1 function L1_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 = 56003 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 = 56004 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_GADGET_STATE_CHANGE_56034 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2, L4_2 L2_2 = A1_2.param1 if 56010 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = A1_2.param2 if 211 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.GetGroupVariableValue L3_2 = A0_2 L4_2 = "turncount1" 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_SELECT_OPTION_56035 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2, L8_2 L2_2 = {} L2_2.route_type = 0 L2_2.turn_mode = true L3_2 = ScriptLib L3_2 = L3_2.SetPlatformPointArray L4_2 = A0_2 L5_2 = 56008 L6_2 = 400400003 L7_2 = {} L8_2 = 2 L7_2[1] = L8_2 L8_2 = L2_2 L3_2 = L3_2(L4_2, L5_2, L6_2, L7_2, L8_2) if 0 ~= L3_2 then L3_2 = ScriptLib L3_2 = L3_2.PrintContextLog L4_2 = A0_2 L5_2 = "@@ LUA_WARNING : set_platform_pointArray" L3_2(L4_2, L5_2) L3_2 = -1 return L3_2 end L3_2 = ScriptLib L3_2 = L3_2.ChangeGroupVariableValue L4_2 = A0_2 L5_2 = "turncount1" L6_2 = 1 L3_2 = L3_2(L4_2, L5_2, L6_2) if 0 ~= L3_2 then L3_2 = ScriptLib L3_2 = L3_2.PrintContextLog L4_2 = A0_2 L5_2 = "@@ LUA_WARNING : change_GroupVariable" L3_2(L4_2, L5_2) L3_2 = -1 return L3_2 end L3_2 = 0 return L3_2 end action_EVENT_SELECT_OPTION_56035 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2, L4_2 L2_2 = A1_2.param1 if 56010 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = A1_2.param2 if 211 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.GetGroupVariableValue L3_2 = A0_2 L4_2 = "turncount1" 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_SELECT_OPTION_56036 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2, L8_2 L2_2 = {} L2_2.route_type = 0 L2_2.turn_mode = true L3_2 = ScriptLib L3_2 = L3_2.SetPlatformPointArray L4_2 = A0_2 L5_2 = 56008 L6_2 = 400400003 L7_2 = {} L8_2 = 3 L7_2[1] = L8_2 L8_2 = L2_2 L3_2 = L3_2(L4_2, L5_2, L6_2, L7_2, L8_2) if 0 ~= L3_2 then L3_2 = ScriptLib L3_2 = L3_2.PrintContextLog L4_2 = A0_2 L5_2 = "@@ LUA_WARNING : set_platform_pointArray" L3_2(L4_2, L5_2) L3_2 = -1 return L3_2 end L3_2 = ScriptLib L3_2 = L3_2.ChangeGroupVariableValue L4_2 = A0_2 L5_2 = "turncount1" L6_2 = 1 L3_2 = L3_2(L4_2, L5_2, L6_2) if 0 ~= L3_2 then L3_2 = ScriptLib L3_2 = L3_2.PrintContextLog L4_2 = A0_2 L5_2 = "@@ LUA_WARNING : change_GroupVariable" L3_2(L4_2, L5_2) L3_2 = -1 return L3_2 end L3_2 = 0 return L3_2 end action_EVENT_SELECT_OPTION_56036 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2, L4_2 L2_2 = A1_2.param1 if 56010 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = A1_2.param2 if 211 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.GetGroupVariableValue L3_2 = A0_2 L4_2 = "turncount1" L2_2 = L2_2(L3_2, L4_2) if L2_2 ~= 3 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_SELECT_OPTION_56038 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2, L8_2 L2_2 = {} L2_2.route_type = 0 L2_2.turn_mode = true L3_2 = ScriptLib L3_2 = L3_2.SetPlatformPointArray L4_2 = A0_2 L5_2 = 56008 L6_2 = 400400003 L7_2 = {} L8_2 = 4 L7_2[1] = L8_2 L8_2 = L2_2 L3_2 = L3_2(L4_2, L5_2, L6_2, L7_2, L8_2) if 0 ~= L3_2 then L3_2 = ScriptLib L3_2 = L3_2.PrintContextLog L4_2 = A0_2 L5_2 = "@@ LUA_WARNING : set_platform_pointArray" L3_2(L4_2, L5_2) L3_2 = -1 return L3_2 end L3_2 = ScriptLib L3_2 = L3_2.ChangeGroupVariableValue L4_2 = A0_2 L5_2 = "turncount1" L6_2 = 1 L3_2 = L3_2(L4_2, L5_2, L6_2) if 0 ~= L3_2 then L3_2 = ScriptLib L3_2 = L3_2.PrintContextLog L4_2 = A0_2 L5_2 = "@@ LUA_WARNING : change_GroupVariable" L3_2(L4_2, L5_2) L3_2 = -1 return L3_2 end L3_2 = 0 return L3_2 end action_EVENT_SELECT_OPTION_56038 = L1_1 function L1_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 = 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 = "turncount1" L2_2 = L2_2(L3_2, L4_2) if L2_2 < 4 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_VARIABLE_CHANGE_56039 = L1_1 function L1_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 = "turncount1" L5_2 = 0 L2_2(L3_2, L4_2, L5_2) L2_2 = 0 return L2_2 end action_EVENT_VARIABLE_CHANGE_56039 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2 L2_2 = A1_2.param2 if 56001 == 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_56041 = L1_1 function L1_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 = 56008 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_GADGET_STATE_CHANGE_56041 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2 L2_2 = A1_2.param2 if 56001 == L2_2 then L2_2 = GadgetState L2_2 = L2_2.Default 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_56042 = L1_1 function L1_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 = 56008 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_GADGET_STATE_CHANGE_56042 = L1_1 function L1_1(A0_2, A1_2) local L2_2 L2_2 = A1_2.param1 if 56010 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_GADGET_CREATE_56043 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2 L2_2 = ScriptLib L2_2 = L2_2.SetWorktopOptionsByGroupId L3_2 = A0_2 L4_2 = 144004056 L5_2 = 56010 L6_2 = {} L7_2 = 211 L6_2[1] = L7_2 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_wok_options_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_CREATE_56043 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2, L4_2 L2_2 = A1_2.param1 if 56007 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = A1_2.param2 if 211 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.GetGroupVariableValue L3_2 = A0_2 L4_2 = "turncount2" 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_SELECT_OPTION_56045 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2, L8_2 L2_2 = {} L2_2.route_type = 0 L2_2.turn_mode = true L3_2 = ScriptLib L3_2 = L3_2.SetPlatformPointArray L4_2 = A0_2 L5_2 = 56005 L6_2 = 400400004 L7_2 = {} L8_2 = 2 L7_2[1] = L8_2 L8_2 = L2_2 L3_2 = L3_2(L4_2, L5_2, L6_2, L7_2, L8_2) if 0 ~= L3_2 then L3_2 = ScriptLib L3_2 = L3_2.PrintContextLog L4_2 = A0_2 L5_2 = "@@ LUA_WARNING : set_platform_pointArray" L3_2(L4_2, L5_2) L3_2 = -1 return L3_2 end L3_2 = ScriptLib L3_2 = L3_2.ChangeGroupVariableValue L4_2 = A0_2 L5_2 = "turncount2" L6_2 = 1 L3_2 = L3_2(L4_2, L5_2, L6_2) if 0 ~= L3_2 then L3_2 = ScriptLib L3_2 = L3_2.PrintContextLog L4_2 = A0_2 L5_2 = "@@ LUA_WARNING : change_GroupVariable" L3_2(L4_2, L5_2) L3_2 = -1 return L3_2 end L3_2 = 0 return L3_2 end action_EVENT_SELECT_OPTION_56045 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2, L4_2 L2_2 = A1_2.param1 if 56007 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = A1_2.param2 if 211 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.GetGroupVariableValue L3_2 = A0_2 L4_2 = "turncount2" 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_SELECT_OPTION_56046 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2, L8_2 L2_2 = {} L2_2.route_type = 0 L2_2.turn_mode = true L3_2 = ScriptLib L3_2 = L3_2.SetPlatformPointArray L4_2 = A0_2 L5_2 = 56005 L6_2 = 400400004 L7_2 = {} L8_2 = 3 L7_2[1] = L8_2 L8_2 = L2_2 L3_2 = L3_2(L4_2, L5_2, L6_2, L7_2, L8_2) if 0 ~= L3_2 then L3_2 = ScriptLib L3_2 = L3_2.PrintContextLog L4_2 = A0_2 L5_2 = "@@ LUA_WARNING : set_platform_pointArray" L3_2(L4_2, L5_2) L3_2 = -1 return L3_2 end L3_2 = ScriptLib L3_2 = L3_2.ChangeGroupVariableValue L4_2 = A0_2 L5_2 = "turncount2" L6_2 = 1 L3_2 = L3_2(L4_2, L5_2, L6_2) if 0 ~= L3_2 then L3_2 = ScriptLib L3_2 = L3_2.PrintContextLog L4_2 = A0_2 L5_2 = "@@ LUA_WARNING : change_GroupVariable" L3_2(L4_2, L5_2) L3_2 = -1 return L3_2 end L3_2 = 0 return L3_2 end action_EVENT_SELECT_OPTION_56046 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2, L4_2 L2_2 = A1_2.param1 if 56007 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = A1_2.param2 if 211 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.GetGroupVariableValue L3_2 = A0_2 L4_2 = "turncount2" L2_2 = L2_2(L3_2, L4_2) if L2_2 ~= 3 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_SELECT_OPTION_56047 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2, L8_2 L2_2 = {} L2_2.route_type = 0 L2_2.turn_mode = true L3_2 = ScriptLib L3_2 = L3_2.SetPlatformPointArray L4_2 = A0_2 L5_2 = 56005 L6_2 = 400400004 L7_2 = {} L8_2 = 4 L7_2[1] = L8_2 L8_2 = L2_2 L3_2 = L3_2(L4_2, L5_2, L6_2, L7_2, L8_2) if 0 ~= L3_2 then L3_2 = ScriptLib L3_2 = L3_2.PrintContextLog L4_2 = A0_2 L5_2 = "@@ LUA_WARNING : set_platform_pointArray" L3_2(L4_2, L5_2) L3_2 = -1 return L3_2 end L3_2 = ScriptLib L3_2 = L3_2.ChangeGroupVariableValue L4_2 = A0_2 L5_2 = "turncount2" L6_2 = 1 L3_2 = L3_2(L4_2, L5_2, L6_2) if 0 ~= L3_2 then L3_2 = ScriptLib L3_2 = L3_2.PrintContextLog L4_2 = A0_2 L5_2 = "@@ LUA_WARNING : change_GroupVariable" L3_2(L4_2, L5_2) L3_2 = -1 return L3_2 end L3_2 = 0 return L3_2 end action_EVENT_SELECT_OPTION_56047 = L1_1 function L1_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 = 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 = "turncount2" L2_2 = L2_2(L3_2, L4_2) if L2_2 < 4 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_VARIABLE_CHANGE_56048 = L1_1 function L1_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 = "turncount2" L5_2 = 0 L2_2(L3_2, L4_2, L5_2) L2_2 = 0 return L2_2 end action_EVENT_VARIABLE_CHANGE_56048 = L1_1 function L1_1(A0_2, A1_2) local L2_2 L2_2 = A1_2.param1 if 56019 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_ANY_GADGET_DIE_56061 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2 L2_2 = ScriptLib L2_2 = L2_2.RemoveExtraGroupSuite L3_2 = A0_2 L4_2 = 144004056 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 = 56002 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 = "complete" 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 = 0 return L2_2 end action_EVENT_ANY_GADGET_DIE_56061 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2 L2_2 = A1_2.param2 if 56002 == L2_2 then L2_2 = GadgetState L2_2 = L2_2.ChestOpened 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_56064 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2, L6_2 L2_2 = ScriptLib L2_2 = L2_2.GoToGroupSuite L3_2 = A0_2 L4_2 = 144004056 L5_2 = 6 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 : goto_groupSuite" 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 = "done" L5_2 = 1 L6_2 = 144004079 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_GADGET_STATE_CHANGE_56064 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2, L4_2 L2_2 = A1_2.param2 if 56001 == 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 = ScriptLib L2_2 = L2_2.GetGroupVariableValue L3_2 = A0_2 L4_2 = "complete" 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_GADGET_STATE_CHANGE_56065 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2 L2_2 = ScriptLib L2_2 = L2_2.AddExtraGroupSuite L3_2 = A0_2 L4_2 = 144004056 L5_2 = 2 L2_2(L3_2, L4_2, L5_2) L2_2 = 0 return L2_2 end action_EVENT_GADGET_STATE_CHANGE_56065 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2 L2_2 = A1_2.param2 if 56001 == L2_2 then L2_2 = GadgetState L2_2 = L2_2.Default 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_56066 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2 L2_2 = ScriptLib L2_2 = L2_2.RemoveExtraGroupSuite L3_2 = A0_2 L4_2 = 144004056 L5_2 = 2 L2_2(L3_2, L4_2, L5_2) L2_2 = 0 return L2_2 end action_EVENT_GADGET_STATE_CHANGE_56066 = L1_1