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 L0_1 = {} L1_1 = {} L1_1.config_id = 30001 L1_1.monster_id = 21011401 L2_1 = {} L2_1.x = 1397.705 L2_1.y = 323.565 L2_1.z = -957.908 L1_1.pos = L2_1 L2_1 = {} L2_1.x = 0.0 L2_1.y = 153.245 L2_1.z = 0.0 L1_1.rot = L2_1 L1_1.level = 32 L1_1.climate_area_id = 1 L1_1.area_id = 10 L2_1 = {} L2_1.config_id = 30002 L2_1.monster_id = 21011401 L3_1 = {} L3_1.x = 1401.826 L3_1.y = 319.646 L3_1.z = -971.497 L2_1.pos = L3_1 L3_1 = {} L3_1.x = 0.0 L3_1.y = 348.697 L3_1.z = 0.0 L2_1.rot = L3_1 L2_1.level = 32 L2_1.climate_area_id = 1 L2_1.area_id = 10 L3_1 = {} L3_1.config_id = 30003 L3_1.monster_id = 21010901 L4_1 = {} L4_1.x = 1392.035 L4_1.y = 323.016 L4_1.z = -969.924 L3_1.pos = L4_1 L4_1 = {} L4_1.x = 0.0 L4_1.y = 64.211 L4_1.z = 0.0 L3_1.rot = L4_1 L3_1.level = 32 L3_1.climate_area_id = 1 L3_1.area_id = 10 L4_1 = {} L4_1.config_id = 30004 L4_1.monster_id = 21011301 L5_1 = {} L5_1.x = 1401.849 L5_1.y = 319.635 L5_1.z = -971.585 L4_1.pos = L5_1 L5_1 = {} L5_1.x = 0.0 L5_1.y = 323.584 L5_1.z = 0.0 L4_1.rot = L5_1 L4_1.level = 32 L4_1.climate_area_id = 1 L4_1.area_id = 10 L5_1 = {} L5_1.config_id = 30005 L5_1.monster_id = 21011301 L6_1 = {} L6_1.x = 1397.607 L6_1.y = 323.542 L6_1.z = -958.018 L5_1.pos = L6_1 L6_1 = {} L6_1.x = 0.0 L6_1.y = 137.828 L6_1.z = 0.0 L5_1.rot = L6_1 L5_1.level = 32 L5_1.climate_area_id = 1 L5_1.area_id = 10 L6_1 = {} L6_1.config_id = 30006 L6_1.monster_id = 20010901 L7_1 = {} L7_1.x = 1399.867 L7_1.y = 322.286 L7_1.z = -960.034 L6_1.pos = L7_1 L7_1 = {} L7_1.x = 0.0 L7_1.y = 141.59 L7_1.z = 0.0 L6_1.rot = L7_1 L6_1.level = 32 L6_1.climate_area_id = 1 L6_1.area_id = 10 L7_1 = {} L7_1.config_id = 30007 L7_1.monster_id = 21010901 L8_1 = {} L8_1.x = 1411.685 L8_1.y = 321.088 L8_1.z = -971.374 L7_1.pos = L8_1 L8_1 = {} L8_1.x = 0.0 L8_1.y = 278.631 L8_1.z = 0.0 L7_1.rot = L8_1 L7_1.level = 32 L7_1.climate_area_id = 1 L7_1.area_id = 10 L8_1 = {} L8_1.config_id = 30008 L8_1.monster_id = 22010201 L9_1 = {} L9_1.x = 1397.895 L9_1.y = 321.257 L9_1.z = -964.901 L8_1.pos = L9_1 L9_1 = {} L9_1.x = 0.0 L9_1.y = 27.558 L9_1.z = 0.0 L8_1.rot = L9_1 L8_1.level = 32 L8_1.climate_area_id = 1 L8_1.area_id = 10 L9_1 = {} L9_1.config_id = 30038 L9_1.monster_id = 20010901 L10_1 = {} L10_1.x = 1399.867 L10_1.y = 322.286 L10_1.z = -960.034 L9_1.pos = L10_1 L10_1 = {} L10_1.x = 0.0 L10_1.y = 141.59 L10_1.z = 0.0 L9_1.rot = L10_1 L9_1.level = 32 L9_1.climate_area_id = 1 L9_1.area_id = 10 L0_1[1] = L1_1 L0_1[2] = L2_1 L0_1[3] = L3_1 L0_1[4] = L4_1 L0_1[5] = L5_1 L0_1[6] = L6_1 L0_1[7] = L7_1 L0_1[8] = L8_1 L0_1[9] = L9_1 monsters = L0_1 L0_1 = {} npcs = L0_1 L0_1 = {} L1_1 = {} L1_1.config_id = 30009 L1_1.gadget_id = 70360107 L2_1 = {} L2_1.x = 1399.804 L2_1.y = 321.06 L2_1.z = -961.71 L1_1.pos = L2_1 L2_1 = {} L2_1.x = 3.249 L2_1.y = 359.836 L2_1.z = 354.223 L1_1.rot = L2_1 L1_1.level = 32 L1_1.persistent = true L1_1.area_id = 10 L2_1 = {} L2_1.config_id = 30010 L2_1.gadget_id = 70360107 L3_1 = {} L3_1.x = 1399.804 L3_1.y = 321.748 L3_1.z = -961.71 L2_1.pos = L3_1 L3_1 = {} L3_1.x = 6.264 L3_1.y = 85.696 L3_1.z = 2.596 L2_1.rot = L3_1 L2_1.level = 32 L2_1.persistent = true L2_1.area_id = 10 L3_1 = {} L3_1.config_id = 30011 L3_1.gadget_id = 70210111 L4_1 = {} L4_1.x = 1399.8 L4_1.y = 321.755 L4_1.z = -961.692 L3_1.pos = L4_1 L4_1 = {} L4_1.x = 0.0 L4_1.y = 0.0 L4_1.z = 0.0 L3_1.rot = L4_1 L3_1.level = 26 L3_1.chest_drop_id = 1000100 L3_1.drop_count = 1 L3_1.showcutscene = true L3_1.persistent = true L3_1.is_blossom_chest = true L3_1.area_id = 10 L4_1 = {} L4_1.config_id = 30012 L4_1.gadget_id = 70360105 L5_1 = {} L5_1.x = 1399.804 L5_1.y = 321.748 L5_1.z = -961.71 L4_1.pos = L5_1 L5_1 = {} L5_1.x = 3.249 L5_1.y = 359.836 L5_1.z = 354.223 L4_1.rot = L5_1 L4_1.level = 32 L4_1.area_id = 10 L5_1 = {} L5_1.config_id = 30037 L5_1.gadget_id = 70720214 L6_1 = {} L6_1.x = 1400.883 L6_1.y = 321.242 L6_1.z = -962.781 L5_1.pos = L6_1 L6_1 = {} L6_1.x = 0.0 L6_1.y = 0.0 L6_1.z = 0.0 L5_1.rot = L6_1 L5_1.level = 32 L5_1.route_id = 300200250 L5_1.area_id = 10 L6_1 = {} L6_1.config_id = 30039 L6_1.gadget_id = 70720215 L7_1 = {} L7_1.x = 1400.385 L7_1.y = 320.477 L7_1.z = -965.149 L6_1.pos = L7_1 L7_1 = {} L7_1.x = 3.249 L7_1.y = 359.836 L7_1.z = 354.223 L6_1.rot = L7_1 L6_1.level = 32 L6_1.area_id = 10 L0_1[1] = L1_1 L0_1[2] = L2_1 L0_1[3] = L3_1 L0_1[4] = L4_1 L0_1[5] = L5_1 L0_1[6] = L6_1 gadgets = L0_1 L0_1 = {} regions = L0_1 L0_1 = {} L1_1 = {} L1_1.config_id = 1030019 L1_1.name = "GADGET_STATE_CHANGE_30019" L2_1 = EventType L2_1 = L2_1.EVENT_GADGET_STATE_CHANGE L1_1.event = L2_1 L1_1.source = "" L1_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_30019" L1_1.action = "action_EVENT_GADGET_STATE_CHANGE_30019" L1_1.trigger_count = 0 L2_1 = {} L2_1.config_id = 1030020 L2_1.name = "GADGET_STATE_CHANGE_30020" L3_1 = EventType L3_1 = L3_1.EVENT_GADGET_STATE_CHANGE L2_1.event = L3_1 L2_1.source = "" L2_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_30020" L2_1.action = "action_EVENT_GADGET_STATE_CHANGE_30020" L2_1.trigger_count = 0 L3_1 = {} L3_1.config_id = 1030021 L3_1.name = "GADGET_CREATE_30021" L4_1 = EventType L4_1 = L4_1.EVENT_GADGET_CREATE L3_1.event = L4_1 L3_1.source = "" L3_1.condition = "condition_EVENT_GADGET_CREATE_30021" L3_1.action = "action_EVENT_GADGET_CREATE_30021" L3_1.trigger_count = 0 L4_1 = {} L4_1.config_id = 1030022 L4_1.name = "GROUP_REFRESH_30022" L5_1 = EventType L5_1 = L5_1.EVENT_GROUP_REFRESH L4_1.event = L5_1 L4_1.source = "" L4_1.condition = "" L4_1.action = "action_EVENT_GROUP_REFRESH_30022" L5_1 = {} L5_1.config_id = 1030023 L5_1.name = "BLOSSOM_CHEST_DIE_30023" L6_1 = EventType L6_1 = L6_1.EVENT_BLOSSOM_CHEST_DIE L5_1.event = L6_1 L5_1.source = "" L5_1.condition = "condition_EVENT_BLOSSOM_CHEST_DIE_30023" L5_1.action = "action_EVENT_BLOSSOM_CHEST_DIE_30023" L5_1.trigger_count = 0 L6_1 = {} L6_1.config_id = 1030024 L6_1.name = "GADGET_CREATE_30024" L7_1 = EventType L7_1 = L7_1.EVENT_GADGET_CREATE L6_1.event = L7_1 L6_1.source = "" L6_1.condition = "condition_EVENT_GADGET_CREATE_30024" L6_1.action = "action_EVENT_GADGET_CREATE_30024" L6_1.trigger_count = 0 L7_1 = {} L7_1.config_id = 1030025 L7_1.name = "SELECT_OPTION_30025" L8_1 = EventType L8_1 = L8_1.EVENT_SELECT_OPTION L7_1.event = L8_1 L7_1.source = "" L7_1.condition = "condition_EVENT_SELECT_OPTION_30025" L7_1.action = "action_EVENT_SELECT_OPTION_30025" L7_1.trigger_count = 0 L8_1 = {} L8_1.config_id = 1030026 L8_1.name = "SELECT_OPTION_30026" L9_1 = EventType L9_1 = L9_1.EVENT_SELECT_OPTION L8_1.event = L9_1 L8_1.source = "" L8_1.condition = "condition_EVENT_SELECT_OPTION_30026" L8_1.action = "action_EVENT_SELECT_OPTION_30026" L8_1.trigger_count = 0 L9_1 = {} L9_1.config_id = 1030027 L9_1.name = "ANY_MONSTER_DIE_30027" L10_1 = EventType L10_1 = L10_1.EVENT_ANY_MONSTER_DIE L9_1.event = L10_1 L9_1.source = "" L9_1.condition = "" L9_1.action = "action_EVENT_ANY_MONSTER_DIE_30027" L9_1.trigger_count = 0 L10_1 = {} L10_1.config_id = 1030028 L10_1.name = "BLOSSOM_PROGRESS_FINISH_30028" L11_1 = EventType L11_1 = L11_1.EVENT_BLOSSOM_PROGRESS_FINISH L10_1.event = L11_1 L10_1.source = "" L10_1.condition = "" L10_1.action = "action_EVENT_BLOSSOM_PROGRESS_FINISH_30028" L11_1 = {} L11_1.config_id = 1030029 L11_1.name = "GROUP_LOAD_30029" L12_1 = EventType L12_1 = L12_1.EVENT_GROUP_LOAD L11_1.event = L12_1 L11_1.source = "" L11_1.condition = "" L11_1.action = "action_EVENT_GROUP_LOAD_30029" L12_1 = {} L12_1.config_id = 1030030 L12_1.name = "ANY_GADGET_DIE_30030" L13_1 = EventType L13_1 = L13_1.EVENT_ANY_GADGET_DIE L12_1.event = L13_1 L12_1.source = "" L12_1.condition = "condition_EVENT_ANY_GADGET_DIE_30030" L12_1.action = "action_EVENT_ANY_GADGET_DIE_30030" L13_1 = {} L13_1.config_id = 1030031 L13_1.name = "ANY_GADGET_DIE_30031" L14_1 = EventType L14_1 = L14_1.EVENT_ANY_GADGET_DIE L13_1.event = L14_1 L13_1.source = "" L13_1.condition = "condition_EVENT_ANY_GADGET_DIE_30031" L13_1.action = "action_EVENT_ANY_GADGET_DIE_30031" L14_1 = {} L14_1.config_id = 1030032 L14_1.name = "ANY_GADGET_DIE_30032" L15_1 = EventType L15_1 = L15_1.EVENT_ANY_GADGET_DIE L14_1.event = L15_1 L14_1.source = "" L14_1.condition = "condition_EVENT_ANY_GADGET_DIE_30032" L14_1.action = "action_EVENT_ANY_GADGET_DIE_30032" L15_1 = {} L15_1.config_id = 1030033 L15_1.name = "ANY_MONSTER_DIE_30033" L16_1 = EventType L16_1 = L16_1.EVENT_ANY_MONSTER_DIE L15_1.event = L16_1 L15_1.source = "" L15_1.condition = "condition_EVENT_ANY_MONSTER_DIE_30033" L15_1.action = "action_EVENT_ANY_MONSTER_DIE_30033" L16_1 = {} L16_1.config_id = 1030034 L16_1.name = "CHALLENGE_SUCCESS_30034" L17_1 = EventType L17_1 = L17_1.EVENT_CHALLENGE_SUCCESS L16_1.event = L17_1 L16_1.source = "666" L16_1.condition = "" L16_1.action = "action_EVENT_CHALLENGE_SUCCESS_30034" L17_1 = {} L17_1.config_id = 1030035 L17_1.name = "CHALLENGE_FAIL_30035" L18_1 = EventType L18_1 = L18_1.EVENT_CHALLENGE_FAIL L17_1.event = L18_1 L17_1.source = "666" L17_1.condition = "" L17_1.action = "action_EVENT_CHALLENGE_FAIL_30035" L17_1.trigger_count = 0 L18_1 = {} L18_1.config_id = 1030036 L18_1.name = "ANY_MONSTER_DIE_30036" L19_1 = EventType L19_1 = L19_1.EVENT_ANY_MONSTER_DIE L18_1.event = L19_1 L18_1.source = "" L18_1.condition = "condition_EVENT_ANY_MONSTER_DIE_30036" L18_1.action = "action_EVENT_ANY_MONSTER_DIE_30036" L19_1 = {} L19_1.config_id = 1030040 L19_1.name = "PLATFORM_REACH_POINT_30040" L20_1 = EventType L20_1 = L20_1.EVENT_PLATFORM_REACH_POINT L19_1.event = L20_1 L19_1.source = "" L19_1.condition = "condition_EVENT_PLATFORM_REACH_POINT_30040" L19_1.action = "action_EVENT_PLATFORM_REACH_POINT_30040" L20_1 = {} L20_1.config_id = 1030041 L20_1.name = "GADGET_CREATE_30041" L21_1 = EventType L21_1 = L21_1.EVENT_GADGET_CREATE L20_1.event = L21_1 L20_1.source = "" L20_1.condition = "condition_EVENT_GADGET_CREATE_30041" L20_1.action = "action_EVENT_GADGET_CREATE_30041" L0_1[1] = L1_1 L0_1[2] = L2_1 L0_1[3] = L3_1 L0_1[4] = L4_1 L0_1[5] = L5_1 L0_1[6] = L6_1 L0_1[7] = L7_1 L0_1[8] = L8_1 L0_1[9] = L9_1 L0_1[10] = L10_1 L0_1[11] = L11_1 L0_1[12] = L12_1 L0_1[13] = L13_1 L0_1[14] = L14_1 L0_1[15] = L15_1 L0_1[16] = L16_1 L0_1[17] = L17_1 L0_1[18] = L18_1 L0_1[19] = L19_1 L0_1[20] = L20_1 triggers = L0_1 L0_1 = {} L1_1 = {} L1_1.name = "GroupCompletion" L1_1.value = 0 L1_1.no_refresh = false L0_1[1] = L1_1 variables = L0_1 L0_1 = {} L0_1.suite = 1 L0_1.end_suite = 0 L0_1.rand_suite = false init_config = L0_1 L0_1 = {} L1_1 = {} L2_1 = {} L1_1.monsters = L2_1 L2_1 = {} L1_1.gadgets = L2_1 L2_1 = {} L1_1.regions = L2_1 L2_1 = {} L3_1 = "GROUP_LOAD_30029" L2_1[1] = L3_1 L1_1.triggers = L2_1 L1_1.rand_weight = 100 L2_1 = {} L3_1 = {} L2_1.monsters = L3_1 L3_1 = {} L4_1 = 30037 L3_1[1] = L4_1 L2_1.gadgets = L3_1 L3_1 = {} L2_1.regions = L3_1 L3_1 = {} L4_1 = "GADGET_CREATE_30021" L5_1 = "GROUP_REFRESH_30022" L6_1 = "BLOSSOM_CHEST_DIE_30023" L7_1 = "SELECT_OPTION_30025" L8_1 = "ANY_MONSTER_DIE_30027" L9_1 = "BLOSSOM_PROGRESS_FINISH_30028" L10_1 = "PLATFORM_REACH_POINT_30040" 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 L3_1[6] = L9_1 L3_1[7] = L10_1 L2_1.triggers = L3_1 L2_1.rand_weight = 100 L3_1 = {} L4_1 = {} L5_1 = 30001 L6_1 = 30002 L7_1 = 30003 L8_1 = 30007 L4_1[1] = L5_1 L4_1[2] = L6_1 L4_1[3] = L7_1 L4_1[4] = L8_1 L3_1.monsters = L4_1 L4_1 = {} L3_1.gadgets = L4_1 L4_1 = {} L3_1.regions = L4_1 L4_1 = {} L5_1 = "ANY_MONSTER_DIE_30033" L4_1[1] = L5_1 L3_1.triggers = L4_1 L3_1.rand_weight = 100 L4_1 = {} L5_1 = {} L4_1.monsters = L5_1 L5_1 = {} L6_1 = 30012 L7_1 = 30039 L5_1[1] = L6_1 L5_1[2] = L7_1 L4_1.gadgets = L5_1 L5_1 = {} L4_1.regions = L5_1 L5_1 = {} L6_1 = "GADGET_CREATE_30041" L5_1[1] = L6_1 L4_1.triggers = L5_1 L4_1.rand_weight = 100 L5_1 = {} L6_1 = {} L7_1 = 30004 L8_1 = 30005 L9_1 = 30006 L10_1 = 30038 L6_1[1] = L7_1 L6_1[2] = L8_1 L6_1[3] = L9_1 L6_1[4] = L10_1 L5_1.monsters = L6_1 L6_1 = {} L5_1.gadgets = L6_1 L6_1 = {} L5_1.regions = L6_1 L6_1 = {} L7_1 = "ANY_MONSTER_DIE_30036" L6_1[1] = L7_1 L5_1.triggers = L6_1 L5_1.rand_weight = 100 L6_1 = {} L7_1 = {} L8_1 = 30008 L7_1[1] = L8_1 L6_1.monsters = L7_1 L7_1 = {} L6_1.gadgets = L7_1 L7_1 = {} L6_1.regions = L7_1 L7_1 = {} L6_1.triggers = L7_1 L6_1.rand_weight = 100 L0_1[1] = L1_1 L0_1[2] = L2_1 L0_1[3] = L3_1 L0_1[4] = L4_1 L0_1[5] = L5_1 L0_1[6] = L6_1 suites = L0_1 function L0_1(A0_2, A1_2) local L2_2, L3_2 L2_2 = A1_2.param2 if 30009 == 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_30019 = L0_1 function L0_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2, L6_2 L2_2 = ScriptLib L2_2 = L2_2.GetBlossomScheduleStateByGroupId L3_2 = A0_2 L4_2 = 0 L2_2 = L2_2(L3_2, L4_2) if 0 == L2_2 or 1 == L2_2 then L3_2 = ScriptLib L3_2 = L3_2.SetWorktopOptions L4_2 = A0_2 L5_2 = {} L6_2 = 187 L5_2[1] = L6_2 L3_2(L4_2, L5_2) end L3_2 = ScriptLib L3_2 = L3_2.RefreshBlossomDropRewardByGroupId L4_2 = A0_2 L5_2 = 303001030 L3_2 = L3_2(L4_2, L5_2) if 0 ~= L3_2 then L3_2 = -1 return L3_2 end L3_2 = 0 return L3_2 end action_EVENT_GADGET_STATE_CHANGE_30019 = L0_1 function L0_1(A0_2, A1_2) local L2_2, L3_2 L2_2 = A1_2.param2 if 30010 == 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_30020 = L0_1 function L0_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2, L6_2 L2_2 = ScriptLib L2_2 = L2_2.GetBlossomScheduleStateByGroupId L3_2 = A0_2 L4_2 = 0 L2_2 = L2_2(L3_2, L4_2) if 0 == L2_2 or 1 == L2_2 then L3_2 = ScriptLib L3_2 = L3_2.SetWorktopOptions L4_2 = A0_2 L5_2 = {} L6_2 = 187 L5_2[1] = L6_2 L3_2(L4_2, L5_2) end L3_2 = ScriptLib L3_2 = L3_2.RefreshBlossomDropRewardByGroupId L4_2 = A0_2 L5_2 = 303001030 L3_2 = L3_2(L4_2, L5_2) if 0 ~= L3_2 then L3_2 = -1 return L3_2 end L3_2 = 0 return L3_2 end action_EVENT_GADGET_STATE_CHANGE_30020 = L0_1 function L0_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2, L6_2 L2_2 = A1_2.param1 if 30009 == L2_2 then L2_2 = GadgetState L2_2 = L2_2.Default L3_2 = ScriptLib L3_2 = L3_2.GetGadgetStateByConfigId L4_2 = A0_2 L5_2 = 0 L6_2 = A1_2.param1 L3_2 = L3_2(L4_2, L5_2, L6_2) if L2_2 == L3_2 then goto lbl_16 end end L2_2 = false do return L2_2 end ::lbl_16:: L2_2 = true return L2_2 end condition_EVENT_GADGET_CREATE_30021 = L0_1 function L0_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 = 303001030 L5_2 = 30009 L6_2 = {} L7_2 = 37 L6_2[1] = L7_2 L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2) if 0 ~= L2_2 then L2_2 = -1 return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.RefreshBlossomDropRewardByGroupId L3_2 = A0_2 L4_2 = 303001030 L2_2 = L2_2(L3_2, L4_2) if 0 ~= L2_2 then L2_2 = -1 return L2_2 end L2_2 = 0 return L2_2 end action_EVENT_GADGET_CREATE_30021 = L0_1 function L0_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2 L2_2 = ScriptLib L2_2 = L2_2.CreateGadget L3_2 = A0_2 L4_2 = {} L4_2.config_id = 30009 L2_2 = L2_2(L3_2, L4_2) if 0 ~= L2_2 then L2_2 = -1 return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.SetBlossomScheduleStateByGroupId L3_2 = A0_2 L4_2 = 303001030 L5_2 = 1 L2_2 = L2_2(L3_2, L4_2, L5_2) if 0 ~= L2_2 then L2_2 = -1 return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.RefreshBlossomDropRewardByGroupId L3_2 = A0_2 L4_2 = 303001030 L2_2 = L2_2(L3_2, L4_2) if 0 ~= L2_2 then L2_2 = -1 return L2_2 end L2_2 = 0 return L2_2 end action_EVENT_GROUP_REFRESH_30022 = L0_1 function L0_1(A0_2, A1_2) local L2_2 L2_2 = A1_2.param1 if 30011 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_BLOSSOM_CHEST_DIE_30023 = L0_1 function L0_1(A0_2, A1_2) local L2_2, L3_2, L4_2 L2_2 = ScriptLib L2_2 = L2_2.RefreshBlossomGroup L3_2 = A0_2 L4_2 = {} L4_2.group_id = 0 L4_2.suite = 2 L4_2.exclude_prev = true L2_2 = L2_2(L3_2, L4_2) if 0 ~= L2_2 then L2_2 = -1 return L2_2 end L2_2 = 0 return L2_2 end action_EVENT_BLOSSOM_CHEST_DIE_30023 = L0_1 function L0_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2, L6_2 L2_2 = A1_2.param1 if 30010 == L2_2 then L2_2 = GadgetState L2_2 = L2_2.GearAction2 L3_2 = ScriptLib L3_2 = L3_2.GetGadgetStateByConfigId L4_2 = A0_2 L5_2 = 0 L6_2 = A1_2.param1 L3_2 = L3_2(L4_2, L5_2, L6_2) if L2_2 == L3_2 then goto lbl_16 end end L2_2 = false do return L2_2 end ::lbl_16:: L2_2 = true return L2_2 end condition_EVENT_GADGET_CREATE_30024 = L0_1 function L0_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2, L6_2 L2_2 = ScriptLib L2_2 = L2_2.GetBlossomScheduleStateByGroupId L3_2 = A0_2 L4_2 = 0 L2_2 = L2_2(L3_2, L4_2) if 0 == L2_2 or 1 == L2_2 then L3_2 = ScriptLib L3_2 = L3_2.SetWorktopOptions L4_2 = A0_2 L5_2 = {} L6_2 = 187 L5_2[1] = L6_2 L3_2(L4_2, L5_2) end L3_2 = ScriptLib L3_2 = L3_2.RefreshBlossomDropRewardByGroupId L4_2 = A0_2 L5_2 = 303001030 L3_2 = L3_2(L4_2, L5_2) if 0 ~= L3_2 then L3_2 = -1 return L3_2 end L3_2 = 0 return L3_2 end action_EVENT_GADGET_CREATE_30024 = L0_1 function L0_1(A0_2, A1_2) local L2_2 L2_2 = A1_2.param1 if 30009 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = A1_2.param2 if 37 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_SELECT_OPTION_30025 = L0_1 function L0_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2, L6_2 L2_2 = ScriptLib L2_2 = L2_2.AddExtraGroupSuite L3_2 = A0_2 L4_2 = 303001030 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 = 303001030 L5_2 = 4 L2_2(L3_2, L4_2, L5_2) L2_2 = ScriptLib L2_2 = L2_2.DelWorktopOptionByGroupId L3_2 = A0_2 L4_2 = 303001030 L5_2 = 30009 L6_2 = 37 L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2) if 0 ~= L2_2 then L2_2 = -1 return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.SetGadgetStateByConfigId L3_2 = A0_2 L4_2 = 30009 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 = -1 return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.SetPlatformRouteId L3_2 = A0_2 L4_2 = 30037 L5_2 = 300200251 L2_2 = L2_2(L3_2, L4_2, L5_2) if 0 ~= L2_2 then L2_2 = -1 return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.StartPlatform L3_2 = A0_2 L4_2 = 30037 L2_2 = L2_2(L3_2, L4_2) if 0 ~= L2_2 then L2_2 = -1 return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.SetBlossomScheduleStateByGroupId L3_2 = A0_2 L4_2 = 303001030 L5_2 = 2 L2_2 = L2_2(L3_2, L4_2, L5_2) if 0 ~= L2_2 then L2_2 = -1 return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.RefreshBlossomDropRewardByGroupId L3_2 = A0_2 L4_2 = 303001030 L2_2 = L2_2(L3_2, L4_2) if 0 ~= L2_2 then L2_2 = -1 return L2_2 end L2_2 = 0 return L2_2 end action_EVENT_SELECT_OPTION_30025 = L0_1 function L0_1(A0_2, A1_2) local L2_2 L2_2 = A1_2.param1 if 30010 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = A1_2.param2 if 187 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_SELECT_OPTION_30026 = L0_1 function L0_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2 L2_2 = ScriptLib L2_2 = L2_2.AddExtraGroupSuite L3_2 = A0_2 L4_2 = 303001030 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 = 303001030 L5_2 = 4 L2_2(L3_2, L4_2, L5_2) L2_2 = ScriptLib L2_2 = L2_2.DelWorktopOptionByGroupId L3_2 = A0_2 L4_2 = 303001030 L5_2 = 30010 L6_2 = 187 L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2) if 0 ~= L2_2 then L2_2 = -1 return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.SetGadgetStateByConfigId L3_2 = A0_2 L4_2 = 30010 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 = -1 return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.SetBlossomScheduleStateByGroupId L3_2 = A0_2 L4_2 = 303001030 L5_2 = 2 L2_2 = L2_2(L3_2, L4_2, L5_2) if 0 ~= L2_2 then L2_2 = -1 return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.RefreshBlossomDropRewardByGroupId L3_2 = A0_2 L4_2 = 303001030 L2_2 = L2_2(L3_2, L4_2) if 0 ~= L2_2 then L2_2 = -1 return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.ActiveChallenge L3_2 = A0_2 L4_2 = 666 L5_2 = 208 L6_2 = 303001029 L7_2 = 6 L8_2 = 0 L9_2 = 0 L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2) if 0 ~= L2_2 then L2_2 = -1 return L2_2 end L2_2 = 0 return L2_2 end action_EVENT_SELECT_OPTION_30026 = L0_1 function L0_1(A0_2, A1_2) local L2_2, L3_2, L4_2 L2_2 = ScriptLib L2_2 = L2_2.AddBlossomScheduleProgressByGroupId L3_2 = A0_2 L4_2 = 303001030 L2_2(L3_2, L4_2) L2_2 = 0 return L2_2 end action_EVENT_ANY_MONSTER_DIE_30027 = L0_1 function L0_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2 L2_2 = ScriptLib L2_2 = L2_2.CreateBlossomChestByGroupId L3_2 = A0_2 L4_2 = 303001030 L5_2 = 30011 L2_2 = L2_2(L3_2, L4_2, L5_2) if 0 ~= L2_2 then L2_2 = -1 return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.SetBlossomScheduleStateByGroupId L3_2 = A0_2 L4_2 = 303001030 L5_2 = 3 L2_2 = L2_2(L3_2, L4_2, L5_2) if 0 ~= L2_2 then L2_2 = -1 return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.SetGroupVariableValue L3_2 = A0_2 L4_2 = "GroupCompletion" L5_2 = 1 L2_2 = L2_2(L3_2, L4_2, L5_2) if 0 ~= L2_2 then L2_2 = -1 return L2_2 end L2_2 = 0 return L2_2 end action_EVENT_BLOSSOM_PROGRESS_FINISH_30028 = L0_1 function L0_1(A0_2, A1_2) local L2_2, L3_2, L4_2 L2_2 = ScriptLib L2_2 = L2_2.RefreshBlossomGroup L3_2 = A0_2 L4_2 = {} L4_2.group_id = 0 L4_2.suite = 2 L4_2.exclude_prev = true L2_2 = L2_2(L3_2, L4_2) if 0 ~= L2_2 then L2_2 = -1 return L2_2 end L2_2 = 0 return L2_2 end action_EVENT_GROUP_LOAD_30029 = L0_1 function L0_1(A0_2, A1_2) local L2_2 L2_2 = A1_2.param1 if 30016 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_ANY_GADGET_DIE_30030 = L0_1 function L0_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 = 30013 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 = -1 return L2_2 end L2_2 = 0 return L2_2 end action_EVENT_ANY_GADGET_DIE_30030 = L0_1 function L0_1(A0_2, A1_2) local L2_2 L2_2 = A1_2.param1 if 30017 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_ANY_GADGET_DIE_30031 = L0_1 function L0_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 = 30014 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 = -1 return L2_2 end L2_2 = 0 return L2_2 end action_EVENT_ANY_GADGET_DIE_30031 = L0_1 function L0_1(A0_2, A1_2) local L2_2 L2_2 = A1_2.param1 if 30018 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_ANY_GADGET_DIE_30032 = L0_1 function L0_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 = 30015 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 = -1 return L2_2 end L2_2 = 0 return L2_2 end action_EVENT_ANY_GADGET_DIE_30032 = L0_1 function L0_1(A0_2, A1_2) local L2_2, L3_2, L4_2 L2_2 = ScriptLib L2_2 = L2_2.GetGroupMonsterCountByGroupId L3_2 = A0_2 L4_2 = 303001030 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_ANY_MONSTER_DIE_30033 = L0_1 function L0_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.AddExtraGroupSuite L3_2 = A0_2 L4_2 = 303001030 L5_2 = 5 L2_2(L3_2, L4_2, L5_2) L2_2 = {} L2_2.x = 1400 L2_2.y = 322 L2_2.z = -959 L3_2 = ScriptLib L3_2 = L3_2.ShowReminderRadius L4_2 = A0_2 L5_2 = 400004 L6_2 = L2_2 L7_2 = 25 L3_2 = L3_2(L4_2, L5_2, L6_2, L7_2) if 0 ~= L3_2 then L3_2 = -1 return L3_2 end L3_2 = 0 return L3_2 end action_EVENT_ANY_MONSTER_DIE_30033 = L0_1 function L0_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2 L2_2 = ScriptLib L2_2 = L2_2.SetPlatformRouteId L3_2 = A0_2 L4_2 = 30037 L5_2 = 300200252 L2_2 = L2_2(L3_2, L4_2, L5_2) if 0 ~= L2_2 then L2_2 = -1 return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.StartPlatform L3_2 = A0_2 L4_2 = 30037 L2_2 = L2_2(L3_2, L4_2) if 0 ~= L2_2 then L2_2 = -1 return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.SetGadgetStateByConfigId L3_2 = A0_2 L4_2 = 30012 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 = -1 return L2_2 end L2_2 = 0 return L2_2 end action_EVENT_CHALLENGE_SUCCESS_30034 = L0_1 function L0_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 = 30012 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 = -1 return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.RefreshGroup L3_2 = A0_2 L4_2 = {} L4_2.group_id = 303001030 L4_2.suite = 2 L2_2 = L2_2(L3_2, L4_2) if 0 ~= L2_2 then L2_2 = -1 return L2_2 end L2_2 = 0 return L2_2 end action_EVENT_CHALLENGE_FAIL_30035 = L0_1 function L0_1(A0_2, A1_2) local L2_2, L3_2, L4_2 L2_2 = ScriptLib L2_2 = L2_2.GetGroupMonsterCountByGroupId L3_2 = A0_2 L4_2 = 303001030 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_ANY_MONSTER_DIE_30036 = L0_1 function L0_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.AddExtraGroupSuite L3_2 = A0_2 L4_2 = 303001030 L5_2 = 6 L2_2(L3_2, L4_2, L5_2) L2_2 = {} L2_2.x = 1400 L2_2.y = 322 L2_2.z = -959 L3_2 = ScriptLib L3_2 = L3_2.ShowReminderRadius L4_2 = A0_2 L5_2 = 400004 L6_2 = L2_2 L7_2 = 25 L3_2 = L3_2(L4_2, L5_2, L6_2, L7_2) if 0 ~= L3_2 then L3_2 = -1 return L3_2 end L3_2 = 0 return L3_2 end action_EVENT_ANY_MONSTER_DIE_30036 = L0_1 function L0_1(A0_2, A1_2) local L2_2 L2_2 = A1_2.param1 if 30037 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = A1_2.param2 if 300200252 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = A1_2.param3 if 2 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_PLATFORM_REACH_POINT_30040 = L0_1 function L0_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2 L2_2 = ScriptLib L2_2 = L2_2.CreateGadget L3_2 = A0_2 L4_2 = {} L4_2.config_id = 30011 L2_2 = L2_2(L3_2, L4_2) if 0 ~= L2_2 then L2_2 = -1 return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.StopPlatform L3_2 = A0_2 L4_2 = 30037 L2_2 = L2_2(L3_2, L4_2) if 0 ~= L2_2 then L2_2 = -1 return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.KillEntityByConfigId L3_2 = A0_2 L4_2 = {} L4_2.config_id = 30037 L2_2 = L2_2(L3_2, L4_2) if 0 ~= L2_2 then L2_2 = -1 return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.SetGadgetStateByConfigId L3_2 = A0_2 L4_2 = 30039 L5_2 = GadgetState L5_2 = L5_2.GearAction1 L2_2 = L2_2(L3_2, L4_2, L5_2) if 0 ~= L2_2 then L2_2 = -1 return L2_2 end L2_2 = 0 return L2_2 end action_EVENT_PLATFORM_REACH_POINT_30040 = L0_1 function L0_1(A0_2, A1_2) local L2_2 L2_2 = A1_2.param1 if 30012 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_GADGET_CREATE_30041 = L0_1 function L0_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2 L2_2 = {} L2_2.x = 1399 L2_2.y = 324 L2_2.z = -961 L3_2 = ScriptLib L3_2 = L3_2.ShowReminderRadius L4_2 = A0_2 L5_2 = 400010 L6_2 = L2_2 L7_2 = 25 L3_2 = L3_2(L4_2, L5_2, L6_2, L7_2) if 0 ~= L3_2 then L3_2 = -1 return L3_2 end L3_2 = 0 return L3_2 end action_EVENT_GADGET_CREATE_30041 = L0_1