require("config.util") local mods = {} function mods.fix_frames(pat) local baseX = 64 +8 local baseY = 183 +50 +4 local baseDur = 8 --stand pat:update_frame(0,0,0, { tex_index = 617 , duration = baseDur , tex_w = 68 , tex_h = 121 , tex_offset_x = baseX +0 , tex_offset_y = baseY +0 }) pat:update_frame(0,0,0,function(frame) frame.hurtbox[1].y1 = frame.hurtbox[1].y1 - 15 frame.collision[1].y1 = frame.collision[1].y1 - 15 end) pat:update_frame(0,0,1, { tex_index = 618 , duration = baseDur , tex_w = 68 , tex_h = 121 , tex_offset_x = baseX +0 , tex_offset_y = baseY +0 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(0,0,2, { tex_index = 619 , duration = baseDur , tex_w = 68 , tex_h = 122 , tex_offset_x = baseX +0 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(0,0,3, { tex_index = 620 , duration = baseDur , tex_w = 68 , tex_h = 123 , tex_offset_x = baseX +0 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(0,0,4, { tex_index = 621 , duration = baseDur , tex_w = 68 , tex_h = 122 , tex_offset_x = baseX +0 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(0,0,5, { tex_index = 622 , duration = baseDur , tex_w = 68 , tex_h = 121 , tex_offset_x = baseX +0 , tex_offset_y = baseY +0 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) for idx = 6 , 7 do pat:remove_frame(0,0,6) end baseDur = 2 pat:update_frame(1,0,0, { tex_index = 622 , duration = baseDur , tex_w = 68 , tex_h = 121 , tex_offset_x = baseX +0 , tex_offset_y = baseY +0 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(1,0,1, { tex_index = 622 , duration = baseDur , tex_w = 68 , tex_h = 121 , tex_offset_x = baseX +0 , tex_offset_y = baseY +0 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(1,0,2, { tex_index = 433 , duration = baseDur , tex_w = 121 , tex_h = 117 , tex_offset_x = baseX +98 , tex_offset_y = baseY -16 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(1,0,2,function(frame) frame.hurtbox[1].y1 = frame.hurtbox[1].y1 + 30 frame.collision[1].y1 = frame.collision[1].y1 + 20 end) pat:update_frame(1,0,3, { tex_index = 433 , duration = baseDur , tex_w = 121 , tex_h = 117 , tex_offset_x = baseX +98 , tex_offset_y = baseY -16 , hurtbox = pat:get_frame(1,0,2).hurtbox , collision = pat:get_frame(1,0,2).collision }) pat:update_frame(1,0,4, { tex_index = 434 , duration = baseDur , tex_w = 92 , tex_h = 102 , tex_offset_x = baseX +36 , tex_offset_y = baseY -36 , hurtbox = pat:get_frame(2,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(1,0,5, { tex_index = 434 , duration = baseDur , tex_w = 92 , tex_h = 102 , tex_offset_x = baseX +36 , tex_offset_y = baseY -36 , hurtbox = pat:get_frame(2,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision }) baseDur = 8 pat:split_frame(2,0,0,1,1) pat:split_frame(2,0,0,1,1) pat:update_frame(2,0,0, { tex_index = 435 , duration = baseDur , tex_w = 92 , tex_h = 102 , tex_offset_x = baseX +36 , tex_offset_y = baseY -36 }) pat:update_frame(2,0,1, { tex_index = 438 , duration = baseDur , tex_w = 92 , tex_h = 102 , tex_offset_x = baseX +36 , tex_offset_y = baseY -36 , hurtbox = pat:get_frame(2,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(2,0,2, { tex_index = 439 , duration = baseDur , tex_w = 92 , tex_h = 102 , tex_offset_x = baseX +36 , tex_offset_y = baseY -36 , hurtbox = pat:get_frame(2,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision }) baseDur = 2 pat:update_frame(3,0,0, { tex_index = 436 , duration = baseDur , tex_w = 121 , tex_h = 117 , tex_offset_x = baseX +98 , tex_offset_y = baseY -16 , hurtbox = pat:get_frame(2,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(3,0,1, { tex_index = 436 , duration = baseDur , tex_w = 121 , tex_h = 117 , tex_offset_x = baseX +98 , tex_offset_y = baseY -16 , hurtbox = pat:get_frame(2,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(3,0,2, { tex_index = 437 , duration = baseDur , tex_w = 98 , tex_h = 122 , tex_offset_x = baseX +60 , tex_offset_y = baseY +0 , hurtbox = pat:get_frame(1,0,2).hurtbox , collision = pat:get_frame(1,0,2).collision }) pat:update_frame(3,0,3, { tex_index = 437 , duration = baseDur , tex_w = 98 , tex_h = 122 , tex_offset_x = baseX +60 , tex_offset_y = baseY +0 , hurtbox = pat:get_frame(1,0,2).hurtbox , collision = pat:get_frame(1,0,2).collision }) pat:update_frame(3,0,4, { tex_index = 620 , duration = baseDur , tex_w = 68 , tex_h = 123 , tex_offset_x = baseX +0 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(3,0,5, { tex_index = 620 , duration = baseDur , tex_w = 68 , tex_h = 123 , tex_offset_x = baseX +0 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) baseDur = 7 pat:update_frame(4,0,0, { tex_index = 637 , duration = baseDur , tex_w = 66 , tex_h = 119 , tex_offset_x = baseX -8 , tex_offset_y = baseY +0 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(4,0,1, { tex_index = 638 , duration = baseDur , tex_w = 65 , tex_h = 118 , tex_offset_x = baseX -10 , tex_offset_y = baseY +0 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(4,0,2, { tex_index = 639 , duration = baseDur , tex_w = 65 , tex_h = 117 , tex_offset_x = baseX -10 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(4,0,3, { tex_index = 640 , duration = baseDur , tex_w = 65 , tex_h = 117 , tex_offset_x = baseX -10 , tex_offset_y = baseY -6 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(4,0,4, { tex_index = 641 , duration = baseDur , tex_w = 66 , tex_h = 119 , tex_offset_x = baseX -8 , tex_offset_y = baseY +0 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(4,0,5, { tex_index = 642 , duration = baseDur , tex_w = 65 , tex_h = 118 , tex_offset_x = baseX -10 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(4,0,6, { tex_index = 643 , duration = baseDur , tex_w = 65 , tex_h = 117 , tex_offset_x = baseX -10 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(4,0,7, { tex_index = 644 , duration = baseDur , tex_w = 65 , tex_h = 117 , tex_offset_x = baseX -10 , tex_offset_y = baseY -6 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(5,0,0, { tex_index = 220 , duration = baseDur , tex_w = 96 , tex_h = 123 , tex_offset_x = (baseX -4)/2 , tex_offset_y = (baseY +6)/2 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(5,0,1, { tex_index = 221 , duration = baseDur , tex_w = 96 , tex_h = 123 , tex_offset_x = (baseX -4)/2 , tex_offset_y = (baseY +4)/2 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(5,0,2, { tex_index = 222 , duration = baseDur , tex_w = 96 , tex_h = 123 , tex_offset_x = (baseX -4)/2 , tex_offset_y = (baseY +8)/2 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(5,0,3, { tex_index = 223 , duration = baseDur , tex_w = 96 , tex_h = 124 , tex_offset_x = (baseX -4)/2 , tex_offset_y = (baseY +10)/2 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(5,0,4, { tex_index = 224 , duration = baseDur , tex_w = 96 , tex_h = 122 , tex_offset_x = (baseX -4)/2 , tex_offset_y = (baseY +8)/2 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(5,0,5, { tex_index = 225 , duration = baseDur , tex_w = 96 , tex_h = 122 , tex_offset_x = (baseX -4)/2 , tex_offset_y = (baseY +6)/2 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(5,0,6, { tex_index = 226 , duration = baseDur , tex_w = 96 , tex_h = 123 , tex_offset_x = (baseX -4)/2 , tex_offset_y = (baseY +8)/2 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(5,0,7, { tex_index = 227 , duration = baseDur , tex_w = 96 , tex_h = 124 , tex_offset_x = (baseX -4)/2 , tex_offset_y = (baseY +10)/2 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) --jump pat:update_frame(6,0,0, { tex_index = 314 , tex_w = 89 , tex_h = 111 , tex_offset_x = baseX +34 , tex_offset_y = baseY -18 , duration = 2 , hurtbox = pat:get_frame(1,0,2).hurtbox , collision = pat:get_frame(1,0,2).collision }) pat:update_frame(6,0,1, { tex_index = 314 , tex_w = 89 , tex_h = 111 , tex_offset_x = baseX +34 , tex_offset_y = baseY -18 , duration = 3 , hurtbox = pat:get_frame(1,0,2).hurtbox , collision = pat:get_frame(1,0,2).collision }) pat:update_frame(6,1,0, { tex_index = 315 , tex_w = 84 , tex_h = 121 , tex_offset_x = baseX +34 , tex_offset_y = baseY +10 , duration = 1 }) pat:update_frame(6,1,0,function(frame) frame.hurtbox[1].y1 = frame.hurtbox[1].y1 - 15 end) pat:update_frame(6,1,1, { tex_index = 315 , tex_w = 84 , tex_h = 121 , tex_offset_x = baseX +34 , tex_offset_y = baseY +10 , duration = 2 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(6,1,2, { tex_index = 316 , tex_w = 84 , tex_h = 121 , tex_offset_x = baseX +34 , tex_offset_y = baseY +10 , duration = 4 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(6,1,3, { tex_index = 317 , tex_w = 84 , tex_h = 121 , tex_offset_x = baseX +34 , tex_offset_y = baseY +10 , duration = 15 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) --was3-3-3 pat:update_frame(6,2,0, { tex_index = 318 , tex_w = 100 , tex_h = 121 , tex_offset_x = baseX +46 , tex_offset_y = baseY +20 +0 , duration = 2 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(6,2,1, { tex_index = 318 , tex_w = 100 , tex_h = 121 , tex_offset_x = baseX +46 , tex_offset_y = baseY +20 +0 , duration = 1 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(6,2,2, { tex_index = 318 , tex_w = 100 , tex_h = 121 , tex_offset_x = baseX +46 , tex_offset_y = baseY +20 +0 , duration = 2 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:split_frame(6,3,1,2,2) pat:update_frame(6,3,0, { tex_index = 319 , tex_w = 96 , tex_h = 126 , tex_offset_x = baseX +46 , tex_offset_y = baseY +16 , duration = 4 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(6,3,1, { tex_index = 320 , tex_w = 96 , tex_h = 126 , tex_offset_x = baseX +46 , tex_offset_y = baseY +16 , duration = 4 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(6,3,2, { tex_index = 321 , tex_w = 96 , tex_h = 126 , tex_offset_x = baseX +46 , tex_offset_y = baseY +16 , duration = 4 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) --air pat:split_frame(9,0,1,2,2) pat:update_frame(9,0,0, { tex_index = 319 , tex_w = 96 , tex_h = 126 , tex_offset_x = baseX +46 , tex_offset_y = baseY +16 , duration = 4 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(9,0,1, { tex_index = 320 , tex_w = 96 , tex_h = 126 , tex_offset_x = baseX +46 , tex_offset_y = baseY +16 , duration = 4 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(9,0,2, { tex_index = 321 , tex_w = 96 , tex_h = 126 , tex_offset_x = baseX +46 , tex_offset_y = baseY +16 , duration = 4 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) --land pat:update_frame(10,0,0, { tex_index = 619 , duration = 2 , tex_w = 68 , tex_h = 122 , tex_offset_x = baseX +0 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(10,0,1, { tex_index = 619 , duration = 2 , tex_w = 68 , tex_h = 122 , tex_offset_x = baseX +0 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) --pat:update_frame(10,0,0, { tex_index = 236 , tex_w = 94 , tex_h = 118 , tex_offset_x = baseX +68 , tex_offset_y = baseY -6 , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) --pat:update_frame(10,0,1, { tex_index = 236 , tex_w = 94 , tex_h = 118 , tex_offset_x = baseX +68 , tex_offset_y = baseY -6 , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) --grounddash --29f total // 38f with 9f 5A pat:update_frame(200,0,0, { tex_index = 236 , tex_w = 94 , tex_h = 118 , tex_offset_x = baseX +68 , tex_offset_y = baseY -6 , duration = 2 , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(200,0,0,function(frame) frame.hurtbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[2].y1 = -75 frame.hurtbox[2].x1 = frame.hurtbox[2].x1 - 40 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 - 10 frame.hurtbox[3] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[3].y1 = -45 frame.hurtbox[3].x1 = frame.hurtbox[3].x1 - 50 frame.hurtbox[3].x2 = frame.hurtbox[3].x2 + 5 frame.hurtbox[1].x1 = frame.hurtbox[1].x1 - 20 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 - 20 frame.hurtbox[1].y1 = frame.hurtbox[1].y1 - 15 --frame.hurtbox[4] = pat:get_frame(0,0,0).hurtbox[1] --frame.hurtbox[4].x1 = frame.hurtbox[1].x1 - 25 --frame.hurtbox[4].x2 = frame.hurtbox[1].x2 + 5 --frame.hurtbox[4].y1 = frame.hurtbox[1].y1 + 65 --frame.hurtbox[4].y2 = frame.hurtbox[4].y1 + 45 end) pat:update_frame(200,0,1, { tex_index = 237 , tex_w = 81 , tex_h = 118 , tex_offset_x = baseX +30 , tex_offset_y = baseY -12 , duration = 2 , hurtbox = pat:get_frame(200,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(200,0,1,function(frame) frame.hurtbox[1].y1 = frame.hurtbox[1].y1 + 15 frame.hurtbox[1].x1 = frame.hurtbox[1].x1 - 5 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 - 5 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 + 5 frame.hurtbox[3].x2 = frame.hurtbox[3].x2 + 15 --frame.hurtbox[4].x1 = frame.hurtbox[4].x1 - 10 --frame.hurtbox[4].x2 = frame.hurtbox[4].x2 + 10 end) pat:update_frame(200,0,2, { tex_index = 238 , tex_w = 98 , tex_h = 114 , tex_offset_x = baseX +56 , tex_offset_y = baseY -8 -4 , duration = 6 , hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(200,0,3, { tex_index = 239 , tex_w = 121 , tex_h = 114 , tex_offset_x = baseX +56 , tex_offset_y = baseY -8 -4 , duration = 2 , hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(200,0,4, { tex_index = 239 , tex_w = 121 , tex_h = 114 , tex_offset_x = baseX +56 , tex_offset_y = baseY -8 -4 , duration = 1 , hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(99,3,0).collision }) pat:remove_frame(200,0,6) pat:remove_frame(200,0,5) pat:update_frame(200,1,0, { tex_index = 236 , tex_w = 0 , tex_h = 116 , tex_offset_x = baseX -8 , tex_offset_y = baseY -18 , duration = 3 , hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(99,3,0).collision }) pat:update_frame(200,1,1, { tex_index = 236 , tex_w = 0 , tex_h = 116 , tex_offset_x = baseX -8 , tex_offset_y = baseY -18 , duration = 3 , hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(99,3,0).collision }) --dashend pat:get_sequence(204,0):set_priority (5,50) pat:update_frame(204,0,0, { tex_index = 240 , tex_w = 140 , tex_h = 114 , tex_offset_x = baseX +140 , tex_offset_y = baseY -8 -4 , duration = 3 , hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(99,3,0).collision }) pat:update_frame(204,0,1, { tex_index = 238 , tex_w = 98 , tex_h = 114 , tex_offset_x = baseX +56 , tex_offset_y = baseY -8 -4 , duration = 6-2 , hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(99,3,0).collision }) pat:update_frame(204,0,2, { tex_index = 237 , tex_w = 81 , tex_h = 118 , tex_offset_x = baseX +30 , tex_offset_y = baseY -12 , duration = 3 , hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(204,0,3, { tex_index = 236 , tex_w = 94 , tex_h = 118 , tex_offset_x = baseX +68 , tex_offset_y = baseY -8 , duration = 3 , hurtbox = pat:get_frame(200,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) --hardlanding pat:update_frame(215,0,0, { tex_index = 237 , tex_w = 81 , tex_h = 118 , tex_offset_x = baseX +30 , tex_offset_y = baseY -12 , duration = 12 , hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(215,0,1, { tex_index = 236 , tex_w = 94 , tex_h = 118 , tex_offset_x = baseX +68 , tex_offset_y = baseY -6 , duration = 6 , hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) --backdash --33f total // 38f with 9f 5A pat:update_frame(201,0,0, { tex_index = 236 , tex_w = 94 , tex_h = 118 , tex_offset_x = baseX +68 , tex_offset_y = baseY -6 , duration = 3 , hurtbox = pat:get_frame(200,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(201,0,1, { tex_index = 237 , tex_w = 81 , tex_h = 118 , tex_offset_x = baseX +30 , tex_offset_y = baseY -12 , duration = 3 , hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(201,1,0, { tex_index = 239 , tex_w = 121 , tex_h = 114 , tex_offset_x = baseX +56 , tex_offset_y = baseY -8 -4 , duration = 2 , hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(99,3,0).collision , fflags = 0x00007004 }) pat:update_frame(201,2,0, { tex_index = 239 , tex_w = 121 , tex_h = 114 , tex_offset_x = baseX +56 , tex_offset_y = baseY -8 -4 , duration = 2 , hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(99,3,0).collision , fflags = 0x00007004 }) pat:split_frame(201,3,1,1,1) pat:split_frame(201,3,1,1,1) pat:split_frame(201,3,1,1,1) pat:update_frame(201,3,0, { tex_index = 239 , tex_w = 121 , tex_h = 114 , tex_offset_x = baseX +56 , tex_offset_y = baseY -8 -4 , duration = 2 , hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(99,3,0).collision , fflags = 0x00000404 }) pat:update_frame(201,3,1, { tex_index = 238 , tex_w = 98 , tex_h = 114 , tex_offset_x = baseX +56 , tex_offset_y = baseY -8 -4 , duration = 14-4 , hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(99,3,0).collision , fflags = 0x00000404 }) pat:update_frame(201,3,2, { tex_index = 238 , tex_w = 98 , tex_h = 114 , tex_offset_x = baseX +56 , tex_offset_y = baseY -8 -4 , duration = 2 , hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(99,3,0).collision }) pat:update_frame(201,3,3, { tex_index = 237 , tex_w = 81 , tex_h = 118 , tex_offset_x = baseX +30 , tex_offset_y = baseY -12 , duration = 4 , hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(201,3,4, { tex_index = 236 , tex_w = 94 , tex_h = 118 , tex_offset_x = baseX +68 , tex_offset_y = baseY -8 , duration = 4 , hurtbox = pat:get_frame(200,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) --airdash pat:update_frame(202,0,0, { tex_index = 236 , tex_w = 94 , tex_h = 118 , tex_offset_x = baseX +68 , tex_offset_y = baseY -6 +12 , duration = 3 , hurtbox = pat:get_frame(200,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(202,0,0,function(frame) frame.hurtbox[4] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[4].x1 = frame.hurtbox[1].x1 - 25 frame.hurtbox[4].x2 = frame.hurtbox[1].x2 - 5 frame.hurtbox[4].y1 = frame.hurtbox[1].y1 + 65 frame.hurtbox[4].y2 = frame.hurtbox[4].y1 + 45 for idx = 1 , 4 do frame.hurtbox[idx].y1 = frame.hurtbox[idx].y1 - 12 frame.hurtbox[idx].y2 = frame.hurtbox[idx].y2 - 12 end frame.hurtbox[1].y2 = frame.hurtbox[1].y2 - 10 frame.hurtbox[2].y2 = frame.hurtbox[2].y2 - 10 frame.hurtbox[3].y2 = frame.hurtbox[3].y2 - 10 end) pat:update_frame(202,0,1, { tex_index = 236 , tex_w = 94 , tex_h = 118 , tex_offset_x = baseX +68 , tex_offset_y = baseY -6 +12 , duration = 3 , hurtbox = pat:get_frame(202,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(202,0,2, { tex_index = 237 , tex_w = 81 , tex_h = 118 , tex_offset_x = baseX +30 , tex_offset_y = baseY -12 +20 , duration = 3 , hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(202,0,2,function(frame) frame.hurtbox[4] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[4].x1 = frame.hurtbox[1].x1 - 25 frame.hurtbox[4].x2 = frame.hurtbox[1].x2 - 5 frame.hurtbox[4].y1 = frame.hurtbox[1].y1 + 65 -15 frame.hurtbox[4].y2 = frame.hurtbox[4].y1 + 45 for idx = 1 , 4 do frame.hurtbox[idx].y1 = frame.hurtbox[idx].y1 - 20 frame.hurtbox[idx].y2 = frame.hurtbox[idx].y2 - 20 end frame.hurtbox[1].y2 = frame.hurtbox[1].y2 - 10 frame.hurtbox[2].y2 = frame.hurtbox[2].y2 - 10 frame.hurtbox[3].y2 = frame.hurtbox[3].y2 - 10 end) pat:update_frame(202,0,3, { tex_index = 242 , tex_w = 103 , tex_h = 110 , tex_offset_x = (baseX +40) , tex_offset_y = (baseY -18+16) , duration = 3 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(202,0,3,function(frame) frame.hurtbox[1].x1 = frame.hurtbox[1].x1 + 40 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 + 40 frame.hurtbox[1].y2 = -50 frame.hurtbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[2].x1 = frame.hurtbox[1].x1 - 30 frame.hurtbox[2].x2 = frame.hurtbox[1].x1 + 10 frame.hurtbox[2].y2 = -60 frame.hurtbox[3] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[3].x1 = frame.hurtbox[2].x1 - 30 frame.hurtbox[3].x2 = frame.hurtbox[2].x1 +10 frame.hurtbox[3].y2 = -35 frame.hurtbox[2].y1 = -140 frame.hurtbox[3].y1 = -100 end) pat:update_frame(202,0,4, { tex_index = 243 , tex_w = 103 , tex_h = 110 , tex_offset_x = (baseX +40) , tex_offset_y = (baseY -18+16) , duration = 4 , hurtbox = pat:get_frame(202,0,3).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(202,1,0, { tex_index = 242 , tex_w = 103 , tex_h = 110 , tex_offset_x = (baseX +40) , tex_offset_y = (baseY -18+16) , duration = 4 , hurtbox = pat:get_frame(202,0,3).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(202,1,1, { tex_index = 243 , tex_w = 103 , tex_h = 110 , tex_offset_x = (baseX +40) , tex_offset_y = (baseY -18+16) , duration = 4 , hurtbox = pat:get_frame(202,0,3).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(202,1,2, { tex_index = 242 , tex_w = 103 , tex_h = 110 , tex_offset_x = (baseX +40) , tex_offset_y = (baseY -18+16) , duration = 4 , hurtbox = pat:get_frame(202,0,3).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(202,1,3, { tex_index = 243 , tex_w = 103 , tex_h = 110 , tex_offset_x = (baseX +40) , tex_offset_y = (baseY -18+16) , duration = 4 , hurtbox = pat:get_frame(202,0,3).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(202,2,0, { tex_index = 238 , tex_w = 98 , tex_h = 114 , tex_offset_x = (baseX +56) , tex_offset_y = (baseY -8 -4 +20) , duration = 3 , hurtbox = pat:get_frame(202,0,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(202,2,1, { tex_index = 237 , tex_w = 81 , tex_h = 118 , tex_offset_x = (baseX +30) , tex_offset_y = (baseY -12 +20) , duration = 3 , hurtbox = pat:get_frame(202,0,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:split_frame(202,3,1,2,2) pat:update_frame(202,3,0, { tex_index = 319 , tex_w = 96 , tex_h = 126 , tex_offset_x = baseX +46 , tex_offset_y = baseY +16 , duration = 4 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(202,3,1, { tex_index = 320 , tex_w = 96 , tex_h = 126 , tex_offset_x = baseX +46 , tex_offset_y = baseY +16 , duration = 4 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(202,3,2, { tex_index = 321 , tex_w = 96 , tex_h = 126 , tex_offset_x = baseX +46 , tex_offset_y = baseY +16 , duration = 4 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) --air backdash --4f to attack pat:update_frame(203,0,0, { tex_index = 236 , tex_w = 94 , tex_h = 118 , tex_offset_x = baseX +68 , tex_offset_y = baseY -6 +12 , duration = 2 , hurtbox = pat:get_frame(202,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(203,0,1, { tex_index = 236 , tex_w = 94 , tex_h = 118 , tex_offset_x = baseX +68 , tex_offset_y = baseY -6 +12 , duration = 2 , hurtbox = pat:get_frame(202,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:split_frame(203,1,1,1,1) pat:split_frame(203,1,1,1,1) pat:update_frame(203,1,0, { tex_index = 244 , tex_w = 97 , tex_h = 115 , tex_offset_x = (baseX +46) , tex_offset_y = (baseY -8+16) , duration = 3 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(203,1,0,function(frame) frame.hurtbox[1].x1 = frame.hurtbox[1].x1 + 10 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 + 10 frame.hurtbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[2].x1 = frame.hurtbox[2].x1 - 20 frame.hurtbox[2].x2 = frame.hurtbox[1].x1 + 5 frame.hurtbox[2].y1 = frame.hurtbox[2].y1 + 25 frame.hurtbox[2].y2 = frame.hurtbox[1].y2 - 15 end) pat:update_frame(203,1,1, { tex_index = 245 , tex_w = 97 , tex_h = 115 , tex_offset_x = (baseX +46) , tex_offset_y = (baseY -8+16) , duration = 3 , hurtbox = pat:get_frame(203,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(203,1,2, { tex_index = 244 , tex_w = 97 , tex_h = 115 , tex_offset_x = (baseX +46) , tex_offset_y = (baseY -8+16) , duration = 3 , hurtbox = pat:get_frame(203,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(203,1,3, { tex_index = 245 , tex_w = 97 , tex_h = 115 , tex_offset_x = (baseX +46) , tex_offset_y = (baseY -8+16) , duration = 3 , hurtbox = pat:get_frame(203,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(203,2,0, { tex_index = 244 , tex_w = 97 , tex_h = 115 , tex_offset_x = (baseX +46) , tex_offset_y = (baseY -8+16) , duration = 3 , hurtbox = pat:get_frame(203,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(203,2,1, { tex_index = 245 , tex_w = 97 , tex_h = 115 , tex_offset_x = (baseX +46) , tex_offset_y = (baseY -8+16) , duration = 3 , hurtbox = pat:get_frame(203,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(203,2,2, { tex_index = 318 , tex_w = 100 , tex_h = 121 , tex_offset_x = baseX +46 , tex_offset_y = baseY +20 +0 , duration = 4 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:split_frame(203,3,1,2,2) pat:update_frame(203,3,0, { tex_index = 319 , tex_w = 96 , tex_h = 126 , tex_offset_x = baseX +46 , tex_offset_y = baseY +16 , duration = 4 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(203,3,1, { tex_index = 320 , tex_w = 96 , tex_h = 126 , tex_offset_x = baseX +46 , tex_offset_y = baseY +16 , duration = 4 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(203,3,2, { tex_index = 321 , tex_w = 96 , tex_h = 126 , tex_offset_x = baseX +46 , tex_offset_y = baseY +16 , duration = 4 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) --flight pat:split_frame(214,0,1,1,1) pat:split_frame(214,0,1,1,1) pat:update_frame(214,0,0, { tex_index = 236 , tex_w = 94 , tex_h = 118 , tex_offset_x = baseX +68 , tex_offset_y = baseY -6 +12 , duration = 2 , hurtbox = pat:get_frame(202,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(214,0,1, { tex_index = 237 , tex_w = 81 , tex_h = 118 , tex_offset_x = baseX +30 , tex_offset_y = baseY -12 +20 , duration = 2 , hurtbox = pat:get_frame(202,0,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(214,0,2, { tex_index = 238 , tex_w = 98 , tex_h = 114 , tex_offset_x = baseX +56 , tex_offset_y = baseY -8 -4 +20 , duration = 3 , hurtbox = pat:get_frame(202,0,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(214,0,3, { tex_index = 239 , tex_w = 121 , tex_h = 114 , tex_offset_x = baseX +56 , tex_offset_y = baseY -8 -4 +20 , duration = 2 , hurtbox = pat:get_frame(202,0,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(214,1,0, { tex_index = 236 , tex_w = 0 , tex_h = 116 , tex_offset_x = baseX -8 , tex_offset_y = baseY -18 , duration = 3 , hurtbox = pat:get_frame(202,0,3).hurtbox , collision = pat:get_frame(99,3,0).collision }) pat:update_frame(214,1,1, { tex_index = 241 , tex_w = 133 , tex_h = 110 , tex_offset_x = (baseX +100)/2 , tex_offset_y = (baseY -18+16)/2 , duration = 3 , hurtbox = pat:get_frame(202,0,3).hurtbox , collision = pat:get_frame(99,3,0).collision }) pat:update_frame(214,1,2, { tex_index = 242 , tex_w = 103 , tex_h = 110 , tex_offset_x = (baseX +40)/2 , tex_offset_y = (baseY -18+16)/2 , duration = 4 , hurtbox = pat:get_frame(202,0,3).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(214,1,3, { tex_index = 243 , tex_w = 103 , tex_h = 110 , tex_offset_x = (baseX +40)/2 , tex_offset_y = (baseY -18+16)/2 , duration = 4 , hurtbox = pat:get_frame(202,0,3).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(214,2,0, { tex_index = 242 , tex_w = 103 , tex_h = 110 , tex_offset_x = (baseX +40)/2 , tex_offset_y = (baseY -18+16)/2 , duration = 4 , hurtbox = pat:get_frame(202,0,3).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(214,2,1, { tex_index = 243 , tex_w = 103 , tex_h = 110 , tex_offset_x = (baseX +40)/2 , tex_offset_y = (baseY -18+16)/2 , duration = 4 , hurtbox = pat:get_frame(202,0,3).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(214,3,0, { tex_index = 236 , tex_w = 0 , tex_h = 116 , tex_offset_x = baseX -8 , tex_offset_y = baseY -18 , duration = 3 , hurtbox = pat:get_frame(202,0,3).hurtbox , collision = pat:get_frame(99,3,0).collision }) pat:update_frame(214,3,0,function(frame) for idx1 = 1 , 3 do local tempx1 = frame.hurtbox[idx1].x1 frame.hurtbox[idx1].x1 = frame.hurtbox[idx1].x2 * -1 frame.hurtbox[idx1].x2 = tempx1 * -1 end end) pat:update_frame(214,3,1, { tex_index = 241 , tex_w = 133 , tex_h = 110 , tex_offset_x = (baseX +100)/2 , tex_offset_y = (baseY -18+16)/2 , duration = 3 , hurtbox = pat:get_frame(214,3,0).hurtbox , collision = pat:get_frame(99,3,0).collision }) pat:update_frame(214,3,2, { tex_index = 242 , tex_w = 103 , tex_h = 110 , tex_offset_x = (baseX +40)/2 , tex_offset_y = (baseY -18+16)/2 , duration = 4 , hurtbox = pat:get_frame(214,3,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(214,3,3, { tex_index = 243 , tex_w = 103 , tex_h = 110 , tex_offset_x = (baseX +40)/2 , tex_offset_y = (baseY -18+16)/2 , duration = 4 , hurtbox = pat:get_frame(214,3,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(214,4,0, { tex_index = 242 , tex_w = 103 , tex_h = 110 , tex_offset_x = (baseX +40)/2 , tex_offset_y = (baseY -18+16)/2 , duration = 4 , hurtbox = pat:get_frame(214,3,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(214,4,1, { tex_index = 243 , tex_w = 103 , tex_h = 110 , tex_offset_x = (baseX +40)/2 , tex_offset_y = (baseY -18+16)/2 , duration = 4 , hurtbox = pat:get_frame(214,3,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(214,5,0, { tex_index = 238 , tex_w = 98 , tex_h = 114 , tex_offset_x = (baseX +56)/2 , tex_offset_y = (baseY -8 -4 +20)/2 , duration = 6 , hurtbox = pat:get_frame(202,0,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(214,5,1, { tex_index = 237 , tex_w = 81 , tex_h = 118 , tex_offset_x = (baseX +30)/2 , tex_offset_y = (baseY -12 +20)/2 , duration = 4 , hurtbox = pat:get_frame(202,0,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(214,6,0, { tex_index = 238 , tex_w = 98 , tex_h = 114 , tex_offset_x = (baseX +56)/2 , tex_offset_y = (baseY -8 -4 +20)/2 , duration = 6 , hurtbox = pat:get_frame(202,0,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(214,6,0,function(frame) for idx1 = 1 , 4 do local tempx1 = frame.hurtbox[idx1].x1 frame.hurtbox[idx1].x1 = frame.hurtbox[idx1].x2 * -1 frame.hurtbox[idx1].x2 = tempx1 * -1 end end) pat:update_frame(214,6,1, { tex_index = 237 , tex_w = 81 , tex_h = 118 , tex_offset_x = (baseX +30)/2 , tex_offset_y = (baseY -12 +20)/2 , duration = 4 , hurtbox = pat:get_frame(202,0,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) --hj pat:update_frame(208,0,0, { tex_index = 314 , tex_w = 89 , tex_h = 111 , tex_offset_x = baseX +34 , tex_offset_y = baseY -18 , duration = 2 , hurtbox = pat:get_frame(6,0,0).hurtbox , collision = pat:get_frame(6,0,0).collision }) pat:update_frame(208,0,1, { tex_index = 314 , tex_w = 89 , tex_h = 111 , tex_offset_x = baseX +34 , tex_offset_y = baseY -18 , duration = 3 , hurtbox = pat:get_frame(6,0,1).hurtbox , collision = pat:get_frame(6,0,1).collision }) pat:update_frame(208,1,0, { tex_index = 315 , tex_w = 84 , tex_h = 121 , tex_offset_x = baseX +34 , tex_offset_y = baseY +10 , duration = 1 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(208,1,1, { tex_index = 315 , tex_w = 84 , tex_h = 121 , tex_offset_x = baseX +34 , tex_offset_y = baseY +10 , duration = 4 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(208,1,2, { tex_index = 316 , tex_w = 84 , tex_h = 121 , tex_offset_x = baseX +34 , tex_offset_y = baseY +10 , duration = 4 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(208,1,3, { tex_index = 317 , tex_w = 84 , tex_h = 121 , tex_offset_x = baseX +34 , tex_offset_y = baseY +10 , duration = 7 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(208,1,4, { tex_index = 317 , tex_w = 84 , tex_h = 121 , tex_offset_x = baseX +34 , tex_offset_y = baseY +10 , duration = 7 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(208,2,0, { tex_index = 318 , tex_w = 100 , tex_h = 121 , tex_offset_x = baseX +46 , tex_offset_y = baseY +20 +0 , duration = 2 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(208,2,1, { tex_index = 318 , tex_w = 100 , tex_h = 121 , tex_offset_x = baseX +46 , tex_offset_y = baseY +20 +0 , duration = 1 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(208,2,2, { tex_index = 318 , tex_w = 100 , tex_h = 121 , tex_offset_x = baseX +46 , tex_offset_y = baseY +20 +0 , duration = 2 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:split_frame(208,3,1,2,2) pat:update_frame(208,3,0, { tex_index = 319 , tex_w = 96 , tex_h = 126 , tex_offset_x = baseX +46 , tex_offset_y = baseY +16 , duration = 4 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(208,3,1, { tex_index = 320 , tex_w = 96 , tex_h = 126 , tex_offset_x = baseX +46 , tex_offset_y = baseY +16 , duration = 4 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(208,3,2, { tex_index = 321 , tex_w = 96 , tex_h = 126 , tex_offset_x = baseX +46 , tex_offset_y = baseY +16 , duration = 4 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) --hj9 pat:update_frame(209,0,0, { tex_index = 314 , tex_w = 89 , tex_h = 111 , tex_offset_x = baseX +34 , tex_offset_y = baseY -18 , duration = 2 , hurtbox = pat:get_frame(6,0,0).hurtbox , collision = pat:get_frame(6,0,0).collision }) pat:update_frame(209,0,1, { tex_index = 314 , tex_w = 89 , tex_h = 111 , tex_offset_x = baseX +34 , tex_offset_y = baseY -18 , duration = 3 , hurtbox = pat:get_frame(6,0,1).hurtbox , collision = pat:get_frame(6,0,1).collision }) pat:update_frame(209,1,0, { tex_index = 315 , tex_w = 84 , tex_h = 121 , tex_offset_x = baseX +34 , tex_offset_y = baseY +10 , duration = 1 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(209,1,1, { tex_index = 315 , tex_w = 84 , tex_h = 121 , tex_offset_x = baseX +34 , tex_offset_y = baseY +10 , duration = 4 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(209,1,2, { tex_index = 316 , tex_w = 84 , tex_h = 121 , tex_offset_x = baseX +34 , tex_offset_y = baseY +10 , duration = 4 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(209,1,3, { tex_index = 317 , tex_w = 84 , tex_h = 121 , tex_offset_x = baseX +34 , tex_offset_y = baseY +10 , duration = 7 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(209,2,0, { tex_index = 318 , tex_w = 100 , tex_h = 121 , tex_offset_x = baseX +46 , tex_offset_y = baseY +20 +0 , duration = 2 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(209,2,1, { tex_index = 318 , tex_w = 100 , tex_h = 121 , tex_offset_x = baseX +46 , tex_offset_y = baseY +20 +0 , duration = 1 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(209,2,2, { tex_index = 318 , tex_w = 100 , tex_h = 121 , tex_offset_x = baseX +46 , tex_offset_y = baseY +20 +0 , duration = 2 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:split_frame(209,3,1,2,2) pat:update_frame(209,3,0, { tex_index = 319 , tex_w = 96 , tex_h = 126 , tex_offset_x = baseX +46 , tex_offset_y = baseY +16 , duration = 4 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(209,3,1, { tex_index = 320 , tex_w = 96 , tex_h = 126 , tex_offset_x = baseX +46 , tex_offset_y = baseY +16 , duration = 4 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(209,3,2, { tex_index = 321 , tex_w = 96 , tex_h = 126 , tex_offset_x = baseX +46 , tex_offset_y = baseY +16 , duration = 4 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) --dj8 pat:update_frame(211,0,0, { tex_index = 314 , tex_w = 89 , tex_h = 111 , tex_offset_x = baseX +34 , tex_offset_y = baseY -18 , duration = 2 , hurtbox = pat:get_frame(6,0,0).hurtbox , collision = pat:get_frame(6,0,0).collision }) pat:update_frame(211,0,1, { tex_index = 314 , tex_w = 89 , tex_h = 111 , tex_offset_x = baseX +34 , tex_offset_y = baseY -18 , duration = 3 , hurtbox = pat:get_frame(6,0,1).hurtbox , collision = pat:get_frame(6,0,1).collision }) pat:update_frame(211,1,0, { tex_index = 315 , tex_w = 84 , tex_h = 121 , tex_offset_x = baseX +34 , tex_offset_y = baseY +10 , duration = 1 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(211,1,1, { tex_index = 315 , tex_w = 84 , tex_h = 121 , tex_offset_x = baseX +34 , tex_offset_y = baseY +10 , duration = 4 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(211,1,2, { tex_index = 316 , tex_w = 84 , tex_h = 121 , tex_offset_x = baseX +34 , tex_offset_y = baseY +10 , duration = 4 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(211,1,3, { tex_index = 317 , tex_w = 84 , tex_h = 121 , tex_offset_x = baseX +34 , tex_offset_y = baseY +10 , duration = 7 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(211,1,4, { tex_index = 317 , tex_w = 84 , tex_h = 121 , tex_offset_x = baseX +34 , tex_offset_y = baseY +10 , duration = 7 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(211,2,0, { tex_index = 318 , tex_w = 100 , tex_h = 121 , tex_offset_x = baseX +46 , tex_offset_y = baseY +20 +0 , duration = 2 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(211,2,1, { tex_index = 318 , tex_w = 100 , tex_h = 121 , tex_offset_x = baseX +46 , tex_offset_y = baseY +20 +0 , duration = 1 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(211,2,2, { tex_index = 318 , tex_w = 100 , tex_h = 121 , tex_offset_x = baseX +46 , tex_offset_y = baseY +20 +0 , duration = 2 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:split_frame(211,3,1,2,2) pat:update_frame(211,3,0, { tex_index = 319 , tex_w = 96 , tex_h = 126 , tex_offset_x = baseX +46 , tex_offset_y = baseY +16 , duration = 4 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(211,3,1, { tex_index = 320 , tex_w = 96 , tex_h = 126 , tex_offset_x = baseX +46 , tex_offset_y = baseY +16 , duration = 4 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(211,3,2, { tex_index = 321 , tex_w = 96 , tex_h = 126 , tex_offset_x = baseX +46 , tex_offset_y = baseY +16 , duration = 4 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) --dj9 pat:update_frame(212,0,0, { tex_index = 314 , tex_w = 89 , tex_h = 111 , tex_offset_x = baseX +34 , tex_offset_y = baseY -18 , duration = 2 , hurtbox = pat:get_frame(6,0,0).hurtbox , collision = pat:get_frame(6,0,0).collision }) pat:update_frame(212,0,1, { tex_index = 314 , tex_w = 89 , tex_h = 111 , tex_offset_x = baseX +34 , tex_offset_y = baseY -18 , duration = 3 , hurtbox = pat:get_frame(6,0,1).hurtbox , collision = pat:get_frame(6,0,1).collision }) pat:update_frame(212,1,0, { tex_index = 315 , tex_w = 84 , tex_h = 121 , tex_offset_x = baseX +34 , tex_offset_y = baseY +10 , duration = 1 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(212,1,1, { tex_index = 315 , tex_w = 84 , tex_h = 121 , tex_offset_x = baseX +34 , tex_offset_y = baseY +10 , duration = 4 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(212,1,2, { tex_index = 316 , tex_w = 84 , tex_h = 121 , tex_offset_x = baseX +34 , tex_offset_y = baseY +10 , duration = 4 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(212,1,3, { tex_index = 317 , tex_w = 84 , tex_h = 121 , tex_offset_x = baseX +34 , tex_offset_y = baseY +10 , duration = 7 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(212,2,0, { tex_index = 318 , tex_w = 100 , tex_h = 121 , tex_offset_x = baseX +46 , tex_offset_y = baseY +20 +0 , duration = 3 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(212,2,1, { tex_index = 318 , tex_w = 100 , tex_h = 121 , tex_offset_x = baseX +46 , tex_offset_y = baseY +20 +0 , duration = 3 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(212,2,2, { tex_index = 318 , tex_w = 100 , tex_h = 121 , tex_offset_x = baseX +46 , tex_offset_y = baseY +20 +0 , duration = 3 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:split_frame(212,3,1,2,2) pat:update_frame(212,3,0, { tex_index = 319 , tex_w = 96 , tex_h = 126 , tex_offset_x = baseX +46 , tex_offset_y = baseY +16 , duration = 4 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(212,3,1, { tex_index = 320 , tex_w = 96 , tex_h = 126 , tex_offset_x = baseX +46 , tex_offset_y = baseY +16 , duration = 4 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(212,3,2, { tex_index = 321 , tex_w = 96 , tex_h = 126 , tex_offset_x = baseX +46 , tex_offset_y = baseY +16 , duration = 4 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) --2DD pat:update_frame(220,0,0, { tex_index = 314 , tex_w = 89 , tex_h = 111 , tex_offset_x = baseX +34 , tex_offset_y = baseY -18 , duration = 4 , hurtbox = pat:get_frame(6,0,0).hurtbox , collision = pat:get_frame(6,0,0).collision }) pat:update_frame(220,0,1, { tex_index = 314 , tex_w = 89 , tex_h = 111 , tex_offset_x = baseX +34 , tex_offset_y = baseY -18 , duration = 6 , hurtbox = pat:get_frame(6,0,1).hurtbox , collision = pat:get_frame(6,0,1).collision }) pat:update_frame(220,1,0, { tex_index = 315 , tex_w = 84 , tex_h = 121 , tex_offset_x = baseX +34 , tex_offset_y = baseY +10 , duration = 1 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(220,1,1, { tex_index = 315 , tex_w = 84 , tex_h = 121 , tex_offset_x = baseX +34 , tex_offset_y = baseY +10 , duration = 3 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(220,1,2, { tex_index = 316 , tex_w = 84 , tex_h = 121 , tex_offset_x = baseX +34 , tex_offset_y = baseY +10 , duration = 4 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(220,1,3, { tex_index = 317 , tex_w = 84 , tex_h = 121 , tex_offset_x = baseX +34 , tex_offset_y = baseY +10 , duration = 7 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(220,1,4, { tex_index = 317 , tex_w = 84 , tex_h = 121 , tex_offset_x = baseX +34 , tex_offset_y = baseY +10 , duration = 5 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(220,2,0, { tex_index = 318 , tex_w = 100 , tex_h = 121 , tex_offset_x = baseX +46 , tex_offset_y = baseY +20 +0 , duration = 5 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(220,2,1, { tex_index = 318 , tex_w = 100 , tex_h = 121 , tex_offset_x = baseX +46 , tex_offset_y = baseY +20 +0 , duration = 2 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(220,2,2, { tex_index = 318 , tex_w = 100 , tex_h = 121 , tex_offset_x = baseX +46 , tex_offset_y = baseY +20 +0 , duration = 2 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:split_frame(220,3,1,2,2) pat:update_frame(220,3,0, { tex_index = 319 , tex_w = 96 , tex_h = 126 , tex_offset_x = baseX +46 , tex_offset_y = baseY +16 , duration = 4 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(220,3,1, { tex_index = 320 , tex_w = 96 , tex_h = 126 , tex_offset_x = baseX +46 , tex_offset_y = baseY +16 , duration = 4 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(220,3,2, { tex_index = 321 , tex_w = 96 , tex_h = 126 , tex_offset_x = baseX +46 , tex_offset_y = baseY +16 , duration = 4 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) --1DD?? --6DD pat:update_frame(223,0,0, { tex_index = 236 , tex_w = 94 , tex_h = 118 , tex_offset_x = baseX +68 , tex_offset_y = baseY -6 +0 , duration = 2 , hurtbox = pat:get_frame(200,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(223,0,1, { tex_index = 236 , tex_w = 94 , tex_h = 118 , tex_offset_x = baseX +68 , tex_offset_y = baseY -6 +0 , duration = 2 , hurtbox = pat:get_frame(200,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(223,0,2, { tex_index = 236 , tex_w = 94 , tex_h = 118 , tex_offset_x = baseX +68 , tex_offset_y = baseY -6 +0 , duration = 2 , hurtbox = pat:get_frame(200,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(223,0,3, { tex_index = 237 , tex_w = 81 , tex_h = 118 , tex_offset_x = baseX +30 , tex_offset_y = baseY -12 +0 , duration = 2 , hurtbox = pat:get_frame(200,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(223,0,4, { tex_index = 237 , tex_w = 81 , tex_h = 118 , tex_offset_x = baseX +30 , tex_offset_y = baseY -12 +0 , duration = 2 , hurtbox = pat:get_frame(200,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(223,0,5, { tex_index = 242 , tex_w = 103 , tex_h = 110 , tex_offset_x = (baseX +40) , tex_offset_y = (baseY -18+0) , duration = 2 , hurtbox = pat:get_frame(202,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(223,0,5,function(frame) for idx = 1 , 3 do frame.hurtbox[idx].y1 = frame.hurtbox[idx].y1 + 16 frame.hurtbox[idx].y2 = 0 end end) pat:update_frame(223,0,6, { tex_index = 243 , tex_w = 103 , tex_h = 110 , tex_offset_x = (baseX +40) , tex_offset_y = (baseY -18+0) , duration = 2 , hurtbox = pat:get_frame(223,0,5).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(223,1,0, { tex_index = 242 , tex_w = 103 , tex_h = 110 , tex_offset_x = (baseX +40) , tex_offset_y = (baseY -18+0) , duration = 3 , hurtbox = pat:get_frame(223,0,5).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(223,1,1, { tex_index = 243 , tex_w = 103 , tex_h = 110 , tex_offset_x = (baseX +40) , tex_offset_y = (baseY -18+0) , duration = 3 , hurtbox = pat:get_frame(223,0,5).hurtbox , collision = pat:get_frame(0,0,0).collision }) --4DD pat:update_frame(224,0,0, { tex_index = 236 , tex_w = 94 , tex_h = 118 , tex_offset_x = baseX +68 , tex_offset_y = baseY -6 +0 , duration = 5 , hurtbox = pat:get_frame(200,0,0).hurtbox , collision = pat:get_frame(200,0,0).collision }) pat:update_frame(224,0,1, { tex_index = 236 , tex_w = 94 , tex_h = 118 , tex_offset_x = baseX +68 , tex_offset_y = baseY -6 +0 , duration = 3 , hurtbox = pat:get_frame(200,0,0).hurtbox , collision = pat:get_frame(200,0,0).collision }) pat:update_frame(224,1,0, { tex_index = 244 , tex_w = 97 , tex_h = 115 , tex_offset_x = (baseX +46) , tex_offset_y = (baseY -8+0) , duration = 4 , hurtbox = pat:get_frame(203,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(224,1,0,function(frame) for idx = 1 , 2 do frame.hurtbox[idx].y1 = frame.hurtbox[idx].y1 + 16 frame.hurtbox[idx].y2 = frame.hurtbox[idx].y2 + 16 end end) pat:update_frame(224,1,1, { tex_index = 245 , tex_w = 97 , tex_h = 115 , tex_offset_x = (baseX +46) , tex_offset_y = (baseY -8+0) , duration = 4 , hurtbox = pat:get_frame(224,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(224,2,0, { tex_index = 244 , tex_w = 97 , tex_h = 115 , tex_offset_x = (baseX +46) , tex_offset_y = (baseY -8+0) , duration = 4 , hurtbox = pat:get_frame(224,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(224,2,1, { tex_index = 245 , tex_w = 97 , tex_h = 115 , tex_offset_x = (baseX +46) , tex_offset_y = (baseY -8+0) , duration = 4 , hurtbox = pat:get_frame(224,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(224,3,0, { tex_index = 236 , tex_w = 94 , tex_h = 118 , tex_offset_x = baseX +68 , tex_offset_y = baseY -6 +0 , duration = 6 , hurtbox = pat:get_frame(200,0,0).hurtbox , collision = pat:get_frame(200,0,0).collision }) pat:update_frame(224,3,1, { tex_index = 236 , tex_w = 94 , tex_h = 118 , tex_offset_x = baseX +68 , tex_offset_y = baseY -6 +0 , duration = 6 , hurtbox = pat:get_frame(200,0,0).hurtbox , collision = pat:get_frame(200,0,0).collision }) --j6DD pat:update_frame(226,0,0, { tex_index = 236 , tex_w = 94 , tex_h = 118 , tex_offset_x = baseX +68 , tex_offset_y = baseY -6 +12 , duration = 2 , hurtbox = pat:get_frame(202,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(226,0,1, { tex_index = 236 , tex_w = 94 , tex_h = 118 , tex_offset_x = baseX +68 , tex_offset_y = baseY -6 +12 , duration = 2 , hurtbox = pat:get_frame(202,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(226,0,2, { tex_index = 237 , tex_w = 81 , tex_h = 118 , tex_offset_x = baseX +30 , tex_offset_y = baseY -12 +20 , duration = 2 , hurtbox = pat:get_frame(202,0,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(226,0,3, { tex_index = 242 , tex_w = 103 , tex_h = 110 , tex_offset_x = (baseX +40) , tex_offset_y = (baseY -18+16) , duration = 3 , hurtbox = pat:get_frame(202,0,3).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(226,0,4, { tex_index = 243 , tex_w = 103 , tex_h = 110 , tex_offset_x = (baseX +40) , tex_offset_y = (baseY -18+16) , duration = 3 , hurtbox = pat:get_frame(202,0,3).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(226,1,0, { tex_index = 242 , tex_w = 103 , tex_h = 110 , tex_offset_x = (baseX +40) , tex_offset_y = (baseY -18+16) , duration = 3 , hurtbox = pat:get_frame(202,0,3).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(226,1,1, { tex_index = 243 , tex_w = 103 , tex_h = 110 , tex_offset_x = (baseX +40) , tex_offset_y = (baseY -18+16) , duration = 3 , hurtbox = pat:get_frame(202,0,3).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(226,1,2, { tex_index = 242 , tex_w = 103 , tex_h = 110 , tex_offset_x = (baseX +40) , tex_offset_y = (baseY -18+16) , duration = 3 , hurtbox = pat:get_frame(202,0,3).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(226,1,3, { tex_index = 243 , tex_w = 103 , tex_h = 110 , tex_offset_x = (baseX +40) , tex_offset_y = (baseY -18+16) , duration = 3 , hurtbox = pat:get_frame(202,0,3).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(226,2,0, { tex_index = 238 , tex_w = 98 , tex_h = 114 , tex_offset_x = (baseX +56) , tex_offset_y = (baseY -8 -4 +20) , duration = 3 , hurtbox = pat:get_frame(202,0,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(226,2,1, { tex_index = 237 , tex_w = 81 , tex_h = 118 , tex_offset_x = (baseX +30) , tex_offset_y = (baseY -12 +20) , duration = 3 , hurtbox = pat:get_frame(202,0,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) --j4DD pat:update_frame(225,0,0, { tex_index = 236 , tex_w = 94 , tex_h = 118 , tex_offset_x = baseX +68 , tex_offset_y = baseY -6 +12 , duration = 3 , hurtbox = pat:get_frame(202,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(225,0,1, { tex_index = 236 , tex_w = 94 , tex_h = 118 , tex_offset_x = baseX +68 , tex_offset_y = baseY -6 +12 , duration = 3 , hurtbox = pat:get_frame(202,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:split_frame(225,1,1,1,1) pat:split_frame(225,1,1,1,1) pat:update_frame(225,1,0, { tex_index = 244 , tex_w = 97 , tex_h = 115 , tex_offset_x = (baseX +46) , tex_offset_y = (baseY -8+16) , duration = 3 , hurtbox = pat:get_frame(203,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(225,1,1, { tex_index = 245 , tex_w = 97 , tex_h = 115 , tex_offset_x = (baseX +46) , tex_offset_y = (baseY -8+16) , duration = 6 , hurtbox = pat:get_frame(203,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(225,1,2, { tex_index = 244 , tex_w = 97 , tex_h = 115 , tex_offset_x = (baseX +46) , tex_offset_y = (baseY -8+16) , duration = 3 , hurtbox = pat:get_frame(203,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(225,1,3, { tex_index = 245 , tex_w = 97 , tex_h = 115 , tex_offset_x = (baseX +46) , tex_offset_y = (baseY -8+16) , duration = 3 , hurtbox = pat:get_frame(203,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(225,2,0, { tex_index = 244 , tex_w = 97 , tex_h = 115 , tex_offset_x = (baseX +46) , tex_offset_y = (baseY -8+16) , duration = 3 , hurtbox = pat:get_frame(203,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(225,2,1, { tex_index = 245 , tex_w = 97 , tex_h = 115 , tex_offset_x = (baseX +46) , tex_offset_y = (baseY -8+16) , duration = 3 , hurtbox = pat:get_frame(203,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(225,2,2, { tex_index = 318 , tex_w = 100 , tex_h = 121 , tex_offset_x = baseX +46 , tex_offset_y = baseY +20 +0 , duration = 4 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) --guard --high rb pat:update_frame(150,0,0, { tex_index = 275 , tex_w = 70 , tex_h = 123 , tex_offset_x = baseX +10 , tex_offset_y = baseY -0 , duration = 6 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(150,0,1, { tex_index = 275 , tex_w = 70 , tex_h = 123 , tex_offset_x = baseX +10 , tex_offset_y = baseY -0 , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(150,0,2, { tex_index = 275 , tex_w = 70 , tex_h = 123 , tex_offset_x = baseX +10 , tex_offset_y = baseY -0 , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(151,0,0, { tex_index = 275 , tex_w = 70 , tex_h = 123 , tex_offset_x = baseX +10 , tex_offset_y = baseY -0 , duration = 8 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(151,0,1, { tex_index = 275 , tex_w = 70 , tex_h = 123 , tex_offset_x = baseX +10 , tex_offset_y = baseY -0 , duration = 4 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(151,0,2, { tex_index = 275 , tex_w = 70 , tex_h = 123 , tex_offset_x = baseX +10 , tex_offset_y = baseY -0 , duration = 4 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(152,0,0, { tex_index = 275 , tex_w = 70 , tex_h = 123 , tex_offset_x = baseX +10 , tex_offset_y = baseY -0 , duration = 12 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(152,0,1, { tex_index = 275 , tex_w = 70 , tex_h = 123 , tex_offset_x = baseX +10 , tex_offset_y = baseY -0 , duration = 5 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(152,0,2, { tex_index = 275 , tex_w = 70 , tex_h = 123 , tex_offset_x = baseX +10 , tex_offset_y = baseY -0 , duration = 5 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(153,0,0, { tex_index = 275 , tex_w = 70 , tex_h = 123 , tex_offset_x = baseX +10 , tex_offset_y = baseY -0 , duration = 18 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(153,0,1, { tex_index = 275 , tex_w = 70 , tex_h = 123 , tex_offset_x = baseX +10 , tex_offset_y = baseY -0 , duration = 5 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(153,0,2, { tex_index = 275 , tex_w = 70 , tex_h = 123 , tex_offset_x = baseX +10 , tex_offset_y = baseY -0 , duration = 5 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) --high wb pat:update_frame(159,0,0, { tex_index = 280 , tex_w = 68 , tex_h = 120 , tex_offset_x = baseX +0 , tex_offset_y = baseY -0 , duration = 8 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(159,0,1, { tex_index = 280 , tex_w = 68 , tex_h = 120 , tex_offset_x = baseX +0 , tex_offset_y = baseY -0 , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(159,0,2, { tex_index = 280 , tex_w = 68 , tex_h = 120 , tex_offset_x = baseX +0 , tex_offset_y = baseY -0 , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(160,0,0, { tex_index = 280 , tex_w = 68 , tex_h = 120 , tex_offset_x = baseX +0 , tex_offset_y = baseY -0 , duration = 12 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(160,0,1, { tex_index = 280 , tex_w = 68 , tex_h = 120 , tex_offset_x = baseX +0 , tex_offset_y = baseY -0 , duration = 4 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(160,0,2, { tex_index = 280 , tex_w = 68 , tex_h = 120 , tex_offset_x = baseX +0 , tex_offset_y = baseY -0 , duration = 4 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(161,0,0, { tex_index = 280 , tex_w = 68 , tex_h = 120 , tex_offset_x = baseX +0 , tex_offset_y = baseY -0 , duration = 18 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(161,0,1, { tex_index = 280 , tex_w = 68 , tex_h = 120 , tex_offset_x = baseX +0 , tex_offset_y = baseY -0 , duration = 5 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(161,0,2, { tex_index = 280 , tex_w = 68 , tex_h = 120 , tex_offset_x = baseX +0 , tex_offset_y = baseY -0 , duration = 5 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(162,0,0, { tex_index = 280 , tex_w = 68 , tex_h = 120 , tex_offset_x = baseX +0 , tex_offset_y = baseY -0 , duration = 22 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(162,0,1, { tex_index = 280 , tex_w = 68 , tex_h = 120 , tex_offset_x = baseX +0 , tex_offset_y = baseY -0 , duration = 5 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(162,0,2, { tex_index = 280 , tex_w = 68 , tex_h = 120 , tex_offset_x = baseX +0 , tex_offset_y = baseY -0 , duration = 5 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) --low rb pat:update_frame(154,0,0, { tex_index = 265 , tex_w = 69 , tex_h = 107 , tex_offset_x = baseX +6 , tex_offset_y = baseY -24 , duration = 6 , hurtbox = pat:get_frame(2,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(154,0,1, { tex_index = 265 , tex_w = 69 , tex_h = 107 , tex_offset_x = baseX +6 , tex_offset_y = baseY -24 , duration = 2 , hurtbox = pat:get_frame(2,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(154,0,2, { tex_index = 265 , tex_w = 69 , tex_h = 107 , tex_offset_x = baseX +6 , tex_offset_y = baseY -24 , duration = 2 , hurtbox = pat:get_frame(2,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(155,0,0, { tex_index = 265 , tex_w = 69 , tex_h = 107 , tex_offset_x = baseX +6 , tex_offset_y = baseY -24 , duration = 10 , hurtbox = pat:get_frame(2,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(155,0,1, { tex_index = 265 , tex_w = 69 , tex_h = 107 , tex_offset_x = baseX +6 , tex_offset_y = baseY -24 , duration = 3 , hurtbox = pat:get_frame(2,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(155,0,2, { tex_index = 265 , tex_w = 69 , tex_h = 107 , tex_offset_x = baseX +6 , tex_offset_y = baseY -24 , duration = 3 , hurtbox = pat:get_frame(2,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(156,0,0, { tex_index = 265 , tex_w = 69 , tex_h = 107 , tex_offset_x = baseX +6 , tex_offset_y = baseY -24 , duration = 12 , hurtbox = pat:get_frame(2,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(156,0,1, { tex_index = 265 , tex_w = 69 , tex_h = 107 , tex_offset_x = baseX +6 , tex_offset_y = baseY -24 , duration = 5 , hurtbox = pat:get_frame(2,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(156,0,2, { tex_index = 265 , tex_w = 69 , tex_h = 107 , tex_offset_x = baseX +6 , tex_offset_y = baseY -24 , duration = 5 , hurtbox = pat:get_frame(2,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(157,0,0, { tex_index = 265 , tex_w = 69 , tex_h = 107 , tex_offset_x = baseX +6 , tex_offset_y = baseY -24 , duration = 18 , hurtbox = pat:get_frame(2,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(157,0,1, { tex_index = 265 , tex_w = 69 , tex_h = 107 , tex_offset_x = baseX +6 , tex_offset_y = baseY -24 , duration = 5 , hurtbox = pat:get_frame(2,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(157,0,2, { tex_index = 265 , tex_w = 69 , tex_h = 107 , tex_offset_x = baseX +6 , tex_offset_y = baseY -24 , duration = 5 , hurtbox = pat:get_frame(2,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision }) --low wb pat:update_frame(163,0,0, { tex_index = 270 , tex_w = 75 , tex_h = 111 , tex_offset_x = baseX +2 , tex_offset_y = baseY -36 , duration = 8 , hurtbox = pat:get_frame(2,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(163,0,1, { tex_index = 270 , tex_w = 75 , tex_h = 111 , tex_offset_x = baseX +2 , tex_offset_y = baseY -36 , duration = 2 , hurtbox = pat:get_frame(2,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(163,0,2, { tex_index = 270 , tex_w = 75 , tex_h = 111 , tex_offset_x = baseX +2 , tex_offset_y = baseY -36 , duration = 2 , hurtbox = pat:get_frame(2,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(164,0,0, { tex_index = 270 , tex_w = 75 , tex_h = 111 , tex_offset_x = baseX +2 , tex_offset_y = baseY -36 , duration = 14 , hurtbox = pat:get_frame(2,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(164,0,1, { tex_index = 270 , tex_w = 75 , tex_h = 111 , tex_offset_x = baseX +2 , tex_offset_y = baseY -36 , duration = 3 , hurtbox = pat:get_frame(2,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(164,0,2, { tex_index = 270 , tex_w = 75 , tex_h = 111 , tex_offset_x = baseX +2 , tex_offset_y = baseY -36 , duration = 3 , hurtbox = pat:get_frame(2,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(165,0,0, { tex_index = 270 , tex_w = 75 , tex_h = 111 , tex_offset_x = baseX +2 , tex_offset_y = baseY -36 , duration = 18 , hurtbox = pat:get_frame(2,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(165,0,1, { tex_index = 270 , tex_w = 75 , tex_h = 111 , tex_offset_x = baseX +2 , tex_offset_y = baseY -36 , duration = 5 , hurtbox = pat:get_frame(2,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(165,0,2, { tex_index = 270 , tex_w = 75 , tex_h = 111 , tex_offset_x = baseX +2 , tex_offset_y = baseY -36 , duration = 5 , hurtbox = pat:get_frame(2,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(166,0,0, { tex_index = 270 , tex_w = 75 , tex_h = 111 , tex_offset_x = baseX +2 , tex_offset_y = baseY -36 , duration = 22 , hurtbox = pat:get_frame(2,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(166,0,1, { tex_index = 270 , tex_w = 75 , tex_h = 111 , tex_offset_x = baseX +2 , tex_offset_y = baseY -36 , duration = 5 , hurtbox = pat:get_frame(2,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(166,0,2, { tex_index = 270 , tex_w = 75 , tex_h = 111 , tex_offset_x = baseX +2 , tex_offset_y = baseY -36 , duration = 5 , hurtbox = pat:get_frame(2,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision }) --airblock pat:update_frame(158,0,0, { tex_index = 259 , tex_w = 73 , tex_h = 123 , tex_offset_x = baseX -14 , tex_offset_y = baseY +24 , duration = 14 , hurtbox = pat:get_frame(9,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(158,0,1, { tex_index = 259 , tex_w = 73 , tex_h = 123 , tex_offset_x = baseX -14 , tex_offset_y = baseY +24 , duration = 3 , hurtbox = pat:get_frame(9,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(158,0,2, { tex_index = 259 , tex_w = 73 , tex_h = 123 , tex_offset_x = baseX -14 , tex_offset_y = baseY +24 , duration = 3 , hurtbox = pat:get_frame(9,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) --reel --53 --hits --hitupper pat:update_frame(50,0,0, { tex_index = 308 , tex_w = 99 , tex_h = 116 , tex_offset_x = baseX +54 , tex_offset_y = baseY -6 , duration = 1 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(50,0,0,function(frame) frame.hurtbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[2].y1 = frame.hurtbox[2].y1 + 60 frame.hurtbox[3] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[3].y1 = frame.hurtbox[3].y1 + 100 frame.hurtbox[1].x1 = frame.hurtbox[1].x1 - 50 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 - 40 frame.hurtbox[1].y1 = frame.hurtbox[1].y1 + 10 frame.hurtbox[1].y2 = -80 frame.hurtbox[2].x1 = frame.hurtbox[2].x1 - 30 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 - 15 frame.hurtbox[2].y2 = -40 frame.hurtbox[3].x1 = frame.hurtbox[3].x1 - 10 end) pat:update_frame(50,0,1, { tex_index = 308 , tex_w = 99 , tex_h = 116 , tex_offset_x = baseX +54 , tex_offset_y = baseY -6 , duration = 2 , hurtbox = pat:get_frame(50,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(50,0,2, { tex_index = 308 , tex_w = 99 , tex_h = 116 , tex_offset_x = baseX +54 , tex_offset_y = baseY -6 , duration = 4 , hurtbox = pat:get_frame(50,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(50,0,3, { tex_index = 308 , tex_w = 99 , tex_h = 116 , tex_offset_x = baseX +54 , tex_offset_y = baseY -6 , duration = 2 , hurtbox = pat:get_frame(50,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(50,0,4, { tex_index = 309 , tex_w = 94 , tex_h = 117 , tex_offset_x = baseX +40 , tex_offset_y = baseY -4 , duration = 2 , hurtbox = pat:get_frame(50,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(50,0,4,function(frame) frame.hurtbox[1].x1 = frame.hurtbox[1].x1 + 15 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 + 15 frame.hurtbox[2].x1 = frame.hurtbox[2].x1 + 5 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 + 5 end) pat:update_frame(51,0,0, { tex_index = 308 , tex_w = 99 , tex_h = 116 , tex_offset_x = baseX +54 , tex_offset_y = baseY -6 , duration = 1 , hurtbox = pat:get_frame(50,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(51,0,1, { tex_index = 308 , tex_w = 99 , tex_h = 116 , tex_offset_x = baseX +54 , tex_offset_y = baseY -6 , duration = 2 , hurtbox = pat:get_frame(50,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(51,0,2, { tex_index = 308 , tex_w = 99 , tex_h = 116 , tex_offset_x = baseX +54 , tex_offset_y = baseY -6 , duration = 7 , hurtbox = pat:get_frame(50,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(51,0,3, { tex_index = 308 , tex_w = 99 , tex_h = 116 , tex_offset_x = baseX +54 , tex_offset_y = baseY -6 , duration = 4 , hurtbox = pat:get_frame(50,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(51,0,4, { tex_index = 309 , tex_w = 94 , tex_h = 117 , tex_offset_x = baseX +40 , tex_offset_y = baseY -4 , duration = 4 , hurtbox = pat:get_frame(50,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(52,0,0, { tex_index = 308 , tex_w = 99 , tex_h = 116 , tex_offset_x = baseX +54 , tex_offset_y = baseY -6 , duration = 1 , hurtbox = pat:get_frame(50,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(52,0,1, { tex_index = 308 , tex_w = 99 , tex_h = 116 , tex_offset_x = baseX +54 , tex_offset_y = baseY -6 , duration = 2 , hurtbox = pat:get_frame(50,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(52,0,2, { tex_index = 308 , tex_w = 99 , tex_h = 116 , tex_offset_x = baseX +54 , tex_offset_y = baseY -6 , duration = 12 , hurtbox = pat:get_frame(50,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(52,0,3, { tex_index = 308 , tex_w = 99 , tex_h = 116 , tex_offset_x = baseX +54 , tex_offset_y = baseY -6 , duration = 5 , hurtbox = pat:get_frame(50,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(52,0,4, { tex_index = 309 , tex_w = 94 , tex_h = 117 , tex_offset_x = baseX +40 , tex_offset_y = baseY -4 , duration = 5 , hurtbox = pat:get_frame(50,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) --hitspin --reel pat:update_frame(53,0,0, { tex_index = 308 , tex_w = 99 , tex_h = 116 , tex_offset_x = baseX +54 , tex_offset_y = baseY -6 , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(53,1,0, { tex_index = 297 , tex_w = 73 , tex_h = 161 , tex_offset_x = 78 , tex_offset_y = 322 , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(53,1,1, { tex_index = 298 , tex_w = 61 , tex_h = 121 , tex_offset_x = 74 , tex_offset_y = 242 , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(53,1,2, { tex_index = 299 , tex_w = 81 , tex_h = 140 , tex_offset_x = 110 , tex_offset_y = 276 , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(53,1,3, { tex_index = 300 , tex_w = 81 , tex_h = 140 , tex_offset_x = 70 , tex_offset_y = 276 , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(53,1,4, { tex_index = 301 , tex_w = 61 , tex_h = 121 , tex_offset_x = 48 , tex_offset_y = 242 , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(53,1,5, { tex_index = 302 , tex_w = 73 , tex_h = 161 , tex_offset_x = 70 , tex_offset_y = 322 , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(53,2,0, { tex_index = 297 , tex_w = 73 , tex_h = 161 , tex_offset_x = 78 , tex_offset_y = 322 , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(53,2,1, { tex_index = 298 , tex_w = 61 , tex_h = 121 , tex_offset_x = 74 , tex_offset_y = 242 , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(53,2,2, { tex_index = 299 , tex_w = 81 , tex_h = 140 , tex_offset_x = 110 , tex_offset_y = 276 , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(53,2,3, { tex_index = 300 , tex_w = 81 , tex_h = 140 , tex_offset_x = 70 , tex_offset_y = 276 , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(53,2,4, { tex_index = 301 , tex_w = 61 , tex_h = 121 , tex_offset_x = 48 , tex_offset_y = 242 , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(53,2,5, { tex_index = 302 , tex_w = 73 , tex_h = 161 , tex_offset_x = 70 , tex_offset_y = 322 , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(53,3,0, { tex_index = 308 , tex_w = 99 , tex_h = 116 , tex_offset_x = baseX +54 , tex_offset_y = baseY -6 , duration = 3 , hurtbox = pat:get_frame(50,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(53,3,1, { tex_index = 308 , tex_w = 99 , tex_h = 116 , tex_offset_x = baseX +54 , tex_offset_y = baseY -6 , duration = 3 , hurtbox = pat:get_frame(50,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(53,3,2, { tex_index = 309 , tex_w = 94 , tex_h = 117 , tex_offset_x = baseX +40 , tex_offset_y = baseY -4 , duration = 3 , hurtbox = pat:get_frame(50,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) --hitunder pat:update_frame(56,0,0, { tex_index = 303 , tex_w = 93 , tex_h = 104 , tex_offset_x = baseX +60 , tex_offset_y = baseY -28 , duration = 1 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(56,0,0,function(frame) frame.hurtbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[3] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[1].y1 = frame.hurtbox[1].y1 + 20 frame.hurtbox[1].x1 = frame.hurtbox[1].x1 - 15 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 - 10 frame.hurtbox[1].y2 = frame.hurtbox[1].y1 + 55 frame.hurtbox[2].x1 = frame.hurtbox[2].x1 - 40 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 - 30 frame.hurtbox[2].y1 = frame.hurtbox[1].y1 + 40 frame.hurtbox[2].y2 = frame.hurtbox[2].y1 + 80 frame.hurtbox[3].x1 = frame.hurtbox[3].x1 - 30 frame.hurtbox[3].y1 = frame.hurtbox[2].y2 - 20 end) pat:update_frame(56,0,1, { tex_index = 303 , tex_w = 93 , tex_h = 104 , tex_offset_x = baseX +60 , tex_offset_y = baseY -28 , duration = 2 , hurtbox = pat:get_frame(56,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(56,0,2, { tex_index = 303 , tex_w = 93 , tex_h = 104 , tex_offset_x = baseX +60 , tex_offset_y = baseY -28 , duration = 4 , hurtbox = pat:get_frame(56,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(56,0,3, { tex_index = 303 , tex_w = 93 , tex_h = 104 , tex_offset_x = baseX +60 , tex_offset_y = baseY -28 , duration = 2 , hurtbox = pat:get_frame(56,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(56,0,4, { tex_index = 304 , tex_w = 117 , tex_h = 117 , tex_offset_x = baseX +84 , tex_offset_y = baseY -2 , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(56,0,4,function(frame) frame.hurtbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[3] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[1].y1 = frame.hurtbox[1].y1 + 0 frame.hurtbox[1].y2 = frame.hurtbox[1].y1 + 55 frame.hurtbox[2].x1 = frame.hurtbox[2].x1 - 30 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 - 10 frame.hurtbox[2].y1 = frame.hurtbox[1].y1 + 40 frame.hurtbox[2].y2 = frame.hurtbox[2].y1 + 80 frame.hurtbox[3].x1 = frame.hurtbox[3].x1 - 20 frame.hurtbox[3].y1 = frame.hurtbox[2].y2 - 20 end) pat:update_frame(57,0,0, { tex_index = 303 , tex_w = 93 , tex_h = 104 , tex_offset_x = baseX +60 , tex_offset_y = baseY -28 , duration = 1 , hurtbox = pat:get_frame(56,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(57,0,1, { tex_index = 303 , tex_w = 93 , tex_h = 104 , tex_offset_x = baseX +60 , tex_offset_y = baseY -28 , duration = 2 , hurtbox = pat:get_frame(56,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(57,0,2, { tex_index = 303 , tex_w = 93 , tex_h = 104 , tex_offset_x = baseX +60 , tex_offset_y = baseY -28 , duration = 7 , hurtbox = pat:get_frame(56,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(57,0,3, { tex_index = 303 , tex_w = 93 , tex_h = 104 , tex_offset_x = baseX +60 , tex_offset_y = baseY -28 , duration = 4 , hurtbox = pat:get_frame(56,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(57,0,4, { tex_index = 304 , tex_w = 117 , tex_h = 117 , tex_offset_x = baseX +84 , tex_offset_y = baseY -2 , duration = 4 , hurtbox = pat:get_frame(56,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(58,0,0, { tex_index = 303 , tex_w = 93 , tex_h = 104 , tex_offset_x = baseX +60 , tex_offset_y = baseY -28 , duration = 1 , hurtbox = pat:get_frame(56,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(58,0,1, { tex_index = 303 , tex_w = 93 , tex_h = 104 , tex_offset_x = baseX +60 , tex_offset_y = baseY -28 , duration = 2 , hurtbox = pat:get_frame(56,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(58,0,2, { tex_index = 303 , tex_w = 93 , tex_h = 104 , tex_offset_x = baseX +60 , tex_offset_y = baseY -28 , duration = 12 , hurtbox = pat:get_frame(56,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(58,0,3, { tex_index = 303 , tex_w = 93 , tex_h = 104 , tex_offset_x = baseX +60 , tex_offset_y = baseY -28 , duration = 5 , hurtbox = pat:get_frame(56,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(58,0,4, { tex_index = 304 , tex_w = 117 , tex_h = 117 , tex_offset_x = baseX +84 , tex_offset_y = baseY -2 , duration = 5 , hurtbox = pat:get_frame(56,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) --hitsit pat:update_frame(62,0,0, { tex_index = 292 , tex_w = 100 , tex_h = 99 , tex_offset_x = baseX +80 , tex_offset_y = baseY -46 , duration = 1 , hurtbox = pat:get_frame(50,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(62,0,0,function(frame) frame.hurtbox[1].y1 = frame.hurtbox[1].y1 + 30 frame.hurtbox[1].y2 = frame.hurtbox[1].y2 + 30 frame.hurtbox[2].y1 = frame.hurtbox[2].y1 + 30 frame.hurtbox[2].y2 = frame.hurtbox[2].y2 + 30 frame.hurtbox[1].x1 = frame.hurtbox[1].x1 - 15 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 - 10 frame.hurtbox[2].x1 = frame.hurtbox[2].x1 - 15 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 - 10 frame.hurtbox[2].y2 = 0 frame.hurtbox[3] = pat:get_frame(2,0,0).hurtbox[1] frame.hurtbox[3].y1 = - 60 end) pat:update_frame(62,0,1, { tex_index = 292 , tex_w = 100 , tex_h = 99 , tex_offset_x = baseX +80 , tex_offset_y = baseY -46 , duration = 2 , hurtbox = pat:get_frame(62,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(62,0,2, { tex_index = 292 , tex_w = 100 , tex_h = 99 , tex_offset_x = baseX +80 , tex_offset_y = baseY -46 , duration = 4 , hurtbox = pat:get_frame(62,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(62,0,3, { tex_index = 292 , tex_w = 100 , tex_h = 99 , tex_offset_x = baseX +80 , tex_offset_y = baseY -46 , duration = 2 , hurtbox = pat:get_frame(62,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(62,0,4, { tex_index = 293 , tex_w = 103 , tex_h = 101 , tex_offset_x = baseX +94 , tex_offset_y = baseY -44 , duration = 2 , hurtbox = pat:get_frame(62,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(63,0,0, { tex_index = 292 , tex_w = 100 , tex_h = 99 , tex_offset_x = baseX +80 , tex_offset_y = baseY -46 , duration = 1 , hurtbox = pat:get_frame(62,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(63,0,1, { tex_index = 292 , tex_w = 100 , tex_h = 99 , tex_offset_x = baseX +80 , tex_offset_y = baseY -46 , duration = 2 , hurtbox = pat:get_frame(62,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(63,0,2, { tex_index = 292 , tex_w = 100 , tex_h = 99 , tex_offset_x = baseX +80 , tex_offset_y = baseY -46 , duration = 7 , hurtbox = pat:get_frame(62,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(63,0,3, { tex_index = 292 , tex_w = 100 , tex_h = 99 , tex_offset_x = baseX +80 , tex_offset_y = baseY -46 , duration = 4 , hurtbox = pat:get_frame(62,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(63,0,4, { tex_index = 293 , tex_w = 103 , tex_h = 101 , tex_offset_x = baseX +94 , tex_offset_y = baseY -44 , duration = 4 , hurtbox = pat:get_frame(62,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(64,0,0, { tex_index = 292 , tex_w = 100 , tex_h = 99 , tex_offset_x = baseX +80 , tex_offset_y = baseY -46 , duration = 1 , hurtbox = pat:get_frame(62,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(64,0,1, { tex_index = 292 , tex_w = 100 , tex_h = 99 , tex_offset_x = baseX +80 , tex_offset_y = baseY -46 , duration = 2 , hurtbox = pat:get_frame(62,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(64,0,2, { tex_index = 292 , tex_w = 100 , tex_h = 99 , tex_offset_x = baseX +80 , tex_offset_y = baseY -46 , duration = 12 , hurtbox = pat:get_frame(62,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(64,0,3, { tex_index = 292 , tex_w = 100 , tex_h = 99 , tex_offset_x = baseX +80 , tex_offset_y = baseY -46 , duration = 5 , hurtbox = pat:get_frame(62,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(64,0,4, { tex_index = 293 , tex_w = 103 , tex_h = 101 , tex_offset_x = baseX +94 , tex_offset_y = baseY -44 , duration = 5 , hurtbox = pat:get_frame(62,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision }) --hitair --restand pat:update_frame(70,0,0, { tex_index = 308 , tex_w = 99 , tex_h = 116 , tex_offset_x = baseX +54 , tex_offset_y = baseY -6 +10 , duration = 10 , hurtbox = pat:get_frame(50,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(70,0,0,function(frame) for idx = 1 , 3 do frame.hurtbox[idx].y1 = frame.hurtbox[idx].y1 - 5 frame.hurtbox[idx].y2 = frame.hurtbox[idx].y2 - 5 end frame.hurtbox[3].y2 = frame.hurtbox[3].y2 - 10 end) pat:update_frame(70,0,1, { tex_index = 308 , tex_w = 99 , tex_h = 116 , tex_offset_x = baseX +54 , tex_offset_y = baseY -6 +10 , duration = 4 , hurtbox = pat:get_frame(70,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(70,0,2, { tex_index = 308 , tex_w = 99 , tex_h = 116 , tex_offset_x = baseX +54 , tex_offset_y = baseY -6 +10 , duration = 4 , hurtbox = pat:get_frame(70,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(70,0,3, { tex_index = 309 , tex_w = 94 , tex_h = 117 , tex_offset_x = baseX +40 , tex_offset_y = baseY -4 +10 , duration = 4 , hurtbox = pat:get_frame(50,0,4).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(70,0,3,function(frame) for idx = 1 , 3 do frame.hurtbox[idx].y1 = frame.hurtbox[idx].y1 - 5 frame.hurtbox[idx].y2 = frame.hurtbox[idx].y2 - 5 end frame.hurtbox[3].y2 = frame.hurtbox[3].y2 - 10 end) pat:update_frame(70,0,4, { tex_index = 318 , tex_w = 100 , tex_h = 121 , tex_offset_x = baseX +46 , tex_offset_y = baseY +20 +0 , duration = 5 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:split_frame(70,1,1,1,1) pat:update_frame(70,1,0, { tex_index = 319 , tex_w = 96 , tex_h = 126 , tex_offset_x = baseX +46 , tex_offset_y = baseY +16 , duration = 4 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(70,1,1, { tex_index = 320 , tex_w = 96 , tex_h = 126 , tex_offset_x = baseX +46 , tex_offset_y = baseY +16 , duration = 4 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(70,1,2, { tex_index = 321 , tex_w = 96 , tex_h = 126 , tex_offset_x = baseX +46 , tex_offset_y = baseY +16 , duration = 4 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(71,0,0, { tex_index = 303 , tex_w = 93 , tex_h = 104 , tex_offset_x = baseX +60 -10 , tex_offset_y = baseY -28 +10 , duration = 3 , hurtbox = pat:get_frame(56,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) --0 pat:update_frame(71,0,0,function(frame) frame.hurtbox[1].x1 = frame.hurtbox[1].x1 + 10 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 + 10 frame.hurtbox[2].x1 = frame.hurtbox[2].x1 + 10 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 + 10 frame.hurtbox[3].x1 = frame.hurtbox[3].x1 + 10 frame.hurtbox[3].x2 = frame.hurtbox[3].x2 + 10 frame.hurtbox[1].y1 = frame.hurtbox[1].y1 - 10 frame.hurtbox[1].y2 = frame.hurtbox[1].y2 - 10 frame.hurtbox[2].y1 = frame.hurtbox[2].y1 - 10 frame.hurtbox[2].y2 = frame.hurtbox[2].y2 - 10 frame.hurtbox[3].y1 = frame.hurtbox[3].y1 - 10 frame.hurtbox[3].y2 = frame.hurtbox[3].y2 - 25 end) pat:update_frame(71,1,0, { tex_index = 309 , tex_w = 94 , tex_h = 117 , tex_offset_x = baseX +40 -10 , tex_offset_y = baseY -4 +2 , duration = 4 , hurtbox = pat:get_frame(50,0,4).hurtbox , collision = pat:get_frame(9,0,0).collision }) --1 pat:update_frame(71,1,0,function(frame) frame.hurtbox[1].x1 = frame.hurtbox[1].x1 + 10 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 + 10 frame.hurtbox[2].x1 = frame.hurtbox[2].x1 + 10 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 + 10 frame.hurtbox[3].x1 = frame.hurtbox[3].x1 + 10 frame.hurtbox[3].x2 = frame.hurtbox[3].x2 + 10 frame.hurtbox[1].y1 = frame.hurtbox[1].y1 - 4 frame.hurtbox[1].y2 = frame.hurtbox[1].y2 - 4 frame.hurtbox[2].y1 = frame.hurtbox[2].y1 - 4 frame.hurtbox[2].y2 = frame.hurtbox[2].y2 - 4 frame.hurtbox[3].y1 = frame.hurtbox[3].y1 - 4 frame.hurtbox[3].y2 = frame.hurtbox[3].y2 - 15 end) pat:update_frame(71,2,0, { tex_index = 308 , tex_w = 99 , tex_h = 116 , tex_offset_x = baseX +54 -6 , tex_offset_y = baseY -6 +2 , duration = 4 , hurtbox = pat:get_frame(50,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) --2 pat:update_frame(71,2,0,function(frame) frame.hurtbox[1].x1 = frame.hurtbox[1].x1 + 6 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 + 6 frame.hurtbox[2].x1 = frame.hurtbox[2].x1 + 6 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 + 6 frame.hurtbox[3].x1 = frame.hurtbox[3].x1 + 6 frame.hurtbox[3].x2 = frame.hurtbox[3].x2 + 6 frame.hurtbox[1].y1 = frame.hurtbox[1].y1 - 4 frame.hurtbox[1].y2 = frame.hurtbox[1].y2 - 4 frame.hurtbox[2].y1 = frame.hurtbox[2].y1 - 4 frame.hurtbox[2].y2 = frame.hurtbox[2].y2 - 4 frame.hurtbox[3].y1 = frame.hurtbox[3].y1 - 4 frame.hurtbox[3].y2 = frame.hurtbox[3].y2 - 15 end) pat:update_frame(71,2,1, { tex_index = 288 , tex_w = 121 , tex_h = 61 , tex_offset_x = baseX +58 , tex_offset_y = baseY -84 -10 , duration = 4 , collision = pat:get_frame(9,0,0).collision }) --3 pat:update_frame(71,2,1,function(frame) frame.hurtbox[1].y1 = frame.hurtbox[1].y1 - 15 frame.hurtbox[1].y2 = frame.hurtbox[1].y2 - 15 frame.hurtbox[3].y1 = frame.hurtbox[3].y1 - 10 end) pat:update_frame(71,2,2, { tex_index = 289 , tex_w = 121 , tex_h = 110 , tex_offset_x = baseX +72 -15 , tex_offset_y = baseY -42 , duration = 4 , collision = pat:get_frame(9,0,0).collision }) --4 pat:update_frame(71,2,2,function(frame) frame.hurtbox[1].x1 = frame.hurtbox[1].x1 - 25 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 - 15 frame.hurtbox[1].y1 = frame.hurtbox[1].y1 - 20 frame.hurtbox[1].y2 = frame.hurtbox[1].y2 - 10 frame.hurtbox[2].x1 = frame.hurtbox[2].x1 - 10 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 - 10 frame.hurtbox[3].x1 = frame.hurtbox[3].x1 - 10 end) pat:update_frame(71,3,0, { tex_index = 290 , tex_w = 73 , tex_h = 161 , tex_offset_x = baseX +0 -10 , tex_offset_y = baseY +12 , duration = 4 , collision = pat:get_frame(9,0,0).collision }) --5 pat:update_frame(71,3,0,function(frame) frame.hurtbox[1].y1 = frame.hurtbox[1].y1 - 15 end) pat:update_frame(71,3,1, { tex_index = 290 , tex_w = 73 , tex_h = 161 , tex_offset_x = baseX +0 -10 , tex_offset_y = baseY +12 , duration = 4 , hurtbox = pat:get_frame(71,3,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) --6 pat:update_frame(73,0,0, { tex_index = 303 , tex_w = 93 , tex_h = 104 , tex_offset_x = baseX +60 -10 , tex_offset_y = baseY -28 +10 , duration = 3 , hurtbox = pat:get_frame(71,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) --0 pat:update_frame(73,1,0, { tex_index = 288 , tex_w = 121 , tex_h = 61 , tex_offset_x = baseX +58 , tex_offset_y = baseY -84 -10 , duration = 4 , hurtbox = pat:get_frame(71,2,1).hurtbox , collision = pat:get_frame(9,0,0).collision }) --3 pat:update_frame(73,2,0, { tex_index = 289 , tex_w = 121 , tex_h = 110 , tex_offset_x = baseX +72 -15 , tex_offset_y = baseY -42 , duration = 4 , hurtbox = pat:get_frame(71,2,2).hurtbox , collision = pat:get_frame(9,0,0).collision }) --4 pat:update_frame(73,3,0, { tex_index = 290 , tex_w = 73 , tex_h = 161 , tex_offset_x = baseX +0 -10 , tex_offset_y = baseY +12 , duration = 4 , hurtbox = pat:get_frame(71,3,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) --5 pat:update_frame(73,3,1, { tex_index = 290 , tex_w = 73 , tex_h = 161 , tex_offset_x = baseX +0 -10 , tex_offset_y = baseY +12 , duration = 4 , hurtbox = pat:get_frame(71,3,1).hurtbox , collision = pat:get_frame(9,0,0).collision }) --6 pat:update_frame(76,0,0, { tex_index = 303 , tex_w = 93 , tex_h = 104 , tex_offset_x = baseX +60 -10 , tex_offset_y = baseY -28 +10 , duration = 3 , hurtbox = pat:get_frame(71,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) --0 pat:update_frame(76,1,0, { tex_index = 309 , tex_w = 94 , tex_h = 117 , tex_offset_x = baseX +40 -10 , tex_offset_y = baseY -4 +2 , duration = 4 , hurtbox = pat:get_frame(71,1,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) --1 pat:update_frame(76,1,1, { tex_index = 308 , tex_w = 99 , tex_h = 116 , tex_offset_x = baseX +54 -6 , tex_offset_y = baseY -6 +2 , duration = 4 , hurtbox = pat:get_frame(71,2,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) --2 pat:update_frame(76,2,0, { tex_index = 288 , tex_w = 121 , tex_h = 61 , tex_offset_x = baseX +58 , tex_offset_y = baseY -84 -10 , duration = 4 , hurtbox = pat:get_frame(71,2,1).hurtbox , collision = pat:get_frame(9,0,0).collision }) --3 pat:update_frame(77,0,0, { tex_index = 303 , tex_w = 93 , tex_h = 104 , tex_offset_x = baseX +60 -10 , tex_offset_y = baseY -28 +10 , duration = 3 , hurtbox = pat:get_frame(71,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) --0 pat:update_frame(77,0,1, { tex_index = 309 , tex_w = 94 , tex_h = 117 , tex_offset_x = baseX +40 -10 , tex_offset_y = baseY -4 +2 , duration = 4 , hurtbox = pat:get_frame(71,1,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) --1 pat:update_frame(77,0,2, { tex_index = 308 , tex_w = 99 , tex_h = 116 , tex_offset_x = baseX +54 -6 , tex_offset_y = baseY -6 +2 , duration = 4 , hurtbox = pat:get_frame(71,2,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) --2 pat:update_frame(77,1,0, { tex_index = 288 , tex_w = 121 , tex_h = 61 , tex_offset_x = baseX +58 , tex_offset_y = baseY -84 -10 , duration = 4 , hurtbox = pat:get_frame(71,2,1).hurtbox , collision = pat:get_frame(9,0,0).collision }) --3 pat:update_frame(78,0,0, { tex_index = 303 , tex_w = 93 , tex_h = 104 , tex_offset_x = baseX +60 -10 , tex_offset_y = baseY -28 +10 , duration = 3 , hurtbox = pat:get_frame(71,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) --0 pat:update_frame(78,1,0, { tex_index = 309 , tex_w = 94 , tex_h = 117 , tex_offset_x = baseX +40 -10 , tex_offset_y = baseY -4 +2 , duration = 4 , hurtbox = pat:get_frame(71,1,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) --1 pat:update_frame(78,2,0, { tex_index = 308 , tex_w = 99 , tex_h = 116 , tex_offset_x = baseX +54 -6 , tex_offset_y = baseY -6 +2 , duration = 4 , hurtbox = pat:get_frame(71,2,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) --2 pat:update_frame(78,2,1, { tex_index = 288 , tex_w = 121 , tex_h = 61 , tex_offset_x = baseX +58 , tex_offset_y = baseY -84 -10 , duration = 4 , hurtbox = pat:get_frame(71,2,1).hurtbox , collision = pat:get_frame(9,0,0).collision }) --3 pat:update_frame(78,2,2, { tex_index = 289 , tex_w = 121 , tex_h = 110 , tex_offset_x = baseX +72 -15 , tex_offset_y = baseY -42 , duration = 4 , hurtbox = pat:get_frame(71,2,2).hurtbox , collision = pat:get_frame(9,0,0).collision }) --4 pat:update_frame(78,3,0, { tex_index = 290 , tex_w = 73 , tex_h = 161 , tex_offset_x = baseX +0 -10 , tex_offset_y = baseY +12 , duration = 4 , hurtbox = pat:get_frame(71,3,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) --5 pat:update_frame(78,3,1, { tex_index = 290 , tex_w = 73 , tex_h = 161 , tex_offset_x = baseX +0 -10 , tex_offset_y = baseY +12 , duration = 4 , hurtbox = pat:get_frame(71,3,1).hurtbox , collision = pat:get_frame(9,0,0).collision }) --6 --crash --83 pat:update_frame(83,0,0, { tex_index = 303 , tex_w = 93 , tex_h = 104 , tex_offset_x = baseX +60 -10 , tex_offset_y = baseY -28 +10 , duration = 4 , hurtbox = pat:get_frame(71,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) --0 --pat:update_frame(83,0,1, { tex_index = 310 , tex_w = 99 , tex_h = 116 , tex_offset_x = baseX +54 , tex_offset_y = baseY -6 , duration = 4 , hurtbox = pat:get_frame(50,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(83,0,1, { tex_index = 311 , tex_w = 94 , tex_h = 117 , tex_offset_x = baseX +40 , tex_offset_y = baseY -4 , duration = 3 , hurtbox = pat:get_frame(50,0,4).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(83,0,1,function(frame) frame.hurtbox[3].y2 = frame.hurtbox[3].y2 - 10 end) pat:update_frame(83,0,2, { tex_index = 311 , tex_w = 94 , tex_h = 117 , tex_offset_x = baseX +40 , tex_offset_y = baseY -4 , duration = 3 , hurtbox = pat:get_frame(83,0,1).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(83,0,3, { tex_index = 311 , tex_w = 94 , tex_h = 117 , tex_offset_x = baseX +40 , tex_offset_y = baseY -4 , duration = 3 , hurtbox = pat:get_frame(83,0,1).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(83,0,4, { tex_index = 311 , tex_w = 94 , tex_h = 117 , tex_offset_x = baseX +40 , tex_offset_y = baseY -4 , duration = 3 , hurtbox = pat:get_frame(83,0,1).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(83,0,5, { tex_index = 311 , tex_w = 94 , tex_h = 117 , tex_offset_x = baseX +40 , tex_offset_y = baseY -4 , duration = 3 , hurtbox = pat:get_frame(83,0,1).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(83,0,6, { tex_index = 311 , tex_w = 94 , tex_h = 117 , tex_offset_x = baseX +40 , tex_offset_y = baseY -4 , duration = 3 , hurtbox = pat:get_frame(83,0,1).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(83,0,7, { tex_index = 311 , tex_w = 94 , tex_h = 117 , tex_offset_x = baseX +40 , tex_offset_y = baseY -4 , duration = 3 , hurtbox = pat:get_frame(83,0,1).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(83,0,8, { tex_index = 311 , tex_w = 94 , tex_h = 117 , tex_offset_x = baseX +40 , tex_offset_y = baseY -4 , duration = 3 , hurtbox = pat:get_frame(83,0,1).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(83,0,9, { tex_index = 311 , tex_w = 94 , tex_h = 117 , tex_offset_x = baseX +40 , tex_offset_y = baseY -4 , duration = 3 , hurtbox = pat:get_frame(83,0,1).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(83,0,10, { tex_index = 311 , tex_w = 94 , tex_h = 117 , tex_offset_x = baseX +40 , tex_offset_y = baseY -4 , duration = 3 , hurtbox = pat:get_frame(83,0,1).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(83,0,11, { tex_index = 311 , tex_w = 94 , tex_h = 117 , tex_offset_x = baseX +40 , tex_offset_y = baseY -4 , duration = 3 , hurtbox = pat:get_frame(83,0,1).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(83,0,12, { tex_index = 311 , tex_w = 94 , tex_h = 117 , tex_offset_x = baseX +40 , tex_offset_y = baseY -4 , duration = 3 , hurtbox = pat:get_frame(83,0,1).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(83,1,0, { tex_index = 308 , tex_w = 99 , tex_h = 116 , tex_offset_x = baseX +54 -6 , tex_offset_y = baseY -6 +2 , duration = 4 , hurtbox = pat:get_frame(71,2,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) --2 pat:update_frame(83,1,1, { tex_index = 288 , tex_w = 121 , tex_h = 61 , tex_offset_x = baseX +58 , tex_offset_y = baseY -84 -10 , duration = 4 , hurtbox = pat:get_frame(71,2,1).hurtbox , collision = pat:get_frame(9,0,0).collision }) --3 pat:update_frame(83,1,2, { tex_index = 289 , tex_w = 121 , tex_h = 110 , tex_offset_x = baseX +72 -15 , tex_offset_y = baseY -42 , duration = 4 , hurtbox = pat:get_frame(71,2,2).hurtbox , collision = pat:get_frame(9,0,0).collision }) --4 pat:update_frame(83,2,0, { tex_index = 290 , tex_w = 73 , tex_h = 161 , tex_offset_x = baseX +0 -10 , tex_offset_y = baseY +12 , duration = 4 , hurtbox = pat:get_frame(71,3,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) --5 pat:update_frame(83,2,1, { tex_index = 290 , tex_w = 73 , tex_h = 161 , tex_offset_x = baseX +0 -10 , tex_offset_y = baseY +12 , duration = 4 , hurtbox = pat:get_frame(71,3,1).hurtbox , collision = pat:get_frame(9,0,0).collision }) --6 --84 what pat:update_frame(84,0,0, { tex_index = 303 , tex_w = 93 , tex_h = 104 , tex_offset_x = baseX +60 -10 , tex_offset_y = baseY -28 , duration = 20 , hurtbox = pat:get_frame(56,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(84,1,0, { tex_index = 308 , tex_w = 99 , tex_h = 116 , tex_offset_x = baseX +54 -6 , tex_offset_y = baseY -6 , duration = 2 , hurtbox = pat:get_frame(50,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(84,1,1, { tex_index = 308 , tex_w = 99 , tex_h = 116 , tex_offset_x = baseX +54 -6 , tex_offset_y = baseY -6 , duration = 2 , hurtbox = pat:get_frame(50,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(84,1,2, { tex_index = 308 , tex_w = 99 , tex_h = 116 , tex_offset_x = baseX +54 -6 , tex_offset_y = baseY -6 , duration = 5 , hurtbox = pat:get_frame(50,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(84,1,3, { tex_index = 308 , tex_w = 99 , tex_h = 116 , tex_offset_x = baseX +54 -6 , tex_offset_y = baseY -6 , duration = 3 , hurtbox = pat:get_frame(50,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(84,1,4, { tex_index = 309 , tex_w = 94 , tex_h = 117 , tex_offset_x = baseX +40 -10 , tex_offset_y = baseY -4 , duration = 3 , hurtbox = pat:get_frame(50,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(85,0,0, { tex_index = 303 , tex_w = 93 , tex_h = 104 , tex_offset_x = baseX +60 -10 , tex_offset_y = baseY -28 , duration = 20 , hurtbox = pat:get_frame(56,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(85,1,0, { tex_index = 308 , tex_w = 99 , tex_h = 116 , tex_offset_x = baseX +54 -6 , tex_offset_y = baseY -6 , duration = 2 , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(85,1,1, { tex_index = 308 , tex_w = 99 , tex_h = 116 , tex_offset_x = baseX +54 -6 , tex_offset_y = baseY -6 , duration = 2 , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(85,1,2, { tex_index = 308 , tex_w = 99 , tex_h = 116 , tex_offset_x = baseX +54 -6 , tex_offset_y = baseY -6 , duration = 5 , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(85,1,3, { tex_index = 308 , tex_w = 99 , tex_h = 116 , tex_offset_x = baseX +54 -6 , tex_offset_y = baseY -6 , duration = 3 , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(85,1,4, { tex_index = 309 , tex_w = 94 , tex_h = 117 , tex_offset_x = baseX +40 -10 , tex_offset_y = baseY -4 , duration = 3 , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(86,0,0, { tex_index = 303 , tex_w = 93 , tex_h = 104 , tex_offset_x = baseX +60 -10 , tex_offset_y = baseY -28 +10 , duration = 4 , hurtbox = pat:get_frame(71,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) --0 pat:update_frame(87,0,0, { tex_index = 303 , tex_w = 93 , tex_h = 104 , tex_offset_x = baseX +60 -10 , tex_offset_y = baseY -28 +10 , duration = 4 , hurtbox = pat:get_frame(71,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) --0 --down 89 pat:update_frame(89,0,0, { tex_index = 254 , tex_w = 131 , tex_h = 63 , tex_offset_x = baseX +32 , tex_offset_y = baseY -110 , duration = 3 }) --d0 pat:update_frame(89,0,1, { tex_index = 255 , tex_w = 128 , tex_h = 56 , tex_offset_x = baseX +26 , tex_offset_y = baseY -148 , duration = 3 }) --d1 pat:update_frame(89,1,0, { tex_index = 303 , tex_w = 93 , tex_h = 104 , tex_offset_x = baseX +60 -10 , tex_offset_y = baseY -28 +10 , duration = 3 , hurtbox = pat:get_frame(71,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) --0 pat:update_frame(89,1,1, { tex_index = 309 , tex_w = 94 , tex_h = 117 , tex_offset_x = baseX +40 -10 , tex_offset_y = baseY -4 +2 , duration = 3 , hurtbox = pat:get_frame(71,1,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) --1 pat:update_frame(89,1,2, { tex_index = 308 , tex_w = 99 , tex_h = 116 , tex_offset_x = baseX +54 -6 , tex_offset_y = baseY -6 +2 , duration = 3 , hurtbox = pat:get_frame(71,2,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) --2 pat:update_frame(89,2,0, { tex_index = 288 , tex_w = 121 , tex_h = 61 , tex_offset_x = baseX +58 , tex_offset_y = baseY -84 -10 , duration = 4 , hurtbox = pat:get_frame(71,2,1).hurtbox , collision = pat:get_frame(9,0,0).collision }) --3 --down 96 pat:update_frame(96,0,0, { tex_index = 254 , tex_w = 131 , tex_h = 63 , tex_offset_x = baseX +32 , tex_offset_y = baseY -110 , duration = 3 }) --d0 pat:update_frame(96,0,1, { tex_index = 255 , tex_w = 128 , tex_h = 56 , tex_offset_x = baseX +26 , tex_offset_y = baseY -148 , duration = 5 }) --d1 pat:update_frame(96,1,0, { tex_index = 256 , tex_w = 117 , tex_h = 61 , tex_offset_x = baseX +14 , tex_offset_y = baseY -126 , duration = 3 }) --d2 pat:update_frame(96,2,0, { tex_index = 254 , tex_w = 131 , tex_h = 63 , tex_offset_x = baseX +32 , tex_offset_y = baseY -110 , duration = 3 }) --d3 pat:update_frame(96,3,0, { tex_index = 258 , tex_w = 128 , tex_h = 56 , tex_offset_x = baseX +26 , tex_offset_y = baseY -148 , duration = 3 }) --d4 pat:update_frame(96,3,1, { tex_index = 258 , tex_w = 128 , tex_h = 56 , tex_offset_x = baseX +26 , tex_offset_y = baseY -148 , duration = 3 }) --?? pat:update_frame(96,3,2, { tex_index = 258 , tex_w = 128 , tex_h = 56 , tex_offset_x = baseX +26 , tex_offset_y = baseY -148 , duration = 10 }) --?? --pat:update_frame(96,2,0, { tex_index = 257 , tex_w = 117 , tex_h = 61 , tex_offset_x = baseX +14 , tex_offset_y = baseY -126 , duration = 5 }) --d3 pat:update_frame(97,0,0, { tex_index = 254 , tex_w = 131 , tex_h = 63 , tex_offset_x = baseX +32 , tex_offset_y = baseY -110 , duration = 3 }) --d0 pat:update_frame(97,0,1, { tex_index = 255 , tex_w = 128 , tex_h = 56 , tex_offset_x = baseX +26 , tex_offset_y = baseY -148 , duration = 3 }) --d1 pat:update_frame(97,1,0, { tex_index = 256 , tex_w = 117 , tex_h = 61 , tex_offset_x = baseX +14 , tex_offset_y = baseY -126 , duration = 3 }) --d2 pat:update_frame(97,2,0, { tex_index = 256 , tex_w = 117 , tex_h = 61 , tex_offset_x = baseX +14 , tex_offset_y = baseY -126 , duration = 3 }) --d2 pat:update_frame(97,3,0, { tex_index = 254 , tex_w = 131 , tex_h = 63 , tex_offset_x = baseX +32 , tex_offset_y = baseY -110 , duration = 3 }) --d3 pat:update_frame(97,3,1, { tex_index = 258 , tex_w = 128 , tex_h = 56 , tex_offset_x = baseX +26 , tex_offset_y = baseY -148 , duration = 3 }) --d4 pat:update_frame(98,0,0, { tex_index = 258 , tex_w = 128 , tex_h = 56 , tex_offset_x = baseX +26 , tex_offset_y = baseY -148 , duration = 10 }) --d4 pat:update_frame(99,0,0, { tex_index = 258 , tex_w = 128 , tex_h = 56 , tex_offset_x = baseX +26 , tex_offset_y = baseY -148 , duration = 10 }) --d4 pat:update_frame(99,1,0, { tex_index = 258 , tex_w = 128 , tex_h = 56 , tex_offset_x = baseX +26 , tex_offset_y = baseY -148 , duration = 110 }) --d4 pat:update_frame(99,2,0, { tex_index = 258 , tex_w = 128 , tex_h = 56 , tex_offset_x = baseX +26 , tex_offset_y = baseY -148 , duration = 9999 }) --d4 pat:update_frame(99,3,0, { tex_index = 258 , tex_w = 128 , tex_h = 56 , tex_offset_x = baseX +26 , tex_offset_y = baseY -148 , duration = 9999 }) --d4 pat:update_frame(99,4,0, { tex_index = 258 , tex_w = 128 , tex_h = 56 , tex_offset_x = baseX +26 , tex_offset_y = baseY -148 , duration = 9999 }) --d4 pat:update_frame(99,5,0, { tex_index = 258 , tex_w = 128 , tex_h = 56 , tex_offset_x = baseX +26 , tex_offset_y = baseY -148 , duration = 9999 }) --d4 --cinematics pat:update_frame(100,0,0, { tex_index = 308 , tex_w = 99 , tex_h = 116 , tex_offset_x = baseX +54 -6 , tex_offset_y = baseY -6 -10 }) pat:update_frame(101,0,0, { tex_index = 308 , tex_w = 99 , tex_h = 116 , tex_offset_x = baseX +54 -11 , tex_offset_y = baseY -6 -74 }) pat:update_frame(102,0,0, { tex_index = 303 , tex_w = 93 , tex_h = 104 , tex_offset_x = baseX +60 -10 , tex_offset_y = baseY -28 -5 }) pat:update_frame(103,0,0, { tex_index = 303 , tex_w = 93 , tex_h = 104 , tex_offset_x = baseX +60 -25 , tex_offset_y = baseY -28 -67 }) pat:update_frame(104,0,0, { tex_index = 292 , tex_w = 100 , tex_h = 99 , tex_offset_x = baseX +80 -10 , tex_offset_y = baseY -46 -15 }) pat:update_frame(105,0,0, { tex_index = 292 , tex_w = 100 , tex_h = 99 , tex_offset_x = baseX +80 -22 , tex_offset_y = baseY -46 -45 }) pat:update_frame(106,0,0, { tex_index = 309 , tex_w = 94 , tex_h = 117 , tex_offset_x = baseX +40 -10 , tex_offset_y = baseY -4 +2 }) --1 pat:update_frame(107,0,0, { tex_index = 309 , tex_w = 94 , tex_h = 117 , tex_offset_x = baseX +40 -10 , tex_offset_y = baseY -4 +2 -70 }) --1 pat:update_frame(108,0,0, { tex_index = 288 , tex_w = 121 , tex_h = 61 , tex_offset_x = baseX +58 , tex_offset_y = baseY -84 -10 }) --3 pat:update_frame(109,0,0, { tex_index = 288 , tex_w = 121 , tex_h = 61 , tex_offset_x = baseX +58 -16 , tex_offset_y = baseY -84 -10 -50 }) --3 pat:update_frame(110,0,0, { tex_index = 290 , tex_w = 73 , tex_h = 161 , tex_offset_x = baseX +0 -10 , tex_offset_y = baseY +12 }) --5 pat:update_frame(111,0,0, { tex_index = 290 , tex_w = 73 , tex_h = 161 , tex_offset_x = baseX +0 -10 -3 , tex_offset_y = baseY +12 -28 }) --5 --down 112 pat:update_frame(112,0,0, { tex_index = 254 , tex_w = 131 , tex_h = 63 , tex_offset_x = baseX +32 , tex_offset_y = baseY -110 }) --d0 pat:update_frame(112,0,1, { tex_index = 255 , tex_w = 128 , tex_h = 56 , tex_offset_x = baseX +26 , tex_offset_y = baseY -148 }) --d1 pat:update_frame(112,1,0, { tex_index = 256 , tex_w = 117 , tex_h = 61 , tex_offset_x = baseX +14 , tex_offset_y = baseY -126 }) --d2 pat:update_frame(112,2,0, { tex_index = 256 , tex_w = 117 , tex_h = 61 , tex_offset_x = baseX +14 , tex_offset_y = baseY -126 }) --d2 pat:update_frame(112,3,0, { tex_index = 254 , tex_w = 131 , tex_h = 63 , tex_offset_x = baseX +32 , tex_offset_y = baseY -110 }) --d3 pat:update_frame(112,3,1, { tex_index = 258 , tex_w = 128 , tex_h = 56 , tex_offset_x = baseX +26 , tex_offset_y = baseY -148 }) --d4 pat:update_frame(112,4,0, { tex_index = 258 , tex_w = 128 , tex_h = 56 , tex_offset_x = baseX +26 , tex_offset_y = baseY -148 }) --d4 pat:update_frame(113,0,0, { tex_index = 256 , tex_w = 117 , tex_h = 61 , tex_offset_x = baseX +14 , tex_offset_y = baseY -126 }) --d2 pat:update_frame(113,1,0, { tex_index = 254 , tex_w = 131 , tex_h = 63 , tex_offset_x = baseX +32 , tex_offset_y = baseY -110 }) --d3 pat:update_frame(113,1,1, { tex_index = 258 , tex_w = 128 , tex_h = 56 , tex_offset_x = baseX +26 , tex_offset_y = baseY -148 }) --d4 pat:update_frame(113,2,0, { tex_index = 258 , tex_w = 128 , tex_h = 56 , tex_offset_x = baseX +26 , tex_offset_y = baseY -148 }) --d4 pat:update_frame(114,0,0, { tex_index = 258 , tex_w = 128 , tex_h = 56 , tex_offset_x = baseX +26 , tex_offset_y = baseY -148 }) --d4 --140 ??? --143 crash? pat:update_frame(143,0,0, { tex_index = 310 , tex_w = 99 , tex_h = 116 , tex_offset_x = baseX +54 , tex_offset_y = baseY -6 , duration = 3 , hurtbox = pat:get_frame(50,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(143,1,0, { tex_index = 311 , tex_w = 94 , tex_h = 117 , tex_offset_x = baseX +40 , tex_offset_y = baseY -4 , duration = 3 , hurtbox = pat:get_frame(50,0,4).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(143,1,1, { tex_index = 311 , tex_w = 94 , tex_h = 117 , tex_offset_x = baseX +40 , tex_offset_y = baseY -4 , duration = 3 , hurtbox = pat:get_frame(50,0,4).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(143,2,0, { tex_index = 310 , tex_w = 99 , tex_h = 116 , tex_offset_x = baseX +54 , tex_offset_y = baseY -6 , duration = 6 , hurtbox = pat:get_frame(50,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(145,0,0, { tex_index = 303 , tex_w = 93 , tex_h = 104 , tex_offset_x = baseX +60 -10 , tex_offset_y = baseY -28 +10 , duration = 3 , hurtbox = pat:get_frame(71,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) --0 pat:update_frame(145,1,0, { tex_index = 309 , tex_w = 94 , tex_h = 117 , tex_offset_x = baseX +40 -10 , tex_offset_y = baseY -4 +2 , duration = 15 , hurtbox = pat:get_frame(71,1,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) --1 pat:update_frame(145,2,0, { tex_index = 308 , tex_w = 99 , tex_h = 116 , tex_offset_x = baseX +54 -6 , tex_offset_y = baseY -6 +2 , duration = 4 , hurtbox = pat:get_frame(71,2,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) --2 pat:update_frame(145,2,1, { tex_index = 288 , tex_w = 121 , tex_h = 61 , tex_offset_x = baseX +58 , tex_offset_y = baseY -84 -10 , duration = 4 , hurtbox = pat:get_frame(71,2,1).hurtbox , collision = pat:get_frame(9,0,0).collision }) --3 pat:update_frame(145,2,2, { tex_index = 289 , tex_w = 121 , tex_h = 110 , tex_offset_x = baseX +72 -15 , tex_offset_y = baseY -42 , duration = 4 , hurtbox = pat:get_frame(71,2,2).hurtbox , collision = pat:get_frame(9,0,0).collision }) --4 pat:update_frame(145,3,0, { tex_index = 290 , tex_w = 73 , tex_h = 161 , tex_offset_x = baseX +0 -10 , tex_offset_y = baseY +12 , duration = 4 , hurtbox = pat:get_frame(71,3,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) --5 pat:update_frame(145,3,1, { tex_index = 290 , tex_w = 73 , tex_h = 161 , tex_offset_x = baseX +0 -10 , tex_offset_y = baseY +12 , duration = 4 , hurtbox = pat:get_frame(71,3,1).hurtbox , collision = pat:get_frame(9,0,0).collision }) --6 pat:update_frame(149,0,0, { tex_index = 303 , tex_w = 93 , tex_h = 104 , tex_offset_x = baseX +60 -10 , tex_offset_y = baseY -28 +10 , duration = 3 , hurtbox = pat:get_frame(71,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) --0 pat:update_frame(149,1,0, { tex_index = 309 , tex_w = 94 , tex_h = 117 , tex_offset_x = baseX +40 -10 , tex_offset_y = baseY -4 +2 , duration = 10 , hurtbox = pat:get_frame(71,1,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) --1 pat:update_frame(149,2,0, { tex_index = 308 , tex_w = 99 , tex_h = 116 , tex_offset_x = baseX +54 -6 , tex_offset_y = baseY -6 +2 , duration = 4 , hurtbox = pat:get_frame(71,2,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) --2 pat:update_frame(149,2,1, { tex_index = 288 , tex_w = 121 , tex_h = 61 , tex_offset_x = baseX +58 , tex_offset_y = baseY -84 -10 , duration = 4 , hurtbox = pat:get_frame(71,2,1).hurtbox , collision = pat:get_frame(9,0,0).collision }) --3 pat:update_frame(149,2,2, { tex_index = 289 , tex_w = 121 , tex_h = 110 , tex_offset_x = baseX +72 -15 , tex_offset_y = baseY -42 , duration = 4 , hurtbox = pat:get_frame(71,2,2).hurtbox , collision = pat:get_frame(9,0,0).collision }) --4 pat:update_frame(149,3,0, { tex_index = 290 , tex_w = 73 , tex_h = 161 , tex_offset_x = baseX +0 -10 , tex_offset_y = baseY +12 , duration = 4 , hurtbox = pat:get_frame(71,3,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) --5 pat:update_frame(149,3,1, { tex_index = 290 , tex_w = 73 , tex_h = 161 , tex_offset_x = baseX +0 -10 , tex_offset_y = baseY +12 , duration = 4 , hurtbox = pat:get_frame(71,3,1).hurtbox , collision = pat:get_frame(9,0,0).collision }) --6 --airtech pat:update_frame(180,0,0, { tex_index = 315 , tex_w = 84 , tex_h = 121 , tex_offset_x = baseX +34 , tex_offset_y = baseY +10 , duration = 4 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(180,0,1, { tex_index = 315 , tex_w = 84 , tex_h = 121 , tex_offset_x = baseX +34 , tex_offset_y = baseY +10 , duration = 4 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(180,0,2, { tex_index = 315 , tex_w = 84 , tex_h = 121 , tex_offset_x = baseX +34 , tex_offset_y = baseY +10 , duration = 7 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(180,0,3, { tex_index = 316 , tex_w = 84 , tex_h = 121 , tex_offset_x = baseX +34 , tex_offset_y = baseY +10 , duration = 5 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(180,0,4, { tex_index = 317 , tex_w = 84 , tex_h = 121 , tex_offset_x = baseX +34 , tex_offset_y = baseY +10 , duration = 5 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(180,0,5, { tex_index = 318 , tex_w = 100 , tex_h = 121 , tex_offset_x = baseX +46 , tex_offset_y = baseY +20 +0 , duration = 5 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:split_frame(180,1,1,2,2) pat:update_frame(180,1,0, { tex_index = 319 , tex_w = 96 , tex_h = 126 , tex_offset_x = baseX +46 , tex_offset_y = baseY +16 , duration = 4 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(180,1,1, { tex_index = 320 , tex_w = 96 , tex_h = 126 , tex_offset_x = baseX +46 , tex_offset_y = baseY +16 , duration = 4 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(180,1,2, { tex_index = 321 , tex_w = 96 , tex_h = 126 , tex_offset_x = baseX +46 , tex_offset_y = baseY +16 , duration = 4 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(197,0,0, { tex_index = 256 , tex_w = 117 , tex_h = 61 , tex_offset_x = baseX +14-10 , tex_offset_y = baseY -126-10 , duration = 3 }) --d2 pat:update_frame(197,0,1, { tex_index = 625 , tex_w = 122 , tex_h = 81 , tex_offset_x = baseX +14-10+10 , tex_offset_y = baseY -126-10+40 , duration = 3 }) --s0 pat:update_frame(197,0,2, { tex_index = 290 , tex_w = 73 , tex_h = 161 , tex_offset_x = baseX +0 -10 , tex_offset_y = baseY +12 , duration = 2 }) --5 pat:update_frame(197,0,3, { tex_index = 290 , tex_w = 73 , tex_h = 161 , tex_offset_x = baseX +0 -10 , tex_offset_y = baseY +12 , duration = 2 }) --5 pat:update_frame(197,0,4, { tex_index = 289 , tex_w = 121 , tex_h = 110 , tex_offset_x = baseX +72 -15 , tex_offset_y = baseY -42 , duration = 2 }) --4 pat:update_frame(197,0,5, { tex_index = 289 , tex_w = 121 , tex_h = 110 , tex_offset_x = baseX +72 -15 , tex_offset_y = baseY -42 , duration = 2 }) --4 pat:update_frame(197,0,6, { tex_index = 626 , tex_w = 94 , tex_h = 117 , tex_offset_x = baseX +40-30 , tex_offset_y = baseY -4+20 , duration = 3 }) --pat:update_frame(197,0,6, { tex_index = 318 , tex_w = 100 , tex_h = 121 , tex_offset_x = baseX +46 , tex_offset_y = baseY +20 +0 , duration = 3 }) pat:split_frame(197,1,0,2,2) pat:update_frame(197,1,0, { tex_index = 319 , tex_w = 96 , tex_h = 126 , tex_offset_x = baseX +46 , tex_offset_y = baseY +16 , duration = 4 }) pat:update_frame(197,1,1, { tex_index = 320 , tex_w = 96 , tex_h = 126 , tex_offset_x = baseX +46 , tex_offset_y = baseY +16 , duration = 4 }) pat:update_frame(197,1,2, { tex_index = 321 , tex_w = 96 , tex_h = 126 , tex_offset_x = baseX +46 , tex_offset_y = baseY +16 , duration = 4 }) pat:update_frame(197,2,0, { tex_index = 237 , tex_w = 81 , tex_h = 118 , tex_offset_x = baseX +30 , tex_offset_y = baseY -12 , duration = 8 , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(197,2,1, { tex_index = 236 , tex_w = 94 , tex_h = 118 , tex_offset_x = baseX +68 , tex_offset_y = baseY -6 , duration = 3 , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(197,2,2, { tex_index = 236 , tex_w = 94 , tex_h = 118 , tex_offset_x = baseX +68 , tex_offset_y = baseY -6 , duration = 1 , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(199,0,0, { tex_index = 256 , tex_w = 117 , tex_h = 61 , tex_offset_x = baseX +14-10 , tex_offset_y = baseY -126-10 , duration = 3 }) --d2 pat:update_frame(199,0,1, { tex_index = 625 , tex_w = 122 , tex_h = 81 , tex_offset_x = baseX +14-10+10 , tex_offset_y = baseY -126-10+40 , duration = 3 }) --s0 pat:update_frame(199,0,2, { tex_index = 290 , tex_w = 73 , tex_h = 161 , tex_offset_x = baseX +0 -10 , tex_offset_y = baseY +12 , duration = 2 }) --5 pat:update_frame(199,0,3, { tex_index = 290 , tex_w = 73 , tex_h = 161 , tex_offset_x = baseX +0 -10 , tex_offset_y = baseY +12 , duration = 2 }) --5 pat:update_frame(199,0,4, { tex_index = 289 , tex_w = 121 , tex_h = 110 , tex_offset_x = baseX +72 -15 , tex_offset_y = baseY -42 , duration = 2 }) --4 pat:update_frame(199,0,5, { tex_index = 289 , tex_w = 121 , tex_h = 110 , tex_offset_x = baseX +72 -15 , tex_offset_y = baseY -42 , duration = 2 }) --4 pat:update_frame(199,0,6, { tex_index = 626 , tex_w = 94 , tex_h = 117 , tex_offset_x = baseX +40-30 , tex_offset_y = baseY -4+20 , duration = 3 }) --pat:update_frame(197,0,6, { tex_index = 318 , tex_w = 100 , tex_h = 121 , tex_offset_x = baseX +46 , tex_offset_y = baseY +20 +0 , duration = 3 }) pat:update_frame(199,0,7, { tex_index = 319 , tex_w = 96 , tex_h = 126 , tex_offset_x = baseX +46 , tex_offset_y = baseY +16 , duration = 4 }) pat:update_frame(199,0,8, { tex_index = 237 , tex_w = 81 , tex_h = 118 , tex_offset_x = baseX +30 , tex_offset_y = baseY -12 , duration = 8 , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(199,0,9, { tex_index = 236 , tex_w = 94 , tex_h = 118 , tex_offset_x = baseX +68 , tex_offset_y = baseY -6 , duration = 3 , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(199,0,10, { tex_index = 236 , tex_w = 94 , tex_h = 118 , tex_offset_x = baseX +68 , tex_offset_y = baseY -6 , duration = 1 , collision = pat:get_frame(0,0,0).collision }) end function mods.blocking(pat) for idx = 0 , 3 do pat:update_frame(998,0,idx,{tex_w = 0}) pat:update_frame(998,1,idx,{tex_w = 0}) end end function mods.n5a(pat) local baseX = 64 +8 local baseY = 183 +50 +4 --pat:update_frame(401,0,0, { tex_index = 37 , tex_w = 94 , tex_h = 118 , tex_offset_x = baseX +68 , tex_offset_y = baseY -8 , duration = 3 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) --pat:update_frame(401,0,3, { tex_index = 238 , tex_w = 98 , tex_h = 114 , tex_offset_x = baseX +56 , tex_offset_y = baseY -8 -4 , duration = 4 , hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(300,0,0, { tex_index = 236 , tex_w = 94 , tex_h = 118 , tex_offset_x = baseX +68-12 +0 , tex_offset_y = baseY -6 , duration = 2 , hurtbox = pat:get_frame(401,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(300,0,1, { tex_index = 236 , tex_w = 94 , tex_h = 118 , tex_offset_x = baseX +68-12 +0 , tex_offset_y = baseY -6 , duration = 1 , hurtbox = pat:get_frame(401,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(300,0,2, { tex_index = 102 , tex_w = 115 , tex_h = 121 , tex_offset_x = baseX +66 , tex_offset_y = baseY +0 , duration = 3 , hurtbox = pat:get_frame(401,0,5).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(300,0,3, { tex_index = 103 , tex_w = 149 , tex_h = 118 , tex_offset_x = baseX +74 , tex_offset_y = baseY -6 , duration = 2 , hurtbox = pat:get_frame(401,0,6).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(300,0,4, { tex_index = 104 , tex_w = 131 , tex_h = 117 , tex_offset_x = baseX +26 , tex_offset_y = baseY -8 , duration = 3 , hurtbox = pat:get_frame(401,0,6).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(300,0,4,function(frame) frame.attackbox[2] = null frame.attackbox[1].x2 = frame.attackbox[1].x2 + 20 end) pat:update_frame(300,0,5, { tex_index = 104 , tex_w = 131 , tex_h = 117 , tex_offset_x = baseX +26 , tex_offset_y = baseY -8 , duration = 3 , hurtbox = pat:get_frame(401,0,6).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(300,0,6, { tex_index = 104 , tex_w = 131 , tex_h = 117 , tex_offset_x = baseX +26 , tex_offset_y = baseY -8 , duration = 3 , hurtbox = pat:get_frame(401,0,6).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(300,0,7, { tex_index = 104 , tex_w = 131 , tex_h = 117 , tex_offset_x = baseX +26 , tex_offset_y = baseY -8 , duration = 3 , hurtbox = pat:get_frame(401,0,6).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(300,0,8, { tex_index = 105 , tex_w = 86 , tex_h = 118 , tex_offset_x = baseX +20 , tex_offset_y = baseY -6 , duration = 5 , hurtbox = pat:get_frame(401,0,6).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(330,0,0, { tex_index = 236 , tex_w = 94 , tex_h = 118 , tex_offset_x = baseX +68-12 +0 , tex_offset_y = baseY -6 , duration = 2 , hurtbox = pat:get_frame(401,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(330,0,1, { tex_index = 236 , tex_w = 94 , tex_h = 118 , tex_offset_x = baseX +68-12 +0 , tex_offset_y = baseY -6 , duration = 1 , hurtbox = pat:get_frame(401,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(330,0,2, { tex_index = 102 , tex_w = 115 , tex_h = 121 , tex_offset_x = baseX +66 , tex_offset_y = baseY +0 , duration = 3 , hurtbox = pat:get_frame(401,0,5).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(330,0,3, { tex_index = 103 , tex_w = 149 , tex_h = 118 , tex_offset_x = baseX +74 , tex_offset_y = baseY -6 , duration = 2 , hurtbox = pat:get_frame(401,0,6).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(330,0,4, { tex_index = 104 , tex_w = 131 , tex_h = 117 , tex_offset_x = baseX +26 , tex_offset_y = baseY -8 , duration = 3 , hurtbox = pat:get_frame(401,0,6).hurtbox , attackbox = pat:get_frame(300,0,4).attackbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(330,0,5, { tex_index = 104 , tex_w = 131 , tex_h = 117 , tex_offset_x = baseX +26 , tex_offset_y = baseY -8 , duration = 3 , hurtbox = pat:get_frame(401,0,6).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(330,0,6, { tex_index = 104 , tex_w = 131 , tex_h = 117 , tex_offset_x = baseX +26 , tex_offset_y = baseY -8 , duration = 3 , hurtbox = pat:get_frame(401,0,6).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(330,0,7, { tex_index = 104 , tex_w = 131 , tex_h = 117 , tex_offset_x = baseX +26 , tex_offset_y = baseY -8 , duration = 3 , hurtbox = pat:get_frame(401,0,6).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(330,0,8, { tex_index = 105 , tex_w = 86 , tex_h = 118 , tex_offset_x = baseX +20 , tex_offset_y = baseY -6 , duration = 5 , hurtbox = pat:get_frame(401,0,6).hurtbox , collision = pat:get_frame(0,0,0).collision }) end function mods.n5aa(pat) local baseX = 64 +8 local baseY = 183 +50 +4 pat:split_frame(320,0,5,1,1) pat:split_frame(320,0,5,1,1) pat:update_frame(320,0,0, { tex_index = 102 , tex_w = 115 , tex_h = 121 , tex_offset_x = baseX +66 , tex_offset_y = baseY +0 , duration = 4 , hurtbox = pat:get_frame(401,0,5).hurtbox , collision = pat:get_frame(0,0,0).collision }) --pat:update_frame(320,0,1, { tex_index = 103 , tex_w = 149 , tex_h = 118 , tex_offset_x = baseX +74 , tex_offset_y = baseY -6 , duration = 2 , hurtbox = pat:get_frame(401,0,6).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(320,0,1, { tex_index = 13 , tex_w = 149 , tex_h = 109 , tex_offset_x = baseX +30 , tex_offset_y = baseY -22 , duration = 4 , hurtbox = pat:get_frame(401,0,6).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(320,0,1,function(frame) frame.hurtbox[2].x1 = frame.hurtbox[2].x1 + 20 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 + 40 frame.hurtbox[3].x1 = frame.hurtbox[3].x1 + 20 frame.hurtbox[3].x2 = frame.hurtbox[3].x2 + 40 frame.hurtbox[4].x1 = frame.hurtbox[4].x1 + 50 frame.hurtbox[4].x2 = frame.hurtbox[4].x2 + 40 frame.hurtbox[4].y1 = frame.hurtbox[4].y1 - 40 frame.hurtbox[4].y2 = frame.hurtbox[4].y2 + 20 frame.hurtbox[1].x1 = frame.hurtbox[1].x1 + 20 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 + 50 frame.hurtbox[1].y1 = frame.hurtbox[1].y1 + 60 end) pat:update_frame(320,0,2, { tex_index = 14 , tex_w = 176 , tex_h = 109 , tex_offset_x = baseX -20 , tex_offset_y = baseY -24 , duration = 4 , hurtbox = pat:get_frame(320,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(320,0,2,function(frame) frame.hurtbox[5] = pat:get_frame(320,0,1).hurtbox[4] frame.hurtbox[5].x2 = frame.hurtbox[5].x2 + 60 frame.hurtbox[5].y1 = frame.hurtbox[5].y1 + 40 frame.attackbox = pat:get_frame(330,0,4).attackbox frame.attackbox[1].x2 = frame.attackbox[1].x2 + 120 frame.attack_level = AL_HEAVY frame.untech = 45 unset_aflag(frame,AF_LOWBLOCK_OK) set_aflag(frame,AF_HIGHBLOCK_OK) unset_aflag(frame,AF_ATTACK_LOW) set_aflag(frame,AF_ATTACK_HIGH) end) pat:update_frame(320,0,3, { tex_index = 9 , tex_w = 171 , tex_h = 109 , tex_offset_x = baseX -20 , tex_offset_y = baseY -24 , duration = 4 , hurtbox = pat:get_frame(320,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(320,0,4, { tex_index = 80 , tex_w = 171 , tex_h = 109 , tex_offset_x = baseX -20 , tex_offset_y = baseY -24 , duration = 4 , hurtbox = pat:get_frame(320,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(320,0,5, { tex_index = 9 , tex_w = 171 , tex_h = 109 , tex_offset_x = baseX -20 , tex_offset_y = baseY -24 , duration = 4 , hurtbox = pat:get_frame(320,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(320,0,6, { tex_index = 80 , tex_w = 171 , tex_h = 109 , tex_offset_x = baseX -20 , tex_offset_y = baseY -24 , duration = 4 , hurtbox = pat:get_frame(320,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(320,0,7, { tex_index = 105 , tex_w = 86 , tex_h = 118 , tex_offset_x = baseX +20 , tex_offset_y = baseY -6 , duration = 5 , hurtbox = pat:get_frame(401,0,6).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(320,0,7,function(frame) for idx = 1 , 4 do frame.hurtbox[idx].x1 = frame.hurtbox[idx].x1 + 10 frame.hurtbox[idx].x2 = frame.hurtbox[idx].x2 + 10 end end) end function mods.n5aaa(pat) local baseX = 64 +8 local baseY = 183 +50 +4 pat:update_frame(321,0,0, { tex_index = 2 , tex_w = 56 , tex_h = 119 , tex_offset_x = baseX -18 , tex_offset_y = baseY +0 , duration = 4 , hurtbox = pat:get_frame(300,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(321,0,0,function(frame) for idx = 1 , 4 do frame.hurtbox[idx].x1 = frame.hurtbox[idx].x1 + 15 frame.hurtbox[idx].x2 = frame.hurtbox[idx].x2 + 15 end frame.hurtbox[4].y1 = frame.hurtbox[4].y1 - 10 frame.hurtbox[4].y2 = frame.hurtbox[4].y2 - 10 end) pat:update_frame(321,0,1, { tex_index = 2 , tex_w = 56 , tex_h = 119 , tex_offset_x = baseX -18 , tex_offset_y = baseY +0 , duration = 4 , hurtbox = pat:get_frame(321,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(321,0,2, { tex_index = 3 , tex_w = 103 , tex_h = 127 , tex_offset_x = baseX +60 , tex_offset_y = baseY +18 , duration = 4 , hurtbox = pat:get_frame(321,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(321,0,2,function(frame) frame.hurtbox[4].y1 = frame.hurtbox[4].y1 - 40 frame.hurtbox[4].y2 = frame.hurtbox[4].y2 - 20 frame.hurtbox[4].x2 = frame.hurtbox[4].x2 + 10 end) pat:update_frame(321,0,3, { tex_index = 3 , tex_w = 103 , tex_h = 127 , tex_offset_x = baseX +60 , tex_offset_y = baseY +18 , duration = 12 , hurtbox = pat:get_frame(321,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(321,0,4, { tex_index = 8 , tex_w = 173 , tex_h = 146 , tex_offset_x = baseX +6 , tex_offset_y = baseY +52 , duration = 4 , hurtbox = pat:get_frame(320,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(321,0,4,function(frame) for idx = 1 , 4 do frame.hurtbox[idx].x1 = frame.hurtbox[idx].x1 - 20 frame.hurtbox[idx].x2 = frame.hurtbox[idx].x2 - 20 end frame.attackbox[2].y1 = frame.attackbox[2].y1 - 30 frame.attackbox[1].y1 = frame.attackbox[1].y1 - 60 frame.attackbox[1].x2 = frame.attackbox[1].x2 + 40 frame.attackbox[1].y2 = -20 frame.attackbox[2].y2 = -10 end) pat:update_frame(321,0,5, { tex_index = 5 , tex_w = 152 , tex_h = 126 , tex_offset_x = baseX +20 , tex_offset_y = baseY -4 , duration = 4 , hurtbox = pat:get_frame(321,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(321,0,5,function(frame) for idx = 1 , 4 do frame.hurtbox[idx].x1 = frame.hurtbox[idx].x1 - 5 frame.hurtbox[idx].x2 = frame.hurtbox[idx].x2 - 5 end --frame.hurtbox[5] = null frame.hurtbox[4].y1 = frame.hurtbox[4].y1 - 10 frame.hurtbox[4].y2 = 0 end) pat:update_frame(321,0,6, { tex_index = 6 , tex_w = 104 , tex_h = 127 , tex_offset_x = baseX +40 , tex_offset_y = baseY -8 , duration = 4 , hurtbox = pat:get_frame(321,0,5).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(321,0,6,function(frame) for idx = 1 , 3 do frame.hurtbox[idx].x1 = frame.hurtbox[idx].x1 + 10 end end) pat:update_frame(321,0,7, { tex_index = 7 , tex_w = 104 , tex_h = 122 , tex_offset_x = baseX +40 , tex_offset_y = baseY -10 , duration = 4 , hurtbox = pat:get_frame(321,0,6).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(321,0,8, { tex_index = 7 , tex_w = 104 , tex_h = 122 , tex_offset_x = baseX +40 , tex_offset_y = baseY -10 , duration = 6 , hurtbox = pat:get_frame(321,0,6).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(321,0,9, { tex_index = 4 , tex_w = 103 , tex_h = 118 , tex_offset_x = baseX +30 , tex_offset_y = baseY -10 , duration = 3 , hurtbox = pat:get_frame(321,0,6).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(321,0,10, { tex_index = 21 , tex_w = 68 , tex_h = 121 , tex_offset_x = baseX -12 , tex_offset_y = baseY +2 , duration = 3 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(321,0,10,function(frame) frame.hurtbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[1].x1 = frame.hurtbox[1].x1 + 10 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 + 10 frame.hurtbox[1].y2 = frame.hurtbox[1].y1 + 55 frame.hurtbox[2].y1 = frame.hurtbox[1].y2 - 5 end) --pat:update_frame(321,0,7, { tex_index = 237 , tex_w = 81 , tex_h = 118 , tex_offset_x = baseX +30 , tex_offset_y = baseY -12 , duration = 4 , hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) --pat:update_frame(321,0,8, { tex_index = 236 , tex_w = 94 , tex_h = 118 , tex_offset_x = baseX +68 , tex_offset_y = baseY -8 , duration = 4 , hurtbox = pat:get_frame(200,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:remove_frame(321,0,2) end function mods.n2a(pat) local baseX = 64 +8 local baseY = 183 +50 +4 pat:update_frame(303,0,0, { tex_index = 22 , tex_w = 101 , tex_h = 109 , tex_offset_x = baseX +70 , tex_offset_y = baseY -40 , duration = 3 , hurtbox = pat:get_frame(2,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(303,0,0, function(frame) frame.hurtbox[1].x1 = frame.hurtbox[1].x1 - 30 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 - 30 frame.hurtbox[1].y2 = frame.hurtbox[1].y2 - 50 frame.hurtbox[2] = pat:get_frame(2,0,0).hurtbox[1] frame.hurtbox[2].x1 = frame.hurtbox[2].x1 - 15 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 - 15 frame.hurtbox[2].y1 = frame.hurtbox[2].y1 + 60 frame.hurtbox[3] = pat:get_frame(2,0,0).hurtbox[1] frame.hurtbox[3].y1 = frame.hurtbox[3].y1 + 80 end) pat:update_frame(303,0,1, { tex_index = 23 , tex_w = 123 , tex_h = 94 , tex_offset_x = baseX +114 , tex_offset_y = baseY -54 , duration = 3 , hurtbox = pat:get_frame(303,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(303,0,1, function(frame) frame.hurtbox[1].x1 = frame.hurtbox[1].x1 - 10 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 - 5 frame.hurtbox[2].x1 = frame.hurtbox[2].x1 - 0 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 - 0 end) pat:update_frame(303,0,2, { tex_index = 23 , tex_w = 123 , tex_h = 94 , tex_offset_x = baseX +114 , tex_offset_y = baseY -54 , duration = 2 , hurtbox = pat:get_frame(303,0,1).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(303,0,3, { tex_index = 24 , tex_w = 152 , tex_h = 112 , tex_offset_x = baseX +130 , tex_offset_y = baseY -20 , duration = 3 , hurtbox = pat:get_frame(303,0,1).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(303,0,3, function(frame) frame.hurtbox[1].x1 = frame.hurtbox[1].x1 + 10 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 + 10 frame.hurtbox[2].x1 = frame.hurtbox[2].x1 + 5 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 + 5 frame.hurtbox[4] = pat:get_frame(2,0,0).hurtbox[1] frame.hurtbox[4].x1 = frame.hurtbox[3].x2 - 15 frame.hurtbox[4].x2 = frame.hurtbox[4].x1 + 70 frame.hurtbox[4].y1 = - 50 frame.hurtbox[4].y2 = 0 frame.attackbox[1].y1 = -45 frame.attackbox[1].y2 = 0 frame.attackbox[1].x2 = frame.attackbox[1].x2 - 5 end) pat:update_frame(303,0,4, { tex_index = 24 , tex_w = 152 , tex_h = 112 , tex_offset_x = baseX +130 , tex_offset_y = baseY -20 , duration = 3 , hurtbox = pat:get_frame(303,0,3).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(303,0,5, { tex_index = 25 , tex_w = 144 , tex_h = 100 , tex_offset_x = baseX +128 , tex_offset_y = baseY -50 , duration = 5 , hurtbox = pat:get_frame(303,0,3).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(303,0,6, { tex_index = 26 , tex_w = 91 , tex_h = 95 , tex_offset_x = baseX +60 , tex_offset_y = baseY -50 , duration = 5 , hurtbox = pat:get_frame(303,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(303,0,7, { tex_index = 439 , tex_w = 92 , tex_h = 102 , tex_offset_x = baseX +36 , tex_offset_y = baseY -36 , duration = 2 , hurtbox = pat:get_frame(2,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision }) end function mods.nf5a(pat) local baseX = 64 +8 local baseY = 183 +50 +4 pat:remove_frame(301,0,12) pat:split_frame(301,0,2,1,1) pat:remove_frame(301,1,9) pat:split_frame(301,1,0,1,1) pat:update_frame(301,0,0, { tex_index = 236 , tex_w = 94 , tex_h = 118 , tex_offset_x = baseX +68-12 +0 , tex_offset_y = baseY -6 , duration = 2 , hurtbox = pat:get_frame(401,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(301,0,1, { tex_index = 236 , tex_w = 94 , tex_h = 118 , tex_offset_x = baseX +68-12 +0 , tex_offset_y = baseY -6 , duration = 2 , hurtbox = pat:get_frame(401,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(301,0,2, { tex_index = 102 , tex_w = 115 , tex_h = 121 , tex_offset_x = baseX +66 , tex_offset_y = baseY +0 , duration = 6 , hurtbox = pat:get_frame(320,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(301,0,3, { tex_index = 102 , tex_w = 115 , tex_h = 121 , tex_offset_x = baseX +66 , tex_offset_y = baseY +0 , duration = 2 , hurtbox = pat:get_frame(320,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) --pat:update_frame(301,0,4, { tex_index = 103 , tex_w = 149 , tex_h = 118 , tex_offset_x = baseX +74 , tex_offset_y = baseY -6 , duration = 2 , hurtbox = pat:get_frame(320,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(301,0,4, { tex_index = 13 , tex_w = 149 , tex_h = 109 , tex_offset_x = baseX +30 , tex_offset_y = baseY -22 , duration = 2 , hurtbox = pat:get_frame(320,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision , attackbox = pat:get_frame(0,0,0).attackbox }) pat:update_frame(301,0,5, { tex_index = 13 , tex_w = 149 , tex_h = 109 , tex_offset_x = baseX +30 , tex_offset_y = baseY -22 , duration = 1 , hurtbox = pat:get_frame(320,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision , attackbox = pat:get_frame(0,0,0).attackbox }) pat:update_frame(301,0,6, { tex_index = 14 , tex_w = 176 , tex_h = 109 , tex_offset_x = baseX -20 , tex_offset_y = baseY -24 , duration = 4 , hurtbox = pat:get_frame(320,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , attackbox = pat:get_frame(320,0,2).attackbox }) pat:update_frame(301,0,7, { tex_index = 9 , tex_w = 171 , tex_h = 109 , tex_offset_x = baseX -20 , tex_offset_y = baseY -24 , duration = 4 , hurtbox = pat:get_frame(320,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , attackbox = pat:get_frame(320,0,2).attackbox }) pat:update_frame(301,0,8, { tex_index = 80 , tex_w = 171 , tex_h = 109 , tex_offset_x = baseX -20 , tex_offset_y = baseY -24 , duration = 4 , hurtbox = pat:get_frame(320,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(301,0,9, { tex_index = 9 , tex_w = 171 , tex_h = 109 , tex_offset_x = baseX -20 , tex_offset_y = baseY -24 , duration = 4 , hurtbox = pat:get_frame(320,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(301,0,10, { tex_index = 80 , tex_w = 171 , tex_h = 109 , tex_offset_x = baseX -20 , tex_offset_y = baseY -24 , duration = 4 , hurtbox = pat:get_frame(320,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(301,0,11, { tex_index = 80 , tex_w = 171 , tex_h = 109 , tex_offset_x = baseX -20 , tex_offset_y = baseY -24 , duration = 2 , hurtbox = pat:get_frame(320,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(301,0,12, { tex_index = 105 , tex_w = 86 , tex_h = 118 , tex_offset_x = baseX +20 , tex_offset_y = baseY -6 , duration = 5 , hurtbox = pat:get_frame(320,0,7).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(301,1,0, { tex_index = 102 , tex_w = 115 , tex_h = 121 , tex_offset_x = baseX +66 , tex_offset_y = baseY +0 , duration = 15 , hurtbox = pat:get_frame(320,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) --pat:update_frame(301,1,1, { tex_index = 103 , tex_w = 149 , tex_h = 118 , tex_offset_x = baseX +74 , tex_offset_y = baseY -6 , duration = 2 , hurtbox = pat:get_frame(320,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(301,1,1, { tex_index = 13 , tex_w = 149 , tex_h = 109 , tex_offset_x = baseX +30 , tex_offset_y = baseY -22 , duration = 2 , hurtbox = pat:get_frame(320,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision , attackbox = pat:get_frame(0,0,0).attackbox }) pat:update_frame(301,1,2, { tex_index = 13 , tex_w = 149 , tex_h = 109 , tex_offset_x = baseX +30 , tex_offset_y = baseY -22 , duration = 1 , hurtbox = pat:get_frame(320,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision , attackbox = pat:get_frame(0,0,0).attackbox }) pat:update_frame(301,1,3, { tex_index = 14 , tex_w = 176 , tex_h = 109 , tex_offset_x = baseX -20 , tex_offset_y = baseY -24 , duration = 4 , hurtbox = pat:get_frame(320,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , attackbox = pat:get_frame(320,0,2).attackbox }) pat:update_frame(301,1,4, { tex_index = 9 , tex_w = 171 , tex_h = 109 , tex_offset_x = baseX -20 , tex_offset_y = baseY -24 , duration = 4 , hurtbox = pat:get_frame(320,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , attackbox = pat:get_frame(320,0,2).attackbox }) pat:update_frame(301,1,5, { tex_index = 80 , tex_w = 171 , tex_h = 109 , tex_offset_x = baseX -20 , tex_offset_y = baseY -24 , duration = 4 , hurtbox = pat:get_frame(320,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(301,1,6, { tex_index = 9 , tex_w = 171 , tex_h = 109 , tex_offset_x = baseX -20 , tex_offset_y = baseY -24 , duration = 4 , hurtbox = pat:get_frame(320,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(301,1,7, { tex_index = 80 , tex_w = 171 , tex_h = 109 , tex_offset_x = baseX -20 , tex_offset_y = baseY -24 , duration = 4 , hurtbox = pat:get_frame(320,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(301,1,8, { tex_index = 80 , tex_w = 171 , tex_h = 109 , tex_offset_x = baseX -20 , tex_offset_y = baseY -24 , duration = 2 , hurtbox = pat:get_frame(320,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(301,1,9, { tex_index = 105 , tex_w = 86 , tex_h = 118 , tex_offset_x = baseX +20 , tex_offset_y = baseY -6 , duration = 5 , hurtbox = pat:get_frame(320,0,7).hurtbox , collision = pat:get_frame(0,0,0).collision }) for idy = 0 , 1 do for idx = 6 , 7 do local idz = idx if (idy==1) then idz = idx-3 end pat:update_frame(301,idy,idz,function(frame) frame.hit_ani_air = 71 frame.launch_vector_x = 1500 frame.launch_vector_y = 900 if (idy==1) then frame.hit_ani_air = 74 frame.launch_vector_x = 2450 end end) end end end function mods.n6a(pat) local baseX = 64 +8 local baseY = 183 +50 +4 pat:update_frame(302,0,0, { tex_index = 74 , tex_w = 68 , tex_h = 121 , tex_offset_x = baseX -16 , tex_offset_y = baseY +4 , duration = 4 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(302,0,1, { tex_index = 75 , tex_w = 121 , tex_h = 117 , tex_offset_x = baseX +104 , tex_offset_y = baseY -10 , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(302,0,1,function(frame) frame.hurtbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[2].x1 = frame.hurtbox[2].x1 - 30 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 - 30 frame.hurtbox[2].y1 = frame.hurtbox[1].y1 + 50 end) pat:update_frame(302,0,2, { tex_index = 75 , tex_w = 121 , tex_h = 117 , tex_offset_x = baseX +104 , tex_offset_y = baseY -10 , duration = 2 , hurtbox = pat:get_frame(302,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(302,0,3, { tex_index = 76 , tex_w = 101 , tex_h = 116 , tex_offset_x = baseX +84 , tex_offset_y = baseY -6 , duration = 4+3 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(302,0,3,function(frame) frame.hurtbox[1].x1 = frame.hurtbox[1].x1 - 40 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 - 40 frame.hurtbox[1].y2 = frame.hurtbox[1].y2 - 50 frame.hurtbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[2].x1 = frame.hurtbox[2].x1 - 20 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 - 20 frame.hurtbox[2].y1 = frame.hurtbox[2].y1 + 60 frame.hurtbox[2].y2 = frame.hurtbox[2].y2 - 40 frame.hurtbox[3] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[3].y1 = frame.hurtbox[3].y1 + 80 end) pat:update_frame(302,0,4, { tex_index = 77 , tex_w = 123 , tex_h = 105 , tex_offset_x = baseX +122 , tex_offset_y = baseY -28 +22 , duration = 1 , hurtbox = pat:get_frame(302,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(302,0,4,function(frame) frame.hurtbox[3].y2 = frame.hurtbox[3].y2 - 30 end) pat:update_frame(302,0,5, { tex_index = 77 , tex_w = 123 , tex_h = 105 , tex_offset_x = baseX +122 , tex_offset_y = baseY -28 +18 , duration = 1 , hurtbox = pat:get_frame(302,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(302,0,6, { tex_index = 77 , tex_w = 123 , tex_h = 105 , tex_offset_x = baseX +122 , tex_offset_y = baseY -28 +13 , duration = 1 , hurtbox = pat:get_frame(302,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(302,0,7, { tex_index = 77 , tex_w = 123 , tex_h = 105 , tex_offset_x = baseX +122 , tex_offset_y = baseY -28 +7 , duration = 1 , hurtbox = pat:get_frame(302,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(302,0,8, { tex_index = 78 , tex_w = 150 , tex_h = 107 , tex_offset_x = baseX +78 , tex_offset_y = baseY -24 , duration = 4 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(302,0,8,function(frame) frame.hurtbox[1].y1 = frame.hurtbox[1].y1 + 20 frame.hurtbox[1].x1 = frame.hurtbox[1].x1 + 15 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 + 15 frame.hurtbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[2].x1 = frame.hurtbox[1].x2 - 5 frame.hurtbox[2].x2 = frame.hurtbox[2].x1 + 50 frame.hurtbox[2].y1 = frame.hurtbox[1].y1 + 40 frame.hurtbox[2].y2 = frame.hurtbox[2].y1 + 65 frame.hurtbox[3] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[3].x1 = frame.hurtbox[2].x2 - 5 frame.hurtbox[3].x2 = frame.hurtbox[2].x2 + 50 frame.hurtbox[3].y1 = frame.hurtbox[2].y1 + 5 frame.hurtbox[3].y2 = frame.hurtbox[2].y2 - 5 frame.attackbox[1].x1 = frame.hurtbox[3].x1 - 40 frame.attackbox[1].x2 = frame.hurtbox[3].x2 + 20 frame.attackbox[1].y1 = frame.hurtbox[3].y1 - 5 frame.attackbox[1].y2 = frame.hurtbox[3].y2 + 10 frame.attackbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.attackbox[2].x1 = frame.hurtbox[2].x1 - 30 frame.attackbox[2].x2 = frame.hurtbox[2].x2 + 20 frame.attackbox[2].y1 = frame.hurtbox[2].y1 - 5 frame.attackbox[2].y2 = frame.hurtbox[2].y2 + 10 frame.attackbox[3] = null end) pat:update_frame(302,0,9, { tex_index = 78 , tex_w = 150 , tex_h = 107 , tex_offset_x = baseX +78 , tex_offset_y = baseY -24 , duration = 16+1 , hurtbox = pat:get_frame(302,0,8).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(302,0,10, { tex_index = 79 , tex_w = 131 , tex_h = 122 , tex_offset_x = baseX +76 , tex_offset_y = baseY +6 , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(302,0,10,function(frame) frame.hurtbox[1].x1 = frame.hurtbox[1].x1 + 0 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 + 0 frame.hurtbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[2].x1 = frame.hurtbox[1].x2 - 5 frame.hurtbox[2].x2 = frame.hurtbox[2].x1 + 50 frame.hurtbox[2].y1 = frame.hurtbox[1].y1 + 75 frame.hurtbox[2].y2 = frame.hurtbox[2].y1 + 75 end) pat:update_frame(302,0,11, { tex_index = 79 , tex_w = 131 , tex_h = 122 , tex_offset_x = baseX +76 , tex_offset_y = baseY +6 , duration = 2 , hurtbox = pat:get_frame(302,0,10).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(302,0,12, { tex_index = 79 , tex_w = 131 , tex_h = 122 , tex_offset_x = baseX +76 , tex_offset_y = baseY +6 , duration = 1 , hurtbox = pat:get_frame(302,0,10).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(302,0,8,function(frame) unset_aflag(frame,AF_AIR_BLOCKABLE) end) pat:remove_frame(302,1,9) pat:remove_frame(302,1,8) pat:split_frame(302,1,2,1,1) pat:split_frame(302,1,2,1,1) pat:update_frame(302,1,0, { tex_index = 76 , tex_w = 101 , tex_h = 116 , tex_offset_x = baseX +84 , tex_offset_y = baseY -6 , duration = 15 , hurtbox = pat:get_frame(302,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(302,1,1, { tex_index = 77 , tex_w = 123 , tex_h = 105 , tex_offset_x = baseX +122 , tex_offset_y = baseY -28 +22 , duration = 1 , hurtbox = pat:get_frame(302,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(302,1,2, { tex_index = 77 , tex_w = 123 , tex_h = 105 , tex_offset_x = baseX +122 , tex_offset_y = baseY -28 +18 , duration = 1 , hurtbox = pat:get_frame(302,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(302,1,3, { tex_index = 77 , tex_w = 123 , tex_h = 105 , tex_offset_x = baseX +122 , tex_offset_y = baseY -28 +13 , duration = 1 , hurtbox = pat:get_frame(302,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(302,1,4, { tex_index = 77 , tex_w = 123 , tex_h = 105 , tex_offset_x = baseX +122 , tex_offset_y = baseY -28 +7 , duration = 1 , hurtbox = pat:get_frame(302,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(302,1,5, { tex_index = 78 , tex_w = 150 , tex_h = 107 , tex_offset_x = baseX +78 , tex_offset_y = baseY -24 , duration = 4+3 , hurtbox = pat:get_frame(302,0,8).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(302,1,6, { tex_index = 78 , tex_w = 150 , tex_h = 107 , tex_offset_x = baseX +78 , tex_offset_y = baseY -24 , duration = 16+1 , hurtbox = pat:get_frame(302,0,8).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(302,1,7, { tex_index = 79 , tex_w = 131 , tex_h = 122 , tex_offset_x = baseX +76 , tex_offset_y = baseY +6 , duration = 2 , hurtbox = pat:get_frame(302,0,10).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(302,1,8, { tex_index = 79 , tex_w = 131 , tex_h = 122 , tex_offset_x = baseX +76 , tex_offset_y = baseY +6 , duration = 2 , hurtbox = pat:get_frame(302,0,10).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(302,1,9, { tex_index = 79 , tex_w = 131 , tex_h = 122 , tex_offset_x = baseX +76 , tex_offset_y = baseY +6 , duration = 1 , hurtbox = pat:get_frame(302,0,10).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(302,1,5,function(frame) unset_aflag(frame,AF_AIR_BLOCKABLE) end) end function mods.n3a(pat) local baseX = 64 +8 local baseY = 183 +50 +4 pat:remove_frame(304,0,9) pat:split_frame(304,0,4,1,1) pat:update_frame(304,0,0, { tex_index = 236 , tex_w = 94 , tex_h = 118 , tex_offset_x = baseX +68-12 +0 , tex_offset_y = baseY -6 , duration = 4 , hurtbox = pat:get_frame(401,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(304,0,1, { tex_index = 238 , tex_w = 98 , tex_h = 114 , tex_offset_x = baseX +56 +0 , tex_offset_y = baseY -8 -4 , duration = 3 , hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(304,0,2, { tex_index = 10 , tex_w = 103 , tex_h = 109 , tex_offset_x = baseX +78 , tex_offset_y = baseY -20 , duration = 3 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(304,0,2,function(frame) frame.hurtbox[1].x1 = frame.hurtbox[1].x1 - 20 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 - 20 frame.hurtbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[2].x1 = frame.hurtbox[2].x1 - 15 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 - 20 frame.hurtbox[3] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[1].y1 = frame.hurtbox[1].y1 + 10 frame.hurtbox[1].y2 = frame.hurtbox[1].y1 + 55 frame.hurtbox[2].y1 = frame.hurtbox[1].y2 - 5 frame.hurtbox[2].y2 = frame.hurtbox[2].y1 + 55 frame.hurtbox[3].y1 = frame.hurtbox[2].y2 - 5 frame.hurtbox[3].x1 = frame.hurtbox[2].x1 - 20 for idx = 1 , 3 do frame.hurtbox[idx].y1 = frame.hurtbox[idx].y1 + 12 frame.hurtbox[idx].y2 = frame.hurtbox[idx].y2 + 12 end frame.hurtbox[3].y2 = 0 end) pat:update_frame(304,0,3, { tex_index = 11 , tex_w = 152 , tex_h = 130 , tex_offset_x = baseX +112 , tex_offset_y = baseY +26 , duration = 3 , hurtbox = pat:get_frame(304,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(304,0,4, { tex_index = 12 , tex_w = 132 , tex_h = 108 , tex_offset_x = baseX +36 , tex_offset_y = baseY -24 , duration = 3 , hurtbox = pat:get_frame(304,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(304,0,4,function(frame) frame.attackbox[4] = null frame.attackbox[3] = null frame.attackbox[1].y1 = frame.attackbox[1].y1 + 120 frame.attackbox[1].y2 = frame.attackbox[1].y2 + 160 frame.attackbox[2].y1 = frame.attackbox[2].y1 + 80 frame.attackbox[2].y2 = frame.attackbox[2].y2 + 120 frame.hurtbox[4] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[4].x1 = frame.hurtbox[1].x1 + 10 frame.hurtbox[4].x2 = frame.hurtbox[1].x2 + 80 frame.hurtbox[4].y1 = frame.hurtbox[2].y1 - 45 frame.hurtbox[4].y2 = frame.hurtbox[4].y1 + 40 for idx = 1 , 4 do frame.hurtbox[idx].y1 = frame.hurtbox[idx].y1 + 20 frame.hurtbox[idx].y2 = frame.hurtbox[idx].y2 + 20 end frame.hurtbox[1].y2 = 0 frame.hurtbox[2].y2 = 0 frame.hurtbox[3].y2 = 0 frame.hurtbox[1].x1 = frame.hurtbox[1].x1 + 5 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 + 5 frame.hurtbox[2].x1 = frame.hurtbox[2].x1 + 10 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 + 10 frame.hurtbox[3].x1 = frame.hurtbox[3].x1 + 10 frame.hurtbox[3].x2 = frame.hurtbox[3].x2 + 10 set_aflag(frame,AF_LOWBLOCK_OK) unset_aflag(frame,AF_HIGHBLOCK_OK) set_aflag(frame,AF_ATTACK_LOW) unset_aflag(frame,AF_ATTACK_HIGH) frame.hit_ani_air = 77 frame.hit_ani_ground = 77 end) pat:update_frame(304,0,5, { tex_index = 434 , tex_w = 92 , tex_h = 102 , tex_offset_x = baseX +36 , tex_offset_y = baseY -36 , duration = 3 , hurtbox = pat:get_frame(2,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(304,0,5,function(frame) frame.attackbox[4] = null frame.attackbox[3] = null frame.attackbox[2].x1 = frame.attackbox[1].x1 - 80 frame.attackbox[2].y1 = frame.attackbox[2].y1 + 170 frame.attackbox[2].y2 = frame.attackbox[2].y2 + 150 frame.attackbox[1] = frame.attackbox[2] frame.attackbox[2] = null frame.hurtbox[1].y1 = frame.hurtbox[1].y1 - 10 frame.hurtbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[2].x1 = frame.hurtbox[1].x1 - 20 frame.hurtbox[2].x2 = frame.hurtbox[1].x1 + 20 frame.hurtbox[2].y2 = 0 frame.hurtbox[2].y1 = frame.hurtbox[1].y1 + 30 frame.hurtbox[3] = pat:get_frame(304,0,4).hurtbox[4] set_aflag(frame,AF_LOWBLOCK_OK) unset_aflag(frame,AF_HIGHBLOCK_OK) set_aflag(frame,AF_ATTACK_LOW) unset_aflag(frame,AF_ATTACK_HIGH) frame.hit_ani_air = 77 frame.hit_ani_ground = 77 end) pat:update_frame(304,0,6, { tex_index = 63 , tex_w = 142 , tex_h = 102 , tex_offset_x = baseX +86 , tex_offset_y = baseY -36 , duration = 16 , hurtbox = pat:get_frame(304,0,5).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(304,0,6,function(frame) frame.hurtbox[3] = null end) pat:update_frame(304,0,7, { tex_index = 63 , tex_w = 142 , tex_h = 102 , tex_offset_x = baseX +86 , tex_offset_y = baseY -36 , duration = 2 , hurtbox = pat:get_frame(304,0,6).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(304,0,8, { tex_index = 63 , tex_w = 142 , tex_h = 102 , tex_offset_x = baseX +86 , tex_offset_y = baseY -36 , duration = 2 , hurtbox = pat:get_frame(304,0,6).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(304,0,9, { tex_index = 63 , tex_w = 142 , tex_h = 102 , tex_offset_x = baseX +86 , tex_offset_y = baseY -36 , duration = 2 , hurtbox = pat:get_frame(304,0,6).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:split_frame(304,0,0,2,2) --remove charge? end function mods.nj5a(pat) local baseX = 64 +8 local baseY = 183 +50 +4 pat:update_frame(306,0,0, { tex_index = 29 , tex_w = 100 , tex_h = 121 , tex_offset_x = baseX +48 , tex_offset_y = baseY +20 , duration = 2 , hurtbox = pat:get_frame(9,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) --pat:update_frame(306,0,0, { tex_index = 30 , tex_w = 86 , tex_h = 125 , tex_offset_x = baseX +18 , tex_offset_y = baseY +14 , duration = 1 , hurtbox = pat:get_frame(9,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(306,0,1, { tex_index = 30 , tex_w = 86 , tex_h = 125 , tex_offset_x = baseX +18 , tex_offset_y = baseY +14 , duration = 2 , hurtbox = pat:get_frame(9,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(306,0,2, { tex_index = 31 , tex_w = 103 , tex_h = 124 , tex_offset_x = baseX -12 , tex_offset_y = baseY +12 , duration = 2 , hurtbox = pat:get_frame(9,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(306,0,2,function(frame) frame.hurtbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[2].x1 = frame.hurtbox[1].x2 - 5 frame.hurtbox[2].x2 = frame.hurtbox[2].x1 + 40 frame.hurtbox[2].y2 = frame.hurtbox[2].y1 + 80 end) pat:update_frame(306,0,3, { tex_index = 32 , tex_w = 133 , tex_h = 125 , tex_offset_x = baseX +18 , tex_offset_y = baseY +16 , duration = 3 , hurtbox = pat:get_frame(306,0,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(306,0,4, { tex_index = 33 , tex_w = 152 , tex_h = 138 , tex_offset_x = baseX +56 , tex_offset_y = baseY +10 , duration = 3 , hurtbox = pat:get_frame(306,0,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(306,0,4,function(frame) frame.attackbox[2].x1 = frame.attackbox[2].x1 + 15 frame.attackbox[2].y1 = frame.attackbox[2].y1 - 15 frame.attackbox[2].y2 = frame.attackbox[2].y2 + 50 -15 frame.attackbox[2].x2 = frame.attackbox[2].x2 + 30 -15 frame.attackbox[1].y1 = frame.attackbox[1].y1 - 15 frame.attackbox[1].y2 = frame.attackbox[1].y2 + 25 -15 frame.attackbox[1].x1 = frame.attackbox[1].x1 - 25 frame.attackbox[1].x2 = frame.attackbox[1].x2 + 25 -15 frame.untech = 30 frame.launch_vector_x = 900 frame.hurtbox[3] = pat:get_frame(9,0,0).hurtbox[1] frame.hurtbox[3].y2 = frame.hurtbox[3].y1 + 40 frame.hurtbox[3].x1 = frame.hurtbox[3].x1 + 15 frame.hurtbox[3].x2 = frame.hurtbox[3].x2 + 15 frame.hurtbox[1].y1 = frame.hurtbox[1].y1 + 35 frame.hurtbox[4] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[4].x1 = frame.hurtbox[2].x1 - 20 frame.hurtbox[4].x2 = frame.hurtbox[2].x2 + 20 frame.hurtbox[4].y1 = frame.hurtbox[2].y1 + 20 frame.hurtbox[4].y2 = frame.hurtbox[2].y2 + 40 end) pat:update_frame(306,0,5, { tex_index = 34 , tex_w = 125 , tex_h = 116 , tex_offset_x = baseX +50 , tex_offset_y = baseY +10 , duration = 3 , hurtbox = pat:get_frame(9,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(306,0,5,function(frame) frame.hurtbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[2].x1 = frame.hurtbox[1].x1 - 35 frame.hurtbox[2].x2 = frame.hurtbox[2].x1 + 40 frame.hurtbox[2].y2 = frame.hurtbox[2].y1 + 50 frame.hurtbox[1].y1 = frame.hurtbox[1].y1 + 15 end) pat:update_frame(306,0,6, { tex_index = 35 , tex_w = 92 , tex_h = 116 , tex_offset_x = baseX +38 , tex_offset_y = baseY +10 , duration = 10 , hurtbox = pat:get_frame(306,0,5).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(306,0,7, { tex_index = 35 , tex_w = 92 , tex_h = 116 , tex_offset_x = baseX +38 , tex_offset_y = baseY +10 , duration = 20 , hurtbox = pat:get_frame(306,0,5).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(306,0,8, { tex_index = 29 , tex_w = 100 , tex_h = 121 , tex_offset_x = baseX +48 , tex_offset_y = baseY +20 , duration = 3 , hurtbox = pat:get_frame(9,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) end function mods.nj6a(pat) local baseX = 64 +8 local baseY = 183 +50 +4 --pat:remove_frame(307,0,11) pat:remove_frame(307,0,7) pat:remove_frame(307,0,6) pat:update_frame(307,0,0, { tex_index = 73 , tex_w = 97 , tex_h = 115 , tex_offset_x = baseX +46 , tex_offset_y = baseY -8 , duration = 2 , hurtbox = pat:get_frame(203,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(307,0,1, { tex_index = 73 , tex_w = 97 , tex_h = 115 , tex_offset_x = baseX +46 , tex_offset_y = baseY -8 , duration = 2 , hurtbox = pat:get_frame(203,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(307,0,2, { tex_index = 101 , tex_w = 103 , tex_h = 120 , tex_offset_x = baseX +44 , tex_offset_y = baseY +4 , duration = 5 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(307,0,2,function(frame) frame.hurtbox[1].y1 = frame.hurtbox[1].y1 + 20 frame.hurtbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[2].x1 = frame.hurtbox[1].x2 - 5 frame.hurtbox[2].x2 = frame.hurtbox[2].x1 + 30 frame.hurtbox[2].y1 = frame.hurtbox[1].y1 + 40 frame.hurtbox[2].y2 = frame.hurtbox[2].y1 + 50 end) pat:update_frame(307,0,3, { tex_index = 97 , tex_w = 76 , tex_h = 122 , tex_offset_x = baseX -28 +20 , tex_offset_y = baseY +6 , duration = 3 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(307,0,3,function(frame) frame.hurtbox[1].y1 = frame.hurtbox[1].y1 + 15 frame.hurtbox[1].x1 = frame.hurtbox[1].x1 + 35 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 + 40 frame.hurtbox[1].y2 = frame.hurtbox[1].y1 + 80 frame.hurtbox[2] = pat:get_frame(6,1,0).hurtbox[1] frame.hurtbox[2].y1 = frame.hurtbox[1].y1 + 50 frame.hurtbox[2].x1 = frame.hurtbox[2].x1 + 15 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 + 15 end) pat:update_frame(307,0,4, { tex_index = 98 , tex_w = 170 , tex_h = 112 , tex_offset_x = baseX -2 +14 , tex_offset_y = baseY -12 , duration = 3 , hurtbox = pat:get_frame(202,0,3).hurtbox , collision = pat:get_frame(6,1,0).collision }) --damage pat:update_frame(307,0,4,function(frame) for idx = 1 , 3 do frame.hurtbox[idx].y1 = frame.hurtbox[idx].y1 + 10 frame.hurtbox[idx].y2 = frame.hurtbox[idx].y2 + 10 end frame.hurtbox[4] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[4].x1 = frame.hurtbox[1].x2 - 5 frame.hurtbox[4].x2 = frame.hurtbox[1].x2 + 60 frame.hurtbox[4].y1 = frame.hurtbox[1].y1 + 25 frame.hurtbox[4].y2 = frame.hurtbox[4].y1 + 55 frame.attackbox[2] = frame.attackbox[4] frame.attackbox[4] = null frame.attackbox[3] = null frame.attackbox[2].x1 = frame.attackbox[2].x1 + 55 frame.attackbox[2].x2 = frame.attackbox[2].x2 + 120 frame.attackbox[1].x1 = frame.attackbox[1].x1 + 55 frame.attackbox[1].x2 = frame.attackbox[1].x2 + 120 frame.attackbox[2].y1 = frame.attackbox[2].y1 - 55 frame.attackbox[2].y2 = frame.attackbox[2].y2 - 45 frame.attackbox[1].y1 = frame.attackbox[1].y1 - 25 frame.attackbox[1].y2 = frame.attackbox[1].y2 - 45 frame.attackbox[3] = pat:get_frame(0,0,0).hurtbox[1] frame.attackbox[3].x1 = frame.attackbox[1].x1 - 20 frame.attackbox[3].x2 = frame.attackbox[1].x2 - 60 frame.attackbox[3].y1 = frame.attackbox[1].y1 + 40 frame.attackbox[3].y2 = frame.attackbox[1].y2 + 40 frame.attackbox[1].x1 = frame.attackbox[1].x1 + 30 frame.attackbox[2].x1 = frame.attackbox[2].x1 + 30 end) pat:update_frame(307,0,5, { tex_index = 99 , tex_w = 170 , tex_h = 112 , tex_offset_x = baseX -2 +14 , tex_offset_y = baseY -12 , duration = 5 , hurtbox = pat:get_frame(307,0,4).hurtbox , attackbox = pat:get_frame(307,0,4).attackbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(307,0,6, { tex_index = 99 , tex_w = 170 , tex_h = 112 , tex_offset_x = baseX -2 +14 , tex_offset_y = baseY -12 , duration = 28 , hurtbox = pat:get_frame(307,0,4).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(307,0,7, { tex_index = 100 , tex_w = 135 , tex_h = 109 , tex_offset_x = baseX -6 +14 , tex_offset_y = baseY -20 , duration = 3 , hurtbox = pat:get_frame(202,0,3).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(307,0,8, { tex_index = 101 , tex_w = 103 , tex_h = 120 , tex_offset_x = baseX +44 , tex_offset_y = baseY +4 , duration = 3 , hurtbox = pat:get_frame(307,0,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(307,0,9, { tex_index = 318 , tex_w = 100 , tex_h = 121 , tex_offset_x = baseX +46 , tex_offset_y = baseY +20 +0 , duration = 3 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) for idx = 0 , 3 do pat:update_frame(801,4,idx,{tex_w = 0}) pat:update_frame(998,0,idx,{tex_w = 0}) pat:update_frame(848,2,idx,{tex_w = 0}) end pat:update_frame(848,0,0,{tex_w = 0}) for idx = 4 , 5 do pat:update_frame(307,0,idx,function(frame) frame.proration = 850 frame.damage = 850 end) end end function mods.nj8a(pat) local baseX = 64 +8 local baseY = 183 +50 +4 pat:remove_frame(309,0,10) pat:remove_frame(309,0,9) pat:split_frame(309,0,2,1,1) pat:split_frame(309,0,2,1,1) pat:split_frame(309,0,2,1,1) pat:split_frame(309,0,6,1,1) pat:remove_frame(309,0,12) pat:update_frame(309,0,0, { tex_index = 318 , tex_w = 100 , tex_h = 121 , tex_offset_x = baseX +46 , tex_offset_y = baseY +20 +0 , duration = 3 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(309,0,1, { tex_index = 319 , tex_w = 96 , tex_h = 126 , tex_offset_x = baseX +46 , tex_offset_y = baseY +16 , duration = 3 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(309,0,2, { tex_index = 64 , tex_w = 92 , tex_h = 116 , tex_offset_x = baseX +38 , tex_offset_y = baseY +10 , duration = 3 , hurtbox = pat:get_frame(202,0,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(309,0,2,function(frame) for idx = 1 , 4 do frame.hurtbox[idx].x1 = frame.hurtbox[idx].x1 + 28 frame.hurtbox[idx].x2 = frame.hurtbox[idx].x2 + 28 end frame.hurtbox[4].y1 = frame.hurtbox[4].y1 - 20 frame.hurtbox[4].y2 = frame.hurtbox[4].y2 - 20 frame.hurtbox[4].x1 = frame.hurtbox[4].x1 - 20 frame.hurtbox[3] = frame.hurtbox[4] frame.hurtbox[4] = null end) pat:update_frame(309,0,3, { tex_index = 65 , tex_w = 122 , tex_h = 116 , tex_offset_x = baseX +38+60 , tex_offset_y = baseY +10 , duration = 3 , hurtbox = pat:get_frame(309,0,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(309,0,3,function(frame) frame.hurtbox[3].y1 = frame.hurtbox[3].y1 - 20 frame.hurtbox[3].y2 = frame.hurtbox[3].y2 - 20 end) pat:update_frame(309,0,4, { tex_index = 66 , tex_w = 108 , tex_h = 177 , tex_offset_x = baseX +38+20 , tex_offset_y = baseY +126 , duration = 9-3 , hurtbox = pat:get_frame(309,0,3).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(309,0,4,function(frame) frame.hurtbox[3].y1 = frame.hurtbox[3].y1 + 50 frame.hurtbox[3].y2 = frame.hurtbox[3].y2 + 50 frame.hurtbox[3].x1 = frame.hurtbox[3].x1 - 50 frame.hurtbox[2].x1 = frame.hurtbox[2].x1 - 20 frame.hurtbox[2].y1 = frame.hurtbox[1].y1 - 5 frame.hurtbox[2].y2 = frame.hurtbox[2].y2 - 40 frame.hurtbox[2].x2 = frame.hurtbox[2].x1 + 50 end) pat:update_frame(309,0,5, { tex_index = 67 , tex_w = 255 , tex_h = 218 , tex_offset_x = baseX +170+10 , tex_offset_y = baseY +88 , duration = 3 , hurtbox = pat:get_frame(309,0,3).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(309,0,5,function(frame) frame.hurtbox[3].y1 = frame.hurtbox[3].y1 + 20 frame.hurtbox[3].y2 = frame.hurtbox[3].y2 + 60 frame.hurtbox[1].y2 = frame.hurtbox[1].y2 - 50 frame.hurtbox[2].x1 = frame.hurtbox[2].x1 + 45 frame.hurtbox[1].x1 = frame.hurtbox[1].x1 + 30 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 + 30 end) pat:update_frame(309,0,6, { tex_index = 68 , tex_w = 241 , tex_h = 185 , tex_offset_x = baseX +154 , tex_offset_y = baseY +4 , duration = 3 , hurtbox = pat:get_frame(202,0,3).hurtbox , collision = pat:get_frame(6,1,0).collision }) --damage pat:update_frame(309,0,6,function(frame) frame.attackbox[1].x1 = frame.attackbox[1].x1 - 180 + 60 frame.attackbox[1].x2 = frame.attackbox[1].x2 + 50 frame.attackbox[1].y1 = frame.attackbox[1].y1 + 240 frame.attackbox[1].y2 = frame.attackbox[1].y2 + 240 frame.attackbox[2].x1 = frame.attackbox[1].x1 + 40 frame.attackbox[2].x2 = frame.attackbox[1].x2 - 40 frame.attackbox[2].y1 = frame.attackbox[1].y1 + 40 frame.attackbox[2].y2 = frame.attackbox[1].y2 + 40 frame.attackbox[3] = pat:get_frame(0,0,0).hurtbox[1] frame.attackbox[3].x1 = frame.attackbox[1].x2 - 50 frame.attackbox[3].x2 = frame.attackbox[3].x1 + 80 frame.attackbox[3].y2 = frame.attackbox[2].y1 + 10 frame.attackbox[3].y1 = frame.attackbox[3].y2 - 100 for idx = 1 , 3 do frame.hurtbox[idx].x1 = frame.hurtbox[idx].x1 - 15 frame.hurtbox[idx].x2 = frame.hurtbox[idx].x2 - 15 end frame.hurtbox[3].x1 = frame.hurtbox[3].x1 - 40 frame.hurtbox[3].y1 = frame.hurtbox[3].y1 - 10 frame.hurtbox[4] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[4].x1 = frame.hurtbox[1].x2 - 5 frame.hurtbox[4].x2 = frame.hurtbox[4].x1 + 50 frame.hurtbox[4].y1 = frame.hurtbox[1].y1 + 50 frame.hurtbox[4].y2 = frame.hurtbox[1].y2 + 20 frame.launch_vector_x = 2450 frame.launch_vector_y = -2450 frame.hit_ani_air = 88 frame.hit_ani_ground = 88 frame.untech = 60 end) pat:update_frame(309,0,7, { tex_index = 69 , tex_w = 166 , tex_h = 195 , tex_offset_x = baseX +28 , tex_offset_y = baseY +116 , duration = 3 , hurtbox = pat:get_frame(309,0,6).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(309,0,7,function(frame) frame.attackbox[1].x1 = frame.attackbox[1].x1 - 80 frame.attackbox[1].x2 = frame.attackbox[1].x2 + 20 frame.attackbox[1].y1 = frame.attackbox[1].y1 - 90 frame.attackbox[1].y2 = frame.attackbox[1].y2 - 50 frame.attackbox[2].x1 = frame.attackbox[1].x1 + 80 frame.attackbox[2].x2 = frame.attackbox[1].x2 + 70 frame.attackbox[2].y1 = frame.attackbox[1].y1 + 40 frame.attackbox[2].y2 = frame.attackbox[1].y2 + 40 frame.attackbox[3] = pat:get_frame(0,0,0).hurtbox[1] frame.attackbox[3].x1 = frame.attackbox[2].x1 + 80 frame.attackbox[3].x2 = frame.attackbox[2].x2 + 30 frame.attackbox[3].y1 = frame.attackbox[2].y1 + 80 frame.attackbox[3].y2 = frame.attackbox[2].y2 + 120 frame.hurtbox[1].y1 = frame.hurtbox[1].y1 - 30 frame.launch_vector_x = 500 frame.launch_vector_y = 1250 frame.hit_ani_air = 71 frame.hit_ani_ground = 71 frame.untech = 50 end) pat:update_frame(309,0,8, { tex_index = 70 , tex_w = 103 , tex_h = 125 , tex_offset_x = baseX +36 , tex_offset_y = baseY +20 , duration = 3 , hurtbox = pat:get_frame(9,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(309,0,8,function(frame) frame.hurtbox[2] = pat:get_frame(309,0,7).hurtbox[4] frame.hurtbox[2].x1 = frame.hurtbox[2].x1 - 40 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 - 20 end) pat:update_frame(309,0,9, { tex_index = 71 , tex_w = 81 , tex_h = 127 , tex_offset_x = baseX +30 , tex_offset_y = baseY +22 , duration = 40 , hurtbox = pat:get_frame(309,0,8).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(309,0,10, { tex_index = 72 , tex_w = 103 , tex_h = 125 , tex_offset_x = baseX +34 , tex_offset_y = baseY +18 , duration = 3 , hurtbox = pat:get_frame(9,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) --pat:update_frame(309,0,11, { tex_index = 73 , tex_w = 97 , tex_h = 115 , tex_offset_x = baseX +46 , tex_offset_y = baseY -8 , duration = 3 , hurtbox = pat:get_frame(203,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(309,0,11, { tex_index = 244 , tex_w = 97 , tex_h = 115 , tex_offset_x = (baseX +46) , tex_offset_y = (baseY -8+16) , duration = 3 , hurtbox = pat:get_frame(203,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) end function mods.nj2a(pat) local baseX = 64 +8 local baseY = 183 +50 +4 pat:update_frame(308,0,0, { tex_index = 59 , tex_w = 100 , tex_h = 121 , tex_offset_x = baseX +48 , tex_offset_y = baseY +20 , duration = 3 , hurtbox = pat:get_frame(307,0,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(308,0,1, { tex_index = 60 , tex_w = 102 , tex_h = 109 , tex_offset_x = baseX +70 , tex_offset_y = baseY +0 +20 , duration = 3 , hurtbox = pat:get_frame(9,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(308,0,1,function(frame) frame.hurtbox[1].x1 = frame.hurtbox[1].x1 - 40 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 - 40 frame.hurtbox[1].y2 = frame.hurtbox[1].y1 + 70 frame.hurtbox[2] = pat:get_frame(6,1,0).hurtbox[1] frame.hurtbox[2].x1 = frame.hurtbox[2].x1 - 20 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 - 20 frame.hurtbox[2].y1 = frame.hurtbox[2].y1 + 40 frame.hurtbox[2].y2 = frame.hurtbox[2].y1 + 80 frame.hurtbox[3] = pat:get_frame(6,1,0).hurtbox[1] frame.hurtbox[3].y1 = frame.hurtbox[3].y2 - 90 end) pat:update_frame(308,0,2, { tex_index = 61 , tex_w = 123 , tex_h = 94 , tex_offset_x = baseX +108 , tex_offset_y = baseY -22 +40 , duration = 3 , hurtbox = pat:get_frame(308,0,1).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(308,0,2,function(frame) frame.hurtbox[1].y2 = frame.hurtbox[1].y2 - 10 frame.hurtbox[2].y2 = frame.hurtbox[2].y2 - 10 frame.hurtbox[3].y2 = frame.hurtbox[3].y2 - 20 frame.hurtbox[3].y1 = frame.hurtbox[3].y1 - 20 end) pat:update_frame(308,0,3, { tex_index = 62 , tex_w = 133 , tex_h = 108 , tex_offset_x = baseX +130 , tex_offset_y = baseY -60 +60 , duration = 3 , hurtbox = pat:get_frame(308,0,1).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(308,0,3,function(frame) frame.hurtbox[1].x1 = frame.hurtbox[1].x1 - 20 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 - 20 frame.hurtbox[2].x1 = frame.hurtbox[2].x1 - 10 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 - 10 frame.hurtbox[4] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[4].x1 = frame.hurtbox[3].x2 - 5 frame.hurtbox[4].x2 = frame.hurtbox[4].x1 + 40 frame.hurtbox[4].y1 = frame.hurtbox[3].y1 + 30 frame.hurtbox[4].y2 = frame.hurtbox[3].y2 + 30 end) pat:update_frame(308,0,4, { tex_index = 62 , tex_w = 133 , tex_h = 108 , tex_offset_x = baseX +130 , tex_offset_y = baseY -60 +60 , duration = 3-1 , hurtbox = pat:get_frame(308,0,3).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(308,0,5, { tex_index = 62 , tex_w = 133 , tex_h = 108 , tex_offset_x = baseX +130 , tex_offset_y = baseY -60 +60 , duration = 3-1 , hurtbox = pat:get_frame(308,0,3).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(308,1,0, { tex_index = 62 , tex_w = 133 , tex_h = 108 , tex_offset_x = baseX +130 , tex_offset_y = baseY -60 +60 , duration = 3 , hurtbox = pat:get_frame(308,0,3).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(308,1,0,function(frame) frame.attackbox[1].x1 = frame.attackbox[1].x1 + 70 frame.attackbox[1].x2 = frame.attackbox[1].x2 + 40 frame.attackbox[1].y1 = frame.attackbox[1].y1 - 40 frame.attackbox[1].y2 = frame.attackbox[1].y2 - 40 end) pat:update_frame(308,1,1, { tex_index = 62 , tex_w = 133 , tex_h = 108 , tex_offset_x = baseX +130 , tex_offset_y = baseY -60 +60 , duration = 3 , hurtbox = pat:get_frame(308,0,3).hurtbox , attackbox = pat:get_frame(308,1,0).attackbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(308,2,0, { tex_index = 439 , tex_w = 92 , tex_h = 102 , tex_offset_x = baseX +36 , tex_offset_y = baseY -36 , duration = 6 , hurtbox = pat:get_frame(2,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(308,2,0,function(frame) frame.attackbox[1].x1 = frame.attackbox[1].x1 + 40 frame.attackbox[1].x2 = frame.attackbox[1].x2 + 40 end) pat:update_frame(308,2,1, { tex_index = 439 , tex_w = 92 , tex_h = 102 , tex_offset_x = baseX +36 , tex_offset_y = baseY -36 , duration = 5 , hurtbox = pat:get_frame(2,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(308,2,2, { tex_index = 439 , tex_w = 92 , tex_h = 102 , tex_offset_x = baseX +36 , tex_offset_y = baseY -36 , duration = 5 , hurtbox = pat:get_frame(2,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(308,2,3, { tex_index = 436, tex_w = 121 , tex_h = 117 , tex_offset_x = baseX +98 , tex_offset_y = baseY -16 , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(308,2,4, { tex_index = 436, tex_w = 121 , tex_h = 117 , tex_offset_x = baseX +98 , tex_offset_y = baseY -16 , duration = 1 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(308,2,5, { tex_index = 437 , tex_w = 98 , tex_h = 122 , tex_offset_x = baseX +60 , tex_offset_y = baseY +0 , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(308,2,6, { tex_index = 437 , tex_w = 98 , tex_h = 122 , tex_offset_x = baseX +60 , tex_offset_y = baseY +0 , duration = 1 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(308,2,7, { tex_index = 620 , tex_w = 68 , tex_h = 123 , tex_offset_x = baseX +0 , tex_offset_y = baseY +4 , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(308,2,8, { tex_index = 620 , tex_w = 68 , tex_h = 123 , tex_offset_x = baseX +0 , tex_offset_y = baseY +4 , duration = 1 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) for idy = 1 , 2 do for idx = 0 , 1 do if (idy==2) and (idx==1) then else pat:update_frame(308,idy,idx,function(frame) frame.damage = 900 end) end end end end function mods.systems(pat) local baseX = 64 +8 local baseY = 183 +50 +4 --[[ pat:update_frame(690,0,0, { tex_index = 515 , tex_w = 67 , tex_h = 123 , tex_offset_x = baseX -4 , tex_offset_y = baseY -0 , duration = 2 , hurtbox = pat:get_frame(400,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(690,0,1, { tex_index = 515 , tex_w = 67 , tex_h = 123 , tex_offset_x = baseX -4 , tex_offset_y = baseY -0 , duration = 2 , hurtbox = pat:get_frame(400,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(690,0,5, { tex_index = 516 , tex_w = 63 , tex_h = 121 , tex_offset_x = baseX -20 , tex_offset_y = baseY +0 , duration = 2 , hurtbox = pat:get_frame(400,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(690,0,6, { tex_index = 516 , tex_w = 63 , tex_h = 121 , tex_offset_x = baseX -20 , tex_offset_y = baseY +0 , duration = 2 , hurtbox = pat:get_frame(400,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(690,0,7, { tex_index = 527 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 2 , hurtbox = pat:get_frame(400,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(690,0,8, { tex_index = 527 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 2 , hurtbox = pat:get_frame(400,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(690,0,9, { tex_index = 528 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 2 , hurtbox = pat:get_frame(400,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(690,1,0, { tex_index = 528 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 6 , hurtbox = pat:get_frame(400,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(690,1,1, { tex_index = 527 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 6 , hurtbox = pat:get_frame(400,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(690,1,0, { tex_index = 528 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 6 , hurtbox = pat:get_frame(400,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(690,1,1, { tex_index = 527 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 6 , hurtbox = pat:get_frame(400,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(690,1,8, { tex_index = 528 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 6 , hurtbox = pat:get_frame(400,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(690,1,9, { tex_index = 527 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 16 , hurtbox = pat:get_frame(400,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(690,1,10, { tex_index = 529 , tex_w = 67 , tex_h = 122 , tex_offset_x = baseX -16 , tex_offset_y = baseY +4 , duration = 5 , hurtbox = pat:get_frame(400,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) ]]-- --[[ pat:update_frame(690,0,0, { tex_index = 515 , tex_w = 67 , tex_h = 123 , tex_offset_x = baseX -4 , tex_offset_y = baseY -0 , duration = 3 , hurtbox = pat:get_frame(400,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(690,0,1, { tex_index = 515 , tex_w = 67 , tex_h = 123 , tex_offset_x = baseX -4 , tex_offset_y = baseY -0 , duration = 5 , hurtbox = pat:get_frame(400,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(690,0,2, { tex_index = 515 , tex_w = 67 , tex_h = 123 , tex_offset_x = baseX -4 , tex_offset_y = baseY -0 , duration = 2 , hurtbox = pat:get_frame(400,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(690,0,3, { tex_index = 515 , tex_w = 67 , tex_h = 123 , tex_offset_x = baseX -4 , tex_offset_y = baseY -0 , duration = 2 , hurtbox = pat:get_frame(400,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(690,0,4, { tex_index = 516 , tex_w = 63 , tex_h = 121 , tex_offset_x = baseX -20 , tex_offset_y = baseY +0 , duration = 2 , hurtbox = pat:get_frame(400,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(690,0,5, { tex_index = 516 , tex_w = 63 , tex_h = 121 , tex_offset_x = baseX -20 , tex_offset_y = baseY +0 , duration = 2 , hurtbox = pat:get_frame(400,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(690,1,0, { tex_index = 530 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 2 , hurtbox = pat:get_frame(400,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(690,1,1, { tex_index = 531 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 4 , hurtbox = pat:get_frame(400,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(690,1,2, { tex_index = 532 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 4 , hurtbox = pat:get_frame(400,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(690,1,3, { tex_index = 533 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 4 , hurtbox = pat:get_frame(400,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(690,1,4, { tex_index = 530 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 4 , hurtbox = pat:get_frame(400,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(690,1,5, { tex_index = 531 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 4 , hurtbox = pat:get_frame(400,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(690,1,6, { tex_index = 532 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 6 , hurtbox = pat:get_frame(400,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(690,1,7, { tex_index = 533 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 4 , hurtbox = pat:get_frame(400,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(690,1,8, { tex_index = 530 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 4 , hurtbox = pat:get_frame(400,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(690,1,9, { tex_index = 527 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 4 , hurtbox = pat:get_frame(400,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(690,1,10, { tex_index = 529 , tex_w = 67 , tex_h = 122 , tex_offset_x = baseX -16 , tex_offset_y = baseY +4 , duration = 3 , hurtbox = pat:get_frame(400,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) ]]-- pat:update_frame(690,0,0, { tex_index = 515 , tex_w = 67 , tex_h = 123 , tex_offset_x = baseX -4 , tex_offset_y = baseY -0 , duration = 3 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(690,0,1, { tex_index = 515 , tex_w = 67 , tex_h = 123 , tex_offset_x = baseX -4 , tex_offset_y = baseY -0 , duration = 5 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(690,0,2, { tex_index = 515 , tex_w = 67 , tex_h = 123 , tex_offset_x = baseX -4 , tex_offset_y = baseY -0 , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(690,0,3, { tex_index = 515 , tex_w = 67 , tex_h = 123 , tex_offset_x = baseX -4 , tex_offset_y = baseY -0 , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(690,0,4, { tex_index = 516 , tex_w = 63 , tex_h = 121 , tex_offset_x = baseX -20 , tex_offset_y = baseY +0 , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(690,0,5, { tex_index = 516 , tex_w = 63 , tex_h = 121 , tex_offset_x = baseX -20 , tex_offset_y = baseY +0 , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(690,1,0, { tex_index = 530 , tex_w = 78 , tex_h = 159 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 +80 , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(690,1,1, { tex_index = 531 , tex_w = 78 , tex_h = 159 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 +80 , duration = 4 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(690,1,2, { tex_index = 532 , tex_w = 78 , tex_h = 159 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 +80 , duration = 4 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(690,1,3, { tex_index = 533 , tex_w = 78 , tex_h = 159 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 +80 , duration = 4 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(690,1,4, { tex_index = 530 , tex_w = 78 , tex_h = 159 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 +80 , duration = 4 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(690,1,5, { tex_index = 531 , tex_w = 78 , tex_h = 159 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 +80 , duration = 4 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(690,1,6, { tex_index = 532 , tex_w = 78 , tex_h = 159 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 +80 , duration = 6 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(690,1,7, { tex_index = 533 , tex_w = 78 , tex_h = 159 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 +80 , duration = 4 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(690,1,8, { tex_index = 530 , tex_w = 78 , tex_h = 159 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 +80 , duration = 4 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(690,1,9, { tex_index = 527 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 4 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(690,1,10, { tex_index = 529 , tex_w = 67 , tex_h = 122 , tex_offset_x = baseX -16 , tex_offset_y = baseY +4 , duration = 3 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(691,0,0, { tex_index = 515 , tex_w = 67 , tex_h = 123 , tex_offset_x = baseX -4 , tex_offset_y = baseY -0 , duration = 3 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(691,0,1, { tex_index = 515 , tex_w = 67 , tex_h = 123 , tex_offset_x = baseX -4 , tex_offset_y = baseY -0 , duration = 5 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(691,0,2, { tex_index = 515 , tex_w = 67 , tex_h = 123 , tex_offset_x = baseX -4 , tex_offset_y = baseY -0 , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(691,0,3, { tex_index = 515 , tex_w = 67 , tex_h = 123 , tex_offset_x = baseX -4 , tex_offset_y = baseY -0 , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(691,0,4, { tex_index = 516 , tex_w = 63 , tex_h = 121 , tex_offset_x = baseX -20 , tex_offset_y = baseY +0 , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(691,0,5, { tex_index = 516 , tex_w = 63 , tex_h = 121 , tex_offset_x = baseX -20 , tex_offset_y = baseY +0 , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(691,1,0, { tex_index = 530 , tex_w = 78 , tex_h = 159 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 +80 , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(691,1,1, { tex_index = 531 , tex_w = 78 , tex_h = 159 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 +80 , duration = 4 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(691,1,2, { tex_index = 532 , tex_w = 78 , tex_h = 159 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 +80 , duration = 4 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(691,1,3, { tex_index = 533 , tex_w = 78 , tex_h = 159 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 +80 , duration = 4 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(691,1,4, { tex_index = 530 , tex_w = 78 , tex_h = 159 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 +80 , duration = 4 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(691,1,5, { tex_index = 531 , tex_w = 78 , tex_h = 159 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 +80 , duration = 4 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(691,1,6, { tex_index = 532 , tex_w = 78 , tex_h = 159 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 +80 , duration = 6 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(691,1,7, { tex_index = 533 , tex_w = 78 , tex_h = 159 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 +80 , duration = 4 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(691,1,8, { tex_index = 530 , tex_w = 78 , tex_h = 159 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 +80 , duration = 4 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(691,1,9, { tex_index = 527 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 4 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(691,1,10, { tex_index = 529 , tex_w = 67 , tex_h = 122 , tex_offset_x = baseX -16 , tex_offset_y = baseY +4 , duration = 3 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(692,0,0, { tex_index = 515 , tex_w = 67 , tex_h = 123 , tex_offset_x = baseX -4 , tex_offset_y = baseY -0 , duration = 3 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(692,0,1, { tex_index = 515 , tex_w = 67 , tex_h = 123 , tex_offset_x = baseX -4 , tex_offset_y = baseY -0 , duration = 5 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(692,0,2, { tex_index = 515 , tex_w = 67 , tex_h = 123 , tex_offset_x = baseX -4 , tex_offset_y = baseY -0 , duration = 3 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(692,0,3, { tex_index = 515 , tex_w = 67 , tex_h = 123 , tex_offset_x = baseX -4 , tex_offset_y = baseY -0 , duration = 3 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(692,0,4, { tex_index = 515 , tex_w = 67 , tex_h = 123 , tex_offset_x = baseX -4 , tex_offset_y = baseY -0 , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(692,0,5, { tex_index = 516 , tex_w = 63 , tex_h = 121 , tex_offset_x = baseX -20 , tex_offset_y = baseY +0 , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(692,0,6, { tex_index = 516 , tex_w = 63 , tex_h = 121 , tex_offset_x = baseX -20 , tex_offset_y = baseY +0 , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:split_frame(692,1,1,2,2) pat:split_frame(692,1,1,2,2) pat:update_frame(692,1,0, { tex_index = 530 , tex_w = 78 , tex_h = 159 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 +80 , duration = 4 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(692,1,1, { tex_index = 531 , tex_w = 78 , tex_h = 159 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 +80 , duration = 4 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(692,1,2, { tex_index = 532 , tex_w = 78 , tex_h = 159 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 +80 , duration = 4 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(692,1,3, { tex_index = 533 , tex_w = 78 , tex_h = 159 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 +80 , duration = 4 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(692,2,0, { tex_index = 533 , tex_w = 78 , tex_h = 159 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 +80 , duration = 5 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(692,2,1, { tex_index = 530 , tex_w = 78 , tex_h = 159 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 +80 , duration = 5 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(692,2,2, { tex_index = 527 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 5 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(692,2,3, { tex_index = 529 , tex_w = 67 , tex_h = 122 , tex_offset_x = baseX -16 , tex_offset_y = baseY +4 , duration = 5 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(695,0,0, { tex_index = 515 , tex_w = 67 , tex_h = 123 , tex_offset_x = baseX -4 , tex_offset_y = baseY -0 , duration = 1 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(695,0,1, { tex_index = 515 , tex_w = 67 , tex_h = 123 , tex_offset_x = baseX -4 , tex_offset_y = baseY -0 , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(695,0,2, { tex_index = 515 , tex_w = 67 , tex_h = 123 , tex_offset_x = baseX -4 , tex_offset_y = baseY -0 , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(695,0,3, { tex_index = 515 , tex_w = 67 , tex_h = 123 , tex_offset_x = baseX -4 , tex_offset_y = baseY -0 , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(695,0,4, { tex_index = 516 , tex_w = 63 , tex_h = 121 , tex_offset_x = baseX -20 , tex_offset_y = baseY +0 , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(695,0,5, { tex_index = 516 , tex_w = 63 , tex_h = 121 , tex_offset_x = baseX -20 , tex_offset_y = baseY +0 , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(695,0,6, { tex_index = 532 , tex_w = 78 , tex_h = 159 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 +80 , duration = 4 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(695,0,7, { tex_index = 533 , tex_w = 78 , tex_h = 159 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 +80 , duration = 4 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(695,0,8, { tex_index = 530 , tex_w = 78 , tex_h = 159 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 +80 , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(695,0,9, { tex_index = 531 , tex_w = 78 , tex_h = 159 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 +80 , duration = 4 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(695,0,10, { tex_index = 532 , tex_w = 78 , tex_h = 159 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 +80 , duration = 4 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(695,0,11, { tex_index = 533 , tex_w = 78 , tex_h = 159 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 +80 , duration = 4 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(695,0,12, { tex_index = 530 , tex_w = 78 , tex_h = 159 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 +80 , duration = 4 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(695,0,13, { tex_index = 531 , tex_w = 78 , tex_h = 159 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 +80 , duration = 4 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(695,0,14, { tex_index = 532 , tex_w = 78 , tex_h = 159 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 +80 , duration = 4 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(695,0,15, { tex_index = 533 , tex_w = 78 , tex_h = 159 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 +80 , duration = 3 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(695,0,16, { tex_index = 530 , tex_w = 78 , tex_h = 159 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 +80 , duration = 3 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(695,0,17, { tex_index = 527 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 3 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(695,0,18, { tex_index = 529 , tex_w = 67 , tex_h = 122 , tex_offset_x = baseX -16 , tex_offset_y = baseY +4 , duration = 4 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(696,0,0, { tex_index = 74 , tex_w = 68 , tex_h = 121 , tex_offset_x = baseX -16 , tex_offset_y = baseY +4 , duration = 2 , hurtbox = pat:get_frame(302,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(696,0,1, { tex_index = 75 , tex_w = 121 , tex_h = 117 , tex_offset_x = baseX +104 , tex_offset_y = baseY -10 , duration = 2 , hurtbox = pat:get_frame(302,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(696,0,2, { tex_index = 75 , tex_w = 121 , tex_h = 117 , tex_offset_x = baseX +104 , tex_offset_y = baseY -10 , duration = 2 , hurtbox = pat:get_frame(302,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(696,0,3, { tex_index = 76 , tex_w = 101 , tex_h = 116 , tex_offset_x = baseX +84 , tex_offset_y = baseY -6 , duration = 17 , hurtbox = pat:get_frame(302,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(696,0,4, { tex_index = 76 , tex_w = 101 , tex_h = 116 , tex_offset_x = baseX +84 , tex_offset_y = baseY -6 , duration = 2 , hurtbox = pat:get_frame(302,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(696,0,5, { tex_index = 77 , tex_w = 123 , tex_h = 105 , tex_offset_x = baseX +122 , tex_offset_y = baseY -28 , duration = 2 , hurtbox = pat:get_frame(302,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(696,0,6, { tex_index = 78 , tex_w = 150 , tex_h = 107 , tex_offset_x = baseX +78 , tex_offset_y = baseY -24 , duration = 2 , hurtbox = pat:get_frame(302,0,8).hurtbox , attackbox = pat:get_frame(302,0,8).attackbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(696,0,7, { tex_index = 78 , tex_w = 150 , tex_h = 107 , tex_offset_x = baseX +78 , tex_offset_y = baseY -24 , duration = 2 , hurtbox = pat:get_frame(302,0,8).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(696,0,8, { tex_index = 78 , tex_w = 150 , tex_h = 107 , tex_offset_x = baseX +78 , tex_offset_y = baseY -24 , duration = 2 , hurtbox = pat:get_frame(302,0,8).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(696,0,9, { tex_index = 78 , tex_w = 150 , tex_h = 107 , tex_offset_x = baseX +78 , tex_offset_y = baseY -24 , duration = 22 , hurtbox = pat:get_frame(302,0,8).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(696,0,10, { tex_index = 78 , tex_w = 150 , tex_h = 107 , tex_offset_x = baseX +78 , tex_offset_y = baseY -24 , duration = 5 , hurtbox = pat:get_frame(302,0,8).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(696,0,11, { tex_index = 79 , tex_w = 131 , tex_h = 122 , tex_offset_x = baseX +76 , tex_offset_y = baseY +6 , duration = 5 , hurtbox = pat:get_frame(302,0,10).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(697,0,0, { tex_index = 74 , tex_w = 68 , tex_h = 121 , tex_offset_x = baseX -16 , tex_offset_y = baseY +4 , duration = 2 , hurtbox = pat:get_frame(302,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(697,0,1, { tex_index = 75 , tex_w = 121 , tex_h = 117 , tex_offset_x = baseX +104 , tex_offset_y = baseY -10 , duration = 2 , hurtbox = pat:get_frame(302,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(697,0,2, { tex_index = 75 , tex_w = 121 , tex_h = 117 , tex_offset_x = baseX +104 , tex_offset_y = baseY -10 , duration = 2 , hurtbox = pat:get_frame(302,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(697,1,0, { tex_index = 76 , tex_w = 101 , tex_h = 116 , tex_offset_x = baseX +84 , tex_offset_y = baseY -6 , duration = 12 , hurtbox = pat:get_frame(302,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(697,2,0, { tex_index = 76 , tex_w = 101 , tex_h = 116 , tex_offset_x = baseX +84 , tex_offset_y = baseY -6 , duration = 2 , hurtbox = pat:get_frame(302,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(697,2,1, { tex_index = 77 , tex_w = 123 , tex_h = 105 , tex_offset_x = baseX +122 , tex_offset_y = baseY -28 , duration = 2 , hurtbox = pat:get_frame(302,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(697,3,0, { tex_index = 78 , tex_w = 150 , tex_h = 107 , tex_offset_x = baseX +78 , tex_offset_y = baseY -24 , duration = 2 , hurtbox = pat:get_frame(302,0,8).hurtbox , attackbox = pat:get_frame(302,0,8).attackbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(697,3,1, { tex_index = 78 , tex_w = 150 , tex_h = 107 , tex_offset_x = baseX +78 , tex_offset_y = baseY -24 , duration = 2 , hurtbox = pat:get_frame(302,0,8).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(697,3,2, { tex_index = 78 , tex_w = 150 , tex_h = 107 , tex_offset_x = baseX +78 , tex_offset_y = baseY -24 , duration = 2 , hurtbox = pat:get_frame(302,0,8).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(697,3,3, { tex_index = 78 , tex_w = 150 , tex_h = 107 , tex_offset_x = baseX +78 , tex_offset_y = baseY -24 , duration = 17 , hurtbox = pat:get_frame(302,0,8).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(697,4,0, { tex_index = 78 , tex_w = 150 , tex_h = 107 , tex_offset_x = baseX +78 , tex_offset_y = baseY -24 , duration = 5 , hurtbox = pat:get_frame(302,0,8).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(697,4,1, { tex_index = 79 , tex_w = 131 , tex_h = 122 , tex_offset_x = baseX +76 , tex_offset_y = baseY +6 , duration = 5 , hurtbox = pat:get_frame(302,0,10).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(698,0,0, { tex_index = 74 , tex_w = 68 , tex_h = 121 , tex_offset_x = baseX -16 , tex_offset_y = baseY +4 , duration = 2 , hurtbox = pat:get_frame(302,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(698,0,1, { tex_index = 75 , tex_w = 121 , tex_h = 117 , tex_offset_x = baseX +104 , tex_offset_y = baseY -10 , duration = 2 , hurtbox = pat:get_frame(302,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(698,0,2, { tex_index = 75 , tex_w = 121 , tex_h = 117 , tex_offset_x = baseX +104 , tex_offset_y = baseY -10 , duration = 2 , hurtbox = pat:get_frame(302,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(698,0,3, { tex_index = 76 , tex_w = 101 , tex_h = 116 , tex_offset_x = baseX +84 , tex_offset_y = baseY -6 , duration = 6 , hurtbox = pat:get_frame(302,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(698,1,0, { tex_index = 76 , tex_w = 101 , tex_h = 116 , tex_offset_x = baseX +84 , tex_offset_y = baseY -6 , duration = 2 , hurtbox = pat:get_frame(302,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(698,1,1, { tex_index = 77 , tex_w = 123 , tex_h = 105 , tex_offset_x = baseX +122 , tex_offset_y = baseY -28 , duration = 2 , hurtbox = pat:get_frame(302,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(698,2,0, { tex_index = 78 , tex_w = 150 , tex_h = 107 , tex_offset_x = baseX +78 , tex_offset_y = baseY -24 , duration = 2 , hurtbox = pat:get_frame(302,0,8).hurtbox , attackbox = pat:get_frame(302,0,8).attackbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(698,2,1, { tex_index = 78 , tex_w = 150 , tex_h = 107 , tex_offset_x = baseX +78 , tex_offset_y = baseY -24 , duration = 2 , hurtbox = pat:get_frame(302,0,8).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(698,2,2, { tex_index = 78 , tex_w = 150 , tex_h = 107 , tex_offset_x = baseX +78 , tex_offset_y = baseY -24 , duration = 2 , hurtbox = pat:get_frame(302,0,8).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(698,2,3, { tex_index = 78 , tex_w = 150 , tex_h = 107 , tex_offset_x = baseX +78 , tex_offset_y = baseY -24 , duration = 19 , hurtbox = pat:get_frame(302,0,8).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(698,3,0, { tex_index = 78 , tex_w = 150 , tex_h = 107 , tex_offset_x = baseX +78 , tex_offset_y = baseY -24 , duration = 5 , hurtbox = pat:get_frame(302,0,8).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(698,3,1, { tex_index = 79 , tex_w = 131 , tex_h = 122 , tex_offset_x = baseX +76 , tex_offset_y = baseY +6 , duration = 5 , hurtbox = pat:get_frame(302,0,10).hurtbox , collision = pat:get_frame(0,0,0).collision }) end function mods.curvy236(pat) for idx = 0 , 120 do pat:split_frame(801,0,0,1,1) end for idx = 0 , 121 do pat:update_frame(801,0,idx,function(frame) local idxa = 0 if (idx <= 10) then idxa = 0 elseif (idx < 30) then idxa = 0+(idx-10)/2 elseif (idx < 50) then idxa = 10+(idx-30)/4 elseif (idx < 70) then idxa = 15+(idx-50)/8 else end --frame.tex_index = 172 + idxa frame.duration = 1 frame.tex_offset_x = 64 frame.tex_offset_y = 64 --frame.scale_y = 200 +idx --frame.scale_x = 200 +idx --frame.scale_y = frame.scale_y*10 frame.attackbox[1].x1 = frame.attackbox[1].x1 - 10 frame.attackbox[1].x2 = frame.attackbox[1].x2 - 40 local spritey = 100/(frame.scale_y/10) local spritex = 100/frame.scale_x local baseSpd = -15*idx local idxa = idx local idxb = 0 local idxc = -.5*idx*idx if (idxa > 30) then end local ymod = 10*idxa local xmod = idxc if (idxc <= baseSpd/2) then xmod = baseSpd/2 + .2*idx*idx idxa = 30 idxb = idx-30 end ymod = 0*idxa frame.tex_offset_y = frame.tex_offset_y - (ymod)*spritey frame.attackbox[1].y1 = frame.attackbox[1].y1 + (ymod) frame.attackbox[1].y2 = frame.attackbox[1].y2 + (ymod) frame.tex_offset_x = frame.tex_offset_x - (xmod)*spritex frame.attackbox[1].x1 = frame.attackbox[1].x1 + (xmod) frame.attackbox[1].x2 = frame.attackbox[1].x2 + (xmod) frame.attackbox[2] = pat:get_frame(800,0,0).attackbox[1] frame.attackbox[2].x1 = frame.attackbox[1].x1 -20 frame.attackbox[2].x2 = frame.attackbox[1].x2 -20 frame.attackbox[2].y1 = frame.attackbox[1].y1 -5 frame.attackbox[2].y2 = frame.attackbox[1].y2 -5 frame.attackbox[3] = pat:get_frame(800,0,0).attackbox[1] frame.attackbox[3].x1 = frame.attackbox[1].x1 +20 frame.attackbox[3].x2 = frame.attackbox[1].x2 +20 frame.attackbox[3].y1 = frame.attackbox[1].y1 +12 frame.attackbox[3].y2 = frame.attackbox[1].y2 +12 end) end end function mods.b5b(pat) local baseX = 64 +8 local baseY = 183 +50 +4 pat:update_frame(400,0,0, { tex_index = 515 , tex_w = 67 , tex_h = 123 , tex_offset_x = baseX -4 , tex_offset_y = baseY -0 , duration = 3 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(400,0,1, { tex_index = 515 , tex_w = 67 , tex_h = 123 , tex_offset_x = baseX -4 , tex_offset_y = baseY -0 , duration = 3 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(400,0,2, { tex_index = 516 , tex_w = 63 , tex_h = 121 , tex_offset_x = baseX -20 , tex_offset_y = baseY +0 , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(400,0,2,function(frame) frame.hurtbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[1].x1 = frame.hurtbox[1].x1 + 10 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 + 10 frame.hurtbox[1].y2 = frame.hurtbox[1].y1 + 55 frame.hurtbox[2].y1 = frame.hurtbox[1].y2 - 5 end) pat:update_frame(400,0,3, { tex_index = 516 , tex_w = 63 , tex_h = 121 , tex_offset_x = baseX -20 , tex_offset_y = baseY +0 , duration = 2 , hurtbox = pat:get_frame(400,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(400,0,4, { tex_index = 517 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 2 , hurtbox = pat:get_frame(400,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(400,0,4,function(frame) frame.hurtbox[1].x1 = frame.hurtbox[1].x1 + 15 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 + 15 frame.hurtbox[3] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[3].y1 = -60 frame.hurtbox[3].x2 = frame.hurtbox[3].x2 + 30 frame.hurtbox[2].x1 = frame.hurtbox[2].x1 + 10 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 + 10 frame.hurtbox[4] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[4].y1 = frame.hurtbox[1].y1 + 55 frame.hurtbox[4].y2 = frame.hurtbox[4].y1 + 40 frame.hurtbox[4].x2 = frame.hurtbox[4].x2 + 60 end) pat:update_frame(400,0,5, { tex_index = 517 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 2 , hurtbox = pat:get_frame(400,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(400,0,6, { tex_index = 518 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 3 , hurtbox = pat:get_frame(400,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision })--shot pat:update_frame(400,0,7, { tex_index = 518 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 3 , hurtbox = pat:get_frame(400,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(400,0,8, { tex_index = 517 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 3+1 , hurtbox = pat:get_frame(400,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(400,0,9, { tex_index = 517 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 3 , hurtbox = pat:get_frame(400,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00200021 }) pat:update_frame(400,0,10, { tex_index = 518 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 3 , hurtbox = pat:get_frame(400,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(400,0,11, { tex_index = 518 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 3 , hurtbox = pat:get_frame(400,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(400,0,12, { tex_index = 517 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 3 , hurtbox = pat:get_frame(400,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(400,0,13, { tex_index = 517 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 3 , hurtbox = pat:get_frame(400,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(400,0,14, { tex_index = 518 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 10 , hurtbox = pat:get_frame(400,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(400,0,15, { tex_index = 519 , tex_w = 67 , tex_h = 122 , tex_offset_x = baseX -16 , tex_offset_y = baseY +4 , duration = 5 , hurtbox = pat:get_frame(400,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) --525 ~ 528 for upward --403 - 407 for upward air --2b --[[ pat:update_frame(402,0,0, { tex_index = 394 , tex_w = 117 , tex_h = 103 , tex_offset_x = baseX +100 , tex_offset_y = baseY -34 , duration = 4 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(402,0,1, { tex_index = 394 , tex_w = 117 , tex_h = 103 , tex_offset_x = baseX +100 , tex_offset_y = baseY -34 , duration = 4 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(402,0,2, { tex_index = 395 , tex_w = 117 , tex_h = 100 , tex_offset_x = baseX+100 , tex_offset_y = baseY -40 , duration = 4 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(402,0,3, { tex_index = 396 , tex_w = 124 , tex_h = 98 , tex_offset_x = baseX +88 , tex_offset_y = baseY -46 , duration = 4 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision })--shot pat:update_frame(402,0,4, { tex_index = 396 , tex_w = 124 , tex_h = 98 , tex_offset_x = baseX +88 , tex_offset_y = baseY -46 , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(402,0,5, { tex_index = 396 , tex_w = 124 , tex_h = 98 , tex_offset_x = baseX +88 , tex_offset_y = baseY -46 , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(402,0,6, { tex_index = 396 , tex_w = 124 , tex_h = 98 , tex_offset_x = baseX +88 , tex_offset_y = baseY -46 , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(402,0,7, { tex_index = 396 , tex_w = 124 , tex_h = 98 , tex_offset_x = baseX +88 , tex_offset_y = baseY -46 , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(402,0,8, { tex_index = 396 , tex_w = 124 , tex_h = 98 , tex_offset_x = baseX +88 , tex_offset_y = baseY -46 , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(402,0,9, { tex_index = 396 , tex_w = 124 , tex_h = 98 , tex_offset_x = baseX +88 , tex_offset_y = baseY -46 , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(402,0,10, { tex_index = 396 , tex_w = 124 , tex_h = 98 , tex_offset_x = baseX +88 , tex_offset_y = baseY -46 , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(402,0,11, { tex_index = 396 , tex_w = 124 , tex_h = 98 , tex_offset_x = baseX +88 , tex_offset_y = baseY -46 , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(402,0,12, { tex_index = 396 , tex_w = 124 , tex_h = 98 , tex_offset_x = baseX +88 , tex_offset_y = baseY -46 , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(402,0,13, { tex_index = 397 , tex_w = 95 , tex_h = 111 , tex_offset_x = baseX +48 , tex_offset_y = baseY -40 , duration = 5 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision })]]-- pat:update_frame(402,0,0, { tex_index = 398 , tex_w = 117 , tex_h = 103 , tex_offset_x = baseX +106 , tex_offset_y = baseY -34 , duration = 6 , hurtbox = pat:get_frame(2,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(402,0,0,function(frame) frame.hurtbox[1].y1 = frame.hurtbox[1].y1 - 15 frame.hurtbox[1].x1 = frame.hurtbox[1].x1 - 15 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 - 15 frame.hurtbox[2] = pat:get_frame(2,0,0).hurtbox[1] frame.hurtbox[2].x1 = frame.hurtbox[2].x1 - 40 frame.hurtbox[2].y1 = -65 end) pat:update_frame(402,0,1, { tex_index = 399 , tex_w = 116 , tex_h = 100 , tex_offset_x = baseX+106 , tex_offset_y = baseY -40 , duration = 3 , hurtbox = pat:get_frame(402,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(402,0,2, { tex_index = 400 , tex_w = 121 , tex_h = 98 , tex_offset_x = baseX +94 , tex_offset_y = baseY -46 , duration = 3 , hurtbox = pat:get_frame(402,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(402,0,2,function(frame) frame.hurtbox[1].x1 = frame.hurtbox[1].x1 + 20 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 + 20 frame.hurtbox[1].y2 = frame.hurtbox[1].y1 + 50 frame.hurtbox[3] = pat:get_frame(2,0,0).hurtbox[1] frame.hurtbox[4] = pat:get_frame(2,0,0).hurtbox[1] frame.hurtbox[4].y1 = frame.hurtbox[1].y1 + 45 frame.hurtbox[4].y2 = frame.hurtbox[4].y1 + 40 frame.hurtbox[4].x2 = frame.hurtbox[4].x2 + 50 frame.hurtbox[3].y1 = frame.hurtbox[3].y1 + 30 end) pat:update_frame(402,0,3, { tex_index = 401 , tex_w = 121 , tex_h = 98 , tex_offset_x = baseX +94 , tex_offset_y = baseY -46 , duration = 3 , hurtbox = pat:get_frame(402,0,2).hurtbox , collision = pat:get_frame(2,0,0).collision })--shot pat:update_frame(402,0,4, { tex_index = 401 , tex_w = 121 , tex_h = 98 , tex_offset_x = baseX +94 , tex_offset_y = baseY -46 , duration = 3 , hurtbox = pat:get_frame(402,0,2).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(402,0,5, { tex_index = 400 , tex_w = 121 , tex_h = 98 , tex_offset_x = baseX +94 , tex_offset_y = baseY -46 , duration = 3 , hurtbox = pat:get_frame(402,0,2).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(402,0,6, { tex_index = 400 , tex_w = 121 , tex_h = 98 , tex_offset_x = baseX +94 , tex_offset_y = baseY -46 , duration = 3 , hurtbox = pat:get_frame(402,0,2).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(402,0,7, { tex_index = 401 , tex_w = 121 , tex_h = 98 , tex_offset_x = baseX +94 , tex_offset_y = baseY -46 , duration = 3 , hurtbox = pat:get_frame(402,0,2).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(402,0,8, { tex_index = 401 , tex_w = 121 , tex_h = 98 , tex_offset_x = baseX +94 , tex_offset_y = baseY -46 , duration = 3 , hurtbox = pat:get_frame(402,0,2).hurtbox , collision = pat:get_frame(2,0,0).collision , fflags = 0x00200022 }) pat:update_frame(402,0,9, { tex_index = 400 , tex_w = 121 , tex_h = 98 , tex_offset_x = baseX +94 , tex_offset_y = baseY -46 , duration = 3 , hurtbox = pat:get_frame(402,0,2).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(402,0,10, { tex_index = 400 , tex_w = 121 , tex_h = 98 , tex_offset_x = baseX +94 , tex_offset_y = baseY -46 , duration = 3 , hurtbox = pat:get_frame(402,0,2).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(402,0,11, { tex_index = 401 , tex_w = 121 , tex_h = 98 , tex_offset_x = baseX +94 , tex_offset_y = baseY -46 , duration = 6 , hurtbox = pat:get_frame(402,0,2).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(402,0,12, { tex_index = 401 , tex_w = 121 , tex_h = 98 , tex_offset_x = baseX +94 , tex_offset_y = baseY -46 , duration = 10 , hurtbox = pat:get_frame(402,0,2).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(402,0,13, { tex_index = 402 , tex_w = 95 , tex_h = 111 , tex_offset_x = baseX +54 , tex_offset_y = baseY -40 , duration = 5 , hurtbox = pat:get_frame(402,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision }) --jb pat:update_frame(404,0,0, { tex_index = 520 , tex_w = 117 , tex_h = 114 , tex_offset_x = baseX +100 , tex_offset_y = baseY +12 , duration = 3 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(404,0,0,function(frame) for idx = 1 , 1 do frame.hurtbox[idx].x1 = frame.hurtbox[idx].x1 - 15 frame.hurtbox[idx].x2 = frame.hurtbox[idx].x2 - 10 end end) pat:update_frame(404,0,1, { tex_index = 520 , tex_w = 117 , tex_h = 114 , tex_offset_x = baseX +100 , tex_offset_y = baseY +12 , duration = 3 , hurtbox = pat:get_frame(404,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(404,0,2, { tex_index = 521 , tex_w = 116 , tex_h = 111 , tex_offset_x = baseX+102 , tex_offset_y = baseY +6 , duration = 2 , hurtbox = pat:get_frame(400,0,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(404,0,2,function(frame) for idx = 1 , 2 do frame.hurtbox[idx].x1 = frame.hurtbox[idx].x1 - 20 frame.hurtbox[idx].x2 = frame.hurtbox[idx].x2 - 20 frame.hurtbox[idx].y1 = frame.hurtbox[idx].y1 - 10 frame.hurtbox[idx].y2 = frame.hurtbox[idx].y2 - 10 end frame.hurtbox[2].y2 = frame.hurtbox[2].y2 - 40 frame.hurtbox[3] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[3].x1 = frame.hurtbox[2].x1 + 10 frame.hurtbox[3].x2 = frame.hurtbox[2].x2 + 25 frame.hurtbox[3].y2 = frame.hurtbox[2].y2 + 20 frame.hurtbox[3].y1 = frame.hurtbox[3].y2 - 40 end) pat:update_frame(404,0,3, { tex_index = 521 , tex_w = 116 , tex_h = 111 , tex_offset_x = baseX+102 , tex_offset_y = baseY +6 , duration = 2 , hurtbox = pat:get_frame(404,0,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(404,0,4, { tex_index = 522 , tex_w = 97 , tex_h = 113 , tex_offset_x = baseX +54 , tex_offset_y = baseY +8 , duration = 2 , hurtbox = pat:get_frame(400,0,4).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(404,0,4,function(frame) for idx = 1 , 4 do frame.hurtbox[idx].x1 = frame.hurtbox[idx].x1 - 30 frame.hurtbox[idx].x2 = frame.hurtbox[idx].x2 - 30 frame.hurtbox[idx].y1 = frame.hurtbox[idx].y1 - 10 frame.hurtbox[idx].y2 = frame.hurtbox[idx].y2 - 10 end frame.hurtbox[2].x1 = frame.hurtbox[2].x1 - 15 frame.hurtbox[4].x1 = frame.hurtbox[4].x1 - 10 frame.hurtbox[2].y2 = frame.hurtbox[2].y2 - 35 frame.hurtbox[3].y2 = frame.hurtbox[3].y2 - 20 frame.hurtbox[3].x1 = frame.hurtbox[3].x1 + 5 frame.hurtbox[3].x2 = frame.hurtbox[3].x2 + 0 frame.hurtbox[3].y1 = frame.hurtbox[3].y1 -10 end) pat:update_frame(404,0,5, { tex_index = 522 , tex_w = 97 , tex_h = 113 , tex_offset_x = baseX +54 , tex_offset_y = baseY +8 , duration = 2 , hurtbox = pat:get_frame(404,0,4).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(404,0,6, { tex_index = 523 , tex_w = 97 , tex_h = 113 , tex_offset_x = baseX +54 , tex_offset_y = baseY +8 , duration = 4 , hurtbox = pat:get_frame(404,0,4).hurtbox , collision = pat:get_frame(6,1,0).collision })--shot pat:update_frame(404,0,7, { tex_index = 523 , tex_w = 97 , tex_h = 113 , tex_offset_x = baseX +54 , tex_offset_y = baseY +8 , duration = 3 , hurtbox = pat:get_frame(404,0,4).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(404,0,8, { tex_index = 522 , tex_w = 97 , tex_h = 113 , tex_offset_x = baseX +54 , tex_offset_y = baseY +8 , duration = 3 , hurtbox = pat:get_frame(404,0,4).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(404,0,9, { tex_index = 522 , tex_w = 97 , tex_h = 113 , tex_offset_x = baseX +54 , tex_offset_y = baseY +8 , duration = 3 , hurtbox = pat:get_frame(404,0,4).hurtbox , collision = pat:get_frame(6,1,0).collision})-- , fflags = 0x00200024 }) pat:update_frame(404,0,10, { tex_index = 523 , tex_w = 97 , tex_h = 113 , tex_offset_x = baseX +54 , tex_offset_y = baseY +8 , duration = 3 , hurtbox = pat:get_frame(404,0,4).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(404,0,11, { tex_index = 523 , tex_w = 97 , tex_h = 113 , tex_offset_x = baseX +54 , tex_offset_y = baseY +8 , duration = 3 , hurtbox = pat:get_frame(404,0,4).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(404,0,12, { tex_index = 522 , tex_w = 97 , tex_h = 113 , tex_offset_x = baseX +54 , tex_offset_y = baseY +8 , duration = 3 , hurtbox = pat:get_frame(404,0,4).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(404,0,13, { tex_index = 522 , tex_w = 97 , tex_h = 113 , tex_offset_x = baseX +54 , tex_offset_y = baseY +8 , duration = 3 , hurtbox = pat:get_frame(404,0,4).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(404,0,14, { tex_index = 523 , tex_w = 97 , tex_h = 113 , tex_offset_x = baseX +54 , tex_offset_y = baseY +8 , duration = 10 , hurtbox = pat:get_frame(404,0,4).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(404,0,15, { tex_index = 524 , tex_w = 95 , tex_h = 112 , tex_offset_x = baseX +54 , tex_offset_y = baseY +4 , duration = 5 , hurtbox = pat:get_frame(404,0,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(404,0,16, { tex_index = 318 , tex_w = 100 , tex_h = 121 , tex_offset_x = baseX +46 , tex_offset_y = baseY +20 +0 , duration = 4 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(404,0,17, { tex_index = 321 , tex_w = 96 , tex_h = 126 , tex_offset_x = baseX +46 , tex_offset_y = baseY +16 , duration = 4 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(404,2,0, { tex_index = 237 , tex_w = 81 , tex_h = 118 , tex_offset_x = baseX +30 , tex_offset_y = baseY -12 , duration = 6 , hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(404,2,1, { tex_index = 236 , tex_w = 94 , tex_h = 118 , tex_offset_x = baseX +68 , tex_offset_y = baseY -6 , duration = 5 , hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:get_sequence(800,6):set_priority(10,0) for idx = 0 , 3 do pat:update_frame(800,6,idx,function(frame) frame.tex_index = 202 frame.tex_w = 128 frame.tex_h = 128 frame.tex_offset_x = 64 frame.tex_offset_y = 64 frame.scale_x = 210 + idx*30 frame.scale_y = 300 frame.blending_mode = 1 frame.attackbox[1].x1 = -100 frame.attackbox[1].x2 = 100 frame.attackbox[1].y1 = -15 frame.attackbox[1].y2 = 15 set_fflag(frame,FF_AFTER_IMAGE) set_fflag(frame,FF_LOOP_ANIMATION) frame.blockstop_self = 8 frame.hitstop_self = 4 frame.hit_effect = 6 frame.hit_sfx = 7 frame.untech = 35 frame.launch_vector_x = 500 frame.launch_vector_y = 1500 frame.hit_ani_air = 71 frame.attack_level = AL_HEAVY frame.limit = 15 frame.damage = 350 frame.sp_damage = 100 frame.proration = 970 frame.hitstop_enemy = 10 frame.blockstop_enemy = 0 frame.duration = 1 if (idx == 3) then frame.duration = 200 end end) end for idx = 7 , 8 do pat:add_particle_info(800,idx,0) pat:update_frame(800,idx,0,function(frame) frame.tex_index = 202 frame.tex_w = 128 frame.tex_h = 128 frame.tex_offset_x = 64 frame.tex_offset_y = 64 frame.scale_x = 40 + (idx-7)*20 frame.scale_y = 100 + (idx-7)*20 frame.blending_mode = 1 end) end end function mods.b6b(pat) local baseX = 64 +8 local baseY = 183 +50 +4 local baseY2 = 4 --pat:update_frame(401,0,0, { tex_index = 37 , tex_w = 94 , tex_h = 118 , tex_offset_x = baseX +68 , tex_offset_y = baseY -8 , duration = 3 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) --pat:update_frame(401,0,3, { tex_index = 238 , tex_w = 98 , tex_h = 114 , tex_offset_x = baseX +56 , tex_offset_y = baseY -8 -4 , duration = 4 , hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(401,0,0, { tex_index = 236 , tex_w = 94 , tex_h = 118 , tex_offset_x = baseX +68-12 +0 , tex_offset_y = baseY -6 , duration = 4 , hurtbox = pat:get_frame(200,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(401,0,0,function(frame) for idx = 1 , 3 do frame.hurtbox[idx].x1 = frame.hurtbox[idx].x1 + 12 frame.hurtbox[idx].x2 = frame.hurtbox[idx].x2 + 12 end end) pat:update_frame(401,0,1, { tex_index = 238 , tex_w = 98 , tex_h = 114 , tex_offset_x = baseX +56 +0 , tex_offset_y = baseY -8 -4 , duration = 4 , hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(401,0,2, { tex_index = 36 , tex_w = 103 , tex_h = 115 , tex_offset_x = baseX +78 +0 , tex_offset_y = baseY -12 , duration = 6 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(401,0,2,function(frame) frame.hurtbox[1].x1 = frame.hurtbox[1].x1 - 20 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 - 20 frame.hurtbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[2].x1 = frame.hurtbox[2].x1 - 15 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 - 20 frame.hurtbox[3] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[1].y1 = frame.hurtbox[1].y1 + 10 frame.hurtbox[1].y2 = frame.hurtbox[1].y1 + 55 frame.hurtbox[2].y1 = frame.hurtbox[1].y2 - 5 frame.hurtbox[2].y2 = frame.hurtbox[2].y1 + 55 frame.hurtbox[3].y1 = frame.hurtbox[2].y2 - 5 frame.hurtbox[3].x1 = frame.hurtbox[2].x1 - 20 end) pat:update_frame(401,0,3, { tex_index = 36 , tex_w = 103 , tex_h = 115 , tex_offset_x = baseX +78 +0 , tex_offset_y = baseY -12 , duration = 3 , hurtbox = pat:get_frame(401,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(401,0,4, { tex_index = 36 , tex_w = 103 , tex_h = 115 , tex_offset_x = baseX +78 +0 , tex_offset_y = baseY -12 , duration = 3 , hurtbox = pat:get_frame(401,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(401,0,5, { tex_index = 102 , tex_w = 115 , tex_h = 121 , tex_offset_x = baseX +66 , tex_offset_y = baseY +0 , duration = 2 , hurtbox = pat:get_frame(401,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(401,0,6, { tex_index = 103 , tex_w = 149 , tex_h = 118 , tex_offset_x = baseX +74 , tex_offset_y = baseY -6 , duration = 3 , hurtbox = pat:get_frame(401,0,5).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(401,0,6,function(frame) frame.hurtbox[4] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[4].x1 = frame.hurtbox[1].x1 + 10 frame.hurtbox[4].x2 = frame.hurtbox[1].x2 + 30 frame.hurtbox[4].y1 = frame.hurtbox[2].y1 - 45 frame.hurtbox[4].y2 = frame.hurtbox[4].y1 + 40 end) pat:update_frame(401,0,7, { tex_index = 104 , tex_w = 131 , tex_h = 117 , tex_offset_x = baseX +26 , tex_offset_y = baseY -8 , duration = 3 , hurtbox = pat:get_frame(401,0,6).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000021 }) pat:update_frame(401,0,8, { tex_index = 104 , tex_w = 131 , tex_h = 117 , tex_offset_x = baseX +26 , tex_offset_y = baseY -8 , duration = 3 , hurtbox = pat:get_frame(401,0,6).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000021 }) pat:update_frame(401,0,9, { tex_index = 104 , tex_w = 131 , tex_h = 117 , tex_offset_x = baseX +26 , tex_offset_y = baseY -8 , duration = 3 , hurtbox = pat:get_frame(401,0,6).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000021 }) pat:update_frame(401,0,10, { tex_index = 104 , tex_w = 131 , tex_h = 117 , tex_offset_x = baseX +26 , tex_offset_y = baseY -8 , duration = 13-6 , hurtbox = pat:get_frame(401,0,6).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000021 }) pat:update_frame(401,0,11, { tex_index = 104 , tex_w = 131 , tex_h = 117 , tex_offset_x = baseX +26 , tex_offset_y = baseY -8 , duration = 3+6 , hurtbox = pat:get_frame(401,0,6).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(401,0,12, { tex_index = 104 , tex_w = 131 , tex_h = 117 , tex_offset_x = baseX +26 , tex_offset_y = baseY -8 , duration = 2 , hurtbox = pat:get_frame(401,0,6).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(401,0,13, { tex_index = 104 , tex_w = 131 , tex_h = 117 , tex_offset_x = baseX +26 , tex_offset_y = baseY -8 , duration = 2 , hurtbox = pat:get_frame(401,0,6).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(401,0,14, { tex_index = 104 , tex_w = 131 , tex_h = 117 , tex_offset_x = baseX +26 , tex_offset_y = baseY -8 , duration = 2 , hurtbox = pat:get_frame(401,0,6).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(401,0,15, { tex_index = 104 , tex_w = 131 , tex_h = 117 , tex_offset_x = baseX +26 , tex_offset_y = baseY -8 , duration = 2 , hurtbox = pat:get_frame(401,0,6).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(401,0,16, { tex_index = 104 , tex_w = 131 , tex_h = 117 , tex_offset_x = baseX +26 , tex_offset_y = baseY -8 , duration = 2 , hurtbox = pat:get_frame(401,0,6).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(401,0,17, { tex_index = 105 , tex_w = 86 , tex_h = 118 , tex_offset_x = baseX +20 , tex_offset_y = baseY -6 , duration = 5 , hurtbox = pat:get_frame(401,0,6).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(401,1,0, { tex_index = 36 , tex_w = 103 , tex_h = 115 , tex_offset_x = baseX +78 +0 , tex_offset_y = baseY -12 , duration = 20 , hurtbox = pat:get_frame(401,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(401,1,1, { tex_index = 36 , tex_w = 103 , tex_h = 115 , tex_offset_x = baseX +78 +0 , tex_offset_y = baseY -12 , duration = 3 , hurtbox = pat:get_frame(401,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(401,1,2, { tex_index = 36 , tex_w = 103 , tex_h = 115 , tex_offset_x = baseX +78 +0 , tex_offset_y = baseY -12 , duration = 3 , hurtbox = pat:get_frame(401,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(401,1,3, { tex_index = 102 , tex_w = 115 , tex_h = 121 , tex_offset_x = baseX +66 , tex_offset_y = baseY +0 , duration = 2 , hurtbox = pat:get_frame(401,0,5).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(401,1,4, { tex_index = 103 , tex_w = 149 , tex_h = 118 , tex_offset_x = baseX +74 , tex_offset_y = baseY -6 , duration = 3 , hurtbox = pat:get_frame(401,0,6).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(401,1,5, { tex_index = 104 , tex_w = 131 , tex_h = 117 , tex_offset_x = baseX +26 , tex_offset_y = baseY -8 , duration = 3 , hurtbox = pat:get_frame(401,0,6).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000021 }) pat:update_frame(401,1,6, { tex_index = 104 , tex_w = 131 , tex_h = 117 , tex_offset_x = baseX +26 , tex_offset_y = baseY -8 , duration = 3 , hurtbox = pat:get_frame(401,0,6).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000021 }) pat:update_frame(401,1,7, { tex_index = 104 , tex_w = 131 , tex_h = 117 , tex_offset_x = baseX +26 , tex_offset_y = baseY -8 , duration = 3 , hurtbox = pat:get_frame(401,0,6).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000021 }) pat:update_frame(401,1,8, { tex_index = 104 , tex_w = 131 , tex_h = 117 , tex_offset_x = baseX +26 , tex_offset_y = baseY -8 , duration = 13-6 , hurtbox = pat:get_frame(401,0,6).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000021 }) pat:update_frame(401,1,9, { tex_index = 104 , tex_w = 131 , tex_h = 117 , tex_offset_x = baseX +26 , tex_offset_y = baseY -8 , duration = 3+6 , hurtbox = pat:get_frame(401,0,6).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(401,1,10, { tex_index = 104 , tex_w = 131 , tex_h = 117 , tex_offset_x = baseX +26 , tex_offset_y = baseY -8 , duration = 2 , hurtbox = pat:get_frame(401,0,6).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(401,1,11, { tex_index = 104 , tex_w = 131 , tex_h = 117 , tex_offset_x = baseX +26 , tex_offset_y = baseY -8 , duration = 2 , hurtbox = pat:get_frame(401,0,6).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(401,1,12, { tex_index = 104 , tex_w = 131 , tex_h = 117 , tex_offset_x = baseX +26 , tex_offset_y = baseY -8 , duration = 2 , hurtbox = pat:get_frame(401,0,6).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(401,1,13, { tex_index = 104 , tex_w = 131 , tex_h = 117 , tex_offset_x = baseX +26 , tex_offset_y = baseY -8 , duration = 2 , hurtbox = pat:get_frame(401,0,6).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(401,1,14, { tex_index = 104 , tex_w = 131 , tex_h = 117 , tex_offset_x = baseX +26 , tex_offset_y = baseY -8 , duration = 2 , hurtbox = pat:get_frame(401,0,6).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(401,1,15, { tex_index = 105 , tex_w = 86 , tex_h = 118 , tex_offset_x = baseX +20 , tex_offset_y = baseY -6 , duration = 5 , hurtbox = pat:get_frame(401,0,6).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(405,0,0, { tex_index = 236 , tex_w = 94 , tex_h = 118 , tex_offset_x = baseX +68-12 +0 , tex_offset_y = baseY -6 , duration = 4 , hurtbox = pat:get_frame(202,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(405,0,0,function(frame) for idx = 1 , 4 do frame.hurtbox[idx].x1 = frame.hurtbox[idx].x1 + 10 frame.hurtbox[idx].x2 = frame.hurtbox[idx].x2 + 10 frame.hurtbox[idx].y1 = frame.hurtbox[idx].y1 + 10 frame.hurtbox[idx].y2 = frame.hurtbox[idx].y2 + 10 end end) pat:update_frame(405,0,1, { tex_index = 238 , tex_w = 98 , tex_h = 114 , tex_offset_x = baseX +56 +0 , tex_offset_y = baseY -8 -4 , duration = 4 , hurtbox = pat:get_frame(202,0,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(405,0,1,function(frame) for idx = 1 , 4 do frame.hurtbox[idx].x1 = frame.hurtbox[idx].x1 + 10 frame.hurtbox[idx].x2 = frame.hurtbox[idx].x2 + 10 frame.hurtbox[idx].y1 = frame.hurtbox[idx].y1 + 10 frame.hurtbox[idx].y2 = frame.hurtbox[idx].y2 + 10 end end) pat:update_frame(405,0,2, { tex_index = 36 , tex_w = 103 , tex_h = 115 , tex_offset_x = baseX +78 +0 , tex_offset_y = baseY -12 +baseY2 , duration = 6 , hurtbox = pat:get_frame(401,0,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(405,0,2,function(frame) for idx = 1 , 3 do frame.hurtbox[idx].y1 = frame.hurtbox[idx].y1 - 4 frame.hurtbox[idx].y2 = frame.hurtbox[idx].y2 - 4 end frame.hurtbox[3].y2 = frame.hurtbox[3].y2 - 10 end) pat:update_frame(405,0,3, { tex_index = 36 , tex_w = 103 , tex_h = 115 , tex_offset_x = baseX +78 +0 , tex_offset_y = baseY -12 +baseY2 , duration = 3 , hurtbox = pat:get_frame(405,0,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(405,0,4, { tex_index = 36 , tex_w = 103 , tex_h = 115 , tex_offset_x = baseX +78 +0 , tex_offset_y = baseY -12 +baseY2 , duration = 3 , hurtbox = pat:get_frame(405,0,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(405,0,5, { tex_index = 102 , tex_w = 115 , tex_h = 121 , tex_offset_x = baseX +66 , tex_offset_y = baseY +0 +baseY2 , duration = 2 , hurtbox = pat:get_frame(405,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(405,0,6, { tex_index = 103 , tex_w = 149 , tex_h = 118 , tex_offset_x = baseX +74 , tex_offset_y = baseY -6 +baseY2 , duration = 3 , hurtbox = pat:get_frame(401,0,6).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(405,0,6,function(frame) for idx = 1 , 4 do frame.hurtbox[idx].y1 = frame.hurtbox[idx].y1 - 4 frame.hurtbox[idx].y2 = frame.hurtbox[idx].y2 - 4 end frame.hurtbox[1].y2 = frame.hurtbox[1].y2 - 10 frame.hurtbox[2].y2 = frame.hurtbox[2].y2 - 10 frame.hurtbox[3].y2 = frame.hurtbox[3].y2 - 10 end) pat:update_frame(405,0,7, { tex_index = 104 , tex_w = 131 , tex_h = 117 , tex_offset_x = baseX +26 , tex_offset_y = baseY -8 +baseY2 , duration = 3 , hurtbox = pat:get_frame(405,0,6).hurtbox , collision = pat:get_frame(6,1,0).collision , fflags = 0x00000024 }) pat:update_frame(405,0,8, { tex_index = 104 , tex_w = 131 , tex_h = 117 , tex_offset_x = baseX +26 , tex_offset_y = baseY -8 +baseY2 , duration = 3 , hurtbox = pat:get_frame(405,0,6).hurtbox , collision = pat:get_frame(6,1,0).collision , fflags = 0x00000024 }) pat:update_frame(405,0,9, { tex_index = 104 , tex_w = 131 , tex_h = 117 , tex_offset_x = baseX +26 , tex_offset_y = baseY -8 +baseY2 , duration = 3 , hurtbox = pat:get_frame(405,0,6).hurtbox , collision = pat:get_frame(6,1,0).collision , fflags = 0x00000024 }) pat:update_frame(405,0,10, { tex_index = 104 , tex_w = 131 , tex_h = 117 , tex_offset_x = baseX +26 , tex_offset_y = baseY -8 +baseY2 , duration = 3 , hurtbox = pat:get_frame(405,0,6).hurtbox , collision = pat:get_frame(6,1,0).collision , fflags = 0x00000024 }) pat:update_frame(405,0,11, { tex_index = 104 , tex_w = 131 , tex_h = 117 , tex_offset_x = baseX +26 , tex_offset_y = baseY -8 +baseY2 , duration = 13-6 , hurtbox = pat:get_frame(405,0,6).hurtbox , collision = pat:get_frame(6,1,0).collision , fflags = 0x00000024 }) pat:update_frame(405,0,12, { tex_index = 104 , tex_w = 131 , tex_h = 117 , tex_offset_x = baseX +26 , tex_offset_y = baseY -8 +baseY2 , duration = 2+6 , hurtbox = pat:get_frame(405,0,6).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(405,0,13, { tex_index = 104 , tex_w = 131 , tex_h = 117 , tex_offset_x = baseX +26 , tex_offset_y = baseY -8 +baseY2 , duration = 2 , hurtbox = pat:get_frame(405,0,6).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(405,0,14, { tex_index = 104 , tex_w = 131 , tex_h = 117 , tex_offset_x = baseX +26 , tex_offset_y = baseY -8 +baseY2 , duration = 2 , hurtbox = pat:get_frame(405,0,6).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(405,0,15, { tex_index = 104 , tex_w = 131 , tex_h = 117 , tex_offset_x = baseX +26 , tex_offset_y = baseY -8 +baseY2 , duration = 2 , hurtbox = pat:get_frame(405,0,6).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(405,0,16, { tex_index = 104 , tex_w = 131 , tex_h = 117 , tex_offset_x = baseX +26 , tex_offset_y = baseY -8 +baseY2 , duration = 2 , hurtbox = pat:get_frame(405,0,6).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(405,0,17, { tex_index = 105 , tex_w = 86 , tex_h = 118 , tex_offset_x = baseX +20 , tex_offset_y = baseY -6 +baseY2 , duration = 5 , hurtbox = pat:get_frame(405,0,6).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(405,0,18, { tex_index = 318 , tex_w = 100 , tex_h = 121 , tex_offset_x = baseX +46 , tex_offset_y = baseY +20 +0 , duration = 4 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(405,0,19, { tex_index = 321 , tex_w = 96 , tex_h = 126 , tex_offset_x = baseX +46 , tex_offset_y = baseY +16 , duration = 4 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(405,1,0, { tex_index = 36 , tex_w = 103 , tex_h = 115 , tex_offset_x = baseX +78 +0 , tex_offset_y = baseY -12 +baseY2 , duration = 20 , hurtbox = pat:get_frame(405,0,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(405,1,1, { tex_index = 36 , tex_w = 103 , tex_h = 115 , tex_offset_x = baseX +78 +0 , tex_offset_y = baseY -12 +baseY2 , duration = 3 , hurtbox = pat:get_frame(405,0,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(405,1,2, { tex_index = 36 , tex_w = 103 , tex_h = 115 , tex_offset_x = baseX +78 +0 , tex_offset_y = baseY -12 +baseY2 , duration = 3 , hurtbox = pat:get_frame(405,0,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(405,1,3, { tex_index = 102 , tex_w = 115 , tex_h = 121 , tex_offset_x = baseX +66 , tex_offset_y = baseY +0 +baseY2 , duration = 2 , hurtbox = pat:get_frame(405,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(405,1,4, { tex_index = 103 , tex_w = 149 , tex_h = 118 , tex_offset_x = baseX +74 , tex_offset_y = baseY -6 +baseY2 , duration = 3 , hurtbox = pat:get_frame(405,0,6).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(405,1,5, { tex_index = 104 , tex_w = 131 , tex_h = 117 , tex_offset_x = baseX +26 , tex_offset_y = baseY -8 +baseY2 , duration = 3 , hurtbox = pat:get_frame(405,0,6).hurtbox , collision = pat:get_frame(6,1,0).collision , fflags = 0x00000024 }) pat:update_frame(405,1,6, { tex_index = 104 , tex_w = 131 , tex_h = 117 , tex_offset_x = baseX +26 , tex_offset_y = baseY -8 +baseY2 , duration = 3 , hurtbox = pat:get_frame(405,0,6).hurtbox , collision = pat:get_frame(6,1,0).collision , fflags = 0x00000024 }) pat:update_frame(405,1,7, { tex_index = 104 , tex_w = 131 , tex_h = 117 , tex_offset_x = baseX +26 , tex_offset_y = baseY -8 +baseY2 , duration = 3 , hurtbox = pat:get_frame(405,0,6).hurtbox , collision = pat:get_frame(6,1,0).collision , fflags = 0x00000024 }) pat:update_frame(405,1,8, { tex_index = 104 , tex_w = 131 , tex_h = 117 , tex_offset_x = baseX +26 , tex_offset_y = baseY -8 +baseY2 , duration = 3 , hurtbox = pat:get_frame(405,0,6).hurtbox , collision = pat:get_frame(6,1,0).collision , fflags = 0x00000024 }) pat:update_frame(405,1,9, { tex_index = 104 , tex_w = 131 , tex_h = 117 , tex_offset_x = baseX +26 , tex_offset_y = baseY -8 +baseY2 , duration = 13-6 , hurtbox = pat:get_frame(405,0,6).hurtbox , collision = pat:get_frame(6,1,0).collision , fflags = 0x00000024 }) pat:update_frame(405,1,10, { tex_index = 104 , tex_w = 131 , tex_h = 117 , tex_offset_x = baseX +26 , tex_offset_y = baseY -8 +baseY2 , duration = 2+6 , hurtbox = pat:get_frame(405,0,6).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(405,1,11, { tex_index = 104 , tex_w = 131 , tex_h = 117 , tex_offset_x = baseX +26 , tex_offset_y = baseY -8 +baseY2 , duration = 2 , hurtbox = pat:get_frame(405,0,6).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(405,1,12, { tex_index = 104 , tex_w = 131 , tex_h = 117 , tex_offset_x = baseX +26 , tex_offset_y = baseY -8 +baseY2 , duration = 2 , hurtbox = pat:get_frame(405,0,6).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(405,1,13, { tex_index = 104 , tex_w = 131 , tex_h = 117 , tex_offset_x = baseX +26 , tex_offset_y = baseY -8 +baseY2 , duration = 2 , hurtbox = pat:get_frame(405,0,6).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(405,1,14, { tex_index = 104 , tex_w = 131 , tex_h = 117 , tex_offset_x = baseX +26 , tex_offset_y = baseY -8 +baseY2 , duration = 2 , hurtbox = pat:get_frame(405,0,6).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(405,1,15, { tex_index = 105 , tex_w = 86 , tex_h = 118 , tex_offset_x = baseX +20 , tex_offset_y = baseY -6 +baseY2 , duration = 5 , hurtbox = pat:get_frame(405,0,6).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(405,1,16, { tex_index = 318 , tex_w = 100 , tex_h = 121 , tex_offset_x = baseX +46 , tex_offset_y = baseY +20 +0 , duration = 4 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(405,1,17, { tex_index = 321 , tex_w = 96 , tex_h = 126 , tex_offset_x = baseX +46 , tex_offset_y = baseY +16 , duration = 4 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(405,2,0, { tex_index = 237 , tex_w = 81 , tex_h = 118 , tex_offset_x = baseX +30 , tex_offset_y = baseY -12 , duration = 6 , hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(405,2,1, { tex_index = 236 , tex_w = 94 , tex_h = 118 , tex_offset_x = baseX +68 , tex_offset_y = baseY -6 , duration = 5 , hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:add_particle_info(800,4,0) pat:add_particle_info(800,4,1) pat:add_particle_info(800,4,2) pat:add_particle_info(800,5,0) pat:add_particle_info(800,5,1) pat:add_particle_info(800,5,2) pat:get_sequence(800,4):set_priority(20,0) pat:get_sequence(800,5):set_priority(20,0) for idy = 4 , 5 do for idx = 3 , 9 do pat:split_frame(800,idy,2,1,1) end end for idy = 4 , 5 do for idx = 0 , 9 do pat:update_frame(800,idy,idx,function(frame) frame.tex_index = 369 + idx frame.tex_w = 128 frame.tex_h = 128 frame.tex_offset_x = 96 frame.tex_offset_y = 64 if (idy==5) then frame.attackbox = pat:get_frame(0,0,0).attackbox end frame.scale_x = 400 frame.scale_y = 100 frame.blending_mode = 1 frame.sp_damage = frame.sp_damage*2 frame.duration = 2 frame.hitstop_enemy = 10 frame.blockstop_enemy = 10 frame.limit = 15 frame.damage = 400 frame.hit_ani_air = 74 frame.hit_ani_ground = 74 frame.launch_vector_x = 3500 frame.launch_vector_y = 1500 frame.combo_correction = CC_SMASH_ATTACK frame.hit_sfx = 9 frame.untech = 60 end) end end end function mods.b5c(pat) local baseX = 64 +8 local baseY = 183 +50 +4 --pat:get_sequence(410,1):set_looped(false) --pat:get_sequence(414,1):set_looped(false) pat:update_frame(410,0,0, { tex_index = 515 , tex_w = 67 , tex_h = 123 , tex_offset_x = baseX -4 , tex_offset_y = baseY -0 , duration = 2 , hurtbox = pat:get_frame(400,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(410,0,1, { tex_index = 515 , tex_w = 67 , tex_h = 123 , tex_offset_x = baseX -4 , tex_offset_y = baseY -0 , duration = 2 , hurtbox = pat:get_frame(400,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(410,0,2, { tex_index = 515 , tex_w = 67 , tex_h = 123 , tex_offset_x = baseX -4 , tex_offset_y = baseY -0 , duration = 2 , hurtbox = pat:get_frame(400,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(410,0,3, { tex_index = 515 , tex_w = 67 , tex_h = 123 , tex_offset_x = baseX -4 , tex_offset_y = baseY -0 , duration = 2 , hurtbox = pat:get_frame(400,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(410,0,4, { tex_index = 515 , tex_w = 67 , tex_h = 123 , tex_offset_x = baseX -4 , tex_offset_y = baseY -0 , duration = 2 , hurtbox = pat:get_frame(400,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(410,0,5, { tex_index = 516 , tex_w = 63 , tex_h = 121 , tex_offset_x = baseX -20 , tex_offset_y = baseY +0 , duration = 2 , hurtbox = pat:get_frame(400,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(410,0,6, { tex_index = 516 , tex_w = 63 , tex_h = 121 , tex_offset_x = baseX -20 , tex_offset_y = baseY +0 , duration = 2 , hurtbox = pat:get_frame(400,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(410,0,7, { tex_index = 517 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 2 , hurtbox = pat:get_frame(400,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(410,0,8, { tex_index = 517 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 2 , hurtbox = pat:get_frame(400,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(410,0,9, { tex_index = 518 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 2 , hurtbox = pat:get_frame(400,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision })--shot pat:update_frame(410,1,0, { tex_index = 518 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 6 , hurtbox = pat:get_frame(400,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(410,1,1, { tex_index = 517 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 6 , hurtbox = pat:get_frame(400,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00200021 }) pat:update_frame(410,2,0, { tex_index = 518 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 6 , hurtbox = pat:get_frame(400,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(410,2,1, { tex_index = 517 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 6 , hurtbox = pat:get_frame(400,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(410,3,0, { tex_index = 518 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 6 , hurtbox = pat:get_frame(400,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(410,3,1, { tex_index = 517 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 16 , hurtbox = pat:get_frame(400,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(410,3,2, { tex_index = 519 , tex_w = 67 , tex_h = 122 , tex_offset_x = baseX -16 , tex_offset_y = baseY +4 , duration = 5 , hurtbox = pat:get_frame(400,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(414,0,0, { tex_index = 520 , tex_w = 117 , tex_h = 114 , tex_offset_x = baseX +100 , tex_offset_y = baseY +12 , duration = 2 , hurtbox = pat:get_frame(404,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(414,0,1, { tex_index = 520 , tex_w = 117 , tex_h = 114 , tex_offset_x = baseX +100 , tex_offset_y = baseY +12 , duration = 2 , hurtbox = pat:get_frame(404,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(414,0,2, { tex_index = 520 , tex_w = 117 , tex_h = 114 , tex_offset_x = baseX +100 , tex_offset_y = baseY +12 , duration = 2 , hurtbox = pat:get_frame(404,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(414,0,3, { tex_index = 520 , tex_w = 117 , tex_h = 114 , tex_offset_x = baseX +100 , tex_offset_y = baseY +12 , duration = 2 , hurtbox = pat:get_frame(404,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(414,0,4, { tex_index = 520 , tex_w = 117 , tex_h = 114 , tex_offset_x = baseX +100 , tex_offset_y = baseY +12 , duration = 2 , hurtbox = pat:get_frame(404,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(414,0,5, { tex_index = 521 , tex_w = 116 , tex_h = 111 , tex_offset_x = baseX+102 , tex_offset_y = baseY +6 , duration = 2 , hurtbox = pat:get_frame(404,0,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(414,0,6, { tex_index = 521 , tex_w = 116 , tex_h = 111 , tex_offset_x = baseX+102 , tex_offset_y = baseY +6 , duration = 2 , hurtbox = pat:get_frame(404,0,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(414,0,7, { tex_index = 522 , tex_w = 97 , tex_h = 113 , tex_offset_x = baseX +54 , tex_offset_y = baseY +8 , duration = 2 , hurtbox = pat:get_frame(404,0,4).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(414,0,8, { tex_index = 522 , tex_w = 97 , tex_h = 113 , tex_offset_x = baseX +54 , tex_offset_y = baseY +8 , duration = 2 , hurtbox = pat:get_frame(404,0,4).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(414,0,9, { tex_index = 523 , tex_w = 97 , tex_h = 113 , tex_offset_x = baseX +54 , tex_offset_y = baseY +8 , duration = 2 , hurtbox = pat:get_frame(404,0,4).hurtbox , collision = pat:get_frame(6,1,0).collision })--shot pat:update_frame(414,1,0, { tex_index = 523 , tex_w = 97 , tex_h = 113 , tex_offset_x = baseX +54 , tex_offset_y = baseY +8 , duration = 6 , hurtbox = pat:get_frame(404,0,4).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(414,1,1, { tex_index = 522 , tex_w = 97 , tex_h = 113 , tex_offset_x = baseX +54 , tex_offset_y = baseY +8 , duration = 6 , hurtbox = pat:get_frame(404,0,4).hurtbox , collision = pat:get_frame(6,1,0).collision , fflags = 0x00200024 }) pat:update_frame(414,2,0, { tex_index = 523 , tex_w = 97 , tex_h = 113 , tex_offset_x = baseX +54 , tex_offset_y = baseY +8 , duration = 6 , hurtbox = pat:get_frame(404,0,4).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(414,2,1, { tex_index = 522 , tex_w = 97 , tex_h = 113 , tex_offset_x = baseX +54 , tex_offset_y = baseY +8 , duration = 6 , hurtbox = pat:get_frame(404,0,4).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(414,3,0, { tex_index = 523 , tex_w = 97 , tex_h = 113 , tex_offset_x = baseX +54 , tex_offset_y = baseY +8 , duration = 16 , hurtbox = pat:get_frame(404,0,4).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(414,3,1, { tex_index = 524 , tex_w = 95 , tex_h = 112 , tex_offset_x = baseX +54 , tex_offset_y = baseY +4 , duration = 5 , hurtbox = pat:get_frame(404,0,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(414,3,2, { tex_index = 318 , tex_w = 100 , tex_h = 121 , tex_offset_x = baseX +46 , tex_offset_y = baseY +20 +0 , duration = 4 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(414,3,3, { tex_index = 321 , tex_w = 96 , tex_h = 126 , tex_offset_x = baseX +46 , tex_offset_y = baseY +16 , duration = 4 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(414,4,0, { tex_index = 237 , tex_w = 81 , tex_h = 118 , tex_offset_x = baseX +30 , tex_offset_y = baseY -12 , duration = 6 , hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(414,4,1, { tex_index = 236 , tex_w = 94 , tex_h = 118 , tex_offset_x = baseX +68 , tex_offset_y = baseY -6 , duration = 5 , hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(411,0,0, { tex_index = 515 , tex_w = 67 , tex_h = 123 , tex_offset_x = baseX -4 , tex_offset_y = baseY -0 , duration = 2 , hurtbox = pat:get_frame(400,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(411,0,1, { tex_index = 515 , tex_w = 67 , tex_h = 123 , tex_offset_x = baseX -4 , tex_offset_y = baseY -0 , duration = 2 , hurtbox = pat:get_frame(400,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(411,0,2, { tex_index = 515 , tex_w = 67 , tex_h = 123 , tex_offset_x = baseX -4 , tex_offset_y = baseY -0 , duration = 2 , hurtbox = pat:get_frame(400,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(411,0,3, { tex_index = 515 , tex_w = 67 , tex_h = 123 , tex_offset_x = baseX -4 , tex_offset_y = baseY -0 , duration = 2 , hurtbox = pat:get_frame(400,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(411,0,4, { tex_index = 515 , tex_w = 67 , tex_h = 123 , tex_offset_x = baseX -4 , tex_offset_y = baseY -0 , duration = 2 , hurtbox = pat:get_frame(400,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(411,0,5, { tex_index = 516 , tex_w = 63 , tex_h = 121 , tex_offset_x = baseX -20 , tex_offset_y = baseY +0 , duration = 2 , hurtbox = pat:get_frame(400,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(411,0,6, { tex_index = 516 , tex_w = 63 , tex_h = 121 , tex_offset_x = baseX -20 , tex_offset_y = baseY +0 , duration = 2 , hurtbox = pat:get_frame(400,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(411,0,7, { tex_index = 517 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 2 , hurtbox = pat:get_frame(400,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(411,0,8, { tex_index = 517 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 2 , hurtbox = pat:get_frame(400,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(411,0,9, { tex_index = 518 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 2 , hurtbox = pat:get_frame(400,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision })--shot pat:update_frame(411,1,0, { tex_index = 518 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 6 , hurtbox = pat:get_frame(400,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(411,1,1, { tex_index = 517 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 6 , hurtbox = pat:get_frame(400,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00200021 }) pat:update_frame(411,2,0, { tex_index = 518 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 6 , hurtbox = pat:get_frame(400,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(411,2,1, { tex_index = 517 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 6 , hurtbox = pat:get_frame(400,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(411,3,0, { tex_index = 518 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 6 , hurtbox = pat:get_frame(400,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(411,3,1, { tex_index = 517 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 16 , hurtbox = pat:get_frame(400,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(411,3,2, { tex_index = 519 , tex_w = 67 , tex_h = 122 , tex_offset_x = baseX -16 , tex_offset_y = baseY +4 , duration = 5 , hurtbox = pat:get_frame(400,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(415,0,0, { tex_index = 520 , tex_w = 117 , tex_h = 114 , tex_offset_x = baseX +100 , tex_offset_y = baseY +12 , duration = 2 , hurtbox = pat:get_frame(404,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(415,0,1, { tex_index = 520 , tex_w = 117 , tex_h = 114 , tex_offset_x = baseX +100 , tex_offset_y = baseY +12 , duration = 2 , hurtbox = pat:get_frame(404,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(415,0,2, { tex_index = 520 , tex_w = 117 , tex_h = 114 , tex_offset_x = baseX +100 , tex_offset_y = baseY +12 , duration = 2 , hurtbox = pat:get_frame(404,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(415,0,3, { tex_index = 520 , tex_w = 117 , tex_h = 114 , tex_offset_x = baseX +100 , tex_offset_y = baseY +12 , duration = 2 , hurtbox = pat:get_frame(404,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(415,0,4, { tex_index = 520 , tex_w = 117 , tex_h = 114 , tex_offset_x = baseX +100 , tex_offset_y = baseY +12 , duration = 2 , hurtbox = pat:get_frame(404,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(415,0,5, { tex_index = 521 , tex_w = 116 , tex_h = 111 , tex_offset_x = baseX+102 , tex_offset_y = baseY +6 , duration = 2 , hurtbox = pat:get_frame(404,0,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(415,0,6, { tex_index = 521 , tex_w = 116 , tex_h = 111 , tex_offset_x = baseX+102 , tex_offset_y = baseY +6 , duration = 2 , hurtbox = pat:get_frame(404,0,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(415,0,7, { tex_index = 522 , tex_w = 97 , tex_h = 113 , tex_offset_x = baseX +54 , tex_offset_y = baseY +8 , duration = 2 , hurtbox = pat:get_frame(404,0,4).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(415,0,8, { tex_index = 522 , tex_w = 97 , tex_h = 113 , tex_offset_x = baseX +54 , tex_offset_y = baseY +8 , duration = 2 , hurtbox = pat:get_frame(404,0,4).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(415,0,9, { tex_index = 523 , tex_w = 97 , tex_h = 113 , tex_offset_x = baseX +54 , tex_offset_y = baseY +8 , duration = 2 , hurtbox = pat:get_frame(404,0,4).hurtbox , collision = pat:get_frame(6,1,0).collision })--shot pat:update_frame(415,1,0, { tex_index = 523 , tex_w = 97 , tex_h = 113 , tex_offset_x = baseX +54 , tex_offset_y = baseY +8 , duration = 6 , hurtbox = pat:get_frame(404,0,4).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(415,1,1, { tex_index = 522 , tex_w = 97 , tex_h = 113 , tex_offset_x = baseX +54 , tex_offset_y = baseY +8 , duration = 6 , hurtbox = pat:get_frame(404,0,4).hurtbox , collision = pat:get_frame(6,1,0).collision , fflags = 0x00200024 }) pat:update_frame(415,2,0, { tex_index = 523 , tex_w = 97 , tex_h = 113 , tex_offset_x = baseX +54 , tex_offset_y = baseY +8 , duration = 6 , hurtbox = pat:get_frame(404,0,4).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(415,2,1, { tex_index = 522 , tex_w = 97 , tex_h = 113 , tex_offset_x = baseX +54 , tex_offset_y = baseY +8 , duration = 6 , hurtbox = pat:get_frame(404,0,4).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(415,3,0, { tex_index = 523 , tex_w = 97 , tex_h = 113 , tex_offset_x = baseX +54 , tex_offset_y = baseY +8 , duration = 16 , hurtbox = pat:get_frame(404,0,4).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(415,3,1, { tex_index = 524 , tex_w = 95 , tex_h = 112 , tex_offset_x = baseX +54 , tex_offset_y = baseY +4 , duration = 5 , hurtbox = pat:get_frame(404,0,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(415,3,2, { tex_index = 318 , tex_w = 100 , tex_h = 121 , tex_offset_x = baseX +46 , tex_offset_y = baseY +20 +0 , duration = 4 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(415,3,3, { tex_index = 321 , tex_w = 96 , tex_h = 126 , tex_offset_x = baseX +46 , tex_offset_y = baseY +16 , duration = 4 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(415,4,0, { tex_index = 237 , tex_w = 81 , tex_h = 118 , tex_offset_x = baseX +30 , tex_offset_y = baseY -12 , duration = 6 , hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(415,4,1, { tex_index = 236 , tex_w = 94 , tex_h = 118 , tex_offset_x = baseX +68 , tex_offset_y = baseY -6 , duration = 5 , hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) --[[ pat:update_frame(414,0,0, { tex_index = 515 , tex_w = 67 , tex_h = 123 , tex_offset_x = baseX -4 , tex_offset_y = baseY -0 , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(414,0,1, { tex_index = 515 , tex_w = 67 , tex_h = 123 , tex_offset_x = baseX -4 , tex_offset_y = baseY -0 , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(414,0,2, { tex_index = 515 , tex_w = 67 , tex_h = 123 , tex_offset_x = baseX -4 , tex_offset_y = baseY -0 , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(414,0,3, { tex_index = 515 , tex_w = 67 , tex_h = 123 , tex_offset_x = baseX -4 , tex_offset_y = baseY -0 , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(414,0,4, { tex_index = 515 , tex_w = 67 , tex_h = 123 , tex_offset_x = baseX -4 , tex_offset_y = baseY -0 , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(414,0,5, { tex_index = 516 , tex_w = 63 , tex_h = 121 , tex_offset_x = baseX -20 , tex_offset_y = baseY +0 , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(414,0,6, { tex_index = 516 , tex_w = 63 , tex_h = 121 , tex_offset_x = baseX -20 , tex_offset_y = baseY +0 , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(414,0,7, { tex_index = 517 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(414,0,8, { tex_index = 517 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(414,0,9, { tex_index = 518 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 4 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision })--shot pat:update_frame(414,1,0, { tex_index = 518 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 6 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(414,1,1, { tex_index = 517 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 6 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(414,2,0, { tex_index = 518 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 6 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(414,2,1, { tex_index = 517 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 6 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(414,3,0, { tex_index = 518 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 6 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(414,3,1, { tex_index = 517 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 6 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(414,3,2, { tex_index = 519 , tex_w = 67 , tex_h = 122 , tex_offset_x = baseX -16 , tex_offset_y = baseY +4 , duration = 5 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(414,3,3, { tex_index = 318 , tex_w = 100 , tex_h = 121 , tex_offset_x = baseX +46 , tex_offset_y = baseY +20 +0 , duration = 4 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision })]]-- end function mods.b2c(pat) local baseX = 64 +8 local baseY = 183 +50 +4 pat:update_frame(412,0,0, { tex_index = 398 , tex_w = 117 , tex_h = 103 , tex_offset_x = baseX +106 , tex_offset_y = baseY -34 , duration = 8 , hurtbox = pat:get_frame(402,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(412,0,1, { tex_index = 398 , tex_w = 117 , tex_h = 103 , tex_offset_x = baseX +106 , tex_offset_y = baseY -34 , duration = 8 , hurtbox = pat:get_frame(402,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(412,0,2, { tex_index = 399 , tex_w = 116 , tex_h = 100 , tex_offset_x = baseX+106 , tex_offset_y = baseY -40 , duration = 2 , hurtbox = pat:get_frame(402,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(412,0,3, { tex_index = 399 , tex_w = 116 , tex_h = 100 , tex_offset_x = baseX+106 , tex_offset_y = baseY -40 , duration = 2 , hurtbox = pat:get_frame(402,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(412,0,4, { tex_index = 400 , tex_w = 121 , tex_h = 98 , tex_offset_x = baseX +94 , tex_offset_y = baseY -46 , duration = 2 , hurtbox = pat:get_frame(402,0,2).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(412,0,5, { tex_index = 400 , tex_w = 121 , tex_h = 98 , tex_offset_x = baseX +94 , tex_offset_y = baseY -46 , duration = 2 , hurtbox = pat:get_frame(402,0,2).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(412,0,6, { tex_index = 401 , tex_w = 121 , tex_h = 98 , tex_offset_x = baseX +94 , tex_offset_y = baseY -46 , duration = 4 , hurtbox = pat:get_frame(402,0,2).hurtbox , collision = pat:get_frame(2,0,0).collision })--shot pat:update_frame(412,0,7, { tex_index = 401 , tex_w = 121 , tex_h = 98 , tex_offset_x = baseX +94 , tex_offset_y = baseY -46 , duration = 3 , hurtbox = pat:get_frame(402,0,2).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(412,0,8, { tex_index = 400 , tex_w = 121 , tex_h = 98 , tex_offset_x = baseX +94 , tex_offset_y = baseY -46 , duration = 3 , hurtbox = pat:get_frame(402,0,2).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(412,0,9, { tex_index = 400 , tex_w = 121 , tex_h = 98 , tex_offset_x = baseX +94 , tex_offset_y = baseY -46 , duration = 3 , hurtbox = pat:get_frame(402,0,2).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(412,0,10, { tex_index = 401 , tex_w = 121 , tex_h = 98 , tex_offset_x = baseX +94 , tex_offset_y = baseY -46 , duration = 3 , hurtbox = pat:get_frame(402,0,2).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(412,0,11, { tex_index = 401 , tex_w = 121 , tex_h = 98 , tex_offset_x = baseX +94 , tex_offset_y = baseY -46 , duration = 3 , hurtbox = pat:get_frame(402,0,2).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(412,0,12, { tex_index = 400 , tex_w = 121 , tex_h = 98 , tex_offset_x = baseX +94 , tex_offset_y = baseY -46 , duration = 10 , hurtbox = pat:get_frame(402,0,2).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(412,0,13, { tex_index = 402 , tex_w = 95 , tex_h = 111 , tex_offset_x = baseX +54 , tex_offset_y = baseY -40 , duration = 5 , hurtbox = pat:get_frame(402,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:split_frame(416,0,10,1,1) pat:split_frame(416,0,10,1,1) pat:update_frame(416,0,0, { tex_index = 520 , tex_w = 117 , tex_h = 114 , tex_offset_x = baseX +100 , tex_offset_y = baseY +12 , duration = 8 , hurtbox = pat:get_frame(404,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(416,0,1, { tex_index = 520 , tex_w = 117 , tex_h = 114 , tex_offset_x = baseX +100 , tex_offset_y = baseY +12 , duration = 8 , hurtbox = pat:get_frame(404,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(416,0,2, { tex_index = 521 , tex_w = 116 , tex_h = 111 , tex_offset_x = baseX+102 , tex_offset_y = baseY +6 , duration = 2 , hurtbox = pat:get_frame(404,0,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(416,0,3, { tex_index = 521 , tex_w = 116 , tex_h = 111 , tex_offset_x = baseX+102 , tex_offset_y = baseY +6 , duration = 2 , hurtbox = pat:get_frame(404,0,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(416,0,4, { tex_index = 522 , tex_w = 97 , tex_h = 113 , tex_offset_x = baseX +54 , tex_offset_y = baseY +8 , duration = 4 , hurtbox = pat:get_frame(404,0,4).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(416,0,5, { tex_index = 523 , tex_w = 97 , tex_h = 113 , tex_offset_x = baseX +54 , tex_offset_y = baseY +8 , duration = 6 , hurtbox = pat:get_frame(404,0,4).hurtbox , collision = pat:get_frame(6,1,0).collision })--shot pat:update_frame(416,0,6, { tex_index = 522 , tex_w = 97 , tex_h = 113 , tex_offset_x = baseX +54 , tex_offset_y = baseY +8 , duration = 6 , hurtbox = pat:get_frame(404,0,4).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(416,0,7, { tex_index = 523 , tex_w = 97 , tex_h = 113 , tex_offset_x = baseX +54 , tex_offset_y = baseY +8 , duration = 6 , hurtbox = pat:get_frame(404,0,4).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(416,0,8, { tex_index = 522 , tex_w = 97 , tex_h = 113 , tex_offset_x = baseX +54 , tex_offset_y = baseY +8 , duration = 6 , hurtbox = pat:get_frame(404,0,4).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(416,0,9, { tex_index = 523 , tex_w = 97 , tex_h = 113 , tex_offset_x = baseX +54 , tex_offset_y = baseY +8 , duration = 10 , hurtbox = pat:get_frame(404,0,4).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(416,0,10, { tex_index = 524 , tex_w = 95 , tex_h = 112 , tex_offset_x = baseX +54 , tex_offset_y = baseY +4 , duration = 5 , hurtbox = pat:get_frame(404,0,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(416,0,11, { tex_index = 318 , tex_w = 100 , tex_h = 121 , tex_offset_x = baseX +46 , tex_offset_y = baseY +20 +0 , duration = 4 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(416,0,12, { tex_index = 321 , tex_w = 96 , tex_h = 126 , tex_offset_x = baseX +46 , tex_offset_y = baseY +16 , duration = 4 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(416,1,0, { tex_index = 237 , tex_w = 81 , tex_h = 118 , tex_offset_x = baseX +30 , tex_offset_y = baseY -12 , duration = 6 , hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(416,1,1, { tex_index = 236 , tex_w = 94 , tex_h = 118 , tex_offset_x = baseX +68 , tex_offset_y = baseY -6 , duration = 5 , hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) --[[ pat:split_frame(416,0,10,1,1) pat:update_frame(416,0,0, { tex_index = 398 , tex_w = 117 , tex_h = 103 , tex_offset_x = baseX +106 , tex_offset_y = baseY -34 , duration = 4 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(416,0,1, { tex_index = 398 , tex_w = 117 , tex_h = 103 , tex_offset_x = baseX +106 , tex_offset_y = baseY -34 , duration = 4 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(416,0,2, { tex_index = 399 , tex_w = 116 , tex_h = 100 , tex_offset_x = baseX+106 , tex_offset_y = baseY -40 , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(416,0,3, { tex_index = 399 , tex_w = 116 , tex_h = 100 , tex_offset_x = baseX+106 , tex_offset_y = baseY -40 , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(416,0,4, { tex_index = 400 , tex_w = 121 , tex_h = 98 , tex_offset_x = baseX +94 , tex_offset_y = baseY -46 , duration = 4 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(416,0,5, { tex_index = 401 , tex_w = 121 , tex_h = 98 , tex_offset_x = baseX +94 , tex_offset_y = baseY -46 , duration = 4 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision })--shot pat:update_frame(416,0,6, { tex_index = 401 , tex_w = 121 , tex_h = 98 , tex_offset_x = baseX +94 , tex_offset_y = baseY -46 , duration = 3 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(416,0,7, { tex_index = 400 , tex_w = 121 , tex_h = 98 , tex_offset_x = baseX +94 , tex_offset_y = baseY -46 , duration = 6 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(416,0,8, { tex_index = 401 , tex_w = 121 , tex_h = 98 , tex_offset_x = baseX +94 , tex_offset_y = baseY -46 , duration = 6 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(416,0,9, { tex_index = 400 , tex_w = 121 , tex_h = 98 , tex_offset_x = baseX +94 , tex_offset_y = baseY -46 , duration = 6 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(416,0,10, { tex_index = 402 , tex_w = 95 , tex_h = 111 , tex_offset_x = baseX +54 , tex_offset_y = baseY -40 , duration = 5 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(416,0,11, { tex_index = 318 , tex_w = 100 , tex_h = 121 , tex_offset_x = baseX +46 , tex_offset_y = baseY +20 +0 , duration = 4 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision })]]-- --pat:update_frame(801,0,0,{scale_y = 2000}) --pat:update_frame(801,0,1,{scale_y = 1900}) pat:update_frame(801,1,0,{tex_w = 0}) --pat:update_frame(801,2,0,{tex_w = 0}) --pat:update_frame(801,2,1,{tex_w = 0}) pat:update_frame(801,3,0,{tex_w = 0}) pat:update_frame(801,3,1,{tex_w = 0}) pat:get_sequence(801,0):set_looped(false) pat:get_sequence(801,0):set_priority(10,0) for idx = 2 , 200 do pat:split_frame(801,0,1,1,1) end for idx = 0 , 200 do pat:update_frame(801,0,idx,function(frame) frame.duration = 2 local tid = 0 if (idx < 7) then tid = 184 + idx elseif (idx < 10) then tid = 198 + idx - 7 elseif (idx < 10 + 29) then tid = 169 + idx - 10 else tid = 203 end frame.tex_index = tid frame.tex_w = 128 frame.tex_h = 192 frame.tex_offset_x = 64 frame.tex_offset_y = 128 frame.scale_x = 200 frame.scale_y = 2000 set_aflag(frame,AF_UNREFLECTABLE) frame.blockstop_self = 8 frame.hitstop_self = 4 frame.hit_effect = 6 frame.hit_sfx = 7 frame.untech = 45 frame.launch_vector_x = 500 frame.launch_vector_y = 1500 frame.hit_ani_air = 71 frame.attack_level = AL_HEAVY frame.limit = 8 frame.damage = 150 frame.sp_damage = 25 frame.proration = 940 frame.hitstop_enemy = 10 frame.blockstop_enemy = 10 if (idx >= 39) then local ridx = (idx-39)*.5 frame.duration = 1 acc = 10 + (ridx)*.5 frame.scale_x = 150 + (ridx) * acc local didx = ridx local scalemod = 100/frame.scale_x local ymod = 0 local xmod = 48 + acc*didx frame.attackbox[1].x1 = -40 * frame.scale_x / 150 frame.attackbox[1].x2 = 40 * frame.scale_x / 150 frame.attackbox[1].y1 = -140 frame.attackbox[1].y2 = -120 frame.tex_offset_y = frame.tex_offset_y - (ymod)*scalemod frame.attackbox[1].y1 = frame.attackbox[1].y1 + (ymod) frame.attackbox[1].y2 = frame.attackbox[1].y2 + (ymod) frame.tex_offset_x = frame.tex_offset_x - (xmod)*scalemod frame.attackbox[1].x1 = frame.attackbox[1].x1 + (xmod) frame.attackbox[1].x2 = frame.attackbox[1].x2 + (xmod) else local xOffset = 0 local yOffset = -20 --frame.attackbox[1] = pat:get_frame(0,0,0).hurtbox[1] frame.attackbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.attackbox[3] = pat:get_frame(0,0,1).hurtbox[1] frame.attackbox[4] = pat:get_frame(0,0,1).hurtbox[1] --frame.attackbox[4] = pat:get_frame(0,0,2).hurtbox[1] --frame.attackbox[5] = pat:get_frame(0,0,3).hurtbox[1] --frame.attackbox[6] = pat:get_frame(0,0,4).hurtbox[1] local ang = 0 local ax = 0 local ay = 0 for idy = 1 , 4 do ang = (90 + 14*idx) + 15 + 15*idy ax = 110 * math.cos(ang * 3.14159/180) ay = 110 * math.sin(ang * 3.14159/180) frame.attackbox[idy].x1 = ax - 10 frame.attackbox[idy].x2 = ax + 10 frame.attackbox[idy].y1 = ay - 10 +yOffset frame.attackbox[idy].y2 = ay + 10 +yOffset end if (idx > 39-2) then frame.attackbox[2].x1 = -30 frame.attackbox[2].x2 = 30 frame.attackbox[2].y1 = -140 frame.attackbox[2].y2 = -120 frame.attackbox[3].x1 = -25 frame.attackbox[3].x2 = 45 frame.attackbox[3].y1 = -140 frame.attackbox[3].y2 = -120 frame.attackbox[4].x1 = -20 frame.attackbox[4].x2 = 60 frame.attackbox[4].y1 = -140 frame.attackbox[4].y2 = -120 elseif (idx > 39-4) then frame.attackbox[3].x1 = -25 frame.attackbox[3].x2 = 30 frame.attackbox[3].y1 = -140 frame.attackbox[3].y2 = -120 frame.attackbox[4].x1 = -20 frame.attackbox[4].x2 = 45 frame.attackbox[4].y1 = -140 frame.attackbox[4].y2 = -120 elseif (idx > 39-6) then frame.attackbox[4].x1 = -20 frame.attackbox[4].x2 = 30 frame.attackbox[4].y1 = -140 frame.attackbox[4].y2 = -120 end end end) end end function mods.n66a(pat) local baseX = 64 +8 local baseY = 183 +50 +4 pat:update_frame(305,0,0, { tex_index = 17 , tex_w = 56 , tex_h = 121 , tex_offset_x = baseX -26 , tex_offset_y = baseY +4 , duration = 3 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(305,0,0,function(frame) frame.hurtbox[1].x1 = frame.hurtbox[1].x1 + 10 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 + 20 end) pat:update_frame(305,0,1, { tex_index = 18 , tex_w = 112 , tex_h = 114 , tex_offset_x = baseX +30 , tex_offset_y = baseY -6 , duration = 3 , hurtbox = pat:get_frame(305,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(305,0,2, { tex_index = 18 , tex_w = 112 , tex_h = 114 , tex_offset_x = baseX +30 , tex_offset_y = baseY -6 , duration = 2 , hurtbox = pat:get_frame(305,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(305,0,3, { tex_index = 19 , tex_w = 112 , tex_h = 114 , tex_offset_x = baseX +46 , tex_offset_y = baseY -8 , duration = 3 , hurtbox = pat:get_frame(302,0,8).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(305,0,3,function(frame) frame.hurtbox[3].x1 = frame.hurtbox[1].x1 - 40 frame.hurtbox[3].x2 = frame.hurtbox[3].x1 + 60 frame.hurtbox[3].y1 = frame.hurtbox[1].y1 - 15 frame.hurtbox[3].y2 = frame.hurtbox[3].y1 + 60 frame.hurtbox[1].y1 = frame.hurtbox[1].y1 + 35 end) pat:update_frame(305,0,4, { tex_index = 20 , tex_w = 120 , tex_h = 110 , tex_offset_x = baseX +42 , tex_offset_y = baseY -18 , duration = 3 , hurtbox = pat:get_frame(302,0,8).hurtbox , attackbox = pat:get_frame(302,0,8).attackbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(305,0,4,function(frame) frame.hurtbox[4] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[4].x1 = frame.hurtbox[1].x1 - 40 frame.hurtbox[4].x2 = frame.hurtbox[4].x1 + 60 frame.hurtbox[4].y1 = frame.hurtbox[1].y1 - 15 frame.hurtbox[4].y2 = frame.hurtbox[4].y1 + 60 frame.hurtbox[1].y1 = frame.hurtbox[1].y1 + 35 frame.hurtbox[2].y1 = frame.hurtbox[2].y1 - 10 frame.hurtbox[3].y1 = frame.hurtbox[3].y1 - 25 frame.hurtbox[3].y2 = frame.hurtbox[3].y2 - 25 frame.attackbox[2].x1 = frame.attackbox[2].x1 + 20 frame.attackbox[2].y1 = frame.attackbox[2].y1 - 20 frame.attackbox[2].y2 = frame.attackbox[2].y2 - 30 frame.attackbox[1].x2 = frame.attackbox[1].x2 - 25 frame.attackbox[1].y1 = frame.attackbox[1].y1 - 30 frame.attackbox[1].y2 = frame.attackbox[1].y2 - 40 end) pat:update_frame(305,0,5, { tex_index = 20 , tex_w = 120 , tex_h = 110 , tex_offset_x = baseX +42 , tex_offset_y = baseY -18 , duration = 12 , hurtbox = pat:get_frame(305,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(305,0,6, { tex_index = 19 , tex_w = 112 , tex_h = 114 , tex_offset_x = baseX +46 , tex_offset_y = baseY -8 , duration = 5 , hurtbox = pat:get_frame(305,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(305,0,7, { tex_index = 18 , tex_w = 112 , tex_h = 114 , tex_offset_x = baseX +30 , tex_offset_y = baseY -6 , duration = 3 , hurtbox = pat:get_frame(305,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(305,0,8, { tex_index = 18 , tex_w = 112 , tex_h = 114 , tex_offset_x = baseX +30 , tex_offset_y = baseY -6 , duration = 2 , hurtbox = pat:get_frame(305,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) --pat:update_frame(305,0,8, { tex_index = 17 , tex_w = 56 , tex_h = 120 , tex_offset_x = baseX -26 , tex_offset_y = baseY +4 , duration = 2 , hurtbox = pat:get_frame(302,0,10).hurtbox , collision = pat:get_frame(0,0,0).collision }) end function mods.n66b(pat) local baseX = 64 +8 local baseY = 183 +50 +4 for idx = 1 , 2 do pat:remove_frame(408,idx,6) pat:remove_frame(408,idx,5) pat:remove_frame(408,idx,4) pat:remove_frame(408,idx,3) pat:remove_frame(408,idx,2) pat:remove_frame(408,idx,1) end pat:update_frame(408,0,0, { tex_index = 236 , tex_w = 94 , tex_h = 118 , tex_offset_x = baseX +68-12 +0 , tex_offset_y = baseY -6 , duration = 5 , hurtbox = pat:get_frame(401,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(408,0,1, { tex_index = 102 , tex_w = 115 , tex_h = 121 , tex_offset_x = baseX +66 , tex_offset_y = baseY +0 , duration = 5 , hurtbox = pat:get_frame(320,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) --pat:update_frame(408,0,1, { tex_index = 103 , tex_w = 149 , tex_h = 118 , tex_offset_x = baseX +74 , tex_offset_y = baseY -6 , duration = 5 , hurtbox = pat:get_frame(320,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(408,0,2, { tex_index = 13 , tex_w = 149 , tex_h = 109 , tex_offset_x = baseX +30 , tex_offset_y = baseY -22 , duration = 5 , hurtbox = pat:get_frame(320,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision , attackbox = pat:get_frame(0,0,0).attackbox }) pat:update_frame(408,1,0, { tex_index = 14 , tex_w = 176 , tex_h = 109 , tex_offset_x = baseX -20 , tex_offset_y = baseY -24 , duration = 4 , hurtbox = pat:get_frame(320,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , attackbox = pat:get_frame(320,0,2).attackbox }) pat:update_frame(408,2,0, { tex_index = 9 , tex_w = 171 , tex_h = 109 , tex_offset_x = baseX -20 , tex_offset_y = baseY -24 , duration = 4 , hurtbox = pat:get_frame(320,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , attackbox = pat:get_frame(320,0,2).attackbox }) pat:update_frame(408,3,0, { tex_index = 80 , tex_w = 171 , tex_h = 109 , tex_offset_x = baseX -20 , tex_offset_y = baseY -24 , duration = 4 , hurtbox = pat:get_frame(320,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , attackbox = pat:get_frame(320,0,2).attackbox }) pat:update_frame(408,3,1, { tex_index = 9 , tex_w = 171 , tex_h = 109 , tex_offset_x = baseX -20 , tex_offset_y = baseY -24 , duration = 4 , hurtbox = pat:get_frame(320,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(408,3,2, { tex_index = 80 , tex_w = 171 , tex_h = 109 , tex_offset_x = baseX -20 , tex_offset_y = baseY -24 , duration = 4 , hurtbox = pat:get_frame(320,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(408,3,3, { tex_index = 9 , tex_w = 171 , tex_h = 109 , tex_offset_x = baseX -20 , tex_offset_y = baseY -24 , duration = 4 , hurtbox = pat:get_frame(320,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(408,3,4, { tex_index = 80 , tex_w = 171 , tex_h = 109 , tex_offset_x = baseX -20 , tex_offset_y = baseY -24 , duration = 6 , hurtbox = pat:get_frame(320,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(408,3,5, { tex_index = 105 , tex_w = 86 , tex_h = 118 , tex_offset_x = baseX +20 , tex_offset_y = baseY -6 , duration = 5 , hurtbox = pat:get_frame(320,0,7).hurtbox , collision = pat:get_frame(0,0,0).collision }) for idy = 1 , 3 do pat:update_frame(408,idy,0,function(frame) frame.hit_ani_air = 71 frame.launch_vector_x = 1500 frame.launch_vector_y = 900 frame.hitstop_self = 10 frame.hitstop_enemy = 10 frame.blockstop_self = 10 frame.blockstop_enemy = 10 frame.damage = 600 frame.sp_damage = 100 frame.proration = 900 frame.limit = 20 frame.untech = 60 unset_aflag(frame,AF_LOWBLOCK_OK) set_aflag(frame,AF_HIGHBLOCK_OK) unset_aflag(frame,AF_ATTACK_LOW) set_aflag(frame,AF_ATTACK_HIGH) set_aflag(frame,AF_AIR_BLOCKABLE) end) end end function mods.n66c(pat) local baseX = 64 +8 local baseY = 183 +50 +4 pat:split_frame(418,0,10,1,1) pat:remove_frame(418,0,5) pat:update_frame(418,0,0, { tex_index = 74 , tex_w = 68 , tex_h = 121 , tex_offset_x = baseX -16 , tex_offset_y = baseY +4 , duration = 4 , hurtbox = pat:get_frame(302,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(418,0,1, { tex_index = 75 , tex_w = 121 , tex_h = 117 , tex_offset_x = baseX +104 , tex_offset_y = baseY -10 , duration = 4 , hurtbox = pat:get_frame(302,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(418,0,2, { tex_index = 76 , tex_w = 101 , tex_h = 116 , tex_offset_x = baseX +84 , tex_offset_y = baseY -6 , duration = 4 , hurtbox = pat:get_frame(302,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(418,0,3, { tex_index = 77 , tex_w = 123 , tex_h = 105 , tex_offset_x = baseX +122 , tex_offset_y = baseY -28 , duration = 4 , hurtbox = pat:get_frame(302,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(418,0,4, { tex_index = 78 , tex_w = 150 , tex_h = 107 , tex_offset_x = baseX +78 , tex_offset_y = baseY -24 , duration = 4 , hurtbox = pat:get_frame(302,0,8).hurtbox , attackbox = pat:get_frame(302,0,8).attackbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(418,0,5, { tex_index = 78 , tex_w = 150 , tex_h = 107 , tex_offset_x = baseX +78 , tex_offset_y = baseY -24 , duration = 16 , hurtbox = pat:get_frame(302,0,8).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(418,0,6, { tex_index = 79 , tex_w = 131 , tex_h = 122 , tex_offset_x = baseX +76 , tex_offset_y = baseY +6 , duration = 1 , hurtbox = pat:get_frame(302,0,10).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(418,0,7, { tex_index = 79 , tex_w = 131 , tex_h = 122 , tex_offset_x = baseX +76 , tex_offset_y = baseY +6 , duration = 1 , hurtbox = pat:get_frame(302,0,10).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(418,0,8, { tex_index = 79 , tex_w = 131 , tex_h = 122 , tex_offset_x = baseX +76 , tex_offset_y = baseY +6 , duration = 1 , hurtbox = pat:get_frame(302,0,10).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(418,0,9, { tex_index = 79 , tex_w = 131 , tex_h = 122 , tex_offset_x = baseX +76 , tex_offset_y = baseY +6 , duration = 1 , hurtbox = pat:get_frame(302,0,10).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(418,0,10, { tex_index = 79 , tex_w = 131 , tex_h = 122 , tex_offset_x = baseX +76 , tex_offset_y = baseY +6 , duration = 1 , hurtbox = pat:get_frame(302,0,10).hurtbox , collision = pat:get_frame(0,0,0).collision }) end function mods.d236(pat) local baseX = 64 +8 local baseY = 183 +50 +4 pat:remove_frame(540,2,9) pat:remove_frame(540,2,8) pat:remove_frame(540,2,7) pat:remove_frame(540,2,6) pat:remove_frame(540,2,5) pat:remove_frame(540,2,4) pat:remove_frame(540,3,9) pat:remove_frame(540,3,8) pat:remove_frame(540,3,7) pat:remove_frame(540,3,6) pat:remove_frame(540,3,5) pat:remove_frame(540,3,4) pat:remove_frame(540,3,3) pat:remove_frame(540,3,2) pat:update_frame(540,0,0, { tex_index = 515 , tex_w = 67 , tex_h = 123 , tex_offset_x = baseX -4 , tex_offset_y = baseY -0 , duration = 1 , hurtbox = pat:get_frame(400,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(540,0,1, { tex_index = 515 , tex_w = 67 , tex_h = 123 , tex_offset_x = baseX -4 , tex_offset_y = baseY -0 , duration = 1 , hurtbox = pat:get_frame(400,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(540,0,2, { tex_index = 515 , tex_w = 67 , tex_h = 123 , tex_offset_x = baseX -4 , tex_offset_y = baseY -0 , duration = 2 , hurtbox = pat:get_frame(400,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(540,0,3, { tex_index = 515 , tex_w = 67 , tex_h = 123 , tex_offset_x = baseX -4 , tex_offset_y = baseY -0 , duration = 2 , hurtbox = pat:get_frame(400,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(540,0,4, { tex_index = 515 , tex_w = 67 , tex_h = 123 , tex_offset_x = baseX -4 , tex_offset_y = baseY -0 , duration = 2+2 , hurtbox = pat:get_frame(400,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(540,0,5, { tex_index = 516 , tex_w = 63 , tex_h = 121 , tex_offset_x = baseX -20 , tex_offset_y = baseY +0 , duration = 2 , hurtbox = pat:get_frame(400,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(540,0,6, { tex_index = 516 , tex_w = 63 , tex_h = 121 , tex_offset_x = baseX -20 , tex_offset_y = baseY +0 , duration = 2 , hurtbox = pat:get_frame(400,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(540,0,7, { tex_index = 517 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 2+2 , hurtbox = pat:get_frame(400,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(540,0,8, { tex_index = 517 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 2 , hurtbox = pat:get_frame(400,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(540,0,9, { tex_index = 518 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 4 , hurtbox = pat:get_frame(400,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(540,1,0, { tex_index = 518 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 6 , hurtbox = pat:get_frame(400,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(540,1,1, { tex_index = 517 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 6 , hurtbox = pat:get_frame(400,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(540,2,0, { tex_index = 518 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 6 , hurtbox = pat:get_frame(400,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(540,2,1, { tex_index = 517 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 6 , hurtbox = pat:get_frame(400,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(540,2,2, { tex_index = 518 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 6 , hurtbox = pat:get_frame(400,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(540,2,3, { tex_index = 517 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 6 , hurtbox = pat:get_frame(400,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(540,3,0, { tex_index = 518 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 6 , hurtbox = pat:get_frame(400,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(540,3,1, { tex_index = 517 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 16 , hurtbox = pat:get_frame(400,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(540,4,0, { tex_index = 518 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 6 , hurtbox = pat:get_frame(400,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(540,4,1, { tex_index = 517 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 20 , hurtbox = pat:get_frame(400,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) --pat:update_frame(540,4,0, { tex_index = 519 , tex_w = 67 , tex_h = 122 , tex_offset_x = baseX -16 , tex_offset_y = baseY +4 , duration = 1 , hurtbox = pat:get_frame(400,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) --pat:update_frame(540,4,1, { tex_index = 519 , tex_w = 67 , tex_h = 122 , tex_offset_x = baseX -16 , tex_offset_y = baseY +4 , duration = 2 , hurtbox = pat:get_frame(400,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(540,4,2, { tex_index = 519 , tex_w = 67 , tex_h = 122 , tex_offset_x = baseX -16 , tex_offset_y = baseY +4 , duration = 5 , hurtbox = pat:get_frame(400,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:remove_frame(542,2,9) pat:remove_frame(542,2,8) pat:remove_frame(542,2,7) pat:remove_frame(542,2,6) pat:remove_frame(542,2,5) pat:remove_frame(542,2,4) pat:remove_frame(542,3,9) pat:remove_frame(542,3,8) pat:remove_frame(542,3,7) pat:remove_frame(542,3,6) pat:remove_frame(542,3,5) pat:remove_frame(542,3,4) pat:remove_frame(542,3,3) pat:remove_frame(542,3,2) pat:update_frame(542,0,0, { tex_index = 520 , tex_w = 117 , tex_h = 114 , tex_offset_x = baseX +100 , tex_offset_y = baseY +12 , duration = 1 , hurtbox = pat:get_frame(404,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(542,0,1, { tex_index = 520 , tex_w = 117 , tex_h = 114 , tex_offset_x = baseX +100 , tex_offset_y = baseY +12 , duration = 1 , hurtbox = pat:get_frame(404,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(542,0,2, { tex_index = 520 , tex_w = 117 , tex_h = 114 , tex_offset_x = baseX +100 , tex_offset_y = baseY +12 , duration = 2 , hurtbox = pat:get_frame(404,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(542,0,3, { tex_index = 520 , tex_w = 117 , tex_h = 114 , tex_offset_x = baseX +100 , tex_offset_y = baseY +12 , duration = 2 , hurtbox = pat:get_frame(404,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(542,0,4, { tex_index = 520 , tex_w = 117 , tex_h = 114 , tex_offset_x = baseX +100 , tex_offset_y = baseY +12 , duration = 2+2 , hurtbox = pat:get_frame(404,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(542,0,5, { tex_index = 521 , tex_w = 116 , tex_h = 111 , tex_offset_x = baseX+102 , tex_offset_y = baseY +6 , duration = 2 , hurtbox = pat:get_frame(404,0,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(542,0,6, { tex_index = 521 , tex_w = 116 , tex_h = 111 , tex_offset_x = baseX+102 , tex_offset_y = baseY +6 , duration = 2 , hurtbox = pat:get_frame(404,0,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(542,0,7, { tex_index = 522 , tex_w = 97 , tex_h = 113 , tex_offset_x = baseX +54 , tex_offset_y = baseY +8 , duration = 2+2 , hurtbox = pat:get_frame(404,0,4).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(542,0,8, { tex_index = 522 , tex_w = 97 , tex_h = 113 , tex_offset_x = baseX +54 , tex_offset_y = baseY +8 , duration = 2 , hurtbox = pat:get_frame(404,0,4).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(542,0,9, { tex_index = 523 , tex_w = 97 , tex_h = 113 , tex_offset_x = baseX +54 , tex_offset_y = baseY +8 , duration = 4 , hurtbox = pat:get_frame(404,0,4).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(542,1,0, { tex_index = 523 , tex_w = 97 , tex_h = 113 , tex_offset_x = baseX +54 , tex_offset_y = baseY +8 , duration = 6 , hurtbox = pat:get_frame(404,0,4).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(542,1,1, { tex_index = 522 , tex_w = 97 , tex_h = 113 , tex_offset_x = baseX +54 , tex_offset_y = baseY +8 , duration = 6 , hurtbox = pat:get_frame(404,0,4).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(542,2,0, { tex_index = 523 , tex_w = 97 , tex_h = 113 , tex_offset_x = baseX +54 , tex_offset_y = baseY +8 , duration = 6 , hurtbox = pat:get_frame(404,0,4).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(542,2,1, { tex_index = 522 , tex_w = 97 , tex_h = 113 , tex_offset_x = baseX +54 , tex_offset_y = baseY +8 , duration = 6 , hurtbox = pat:get_frame(404,0,4).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(542,2,2, { tex_index = 523 , tex_w = 97 , tex_h = 113 , tex_offset_x = baseX +54 , tex_offset_y = baseY +8 , duration = 6 , hurtbox = pat:get_frame(404,0,4).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(542,2,3, { tex_index = 522 , tex_w = 97 , tex_h = 113 , tex_offset_x = baseX +54 , tex_offset_y = baseY +8 , duration = 6 , hurtbox = pat:get_frame(404,0,4).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(542,3,0, { tex_index = 523 , tex_w = 97 , tex_h = 113 , tex_offset_x = baseX +54 , tex_offset_y = baseY +8 , duration = 6 , hurtbox = pat:get_frame(404,0,4).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(542,3,1, { tex_index = 522 , tex_w = 97 , tex_h = 113 , tex_offset_x = baseX +54 , tex_offset_y = baseY +8 , duration = 16 , hurtbox = pat:get_frame(404,0,4).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(542,4,0, { tex_index = 523 , tex_w = 97 , tex_h = 113 , tex_offset_x = baseX +54 , tex_offset_y = baseY +8 , duration = 20 , hurtbox = pat:get_frame(404,0,4).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(542,4,1, { tex_index = 524 , tex_w = 95 , tex_h = 112 , tex_offset_x = baseX +54 , tex_offset_y = baseY +4 , duration = 5 , hurtbox = pat:get_frame(404,0,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(542,4,2, { tex_index = 318 , tex_w = 100 , tex_h = 121 , tex_offset_x = baseX +46 , tex_offset_y = baseY +20 +0 , duration = 5 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(542,4,3, { tex_index = 321 , tex_w = 96 , tex_h = 126 , tex_offset_x = baseX +46 , tex_offset_y = baseY +16 , duration = 4 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(542,5,0, { tex_index = 237 , tex_w = 81 , tex_h = 118 , tex_offset_x = baseX +30 , tex_offset_y = baseY -12 , duration = 6 , hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(542,5,1, { tex_index = 236 , tex_w = 94 , tex_h = 118 , tex_offset_x = baseX +68 , tex_offset_y = baseY -6 , duration = 5 , hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) for idy = 1 , 5 do if (idy == 1) or (idy == 5) then for idx = 0 , 2 do pat:update_frame(820,idy,idx,function(frame) frame.color_a = 50 if (idy == 5) then frame.scale_y = 400 else frame.scale_y = 400 end if (idx==1) then if (idy == 5) then frame.attackbox[1].y1 = frame.attackbox[1].y1 * 4 frame.attackbox[1].y2 = frame.attackbox[1].y2 * 4 else frame.attackbox[1].y1 = frame.attackbox[1].y1 * 4 frame.attackbox[1].y2 = frame.attackbox[1].y2 * 4 end frame.damage = 100 frame.chip_damage = 25 frame.sp_damage = 10 frame.hitstop_enemy = 10 frame.blockstop_enemy = 10 set_aflag(frame,AF_DRAINS_ON_GRAZE) frame.hit_ani_ground = 71 frame.hit_ani_air = 71 frame.launch_vector_y = 800 frame.launch_vector_x = 600 frame.combo_correction = CC_LIFT_ATTACK end end) end end end for idx = 0 , 1 do pat:update_frame(820,0,idx,function(frame) frame.color_a = 50 frame.scale_x = frame.scale_x*2 frame.scale_y = frame.scale_y*2 end) end for idx = 0 , 1 do pat:update_frame(820,4,idx,function(frame) frame.color_a = 50 frame.scale_x = frame.scale_x*2 frame.scale_y = frame.scale_y*2 end) end for idx = 0 , 0 do pat:update_frame(820,2,idx,function(frame) frame.color_a = 50 frame.scale_x = frame.scale_x*2 frame.scale_y = frame.scale_y*2 end) end pat:remove_frame(820,3,3) pat:remove_frame(820,3,2) pat:remove_frame(820,3,1) pat:update_frame(820,3,0,{tex_w = 0}) end function mods.d623(pat) local baseX = 64 +8 local baseY = 183 +50 +4 pat:get_sequence(560,1):set_looped(false) for idx = 2 , 23 do pat:split_frame(560,0,1,2,2) end pat:update_frame(560,0,0, { tex_index = 236 , tex_w = 94 , tex_h = 118 , tex_offset_x = baseX +68 , tex_offset_y = baseY -6 , duration = 3 , hurtbox = pat:get_frame(200,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000041 }) pat:update_frame(560,0,1, { tex_index = 237 , tex_w = 81 , tex_h = 118 , tex_offset_x = baseX +30 , tex_offset_y = baseY -12 , duration = 3 , hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000041 }) pat:update_frame(560,0,2, { tex_index = 238 , tex_w = 98 , tex_h = 114 , tex_offset_x = baseX +56 , tex_offset_y = baseY -8 -4 , duration = 6 , hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000041 }) pat:update_frame(560,0,3, { tex_index = 557 , tex_w = 118 , tex_h = 117 , tex_offset_x = baseX +96 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000041 }) pat:update_frame(560,0,4, { tex_index = 558 , tex_w = 120 , tex_h = 119 , tex_offset_x = baseX +100 , tex_offset_y = baseY -0, hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000041 }) pat:update_frame(560,0,5, { tex_index = 559 , tex_w = 120 , tex_h = 118 , tex_offset_x = baseX +100 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000041 }) pat:update_frame(560,0,6, { tex_index = 560 , tex_w = 121 , tex_h = 118 , tex_offset_x = baseX +102 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000041 }) pat:update_frame(560,0,7, { tex_index = 557 , tex_w = 118 , tex_h = 117 , tex_offset_x = baseX +96 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000041 }) pat:update_frame(560,0,8, { tex_index = 558 , tex_w = 120 , tex_h = 119 , tex_offset_x = baseX +100 , tex_offset_y = baseY -0 , hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000041 }) pat:update_frame(560,0,9, { tex_index = 559 , tex_w = 120 , tex_h = 118 , tex_offset_x = baseX +100 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000041 }) pat:update_frame(560,0,10, { tex_index = 560 , tex_w = 121 , tex_h = 118 , tex_offset_x = baseX +102 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000041 }) pat:update_frame(560,0,11, { tex_index = 557 , tex_w = 118 , tex_h = 117 , tex_offset_x = baseX +96 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000041 }) pat:update_frame(560,0,12, { tex_index = 558 , tex_w = 120 , tex_h = 119 , tex_offset_x = baseX +100 , tex_offset_y = baseY -0 , hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000041 }) pat:update_frame(560,0,13, { tex_index = 559 , tex_w = 120 , tex_h = 118 , tex_offset_x = baseX +100 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000041 }) pat:update_frame(560,0,14, { tex_index = 560 , tex_w = 121 , tex_h = 118 , tex_offset_x = baseX +102 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000041 }) pat:update_frame(560,0,15, { tex_index = 557 , tex_w = 118 , tex_h = 117 , tex_offset_x = baseX +96 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000041 }) pat:update_frame(560,0,16, { tex_index = 558 , tex_w = 120 , tex_h = 119 , tex_offset_x = baseX +100 , tex_offset_y = baseY -0 , hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000041 }) pat:update_frame(560,0,17, { tex_index = 559 , tex_w = 120 , tex_h = 118 , tex_offset_x = baseX +100 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000041 }) pat:update_frame(560,0,18, { tex_index = 560 , tex_w = 121 , tex_h = 118 , tex_offset_x = baseX +102 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000041 }) pat:update_frame(560,0,19, { tex_index = 557 , tex_w = 118 , tex_h = 117 , tex_offset_x = baseX +96 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000041 }) pat:update_frame(560,0,20, { tex_index = 558 , tex_w = 120 , tex_h = 119 , tex_offset_x = baseX +100 , tex_offset_y = baseY -0 , hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000041 }) pat:update_frame(560,0,21, { tex_index = 559 , tex_w = 120 , tex_h = 118 , tex_offset_x = baseX +100 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000041 }) --pat:update_frame(560,0,22, { tex_index = 560 , tex_w = 121 , tex_h = 118 , tex_offset_x = baseX +102 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(560,0,22, { tex_index = 239 , tex_w = 121 , tex_h = 114 , tex_offset_x = baseX +56 , tex_offset_y = baseY -8 -4 , duration = 1 , hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000041 }) pat:update_frame(560,0,23, { tex_index = 239 , tex_w = 121 , tex_h = 114 , tex_offset_x = baseX +56 , tex_offset_y = baseY -8 -4 , duration = 1 , hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(99,3,0).collision }) pat:update_frame(560,0,23,function(frame) frame.hurtbox[1].x2 = frame.hurtbox[1].x2 + 80 end) pat:split_frame(560,1,0,1,1) pat:update_frame(560,1,0, { tex_index = 236 , tex_w = 0 , tex_h = 116 , tex_offset_x = baseX -8 , tex_offset_y = baseY -18 , duration = 8 , hurtbox = pat:get_frame(560,0,23).hurtbox , collision = pat:get_frame(99,3,0).collision }) pat:update_frame(560,1,1, { tex_index = 236 , tex_w = 0 , tex_h = 116 , tex_offset_x = baseX -8 , tex_offset_y = baseY -18 , duration = 2 , hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(99,3,0).collision }) pat:update_frame(560,2,0, { tex_index = 240 , tex_w = 140 , tex_h = 114 , tex_offset_x = baseX +140 , tex_offset_y = baseY -8 -4 , duration = 3 , hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(99,3,0).collision , fflags = 0x00000021 }) pat:update_frame(560,2,1, { tex_index = 238 , tex_w = 98 , tex_h = 114 , tex_offset_x = baseX +56 , tex_offset_y = baseY -8 -4 , duration = 12 , hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000021 }) pat:update_frame(560,2,2, { tex_index = 238 , tex_w = 98 , tex_h = 114 , tex_offset_x = baseX +56 , tex_offset_y = baseY -8 -4 , duration = 5 , hurtbox = pat:get_frame(200,0,1).hurtbox , attackbox = pat:get_frame(0,0,0).attackbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000021 }) pat:update_frame(560,2,3, { tex_index = 238 , tex_w = 98 , tex_h = 114 , tex_offset_x = baseX +56 , tex_offset_y = baseY -8 -4 , duration = 5 , hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(560,2,4, { tex_index = 238 , tex_w = 98 , tex_h = 114 , tex_offset_x = baseX +56 , tex_offset_y = baseY -8 -4 , duration = 5 , hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(560,2,5, { tex_index = 238 , tex_w = 98 , tex_h = 114 , tex_offset_x = baseX +56 , tex_offset_y = baseY -8 -4 , duration = 5 , hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(560,2,6, { tex_index = 237 , tex_w = 81 , tex_h = 118 , tex_offset_x = baseX +30 , tex_offset_y = baseY -12 , duration = 3 , hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(560,2,7, { tex_index = 236 , tex_w = 94 , tex_h = 118 , tex_offset_x = baseX +68 , tex_offset_y = baseY -8 , duration = 3 , hurtbox = pat:get_frame(200,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:get_sequence(561,1):set_looped(false) for idx = 2 , 23 do pat:split_frame(561,0,1,2,2) end pat:update_frame(561,0,0, { tex_index = 236 , tex_w = 94 , tex_h = 118 , tex_offset_x = baseX +68 , tex_offset_y = baseY -6 , duration = 3 , hurtbox = pat:get_frame(200,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000041 }) pat:update_frame(561,0,1, { tex_index = 237 , tex_w = 81 , tex_h = 118 , tex_offset_x = baseX +30 , tex_offset_y = baseY -12 , duration = 3 , hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000041 }) pat:update_frame(561,0,2, { tex_index = 238 , tex_w = 98 , tex_h = 114 , tex_offset_x = baseX +56 , tex_offset_y = baseY -8 -4 , duration = 6 , hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000041 }) pat:update_frame(561,0,3, { tex_index = 557 , tex_w = 118 , tex_h = 117 , tex_offset_x = baseX +96 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000041 }) pat:update_frame(561,0,4, { tex_index = 558 , tex_w = 120 , tex_h = 119 , tex_offset_x = baseX +100 , tex_offset_y = baseY -0, hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000041 }) pat:update_frame(561,0,5, { tex_index = 559 , tex_w = 120 , tex_h = 118 , tex_offset_x = baseX +100 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000041 }) pat:update_frame(561,0,6, { tex_index = 560 , tex_w = 121 , tex_h = 118 , tex_offset_x = baseX +102 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000041 }) pat:update_frame(561,0,7, { tex_index = 557 , tex_w = 118 , tex_h = 117 , tex_offset_x = baseX +96 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000041 }) pat:update_frame(561,0,8, { tex_index = 558 , tex_w = 120 , tex_h = 119 , tex_offset_x = baseX +100 , tex_offset_y = baseY -0 , hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000041 }) pat:update_frame(561,0,9, { tex_index = 559 , tex_w = 120 , tex_h = 118 , tex_offset_x = baseX +100 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000041 }) pat:update_frame(561,0,10, { tex_index = 560 , tex_w = 121 , tex_h = 118 , tex_offset_x = baseX +102 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000041 }) pat:update_frame(561,0,11, { tex_index = 557 , tex_w = 118 , tex_h = 117 , tex_offset_x = baseX +96 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000041 }) pat:update_frame(561,0,12, { tex_index = 558 , tex_w = 120 , tex_h = 119 , tex_offset_x = baseX +100 , tex_offset_y = baseY -0 , hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000041 }) pat:update_frame(561,0,13, { tex_index = 559 , tex_w = 120 , tex_h = 118 , tex_offset_x = baseX +100 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000041 }) pat:update_frame(561,0,14, { tex_index = 560 , tex_w = 121 , tex_h = 118 , tex_offset_x = baseX +102 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000041 }) pat:update_frame(561,0,15, { tex_index = 557 , tex_w = 118 , tex_h = 117 , tex_offset_x = baseX +96 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000041 }) pat:update_frame(561,0,16, { tex_index = 558 , tex_w = 120 , tex_h = 119 , tex_offset_x = baseX +100 , tex_offset_y = baseY -0 , hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000041 }) pat:update_frame(561,0,17, { tex_index = 559 , tex_w = 120 , tex_h = 118 , tex_offset_x = baseX +100 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000041 }) pat:update_frame(561,0,18, { tex_index = 560 , tex_w = 121 , tex_h = 118 , tex_offset_x = baseX +102 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000041 }) pat:update_frame(561,0,19, { tex_index = 557 , tex_w = 118 , tex_h = 117 , tex_offset_x = baseX +96 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000041 }) pat:update_frame(561,0,20, { tex_index = 558 , tex_w = 120 , tex_h = 119 , tex_offset_x = baseX +100 , tex_offset_y = baseY -0 , hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000041 }) pat:update_frame(561,0,21, { tex_index = 559 , tex_w = 120 , tex_h = 118 , tex_offset_x = baseX +100 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000041 }) --pat:update_frame(561,0,22, { tex_index = 560 , tex_w = 121 , tex_h = 118 , tex_offset_x = baseX +102 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(561,0,22, { tex_index = 239 , tex_w = 121 , tex_h = 114 , tex_offset_x = baseX +56 , tex_offset_y = baseY -8 -4 , duration = 1 , hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000041 }) pat:update_frame(561,0,23, { tex_index = 239 , tex_w = 121 , tex_h = 114 , tex_offset_x = baseX +56 , tex_offset_y = baseY -8 -4 , duration = 1 , hurtbox = pat:get_frame(560,0,23).hurtbox , collision = pat:get_frame(99,3,0).collision }) pat:split_frame(561,1,0,1,1) pat:update_frame(561,1,0, { tex_index = 236 , tex_w = 0 , tex_h = 116 , tex_offset_x = baseX -8 , tex_offset_y = baseY -18 , duration = 12 , hurtbox = pat:get_frame(560,0,23).hurtbox , collision = pat:get_frame(99,3,0).collision }) pat:update_frame(561,1,1, { tex_index = 236 , tex_w = 0 , tex_h = 116 , tex_offset_x = baseX -8 , tex_offset_y = baseY -18 , duration = 2 , hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(99,3,0).collision }) for idz = 560 , 561 do for idy = 0 , 1 do local idx = 0 if (idy == 0) then idx = 23 end pat:update_frame(idz,idy,idx,function(frame) frame.attackbox = pat:get_frame(561,2,2).attackbox frame.attackbox[1].y1 = frame.attackbox[1].y1 - 80 frame.attackbox[2] = null frame.damage = 900 frame.chip_damage = pat:get_frame(561,2,2).chip_damage frame.untech = 120 frame.aflags = pat:get_frame(561,2,2).aflags frame.fflags = pat:get_frame(561,2,2).fflags frame.limit = pat:get_frame(561,2,2).limit frame.combo_correction = CC_LIFT_ATTACK frame.hit_ani_air = pat:get_frame(561,2,2).hit_ani_air frame.hit_ani_ground = pat:get_frame(561,2,2).hit_ani_ground frame.proration = pat:get_frame(561,2,2).proration frame.sp_damage = pat:get_frame(561,2,2).sp_damage frame.attack_level = pat:get_frame(561,2,2).attack_level frame.card_gain_hit = pat:get_frame(561,2,2).card_gain_hit frame.card_gain_block = pat:get_frame(561,2,2).card_gain_block frame.launch_vector_x = 0 frame.launch_vector_y = 2450 frame.hit_sfx = pat:get_frame(561,2,2).hit_sfx frame.hit_effect = pat:get_frame(561,2,2).hit_effect frame.unknown_9 = 100 frame.hitstop_self = 0 frame.hitstop_enemy = 20 frame.blockstop_self = 0 frame.blockstop_enemy = 20 set_aflag(frame,AF_LOWBLOCK_OK) set_aflag(frame,AF_HIGHBLOCK_OK) unset_aflag(frame,AF_ATTACK_LOW) unset_aflag(frame,AF_ATTACK_HIGH) unset_aflag(frame,AF_COUNTER_HIT) set_aflag(frame,AF_AIR_BLOCKABLE) end) end end pat:update_frame(560,1,1,{fflags = 0x00000021}) pat:update_frame(561,1,1,{fflags = 0x00000021}) pat:update_frame(561,2,0, { tex_index = 240 , tex_w = 140 , tex_h = 114 , tex_offset_x = baseX +140 , tex_offset_y = baseY -8 -4 , duration = 3 , hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(99,3,0).collision , fflags = 0x00000021 }) pat:update_frame(561,2,1, { tex_index = 238 , tex_w = 98 , tex_h = 114 , tex_offset_x = baseX +56 , tex_offset_y = baseY -8 -4 , duration = 12 , hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000021 }) pat:update_frame(561,2,2, { tex_index = 238 , tex_w = 98 , tex_h = 114 , tex_offset_x = baseX +56 , tex_offset_y = baseY -8 -4 , duration = 5 , hurtbox = pat:get_frame(200,0,1).hurtbox , attackbox = pat:get_frame(0,0,0).attackbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000021 }) pat:update_frame(561,2,3, { tex_index = 238 , tex_w = 98 , tex_h = 114 , tex_offset_x = baseX +56 , tex_offset_y = baseY -8 -4 , duration = 5 , hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000021 }) pat:update_frame(561,2,4, { tex_index = 238 , tex_w = 98 , tex_h = 114 , tex_offset_x = baseX +56 , tex_offset_y = baseY -8 -4 , duration = 5 , hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(561,2,5, { tex_index = 238 , tex_w = 98 , tex_h = 114 , tex_offset_x = baseX +56 , tex_offset_y = baseY -8 -4 , duration = 5 , hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(561,2,6, { tex_index = 237 , tex_w = 81 , tex_h = 118 , tex_offset_x = baseX +30 , tex_offset_y = baseY -12 , duration = 3 , hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(561,2,7, { tex_index = 236 , tex_w = 94 , tex_h = 118 , tex_offset_x = baseX +68 , tex_offset_y = baseY -8 , duration = 3 , hurtbox = pat:get_frame(200,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) end function mods.d214(pat) local baseX = 64 +8 local baseY = 183 +50 +4 pat:update_frame(500,0,0, { tex_index = 407 , tex_w = 68 , tex_h = 121 , tex_offset_x = baseX -12 , tex_offset_y = baseY +2 , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(500,0,1, { tex_index = 407 , tex_w = 68 , tex_h = 121 , tex_offset_x = baseX -12 , tex_offset_y = baseY +2 , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(500,0,2, { tex_index = 408 , tex_w = 103 , tex_h = 124 , tex_offset_x = baseX +28 , tex_offset_y = baseY +8 , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(500,0,2,function(frame) frame.hurtbox[1].y1 = frame.hurtbox[1].y1 - 10 frame.hurtbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[2].y1 = frame.hurtbox[1].y1 + 40 frame.hurtbox[2].y2 = frame.hurtbox[2].y1 + 60 frame.hurtbox[2].x1 = frame.hurtbox[1].x2 - 10 frame.hurtbox[2].x2 = frame.hurtbox[2].x1 + 50 end) pat:update_frame(500,0,3, { tex_index = 408 , tex_w = 103 , tex_h = 124 , tex_offset_x = baseX +28 , tex_offset_y = baseY +8 , duration = 2 , hurtbox = pat:get_frame(500,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(500,0,4, { tex_index = 409 , tex_w = 81 , tex_h = 127 , tex_offset_x = baseX +20 , tex_offset_y = baseY +16 , duration = 2 , hurtbox = pat:get_frame(500,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(500,0,5, { tex_index = 409 , tex_w = 81 , tex_h = 127 , tex_offset_x = baseX +20 , tex_offset_y = baseY +16 , duration = 2 , hurtbox = pat:get_frame(500,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(500,0,6, { tex_index = 409 , tex_w = 81 , tex_h = 127 , tex_offset_x = baseX +20 , tex_offset_y = baseY +16 , duration = 2 , hurtbox = pat:get_frame(500,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(500,0,7, { tex_index = 409 , tex_w = 81 , tex_h = 127 , tex_offset_x = baseX +20 , tex_offset_y = baseY +16 , duration = 2 , hurtbox = pat:get_frame(500,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) --pat:update_frame(500,0,6, { tex_index = 410 , tex_w = 103 , tex_h = 124 , tex_offset_x = baseX +30 , tex_offset_y = baseY +10 , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) --pat:update_frame(500,0,7, { tex_index = 410 , tex_w = 103 , tex_h = 124 , tex_offset_x = baseX +30 , tex_offset_y = baseY +10 , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(500,0,8, { tex_index = 411 , tex_w = 75 , tex_h = 138 , tex_offset_x = baseX -36 , tex_offset_y = baseY +38 , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(500,0,8,function(frame) frame.hurtbox[1].x1 = frame.hurtbox[1].x1 + 40 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 + 40 frame.hurtbox[1].y2 = -20 frame.hurtbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[2].x1 = frame.hurtbox[2].x1 - 10 frame.hurtbox[2].y1 = -65 frame.hurtbox[3] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[3].x1 = frame.hurtbox[3].x1 + 80 frame.hurtbox[3].y1 = -80 frame.hurtbox[3].x2 = frame.hurtbox[3].x1 + 40 frame.hurtbox[3].y2 = -30 end) pat:update_frame(500,0,9, { tex_index = 411 , tex_w = 75 , tex_h = 138 , tex_offset_x = baseX -36 , tex_offset_y = baseY +38 , duration = 2 , hurtbox = pat:get_frame(500,0,8).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(500,0,10, { tex_index = 412 , tex_w = 132 , tex_h = 123 , tex_offset_x = baseX -22 , tex_offset_y = baseY +4 , duration = 4 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(500,0,10,function(frame) frame.hurtbox[1].x1 = frame.hurtbox[1].x1 + 50 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 + 60 frame.hurtbox[1].y1 = frame.hurtbox[1].y1 + 30 frame.hurtbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[2].x1 = frame.hurtbox[2].x1 - 10 frame.hurtbox[2].y1 = -55 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 + 20 frame.hurtbox[3] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[3].x1 = frame.hurtbox[3].x1 + 80 frame.hurtbox[3].y1 = -65 frame.hurtbox[3].x2 = frame.hurtbox[3].x1 + 60 frame.hurtbox[4] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[4].x1 = frame.hurtbox[2].x1 + 40 frame.hurtbox[4].y1 = -85 frame.hurtbox[4].x2 = frame.hurtbox[1].x1 + 20 end) pat:update_frame(500,0,11, { tex_index = 413 , tex_w = 131 , tex_h = 97 , tex_offset_x = baseX -22 , tex_offset_y = baseY -48 , duration = 4 , hurtbox = pat:get_frame(500,0,10).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(500,0,12, { tex_index = 413 , tex_w = 131 , tex_h = 97 , tex_offset_x = baseX -22 , tex_offset_y = baseY -48 , duration = 16 , hurtbox = pat:get_frame(500,0,10).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(500,0,13, { tex_index = 414 , tex_w = 103 , tex_h = 118 , tex_offset_x = baseX -18 , tex_offset_y = baseY -0 , duration = 4 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(500,0,13,function(frame) frame.hurtbox[1].x1 = frame.hurtbox[1].x1 + 65 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 + 75 frame.hurtbox[1].y2 = -20 frame.hurtbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[2].x1 = frame.hurtbox[2].x1 + 10 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 + 20 frame.hurtbox[2].y1 = -75 frame.hurtbox[3] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[3].x1 = frame.hurtbox[3].x1 + 100 frame.hurtbox[3].y1 = -80 frame.hurtbox[3].x2 = frame.hurtbox[3].x1 + 50 frame.hurtbox[3].y2 = -30 end) pat:update_frame(500,0,14, { tex_index = 407 , tex_w = 68 , tex_h = 121 , tex_offset_x = baseX -12 , tex_offset_y = baseY +2 , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(500,0,15, { tex_index = 407 , tex_w = 68 , tex_h = 121 , tex_offset_x = baseX -12 , tex_offset_y = baseY +2 , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(501,0,0, { tex_index = 407 , tex_w = 68 , tex_h = 121 , tex_offset_x = baseX -12 , tex_offset_y = baseY +2 , duration = 2 , hurtbox = pat:get_frame(500,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(501,0,1, { tex_index = 407 , tex_w = 68 , tex_h = 121 , tex_offset_x = baseX -12 , tex_offset_y = baseY +2 , duration = 3 , hurtbox = pat:get_frame(500,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(501,0,2, { tex_index = 408 , tex_w = 103 , tex_h = 124 , tex_offset_x = baseX +28 , tex_offset_y = baseY +8 , duration = 2 , hurtbox = pat:get_frame(500,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(501,0,3, { tex_index = 408 , tex_w = 103 , tex_h = 124 , tex_offset_x = baseX +28 , tex_offset_y = baseY +8 , duration = 3 , hurtbox = pat:get_frame(500,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(501,0,4, { tex_index = 409 , tex_w = 81 , tex_h = 127 , tex_offset_x = baseX +20 , tex_offset_y = baseY +16 , duration = 2 , hurtbox = pat:get_frame(500,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(501,0,5, { tex_index = 409 , tex_w = 81 , tex_h = 127 , tex_offset_x = baseX +20 , tex_offset_y = baseY +16 , duration = 7 , hurtbox = pat:get_frame(500,0,5).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(501,0,6, { tex_index = 409 , tex_w = 81 , tex_h = 127 , tex_offset_x = baseX +20 , tex_offset_y = baseY +16 , duration = 2 , hurtbox = pat:get_frame(500,0,6).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(501,0,7, { tex_index = 409 , tex_w = 81 , tex_h = 127 , tex_offset_x = baseX +20 , tex_offset_y = baseY +16 , duration = 7 , hurtbox = pat:get_frame(500,0,7).hurtbox , collision = pat:get_frame(0,0,0).collision }) --pat:update_frame(500,0,6, { tex_index = 410 , tex_w = 103 , tex_h = 124 , tex_offset_x = baseX +30 , tex_offset_y = baseY +10 , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) --pat:update_frame(500,0,7, { tex_index = 410 , tex_w = 103 , tex_h = 124 , tex_offset_x = baseX +30 , tex_offset_y = baseY +10 , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(501,0,8, { tex_index = 411 , tex_w = 75 , tex_h = 138 , tex_offset_x = baseX -36 , tex_offset_y = baseY +38 , duration = 2 , hurtbox = pat:get_frame(500,0,8).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(501,0,9, { tex_index = 411 , tex_w = 75 , tex_h = 138 , tex_offset_x = baseX -36 , tex_offset_y = baseY +38 , duration = 2 , hurtbox = pat:get_frame(500,0,9).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(501,0,10, { tex_index = 412 , tex_w = 132 , tex_h = 123 , tex_offset_x = baseX -22 , tex_offset_y = baseY +4 , duration = 4 , hurtbox = pat:get_frame(500,0,10).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(501,0,11, { tex_index = 413 , tex_w = 131 , tex_h = 97 , tex_offset_x = baseX -22 , tex_offset_y = baseY -48 , duration = 4 , hurtbox = pat:get_frame(500,0,11).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(501,0,12, { tex_index = 413 , tex_w = 131 , tex_h = 97 , tex_offset_x = baseX -22 , tex_offset_y = baseY -48 , duration = 16 , hurtbox = pat:get_frame(500,0,12).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(501,0,13, { tex_index = 414 , tex_w = 103 , tex_h = 118 , tex_offset_x = baseX -18 , tex_offset_y = baseY -0 , duration = 4 , hurtbox = pat:get_frame(500,0,13).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(501,0,14, { tex_index = 407 , tex_w = 68 , tex_h = 121 , tex_offset_x = baseX -12 , tex_offset_y = baseY +2 , duration = 2 , hurtbox = pat:get_frame(500,0,14).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(501,0,15, { tex_index = 407 , tex_w = 68 , tex_h = 121 , tex_offset_x = baseX -12 , tex_offset_y = baseY +2 , duration = 2 , hurtbox = pat:get_frame(500,0,15).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(502,0,0, { tex_index = 407 , tex_w = 68 , tex_h = 121 , tex_offset_x = baseX -12 , tex_offset_y = baseY +2 , duration = 2 , hurtbox = pat:get_frame(500,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(502,0,1, { tex_index = 407 , tex_w = 68 , tex_h = 121 , tex_offset_x = baseX -12 , tex_offset_y = baseY +2 , duration = 3 , hurtbox = pat:get_frame(500,0,1).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(502,0,2, { tex_index = 408 , tex_w = 103 , tex_h = 124 , tex_offset_x = baseX +28 , tex_offset_y = baseY +8 , duration = 2 , hurtbox = pat:get_frame(500,0,2).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(502,0,3, { tex_index = 408 , tex_w = 103 , tex_h = 124 , tex_offset_x = baseX +28 , tex_offset_y = baseY +8 , duration = 3 , hurtbox = pat:get_frame(500,0,3).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(502,0,4, { tex_index = 409 , tex_w = 81 , tex_h = 127 , tex_offset_x = baseX +20 , tex_offset_y = baseY +16 , duration = 2 , hurtbox = pat:get_frame(500,0,4).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(502,0,5, { tex_index = 409 , tex_w = 81 , tex_h = 127 , tex_offset_x = baseX +20 , tex_offset_y = baseY +16 , duration = 5 , hurtbox = pat:get_frame(500,0,5).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(502,0,6, { tex_index = 409 , tex_w = 81 , tex_h = 127 , tex_offset_x = baseX +20 , tex_offset_y = baseY +16 , duration = 2 , hurtbox = pat:get_frame(500,0,6).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(502,0,7, { tex_index = 409 , tex_w = 81 , tex_h = 127 , tex_offset_x = baseX +20 , tex_offset_y = baseY +16 , duration = 5 , hurtbox = pat:get_frame(500,0,7).hurtbox , collision = pat:get_frame(9,0,0).collision }) --pat:update_frame(500,0,6, { tex_index = 410 , tex_w = 103 , tex_h = 124 , tex_offset_x = baseX +30 , tex_offset_y = baseY +10 , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) --pat:update_frame(500,0,7, { tex_index = 410 , tex_w = 103 , tex_h = 124 , tex_offset_x = baseX +30 , tex_offset_y = baseY +10 , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(502,0,8, { tex_index = 411 , tex_w = 75 , tex_h = 138 , tex_offset_x = baseX -36 , tex_offset_y = baseY +38 , duration = 2 , hurtbox = pat:get_frame(500,0,8).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(502,0,9, { tex_index = 411 , tex_w = 75 , tex_h = 138 , tex_offset_x = baseX -36 , tex_offset_y = baseY +38 , duration = 2 , hurtbox = pat:get_frame(500,0,9).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(502,0,10, { tex_index = 412 , tex_w = 132 , tex_h = 123 , tex_offset_x = baseX -22 , tex_offset_y = baseY +4 , duration = 4 , hurtbox = pat:get_frame(500,0,10).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(502,0,11, { tex_index = 413 , tex_w = 131 , tex_h = 97 , tex_offset_x = baseX -22 , tex_offset_y = baseY -48 , duration = 4 , hurtbox = pat:get_frame(500,0,11).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(502,0,12, { tex_index = 413 , tex_w = 131 , tex_h = 97 , tex_offset_x = baseX -22 , tex_offset_y = baseY -48 , duration = 16 , hurtbox = pat:get_frame(500,0,12).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(502,0,13, { tex_index = 414 , tex_w = 103 , tex_h = 118 , tex_offset_x = baseX -18 , tex_offset_y = baseY -0 , duration = 4 , hurtbox = pat:get_frame(500,0,13).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(502,0,14, { tex_index = 407 , tex_w = 68 , tex_h = 121 , tex_offset_x = baseX -12 , tex_offset_y = baseY +2 , duration = 2 , hurtbox = pat:get_frame(500,0,14).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(502,0,15, { tex_index = 407 , tex_w = 68 , tex_h = 121 , tex_offset_x = baseX -12 , tex_offset_y = baseY +2 , duration = 2 , hurtbox = pat:get_frame(500,0,15).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(502,0,16, { tex_index = 318 , tex_w = 100 , tex_h = 121 , tex_offset_x = baseX +46 , tex_offset_y = baseY +20 +0 , duration = 4 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(502,0,17, { tex_index = 321 , tex_w = 96 , tex_h = 126 , tex_offset_x = baseX +46 , tex_offset_y = baseY +16 , duration = 4 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(502,1,0, { tex_index = 237 , tex_w = 81 , tex_h = 118 , tex_offset_x = baseX +30 , tex_offset_y = baseY -12 , duration = 6 , hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(502,1,1, { tex_index = 236 , tex_w = 94 , tex_h = 118 , tex_offset_x = baseX +68 , tex_offset_y = baseY -6 , duration = 5 , hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(503,0,0, { tex_index = 407 , tex_w = 68 , tex_h = 121 , tex_offset_x = baseX -12 , tex_offset_y = baseY +2 , duration = 2 , hurtbox = pat:get_frame(502,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(503,0,1, { tex_index = 407 , tex_w = 68 , tex_h = 121 , tex_offset_x = baseX -12 , tex_offset_y = baseY +2 , duration = 4 , hurtbox = pat:get_frame(502,0,1).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(503,0,2, { tex_index = 408 , tex_w = 103 , tex_h = 124 , tex_offset_x = baseX +28 , tex_offset_y = baseY +8 , duration = 2 , hurtbox = pat:get_frame(502,0,2).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(503,0,3, { tex_index = 408 , tex_w = 103 , tex_h = 124 , tex_offset_x = baseX +28 , tex_offset_y = baseY +8 , duration = 4 , hurtbox = pat:get_frame(502,0,3).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(503,0,4, { tex_index = 409 , tex_w = 81 , tex_h = 127 , tex_offset_x = baseX +20 , tex_offset_y = baseY +16 , duration = 2 , hurtbox = pat:get_frame(502,0,4).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(503,0,5, { tex_index = 409 , tex_w = 81 , tex_h = 127 , tex_offset_x = baseX +20 , tex_offset_y = baseY +16 , duration = 10 , hurtbox = pat:get_frame(502,0,5).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(503,0,6, { tex_index = 409 , tex_w = 81 , tex_h = 127 , tex_offset_x = baseX +20 , tex_offset_y = baseY +16 , duration = 2 , hurtbox = pat:get_frame(502,0,6).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(503,0,7, { tex_index = 409 , tex_w = 81 , tex_h = 127 , tex_offset_x = baseX +20 , tex_offset_y = baseY +16 , duration = 10 , hurtbox = pat:get_frame(502,0,7).hurtbox , collision = pat:get_frame(9,0,0).collision }) --pat:update_frame(500,0,6, { tex_index = 410 , tex_w = 103 , tex_h = 124 , tex_offset_x = baseX +30 , tex_offset_y = baseY +10 , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) --pat:update_frame(500,0,7, { tex_index = 410 , tex_w = 103 , tex_h = 124 , tex_offset_x = baseX +30 , tex_offset_y = baseY +10 , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(503,0,8, { tex_index = 411 , tex_w = 75 , tex_h = 138 , tex_offset_x = baseX -36 , tex_offset_y = baseY +38 , duration = 2 , hurtbox = pat:get_frame(502,0,8).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(503,0,9, { tex_index = 411 , tex_w = 75 , tex_h = 138 , tex_offset_x = baseX -36 , tex_offset_y = baseY +38 , duration = 2 , hurtbox = pat:get_frame(502,0,9).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(503,0,10, { tex_index = 412 , tex_w = 132 , tex_h = 123 , tex_offset_x = baseX -22 , tex_offset_y = baseY +4 , duration = 4 , hurtbox = pat:get_frame(502,0,10).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(503,0,11, { tex_index = 413 , tex_w = 131 , tex_h = 97 , tex_offset_x = baseX -22 , tex_offset_y = baseY -48 , duration = 4 , hurtbox = pat:get_frame(502,0,11).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(503,0,12, { tex_index = 413 , tex_w = 131 , tex_h = 97 , tex_offset_x = baseX -22 , tex_offset_y = baseY -48 , duration = 16 , hurtbox = pat:get_frame(502,0,12).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(503,0,13, { tex_index = 414 , tex_w = 103 , tex_h = 118 , tex_offset_x = baseX -18 , tex_offset_y = baseY -0 , duration = 4 , hurtbox = pat:get_frame(502,0,13).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(503,0,14, { tex_index = 407 , tex_w = 68 , tex_h = 121 , tex_offset_x = baseX -12 , tex_offset_y = baseY +2 , duration = 2 , hurtbox = pat:get_frame(502,0,14).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(503,0,15, { tex_index = 407 , tex_w = 68 , tex_h = 121 , tex_offset_x = baseX -12 , tex_offset_y = baseY +2 , duration = 2 , hurtbox = pat:get_frame(502,0,15).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(503,0,16, { tex_index = 318 , tex_w = 100 , tex_h = 121 , tex_offset_x = baseX +46 , tex_offset_y = baseY +20 +0 , duration = 4 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(503,0,17, { tex_index = 321 , tex_w = 96 , tex_h = 126 , tex_offset_x = baseX +46 , tex_offset_y = baseY +16 , duration = 4 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(503,1,0, { tex_index = 237 , tex_w = 81 , tex_h = 118 , tex_offset_x = baseX +30 , tex_offset_y = baseY -12 , duration = 6 , hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(503,1,1, { tex_index = 236 , tex_w = 94 , tex_h = 118 , tex_offset_x = baseX +68 , tex_offset_y = baseY -6 , duration = 5 , hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) for idy = 0 , 1 do for idx = 8 , 9 do pat:update_frame(502+idy,0,idx,function(frame) frame.tex_offset_x = frame.tex_offset_x + 24 for idz = 1 , 3 do frame.hurtbox[idz].x1 = frame.hurtbox[idz].x1 -24 frame.hurtbox[idz].x2 = frame.hurtbox[idz].x2 -24 end end) end for idx = 10 , 12 do pat:update_frame(502+idy,0,idx,function(frame) frame.tex_offset_x = frame.tex_offset_x + 36 for idz = 1 , 4 do frame.hurtbox[idz].x1 = frame.hurtbox[idz].x1 -36 frame.hurtbox[idz].x2 = frame.hurtbox[idz].x2 -36 end end) end for idx = 13 , 13 do pat:update_frame(502+idy,0,idx,function(frame) frame.tex_offset_x = frame.tex_offset_x + 24 for idz = 1 , 3 do frame.hurtbox[idz].x1 = frame.hurtbox[idz].x1 -24 frame.hurtbox[idz].x2 = frame.hurtbox[idz].x2 -24 end end) end end pat:update_frame(810,1,0,function(frame) frame.tex_w = 0 end) for idx = 1 , 60 do pat:split_frame(810,6,0,1,1) end for idx = 0 , 60 do pat:update_frame(810,6,idx,function(frame) frame.tex_index = 324+idx%8 frame.tex_w = 1024 frame.tex_h = 64 frame.tex_offset_x = 512 frame.tex_offset_y = 32 frame.scale_x = 400 frame.scale_y = 400 frame.duration = 1 local scal = 100 if (idx < 29) then scal = 1 elseif (idx < 39) then scal = (idx-29) elseif (idx < 49) then scal = 10 elseif (idx < 59) then scal = 10-(idx-49) else scal = 0 end frame.scale_y = scal*40 local scalemody = 100/frame.scale_y local scalemodx = 100/frame.scale_x if ((idx>=39) and (idx<=49)) then frame.attackbox[2]=null frame.attackbox[1].y1 = -2000 frame.attackbox[1].y2 = 0 frame.attackbox[1].x1 = -20 frame.attackbox[1].x2 = 20 frame.hurtbox = frame.attackbox else frame.attackbox = pat:get_frame(0,0,0).attackbox end end) end end function mods.d22(pat) --[[ meter peaks at 1F4 (500) that is equivalent to one card 0 = B falling 5 = B landing 6 = B landed 7 = B death 8 = C falling 9 = C landing 10 = C landed 11 = C death ]]-- local baseX = 64 +8 local baseY = 183 +50 +4 pat:update_frame(520,0,0, { tex_index = 519 , tex_w = 67 , tex_h = 122 , tex_offset_x = baseX -16 , tex_offset_y = baseY +4 , duration = 4 , hurtbox = pat:get_frame(400,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(520,0,1, { tex_index = 516 , tex_w = 63 , tex_h = 121 , tex_offset_x = baseX -20 , tex_offset_y = baseY +0 , duration = 4 , hurtbox = pat:get_frame(400,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(520,0,2, { tex_index = 515 , tex_w = 67 , tex_h = 123 , tex_offset_x = baseX -4 , tex_offset_y = baseY -0 , duration = 12 , hurtbox = pat:get_frame(400,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(520,0,3, { tex_index = 515 , tex_w = 67 , tex_h = 123 , tex_offset_x = baseX -4 , tex_offset_y = baseY -0 , duration = 2 , hurtbox = pat:get_frame(400,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(520,0,4, { tex_index = 515 , tex_w = 67 , tex_h = 123 , tex_offset_x = baseX -4 , tex_offset_y = baseY -0 , duration = 2 , hurtbox = pat:get_frame(400,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(520,0,5, { tex_index = 515 , tex_w = 67 , tex_h = 123 , tex_offset_x = baseX -4 , tex_offset_y = baseY -0 , duration = 2 , hurtbox = pat:get_frame(400,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(520,0,6, { tex_index = 515 , tex_w = 67 , tex_h = 123 , tex_offset_x = baseX -4 , tex_offset_y = baseY -0 , duration = 1 , hurtbox = pat:get_frame(400,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(520,0,7, { tex_index = 515 , tex_w = 67 , tex_h = 123 , tex_offset_x = baseX -4 , tex_offset_y = baseY -0 , duration = 1 , hurtbox = pat:get_frame(400,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000001 }) pat:update_frame(520,0,8, { tex_index = 515 , tex_w = 67 , tex_h = 123 , tex_offset_x = baseX -4 , tex_offset_y = baseY -0 , duration = 1 , hurtbox = pat:get_frame(400,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000001 }) pat:update_frame(520,0,9, { tex_index = 515 , tex_w = 67 , tex_h = 123 , tex_offset_x = baseX -4 , tex_offset_y = baseY -0 , duration = 1 , hurtbox = pat:get_frame(400,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000001 }) pat:update_frame(520,0,10, { tex_index = 515 , tex_w = 67 , tex_h = 123 , tex_offset_x = baseX -4 , tex_offset_y = baseY -0 , duration = 1 , hurtbox = pat:get_frame(400,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000001 }) pat:update_frame(520,0,11, { tex_index = 515 , tex_w = 67 , tex_h = 123 , tex_offset_x = baseX -4 , tex_offset_y = baseY -0 , duration = 1 , hurtbox = pat:get_frame(400,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000001 }) pat:update_frame(520,0,12, { tex_index = 516 , tex_w = 63 , tex_h = 121 , tex_offset_x = baseX -20 , tex_offset_y = baseY +0 , duration = 4 , hurtbox = pat:get_frame(400,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(520,0,13, { tex_index = 519 , tex_w = 67 , tex_h = 122 , tex_offset_x = baseX -16 , tex_offset_y = baseY +4 , duration = 4 , hurtbox = pat:get_frame(400,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(521,0,0, { tex_index = 519 , tex_w = 67 , tex_h = 122 , tex_offset_x = baseX -16 , tex_offset_y = baseY +4 , duration = 4 , hurtbox = pat:get_frame(400,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(521,0,1, { tex_index = 516 , tex_w = 63 , tex_h = 121 , tex_offset_x = baseX -20 , tex_offset_y = baseY +0 , duration = 4 , hurtbox = pat:get_frame(400,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(521,0,2, { tex_index = 515 , tex_w = 67 , tex_h = 123 , tex_offset_x = baseX -4 , tex_offset_y = baseY -0 , duration = 22 , hurtbox = pat:get_frame(400,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(521,0,3, { tex_index = 515 , tex_w = 67 , tex_h = 123 , tex_offset_x = baseX -4 , tex_offset_y = baseY -0 , duration = 2 , hurtbox = pat:get_frame(400,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(521,0,4, { tex_index = 515 , tex_w = 67 , tex_h = 123 , tex_offset_x = baseX -4 , tex_offset_y = baseY -0 , duration = 2 , hurtbox = pat:get_frame(400,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(521,0,5, { tex_index = 515 , tex_w = 67 , tex_h = 123 , tex_offset_x = baseX -4 , tex_offset_y = baseY -0 , duration = 2 , hurtbox = pat:get_frame(400,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(521,0,6, { tex_index = 515 , tex_w = 67 , tex_h = 123 , tex_offset_x = baseX -4 , tex_offset_y = baseY -0 , duration = 1 , hurtbox = pat:get_frame(400,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(521,0,7, { tex_index = 515 , tex_w = 67 , tex_h = 123 , tex_offset_x = baseX -4 , tex_offset_y = baseY -0 , duration = 1 , hurtbox = pat:get_frame(400,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000001 }) pat:update_frame(521,0,8, { tex_index = 515 , tex_w = 67 , tex_h = 123 , tex_offset_x = baseX -4 , tex_offset_y = baseY -0 , duration = 1 , hurtbox = pat:get_frame(400,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000001 }) pat:update_frame(521,0,9, { tex_index = 515 , tex_w = 67 , tex_h = 123 , tex_offset_x = baseX -4 , tex_offset_y = baseY -0 , duration = 1 , hurtbox = pat:get_frame(400,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000001 }) pat:update_frame(521,0,10, { tex_index = 515 , tex_w = 67 , tex_h = 123 , tex_offset_x = baseX -4 , tex_offset_y = baseY -0 , duration = 1 , hurtbox = pat:get_frame(400,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000001 }) pat:update_frame(521,0,11, { tex_index = 515 , tex_w = 67 , tex_h = 123 , tex_offset_x = baseX -4 , tex_offset_y = baseY -0 , duration = 1 , hurtbox = pat:get_frame(400,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000001 }) pat:update_frame(521,0,12, { tex_index = 516 , tex_w = 63 , tex_h = 121 , tex_offset_x = baseX -20 , tex_offset_y = baseY +0 , duration = 4 , hurtbox = pat:get_frame(400,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(521,0,13, { tex_index = 519 , tex_w = 67 , tex_h = 122 , tex_offset_x = baseX -16 , tex_offset_y = baseY +4 , duration = 4 , hurtbox = pat:get_frame(400,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(522,0,0, { tex_index = 524 , tex_w = 95 , tex_h = 112 , tex_offset_x = baseX +54 , tex_offset_y = baseY +4 , duration = 4 , hurtbox = pat:get_frame(404,0,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(522,0,1, { tex_index = 521 , tex_w = 116 , tex_h = 111 , tex_offset_x = baseX+102 , tex_offset_y = baseY +6 , duration = 4 , hurtbox = pat:get_frame(404,0,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(522,0,2, { tex_index = 520 , tex_w = 117 , tex_h = 114 , tex_offset_x = baseX +100 , tex_offset_y = baseY +12 , duration = 16 , hurtbox = pat:get_frame(404,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(522,0,3, { tex_index = 520 , tex_w = 117 , tex_h = 114 , tex_offset_x = baseX +100 , tex_offset_y = baseY +12 , duration = 2 , hurtbox = pat:get_frame(404,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(522,0,4, { tex_index = 520 , tex_w = 117 , tex_h = 114 , tex_offset_x = baseX +100 , tex_offset_y = baseY +12 , duration = 2 , hurtbox = pat:get_frame(404,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(522,0,5, { tex_index = 520 , tex_w = 117 , tex_h = 114 , tex_offset_x = baseX +100 , tex_offset_y = baseY +12 , duration = 2 , hurtbox = pat:get_frame(404,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(522,0,6, { tex_index = 520 , tex_w = 117 , tex_h = 114 , tex_offset_x = baseX +100 , tex_offset_y = baseY +12 , duration = 1 , hurtbox = pat:get_frame(404,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(522,0,7, { tex_index = 520 , tex_w = 117 , tex_h = 114 , tex_offset_x = baseX +100 , tex_offset_y = baseY +12 , duration = 1 , hurtbox = pat:get_frame(404,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision , fflags = 0x00000004 }) pat:update_frame(522,0,8, { tex_index = 520 , tex_w = 117 , tex_h = 114 , tex_offset_x = baseX +100 , tex_offset_y = baseY +12 , duration = 1 , hurtbox = pat:get_frame(404,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision , fflags = 0x00000004 }) pat:update_frame(522,0,9, { tex_index = 520 , tex_w = 117 , tex_h = 114 , tex_offset_x = baseX +100 , tex_offset_y = baseY +12 , duration = 1 , hurtbox = pat:get_frame(404,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision , fflags = 0x00000004 }) pat:update_frame(522,0,10, { tex_index = 520 , tex_w = 117 , tex_h = 114 , tex_offset_x = baseX +100 , tex_offset_y = baseY +12 , duration = 1 , hurtbox = pat:get_frame(404,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision , fflags = 0x00000004 }) pat:update_frame(522,0,11, { tex_index = 521 , tex_w = 116 , tex_h = 111 , tex_offset_x = baseX+102 , tex_offset_y = baseY +6 , duration = 4 , hurtbox = pat:get_frame(404,0,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(522,0,12, { tex_index = 524 , tex_w = 95 , tex_h = 112 , tex_offset_x = baseX +54 , tex_offset_y = baseY +4 , duration = 4 , hurtbox = pat:get_frame(404,0,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(522,0,13, { tex_index = 318 , tex_w = 100 , tex_h = 121 , tex_offset_x = baseX +46 , tex_offset_y = baseY +20 +0 , duration = 4 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(522,0,14, { tex_index = 321 , tex_w = 96 , tex_h = 126 , tex_offset_x = baseX +46 , tex_offset_y = baseY +16 , duration = 4 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(522,1,0, { tex_index = 237 , tex_w = 81 , tex_h = 118 , tex_offset_x = baseX +30 , tex_offset_y = baseY -12 , duration = 6 , hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(522,1,1, { tex_index = 236 , tex_w = 94 , tex_h = 118 , tex_offset_x = baseX +68 , tex_offset_y = baseY -6 , duration = 5 , hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(523,0,0, { tex_index = 524 , tex_w = 95 , tex_h = 112 , tex_offset_x = baseX +54 , tex_offset_y = baseY +4 , duration = 4 , hurtbox = pat:get_frame(404,0,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(523,0,1, { tex_index = 521 , tex_w = 116 , tex_h = 111 , tex_offset_x = baseX+102 , tex_offset_y = baseY +6 , duration = 4 , hurtbox = pat:get_frame(404,0,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(523,0,2, { tex_index = 520 , tex_w = 117 , tex_h = 114 , tex_offset_x = baseX +100 , tex_offset_y = baseY +12 , duration = 26 , hurtbox = pat:get_frame(404,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(523,0,3, { tex_index = 520 , tex_w = 117 , tex_h = 114 , tex_offset_x = baseX +100 , tex_offset_y = baseY +12 , duration = 2 , hurtbox = pat:get_frame(404,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(523,0,4, { tex_index = 520 , tex_w = 117 , tex_h = 114 , tex_offset_x = baseX +100 , tex_offset_y = baseY +12 , duration = 2 , hurtbox = pat:get_frame(404,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(523,0,5, { tex_index = 520 , tex_w = 117 , tex_h = 114 , tex_offset_x = baseX +100 , tex_offset_y = baseY +12 , duration = 2 , hurtbox = pat:get_frame(404,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(523,0,6, { tex_index = 520 , tex_w = 117 , tex_h = 114 , tex_offset_x = baseX +100 , tex_offset_y = baseY +12 , duration = 1 , hurtbox = pat:get_frame(404,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(523,0,7, { tex_index = 520 , tex_w = 117 , tex_h = 114 , tex_offset_x = baseX +100 , tex_offset_y = baseY +12 , duration = 1 , hurtbox = pat:get_frame(404,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision , fflags = 0x00000004 }) pat:update_frame(523,0,8, { tex_index = 520 , tex_w = 117 , tex_h = 114 , tex_offset_x = baseX +100 , tex_offset_y = baseY +12 , duration = 1 , hurtbox = pat:get_frame(404,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision , fflags = 0x00000004 }) pat:update_frame(523,0,9, { tex_index = 520 , tex_w = 117 , tex_h = 114 , tex_offset_x = baseX +100 , tex_offset_y = baseY +12 , duration = 1 , hurtbox = pat:get_frame(404,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision , fflags = 0x00000004 }) pat:update_frame(523,0,10, { tex_index = 520 , tex_w = 117 , tex_h = 114 , tex_offset_x = baseX +100 , tex_offset_y = baseY +12 , duration = 1 , hurtbox = pat:get_frame(404,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision , fflags = 0x00000004 }) pat:update_frame(523,0,11, { tex_index = 521 , tex_w = 116 , tex_h = 111 , tex_offset_x = baseX+102 , tex_offset_y = baseY +6 , duration = 4 , hurtbox = pat:get_frame(404,0,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(523,0,12, { tex_index = 524 , tex_w = 95 , tex_h = 112 , tex_offset_x = baseX +54 , tex_offset_y = baseY +4 , duration = 4 , hurtbox = pat:get_frame(404,0,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(523,0,13, { tex_index = 318 , tex_w = 100 , tex_h = 121 , tex_offset_x = baseX +46 , tex_offset_y = baseY +20 +0 , duration = 4 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(523,0,14, { tex_index = 321 , tex_w = 96 , tex_h = 126 , tex_offset_x = baseX +46 , tex_offset_y = baseY +16 , duration = 4 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(523,1,0, { tex_index = 237 , tex_w = 81 , tex_h = 118 , tex_offset_x = baseX +30 , tex_offset_y = baseY -12 , duration = 6 , hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(523,1,1, { tex_index = 236 , tex_w = 94 , tex_h = 118 , tex_offset_x = baseX +68 , tex_offset_y = baseY -6 , duration = 5 , hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) for idx = 2 , 159 do pat:split_frame(815,0,0,1,1) end for idx = 0 , 159 do pat:update_frame(815,0,idx,function(frame) frame.attackbox = pat:get_frame(0,0,0).attackbox frame.hurtbox = pat:get_frame(0,0,0).attackbox frame.tex_index = 423 + idx%10 frame.tex_w = 128 frame.tex_h = 128 frame.tex_offset_x = 64 frame.tex_offset_y = 64 frame.duration = 4 frame.angle_z = 20 frame.scale_x = 200 frame.scale_y = 200 frame.blending_mode = 1 end) end for idx = 0 , 9 do pat:update_frame(815,0,idx,function(frame) frame.duration = 1 frame.scale_x = (idx+1) * 20 frame.scale_y = (idx+1) * 20 end) end for idx = 0 , 3 do pat:update_frame(815,5,idx,function(frame) frame.attackbox = pat:get_frame(0,0,0).attackbox frame.hurtbox = pat:get_frame(0,0,0).attackbox frame.tex_w = 0 end) end for idx = 0 , 1 do pat:update_frame(815,6,idx,function(frame) frame.attackbox = pat:get_frame(0,0,0).attackbox frame.hurtbox = pat:get_frame(0,0,0).attackbox frame.tex_w = 0 end) end for idx = 2 , 9 do pat:split_frame(815,7,0,1,1) end for idx = 0 , 9 do pat:update_frame(815,7,idx,function(frame) frame.attackbox = pat:get_frame(0,0,0).attackbox frame.hurtbox = pat:get_frame(0,0,0).attackbox frame.tex_index = 423 + idx frame.tex_w = 128 frame.tex_h = 128 frame.tex_offset_x = 64 frame.tex_offset_y = 64 frame.duration = 2 frame.angle_z = 20 frame.scale_x = 200 frame.scale_y = 200 frame.blending_mode = 1 end) end end function mods.a236_slash(pat) local baseX = 64 +8 local baseY = 183 +50 +4 pat:update_frame(550,0,0, { tex_index = 17 , tex_w = 56 , tex_h = 121 , tex_offset_x = baseX -26 , tex_offset_y = baseY +4 , duration = 3 , hurtbox = pat:get_frame(305,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000041 }) pat:update_frame(550,0,1, { tex_index = 17 , tex_w = 56 , tex_h = 121 , tex_offset_x = baseX -26 , tex_offset_y = baseY +4 , duration = 2 , hurtbox = pat:get_frame(305,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000041 }) pat:update_frame(550,0,2, { tex_index = 18 , tex_w = 112 , tex_h = 114 , tex_offset_x = baseX +30 , tex_offset_y = baseY -6 , duration = 4 , hurtbox = pat:get_frame(305,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000041 }) pat:update_frame(550,0,3, { tex_index = 19 , tex_w = 112 , tex_h = 114 , tex_offset_x = baseX +46 , tex_offset_y = baseY -8 , duration = 3 , hurtbox = pat:get_frame(305,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000041 }) pat:update_frame(550,0,4, { tex_index = 20 , tex_w = 120 , tex_h = 110 , tex_offset_x = baseX +42 , tex_offset_y = baseY -18 , duration = 3 , hurtbox = pat:get_frame(305,0,4).hurtbox , attackbox = pat:get_frame(305,0,4).attackbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000061 }) pat:update_frame(550,0,5, { tex_index = 20 , tex_w = 120 , tex_h = 110 , tex_offset_x = baseX +42 , tex_offset_y = baseY -18 , duration = 1 , hurtbox = pat:get_frame(305,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000021 }) pat:update_frame(550,0,6, { tex_index = 20 , tex_w = 120 , tex_h = 110 , tex_offset_x = baseX +42 , tex_offset_y = baseY -18 , duration = 1 , hurtbox = pat:get_frame(305,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000021 }) pat:update_frame(550,0,7, { tex_index = 20 , tex_w = 120 , tex_h = 110 , tex_offset_x = baseX +42 , tex_offset_y = baseY -18 , duration = 1 , hurtbox = pat:get_frame(305,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000021 }) pat:update_frame(550,0,8, { tex_index = 20 , tex_w = 120 , tex_h = 110 , tex_offset_x = baseX +42 , tex_offset_y = baseY -18 , duration = 1 , hurtbox = pat:get_frame(305,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000021 }) pat:update_frame(550,0,9, { tex_index = 20 , tex_w = 120 , tex_h = 110 , tex_offset_x = baseX +42 , tex_offset_y = baseY -18 , duration = 1 , hurtbox = pat:get_frame(305,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000021 }) pat:update_frame(550,0,10, { tex_index = 20 , tex_w = 120 , tex_h = 110 , tex_offset_x = baseX +42 , tex_offset_y = baseY -18 , duration = 22-4 , hurtbox = pat:get_frame(305,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000021 }) pat:update_frame(550,0,11, { tex_index = 19 , tex_w = 112 , tex_h = 114 , tex_offset_x = baseX +46 , tex_offset_y = baseY -8 , duration = 5 , hurtbox = pat:get_frame(305,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000021 }) pat:update_frame(550,0,12, { tex_index = 18 , tex_w = 112 , tex_h = 114 , tex_offset_x = baseX +30 , tex_offset_y = baseY -6 , duration = 2 , hurtbox = pat:get_frame(305,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000021 }) pat:update_frame(550,0,13, { tex_index = 18 , tex_w = 112 , tex_h = 114 , tex_offset_x = baseX +30 , tex_offset_y = baseY -6 , duration = 1 , hurtbox = pat:get_frame(305,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000021 }) pat:update_frame(550,0,14, { tex_index = 18 , tex_w = 112 , tex_h = 114 , tex_offset_x = baseX +30 , tex_offset_y = baseY -6 , duration = 1 , hurtbox = pat:get_frame(305,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000021 }) pat:update_frame(550,0,15, { tex_index = 18 , tex_w = 112 , tex_h = 114 , tex_offset_x = baseX +30 , tex_offset_y = baseY -6 , duration = 1 , hurtbox = pat:get_frame(305,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000021 }) for idx = 16 , 16 do pat:remove_frame(550,0,16) end pat:update_frame(550,1,0, { tex_index = 74 , tex_w = 68 , tex_h = 121 , tex_offset_x = baseX -16 , tex_offset_y = baseY +4 , duration = 4 , hurtbox = pat:get_frame(302,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000041 }) pat:update_frame(550,1,1, { tex_index = 75 , tex_w = 121 , tex_h = 117 , tex_offset_x = baseX +104 , tex_offset_y = baseY -10 , duration = 4 , hurtbox = pat:get_frame(302,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000041 }) pat:update_frame(550,1,2, { tex_index = 76 , tex_w = 101 , tex_h = 116 , tex_offset_x = baseX +84 , tex_offset_y = baseY -6 , duration = 4 , hurtbox = pat:get_frame(302,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000041 }) pat:update_frame(550,1,3, { tex_index = 77 , tex_w = 123 , tex_h = 105 , tex_offset_x = baseX +122 , tex_offset_y = baseY -28 , duration = 4 , hurtbox = pat:get_frame(302,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000041 }) pat:update_frame(550,1,4, { tex_index = 78 , tex_w = 150 , tex_h = 107 , tex_offset_x = baseX +78 , tex_offset_y = baseY -24 , duration = 4 , hurtbox = pat:get_frame(302,0,8).hurtbox , attackbox = pat:get_frame(302,0,8).attackbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000061 }) pat:update_frame(550,1,5, { tex_index = 78 , tex_w = 150 , tex_h = 107 , tex_offset_x = baseX +78 , tex_offset_y = baseY -24 , duration = 1 , hurtbox = pat:get_frame(302,0,8).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000021 }) pat:update_frame(550,1,6, { tex_index = 78 , tex_w = 150 , tex_h = 107 , tex_offset_x = baseX +78 , tex_offset_y = baseY -24 , duration = 1 , hurtbox = pat:get_frame(302,0,8).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000021 }) pat:update_frame(550,1,7, { tex_index = 78 , tex_w = 150 , tex_h = 107 , tex_offset_x = baseX +78 , tex_offset_y = baseY -24 , duration = 1 , hurtbox = pat:get_frame(302,0,8).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000021 }) pat:update_frame(550,1,8, { tex_index = 78 , tex_w = 150 , tex_h = 107 , tex_offset_x = baseX +78 , tex_offset_y = baseY -24 , duration = 1 , hurtbox = pat:get_frame(302,0,8).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000021 }) pat:update_frame(550,1,9, { tex_index = 78 , tex_w = 150 , tex_h = 107 , tex_offset_x = baseX +78 , tex_offset_y = baseY -24 , duration = 1 , hurtbox = pat:get_frame(302,0,8).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000021 }) pat:update_frame(550,1,10, { tex_index = 78 , tex_w = 150 , tex_h = 107 , tex_offset_x = baseX +78 , tex_offset_y = baseY -24 , duration = 22 , hurtbox = pat:get_frame(302,0,8).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000021 }) pat:update_frame(550,1,11, { tex_index = 79 , tex_w = 131 , tex_h = 122 , tex_offset_x = baseX +76 , tex_offset_y = baseY +6 , duration = 2 , hurtbox = pat:get_frame(302,0,10).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000021 }) pat:update_frame(550,1,12, { tex_index = 79 , tex_w = 131 , tex_h = 122 , tex_offset_x = baseX +76 , tex_offset_y = baseY +6 , duration = 1 , hurtbox = pat:get_frame(302,0,10).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000021 }) pat:update_frame(550,1,13, { tex_index = 79 , tex_w = 131 , tex_h = 122 , tex_offset_x = baseX +76 , tex_offset_y = baseY +6 , duration = 1 , hurtbox = pat:get_frame(302,0,10).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000021 }) pat:update_frame(550,1,14, { tex_index = 79 , tex_w = 131 , tex_h = 122 , tex_offset_x = baseX +76 , tex_offset_y = baseY +6 , duration = 1 , hurtbox = pat:get_frame(302,0,10).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000021 }) for idx = 15 , 16 do pat:remove_frame(550,1,15) end --[[ pat:update_frame(550,2,0, { tex_index = 17 , tex_w = 56 , tex_h = 121 , tex_offset_x = baseX -26 , tex_offset_y = baseY +4 , duration = 3 , hurtbox = pat:get_frame(305,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000041 }) pat:update_frame(550,2,1, { tex_index = 17 , tex_w = 56 , tex_h = 121 , tex_offset_x = baseX -26 , tex_offset_y = baseY +4 , duration = 2 , hurtbox = pat:get_frame(305,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000041 }) pat:update_frame(550,2,2, { tex_index = 18 , tex_w = 112 , tex_h = 114 , tex_offset_x = baseX +30 , tex_offset_y = baseY -6 , duration = 4 , hurtbox = pat:get_frame(305,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000041 }) pat:update_frame(550,2,3, { tex_index = 19 , tex_w = 112 , tex_h = 114 , tex_offset_x = baseX +46 , tex_offset_y = baseY -8 , duration = 3+0 , hurtbox = pat:get_frame(305,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000041 }) pat:update_frame(550,2,4, { tex_index = 20 , tex_w = 120 , tex_h = 110 , tex_offset_x = baseX +42 , tex_offset_y = baseY -18 , duration = 3 , hurtbox = pat:get_frame(305,0,4).hurtbox , attackbox = pat:get_frame(305,0,4).attackbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000061 }) pat:update_frame(550,2,5, { tex_index = 20 , tex_w = 120 , tex_h = 110 , tex_offset_x = baseX +42 , tex_offset_y = baseY -18 , duration = 1 , hurtbox = pat:get_frame(305,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000021 }) pat:update_frame(550,2,6, { tex_index = 20 , tex_w = 120 , tex_h = 110 , tex_offset_x = baseX +42 , tex_offset_y = baseY -18 , duration = 1 , hurtbox = pat:get_frame(305,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000021 }) pat:update_frame(550,2,7, { tex_index = 20 , tex_w = 120 , tex_h = 110 , tex_offset_x = baseX +42 , tex_offset_y = baseY -18 , duration = 1 , hurtbox = pat:get_frame(305,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000021 }) pat:update_frame(550,2,8, { tex_index = 20 , tex_w = 120 , tex_h = 110 , tex_offset_x = baseX +42 , tex_offset_y = baseY -18 , duration = 1 , hurtbox = pat:get_frame(305,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000021 }) pat:update_frame(550,2,9, { tex_index = 20 , tex_w = 120 , tex_h = 110 , tex_offset_x = baseX +42 , tex_offset_y = baseY -18 , duration = 1 , hurtbox = pat:get_frame(305,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000021 }) pat:update_frame(550,2,10, { tex_index = 20 , tex_w = 120 , tex_h = 110 , tex_offset_x = baseX +42 , tex_offset_y = baseY -18 , duration = 22-4 , hurtbox = pat:get_frame(305,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000021 }) pat:update_frame(550,2,11, { tex_index = 19 , tex_w = 112 , tex_h = 114 , tex_offset_x = baseX +46 , tex_offset_y = baseY -8 , duration = 5 , hurtbox = pat:get_frame(305,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000021 }) pat:update_frame(550,2,12, { tex_index = 18 , tex_w = 112 , tex_h = 114 , tex_offset_x = baseX +30 , tex_offset_y = baseY -6 , duration = 2 , hurtbox = pat:get_frame(305,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000021 }) pat:update_frame(550,2,13, { tex_index = 18 , tex_w = 112 , tex_h = 114 , tex_offset_x = baseX +30 , tex_offset_y = baseY -6 , duration = 1 , hurtbox = pat:get_frame(305,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000021 }) pat:update_frame(550,2,14, { tex_index = 18 , tex_w = 112 , tex_h = 114 , tex_offset_x = baseX +30 , tex_offset_y = baseY -6 , duration = 1 , hurtbox = pat:get_frame(305,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000021 }) pat:update_frame(550,2,15, { tex_index = 18 , tex_w = 112 , tex_h = 114 , tex_offset_x = baseX +30 , tex_offset_y = baseY -6 , duration = 1 , hurtbox = pat:get_frame(305,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000021 }) for idx = 16 , 16 do pat:remove_frame(550,2,16) end ]]-- pat:update_frame(550,2,0, { tex_index = 2 , tex_w = 56 , tex_h = 119 , tex_offset_x = baseX -18 , tex_offset_y = baseY +0 , duration = 4 , hurtbox = pat:get_frame(321,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000041 }) pat:update_frame(550,2,1, { tex_index = 2 , tex_w = 56 , tex_h = 119 , tex_offset_x = baseX -18 , tex_offset_y = baseY +0 , duration = 4 , hurtbox = pat:get_frame(321,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000041 }) pat:update_frame(550,2,2, { tex_index = 3 , tex_w = 103 , tex_h = 127 , tex_offset_x = baseX +60 , tex_offset_y = baseY +18 , duration = 4 , hurtbox = pat:get_frame(321,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000041 }) pat:update_frame(550,2,3, { tex_index = 3 , tex_w = 103 , tex_h = 127 , tex_offset_x = baseX +60 , tex_offset_y = baseY +18 , duration = 8 , hurtbox = pat:get_frame(321,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000041 }) pat:update_frame(550,2,4, { tex_index = 8 , tex_w = 173 , tex_h = 146 , tex_offset_x = baseX +6 , tex_offset_y = baseY +52 , duration = 4 , hurtbox = pat:get_frame(321,0,3).hurtbox , attackbox = pat:get_frame(321,0,3).attackbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000061 }) pat:update_frame(550,2,5, { tex_index = 5 , tex_w = 152 , tex_h = 126 , tex_offset_x = baseX +20 , tex_offset_y = baseY -4 , duration = 4 , hurtbox = pat:get_frame(321,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000021 }) pat:update_frame(550,2,6, { tex_index = 6 , tex_w = 104 , tex_h = 127 , tex_offset_x = baseX +40 , tex_offset_y = baseY -8 , duration = 4 , hurtbox = pat:get_frame(321,0,5).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000021 }) pat:update_frame(550,2,7, { tex_index = 7 , tex_w = 104 , tex_h = 122 , tex_offset_x = baseX +40 , tex_offset_y = baseY -10 , duration = 4 , hurtbox = pat:get_frame(321,0,5).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000021 }) pat:update_frame(550,2,8, { tex_index = 7 , tex_w = 104 , tex_h = 122 , tex_offset_x = baseX +40 , tex_offset_y = baseY -10 , duration = 1 , hurtbox = pat:get_frame(321,0,5).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000021 }) pat:update_frame(550,2,9, { tex_index = 7 , tex_w = 104 , tex_h = 122 , tex_offset_x = baseX +40 , tex_offset_y = baseY -10 , duration = 1 , hurtbox = pat:get_frame(321,0,5).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000021 }) pat:update_frame(550,2,10, { tex_index = 7 , tex_w = 104 , tex_h = 122 , tex_offset_x = baseX +40 , tex_offset_y = baseY -10 , duration = 1 , hurtbox = pat:get_frame(321,0,5).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000021 }) pat:update_frame(550,2,11, { tex_index = 7 , tex_w = 104 , tex_h = 122 , tex_offset_x = baseX +40 , tex_offset_y = baseY -10 , duration = 1 , hurtbox = pat:get_frame(321,0,5).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000021 }) pat:update_frame(550,2,12, { tex_index = 7 , tex_w = 104 , tex_h = 122 , tex_offset_x = baseX +40 , tex_offset_y = baseY -10 , duration = 20 , hurtbox = pat:get_frame(321,0,5).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000021 }) pat:update_frame(550,2,13, { tex_index = 4 , tex_w = 103 , tex_h = 118 , tex_offset_x = baseX +30 , tex_offset_y = baseY -10 , duration = 3 , hurtbox = pat:get_frame(321,0,5).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000021 }) pat:update_frame(550,2,14, { tex_index = 21 , tex_w = 68 , tex_h = 121 , tex_offset_x = baseX -12 , tex_offset_y = baseY +2 , duration = 3 , hurtbox = pat:get_frame(321,0,9).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000021 }) for idx = 15 , 16 do pat:remove_frame(550,2,15) end pat:update_frame(550,3,0, { tex_index = 74 , tex_w = 68 , tex_h = 121 , tex_offset_x = baseX -16 , tex_offset_y = baseY +4 , duration = 4 , hurtbox = pat:get_frame(302,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000041 }) pat:update_frame(550,3,1, { tex_index = 75 , tex_w = 121 , tex_h = 117 , tex_offset_x = baseX +104 , tex_offset_y = baseY -10 , duration = 4 , hurtbox = pat:get_frame(302,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000041 }) pat:update_frame(550,3,2, { tex_index = 76 , tex_w = 101 , tex_h = 116 , tex_offset_x = baseX +84 , tex_offset_y = baseY -6 , duration = 4 , hurtbox = pat:get_frame(302,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000041 }) pat:update_frame(550,3,3, { tex_index = 77 , tex_w = 123 , tex_h = 105 , tex_offset_x = baseX +122 , tex_offset_y = baseY -28 , duration = 4 , hurtbox = pat:get_frame(302,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000041 }) pat:update_frame(550,3,4, { tex_index = 78 , tex_w = 150 , tex_h = 107 , tex_offset_x = baseX +78 , tex_offset_y = baseY -24 , duration = 4 , hurtbox = pat:get_frame(302,0,8).hurtbox , attackbox = pat:get_frame(302,0,8).attackbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000061 }) pat:update_frame(550,3,5, { tex_index = 78 , tex_w = 150 , tex_h = 107 , tex_offset_x = baseX +78 , tex_offset_y = baseY -24 , duration = 1 , hurtbox = pat:get_frame(302,0,8).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000021 }) pat:update_frame(550,3,6, { tex_index = 78 , tex_w = 150 , tex_h = 107 , tex_offset_x = baseX +78 , tex_offset_y = baseY -24 , duration = 1 , hurtbox = pat:get_frame(302,0,8).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000021 }) pat:update_frame(550,3,7, { tex_index = 78 , tex_w = 150 , tex_h = 107 , tex_offset_x = baseX +78 , tex_offset_y = baseY -24 , duration = 1 , hurtbox = pat:get_frame(302,0,8).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000021 }) pat:update_frame(550,3,8, { tex_index = 78 , tex_w = 150 , tex_h = 107 , tex_offset_x = baseX +78 , tex_offset_y = baseY -24 , duration = 1 , hurtbox = pat:get_frame(302,0,8).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000021 }) pat:update_frame(550,3,9, { tex_index = 78 , tex_w = 150 , tex_h = 107 , tex_offset_x = baseX +78 , tex_offset_y = baseY -24 , duration = 1 , hurtbox = pat:get_frame(302,0,8).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000021 }) pat:update_frame(550,3,10, { tex_index = 78 , tex_w = 150 , tex_h = 107 , tex_offset_x = baseX +78 , tex_offset_y = baseY -24 , duration = 22 , hurtbox = pat:get_frame(302,0,8).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000021 }) pat:update_frame(550,3,11, { tex_index = 79 , tex_w = 131 , tex_h = 122 , tex_offset_x = baseX +76 , tex_offset_y = baseY +6 , duration = 2 , hurtbox = pat:get_frame(302,0,10).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000021 }) pat:update_frame(550,3,12, { tex_index = 79 , tex_w = 131 , tex_h = 122 , tex_offset_x = baseX +76 , tex_offset_y = baseY +6 , duration = 1 , hurtbox = pat:get_frame(302,0,10).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000021 }) pat:update_frame(550,3,13, { tex_index = 79 , tex_w = 131 , tex_h = 122 , tex_offset_x = baseX +76 , tex_offset_y = baseY +6 , duration = 1 , hurtbox = pat:get_frame(302,0,10).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000021 }) pat:update_frame(550,3,14, { tex_index = 79 , tex_w = 131 , tex_h = 122 , tex_offset_x = baseX +76 , tex_offset_y = baseY +6 , duration = 1 , hurtbox = pat:get_frame(302,0,10).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000021 }) for idx = 15 , 16 do pat:remove_frame(550,3,15) end local baseY1 = -46 local baseY2 = -36 local baseY3 = -16 pat:update_frame(551,0,0, { tex_index = 17 , tex_w = 56 , tex_h = 121 , tex_offset_x = baseX -26 , tex_offset_y = baseY +4 , duration = 3 , hurtbox = pat:get_frame(305,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000041 }) pat:update_frame(551,0,1, { tex_index = 17 , tex_w = 56 , tex_h = 121 , tex_offset_x = baseX -26 , tex_offset_y = baseY +4 , duration = 2 , hurtbox = pat:get_frame(305,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000041 }) pat:update_frame(551,0,2, { tex_index = 561 , tex_w = 112 , tex_h = 114 , tex_offset_x = baseX +30 , tex_offset_y = baseY -6 +baseY3 , duration = 4 , hurtbox = pat:get_frame(305,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision , fflags = 0x00000042 }) pat:update_frame(551,0,2,function(frame) frame.hurtbox[1].y1 = frame.hurtbox[1].y1 - baseY3 end) pat:update_frame(551,0,3, { tex_index = 562 , tex_w = 112 , tex_h = 114 , tex_offset_x = baseX +46 , tex_offset_y = baseY -8 +baseY2 , duration = 3 , hurtbox = pat:get_frame(303,0,1).hurtbox , collision = pat:get_frame(2,0,0).collision , fflags = 0x00000042 }) pat:update_frame(551,0,3,function(frame) frame.hurtbox[1].y1 = frame.hurtbox[1].y1 + baseY2 frame.hurtbox[1].y2 = frame.hurtbox[1].y2 + baseY2 frame.hurtbox[2].y1 = frame.hurtbox[2].y1 + baseY2 frame.hurtbox[2].y2 = 0 frame.hurtbox[3].y1 = frame.hurtbox[3].y1 + baseY2 frame.hurtbox[3].y2 = frame.hurtbox[3].y2 + baseY2 end) pat:update_frame(551,0,4, { tex_index = 563 , tex_w = 126 , tex_h = 110 , tex_offset_x = baseX +42 , tex_offset_y = baseY -18 +baseY1 , duration = 3 , hurtbox = pat:get_frame(303,0,3).hurtbox , attackbox = pat:get_frame(303,0,3).attackbox , collision = pat:get_frame(2,0,0).collision , fflags = 0x00000062 }) pat:update_frame(551,0,4,function(frame) frame.hurtbox[1].x2 = frame.hurtbox[1].x2 + 10 frame.hurtbox[2].x1 = frame.hurtbox[2].x1 + 10 frame.hurtbox[3].x1 = frame.hurtbox[3].x1 + 20 frame.hurtbox[4].x1 = frame.hurtbox[4].x1 + 20 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 + 30 frame.hurtbox[3].x2 = frame.hurtbox[3].x2 + 30 frame.hurtbox[4].x2 = frame.hurtbox[4].x2 + 30 frame.attackbox[1].x2 = frame.attackbox[1].x2 + 10 end) pat:update_frame(551,0,5, { tex_index = 563 , tex_w = 126 , tex_h = 110 , tex_offset_x = baseX +42 , tex_offset_y = baseY -18 +baseY1 , duration = 1 , hurtbox = pat:get_frame(551,0,4).hurtbox , collision = pat:get_frame(2,0,0).collision , fflags = 0x00000022 }) pat:update_frame(551,0,6, { tex_index = 563 , tex_w = 126 , tex_h = 110 , tex_offset_x = baseX +42 , tex_offset_y = baseY -18 +baseY1 , duration = 1 , hurtbox = pat:get_frame(551,0,4).hurtbox , collision = pat:get_frame(2,0,0).collision , fflags = 0x00000022 }) pat:update_frame(551,0,7, { tex_index = 563 , tex_w = 126 , tex_h = 110 , tex_offset_x = baseX +42 , tex_offset_y = baseY -18 +baseY1 , duration = 1 , hurtbox = pat:get_frame(551,0,4).hurtbox , collision = pat:get_frame(2,0,0).collision , fflags = 0x00000022 }) pat:update_frame(551,0,8, { tex_index = 563 , tex_w = 126 , tex_h = 110 , tex_offset_x = baseX +42 , tex_offset_y = baseY -18 +baseY1 , duration = 1 , hurtbox = pat:get_frame(551,0,4).hurtbox , collision = pat:get_frame(2,0,0).collision , fflags = 0x00000022 }) pat:update_frame(551,0,9, { tex_index = 563 , tex_w = 126 , tex_h = 110 , tex_offset_x = baseX +42 , tex_offset_y = baseY -18 +baseY1 , duration = 1 , hurtbox = pat:get_frame(551,0,4).hurtbox , collision = pat:get_frame(2,0,0).collision , fflags = 0x00000022 }) pat:update_frame(551,0,10, { tex_index = 563 , tex_w = 126 , tex_h = 110 , tex_offset_x = baseX +42 , tex_offset_y = baseY -18 +baseY1 , duration = 21-3 , hurtbox = pat:get_frame(551,0,4).hurtbox , collision = pat:get_frame(2,0,0).collision , fflags = 0x00000022 }) pat:update_frame(551,0,11, { tex_index = 562 , tex_w = 112 , tex_h = 114 , tex_offset_x = baseX +46 , tex_offset_y = baseY -8 +baseY2 , duration = 5 , hurtbox = pat:get_frame(551,0,3).hurtbox , collision = pat:get_frame(2,0,0).collision , fflags = 0x00000022 }) pat:update_frame(551,0,12, { tex_index = 561 , tex_w = 112 , tex_h = 114 , tex_offset_x = baseX +30 , tex_offset_y = baseY -6 +baseY3 , duration = 2 , hurtbox = pat:get_frame(551,0,2).hurtbox , collision = pat:get_frame(2,0,0).collision , fflags = 0x00000022 }) pat:update_frame(551,0,13, { tex_index = 561 , tex_w = 112 , tex_h = 114 , tex_offset_x = baseX +30 , tex_offset_y = baseY -6 +baseY3 , duration = 1 , hurtbox = pat:get_frame(551,0,2).hurtbox , collision = pat:get_frame(2,0,0).collision , fflags = 0x00000022 }) pat:update_frame(551,0,14, { tex_index = 561 , tex_w = 112 , tex_h = 114 , tex_offset_x = baseX +30 , tex_offset_y = baseY -6 +baseY3 , duration = 1 , hurtbox = pat:get_frame(551,0,2).hurtbox , collision = pat:get_frame(2,0,0).collision , fflags = 0x00000022 }) pat:update_frame(551,0,15, { tex_index = 561 , tex_w = 112 , tex_h = 114 , tex_offset_x = baseX +30 , tex_offset_y = baseY -6 +baseY3 , duration = 1 , hurtbox = pat:get_frame(551,0,2).hurtbox , collision = pat:get_frame(2,0,0).collision , fflags = 0x00000022 }) for idx = 16 , 16 do pat:remove_frame(551,0,16) end pat:update_frame(551,1,0, { tex_index = 22 , tex_w = 101 , tex_h = 109 , tex_offset_x = baseX +70 , tex_offset_y = baseY -40 , duration = 3 , hurtbox = pat:get_frame(303,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision , fflags = 0x00000042 }) pat:update_frame(551,1,1, { tex_index = 22 , tex_w = 101 , tex_h = 109 , tex_offset_x = baseX +70 , tex_offset_y = baseY -40 , duration = 2 , hurtbox = pat:get_frame(303,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision , fflags = 0x00000042 }) pat:update_frame(551,1,2, { tex_index = 23 , tex_w = 123 , tex_h = 94 , tex_offset_x = baseX +114 , tex_offset_y = baseY -54 , duration = 3 , hurtbox = pat:get_frame(303,0,1).hurtbox , collision = pat:get_frame(2,0,0).collision , fflags = 0x00000042 }) pat:update_frame(551,1,3, { tex_index = 23 , tex_w = 123 , tex_h = 94 , tex_offset_x = baseX +114 , tex_offset_y = baseY -54 , duration = 2 , hurtbox = pat:get_frame(303,0,1).hurtbox , collision = pat:get_frame(2,0,0).collision , fflags = 0x00000042 }) pat:update_frame(551,1,4, { tex_index = 24 , tex_w = 152 , tex_h = 112 , tex_offset_x = baseX +130 , tex_offset_y = baseY -20 , duration = 3 , hurtbox = pat:get_frame(303,0,3).hurtbox , attackbox = pat:get_frame(303,0,3).attackbox , collision = pat:get_frame(2,0,0).collision , fflags = 0x00000062 }) pat:update_frame(551,1,5, { tex_index = 24 , tex_w = 152 , tex_h = 112 , tex_offset_x = baseX +130 , tex_offset_y = baseY -20 , duration = 1 , hurtbox = pat:get_frame(303,0,3).hurtbox , collision = pat:get_frame(2,0,0).collision , fflags = 0x00000022 }) pat:update_frame(551,1,6, { tex_index = 24 , tex_w = 152 , tex_h = 112 , tex_offset_x = baseX +130 , tex_offset_y = baseY -20 , duration = 1 , hurtbox = pat:get_frame(303,0,3).hurtbox , collision = pat:get_frame(2,0,0).collision , fflags = 0x00000022 }) pat:update_frame(551,1,7, { tex_index = 24 , tex_w = 152 , tex_h = 112 , tex_offset_x = baseX +130 , tex_offset_y = baseY -20 , duration = 1 , hurtbox = pat:get_frame(303,0,3).hurtbox , collision = pat:get_frame(2,0,0).collision , fflags = 0x00000022 }) pat:update_frame(551,1,8, { tex_index = 24 , tex_w = 152 , tex_h = 112 , tex_offset_x = baseX +130 , tex_offset_y = baseY -20 , duration = 1 , hurtbox = pat:get_frame(303,0,3).hurtbox , collision = pat:get_frame(2,0,0).collision , fflags = 0x00000022 }) pat:update_frame(551,1,9, { tex_index = 24 , tex_w = 152 , tex_h = 112 , tex_offset_x = baseX +130 , tex_offset_y = baseY -20 , duration = 1 , hurtbox = pat:get_frame(303,0,3).hurtbox , collision = pat:get_frame(2,0,0).collision , fflags = 0x00000022 }) pat:update_frame(551,1,10, { tex_index = 24 , tex_w = 152 , tex_h = 112 , tex_offset_x = baseX +130 , tex_offset_y = baseY -20 , duration = 21-5 , hurtbox = pat:get_frame(303,0,3).hurtbox , collision = pat:get_frame(2,0,0).collision , fflags = 0x00000022 }) pat:update_frame(551,1,11, { tex_index = 25 , tex_w = 144 , tex_h = 100 , tex_offset_x = baseX +128 , tex_offset_y = baseY -50 , duration = 5 , hurtbox = pat:get_frame(303,0,3).hurtbox , collision = pat:get_frame(2,0,0).collision , fflags = 0x00000022 }) pat:update_frame(551,1,12, { tex_index = 26 , tex_w = 91 , tex_h = 95 , tex_offset_x = baseX +60 , tex_offset_y = baseY -50 , duration = 5 , hurtbox = pat:get_frame(303,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision , fflags = 0x00000022 }) pat:update_frame(551,1,13, { tex_index = 439 , tex_w = 92 , tex_h = 102 , tex_offset_x = baseX +36 , tex_offset_y = baseY -36 , duration = 2 , hurtbox = pat:get_frame(2,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision , fflags = 0x00000022 }) for idx = 14 , 16 do pat:remove_frame(551,1,14) end --[[ pat:update_frame(551,2,0, { tex_index = 17 , tex_w = 56 , tex_h = 121 , tex_offset_x = baseX -26 , tex_offset_y = baseY +4 , duration = 3 , hurtbox = pat:get_frame(551,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000041 }) pat:update_frame(551,2,1, { tex_index = 17 , tex_w = 56 , tex_h = 121 , tex_offset_x = baseX -26 , tex_offset_y = baseY +4 , duration = 2 , hurtbox = pat:get_frame(551,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000041 }) pat:update_frame(551,2,2, { tex_index = 561 , tex_w = 112 , tex_h = 114 , tex_offset_x = baseX +30 , tex_offset_y = baseY -6 +baseY3 , duration = 4 , hurtbox = pat:get_frame(551,0,2).hurtbox , collision = pat:get_frame(2,0,0).collision , fflags = 0x00000042 }) pat:update_frame(551,2,3, { tex_index = 562 , tex_w = 112 , tex_h = 114 , tex_offset_x = baseX +46 , tex_offset_y = baseY -8 +baseY2 , duration = 3+0 , hurtbox = pat:get_frame(551,0,3).hurtbox , collision = pat:get_frame(2,0,0).collision , fflags = 0x00000042 }) pat:update_frame(551,2,4, { tex_index = 563 , tex_w = 126 , tex_h = 110 , tex_offset_x = baseX +42 , tex_offset_y = baseY -18 +baseY1 , duration = 3 , hurtbox = pat:get_frame(551,0,4).hurtbox , attackbox = pat:get_frame(303,0,3).attackbox , collision = pat:get_frame(2,0,0).collision , fflags = 0x00000062 }) pat:update_frame(551,2,5, { tex_index = 563 , tex_w = 126 , tex_h = 110 , tex_offset_x = baseX +42 , tex_offset_y = baseY -18 +baseY1 , duration = 1 , hurtbox = pat:get_frame(551,0,4).hurtbox , collision = pat:get_frame(2,0,0).collision , fflags = 0x00000022 }) pat:update_frame(551,2,6, { tex_index = 563 , tex_w = 126 , tex_h = 110 , tex_offset_x = baseX +42 , tex_offset_y = baseY -18 +baseY1 , duration = 1 , hurtbox = pat:get_frame(551,0,4).hurtbox , collision = pat:get_frame(2,0,0).collision , fflags = 0x00000022 }) pat:update_frame(551,2,7, { tex_index = 563 , tex_w = 126 , tex_h = 110 , tex_offset_x = baseX +42 , tex_offset_y = baseY -18 +baseY1 , duration = 1 , hurtbox = pat:get_frame(551,0,4).hurtbox , collision = pat:get_frame(2,0,0).collision , fflags = 0x00000022 }) pat:update_frame(551,2,8, { tex_index = 563 , tex_w = 126 , tex_h = 110 , tex_offset_x = baseX +42 , tex_offset_y = baseY -18 +baseY1 , duration = 1 , hurtbox = pat:get_frame(551,0,4).hurtbox , collision = pat:get_frame(2,0,0).collision , fflags = 0x00000022 }) pat:update_frame(551,2,9, { tex_index = 563 , tex_w = 126 , tex_h = 110 , tex_offset_x = baseX +42 , tex_offset_y = baseY -18 +baseY1 , duration = 1 , hurtbox = pat:get_frame(551,0,4).hurtbox , collision = pat:get_frame(2,0,0).collision , fflags = 0x00000022 }) pat:update_frame(551,2,10, { tex_index = 563 , tex_w = 126 , tex_h = 110 , tex_offset_x = baseX +42 , tex_offset_y = baseY -18 +baseY1 , duration = 21-3 , hurtbox = pat:get_frame(551,0,4).hurtbox , collision = pat:get_frame(2,0,0).collision , fflags = 0x00000022 }) pat:update_frame(551,2,11, { tex_index = 562 , tex_w = 112 , tex_h = 114 , tex_offset_x = baseX +46 , tex_offset_y = baseY -8 +baseY2 , duration = 5 , hurtbox = pat:get_frame(551,0,3).hurtbox , collision = pat:get_frame(2,0,0).collision , fflags = 0x00000022 }) pat:update_frame(551,2,12, { tex_index = 561 , tex_w = 112 , tex_h = 114 , tex_offset_x = baseX +30 , tex_offset_y = baseY -6 +baseY3 , duration = 2 , hurtbox = pat:get_frame(551,0,2).hurtbox , collision = pat:get_frame(2,0,0).collision , fflags = 0x00000022 }) pat:update_frame(551,2,13, { tex_index = 561 , tex_w = 112 , tex_h = 114 , tex_offset_x = baseX +30 , tex_offset_y = baseY -6 +baseY3 , duration = 1 , hurtbox = pat:get_frame(551,0,2).hurtbox , collision = pat:get_frame(2,0,0).collision , fflags = 0x00000022 }) pat:update_frame(551,2,14, { tex_index = 561 , tex_w = 112 , tex_h = 114 , tex_offset_x = baseX +30 , tex_offset_y = baseY -6 +baseY3 , duration = 1 , hurtbox = pat:get_frame(551,0,2).hurtbox , collision = pat:get_frame(2,0,0).collision , fflags = 0x00000022 }) pat:update_frame(551,2,15, { tex_index = 561 , tex_w = 112 , tex_h = 114 , tex_offset_x = baseX +30 , tex_offset_y = baseY -6 +baseY3 , duration = 1 , hurtbox = pat:get_frame(551,0,2).hurtbox , collision = pat:get_frame(2,0,0).collision , fflags = 0x00000022 }) ]]-- pat:update_frame(551,2,0, { tex_index = 236 , tex_w = 94 , tex_h = 118 , tex_offset_x = baseX +68-12 +0 , tex_offset_y = baseY -6 , duration = 4 , hurtbox = pat:get_frame(401,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000042 }) pat:update_frame(551,2,1, { tex_index = 238 , tex_w = 98 , tex_h = 114 , tex_offset_x = baseX +56 +0 , tex_offset_y = baseY -8 -4 , duration = 3 , hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000042 }) pat:update_frame(551,2,2, { tex_index = 10 , tex_w = 103 , tex_h = 109 , tex_offset_x = baseX +78 , tex_offset_y = baseY -20 , duration = 3 , hurtbox = pat:get_frame(304,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000042 }) pat:update_frame(551,2,3, { tex_index = 11 , tex_w = 152 , tex_h = 130 , tex_offset_x = baseX +112 , tex_offset_y = baseY +26 , duration = 3 , hurtbox = pat:get_frame(304,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000042 }) pat:update_frame(551,2,4, { tex_index = 12 , tex_w = 132 , tex_h = 108 , tex_offset_x = baseX +36 , tex_offset_y = baseY -24 , duration = 3 , hurtbox = pat:get_frame(304,0,4).hurtbox , attackbox = pat:get_frame(304,0,4).attackbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000062 }) pat:update_frame(551,2,5, { tex_index = 434 , tex_w = 92 , tex_h = 102 , tex_offset_x = baseX +36 , tex_offset_y = baseY -36 , duration = 3 , hurtbox = pat:get_frame(304,0,5).hurtbox , attackbox = pat:get_frame(304,0,5).attackbox , collision = pat:get_frame(2,0,0).collision , fflags = 0x00000062 }) pat:update_frame(551,2,6, { tex_index = 63 , tex_w = 142 , tex_h = 102 , tex_offset_x = baseX +86 , tex_offset_y = baseY -36 , duration = 20 , hurtbox = pat:get_frame(304,0,6).hurtbox , collision = pat:get_frame(2,0,0).collision , fflags = 0x00000022 }) pat:update_frame(551,2,7, { tex_index = 63 , tex_w = 142 , tex_h = 102 , tex_offset_x = baseX +86 , tex_offset_y = baseY -36 , duration = 4 , hurtbox = pat:get_frame(304,0,6).hurtbox , collision = pat:get_frame(2,0,0).collision , fflags = 0x00000022 }) pat:update_frame(551,2,8, { tex_index = 63 , tex_w = 142 , tex_h = 102 , tex_offset_x = baseX +86 , tex_offset_y = baseY -36 , duration = 4 , hurtbox = pat:get_frame(304,0,6).hurtbox , collision = pat:get_frame(2,0,0).collision , fflags = 0x00000022 }) pat:update_frame(551,2,9, { tex_index = 63 , tex_w = 142 , tex_h = 102 , tex_offset_x = baseX +86 , tex_offset_y = baseY -36 , duration = 4 , hurtbox = pat:get_frame(304,0,6).hurtbox , collision = pat:get_frame(2,0,0).collision , fflags = 0x00000022 }) pat:update_frame(551,2,10, { tex_index = 63 , tex_w = 142 , tex_h = 102 , tex_offset_x = baseX +86 , tex_offset_y = baseY -36 , duration = 2 , hurtbox = pat:get_frame(304,0,6).hurtbox , collision = pat:get_frame(2,0,0).collision , fflags = 0x00000022 }) pat:update_frame(551,2,11, { tex_index = 63 , tex_w = 142 , tex_h = 102 , tex_offset_x = baseX +86 , tex_offset_y = baseY -36 , duration = 2 , hurtbox = pat:get_frame(304,0,6).hurtbox , collision = pat:get_frame(2,0,0).collision , fflags = 0x00000022 }) pat:update_frame(551,2,12, { tex_index = 63 , tex_w = 142 , tex_h = 102 , tex_offset_x = baseX +86 , tex_offset_y = baseY -36 , duration = 2 , hurtbox = pat:get_frame(304,0,6).hurtbox , collision = pat:get_frame(2,0,0).collision , fflags = 0x00000022 }) pat:update_frame(551,2,13, { tex_index = 63 , tex_w = 142 , tex_h = 102 , tex_offset_x = baseX +86 , tex_offset_y = baseY -36 , duration = 2 , hurtbox = pat:get_frame(304,0,6).hurtbox , collision = pat:get_frame(2,0,0).collision , fflags = 0x00000022 }) pat:update_frame(551,2,14, { tex_index = 439 , tex_w = 92 , tex_h = 102 , tex_offset_x = baseX +36 , tex_offset_y = baseY -36 , duration = 2 , hurtbox = pat:get_frame(2,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision , fflags = 0x00000022 }) for idx = 15 , 16 do pat:remove_frame(551,2,15) end pat:update_frame(551,3,0, { tex_index = 22 , tex_w = 101 , tex_h = 109 , tex_offset_x = baseX +70 , tex_offset_y = baseY -40 , duration = 3 , hurtbox = pat:get_frame(303,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision , fflags = 0x00000042 }) pat:update_frame(551,3,1, { tex_index = 22 , tex_w = 101 , tex_h = 109 , tex_offset_x = baseX +70 , tex_offset_y = baseY -40 , duration = 2 , hurtbox = pat:get_frame(303,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision , fflags = 0x00000042 }) pat:update_frame(551,3,2, { tex_index = 23 , tex_w = 123 , tex_h = 94 , tex_offset_x = baseX +114 , tex_offset_y = baseY -54 , duration = 3 , hurtbox = pat:get_frame(303,0,1).hurtbox , collision = pat:get_frame(2,0,0).collision , fflags = 0x00000042 }) pat:update_frame(551,3,3, { tex_index = 23 , tex_w = 123 , tex_h = 94 , tex_offset_x = baseX +114 , tex_offset_y = baseY -54 , duration = 2 , hurtbox = pat:get_frame(303,0,1).hurtbox , collision = pat:get_frame(2,0,0).collision , fflags = 0x00000042 }) pat:update_frame(551,3,4, { tex_index = 24 , tex_w = 152 , tex_h = 112 , tex_offset_x = baseX +130 , tex_offset_y = baseY -20 , duration = 3 , hurtbox = pat:get_frame(303,0,3).hurtbox , attackbox = pat:get_frame(303,0,3).attackbox , collision = pat:get_frame(2,0,0).collision , fflags = 0x00000062 }) pat:update_frame(551,3,5, { tex_index = 24 , tex_w = 152 , tex_h = 112 , tex_offset_x = baseX +130 , tex_offset_y = baseY -20 , duration = 1 , hurtbox = pat:get_frame(303,0,3).hurtbox , collision = pat:get_frame(2,0,0).collision , fflags = 0x00000022 }) pat:update_frame(551,3,6, { tex_index = 24 , tex_w = 152 , tex_h = 112 , tex_offset_x = baseX +130 , tex_offset_y = baseY -20 , duration = 1 , hurtbox = pat:get_frame(303,0,3).hurtbox , collision = pat:get_frame(2,0,0).collision , fflags = 0x00000022 }) pat:update_frame(551,3,7, { tex_index = 24 , tex_w = 152 , tex_h = 112 , tex_offset_x = baseX +130 , tex_offset_y = baseY -20 , duration = 1 , hurtbox = pat:get_frame(303,0,3).hurtbox , collision = pat:get_frame(2,0,0).collision , fflags = 0x00000022 }) pat:update_frame(551,3,8, { tex_index = 24 , tex_w = 152 , tex_h = 112 , tex_offset_x = baseX +130 , tex_offset_y = baseY -20 , duration = 1 , hurtbox = pat:get_frame(303,0,3).hurtbox , collision = pat:get_frame(2,0,0).collision , fflags = 0x00000022 }) pat:update_frame(551,3,9, { tex_index = 24 , tex_w = 152 , tex_h = 112 , tex_offset_x = baseX +130 , tex_offset_y = baseY -20 , duration = 1 , hurtbox = pat:get_frame(303,0,3).hurtbox , collision = pat:get_frame(2,0,0).collision , fflags = 0x00000022 }) pat:update_frame(551,3,10, { tex_index = 24 , tex_w = 152 , tex_h = 112 , tex_offset_x = baseX +130 , tex_offset_y = baseY -20 , duration = 21-5 , hurtbox = pat:get_frame(303,0,3).hurtbox , collision = pat:get_frame(2,0,0).collision , fflags = 0x00000022 }) pat:update_frame(551,3,11, { tex_index = 25 , tex_w = 144 , tex_h = 100 , tex_offset_x = baseX +128 , tex_offset_y = baseY -50 , duration = 5 , hurtbox = pat:get_frame(303,0,3).hurtbox , collision = pat:get_frame(2,0,0).collision , fflags = 0x00000022 }) pat:update_frame(551,3,12, { tex_index = 26 , tex_w = 91 , tex_h = 95 , tex_offset_x = baseX +60 , tex_offset_y = baseY -50 , duration = 5 , hurtbox = pat:get_frame(303,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision , fflags = 0x00000022 }) pat:update_frame(551,3,13, { tex_index = 439 , tex_w = 92 , tex_h = 102 , tex_offset_x = baseX +36 , tex_offset_y = baseY -36 , duration = 2 , hurtbox = pat:get_frame(2,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision , fflags = 0x00000022 }) for idx = 14 , 16 do pat:remove_frame(551,3,14) end for idz = 0 , 1 do for idy = 0 , 3 do for idr = 4 , 5 do if ((idr==5) and (idz ~= 1) and (idy ~= 2)) then else pat:update_frame(550 + idz,idy,idr,function(frame) --frame.attackbox = pat:get_frame(301,0,6).attackbox frame.damage = 400 frame.chip_damage = 100 frame.untech = 40 frame.aflags = pat:get_frame(301,0,6).aflags frame.fflags = pat:get_frame(301,0,6).fflags frame.limit = 20 frame.combo_correction = CC_NONE frame.hit_ani_air = pat:get_frame(301,0,6).hit_ani_air frame.hit_ani_ground = pat:get_frame(301,0,6).hit_ani_ground frame.proration = 900 frame.sp_damage = 200 frame.attack_level = AL_HEAVY frame.card_gain_hit = 80 frame.card_gain_block = 60 frame.launch_vector_x = 800 frame.launch_vector_y = 800 frame.hit_sfx = pat:get_frame(301,0,6).hit_sfx frame.hit_effect = pat:get_frame(301,0,6).hit_effect frame.unknown_9 = 100 frame.hitstop_self = 10 frame.hitstop_enemy = 10 frame.blockstop_self = 10 frame.blockstop_enemy = 10 frame.spirit_damage = 100 if (idy >= 2) then if (idz == 0) then frame.launch_vector_x = 2450 frame.launch_vector_y = 1500 frame.combo_correction = CC_SMASH_ATTACK frame.limit = 40 frame.untech = 60 frame.damage = 1000 frame.chip_damage = 250 frame.proration = 800 frame.card_gain_hit = 120 frame.card_gain_block = 80 frame.hit_ani_air = 74 frame.hit_ani_ground = 74 frame.sp_damage = 200 else frame.launch_vector_x = 1000 frame.launch_vector_y = 850 frame.combo_correction = CC_LIFT_ATTACK frame.limit = 40 frame.untech = 60 frame.damage = 1000 frame.chip_damage = 250 frame.proration = 800 frame.card_gain_hit = 120 frame.card_gain_block = 80 frame.hit_ani_air = 77 frame.hit_ani_ground = 77 frame.sp_damage = 200 end end if (idz == 1) then set_aflag(frame,AF_LOWBLOCK_OK) unset_aflag(frame,AF_HIGHBLOCK_OK) set_aflag(frame,AF_ATTACK_LOW) unset_aflag(frame,AF_ATTACK_HIGH) set_aflag(frame,AF_STAGGER) else unset_aflag(frame,AF_LOWBLOCK_OK) set_aflag(frame,AF_HIGHBLOCK_OK) unset_aflag(frame,AF_ATTACK_LOW) set_aflag(frame,AF_ATTACK_HIGH) unset_aflag(frame,AF_STAGGER) end end) end end end end for idx = 1 , 18 do pat:remove_frame(822,0,1) pat:remove_frame(822,4,1) end pat:update_frame(822,0,0,{ tex_w = 0 , attackbox = pat:get_frame(0,0,0).attackbox , hurtbox = pat:get_frame(0,0,0).attackbox , duration = 1 }) pat:update_frame(822,4,0,{ tex_w = 0 , attackbox = pat:get_frame(0,0,0).attackbox , hurtbox = pat:get_frame(0,0,0).attackbox , duration = 1 }) pat:update_frame(822,0,0,function(frame) frame.tex_index = 119 frame.tex_w = 128 frame.tex_h = 128 frame.tex_offset_x = 64 frame.tex_offset_y = 64 frame.scale_x = 0 frame.scale_y = 0 frame.blending_mode = 2 end) pat:update_frame(822,4,0,function(frame) frame.tex_index = 119 frame.tex_w = 128 frame.tex_h = 128 frame.tex_offset_x = 64 frame.tex_offset_y = 64 frame.scale_x = 0 frame.scale_y = 0 frame.blending_mode = 2 end) for idx = 1 , 10 do pat:split_frame(822,0,idx-1,1,1) pat:update_frame(822,0,idx,function(frame) --frame.angle_z = idx*60 frame.scale_x = idx*40 frame.scale_y = idx*20 frame.color_r = 255 - idx*25 frame.color_g = 255 - idx*25 frame.color_b = 255 - idx*25 end) pat:split_frame(822,4,idx-1,1,1) pat:update_frame(822,4,idx,function(frame) --frame.angle_z = idx*60 frame.scale_x = idx*40 frame.scale_y = idx*20 frame.color_r = 255 - idx*25 frame.color_g = 255 - idx*25 frame.color_b = 255 - idx*25 end) end for idx = 1 , 6 do pat:remove_frame(822,1,1) pat:remove_frame(822,5,1) end pat:update_frame(822,1,0,{ tex_w = 0 , attackbox = pat:get_frame(0,0,0).attackbox , hurtbox = pat:get_frame(0,0,0).attackbox , duration = 1 }) pat:update_frame(822,5,0,{ tex_w = 0 , attackbox = pat:get_frame(0,0,0).attackbox , hurtbox = pat:get_frame(0,0,0).attackbox , duration = 1 }) for idx = 1 , 1 do pat:remove_frame(822,2,1) pat:remove_frame(822,6,1) end pat:update_frame(822,2,0,{ tex_w = 0 , attackbox = pat:get_frame(0,0,0).attackbox , hurtbox = pat:get_frame(0,0,0).attackbox , duration = 1 }) pat:update_frame(822,6,0,{ tex_w = 0 , attackbox = pat:get_frame(0,0,0).attackbox , hurtbox = pat:get_frame(0,0,0).attackbox , duration = 1 }) for idx = 1 , 5 do pat:remove_frame(822,3,1) pat:remove_frame(822,7,1) end pat:update_frame(822,3,0,{ tex_w = 0 , attackbox = pat:get_frame(0,0,0).attackbox , hurtbox = pat:get_frame(0,0,0).attackbox , duration = 1 }) pat:update_frame(822,7,0,{ tex_w = 0 , attackbox = pat:get_frame(0,0,0).attackbox , hurtbox = pat:get_frame(0,0,0).attackbox , duration = 1 }) for idx = 1 , 13 do pat:remove_frame(822,8,1) end pat:update_frame(822,8,0,{ tex_w = 0 , attackbox = pat:get_frame(0,0,0).attackbox , hurtbox = pat:get_frame(0,0,0).attackbox , duration = 1 }) for idx = 1 , 11 do pat:remove_frame(822,9,1) pat:remove_frame(822,10,1) pat:remove_frame(822,11,1) pat:remove_frame(822,12,1) pat:remove_frame(822,13,1) end pat:update_frame(822,9,0,{tex_w = 0 , attackbox = pat:get_frame(0,0,0).attackbox , hurtbox = pat:get_frame(0,0,0).attackbox}) pat:update_frame(822,10,0,{tex_w = 0 , attackbox = pat:get_frame(0,0,0).attackbox , hurtbox = pat:get_frame(0,0,0).attackbox}) pat:update_frame(822,11,0,{tex_w = 0 , attackbox = pat:get_frame(0,0,0).attackbox , hurtbox = pat:get_frame(0,0,0).attackbox}) pat:update_frame(822,12,0,{tex_w = 0 , attackbox = pat:get_frame(0,0,0).attackbox , hurtbox = pat:get_frame(0,0,0).attackbox}) pat:update_frame(822,13,0,{tex_w = 0 , attackbox = pat:get_frame(0,0,0).attackbox , hurtbox = pat:get_frame(0,0,0).attackbox}) end function mods.a236_borgar(pat) local baseX = 64 +8 local baseY = 183 +50 +4 pat:get_sequence(545,1):set_looped(false) pat:get_sequence(546,1):set_looped(false) pat:get_sequence(547,1):set_looped(false) pat:get_sequence(548,1):set_looped(false) for idx = 2 , 7 do for idy = 0 , 3 do pat:remove_frame(545+idy,2,2) end end pat:update_frame(545,0,0, { tex_index = 515 , tex_w = 67 , tex_h = 123 , tex_offset_x = baseX -4 , tex_offset_y = baseY -0 , duration = 2 , hurtbox = pat:get_frame(400,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(545,0,1, { tex_index = 515 , tex_w = 67 , tex_h = 123 , tex_offset_x = baseX -4 , tex_offset_y = baseY -0 , duration = 2 , hurtbox = pat:get_frame(400,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(545,0,2, { tex_index = 515 , tex_w = 67 , tex_h = 123 , tex_offset_x = baseX -4 , tex_offset_y = baseY -0 , duration = 2 , hurtbox = pat:get_frame(400,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(545,0,3, { tex_index = 515 , tex_w = 67 , tex_h = 123 , tex_offset_x = baseX -4 , tex_offset_y = baseY -0 , duration = 2 , hurtbox = pat:get_frame(400,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(545,0,4, { tex_index = 515 , tex_w = 67 , tex_h = 123 , tex_offset_x = baseX -4 , tex_offset_y = baseY -0 , duration = 2 , hurtbox = pat:get_frame(400,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(545,0,5, { tex_index = 516 , tex_w = 63 , tex_h = 121 , tex_offset_x = baseX -20 , tex_offset_y = baseY +0 , duration = 2 , hurtbox = pat:get_frame(400,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(545,0,6, { tex_index = 516 , tex_w = 63 , tex_h = 121 , tex_offset_x = baseX -20 , tex_offset_y = baseY +0 , duration = 2 , hurtbox = pat:get_frame(400,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(545,0,7, { tex_index = 517 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 2 , hurtbox = pat:get_frame(400,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(545,0,8, { tex_index = 517 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 2 , hurtbox = pat:get_frame(400,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(545,0,9, { tex_index = 518 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 2 , hurtbox = pat:get_frame(400,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision })--shot pat:update_frame(545,1,0, { tex_index = 518 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 6 , hurtbox = pat:get_frame(400,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(545,1,1, { tex_index = 517 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 6 , hurtbox = pat:get_frame(400,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(545,2,0, { tex_index = 518 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 6 , hurtbox = pat:get_frame(400,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(545,2,1, { tex_index = 517 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 6 , hurtbox = pat:get_frame(400,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(545,3,0, { tex_index = 518 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 6 , hurtbox = pat:get_frame(400,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(545,3,1, { tex_index = 517 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 16 , hurtbox = pat:get_frame(400,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(545,3,2, { tex_index = 519 , tex_w = 67 , tex_h = 122 , tex_offset_x = baseX -16 , tex_offset_y = baseY +4 , duration = 5 , hurtbox = pat:get_frame(400,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(546,0,0, { tex_index = 515 , tex_w = 67 , tex_h = 123 , tex_offset_x = baseX -4 , tex_offset_y = baseY -0 , duration = 2 , hurtbox = pat:get_frame(400,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(546,0,1, { tex_index = 515 , tex_w = 67 , tex_h = 123 , tex_offset_x = baseX -4 , tex_offset_y = baseY -0 , duration = 2 , hurtbox = pat:get_frame(400,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(546,0,2, { tex_index = 515 , tex_w = 67 , tex_h = 123 , tex_offset_x = baseX -4 , tex_offset_y = baseY -0 , duration = 2 , hurtbox = pat:get_frame(400,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(546,0,3, { tex_index = 515 , tex_w = 67 , tex_h = 123 , tex_offset_x = baseX -4 , tex_offset_y = baseY -0 , duration = 2 , hurtbox = pat:get_frame(400,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(546,0,4, { tex_index = 515 , tex_w = 67 , tex_h = 123 , tex_offset_x = baseX -4 , tex_offset_y = baseY -0 , duration = 2 , hurtbox = pat:get_frame(400,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(546,0,5, { tex_index = 516 , tex_w = 63 , tex_h = 121 , tex_offset_x = baseX -20 , tex_offset_y = baseY +0 , duration = 2 , hurtbox = pat:get_frame(400,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(546,0,6, { tex_index = 516 , tex_w = 63 , tex_h = 121 , tex_offset_x = baseX -20 , tex_offset_y = baseY +0 , duration = 2 , hurtbox = pat:get_frame(400,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(546,0,7, { tex_index = 527 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 2 , hurtbox = pat:get_frame(530,0,6).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(546,0,8, { tex_index = 527 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 2 , hurtbox = pat:get_frame(530,0,6).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(546,0,9, { tex_index = 528 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 2 , hurtbox = pat:get_frame(530,0,6).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(546,1,0, { tex_index = 528 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 6 , hurtbox = pat:get_frame(530,0,6).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(546,1,1, { tex_index = 527 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 6 , hurtbox = pat:get_frame(530,0,6).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(546,2,0, { tex_index = 528 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 6 , hurtbox = pat:get_frame(530,0,6).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(546,2,1, { tex_index = 527 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 6 , hurtbox = pat:get_frame(530,0,6).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(546,3,0, { tex_index = 528 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 6 , hurtbox = pat:get_frame(530,0,6).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(546,3,1, { tex_index = 527 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 16 , hurtbox = pat:get_frame(530,0,6).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(546,3,2, { tex_index = 529 , tex_w = 67 , tex_h = 122 , tex_offset_x = baseX -16 , tex_offset_y = baseY +4 , duration = 5 , hurtbox = pat:get_frame(400,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(547,0,0, { tex_index = 515 , tex_w = 67 , tex_h = 123 , tex_offset_x = baseX -4 , tex_offset_y = baseY -0 , duration = 2 , hurtbox = pat:get_frame(400,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(547,0,1, { tex_index = 515 , tex_w = 67 , tex_h = 123 , tex_offset_x = baseX -4 , tex_offset_y = baseY -0 , duration = 2 , hurtbox = pat:get_frame(400,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(547,0,2, { tex_index = 515 , tex_w = 67 , tex_h = 123 , tex_offset_x = baseX -4 , tex_offset_y = baseY -0 , duration = 2 , hurtbox = pat:get_frame(400,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(547,0,3, { tex_index = 515 , tex_w = 67 , tex_h = 123 , tex_offset_x = baseX -4 , tex_offset_y = baseY -0 , duration = 2 , hurtbox = pat:get_frame(400,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(547,0,4, { tex_index = 515 , tex_w = 67 , tex_h = 123 , tex_offset_x = baseX -4 , tex_offset_y = baseY -0 , duration = 2 , hurtbox = pat:get_frame(400,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(547,0,5, { tex_index = 516 , tex_w = 63 , tex_h = 121 , tex_offset_x = baseX -20 , tex_offset_y = baseY +0 , duration = 2 , hurtbox = pat:get_frame(400,0,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(547,0,6, { tex_index = 516 , tex_w = 63 , tex_h = 121 , tex_offset_x = baseX -20 , tex_offset_y = baseY +0 , duration = 2 , hurtbox = pat:get_frame(400,0,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(547,0,7, { tex_index = 517 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 2 , hurtbox = pat:get_frame(400,0,4).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(547,0,8, { tex_index = 517 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 2 , hurtbox = pat:get_frame(400,0,4).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(547,0,9, { tex_index = 518 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 2 , hurtbox = pat:get_frame(400,0,4).hurtbox , collision = pat:get_frame(6,1,0).collision })--shot pat:update_frame(547,1,0, { tex_index = 518 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 6 , hurtbox = pat:get_frame(400,0,4).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(547,1,1, { tex_index = 517 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 6 , hurtbox = pat:get_frame(400,0,4).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(547,2,0, { tex_index = 518 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 6 , hurtbox = pat:get_frame(400,0,4).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(547,2,1, { tex_index = 517 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 6 , hurtbox = pat:get_frame(400,0,4).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(547,3,0, { tex_index = 518 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 6 , hurtbox = pat:get_frame(400,0,4).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(547,3,1, { tex_index = 517 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 16 , hurtbox = pat:get_frame(400,0,4).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(547,3,2, { tex_index = 519 , tex_w = 67 , tex_h = 122 , tex_offset_x = baseX -16 , tex_offset_y = baseY +4 , duration = 5 , hurtbox = pat:get_frame(400,0,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) --pat:update_frame(547,3,3, { tex_index = 524 , tex_w = 95 , tex_h = 112 , tex_offset_x = baseX +54 , tex_offset_y = baseY +4 , duration = 5 , hurtbox = pat:get_frame(404,0,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(547,3,3, { tex_index = 318 , tex_w = 100 , tex_h = 121 , tex_offset_x = baseX +46 , tex_offset_y = baseY +20 +0 , duration = 4 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(547,4,0, { tex_index = 237 , tex_w = 81 , tex_h = 118 , tex_offset_x = baseX +30 , tex_offset_y = baseY -12 , duration = 6 , hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(547,4,1, { tex_index = 236 , tex_w = 94 , tex_h = 118 , tex_offset_x = baseX +68 , tex_offset_y = baseY -6 , duration = 5 , hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(548,0,0, { tex_index = 515 , tex_w = 67 , tex_h = 123 , tex_offset_x = baseX -4 , tex_offset_y = baseY -0 , duration = 2 , hurtbox = pat:get_frame(400,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(548,0,1, { tex_index = 515 , tex_w = 67 , tex_h = 123 , tex_offset_x = baseX -4 , tex_offset_y = baseY -0 , duration = 2 , hurtbox = pat:get_frame(400,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(548,0,2, { tex_index = 515 , tex_w = 67 , tex_h = 123 , tex_offset_x = baseX -4 , tex_offset_y = baseY -0 , duration = 2 , hurtbox = pat:get_frame(400,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(548,0,3, { tex_index = 515 , tex_w = 67 , tex_h = 123 , tex_offset_x = baseX -4 , tex_offset_y = baseY -0 , duration = 2 , hurtbox = pat:get_frame(400,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(548,0,4, { tex_index = 515 , tex_w = 67 , tex_h = 123 , tex_offset_x = baseX -4 , tex_offset_y = baseY -0 , duration = 2 , hurtbox = pat:get_frame(400,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(548,0,5, { tex_index = 516 , tex_w = 63 , tex_h = 121 , tex_offset_x = baseX -20 , tex_offset_y = baseY +0 , duration = 2 , hurtbox = pat:get_frame(400,0,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(548,0,6, { tex_index = 516 , tex_w = 63 , tex_h = 121 , tex_offset_x = baseX -20 , tex_offset_y = baseY +0 , duration = 2 , hurtbox = pat:get_frame(400,0,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(548,0,7, { tex_index = 527 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 2 , hurtbox = pat:get_frame(530,0,6).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(548,0,8, { tex_index = 527 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 2 , hurtbox = pat:get_frame(530,0,6).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(548,0,9, { tex_index = 528 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 2 , hurtbox = pat:get_frame(530,0,6).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(548,1,0, { tex_index = 528 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 6 , hurtbox = pat:get_frame(530,0,6).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(548,1,1, { tex_index = 527 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 6 , hurtbox = pat:get_frame(530,0,6).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(548,2,0, { tex_index = 528 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 6 , hurtbox = pat:get_frame(530,0,6).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(548,2,1, { tex_index = 527 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 6 , hurtbox = pat:get_frame(530,0,6).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(548,3,0, { tex_index = 528 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 6 , hurtbox = pat:get_frame(530,0,6).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(548,3,1, { tex_index = 527 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 16 , hurtbox = pat:get_frame(530,0,6).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(548,3,2, { tex_index = 529 , tex_w = 67 , tex_h = 122 , tex_offset_x = baseX -16 , tex_offset_y = baseY +4 , duration = 5 , hurtbox = pat:get_frame(400,0,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(548,3,3, { tex_index = 318 , tex_w = 100 , tex_h = 121 , tex_offset_x = baseX +46 , tex_offset_y = baseY +20 +0 , duration = 4 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(548,4,0, { tex_index = 237 , tex_w = 81 , tex_h = 118 , tex_offset_x = baseX +30 , tex_offset_y = baseY -12 , duration = 6 , hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(548,4,1, { tex_index = 236 , tex_w = 94 , tex_h = 118 , tex_offset_x = baseX +68 , tex_offset_y = baseY -6 , duration = 5 , hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) for idx = 0 , 3 do pat:update_frame(821,1,idx,{tex_w = 0 , attackbox = pat:get_frame(0,0,0).attackbox }) pat:update_frame(821,2,idx,{tex_w = 0 , attackbox = pat:get_frame(0,0,0).attackbox }) pat:update_frame(821,3,idx,{tex_w = 0 , attackbox = pat:get_frame(0,0,0).attackbox }) pat:update_frame(821,9,idx,{tex_w = 0 , attackbox = pat:get_frame(0,0,0).attackbox }) pat:update_frame(821,10,idx,{tex_w = 0 , attackbox = pat:get_frame(0,0,0).attackbox }) pat:update_frame(821,11,idx,{tex_w = 0 , attackbox = pat:get_frame(0,0,0).attackbox }) end for idx = 2 , 420 do pat:split_frame(821,0,1,1,1) end --[[ for idx = 4 , 200 do pat:split_frame(821,3,3,1,1) end]]-- pat:get_sequence(821,0):set_looped(false) for idx = 0 , 200 do pat:add_particle_info(821,0,idx) pat:update_frame(821,0,idx,function(frame) frame.blending_mode = 1 frame.duration = 2 local tid = 0 if (idx < 7) then tid = 184 + idx elseif (idx < 10) then tid = 198 + idx - 7 elseif (idx < 10 + 29) then tid = 169 + idx - 10 else tid = 203 end frame.tex_index = tid frame.tex_w = 128 frame.tex_h = 192 frame.tex_offset_x = 64 frame.tex_offset_y = 128 frame.scale_x = 200 frame.scale_y = 200 frame.fflags = pat:get_frame(801,0,0).fflags frame.aflags = pat:get_frame(801,0,0).aflags set_aflag(frame,AF_SKILL_ATTACK) set_fflag(frame,FF_LOOP_ANIMATION) set_fflag(frame,FF_AFTER_IMAGE) frame.blockstop_self = 8 frame.hitstop_self = 4 frame.hit_effect = 6 frame.hit_sfx = 7 frame.untech = 45 frame.launch_vector_x = 500 frame.launch_vector_y = 1500 frame.hit_ani_air = 71 frame.attack_level = AL_HEAVY frame.limit = 4 frame.damage = 100 frame.chip_damage = 5 frame.sp_damage = 10 frame.proration = 940 frame.hitstop_enemy = 10 frame.blockstop_enemy = 10 frame.unknown_9 = 100 frame.attackbox = pat:get_frame(0,0,0).hurtbox if (idx >= 39) then local ridx = (idx-39)*.5 frame.duration = 1 acc = 10 + (ridx)*.5 frame.scale_x = 150 + (ridx) * acc local didx = ridx local scalemod = 100/frame.scale_x local ymod = 0 local xmod = 48 + acc*didx frame.attackbox[1].x1 = -40 * frame.scale_x / 150 frame.attackbox[1].x2 = 40 * frame.scale_x / 150 frame.attackbox[1].y1 = -140 frame.attackbox[1].y2 = -120 frame.tex_offset_y = frame.tex_offset_y - (ymod)*scalemod frame.attackbox[1].y1 = frame.attackbox[1].y1 + (ymod) frame.attackbox[1].y2 = frame.attackbox[1].y2 + (ymod) frame.tex_offset_x = frame.tex_offset_x - (xmod)*scalemod frame.attackbox[1].x1 = frame.attackbox[1].x1 + (xmod) frame.attackbox[1].x2 = frame.attackbox[1].x2 + (xmod) else local xOffset = 0 local yOffset = -20 --frame.attackbox[1] = pat:get_frame(0,0,0).hurtbox[1] frame.attackbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.attackbox[3] = pat:get_frame(0,0,1).hurtbox[1] frame.attackbox[4] = pat:get_frame(0,0,1).hurtbox[1] --frame.attackbox[4] = pat:get_frame(0,0,2).hurtbox[1] --frame.attackbox[5] = pat:get_frame(0,0,3).hurtbox[1] --frame.attackbox[6] = pat:get_frame(0,0,4).hurtbox[1] local ang = 0 local ax = 0 local ay = 0 for idy = 1 , 4 do ang = (90 + 14*idx) + 15 + 15*idy ax = 110 * math.cos(ang * 3.14159/180) ay = 110 * math.sin(ang * 3.14159/180) frame.attackbox[idy].x1 = ax - 10 frame.attackbox[idy].x2 = ax + 10 frame.attackbox[idy].y1 = ay - 10 +yOffset frame.attackbox[idy].y2 = ay + 10 +yOffset end if (idx > 39-2) then frame.attackbox[2].x1 = -30 frame.attackbox[2].x2 = 30 frame.attackbox[2].y1 = -140 frame.attackbox[2].y2 = -120 frame.attackbox[3].x1 = -25 frame.attackbox[3].x2 = 45 frame.attackbox[3].y1 = -140 frame.attackbox[3].y2 = -120 frame.attackbox[4].x1 = -20 frame.attackbox[4].x2 = 60 frame.attackbox[4].y1 = -140 frame.attackbox[4].y2 = -120 elseif (idx > 39-4) then frame.attackbox[3].x1 = -25 frame.attackbox[3].x2 = 30 frame.attackbox[3].y1 = -140 frame.attackbox[3].y2 = -120 frame.attackbox[4].x1 = -20 frame.attackbox[4].x2 = 45 frame.attackbox[4].y1 = -140 frame.attackbox[4].y2 = -120 elseif (idx > 39-6) then frame.attackbox[4].x1 = -20 frame.attackbox[4].x2 = 30 frame.attackbox[4].y1 = -140 frame.attackbox[4].y2 = -120 end end end) end for idx = 0 , 200 do pat:add_particle_info(821,0,idx+210) pat:update_frame(821,0,idx+210,function(frame) frame.blending_mode = 1 frame.duration = 2 local tid = 0 if (idx < 7) then tid = 184 + idx elseif (idx < 10) then tid = 198 + idx - 7 elseif (idx < 10 + 29) then tid = 169 + idx - 10 else tid = 203 end frame.tex_index = tid frame.tex_w = 128 frame.tex_h = 192 frame.tex_offset_x = 64 frame.tex_offset_y = 128 frame.scale_x = 200 frame.scale_y = -200 frame.fflags = pat:get_frame(801,0,0).fflags frame.aflags = pat:get_frame(801,0,0).aflags set_aflag(frame,AF_SKILL_ATTACK) set_fflag(frame,FF_LOOP_ANIMATION) set_fflag(frame,FF_AFTER_IMAGE) frame.blockstop_self = 8 frame.hitstop_self = 4 frame.hit_effect = 6 frame.hit_sfx = 7 frame.untech = 45 frame.launch_vector_x = 500 frame.launch_vector_y = 1500 frame.hit_ani_air = 71 frame.attack_level = AL_HEAVY frame.limit = 4 frame.damage = 150 frame.chip_damage = 5 frame.sp_damage = 10 frame.proration = 940 frame.hitstop_enemy = 10 frame.blockstop_enemy = 10 frame.unknown_9 = 100 frame.attackbox = pat:get_frame(0,0,0).hurtbox if (idx >= 39) then local ridx = (idx-39)*.5 frame.duration = 1 acc = 10 + (ridx)*.5 frame.scale_x = 150 + (ridx) * acc local didx = ridx local scalemod = 100/frame.scale_x local ymod = 0 local xmod = 48 + acc*didx frame.attackbox[1].x1 = -40 * frame.scale_x / 150 frame.attackbox[1].x2 = 40 * frame.scale_x / 150 frame.attackbox[1].y1 = 120 frame.attackbox[1].y2 = 140 frame.tex_offset_y = frame.tex_offset_y - (ymod)*scalemod frame.attackbox[1].y1 = frame.attackbox[1].y1 + (ymod) frame.attackbox[1].y2 = frame.attackbox[1].y2 + (ymod) frame.tex_offset_x = frame.tex_offset_x - (xmod)*scalemod frame.attackbox[1].x1 = frame.attackbox[1].x1 + (xmod) frame.attackbox[1].x2 = frame.attackbox[1].x2 + (xmod) else local xOffset = 0 local yOffset = -20 --frame.attackbox[1] = pat:get_frame(0,0,0).hurtbox[1] frame.attackbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.attackbox[3] = pat:get_frame(0,0,1).hurtbox[1] frame.attackbox[4] = pat:get_frame(0,0,1).hurtbox[1] --frame.attackbox[4] = pat:get_frame(0,0,2).hurtbox[1] --frame.attackbox[5] = pat:get_frame(0,0,3).hurtbox[1] --frame.attackbox[6] = pat:get_frame(0,0,4).hurtbox[1] local ang = 0 local ax = 0 local ay = 0 for idy = 1 , 4 do ang = -1 * ((90 + 14*idx) + 15 + 15*idy) ax = 110 * math.cos(ang * 3.14159/180) ay = 110 * math.sin(ang * 3.14159/180) frame.attackbox[idy].x1 = ax - 10 frame.attackbox[idy].x2 = ax + 10 frame.attackbox[idy].y1 = ay - 10 -yOffset frame.attackbox[idy].y2 = ay + 10 -yOffset end if (idx > 39-2) then frame.attackbox[2].x1 = -30 frame.attackbox[2].x2 = 30 frame.attackbox[2].y1 = 120 frame.attackbox[2].y2 = 140 frame.attackbox[3].x1 = -25 frame.attackbox[3].x2 = 45 frame.attackbox[3].y1 = 120 frame.attackbox[3].y2 = 140 frame.attackbox[4].x1 = -20 frame.attackbox[4].x2 = 60 frame.attackbox[4].y1 = 120 frame.attackbox[4].y2 = 140 elseif (idx > 39-4) then frame.attackbox[3].x1 = -25 frame.attackbox[3].x2 = 30 frame.attackbox[3].y1 = 120 frame.attackbox[3].y2 = 140 frame.attackbox[4].x1 = -20 frame.attackbox[4].x2 = 45 frame.attackbox[4].y1 = 120 frame.attackbox[4].y2 = 140 elseif (idx > 39-6) then frame.attackbox[4].x1 = -20 frame.attackbox[4].x2 = 30 frame.attackbox[4].y1 = 120 frame.attackbox[4].y2 = 140 end end end) end --[[ for idx = 0 , 200 do pat:add_particle_info(821,3,idx) pat:update_frame(821,3,idx,function(frame) frame.blending_mode = 1 frame.duration = 2 local tid = 0 if (idx < 7) then tid = 184 + idx elseif (idx < 10) then tid = 198 + idx - 7 elseif (idx < 10 + 29) then tid = 169 + idx - 10 else tid = 203 end frame.tex_index = tid frame.tex_w = 128 frame.tex_h = 192 frame.tex_offset_x = 64 frame.tex_offset_y = 128 frame.scale_x = 200 frame.scale_y = -200 set_aflag(frame,AF_UNREFLECTABLE) frame.blockstop_self = 8 frame.hitstop_self = 4 frame.hit_effect = 6 frame.hit_sfx = 7 frame.untech = 45 frame.launch_vector_x = 500 frame.launch_vector_y = 1500 frame.hit_ani_air = 71 frame.attack_level = AL_HEAVY frame.limit = 8 frame.damage = 150 frame.sp_damage = 30 frame.proration = 940 frame.hitstop_enemy = 10 frame.blockstop_enemy = 10 if (idx >= 39) then local ridx = (idx-39)*.5 frame.duration = 1 acc = 10 + (ridx)*.5 frame.scale_x = 150 + (ridx) * acc local didx = ridx local scalemod = 100/frame.scale_x local ymod = 0 local xmod = 48 + acc*didx frame.attackbox[1].x1 = -40 * frame.scale_x / 150 frame.attackbox[1].x2 = 40 * frame.scale_x / 150 frame.attackbox[1].y2 = 140 frame.attackbox[1].y1 = 120 frame.tex_offset_y = frame.tex_offset_y - (ymod)*scalemod frame.attackbox[1].y1 = frame.attackbox[1].y1 + (ymod) frame.attackbox[1].y2 = frame.attackbox[1].y2 + (ymod) frame.tex_offset_x = frame.tex_offset_x - (xmod)*scalemod frame.attackbox[1].x1 = frame.attackbox[1].x1 + (xmod) frame.attackbox[1].x2 = frame.attackbox[1].x2 + (xmod) else local xOffset = 0 local yOffset = -20 --frame.attackbox[1] = pat:get_frame(0,0,0).hurtbox[1] frame.attackbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.attackbox[3] = pat:get_frame(0,0,1).hurtbox[1] frame.attackbox[4] = pat:get_frame(0,0,1).hurtbox[1] --frame.attackbox[4] = pat:get_frame(0,0,2).hurtbox[1] --frame.attackbox[5] = pat:get_frame(0,0,3).hurtbox[1] --frame.attackbox[6] = pat:get_frame(0,0,4).hurtbox[1] local ang = 0 local ax = 0 local ay = 0 for idy = 1 , 4 do ang = (90 + 14*idx) + 15 + 15*idy ax = 110 * math.cos(ang * 3.14159/180) ay = 110 * math.sin(ang * 3.14159/180) frame.attackbox[idy].x1 = ax - 10 frame.attackbox[idy].x2 = ax + 10 frame.attackbox[idy].y2 = (ay - 10 +yOffset)*-1 frame.attackbox[idy].y1 = (ay + 10 +yOffset)*-1 end if (idx > 39-2) then frame.attackbox[2].x1 = -30 frame.attackbox[2].x2 = 30 frame.attackbox[2].y2 = 140 frame.attackbox[2].y1 = 120 frame.attackbox[3].x1 = -25 frame.attackbox[3].x2 = 45 frame.attackbox[3].y2 = 140 frame.attackbox[3].y1 = 120 frame.attackbox[4].x1 = -20 frame.attackbox[4].x2 = 60 frame.attackbox[4].y2 = 140 frame.attackbox[4].y1 = 120 elseif (idx > 39-4) then frame.attackbox[3].x1 = -25 frame.attackbox[3].x2 = 30 frame.attackbox[3].y2 = 140 frame.attackbox[3].y1 = 120 frame.attackbox[4].x1 = -20 frame.attackbox[4].x2 = 45 frame.attackbox[4].y2 = 140 frame.attackbox[4].y1 = 120 elseif (idx > 39-6) then frame.attackbox[4].x1 = -20 frame.attackbox[4].x2 = 30 frame.attackbox[4].y2 = 140 frame.attackbox[4].y1 = 120 end end end) end]]-- end function mods.a623_slashy(pat) local baseX = 64 +8 local baseY = 183 +50 +4 for idy = 0 , 1 do pat:update_frame(565+idy,0,3,function(frame) frame.hit_ani_ground = 71 frame.hit_ani_air = 71 frame.launch_vector_y = 1500 frame.launch_vector_x = 200 frame.untech = 45 frame.combo_correction = CC_LIFT_ATTACK frame.damage = 600 frame.chip_damage = 150 frame.proration = 900 frame.hitstop_self = 10 frame.hitstop_enemy = 10 frame.blockstop_self = 10 frame.blockstop_enemy = 10 end) end for idx = 4 , 11 do pat:remove_frame(565,0,4) end for idx = 4 , 11 do pat:split_frame(565,0,3,1,1) end pat:update_frame(565,0,0, { tex_index = 581 , tex_w = 68 , tex_h = 120 , tex_offset_x = baseX +0 , tex_offset_y = baseY -0 , duration = 3 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(565,0,1, { tex_index = 581 , tex_w = 68 , tex_h = 120 , tex_offset_x = baseX +0 , tex_offset_y = baseY -0 , duration = 6 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) --pat:update_frame(565,0,2, { tex_index = 581 , tex_w = 68 , tex_h = 120 , tex_offset_x = baseX +0 , tex_offset_y = baseY -0 , duration = 3 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(565,0,2, { tex_index = 585 , tex_w = 122 , tex_h = 121 , tex_offset_x = baseX +48 , tex_offset_y = baseY -0 , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(565,0,3, { tex_index = 582 , tex_w = 121 , tex_h = 123 , tex_offset_x = baseX +46 , tex_offset_y = baseY -0 , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(565,0,3,function(frame) local radius = 90 local startY = 80 frame.attackbox[1].x1 = -radius frame.attackbox[1].x2 = radius frame.attackbox[1].y1 = -radius -startY frame.attackbox[1].y2 = radius -startY frame.attackbox[2].x1 = -radius * 0.6 frame.attackbox[2].x2 = radius * 0.6 frame.attackbox[2].y1 = -radius * 1.3 -startY frame.attackbox[2].y2 = radius * 1.3 -startY frame.attackbox[3].x1 = -radius * 1.3 frame.attackbox[3].x2 = radius * 1.3 frame.attackbox[3].y1 = -radius * 0.6 -startY frame.attackbox[3].y2 = radius * 0.6 -startY frame.attackbox[4] = null end) pat:update_frame(565,0,4, { tex_index = 583 , tex_w = 121 , tex_h = 122 , tex_offset_x = baseX +46 , tex_offset_y = baseY -0 , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox , attackbox = pat:get_frame(565,0,3).attackbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(565,0,5, { tex_index = 584 , tex_w = 121 , tex_h = 122 , tex_offset_x = baseX +48 , tex_offset_y = baseY -0 , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox , attackbox = pat:get_frame(565,0,3).attackbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(565,0,6, { tex_index = 585 , tex_w = 122 , tex_h = 121 , tex_offset_x = baseX +48 , tex_offset_y = baseY -0 , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox , attackbox = pat:get_frame(565,0,3).attackbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(565,0,7, { tex_index = 582 , tex_w = 121 , tex_h = 123 , tex_offset_x = baseX +46 , tex_offset_y = baseY -0 , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox , attackbox = pat:get_frame(565,0,3).attackbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(565,0,8, { tex_index = 583 , tex_w = 121 , tex_h = 122 , tex_offset_x = baseX +46 , tex_offset_y = baseY -0 , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox , attackbox = pat:get_frame(565,0,3).attackbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(565,0,9, { tex_index = 584 , tex_w = 121 , tex_h = 122 , tex_offset_x = baseX +48 , tex_offset_y = baseY -0 , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox , attackbox = pat:get_frame(565,0,3).attackbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(565,0,10, { tex_index = 585 , tex_w = 122 , tex_h = 121 , tex_offset_x = baseX +48 , tex_offset_y = baseY -0 , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox , attackbox = pat:get_frame(565,0,3).attackbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(565,0,11, { tex_index = 586 , tex_w = 121 , tex_h = 117 , tex_offset_x = baseX +98 , tex_offset_y = baseY -16 , duration = 4 , hurtbox = pat:get_frame(0,0,0).hurtbox , attackbox = pat:get_frame(565,0,3).attackbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(565,0,12, { tex_index = 587 , tex_w = 102 , tex_h = 114 , tex_offset_x = baseX +64 , tex_offset_y = baseY -10 , duration = 4 , hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(565,0,13, { tex_index = 238 , tex_w = 98 , tex_h = 114 , tex_offset_x = baseX +56 , tex_offset_y = baseY -10 , duration = 14 , hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(565,0,14, { tex_index = 237 , tex_w = 81 , tex_h = 118 , tex_offset_x = baseX +30 , tex_offset_y = baseY -12 , duration = 4 , hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(565,0,15, { tex_index = 236 , tex_w = 94 , tex_h = 118 , tex_offset_x = baseX +68 , tex_offset_y = baseY -8 , duration = 4 , hurtbox = pat:get_frame(200,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) for idx = 4 , 11 do pat:remove_frame(566,0,4) end for idx = 4 , 11 do pat:split_frame(566,0,3,1,1) end pat:remove_frame(566,0,18) pat:remove_frame(566,0,17) pat:remove_frame(566,0,16) pat:update_frame(566,0,0, { tex_index = 581 , tex_w = 68 , tex_h = 120 , tex_offset_x = baseX +0 , tex_offset_y = baseY -0 , duration = 3 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(566,0,1, { tex_index = 581 , tex_w = 68 , tex_h = 120 , tex_offset_x = baseX +0 , tex_offset_y = baseY -0 , duration = 6 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(566,0,2, { tex_index = 585 , tex_w = 122 , tex_h = 121 , tex_offset_x = baseX +48 , tex_offset_y = baseY -0 , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(566,0,3, { tex_index = 582 , tex_w = 121 , tex_h = 123 , tex_offset_x = baseX +46 , tex_offset_y = baseY -0 , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox , attackbox = pat:get_frame(565,0,3).attackbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(566,0,4, { tex_index = 583 , tex_w = 121 , tex_h = 122 , tex_offset_x = baseX +46 , tex_offset_y = baseY -0 , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox , attackbox = pat:get_frame(565,0,3).attackbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(566,0,5, { tex_index = 584 , tex_w = 121 , tex_h = 122 , tex_offset_x = baseX +48 , tex_offset_y = baseY -0 , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox , attackbox = pat:get_frame(565,0,3).attackbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(566,0,6, { tex_index = 585 , tex_w = 122 , tex_h = 121 , tex_offset_x = baseX +48 , tex_offset_y = baseY -0 , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox , attackbox = pat:get_frame(565,0,3).attackbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(566,0,7, { tex_index = 582 , tex_w = 121 , tex_h = 123 , tex_offset_x = baseX +46 , tex_offset_y = baseY -0 , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox , attackbox = pat:get_frame(565,0,3).attackbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(566,0,8, { tex_index = 583 , tex_w = 121 , tex_h = 122 , tex_offset_x = baseX +46 , tex_offset_y = baseY -0 , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox , attackbox = pat:get_frame(565,0,3).attackbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(566,0,9, { tex_index = 584 , tex_w = 121 , tex_h = 122 , tex_offset_x = baseX +48 , tex_offset_y = baseY -0 , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox , attackbox = pat:get_frame(565,0,3).attackbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(566,0,10, { tex_index = 585 , tex_w = 122 , tex_h = 121 , tex_offset_x = baseX +48 , tex_offset_y = baseY -0 , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox , attackbox = pat:get_frame(565,0,3).attackbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(566,0,11, { tex_index = 586 , tex_w = 121 , tex_h = 117 , tex_offset_x = baseX +98 , tex_offset_y = baseY -16 , duration = 4 , hurtbox = pat:get_frame(0,0,0).hurtbox , attackbox = pat:get_frame(565,0,3).attackbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(566,0,12, { tex_index = 587 , tex_w = 102 , tex_h = 114 , tex_offset_x = baseX +64 , tex_offset_y = baseY -10 , duration = 4 , hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(566,0,13, { tex_index = 238 , tex_w = 98 , tex_h = 114 , tex_offset_x = baseX +56 , tex_offset_y = baseY -10 , duration = 14 , hurtbox = pat:get_frame(200,0,1).hurtbox , attackbox = pat:get_frame(0,0,0).attackbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(566,0,14, { tex_index = 237 , tex_w = 81 , tex_h = 118 , tex_offset_x = baseX +30 , tex_offset_y = baseY -12 , duration = 4 , hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(566,0,15, { tex_index = 236 , tex_w = 94 , tex_h = 118 , tex_offset_x = baseX +68 , tex_offset_y = baseY -8 , duration = 4 , hurtbox = pat:get_frame(200,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) for idy = 0 , 1 do for idx = 0 , 2 do pat:update_frame(565+idy,0,idx,function(frame) set_fflag(frame,FF_GRAZE) end) end end end function mods.a623_charge(pat) local baseX = 64 +8 local baseY = 183 +50 +4 for idy = 0 , 3 do if (idy==1) or (idy==3) then pat:remove_frame(570+idy,1,5) pat:remove_frame(570+idy,1,4) end pat:remove_frame(570+idy,1,3) pat:remove_frame(570+idy,1,2) pat:remove_frame(570+idy,1,1) pat:remove_frame(570+idy,2,3) pat:remove_frame(570+idy,2,2) if (idy > 1) then pat:split_frame(570+idy,0,5,1,1) pat:split_frame(570+idy,0,5,1,1) end pat:update_frame(570+idy,0,0, { tex_index = 236 , tex_w = 94 , tex_h = 118 , tex_offset_x = baseX +68 , tex_offset_y = baseY -6 , duration = 2 , hurtbox = pat:get_frame(200,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(570+idy,0,1, { tex_index = 236 , tex_w = 94 , tex_h = 118 , tex_offset_x = baseX +68 , tex_offset_y = baseY -6 , duration = 1 , hurtbox = pat:get_frame(200,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(570+idy,0,2, { tex_index = 237 , tex_w = 81 , tex_h = 118 , tex_offset_x = baseX +30 , tex_offset_y = baseY -12 , duration = 3 , hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(570+idy,0,3, { tex_index = 237 , tex_w = 81 , tex_h = 118 , tex_offset_x = baseX +30 , tex_offset_y = baseY -12 , duration = 2 , hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(570+idy,0,4, { tex_index = 238 , tex_w = 98 , tex_h = 114 , tex_offset_x = baseX +56 , tex_offset_y = baseY -8 -4 , duration = 2 , hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(570+idy,0,5, { tex_index = 238 , tex_w = 98 , tex_h = 114 , tex_offset_x = baseX +56 , tex_offset_y = baseY -8 -4 , duration = 1 , hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(570+idy,0,6, { tex_index = 564 , tex_w = 98 , tex_h = 120 , tex_offset_x = baseX +56 , tex_offset_y = baseY -8 -4 , duration = 1 , hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(570+idy,0,6,function(frame) frame.hurtbox[1].x1 = frame.hurtbox[1].x1 + 20 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 + 40 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 + 40 frame.hurtbox[2].y2 = frame.hurtbox[3].y2 - 25 frame.hurtbox[3].x2 = frame.hurtbox[2].x2 - 20 frame.hurtbox[1].y2 = frame.hurtbox[2].y2 - 10 frame.hurtbox[2].x1 = frame.hurtbox[2].x1 + 30 frame.hurtbox[3].x1 = frame.hurtbox[3].x1 + 15 end) pat:update_frame(570+idy,0,7, { tex_index = 564 , tex_w = 98 , tex_h = 120 , tex_offset_x = baseX +56 , tex_offset_y = baseY -8 -4 , duration = 1 , hurtbox = pat:get_frame(570+idy,0,6).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(570+idy,1,0, { tex_index = 564 , tex_w = 98 , tex_h = 120 , tex_offset_x = baseX +56 , tex_offset_y = baseY -8 -4 , duration = 16 , hurtbox = pat:get_frame(570+idy,0,6).hurtbox , collision = pat:get_frame(6,1,0).collision }) if (idy==0) then pat:update_frame(570+idy,0,2,{duration = 3+7}) pat:update_frame(570+idy,1,0,{duration = 12}) elseif (idy==1) then pat:update_frame(570+idy,0,2,{duration = 3+7}) pat:update_frame(570+idy,1,0,{duration = 18}) elseif (idy==2) then pat:update_frame(570+idy,1,0,{duration = 6}) else pat:update_frame(570+idy,1,0,{duration = 12}) end for idz = 0 , 7 do if (idy <= 1) then pat:update_frame(570+idy,0,idz,function(frame) unset_fflag(frame,FF_GRAZE) unset_fflag(frame,FF_BULLET_INV) end) end end pat:update_frame(570+idy,1,0,function(frame) frame.attackbox[1].y1 = frame.attackbox[1].y1 + 80 frame.attackbox[1].y2 = frame.attackbox[1].y2 + 60 frame.attackbox[2].y1 = frame.attackbox[2].y1 + 80 frame.attackbox[1].x1 = frame.attackbox[1].x1 + 0 frame.attackbox[2].x1 = frame.attackbox[2].x1 + 40 frame.attackbox[1].x2 = frame.attackbox[1].x2 - 60 frame.hitstop_self = 0 frame.hitstop_enemy = 0 frame.blockstop_self = 0 frame.blockstop_enemy = 0 frame.launch_vector_y = 600 frame.launch_vector_x = 1450 end) pat:split_frame(570+idy,1,0,2,12) if (idy==0) then pat:update_frame(570+idy,1,1,{duration = 12-2}) elseif (idy==1) then pat:update_frame(570+idy,1,1,{duration = 18-2}) elseif (idy==2) then pat:update_frame(570+idy,1,1,{duration = 6-2}) else pat:update_frame(570+idy,1,1,{duration = 12-2}) end if (idy<=1) then pat:update_frame(570+idy,1,1,function(frame) unset_fflag(frame,FF_GRAZE) unset_fflag(frame,FF_BULLET_INV) unset_fflag(frame,FF_MELEE_INV) end) end pat:update_frame(570+idy,2,0, { tex_index = 564 , tex_w = 98 , tex_h = 120 , tex_offset_x = baseX +56 , tex_offset_y = baseY -8 -4 , duration = 8 , hurtbox = pat:get_frame(570+idy,0,6).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(570+idy,2,1, { tex_index = 318 , tex_w = 100 , tex_h = 121 , tex_offset_x = baseX +46 , tex_offset_y = baseY +20 +0 , duration = 4 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:split_frame(570+idy,3,1,2,2) pat:update_frame(570+idy,3,0, { tex_index = 319 , tex_w = 96 , tex_h = 126 , tex_offset_x = baseX +46 , tex_offset_y = baseY +16 , duration = 4 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(570+idy,3,1, { tex_index = 320 , tex_w = 96 , tex_h = 126 , tex_offset_x = baseX +46 , tex_offset_y = baseY +16 , duration = 4 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(570+idy,3,2, { tex_index = 321 , tex_w = 96 , tex_h = 126 , tex_offset_x = baseX +46 , tex_offset_y = baseY +16 , duration = 4 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(570+idy,4,0, { tex_index = 237 , tex_w = 81 , tex_h = 118 , tex_offset_x = baseX +30 , tex_offset_y = baseY -12 , duration = 16+14-6 , hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(570+idy,4,1, { tex_index = 236 , tex_w = 94 , tex_h = 118 , tex_offset_x = baseX +68 , tex_offset_y = baseY -6 , duration = 4+2 , hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) if (idy > 1) then pat:update_frame(570+idy,1,0,function(frame) unset_aflag(frame,AF_LOWBLOCK_OK) set_aflag(frame,AF_HIGHBLOCK_OK) unset_aflag(frame,AF_ATTACK_LOW) set_aflag(frame,AF_ATTACK_HIGH) unset_aflag(frame,AF_STAGGER) frame.sp_damage = 400 end) pat:update_frame(570+idy,4,0,function(frame) frame.duration = 6 end) pat:update_frame(570+idy,4,1,function(frame) frame.duration = 3 end) end end end function mods.a214_quake(pat) local baseX = 64 +8 local baseY = 183 +50 +4 pat:update_frame(505,0,0, { tex_index = 407 , tex_w = 68 , tex_h = 121 , tex_offset_x = baseX -12 , tex_offset_y = baseY +2 , duration = 2 , hurtbox = pat:get_frame(500,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(505,0,1, { tex_index = 407 , tex_w = 68 , tex_h = 121 , tex_offset_x = baseX -12 , tex_offset_y = baseY +2 , duration = 3 , hurtbox = pat:get_frame(500,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(505,0,2, { tex_index = 408 , tex_w = 103 , tex_h = 124 , tex_offset_x = baseX +28 , tex_offset_y = baseY +8 , duration = 2 , hurtbox = pat:get_frame(500,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(505,0,3, { tex_index = 408 , tex_w = 103 , tex_h = 124 , tex_offset_x = baseX +28 , tex_offset_y = baseY +8 , duration = 3 , hurtbox = pat:get_frame(500,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(505,0,4, { tex_index = 409 , tex_w = 81 , tex_h = 127 , tex_offset_x = baseX +20 , tex_offset_y = baseY +16 , duration = 2 , hurtbox = pat:get_frame(500,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(505,0,5, { tex_index = 409 , tex_w = 81 , tex_h = 127 , tex_offset_x = baseX +20 , tex_offset_y = baseY +16 , duration = 7 , hurtbox = pat:get_frame(500,0,5).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(505,0,6, { tex_index = 409 , tex_w = 81 , tex_h = 127 , tex_offset_x = baseX +20 , tex_offset_y = baseY +16 , duration = 2 , hurtbox = pat:get_frame(500,0,6).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(505,0,7, { tex_index = 409 , tex_w = 81 , tex_h = 127 , tex_offset_x = baseX +20 , tex_offset_y = baseY +16 , duration = 7 , hurtbox = pat:get_frame(500,0,7).hurtbox , collision = pat:get_frame(0,0,0).collision }) --pat:update_frame(500,0,6, { tex_index = 410 , tex_w = 103 , tex_h = 124 , tex_offset_x = baseX +30 , tex_offset_y = baseY +10 , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) --pat:update_frame(500,0,7, { tex_index = 410 , tex_w = 103 , tex_h = 124 , tex_offset_x = baseX +30 , tex_offset_y = baseY +10 , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(505,0,8, { tex_index = 411 , tex_w = 75 , tex_h = 138 , tex_offset_x = baseX -36 , tex_offset_y = baseY +38 , duration = 2 , hurtbox = pat:get_frame(500,0,8).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(505,0,9, { tex_index = 411 , tex_w = 75 , tex_h = 138 , tex_offset_x = baseX -36 , tex_offset_y = baseY +38 , duration = 2 , hurtbox = pat:get_frame(500,0,9).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(505,0,10, { tex_index = 412 , tex_w = 132 , tex_h = 123 , tex_offset_x = baseX -22 , tex_offset_y = baseY +4 , duration = 4 , hurtbox = pat:get_frame(500,0,10).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(505,0,11, { tex_index = 413 , tex_w = 131 , tex_h = 97 , tex_offset_x = baseX -22 , tex_offset_y = baseY -48 , duration = 4 , hurtbox = pat:get_frame(500,0,11).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(505,0,12, { tex_index = 413 , tex_w = 131 , tex_h = 97 , tex_offset_x = baseX -22 , tex_offset_y = baseY -48 , duration = 16 , hurtbox = pat:get_frame(500,0,12).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(505,0,13, { tex_index = 414 , tex_w = 103 , tex_h = 118 , tex_offset_x = baseX -18 , tex_offset_y = baseY -0 , duration = 4 , hurtbox = pat:get_frame(500,0,13).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(505,0,14, { tex_index = 407 , tex_w = 68 , tex_h = 121 , tex_offset_x = baseX -12 , tex_offset_y = baseY +2 , duration = 2 , hurtbox = pat:get_frame(500,0,14).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(505,0,15, { tex_index = 407 , tex_w = 68 , tex_h = 121 , tex_offset_x = baseX -12 , tex_offset_y = baseY +2 , duration = 2 , hurtbox = pat:get_frame(500,0,15).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(506,0,0, { tex_index = 407 , tex_w = 68 , tex_h = 121 , tex_offset_x = baseX -12 , tex_offset_y = baseY +2 , duration = 2 , hurtbox = pat:get_frame(500,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(506,0,1, { tex_index = 407 , tex_w = 68 , tex_h = 121 , tex_offset_x = baseX -12 , tex_offset_y = baseY +2 , duration = 3 , hurtbox = pat:get_frame(500,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(506,0,2, { tex_index = 408 , tex_w = 103 , tex_h = 124 , tex_offset_x = baseX +28 , tex_offset_y = baseY +8 , duration = 2 , hurtbox = pat:get_frame(500,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(506,0,3, { tex_index = 408 , tex_w = 103 , tex_h = 124 , tex_offset_x = baseX +28 , tex_offset_y = baseY +8 , duration = 3 , hurtbox = pat:get_frame(500,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(506,0,4, { tex_index = 409 , tex_w = 81 , tex_h = 127 , tex_offset_x = baseX +20 , tex_offset_y = baseY +16 , duration = 2 , hurtbox = pat:get_frame(500,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(506,0,5, { tex_index = 409 , tex_w = 81 , tex_h = 127 , tex_offset_x = baseX +20 , tex_offset_y = baseY +16 , duration = 7 , hurtbox = pat:get_frame(500,0,5).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(506,0,6, { tex_index = 409 , tex_w = 81 , tex_h = 127 , tex_offset_x = baseX +20 , tex_offset_y = baseY +16 , duration = 2 , hurtbox = pat:get_frame(500,0,6).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(506,0,7, { tex_index = 409 , tex_w = 81 , tex_h = 127 , tex_offset_x = baseX +20 , tex_offset_y = baseY +16 , duration = 7 , hurtbox = pat:get_frame(500,0,7).hurtbox , collision = pat:get_frame(0,0,0).collision }) --pat:update_frame(500,0,6, { tex_index = 410 , tex_w = 103 , tex_h = 124 , tex_offset_x = baseX +30 , tex_offset_y = baseY +10 , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) --pat:update_frame(500,0,7, { tex_index = 410 , tex_w = 103 , tex_h = 124 , tex_offset_x = baseX +30 , tex_offset_y = baseY +10 , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(506,0,8, { tex_index = 411 , tex_w = 75 , tex_h = 138 , tex_offset_x = baseX -36 , tex_offset_y = baseY +38 , duration = 2 , hurtbox = pat:get_frame(500,0,8).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(506,0,9, { tex_index = 411 , tex_w = 75 , tex_h = 138 , tex_offset_x = baseX -36 , tex_offset_y = baseY +38 , duration = 2 , hurtbox = pat:get_frame(500,0,9).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(506,0,10, { tex_index = 412 , tex_w = 132 , tex_h = 123 , tex_offset_x = baseX -22 , tex_offset_y = baseY +4 , duration = 4 , hurtbox = pat:get_frame(500,0,10).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(506,0,11, { tex_index = 413 , tex_w = 131 , tex_h = 97 , tex_offset_x = baseX -22 , tex_offset_y = baseY -48 , duration = 4 , hurtbox = pat:get_frame(500,0,11).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(506,0,12, { tex_index = 413 , tex_w = 131 , tex_h = 97 , tex_offset_x = baseX -22 , tex_offset_y = baseY -48 , duration = 16 , hurtbox = pat:get_frame(500,0,12).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(506,0,13, { tex_index = 414 , tex_w = 103 , tex_h = 118 , tex_offset_x = baseX -18 , tex_offset_y = baseY -0 , duration = 4 , hurtbox = pat:get_frame(500,0,13).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(506,0,14, { tex_index = 407 , tex_w = 68 , tex_h = 121 , tex_offset_x = baseX -12 , tex_offset_y = baseY +2 , duration = 2 , hurtbox = pat:get_frame(500,0,14).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(506,0,15, { tex_index = 407 , tex_w = 68 , tex_h = 121 , tex_offset_x = baseX -12 , tex_offset_y = baseY +2 , duration = 2 , hurtbox = pat:get_frame(500,0,15).hurtbox , collision = pat:get_frame(0,0,0).collision }) for idx = 1 , 60 + 60 do pat:split_frame(811,6,0,1,1) end for idx = 0 , 60 + 60 do pat:update_frame(811,6,idx,function(frame) frame.tex_index = 335+idx%8 frame.tex_w = 1024 frame.tex_h = 64 frame.tex_offset_x = 512 frame.tex_offset_y = 32 frame.scale_x = 600 frame.scale_y = 600 frame.duration = 1 frame.angle_z = 90 frame.damage = 150 frame.chip_damage = 15 frame.sp_damage = 25 frame.proration = 950 frame.limit = 5 frame.card_gain_hit = 10 frame.card_gain_block = 10 frame.hitstop_enemy = 10 frame.blockstop_enemy = 10 frame.fflags = pat:get_frame(810,6,0).fflags frame.aflags = pat:get_frame(810,6,0).aflags local scal = 100 if (idx < 29) then scal = 1 elseif (idx < 39) then scal = (idx-29) elseif (idx < 49 + 60) then scal = 10 elseif (idx < 59 + 60) then scal = 10-(idx-(49 + 60)) else scal = 0 end frame.scale_y = scal*60 local scalemody = 100/frame.scale_y local scalemodx = 100/frame.scale_x if ((idx>=39) and (idx<=49 + 60)) then frame.attackbox[2]=null frame.attackbox[1].y1 = -2000 frame.attackbox[1].y2 = 0 frame.attackbox[1].x1 = -30 frame.attackbox[1].x2 = 30 frame.hurtbox = frame.attackbox else frame.attackbox = pat:get_frame(0,0,0).attackbox end end) end pat:update_frame(811,7,0,function(frame) frame.tex_index = 335+0 frame.tex_w = 1024 frame.tex_h = 64 frame.tex_offset_x = 512 frame.tex_offset_y = 32 frame.scale_x = 600 frame.scale_y = 600 frame.duration = 1 frame.angle_z = 90 frame.fflags = pat:get_frame(810,6,0).fflags frame.aflags = pat:get_frame(810,6,0).aflags local scal = 1 frame.scale_y = scal*60 local scalemody = 100/frame.scale_y local scalemodx = 100/frame.scale_x end) end function mods.a214_boomerang(pat) local baseX = 64 +8 local baseY = 183 +50 +4 pat:update_frame(510,0,0, { tex_index = 407 , tex_w = 68 , tex_h = 121 , tex_offset_x = baseX -12 , tex_offset_y = baseY +2 , duration = 2 , hurtbox = pat:get_frame(500,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(510,0,1, { tex_index = 407 , tex_w = 68 , tex_h = 121 , tex_offset_x = baseX -12 , tex_offset_y = baseY +2 , duration = 2 , hurtbox = pat:get_frame(500,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(510,0,2, { tex_index = 408 , tex_w = 103 , tex_h = 124 , tex_offset_x = baseX +28 , tex_offset_y = baseY +8 , duration = 4 , hurtbox = pat:get_frame(500,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(510,0,3, { tex_index = 409 , tex_w = 81 , tex_h = 127 , tex_offset_x = baseX +20 , tex_offset_y = baseY +16 , duration = 4 , hurtbox = pat:get_frame(500,0,7).hurtbox , collision = pat:get_frame(0,0,0).collision }) --pat:update_frame(500,0,6, { tex_index = 410 , tex_w = 103 , tex_h = 124 , tex_offset_x = baseX +30 , tex_offset_y = baseY +10 , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) --pat:update_frame(500,0,7, { tex_index = 410 , tex_w = 103 , tex_h = 124 , tex_offset_x = baseX +30 , tex_offset_y = baseY +10 , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(510,0,4, { tex_index = 411 , tex_w = 75 , tex_h = 138 , tex_offset_x = baseX -36 , tex_offset_y = baseY +38 , duration = 2 , hurtbox = pat:get_frame(500,0,8).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(510,0,5, { tex_index = 411 , tex_w = 75 , tex_h = 138 , tex_offset_x = baseX -36 , tex_offset_y = baseY +38 , duration = 2 , hurtbox = pat:get_frame(500,0,9).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(510,0,6, { tex_index = 412 , tex_w = 132 , tex_h = 123 , tex_offset_x = baseX -22 , tex_offset_y = baseY +4 , duration = 4 , hurtbox = pat:get_frame(500,0,10).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(510,0,7, { tex_index = 413 , tex_w = 131 , tex_h = 97 , tex_offset_x = baseX -22 , tex_offset_y = baseY -48 , duration = 4 , hurtbox = pat:get_frame(500,0,11).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(510,0,8, { tex_index = 413 , tex_w = 131 , tex_h = 97 , tex_offset_x = baseX -22 , tex_offset_y = baseY -48 , duration = 4 , hurtbox = pat:get_frame(500,0,12).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(510,0,9, { tex_index = 413 , tex_w = 131 , tex_h = 97 , tex_offset_x = baseX -22 , tex_offset_y = baseY -48 , duration = 18 , hurtbox = pat:get_frame(500,0,12).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(510,0,10, { tex_index = 414 , tex_w = 103 , tex_h = 118 , tex_offset_x = baseX -18 , tex_offset_y = baseY -0 , duration = 4 , hurtbox = pat:get_frame(500,0,13).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(510,0,11, { tex_index = 407 , tex_w = 68 , tex_h = 121 , tex_offset_x = baseX -12 , tex_offset_y = baseY +2 , duration = 2 , hurtbox = pat:get_frame(500,0,14).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(510,0,12, { tex_index = 407 , tex_w = 68 , tex_h = 121 , tex_offset_x = baseX -12 , tex_offset_y = baseY +2 , duration = 2 , hurtbox = pat:get_frame(500,0,15).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(511,0,0, { tex_index = 407 , tex_w = 68 , tex_h = 121 , tex_offset_x = baseX -12 , tex_offset_y = baseY +2 , duration = 2 , hurtbox = pat:get_frame(500,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(511,0,1, { tex_index = 407 , tex_w = 68 , tex_h = 121 , tex_offset_x = baseX -12 , tex_offset_y = baseY +2 , duration = 2 , hurtbox = pat:get_frame(500,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(511,0,2, { tex_index = 408 , tex_w = 103 , tex_h = 124 , tex_offset_x = baseX +28 , tex_offset_y = baseY +8 , duration = 4 , hurtbox = pat:get_frame(500,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(511,0,3, { tex_index = 409 , tex_w = 81 , tex_h = 127 , tex_offset_x = baseX +20 , tex_offset_y = baseY +16 , duration = 14 , hurtbox = pat:get_frame(500,0,7).hurtbox , collision = pat:get_frame(0,0,0).collision }) --pat:update_frame(500,0,6, { tex_index = 410 , tex_w = 103 , tex_h = 124 , tex_offset_x = baseX +30 , tex_offset_y = baseY +10 , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) --pat:update_frame(500,0,7, { tex_index = 410 , tex_w = 103 , tex_h = 124 , tex_offset_x = baseX +30 , tex_offset_y = baseY +10 , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(511,0,4, { tex_index = 411 , tex_w = 75 , tex_h = 138 , tex_offset_x = baseX -36 , tex_offset_y = baseY +38 , duration = 2 , hurtbox = pat:get_frame(500,0,8).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(511,0,5, { tex_index = 411 , tex_w = 75 , tex_h = 138 , tex_offset_x = baseX -36 , tex_offset_y = baseY +38 , duration = 2 , hurtbox = pat:get_frame(500,0,9).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(511,0,6, { tex_index = 412 , tex_w = 132 , tex_h = 123 , tex_offset_x = baseX -22 , tex_offset_y = baseY +4 , duration = 4 , hurtbox = pat:get_frame(500,0,10).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(511,0,7, { tex_index = 413 , tex_w = 131 , tex_h = 97 , tex_offset_x = baseX -22 , tex_offset_y = baseY -48 , duration = 4 , hurtbox = pat:get_frame(500,0,11).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(511,0,8, { tex_index = 413 , tex_w = 131 , tex_h = 97 , tex_offset_x = baseX -22 , tex_offset_y = baseY -48 , duration = 4 , hurtbox = pat:get_frame(500,0,12).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(511,0,9, { tex_index = 413 , tex_w = 131 , tex_h = 97 , tex_offset_x = baseX -22 , tex_offset_y = baseY -48 , duration = 14 , hurtbox = pat:get_frame(500,0,12).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(511,0,10, { tex_index = 414 , tex_w = 103 , tex_h = 118 , tex_offset_x = baseX -18 , tex_offset_y = baseY -0 , duration = 4 , hurtbox = pat:get_frame(500,0,13).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(511,0,11, { tex_index = 407 , tex_w = 68 , tex_h = 121 , tex_offset_x = baseX -12 , tex_offset_y = baseY +2 , duration = 2 , hurtbox = pat:get_frame(500,0,14).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(511,0,12, { tex_index = 407 , tex_w = 68 , tex_h = 121 , tex_offset_x = baseX -12 , tex_offset_y = baseY +2 , duration = 2 , hurtbox = pat:get_frame(500,0,15).hurtbox , collision = pat:get_frame(0,0,0).collision }) --510 --812 for idy = 0 , 1 do pat:update_frame(510+idy,0,7,function(frame) frame.attackbox = pat:get_frame(0,0,0).hurtbox frame.attackbox[1].x1 = -60 frame.attackbox[1].x2 = 225 frame.attackbox[1].y1 = -40 frame.attackbox[1].y2 = 0 frame.damage = 1200 frame.chip_damage = 300 frame.untech = 45 frame.aflags = 0x00006c0f frame.fflags = 0x00000061 frame.limit = 40 frame.combo_correction = CC_LIFT_ATTACK frame.hit_ani_air = 71 frame.hit_ani_ground = 71 frame.proration = 750 frame.sp_damage = 200 frame.attack_level = AL_SUPERHEAVY frame.card_gain_hit = 120 frame.card_gain_block = 80 frame.launch_vector_x = 0 frame.launch_vector_y = 1400 frame.hit_sfx = 3 frame.hit_effect = 8 frame.unknown_9 = 100 frame.hitstop_self = 10 frame.hitstop_enemy = 10 frame.blockstop_self = 10 frame.blockstop_enemy = 10 set_aflag(frame,AF_SKILL_ATTACK) set_aflag(frame,AF_LOWBLOCK_OK) unset_aflag(frame,AF_HIGHBLOCK_OK) set_aflag(frame,AF_ATTACK_LOW) unset_aflag(frame,AF_ATTACK_HIGH) end) for idx = 9 , 12 do pat:update_frame(510+idy,0,idx,function(frame) unset_fflag(frame,FF_MOTION_CANCEL) end) end end end function mods.a22_keystone(pat) local baseX = 64 +8 local baseY = 183 +50 +4 pat:update_frame(530,0,0, { tex_index = 515 , tex_w = 67 , tex_h = 123 , tex_offset_x = baseX -4 , tex_offset_y = baseY -0 , duration = 1 , hurtbox = pat:get_frame(400,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(530,0,1, { tex_index = 515 , tex_w = 67 , tex_h = 123 , tex_offset_x = baseX -4 , tex_offset_y = baseY -0 , duration = 1 , hurtbox = pat:get_frame(400,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(530,0,2, { tex_index = 515 , tex_w = 67 , tex_h = 123 , tex_offset_x = baseX -4 , tex_offset_y = baseY -0 , duration = 1 , hurtbox = pat:get_frame(400,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(530,0,3, { tex_index = 515 , tex_w = 67 , tex_h = 123 , tex_offset_x = baseX -4 , tex_offset_y = baseY -0 , duration = 2+2 , hurtbox = pat:get_frame(400,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(530,0,4, { tex_index = 516 , tex_w = 63 , tex_h = 121 , tex_offset_x = baseX -20 , tex_offset_y = baseY +0 , duration = 2 , hurtbox = pat:get_frame(400,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(530,0,5, { tex_index = 516 , tex_w = 63 , tex_h = 121 , tex_offset_x = baseX -20 , tex_offset_y = baseY +0 , duration = 2 , hurtbox = pat:get_frame(400,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(530,0,6, { tex_index = 527 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 2 , hurtbox = pat:get_frame(400,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(530,0,6,function(frame) frame.hurtbox[1].x2 = frame.hurtbox[1].x2 + 40 end) pat:update_frame(530,0,7, { tex_index = 527 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 2 , hurtbox = pat:get_frame(530,0,6).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(530,0,8, { tex_index = 528 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 2 , hurtbox = pat:get_frame(530,0,6).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(530,0,9, { tex_index = 528 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 6 , hurtbox = pat:get_frame(530,0,6).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(530,0,10, { tex_index = 527 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 6 , hurtbox = pat:get_frame(530,0,6).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(530,0,11, { tex_index = 528 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 6 , hurtbox = pat:get_frame(530,0,6).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(530,0,12, { tex_index = 527 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 6 , hurtbox = pat:get_frame(530,0,6).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(530,0,13, { tex_index = 528 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 6 , hurtbox = pat:get_frame(530,0,6).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(530,0,14, { tex_index = 527 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 16 , hurtbox = pat:get_frame(530,0,6).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(530,0,15, { tex_index = 529 , tex_w = 67 , tex_h = 122 , tex_offset_x = baseX -16 , tex_offset_y = baseY +4 , duration = 5 , hurtbox = pat:get_frame(400,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(531,0,0, { tex_index = 515 , tex_w = 67 , tex_h = 123 , tex_offset_x = baseX -4 , tex_offset_y = baseY -0 , duration = 1 , hurtbox = pat:get_frame(400,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(531,0,1, { tex_index = 515 , tex_w = 67 , tex_h = 123 , tex_offset_x = baseX -4 , tex_offset_y = baseY -0 , duration = 1 , hurtbox = pat:get_frame(400,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(531,0,2, { tex_index = 515 , tex_w = 67 , tex_h = 123 , tex_offset_x = baseX -4 , tex_offset_y = baseY -0 , duration = 1 , hurtbox = pat:get_frame(400,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(531,0,3, { tex_index = 515 , tex_w = 67 , tex_h = 123 , tex_offset_x = baseX -4 , tex_offset_y = baseY -0 , duration = 2+2 , hurtbox = pat:get_frame(400,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(531,0,4, { tex_index = 516 , tex_w = 63 , tex_h = 121 , tex_offset_x = baseX -20 , tex_offset_y = baseY +0 , duration = 2 , hurtbox = pat:get_frame(400,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(531,0,5, { tex_index = 516 , tex_w = 63 , tex_h = 121 , tex_offset_x = baseX -20 , tex_offset_y = baseY +0 , duration = 2 , hurtbox = pat:get_frame(400,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(531,0,6, { tex_index = 527 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 2 , hurtbox = pat:get_frame(530,0,6).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(531,0,7, { tex_index = 527 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 2 , hurtbox = pat:get_frame(530,0,6).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(531,0,8, { tex_index = 528 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 2 , hurtbox = pat:get_frame(530,0,6).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(531,0,9, { tex_index = 528 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 6 , hurtbox = pat:get_frame(530,0,6).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(531,0,10, { tex_index = 527 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 6 , hurtbox = pat:get_frame(530,0,6).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(531,0,11, { tex_index = 528 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 6 , hurtbox = pat:get_frame(530,0,6).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(531,0,12, { tex_index = 527 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 6 , hurtbox = pat:get_frame(530,0,6).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(531,0,13, { tex_index = 528 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 6 , hurtbox = pat:get_frame(530,0,6).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(531,0,14, { tex_index = 527 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 16 , hurtbox = pat:get_frame(530,0,6).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(531,0,15, { tex_index = 529 , tex_w = 67 , tex_h = 122 , tex_offset_x = baseX -16 , tex_offset_y = baseY +4 , duration = 5 , hurtbox = pat:get_frame(400,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) --817 --006C72DB --pat:update_frame(817,5,0,{ attackbox = pat:get_frame(0,0,0).hurtbox }) pat:remove_frame(817,1,2) pat:remove_frame(817,1,1) pat:update_frame(817,1,0,function(frame) frame.tex_w = 0 frame.attackbox = pat:get_frame(0,0,0).attackbox frame.hurtbox = pat:get_frame(0,0,0).attackbox end) pat:remove_frame(817,4,2) pat:remove_frame(817,4,1) pat:update_frame(817,4,0,function(frame) frame.tex_w = 0 frame.attackbox = pat:get_frame(0,0,0).attackbox frame.hurtbox = pat:get_frame(0,0,0).attackbox end) pat:get_sequence(817,10):set_priority(20,0) for idx = 1 , 119 do pat:split_frame(817,10,0,1,1) end for idx = 0 , 119 do pat:update_frame(817,10,idx,function(frame) frame.tex_index = 203 frame.tex_w = 128 frame.tex_h = 192 frame.tex_offset_x = 64 frame.tex_offset_y = 64 frame.scale_x = 20 frame.scale_y = 200 frame.attackbox = pat:get_frame(0,0,0).hurtbox set_fflag(frame,FF_LOOP_ANIMATION) set_fflag(frame,FF_AFTER_IMAGE) local ridx = (idx-0)*.5 frame.duration = 1 acc = 10 + (ridx)*.5 frame.scale_x = 15 + (ridx) * acc local didx = ridx local scalemod = 100/frame.scale_x local ymod = 0 local xmod = 0 + acc*didx frame.attackbox[1].x1 = -40 * frame.scale_x / 150 frame.attackbox[1].x2 = 40 * frame.scale_x / 150 frame.attackbox[1].y1 = -10 frame.attackbox[1].y2 = 10 frame.tex_offset_y = frame.tex_offset_y - (ymod)*scalemod frame.attackbox[1].y1 = frame.attackbox[1].y1 + (ymod) frame.attackbox[1].y2 = frame.attackbox[1].y2 + (ymod) frame.tex_offset_x = frame.tex_offset_x - (xmod)*scalemod frame.attackbox[1].x1 = frame.attackbox[1].x1 + (xmod) frame.attackbox[1].x2 = frame.attackbox[1].x2 + (xmod) if (idx > 100) then frame.color_r = (119-idx)*12 frame.color_g = (119-idx)*12 frame.color_b = (119-idx)*12 end if (idx > 110) then frame.attackbox = pat:get_frame(0,0,0).attackbox end frame.aflags = pat:get_frame(801,0,1).aflags set_aflag(frame,AF_SKILL_ATTACK) set_aflag(frame,AF_UNREFLECTABLE) frame.blockstop_self = 8 frame.hitstop_self = 4 frame.hit_effect = 6 frame.hit_sfx = 7 frame.untech = 45 frame.launch_vector_x = 500 frame.launch_vector_y = 1500 frame.hit_ani_air = 71 frame.attack_level = AL_HEAVY frame.limit = 10 frame.damage = 400 frame.chip_damage = 40 frame.sp_damage = 50 frame.proration = 920 frame.hitstop_enemy = 10 frame.blockstop_enemy = 10 end) end pat:get_sequence(817,5):set_priority(20,0) pat:get_sequence(817,5):set_looped(false) for idx = 3 , 255 do pat:split_frame(817,5,2,1,1) end for idx = 0 , 255 do pat:add_particle_info(817,5,idx) pat:update_frame(817,5,idx,function(frame) frame.duration = 1 frame.hurtbox = pat:get_frame(0,0,0).hurtbox frame.hurtbox[1].x1 = -40 frame.hurtbox[1].x2 = 40 frame.hurtbox[1].y1 = -30 frame.hurtbox[1].y2 = 30 frame.attackbox = pat:get_frame(0,0,0).attackbox set_aflag(frame,AF_CAN_HIT_SELF) frame.fflags = 0x00c00000 end) end for idx = 0 , 255 do pat:update_frame(817,5,idx,function(frame) frame.tex_index = 423 + (idx%10) frame.tex_w = 128 frame.tex_h = 128 frame.tex_offset_x = 64 frame.tex_offset_y = 64 frame.duration = 1 frame.angle_z = 90 frame.scale_x = 150 frame.scale_y = 150 frame.color_g = 155 frame.blending_mode = 1 end) end for idx = 0 , 9 do pat:update_frame(817,5,idx,function(frame) frame.duration = 1 frame.scale_x = (idx+1) * 15 frame.scale_y = (idx+1) * 15 end) end for idx = 7 , 8 do pat:add_particle_info(817,idx,0) pat:update_frame(817,idx,0,function(frame) frame.tex_index = 423 frame.tex_w = 128 frame.tex_h = 128 frame.tex_offset_x = 64 frame.tex_offset_y = 64 frame.duration = 1 frame.angle_z = 90 frame.scale_x = 30 frame.scale_y = 30 frame.color_g = 155 frame.blending_mode = 1 end) end end function mods.a22_guard(pat) local baseX = 64 +8 local baseY = 183 +50 +4 for idx = 0 , 2 do pat:update_frame(525+idx,0,0, { tex_index = 515 , tex_w = 67 , tex_h = 123 , tex_offset_x = baseX -4 , tex_offset_y = baseY -0 , duration = 2 , hurtbox = pat:get_frame(400,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(525+idx,0,1, { tex_index = 515 , tex_w = 67 , tex_h = 123 , tex_offset_x = baseX -4 , tex_offset_y = baseY -0 , duration = 2 , hurtbox = pat:get_frame(400,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(525+idx,0,2, { tex_index = 515 , tex_w = 67 , tex_h = 123 , tex_offset_x = baseX -4 , tex_offset_y = baseY -0 , duration = 10 , hurtbox = pat:get_frame(400,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(525+idx,0,3, { tex_index = 516 , tex_w = 63 , tex_h = 121 , tex_offset_x = baseX -20 , tex_offset_y = baseY +0 , duration = 2 , hurtbox = pat:get_frame(400,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(525+idx,0,4, { tex_index = 516 , tex_w = 63 , tex_h = 121 , tex_offset_x = baseX -20 , tex_offset_y = baseY +0 , duration = 2 , hurtbox = pat:get_frame(400,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(525+idx,0,5, { tex_index = 527 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 14 , hurtbox = pat:get_frame(530,0,6).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(525+idx,0,6, { tex_index = 527 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 4 , hurtbox = pat:get_frame(530,0,6).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(525+idx,0,7, { tex_index = 528 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 3 , hurtbox = pat:get_frame(530,0,6).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(525+idx,0,8, { tex_index = 528 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 3 , hurtbox = pat:get_frame(530,0,6).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(525+idx,0,9, { tex_index = 527 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 6 , hurtbox = pat:get_frame(530,0,6).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(525+idx,0,10, { tex_index = 527 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 6 , hurtbox = pat:get_frame(530,0,6).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(525+idx,0,11, { tex_index = 528 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 6 , hurtbox = pat:get_frame(530,0,6).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(525+idx,0,12, { tex_index = 527 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 16 , hurtbox = pat:get_frame(530,0,6).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(525+idx,0,13, { tex_index = 529 , tex_w = 67 , tex_h = 122 , tex_offset_x = baseX -16 , tex_offset_y = baseY +4 , duration = 5 , hurtbox = pat:get_frame(400,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) end pat:get_sequence(816,0):set_looped(false) pat:get_sequence(816,0):set_priority(10,0) for idx = 4 , 159 do pat:split_frame(816,0,0,1,1) end for idx = 0 , 159 do pat:update_frame(816,0,idx,function(frame) frame.attackbox = pat:get_frame(0,0,0).attackbox frame.hurtbox = pat:get_frame(0,0,0).hurtbox frame.hurtbox[1].y2 = frame.hurtbox[1].y2 - 50 frame.hurtbox[1].y1 = frame.hurtbox[1].y1 + 30 frame.tex_index = 423 + idx%10 frame.tex_w = 128 frame.tex_h = 128 frame.tex_offset_x = 64 frame.tex_offset_y = 160 frame.duration = 2 --frame.angle_z = 20 frame.scale_x = 100 frame.scale_y = 100 frame.blending_mode = 2 end) end for idx = 0 , 9 do pat:update_frame(816,0,idx,function(frame) frame.duration = 1 frame.tex_offset_y = 0 + 16*idx frame.tex_h = 16*idx if (frame.tex_h > 128) then frame.tex_h = 128 end frame.hurtbox = pat:get_frame(0,0,0).attackbox end) end for idx = 150 , 159 do pat:update_frame(816,0,idx,function(frame) frame.hurtbox = pat:get_frame(0,0,0).attackbox frame.duration = 1 local alpha = 255 - (idx-150)*25 frame.color_r = alpha frame.color_g = alpha frame.color_b = alpha end) end for idx = 0 , 3 do pat:update_frame(816,1,idx,function(frame) frame.attackbox = pat:get_frame(0,0,0).attackbox frame.hurtbox = pat:get_frame(0,0,0).attackbox frame.tex_w = 0 end) end for idy = 3 , 4 do for idx = 4 , 159 do --pat:split_frame(816,0,0,1,1) end for idx = 0 , 0 do pat:add_particle_info(816,idy,idx) pat:update_frame(816,idy,idx,function(frame) frame.tex_index = 423 + idx%10 frame.tex_w = 128 frame.tex_h = 128 frame.tex_offset_x = 64 frame.tex_offset_y = 64 frame.duration = 2 --frame.angle_z = 20 frame.scale_x = 20 frame.scale_y = 20 frame.blending_mode = 2 end) end end end function mods.s2sc_quake(pat) local baseX = 64 +8 local baseY = 183 +50 +4 pat:update_frame(600,0,0, { tex_index = 407 , tex_w = 68 , tex_h = 121 , tex_offset_x = baseX -12 , tex_offset_y = baseY +2 , duration = 2 , hurtbox = pat:get_frame(500,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(600,0,1, { tex_index = 407 , tex_w = 68 , tex_h = 121 , tex_offset_x = baseX -12 , tex_offset_y = baseY +2 , duration = 3 , hurtbox = pat:get_frame(500,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(600,0,2, { tex_index = 408 , tex_w = 103 , tex_h = 124 , tex_offset_x = baseX +28 , tex_offset_y = baseY +8 , duration = 2 , hurtbox = pat:get_frame(500,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(600,0,3, { tex_index = 408 , tex_w = 103 , tex_h = 124 , tex_offset_x = baseX +28 , tex_offset_y = baseY +8 , duration = 3 , hurtbox = pat:get_frame(500,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(600,0,4, { tex_index = 409 , tex_w = 81 , tex_h = 127 , tex_offset_x = baseX +20 , tex_offset_y = baseY +16 , duration = 2 , hurtbox = pat:get_frame(500,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(600,0,5, { tex_index = 409 , tex_w = 81 , tex_h = 127 , tex_offset_x = baseX +20 , tex_offset_y = baseY +16 , duration = 6 , hurtbox = pat:get_frame(500,0,5).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(600,0,6, { tex_index = 409 , tex_w = 81 , tex_h = 127 , tex_offset_x = baseX +20 , tex_offset_y = baseY +16 , duration = 2 , hurtbox = pat:get_frame(500,0,6).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(600,0,7, { tex_index = 409 , tex_w = 81 , tex_h = 127 , tex_offset_x = baseX +20 , tex_offset_y = baseY +16 , duration = 2 , hurtbox = pat:get_frame(500,0,7).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(600,0,8, { tex_index = 409 , tex_w = 81 , tex_h = 127 , tex_offset_x = baseX +20 , tex_offset_y = baseY +16 , duration = 40 , hurtbox = pat:get_frame(500,0,7).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(600,0,9, { tex_index = 411 , tex_w = 75 , tex_h = 138 , tex_offset_x = baseX -36 , tex_offset_y = baseY +38 , duration = 4 , hurtbox = pat:get_frame(500,0,9).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(600,0,10, { tex_index = 412 , tex_w = 132 , tex_h = 123 , tex_offset_x = baseX -22 , tex_offset_y = baseY +4 , duration = 4 , hurtbox = pat:get_frame(500,0,10).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(600,0,11, { tex_index = 413 , tex_w = 131 , tex_h = 97 , tex_offset_x = baseX -22 , tex_offset_y = baseY -48 , duration = 4 , hurtbox = pat:get_frame(500,0,11).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(600,0,12, { tex_index = 413 , tex_w = 131 , tex_h = 97 , tex_offset_x = baseX -22 , tex_offset_y = baseY -48 , duration = 16 , hurtbox = pat:get_frame(500,0,12).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(600,0,13, { tex_index = 414 , tex_w = 103 , tex_h = 118 , tex_offset_x = baseX -18 , tex_offset_y = baseY -0 , duration = 4 , hurtbox = pat:get_frame(500,0,13).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(600,0,14, { tex_index = 407 , tex_w = 68 , tex_h = 121 , tex_offset_x = baseX -12 , tex_offset_y = baseY +2 , duration = 2 , hurtbox = pat:get_frame(500,0,14).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(600,0,15, { tex_index = 407 , tex_w = 68 , tex_h = 121 , tex_offset_x = baseX -12 , tex_offset_y = baseY +2 , duration = 2 , hurtbox = pat:get_frame(500,0,15).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(850,1,0,function(frame) frame.tex_w = 0 end) for idx = 1 , 60 do pat:split_frame(850,6,0,1,1) end for idx = 0 , 60 do pat:update_frame(850,6,idx,function(frame) frame.tex_index = 324+idx%8 frame.tex_w = 1024 frame.tex_h = 64 frame.tex_offset_x = 512 frame.tex_offset_y = 32 frame.scale_x = 400 frame.scale_y = 400 frame.duration = 1 local scal = 100 if (idx < 29) then scal = 1 elseif (idx < 39) then scal = (idx-29) elseif (idx < 49) then scal = 10 elseif (idx < 59) then scal = 10-(idx-49) else scal = 0 end frame.scale_y = scal*40 local scalemody = 100/frame.scale_y local scalemodx = 100/frame.scale_x if ((idx>=39) and (idx<=49)) then frame.attackbox[2]=null frame.attackbox[1].y1 = -2000 frame.attackbox[1].y2 = 0 frame.attackbox[1].x1 = -20 frame.attackbox[1].x2 = 20 else frame.attackbox = pat:get_frame(0,0,0).attackbox end end) end end function mods.s2sc_creation(pat) local baseX = 64 +8 local baseY = 183 +50 +4 --[[ pat:update_frame(600,0,0, { tex_index = 407 , tex_w = 68 , tex_h = 121 , tex_offset_x = baseX -12 , tex_offset_y = baseY +2 , duration = 2 , hurtbox = pat:get_frame(500,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(600,0,1, { tex_index = 407 , tex_w = 68 , tex_h = 121 , tex_offset_x = baseX -12 , tex_offset_y = baseY +2 , duration = 3 , hurtbox = pat:get_frame(500,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(600,0,2, { tex_index = 408 , tex_w = 103 , tex_h = 124 , tex_offset_x = baseX +28 , tex_offset_y = baseY +8 , duration = 2 , hurtbox = pat:get_frame(500,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(600,0,3, { tex_index = 408 , tex_w = 103 , tex_h = 124 , tex_offset_x = baseX +28 , tex_offset_y = baseY +8 , duration = 3 , hurtbox = pat:get_frame(500,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(600,0,4, { tex_index = 409 , tex_w = 81 , tex_h = 127 , tex_offset_x = baseX +20 , tex_offset_y = baseY +16 , duration = 2 , hurtbox = pat:get_frame(500,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(600,0,5, { tex_index = 409 , tex_w = 81 , tex_h = 127 , tex_offset_x = baseX +20 , tex_offset_y = baseY +16 , duration = 6 , hurtbox = pat:get_frame(500,0,5).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(600,0,6, { tex_index = 409 , tex_w = 81 , tex_h = 127 , tex_offset_x = baseX +20 , tex_offset_y = baseY +16 , duration = 2 , hurtbox = pat:get_frame(500,0,6).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(600,0,7, { tex_index = 409 , tex_w = 81 , tex_h = 127 , tex_offset_x = baseX +20 , tex_offset_y = baseY +16 , duration = 2 , hurtbox = pat:get_frame(500,0,7).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(600,0,8, { tex_index = 409 , tex_w = 81 , tex_h = 127 , tex_offset_x = baseX +20 , tex_offset_y = baseY +16 , duration = 40 , hurtbox = pat:get_frame(500,0,7).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(600,0,9, { tex_index = 411 , tex_w = 75 , tex_h = 138 , tex_offset_x = baseX -36 , tex_offset_y = baseY +38 , duration = 4 , hurtbox = pat:get_frame(500,0,9).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(600,0,10, { tex_index = 412 , tex_w = 132 , tex_h = 123 , tex_offset_x = baseX -22 , tex_offset_y = baseY +4 , duration = 4 , hurtbox = pat:get_frame(500,0,10).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(600,0,11, { tex_index = 413 , tex_w = 131 , tex_h = 97 , tex_offset_x = baseX -22 , tex_offset_y = baseY -48 , duration = 4 , hurtbox = pat:get_frame(500,0,11).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(600,0,12, { tex_index = 413 , tex_w = 131 , tex_h = 97 , tex_offset_x = baseX -22 , tex_offset_y = baseY -48 , duration = 16 , hurtbox = pat:get_frame(500,0,12).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(600,0,13, { tex_index = 414 , tex_w = 103 , tex_h = 118 , tex_offset_x = baseX -18 , tex_offset_y = baseY -0 , duration = 4 , hurtbox = pat:get_frame(500,0,13).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(600,0,14, { tex_index = 407 , tex_w = 68 , tex_h = 121 , tex_offset_x = baseX -12 , tex_offset_y = baseY +2 , duration = 2 , hurtbox = pat:get_frame(500,0,14).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(600,0,15, { tex_index = 407 , tex_w = 68 , tex_h = 121 , tex_offset_x = baseX -12 , tex_offset_y = baseY +2 , duration = 2 , hurtbox = pat:get_frame(500,0,15).hurtbox , collision = pat:get_frame(0,0,0).collision }) ]]-- pat:update_frame(600,0,0, { tex_index = 515 , tex_w = 67 , tex_h = 123 , tex_offset_x = baseX -4 , tex_offset_y = baseY -0 , duration = 2 , hurtbox = pat:get_frame(400,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(600,0,1, { tex_index = 515 , tex_w = 67 , tex_h = 123 , tex_offset_x = baseX -4 , tex_offset_y = baseY -0 , duration = 2 , hurtbox = pat:get_frame(400,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(600,0,2, { tex_index = 515 , tex_w = 67 , tex_h = 123 , tex_offset_x = baseX -4 , tex_offset_y = baseY -0 , duration = 2 , hurtbox = pat:get_frame(400,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(600,0,3, { tex_index = 515 , tex_w = 67 , tex_h = 123 , tex_offset_x = baseX -4 , tex_offset_y = baseY -0 , duration = 2 , hurtbox = pat:get_frame(400,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(600,0,4, { tex_index = 515 , tex_w = 67 , tex_h = 123 , tex_offset_x = baseX -4 , tex_offset_y = baseY -0 , duration = 2 , hurtbox = pat:get_frame(400,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(600,0,5, { tex_index = 516 , tex_w = 63 , tex_h = 121 , tex_offset_x = baseX -20 , tex_offset_y = baseY +0 , duration = 2 , hurtbox = pat:get_frame(400,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(600,0,6, { tex_index = 516 , tex_w = 63 , tex_h = 121 , tex_offset_x = baseX -20 , tex_offset_y = baseY +0 , duration = 2 , hurtbox = pat:get_frame(400,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(600,0,7, { tex_index = 517 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 2 , hurtbox = pat:get_frame(400,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(600,0,8, { tex_index = 517 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 40 , hurtbox = pat:get_frame(400,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(600,0,9, { tex_index = 518 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 20 , hurtbox = pat:get_frame(400,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision })--shot pat:update_frame(600,0,10, { tex_index = 518 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 6 , hurtbox = pat:get_frame(400,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(600,0,11, { tex_index = 518 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 6 , hurtbox = pat:get_frame(400,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(600,0,12, { tex_index = 517 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 6 , hurtbox = pat:get_frame(400,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(600,0,13, { tex_index = 518 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 6 , hurtbox = pat:get_frame(400,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(600,0,14, { tex_index = 517 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 16 , hurtbox = pat:get_frame(400,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(600,0,15, { tex_index = 519 , tex_w = 67 , tex_h = 122 , tex_offset_x = baseX -16 , tex_offset_y = baseY +4 , duration = 5 , hurtbox = pat:get_frame(400,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(850,1,0,function(frame) frame.tex_w = 0 end) for idx = 1 , 130 do pat:split_frame(850,6,0,1,1) end for idx = 0 , 130 do pat:update_frame(850,6,idx,function(frame) frame.attackbox = pat:get_frame(0,0,0).attackbox frame.hurtbox = pat:get_frame(0,0,0).attackbox frame.tex_index = 423 + idx%10 frame.tex_w = 128 frame.tex_h = 64 frame.tex_offset_x = 64 frame.tex_offset_y = 64 frame.duration = 4 --frame.angle_z = 20 frame.angle_z = 90 frame.scale_x = 50 frame.scale_y = 50 frame.blending_mode = 1 end) end for idx = 0 , 9 do pat:update_frame(850,6,idx,function(frame) frame.duration = 1 frame.scale_x = (idx+1) * 5 frame.scale_y = (idx+1) * 5 end) end for idx = 121 , 130 do pat:update_frame(850,6,idx,function(frame) frame.duration = 1 frame.scale_x = 50 - (idx-121)*5 frame.scale_y = 50 - (idx-121)*5 frame.tex_offset_y = 64 + (idx-121)*64 end) end pat:add_particle_info(850,0,0) pat:get_sequence(850,0):set_priority(30,0) for idx = 1 , 119 do pat:split_frame(850,0,0,1,1) end for idx = 0 , 119 do pat:update_frame(850,0,idx,function(frame) frame.tex_index = 369 + idx%10 frame.tex_w = 128 frame.tex_h = 128 frame.tex_offset_x = 96 frame.tex_offset_y = 64 frame.color_r = 155 frame.color_g = 155 frame.color_b = 155 frame.scale_x = 200 frame.scale_y = 800 frame.blending_mode = 1 frame.sp_damage = frame.sp_damage*2 frame.duration = 2 frame.hitstop_enemy = 10 frame.blockstop_enemy = 10 frame.limit = 15 frame.damage = 400 frame.hit_ani_air = 74 frame.hit_ani_ground = 74 frame.launch_vector_x = 3500 frame.launch_vector_y = 1500 frame.combo_correction = CC_SMASH_ATTACK frame.untech = 60 frame.attackbox = pat:get_frame(0,0,0).hurtbox if (idx > 29) then frame.attackbox[1].y1 = frame.attackbox[1].y1 * (39-29)/39 frame.scale_y = 800 * (39-29)/39 else frame.attackbox[1].y1 = frame.attackbox[1].y1 * (39-idx)/39 frame.scale_y = 800 * (39-idx)/39 end frame.damage = 2000 frame.chip_damage = 400 frame.untech = 120 frame.aflags = pat:get_frame(850,6,0).aflags frame.fflags = pat:get_frame(850,6,0).fflags frame.limit = 100 frame.combo_correction = CC_SMASH_ATTACK frame.hit_ani_air = 74 frame.hit_ani_ground = 74 frame.proration = 750 frame.sp_damage = 200 frame.attack_level = AL_HEAVY frame.card_gain_hit = 0 frame.card_gain_block = 0 frame.launch_vector_x = 2450 frame.launch_vector_y = 1500 frame.hit_sfx = 7 frame.hit_effect = 5 frame.unknown_9 = 100 frame.hitstop_self = 0 frame.hitstop_enemy = 10 frame.blockstop_self = 0 frame.blockstop_enemy = 10 set_aflag(frame,AF_LOWBLOCK_OK) set_aflag(frame,AF_HIGHBLOCK_OK) unset_aflag(frame,AF_ATTACK_LOW) unset_aflag(frame,AF_ATTACK_HIGH) set_aflag(frame,AF_COUNTER_HIT) set_aflag(frame,AF_AIR_BLOCKABLE) set_aflag(frame,AF_SPELL_ATTACK) set_aflag(frame,AF_UNREFLECTABLE) end) end end function mods.s2sc_slash(pat) --601 --851 local baseX = 64 +8 local baseY = 183 +50 +4 pat:update_frame(601,0,0, { tex_index = 515 , tex_w = 67 , tex_h = 123 , tex_offset_x = baseX -4 , tex_offset_y = baseY -0 , duration = 3 , hurtbox = pat:get_frame(400,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(601,0,1, { tex_index = 515 , tex_w = 67 , tex_h = 123 , tex_offset_x = baseX -4 , tex_offset_y = baseY -0 , duration = 3 , hurtbox = pat:get_frame(400,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(601,0,2, { tex_index = 516 , tex_w = 63 , tex_h = 121 , tex_offset_x = baseX -20 , tex_offset_y = baseY +0 , duration = 5 , hurtbox = pat:get_frame(400,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(601,0,3, { tex_index = 527 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 40 , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(601,0,4, { tex_index = 527 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 2 , hurtbox = pat:get_frame(530,0,6).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(601,0,5, { tex_index = 528 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 6 , hurtbox = pat:get_frame(530,0,6).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(601,0,6, { tex_index = 527 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 6 , hurtbox = pat:get_frame(530,0,6).hurtbox , attackbox = pat:get_frame(0,0,0).attackbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(601,0,7, { tex_index = 528 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 6 , hurtbox = pat:get_frame(530,0,6).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(601,0,8, { tex_index = 527 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 6 , hurtbox = pat:get_frame(530,0,6).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(601,0,9, { tex_index = 528 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 6 , hurtbox = pat:get_frame(530,0,6).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(601,0,10, { tex_index = 527 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 16 , hurtbox = pat:get_frame(530,0,6).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(601,0,11, { tex_index = 529 , tex_w = 67 , tex_h = 122 , tex_offset_x = baseX -16 , tex_offset_y = baseY +4 , duration = 5 , hurtbox = pat:get_frame(400,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) --pat:update_frame(848,3,0,{ scale_y = 700}) for idx = 1 , 60+20 do pat:split_frame(851,3,0,1,1) end for idx = 0 , 60+20 do pat:update_frame(851,3,idx,function(frame) frame.tex_index = 324+idx%8 frame.tex_w = 1024 frame.tex_h = 64 frame.tex_offset_x = 512 frame.tex_offset_y = 32 frame.scale_x = 400 frame.scale_y = 400 frame.duration = 1 if (idx%4==0) then frame.duration = 2 end local scal = 100 if (idx < 29) then scal = 1 elseif (idx < 39) then scal = (idx-29) elseif (idx < 49+20) then scal = 10 elseif (idx < 59+20) then scal = 10-(idx-(49+20)) else scal = 0 end frame.angle_z = 90 frame.scale_y = scal*40 local scalemody = 100/frame.scale_y local scalemodx = 100/frame.scale_x if ((idx>=39) and (idx<=49+20)) then frame.attackbox = pat:get_frame(0,0,0).hurtbox frame.attackbox[1].y1 = -2000 frame.attackbox[1].y2 = 0 frame.attackbox[1].x1 = -20 frame.attackbox[1].x2 = 20 else frame.attackbox = pat:get_frame(0,0,0).attackbox end frame.damage = 350 frame.chip_damage = 35 frame.untech = 120 frame.aflags = pat:get_frame(810,6,0).aflags frame.fflags = pat:get_frame(810,6,0).fflags frame.limit = 4 frame.combo_correction = CC_LIFT_ATTACK frame.hit_ani_air = 72 frame.hit_ani_ground = 72 frame.proration = 950 frame.sp_damage = 40 frame.attack_level = AL_HEAVY frame.card_gain_hit = 0 frame.card_gain_block = 0 frame.launch_vector_x = 0 frame.launch_vector_y = 1750 frame.hit_sfx = pat:get_frame(810,6,0).hit_sfx frame.hit_effect = pat:get_frame(810,6,0).hit_effect frame.unknown_9 = 100 frame.hitstop_self = 0 frame.hitstop_enemy = 10 frame.blockstop_self = 0 frame.blockstop_enemy = 0 unset_aflag(frame,AF_SKILL_ATTACK) set_aflag(frame,AF_SPELL_ATTACK) if (idx==60+20) then frame.tex_w = 0 frame.duration = 60 frame.attackbox = pat:get_frame(0,0,0).attackbox end end) end end function mods.s3sc_weather(pat) local baseX = 64 +8 local baseY = 183 +50 +4 pat:remove_frame(609,3,5) pat:remove_frame(609,3,4) pat:remove_frame(609,3,3) pat:remove_frame(609,0,10) pat:remove_frame(659,0,10) pat:update_frame(609,0,0, { tex_index = 515 , tex_w = 67 , tex_h = 123 , tex_offset_x = baseX -4 , tex_offset_y = baseY -0 , duration = 2 , hurtbox = pat:get_frame(400,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(609,0,1, { tex_index = 515 , tex_w = 67 , tex_h = 123 , tex_offset_x = baseX -4 , tex_offset_y = baseY -0 , duration = 2 , hurtbox = pat:get_frame(400,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(609,0,2, { tex_index = 515 , tex_w = 67 , tex_h = 123 , tex_offset_x = baseX -4 , tex_offset_y = baseY -0 , duration = 2 , hurtbox = pat:get_frame(400,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(609,0,3, { tex_index = 515 , tex_w = 67 , tex_h = 123 , tex_offset_x = baseX -4 , tex_offset_y = baseY -0 , duration = 2 , hurtbox = pat:get_frame(400,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(609,0,4, { tex_index = 515 , tex_w = 67 , tex_h = 123 , tex_offset_x = baseX -4 , tex_offset_y = baseY -0 , duration = 2+5 , hurtbox = pat:get_frame(400,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(609,0,5, { tex_index = 516 , tex_w = 63 , tex_h = 121 , tex_offset_x = baseX -20 , tex_offset_y = baseY +0 , duration = 2 , hurtbox = pat:get_frame(400,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(609,0,6, { tex_index = 516 , tex_w = 63 , tex_h = 121 , tex_offset_x = baseX -20 , tex_offset_y = baseY +0 , duration = 2 , hurtbox = pat:get_frame(400,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(609,0,7, { tex_index = 517 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 2 , hurtbox = pat:get_frame(400,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(609,0,8, { tex_index = 517 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 40 , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(609,0,9, { tex_index = 518 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 4+8 , hurtbox = pat:get_frame(400,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision })--shot pat:update_frame(609,1,0, { tex_index = 518 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 6 , hurtbox = pat:get_frame(400,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(609,1,1, { tex_index = 517 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 6 , hurtbox = pat:get_frame(400,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(609,2,0, { tex_index = 518 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 6 , hurtbox = pat:get_frame(400,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(609,2,1, { tex_index = 517 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 6 , hurtbox = pat:get_frame(400,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(609,3,0, { tex_index = 518 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 6 , hurtbox = pat:get_frame(400,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(609,3,1, { tex_index = 517 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 16 , hurtbox = pat:get_frame(400,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(609,3,2, { tex_index = 519 , tex_w = 67 , tex_h = 122 , tex_offset_x = baseX -16 , tex_offset_y = baseY +4 , duration = 5 , hurtbox = pat:get_frame(400,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(659,0,0, { tex_index = 520 , tex_w = 117 , tex_h = 114 , tex_offset_x = baseX +100 , tex_offset_y = baseY +12 , duration = 2 , hurtbox = pat:get_frame(404,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(659,0,1, { tex_index = 520 , tex_w = 117 , tex_h = 114 , tex_offset_x = baseX +100 , tex_offset_y = baseY +12 , duration = 2 , hurtbox = pat:get_frame(404,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(659,0,2, { tex_index = 520 , tex_w = 117 , tex_h = 114 , tex_offset_x = baseX +100 , tex_offset_y = baseY +12 , duration = 2 , hurtbox = pat:get_frame(404,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(659,0,3, { tex_index = 520 , tex_w = 117 , tex_h = 114 , tex_offset_x = baseX +100 , tex_offset_y = baseY +12 , duration = 2 , hurtbox = pat:get_frame(404,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(659,0,4, { tex_index = 520 , tex_w = 117 , tex_h = 114 , tex_offset_x = baseX +100 , tex_offset_y = baseY +12 , duration = 2+5 , hurtbox = pat:get_frame(404,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(659,0,5, { tex_index = 521 , tex_w = 116 , tex_h = 111 , tex_offset_x = baseX+102 , tex_offset_y = baseY +6 , duration = 2 , hurtbox = pat:get_frame(404,0,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(659,0,6, { tex_index = 521 , tex_w = 116 , tex_h = 111 , tex_offset_x = baseX+102 , tex_offset_y = baseY +6 , duration = 2 , hurtbox = pat:get_frame(404,0,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(659,0,7, { tex_index = 522 , tex_w = 97 , tex_h = 113 , tex_offset_x = baseX +54 , tex_offset_y = baseY +8 , duration = 2 , hurtbox = pat:get_frame(404,0,4).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(659,0,8, { tex_index = 522 , tex_w = 97 , tex_h = 113 , tex_offset_x = baseX +54 , tex_offset_y = baseY +8 , duration = 40 , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(659,0,9, { tex_index = 523 , tex_w = 97 , tex_h = 113 , tex_offset_x = baseX +54 , tex_offset_y = baseY +8 , duration = 4+8 , hurtbox = pat:get_frame(404,0,4).hurtbox , collision = pat:get_frame(6,1,0).collision })--shot pat:update_frame(659,1,0, { tex_index = 523 , tex_w = 97 , tex_h = 113 , tex_offset_x = baseX +54 , tex_offset_y = baseY +8 , duration = 6 , hurtbox = pat:get_frame(404,0,4).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(659,1,1, { tex_index = 522 , tex_w = 97 , tex_h = 113 , tex_offset_x = baseX +54 , tex_offset_y = baseY +8 , duration = 6 , hurtbox = pat:get_frame(404,0,4).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(659,2,0, { tex_index = 523 , tex_w = 97 , tex_h = 113 , tex_offset_x = baseX +54 , tex_offset_y = baseY +8 , duration = 6 , hurtbox = pat:get_frame(404,0,4).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(659,2,1, { tex_index = 522 , tex_w = 97 , tex_h = 113 , tex_offset_x = baseX +54 , tex_offset_y = baseY +8 , duration = 6 , hurtbox = pat:get_frame(404,0,4).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(659,3,0, { tex_index = 523 , tex_w = 97 , tex_h = 113 , tex_offset_x = baseX +54 , tex_offset_y = baseY +8 , duration = 16 , hurtbox = pat:get_frame(404,0,4).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(659,3,1, { tex_index = 524 , tex_w = 95 , tex_h = 112 , tex_offset_x = baseX +54 , tex_offset_y = baseY +4 , duration = 5 , hurtbox = pat:get_frame(404,0,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(659,3,2, { tex_index = 318 , tex_w = 100 , tex_h = 121 , tex_offset_x = baseX +46 , tex_offset_y = baseY +20 +0 , duration = 4 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(659,3,3, { tex_index = 321 , tex_w = 96 , tex_h = 126 , tex_offset_x = baseX +46 , tex_offset_y = baseY +16 , duration = 4 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:split_frame(659,4,1,1,1) pat:update_frame(659,4,0, { tex_index = 319 , tex_w = 96 , tex_h = 126 , tex_offset_x = baseX +46 , tex_offset_y = baseY +16 , duration = 4 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(659,4,1, { tex_index = 320 , tex_w = 96 , tex_h = 126 , tex_offset_x = baseX +46 , tex_offset_y = baseY +16 , duration = 4 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(659,4,2, { tex_index = 321 , tex_w = 96 , tex_h = 126 , tex_offset_x = baseX +46 , tex_offset_y = baseY +16 , duration = 4 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(659,5,0, { tex_index = 237 , tex_w = 81 , tex_h = 118 , tex_offset_x = baseX +30 , tex_offset_y = baseY -12 , duration = 6 , hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(659,5,1, { tex_index = 236 , tex_w = 94 , tex_h = 118 , tex_offset_x = baseX +68 , tex_offset_y = baseY -6 , duration = 5 , hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) --609 --659 --859 local baseX = 64 +8 local baseY = 183 +50 +4 local baseDur = 8 pat:update_frame(859,1,0,{tex_w = 0}) pat:remove_frame(859,0,1) for idx = 1 , 359 do pat:split_frame(859,0,0,1,1) end for idx = 0 , 359 do pat:update_frame(859,0,idx,function(frame) frame.tex_index = 324+idx%8 frame.tex_w = 1024 frame.tex_h = 64 frame.tex_offset_x = 512 frame.tex_offset_y = 32 frame.scale_x = 600 frame.scale_y = 600 frame.duration = 1 local scalemody = 100/frame.scale_y local scalemodx = 100/frame.scale_x local offset = 1.5 local ymod = 0 if (idx<=119) then ymod = offset*(idx-0) elseif (idx<=239) then ymod = offset*(120-(idx-120)) elseif (idx<=359) then ymod = offset*(idx-240) end local xmod = 0 frame.attackbox[1].x1 = -2000 frame.attackbox[1].x2 = 2000 frame.attackbox[1].y1 = -40 frame.attackbox[1].y2 = 40 frame.tex_offset_y = frame.tex_offset_y - (ymod)*scalemody frame.attackbox[1].y1 = frame.attackbox[1].y1 + (ymod) frame.attackbox[1].y2 = frame.attackbox[1].y2 + (ymod) frame.tex_offset_x = frame.tex_offset_x - (xmod)*scalemodx frame.attackbox[1].x1 = frame.attackbox[1].x1 + (xmod) frame.attackbox[1].x2 = frame.attackbox[1].x2 + (xmod) set_fflag(frame,FF_AFTER_IMAGE) set_fflag(frame,FF_LOOP_ANIMATION) set_aflag(frame,AF_UNREFLECTABLE) frame.attack_level = AL_MEDIUM frame.hitstop_enemy = 5 frame.blockstop_enemy = 0 frame.launch_vector_x = 300 frame.launch_vector_y = 800 frame.untech = 120 frame.limit = 2 frame.damage = 250 frame.chip_damage = 25 frame.sp_damage = 5 frame.proration = 970 if (idx<=119) then if (idx<=39) then frame.scale_y = idx*15 frame.attackbox = pat:get_frame(0,0,0).attackbox end end end) end pat:get_sequence(609,1):set_looped(false) pat:update_frame(609,1,0,{duration=20}) pat:update_frame(609,1,1,{duration=20}) pat:get_sequence(659,1):set_looped(false) pat:update_frame(659,1,0,{duration=20}) pat:update_frame(659,1,1,{duration=20}) end function mods.s3sc_charge(pat) local baseX = 64 +8 local baseY = 183 +50 +4 pat:remove_frame(602,1,1) pat:remove_frame(602,2,3) pat:remove_frame(602,2,2) pat:update_frame(602,0,0, { tex_index = 236 , tex_w = 94 , tex_h = 118 , tex_offset_x = baseX +68 , tex_offset_y = baseY -6 , duration = 4 , hurtbox = pat:get_frame(200,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(602,0,1, { tex_index = 237 , tex_w = 81 , tex_h = 118 , tex_offset_x = baseX +30 , tex_offset_y = baseY -12 , duration = 8 , hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(602,0,2, { tex_index = 237 , tex_w = 81 , tex_h = 118 , tex_offset_x = baseX +30 , tex_offset_y = baseY -12 , duration = 3 , hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(602,0,3, { tex_index = 237 , tex_w = 81 , tex_h = 118 , tex_offset_x = baseX +30 , tex_offset_y = baseY -12 , duration = 3 , hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(602,0,4, { tex_index = 237 , tex_w = 81 , tex_h = 118 , tex_offset_x = baseX +30 , tex_offset_y = baseY -12 , duration = 3 , hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(602,0,5, { tex_index = 237 , tex_w = 81 , tex_h = 118 , tex_offset_x = baseX +30 , tex_offset_y = baseY -12 , duration = 3 , hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(602,0,6, { tex_index = 237 , tex_w = 81 , tex_h = 118 , tex_offset_x = baseX +30 , tex_offset_y = baseY -12 , duration = 3 , hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(602,0,7, { tex_index = 237 , tex_w = 81 , tex_h = 118 , tex_offset_x = baseX +30 , tex_offset_y = baseY -12 , duration = 25 , hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(602,0,8, { tex_index = 238 , tex_w = 98 , tex_h = 114 , tex_offset_x = baseX +56 , tex_offset_y = baseY -8 -4 , duration = 2+2 , hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(602,0,9, { tex_index = 238 , tex_w = 98 , tex_h = 114 , tex_offset_x = baseX +56 , tex_offset_y = baseY -8 -4 , duration = 1 , hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(602,0,10, { tex_index = 564 , tex_w = 98 , tex_h = 120 , tex_offset_x = baseX +56 , tex_offset_y = baseY -8 -4 , duration = 1 , hurtbox = pat:get_frame(570,1,0).hurtbox , attackbox = pat:get_frame(570,1,0).attackbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(602,1,0, { tex_index = 564 , tex_w = 98 , tex_h = 120 , tex_offset_x = baseX +56 , tex_offset_y = baseY -8 -4 , duration = 16 , hurtbox = pat:get_frame(570,1,0).hurtbox , attackbox = pat:get_frame(570,1,0).attackbox , collision = pat:get_frame(6,1,0).collision }) for idx = 0 , 1 do local idy = 10 if (idx==1) then idy = 0 end pat:update_frame(602,idx,idy,function(frame) frame.hitstop_self = 0 frame.hitstop_enemy = 0 frame.blockstop_self = 0 frame.blockstop_enemy = 0 frame.attackbox[1].x1 = frame.attackbox[1].x1 - 20 frame.attackbox[1].x2 = frame.attackbox[1].x2 - 20 end) end pat:update_frame(602,2,0, { tex_index = 564 , tex_w = 98 , tex_h = 120 , tex_offset_x = baseX +56 , tex_offset_y = baseY -8 -4 , duration = 8 , hurtbox = pat:get_frame(570,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(602,2,1, { tex_index = 318 , tex_w = 100 , tex_h = 121 , tex_offset_x = baseX +46 , tex_offset_y = baseY +20 +0 , duration = 4 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:split_frame(602,3,1,2,2) pat:update_frame(602,3,0, { tex_index = 319 , tex_w = 96 , tex_h = 126 , tex_offset_x = baseX +46 , tex_offset_y = baseY +16 , duration = 4 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(602,3,1, { tex_index = 320 , tex_w = 96 , tex_h = 126 , tex_offset_x = baseX +46 , tex_offset_y = baseY +16 , duration = 4 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(602,3,2, { tex_index = 321 , tex_w = 96 , tex_h = 126 , tex_offset_x = baseX +46 , tex_offset_y = baseY +16 , duration = 4 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(602,4,0, { tex_index = 237 , tex_w = 81 , tex_h = 118 , tex_offset_x = baseX +30 , tex_offset_y = baseY -12 , duration = 16+20-6 , hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(602,4,1, { tex_index = 236 , tex_w = 94 , tex_h = 118 , tex_offset_x = baseX +68 , tex_offset_y = baseY -6 , duration = 4+2 , hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(852,3,0,function(frame) frame.color_r = 50 frame.color_g = 50 frame.color_b = 50 end) for idx = 0 , 1 do pat:update_frame(852,4,idx,function(frame) frame.tex_w = 0 end) end end function mods.s3sc_slashy(pat) local baseX = 64 +8 local baseY = 183 +50 +4 for idy = 2 , 8 do pat:update_frame(608,0,idy,function(frame) frame.damage = 600 frame.chip_damage = 150 frame.untech = 120 frame.aflags = 0x0000750f frame.limit = 0 frame.combo_correction = CC_LIFT_ATTACK frame.hit_ani_air = 71 frame.hit_ani_ground = 71 frame.proration = 950 frame.sp_damage = 200 frame.attack_level = AL_HEAVY frame.card_gain_hit = 0 frame.card_gain_block = 0 frame.launch_vector_x = -400 frame.launch_vector_y = 400 frame.hit_sfx = 7 frame.hit_effect = 5 frame.unknown_9 = 100 frame.hitstop_self = 0 frame.hitstop_enemy = 10 frame.blockstop_self = 0 frame.blockstop_enemy = 0 set_aflag(frame,AF_LOWBLOCK_OK) set_aflag(frame,AF_HIGHBLOCK_OK) unset_aflag(frame,AF_ATTACK_LOW) unset_aflag(frame,AF_ATTACK_HIGH) unset_aflag(frame,AF_COUNTER_HIT) set_aflag(frame,AF_AIR_BLOCKABLE) set_aflag(frame,AF_SPELL_ATTACK) end) end for idy = 0 , 9 do pat:update_frame(608,1,idy,function(frame) frame.damage = 300 frame.chip_damage = 75 frame.untech = 120 frame.aflags = 0x0000750f frame.limit = 0 frame.combo_correction = CC_LIFT_ATTACK frame.hit_ani_air = 71 frame.hit_ani_ground = 71 frame.proration = 950 frame.sp_damage = 200 frame.attack_level = AL_HEAVY frame.card_gain_hit = 0 frame.card_gain_block = 0 frame.launch_vector_x = -400 frame.launch_vector_y = 400 frame.hit_sfx = 7 frame.hit_effect = 5 frame.unknown_9 = 100 frame.hitstop_self = 0 frame.hitstop_enemy = 10 frame.blockstop_self = 0 frame.blockstop_enemy = 0 set_aflag(frame,AF_LOWBLOCK_OK) set_aflag(frame,AF_HIGHBLOCK_OK) unset_aflag(frame,AF_ATTACK_LOW) unset_aflag(frame,AF_ATTACK_HIGH) unset_aflag(frame,AF_COUNTER_HIT) set_aflag(frame,AF_AIR_BLOCKABLE) set_aflag(frame,AF_SPELL_ATTACK) end) end pat:update_frame(608,0,0, { tex_index = 581 , tex_w = 68 , tex_h = 120 , tex_offset_x = baseX +0 , tex_offset_y = baseY -0 , duration = 4 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(608,0,1, { tex_index = 585 , tex_w = 122 , tex_h = 121 , tex_offset_x = baseX +48 , tex_offset_y = baseY -0 , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(608,0,2, { tex_index = 582 , tex_w = 121 , tex_h = 123 , tex_offset_x = baseX +46 , tex_offset_y = baseY -0 , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox , attackbox = pat:get_frame(565,0,3).attackbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(608,0,3, { tex_index = 583 , tex_w = 121 , tex_h = 122 , tex_offset_x = baseX +46 , tex_offset_y = baseY -0 , duration = 2 , hurtbox = pat:get_frame(608,0,3).hurtbox , fflags = 0x00007001 , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(608,0,4, { tex_index = 584 , tex_w = 121 , tex_h = 122 , tex_offset_x = baseX +48 , tex_offset_y = baseY -0 , duration = 2 , hurtbox = pat:get_frame(608,0,3).hurtbox , fflags = 0x00007001 , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(608,0,5, { tex_index = 585 , tex_w = 122 , tex_h = 121 , tex_offset_x = baseX +48 , tex_offset_y = baseY -0 , duration = 2 , hurtbox = pat:get_frame(608,0,3).hurtbox , fflags = 0x00007001 , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(608,0,6, { tex_index = 582 , tex_w = 121 , tex_h = 123 , tex_offset_x = baseX +46 , tex_offset_y = baseY -0 , duration = 2 , hurtbox = pat:get_frame(608,0,3).hurtbox , fflags = 0x00007001 , collision = pat:get_frame(0,0,0).collision }) --pat:update_frame(608,0,7, { tex_index = 583 , tex_w = 121 , tex_h = 122 , tex_offset_x = baseX +46 , tex_offset_y = baseY -0 , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) --pat:update_frame(608,0,8, { tex_index = 584 , tex_w = 121 , tex_h = 122 , tex_offset_x = baseX +48 , tex_offset_y = baseY -0 , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) --pat:update_frame(608,0,10, { tex_index = 585 , tex_w = 122 , tex_h = 121 , tex_offset_x = baseX +48 , tex_offset_y = baseY -0 , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox , attackbox = pat:get_frame(565,0,3).attackbox , collision = pat:get_frame(0,0,0).collision }) for idx = 0 , 3 do pat:split_frame(608,0,6+(idx*4),2,2) pat:split_frame(608,0,6+(idx*4),2,2) pat:split_frame(608,0,6+(idx*4),2,2) pat:split_frame(608,0,6+(idx*4),2,2) pat:update_frame(608,0,7+(idx*4), { tex_index = 583 , tex_w = 121 , tex_h = 122 , tex_offset_x = baseX +46 , tex_offset_y = baseY -0 , duration = 2, hurtbox = pat:get_frame(608,0,3).hurtbox , fflags = 0x00007001 , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(608,0,8+(idx*4), { tex_index = 584 , tex_w = 121 , tex_h = 122 , tex_offset_x = baseX +48 , tex_offset_y = baseY -0 , duration = 2 , hurtbox = pat:get_frame(608,0,3).hurtbox , fflags = 0x00007001 , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(608,0,9+(idx*4), { tex_index = 585 , tex_w = 122 , tex_h = 121 , tex_offset_x = baseX +48 , tex_offset_y = baseY -0 , duration = 2 , hurtbox = pat:get_frame(608,0,3).hurtbox , fflags = 0x00007001 , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(608,0,10+(idx*4), { tex_index = 582 , tex_w = 121 , tex_h = 123 , tex_offset_x = baseX +46 , tex_offset_y = baseY -0 , duration = 2 , hurtbox = pat:get_frame(608,0,3).hurtbox , fflags = 0x00007001 , collision = pat:get_frame(0,0,0).collision }) end pat:update_frame(608,0,11+(3*4), { tex_index = 583 , tex_w = 121 , tex_h = 122 , tex_offset_x = baseX +46 , tex_offset_y = baseY -0 , duration = 1 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(608,0,12+(3*4), { tex_index = 583 , tex_w = 121 , tex_h = 122 , tex_offset_x = baseX +46 , tex_offset_y = baseY -0 , duration = 1 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(608,1,0, { tex_index = 560 , tex_w = 121 , tex_h = 118 , tex_offset_x = baseX +102 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) pat:update_frame(608,1,1, { tex_index = 557 , tex_w = 118 , tex_h = 117 , tex_offset_x = baseX +96 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) pat:update_frame(608,1,1, function(frame) frame.attackbox = pat:get_frame(608,0,2).attackbox for idy = 1 , 3 do frame.attackbox[idy].x1 = frame.attackbox[idy].x1*.8 - 50 frame.attackbox[idy].x2 = frame.attackbox[idy].x2*.8 - 50 frame.attackbox[idy].y1 = frame.attackbox[idy].y1 - 50 frame.attackbox[idy].y2 = frame.attackbox[idy].y2 - 50 end end) pat:update_frame(608,1,2, { tex_index = 558 , tex_w = 120 , tex_h = 119 , tex_offset_x = baseX +100 , tex_offset_y = baseY -0, hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 1 }) pat:update_frame(608,1,3, { tex_index = 558 , tex_w = 120 , tex_h = 119 , tex_offset_x = baseX +100 , tex_offset_y = baseY -0, hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 1 }) pat:update_frame(608,1,4, { tex_index = 559 , tex_w = 120 , tex_h = 118 , tex_offset_x = baseX +100 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) pat:update_frame(608,1,5, { tex_index = 560 , tex_w = 121 , tex_h = 118 , tex_offset_x = baseX +102 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) pat:update_frame(608,1,6, { tex_index = 557 , tex_w = 118 , tex_h = 117 , tex_offset_x = baseX +96 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(200,0,1).hurtbox , attackbox = pat:get_frame(608,1,1).attackbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) pat:update_frame(608,1,7, { tex_index = 558 , tex_w = 120 , tex_h = 119 , tex_offset_x = baseX +100 , tex_offset_y = baseY -0 , hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) pat:update_frame(608,1,8, { tex_index = 559 , tex_w = 120 , tex_h = 118 , tex_offset_x = baseX +100 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) pat:update_frame(608,1,9, { tex_index = 560 , tex_w = 121 , tex_h = 118 , tex_offset_x = baseX +102 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 1 }) --[[ for idx = 5 , 9 do pat:remove_frame(608,1,5) end ]]-- pat:remove_frame(608,2,2) pat:split_frame(608,2,2,2,2) pat:update_frame(608,2,0, { tex_index = 559 , tex_w = 120 , tex_h = 118 , tex_offset_x = baseX +100 , tex_offset_y = baseY -2 , duration = 2 , hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(608,2,1, { tex_index = 239 , tex_w = 121 , tex_h = 114 , tex_offset_x = baseX +56 , tex_offset_y = baseY -8 -4 , duration = 2 , hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(99,3,0).collision }) pat:update_frame(608,2,2, { tex_index = 239 , tex_w = 121 , tex_h = 114 , tex_offset_x = baseX +56 , tex_offset_y = baseY -8 -4 , duration = 2 , hurtbox = pat:get_frame(200,0,1).hurtbox , attackbox = pat:get_frame(560,1,0).attackbox , collision = pat:get_frame(99,3,0).collision }) pat:update_frame(608,2,3, { tex_index = 236 , tex_w = 0 , tex_h = 116 , tex_offset_x = baseX -8 , tex_offset_y = baseY -18 , duration = 14 , hurtbox = pat:get_frame(560,0,23).hurtbox , attackbox = pat:get_frame(560,1,0).attackbox , collision = pat:get_frame(99,3,0).collision }) pat:update_frame(608,2,4, { tex_index = 236 , tex_w = 0 , tex_h = 116 , tex_offset_x = baseX -8 , tex_offset_y = baseY -18 , duration = 2 , hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(99,3,0).collision }) pat:split_frame(608,2,7,1,1) pat:update_frame(608,2,5, { tex_index = 240 , tex_w = 140 , tex_h = 114 , tex_offset_x = baseX +140 , tex_offset_y = baseY -8 -4 , duration = 3 , hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(99,3,0).collision }) pat:update_frame(608,2,6, { tex_index = 238 , tex_w = 98 , tex_h = 114 , tex_offset_x = baseX +56 , tex_offset_y = baseY -8 -4 , duration = 32 , hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(608,2,7, { tex_index = 237 , tex_w = 81 , tex_h = 118 , tex_offset_x = baseX +30 , tex_offset_y = baseY -12 , duration = 3 , hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(608,2,8, { tex_index = 236 , tex_w = 94 , tex_h = 118 , tex_offset_x = baseX +68 , tex_offset_y = baseY -8 , duration = 3 , hurtbox = pat:get_frame(200,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) for idx = 2 , 3 do pat:update_frame(608,2,idx,function(frame) frame.damage = 2000 frame.chip_damage = 500 frame.untech = 120 frame.aflags = pat:get_frame(561,2,2).aflags frame.fflags = pat:get_frame(561,2,2).fflags frame.limit = 100 frame.combo_correction = CC_LIFT_ATTACK frame.hit_ani_air = pat:get_frame(561,2,2).hit_ani_air frame.hit_ani_ground = pat:get_frame(561,2,2).hit_ani_ground frame.proration = 850 frame.sp_damage = 0 frame.attack_level = AL_SUPERHEAVY frame.card_gain_hit = 0 frame.card_gain_block = 0 frame.launch_vector_x = 0 frame.launch_vector_y = 2450 frame.hit_sfx = pat:get_frame(561,2,2).hit_sfx frame.hit_effect = pat:get_frame(561,2,2).hit_effect frame.unknown_9 = 100 frame.hitstop_self = 0 frame.hitstop_enemy = 20 frame.blockstop_self = 0 frame.blockstop_enemy = 20 set_aflag(frame,AF_LOWBLOCK_OK) set_aflag(frame,AF_HIGHBLOCK_OK) unset_aflag(frame,AF_ATTACK_LOW) unset_aflag(frame,AF_ATTACK_HIGH) unset_aflag(frame,AF_COUNTER_HIT) set_aflag(frame,AF_AIR_BLOCKABLE) set_aflag(frame,AF_SPELL_ATTACK) end) end for idx = 0 , 11 do pat:update_frame(858,0,idx,{tex_w = 0}) end for idx = 0 , 13 do pat:update_frame(858,1,idx,{tex_w = 0}) end for idx = 0 , 11 do pat:update_frame(858,2,idx,{tex_w = 0}) pat:update_frame(858,2,idx,function(frame) frame.tex_index = 142 frame.tex_w = 64 frame.tex_h = 16 frame.tex_offset_x = 32 frame.tex_offset_y = 64 frame.scale_x = 4000 frame.scale_y = 150 local alpha = 255-idx*25 frame.color_r = alpha frame.color_g = alpha frame.color_b = alpha if (idx == 11) then tex_w = 0 end frame.duration = 1 end) end end function mods.s4sc_beam(pat) local baseX = 64 +8 local baseY = 183 +50 +4 pat:update_frame(604,0,0, { tex_index = 515 , tex_w = 67 , tex_h = 123 , tex_offset_x = baseX -4 , tex_offset_y = baseY -0 , duration = 2 , hurtbox = pat:get_frame(400,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(604,0,1, { tex_index = 515 , tex_w = 67 , tex_h = 123 , tex_offset_x = baseX -4 , tex_offset_y = baseY -0 , duration = 3 , hurtbox = pat:get_frame(400,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(604,0,2, { tex_index = 516 , tex_w = 63 , tex_h = 121 , tex_offset_x = baseX -20 , tex_offset_y = baseY +0 , duration = 16 , hurtbox = pat:get_frame(400,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(604,0,3, { tex_index = 516 , tex_w = 63 , tex_h = 121 , tex_offset_x = baseX -20 , tex_offset_y = baseY +0 , duration = 40 , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(604,0,4, { tex_index = 517 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 6 , hurtbox = pat:get_frame(400,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00007001 }) pat:update_frame(604,0,5, { tex_index = 518 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 6 , hurtbox = pat:get_frame(400,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00007001 }) pat:update_frame(604,0,6, { tex_index = 517 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 6 , hurtbox = pat:get_frame(400,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00007001 }) pat:update_frame(604,0,7, { tex_index = 518 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 6 , hurtbox = pat:get_frame(400,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00007001 }) pat:update_frame(604,0,8, { tex_index = 517 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 6 , hurtbox = pat:get_frame(400,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00007001 }) pat:update_frame(604,0,9, { tex_index = 518 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 56 , hurtbox = pat:get_frame(400,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00007001 }) pat:update_frame(604,0,10, { tex_index = 517 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 26 , hurtbox = pat:get_frame(400,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(604,0,11, { tex_index = 519 , tex_w = 67 , tex_h = 122 , tex_offset_x = baseX -16 , tex_offset_y = baseY +4 , duration = 5 , hurtbox = pat:get_frame(400,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:get_sequence(854,0):set_looped(false) --pat:get_sequence(854,0):set_priority(10,0) for idx = 0 , 1 do pat:update_frame(854,0,idx,{ duration = 2 , scale_x = 400 , scale_y = 400 }) end for idx = 2 , 37 do pat:split_frame(854,0,1,2,2) end pat:update_frame(854,0,0,{ tex_index = 492 , tex_offset_x = 77 , tex_offset_y = 100 , tex_w = 267 , tex_h = 200 }) pat:update_frame(854,0,1,{ tex_index = 493 , tex_offset_x = 81 , tex_offset_y = 93 , tex_w = 349 , tex_h = 187 }) pat:update_frame(854,0,2,{ tex_index = 494 , tex_offset_x = 85 , tex_offset_y = 89 , tex_w = 433 , tex_h = 177 }) pat:update_frame(854,0,3,{ tex_index = 495 , tex_offset_x = 90 , tex_offset_y = 83 , tex_w = 452 , tex_h = 167 }) pat:update_frame(854,0,4,{ tex_index = 496 , tex_offset_x = 94 , tex_offset_y = 84 , tex_w = 456 , tex_h = 168 }) pat:update_frame(854,0,5,{ tex_index = 497 , tex_offset_x = 98 , tex_offset_y = 85 , tex_w = 460 , tex_h = 171 }) pat:update_frame(854,0,6,{ tex_index = 498 , tex_offset_x = 102 , tex_offset_y = 81 , tex_w = 464 , tex_h = 167 }) pat:update_frame(854,0,7,{ tex_index = 499 , tex_offset_x = 85 , tex_offset_y = 79 , tex_w = 447 , tex_h = 160 }) pat:update_frame(854,0,8,{ tex_index = 500 , tex_offset_x = 20 , tex_offset_y = 78 , tex_w = 382 , tex_h = 158 }) pat:update_frame(854,0,9,{ tex_index = 501 , tex_offset_x = 21 , tex_offset_y = 79 , tex_w = 383 , tex_h = 162 }) pat:update_frame(854,0,10,{ tex_index = 502 , tex_offset_x = 22 , tex_offset_y = 81 , tex_w = 384 , tex_h = 166 }) pat:update_frame(854,0,11,{ tex_index = 503 , tex_offset_x = 23 , tex_offset_y = 83 , tex_w = 385 , tex_h = 170 }) pat:update_frame(854,0,12,{ tex_index = 504 , tex_offset_x = 24 , tex_offset_y = 84 , tex_w = 386 , tex_h = 172 }) pat:update_frame(854,0,13,{ tex_index = 505 , tex_offset_x = 24 , tex_offset_y = 86 , tex_w = 386 , tex_h = 176 }) pat:update_frame(854,0,14,{ tex_index = 506 , tex_offset_x = 25 , tex_offset_y = 88 , tex_w = 387 , tex_h = 180 }) pat:update_frame(854,0,15,{ tex_index = 507 , tex_offset_x = 25 , tex_offset_y = 90 , tex_w = 387 , tex_h = 184 }) pat:update_frame(854,0,16,{ tex_index = 508 , tex_offset_x = 25 , tex_offset_y = 94 , tex_w = 387 , tex_h = 192 }) pat:update_frame(854,0,17,{ tex_index = 509 , tex_offset_x = 8 , tex_offset_y = 98 , tex_w = 370 , tex_h = 200 }) pat:update_frame(854,0,18,{ tex_index = 510 , tex_offset_x = 9 , tex_offset_y = 99 , tex_w = 370 , tex_h = 203 }) pat:update_frame(854,0,19,{ tex_index = 508 , tex_offset_x = 25 , tex_offset_y = 94 , tex_w = 387 , tex_h = 192 }) pat:update_frame(854,0,20,{ tex_index = 509 , tex_offset_x = 8 , tex_offset_y = 98 , tex_w = 370 , tex_h = 200 }) pat:update_frame(854,0,21,{ tex_index = 510 , tex_offset_x = 9 , tex_offset_y = 99 , tex_w = 370 , tex_h = 203 }) pat:update_frame(854,0,22,{ tex_index = 508 , tex_offset_x = 25 , tex_offset_y = 94 , tex_w = 387 , tex_h = 192 }) pat:update_frame(854,0,23,{ tex_index = 509 , tex_offset_x = 8 , tex_offset_y = 98 , tex_w = 370 , tex_h = 200 }) pat:update_frame(854,0,24,{ tex_index = 510 , tex_offset_x = 9 , tex_offset_y = 99 , tex_w = 370 , tex_h = 203 }) pat:update_frame(854,0,25,{ tex_index = 508 , tex_offset_x = 25 , tex_offset_y = 94 , tex_w = 387 , tex_h = 192 }) pat:update_frame(854,0,26,{ tex_index = 509 , tex_offset_x = 8 , tex_offset_y = 98 , tex_w = 370 , tex_h = 200 }) pat:update_frame(854,0,27,{ tex_index = 510 , tex_offset_x = 9 , tex_offset_y = 99 , tex_w = 370 , tex_h = 203 }) pat:update_frame(854,0,28,{ tex_index = 508 , tex_offset_x = 25 , tex_offset_y = 94 , tex_w = 387 , tex_h = 192 }) pat:update_frame(854,0,29,{ tex_index = 509 , tex_offset_x = 8 , tex_offset_y = 98 , tex_w = 370 , tex_h = 200 }) pat:update_frame(854,0,30,{ tex_index = 510 , tex_offset_x = 9 , tex_offset_y = 99 , tex_w = 370 , tex_h = 203 }) pat:update_frame(854,0,31,{ tex_index = 508 , tex_offset_x = 25 , tex_offset_y = 94 , tex_w = 387 , tex_h = 192 }) pat:update_frame(854,0,32,{ tex_index = 509 , tex_offset_x = 8 , tex_offset_y = 98 , tex_w = 370 , tex_h = 200 }) pat:update_frame(854,0,33,{ tex_index = 510 , tex_offset_x = 9 , tex_offset_y = 99 , tex_w = 370 , tex_h = 203 }) pat:update_frame(854,0,34,{ tex_index = 508 , tex_offset_x = 25 , tex_offset_y = 94 , tex_w = 387 , tex_h = 192 }) pat:update_frame(854,0,35,{ tex_index = 509 , tex_offset_x = 8 , tex_offset_y = 98 , tex_w = 370 , tex_h = 200 }) pat:update_frame(854,0,36,{ tex_index = 510 , tex_offset_x = 9 , tex_offset_y = 99 , tex_w = 370 , tex_h = 203 }) pat:update_frame(854,0,37,{ tex_index = 508 , tex_offset_x = 25 , tex_offset_y = 94 , tex_w = 387 , tex_h = 192 }) for idx = 17 , 37 do pat:update_frame(854,0,idx,{ duration = 2 , scale_y = 400 - (idx-17)*20 , scale_x = 400 }) end pat:update_frame(854,0,37,{ duration = 1 , tex_w = 0 }) for idx = 0 , 37 do pat:update_frame(854,0,idx,function(frame) frame.attackbox = pat:get_frame(0,0,0).hurtbox frame.attackbox[1].x1 = 0 frame.attackbox[1].x2 = 1500 frame.attackbox[1].y1 = -80 frame.attackbox[1].y2 = 80 frame.attackbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.attackbox[2].x1 = 200 frame.attackbox[2].x2 = 1500 frame.attackbox[2].y1 = -130 frame.attackbox[2].y2 = 130 frame.attackbox[3] = pat:get_frame(0,0,0).hurtbox[1] frame.attackbox[3].x1 = 400 frame.attackbox[3].x2 = 1500 frame.attackbox[3].y1 = -180 frame.attackbox[3].y2 = 180 if (idx <= 4) then frame.attackbox[1].x2 = 300*(idx+1) frame.attackbox[2].x2 = 300*(idx+1) frame.attackbox[3].x2 = 300*(idx+1) end if (idx <= 2) then frame.attackbox[3] = null end if ((idx > 17) and (idx <= 35)) then frame.attackbox[1].y1 = frame.attackbox[1].y1*(frame.scale_y/400) frame.attackbox[1].y2 = frame.attackbox[1].y2*(frame.scale_y/400) frame.attackbox[2].y1 = frame.attackbox[2].y1*(frame.scale_y/400) frame.attackbox[2].y2 = frame.attackbox[2].y2*(frame.scale_y/400) frame.attackbox[3].y1 = frame.attackbox[3].y1*(frame.scale_y/400) frame.attackbox[3].y2 = frame.attackbox[3].y2*(frame.scale_y/400) end if (idx > 35) then frame.attackbox = pat:get_frame(0,0,0).attackbox end frame.damage = 650 frame.chip_damage = 65 frame.sp_damage = 20 frame.proration = 920 set_aflag(frame,AF_DRAINS_ON_GRAZE) set_aflag(frame,AF_UNREFLECTABLE) end) end end function mods.s4sc_armor(pat) local baseX = 64 +8 local baseY = 183 +50 +4 --606 pat:split_frame(606,2,0,2,2) pat:split_frame(606,2,0,2,2) pat:split_frame(606,0,3,2,2) pat:split_frame(606,0,3,2,2) pat:split_frame(606,0,3,2,2) pat:split_frame(606,0,2,2,2) pat:split_frame(606,0,2,2,2) pat:split_frame(606,0,2,2,2) pat:update_frame(606,0,0, { tex_index = 581 , tex_w = 68 , tex_h = 120 , tex_offset_x = baseX +0 , tex_offset_y = baseY -0 , duration = 4 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(606,0,1, { tex_index = 585 , tex_w = 122 , tex_h = 121 , tex_offset_x = baseX +48 , tex_offset_y = baseY -0 , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(606,0,2, { tex_index = 582 , tex_w = 121 , tex_h = 123 , tex_offset_x = baseX +46 , tex_offset_y = baseY -0 , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox , attackbox = pat:get_frame(565,0,3).attackbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(606,0,3, { tex_index = 583 , tex_w = 121 , tex_h = 122 , tex_offset_x = baseX +46 , tex_offset_y = baseY -0 , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox , attackbox = pat:get_frame(565,0,3).attackbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(606,0,4, { tex_index = 584 , tex_w = 121 , tex_h = 122 , tex_offset_x = baseX +48 , tex_offset_y = baseY -0 , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox , attackbox = pat:get_frame(565,0,3).attackbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(606,0,5, { tex_index = 585 , tex_w = 122 , tex_h = 121 , tex_offset_x = baseX +48 , tex_offset_y = baseY -0 , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox , attackbox = pat:get_frame(565,0,3).attackbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(606,0,6, { tex_index = 582 , tex_w = 121 , tex_h = 123 , tex_offset_x = baseX +46 , tex_offset_y = baseY -0 , duration = 2 , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(606,0,7, { tex_index = 583 , tex_w = 121 , tex_h = 122 , tex_offset_x = baseX +46 , tex_offset_y = baseY -0 , duration = 2 , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(606,0,8, { tex_index = 584 , tex_w = 121 , tex_h = 122 , tex_offset_x = baseX +48 , tex_offset_y = baseY -0 , duration = 2 , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(606,0,9, { tex_index = 585 , tex_w = 122 , tex_h = 121 , tex_offset_x = baseX +48 , tex_offset_y = baseY -0 , duration = 2 , collision = pat:get_frame(0,0,0).collision }) for idx = 0 , 3 do pat:split_frame(606,0,9+(idx*4),2,2) pat:split_frame(606,0,9+(idx*4),2,2) pat:split_frame(606,0,9+(idx*4),2,2) pat:split_frame(606,0,9+(idx*4),2,2) pat:update_frame(606,0,10+(idx*4), { tex_index = 582 , tex_w = 121 , tex_h = 123 , tex_offset_x = baseX +46 , tex_offset_y = baseY -0 , duration = 2 , fflags = 0x00007001 , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(606,0,11+(idx*4), { tex_index = 583 , tex_w = 121 , tex_h = 122 , tex_offset_x = baseX +46 , tex_offset_y = baseY -0 , duration = 2 , fflags = 0x00007001 , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(606,0,12+(idx*4), { tex_index = 584 , tex_w = 121 , tex_h = 122 , tex_offset_x = baseX +48 , tex_offset_y = baseY -0 , duration = 2 , fflags = 0x00007001 , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(606,0,13+(idx*4), { tex_index = 585 , tex_w = 122 , tex_h = 121 , tex_offset_x = baseX +48 , tex_offset_y = baseY -0 , duration = 2 , fflags = 0x00007001 , collision = pat:get_frame(0,0,0).collision }) end pat:update_frame(606,0,14+(3*4), { tex_index = 582 , tex_w = 121 , tex_h = 123 , tex_offset_x = baseX +46 , tex_offset_y = baseY -0 , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(606,0,15+(3*4), { tex_index = 583 , tex_w = 121 , tex_h = 122 , tex_offset_x = baseX +46 , tex_offset_y = baseY -0 , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(606,1,0, { tex_index = 584 , tex_w = 121 , tex_h = 122 , tex_offset_x = baseX +48 , tex_offset_y = baseY -0 , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(606,2,0, { tex_index = 586 , tex_w = 121 , tex_h = 117 , tex_offset_x = baseX +98 , tex_offset_y = baseY -16 , duration = 4 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(606,2,1, { tex_index = 587 , tex_w = 102 , tex_h = 114 , tex_offset_x = baseX +64 , tex_offset_y = baseY -10 , duration = 4 , hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(606,2,2, { tex_index = 238 , tex_w = 98 , tex_h = 114 , tex_offset_x = baseX +56 , tex_offset_y = baseY -10 , duration = 24 , hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(606,2,3, { tex_index = 237 , tex_w = 81 , tex_h = 118 , tex_offset_x = baseX +30 , tex_offset_y = baseY -12 , duration = 4 , hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(606,2,4, { tex_index = 236 , tex_w = 94 , tex_h = 118 , tex_offset_x = baseX +68 , tex_offset_y = baseY -8 , duration = 4 , hurtbox = pat:get_frame(200,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) for idy = 2 , 5 do pat:update_frame(606,0,idy,function(frame) frame.damage = 2000 frame.chip_damage = 500 frame.untech = 120 frame.aflags = 0x0000750f frame.limit = 100 frame.combo_correction = CC_SMASH_ATTACK frame.hit_ani_air = 74 frame.hit_ani_ground = 74 frame.proration = 750 frame.sp_damage = 200 frame.attack_level = AL_HEAVY frame.card_gain_hit = 0 frame.card_gain_block = 0 frame.launch_vector_x = 2500 frame.launch_vector_y = 600 frame.hit_sfx = 7 frame.hit_effect = 5 frame.unknown_9 = 100 frame.hitstop_self = 10 frame.hitstop_enemy = 10 frame.blockstop_self = 10 frame.blockstop_enemy = 10 set_aflag(frame,AF_LOWBLOCK_OK) set_aflag(frame,AF_HIGHBLOCK_OK) unset_aflag(frame,AF_ATTACK_LOW) unset_aflag(frame,AF_ATTACK_HIGH) unset_aflag(frame,AF_COUNTER_HIT) set_aflag(frame,AF_AIR_BLOCKABLE) set_aflag(frame,AF_SPELL_ATTACK) end) end end function mods.s5sc_charge(pat) local baseX = 64 +8 local baseY = 183 +50 +4 pat:remove_frame(605,0,9) pat:update_frame(605,0,0, { tex_index = 236 , tex_w = 94 , tex_h = 118 , tex_offset_x = baseX +68 , tex_offset_y = baseY -6 , duration = 4 , hurtbox = pat:get_frame(200,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(605,0,1, { tex_index = 237 , tex_w = 81 , tex_h = 118 , tex_offset_x = baseX +30 , tex_offset_y = baseY -12 , duration = 8+4 , hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(605,0,2, { tex_index = 237 , tex_w = 81 , tex_h = 118 , tex_offset_x = baseX +30 , tex_offset_y = baseY -12 , duration = 3 , hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(605,0,3, { tex_index = 237 , tex_w = 81 , tex_h = 118 , tex_offset_x = baseX +30 , tex_offset_y = baseY -12 , duration = 3 , hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(605,0,4, { tex_index = 237 , tex_w = 81 , tex_h = 118 , tex_offset_x = baseX +30 , tex_offset_y = baseY -12 , duration = 3 , hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(605,0,5, { tex_index = 237 , tex_w = 81 , tex_h = 118 , tex_offset_x = baseX +30 , tex_offset_y = baseY -12 , duration = 3 , hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(605,0,6, { tex_index = 237 , tex_w = 81 , tex_h = 118 , tex_offset_x = baseX +30 , tex_offset_y = baseY -12 , duration = 3 , hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(605,0,7, { tex_index = 237 , tex_w = 81 , tex_h = 118 , tex_offset_x = baseX +30 , tex_offset_y = baseY -12 , duration = 25 , hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(605,0,8, { tex_index = 238 , tex_w = 98 , tex_h = 114 , tex_offset_x = baseX +56 , tex_offset_y = baseY -8 -4 , duration = 4 , hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) --pat:update_frame(605,0,9, { tex_index = 238 , tex_w = 98 , tex_h = 114 , tex_offset_x = baseX +56 , tex_offset_y = baseY -8 -4 , duration = 2 , hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(605,0,9, { tex_index = 564 , tex_w = 98 , tex_h = 120 , tex_offset_x = baseX +56 , tex_offset_y = baseY -8 -4 , duration = 2 , hurtbox = pat:get_frame(570,1,0).hurtbox , attackbox = pat:get_frame(570,1,0).attackbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(605,1,0, { tex_index = 564 , tex_w = 98 , tex_h = 120 , tex_offset_x = baseX +56 , tex_offset_y = baseY -8 -4 , duration = 12 , hurtbox = pat:get_frame(570,1,0).hurtbox , attackbox = pat:get_frame(570,1,0).attackbox }) pat:update_frame(605,1,1, { tex_index = 564 , tex_w = 98 , tex_h = 120 , tex_offset_x = baseX +56 , tex_offset_y = baseY -8 -4 , duration = 1 , hurtbox = pat:get_frame(570,1,0).hurtbox , attackbox = pat:get_frame(570,1,0).hurtbox }) for idx = 2 , 9 do pat:split_frame(605,1,1,1,1) end for idx = 1 , 9 do pat:update_frame(605,1,idx,function(frame) frame.tex_offset_x = frame.tex_offset_x - 50 * idx if (idx > 3) then frame.attackbox = pat:get_frame(0,0,0).attackbox frame.hurtbox = pat:get_frame(0,0,0).attackbox end end) end for idx = 0 , 1 do local idy = 0 if (idx == 0) then idy = 9 end pat:update_frame(605,idx,idy,function(frame) frame.attackbox[1].x1 = frame.attackbox[1].x1 - 40 frame.attackbox[2].x1 = frame.attackbox[2].x1 - 40 frame.launch_vector_x = 0 frame.launch_vector_y = 3000 frame.hit_ani_air = 77 frame.hit_ani_ground = 77 frame.untech = 6000 frame.limit = 40 frame.damage = 2800 frame.chip_damage = 700 frame.attack_level = AL_SUPERHEAVY frame.hitstop_self = 0 frame.hitstop_enemy = 0 frame.blockstop_self = 0 frame.blockstop_enemy = 0 end) end --pat:update_frame(605,2,0, { tex_index = 564 , tex_w = 98 , tex_h = 120 , tex_offset_x = baseX +56 , tex_offset_y = baseY -8 -4 , duration = 8 , hurtbox = pat:get_frame(570,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) --pat:update_frame(605,2,1, { tex_index = 318 , tex_w = 100 , tex_h = 121 , tex_offset_x = baseX +46 , tex_offset_y = baseY +20 +0 , duration = 4 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(605,3,0, { tex_index = 413 , tex_w = 131 , tex_h = 97 , tex_offset_x = baseX -22 , tex_offset_y = baseY -48 , duration = 4 , hurtbox = pat:get_frame(500,0,10).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(605,3,1, { tex_index = 413 , tex_w = 131 , tex_h = 97 , tex_offset_x = baseX -22 , tex_offset_y = baseY -48 , duration = 4 , hurtbox = pat:get_frame(500,0,10).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(605,4,0, { tex_index = 413 , tex_w = 131 , tex_h = 97 , tex_offset_x = baseX -22 , tex_offset_y = baseY -48 , duration = 6 , hurtbox = pat:get_frame(500,0,10).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(605,4,1, { tex_index = 413 , tex_w = 131 , tex_h = 97 , tex_offset_x = baseX -22 , tex_offset_y = baseY -48 , duration = 6 , hurtbox = pat:get_frame(500,0,10).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(605,4,2, { tex_index = 413 , tex_w = 131 , tex_h = 97 , tex_offset_x = baseX -22 , tex_offset_y = baseY -48 , duration = 6 , hurtbox = pat:get_frame(500,0,10).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(605,4,3, { tex_index = 413 , tex_w = 131 , tex_h = 97 , tex_offset_x = baseX -22 , tex_offset_y = baseY -48 , duration = 6 , hurtbox = pat:get_frame(500,0,10).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(605,4,4, { tex_index = 314 , tex_w = 89 , tex_h = 111 , tex_offset_x = baseX +34 , tex_offset_y = baseY -18 , duration = 4 , hurtbox = pat:get_frame(1,0,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(605,4,5, { tex_index = 315 , tex_w = 84 , tex_h = 121 , tex_offset_x = baseX +34 , tex_offset_y = baseY +10 , duration = 4 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(605,4,6, { tex_index = 316 , tex_w = 84 , tex_h = 121 , tex_offset_x = baseX +34 , tex_offset_y = baseY +10 , duration = 4 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(605,4,7, { tex_index = 317 , tex_w = 84 , tex_h = 121 , tex_offset_x = baseX +34 , tex_offset_y = baseY +10 , duration = 15 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:split_frame(605,5,1,2,2) pat:update_frame(605,5,0, { tex_index = 319 , tex_w = 96 , tex_h = 126 , tex_offset_x = baseX +46 , tex_offset_y = baseY +16 , duration = 4 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(605,5,1, { tex_index = 320 , tex_w = 96 , tex_h = 126 , tex_offset_x = baseX +46 , tex_offset_y = baseY +16 , duration = 4 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(605,5,2, { tex_index = 321 , tex_w = 96 , tex_h = 126 , tex_offset_x = baseX +46 , tex_offset_y = baseY +16 , duration = 4 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(605,6,0, { tex_index = 237 , tex_w = 81 , tex_h = 118 , tex_offset_x = baseX +30 , tex_offset_y = baseY -12 , duration = 16+20-6 , hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(605,6,1, { tex_index = 236 , tex_w = 94 , tex_h = 118 , tex_offset_x = baseX +68 , tex_offset_y = baseY -6 , duration = 4+2 , hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) for idx = 0 , 3 do pat:update_frame(855,0,idx,function(frame) frame.tex_w = 0 frame.attackbox[1].x1 = -0 frame.attackbox[1].x2 = 120 frame.attackbox[1].y2 = 40 frame.damage = 3000 frame.chip_damage = 750 frame.limit = 100 end) end for idx = 0 , 1 do pat:update_frame(855,1,idx,function(frame) frame.tex_w = 0 end) end end function mods.s5sc_weather(pat) local baseX = 64 +8 local baseY = 183 +50 +4 pat:remove_frame(607,0,10) pat:remove_frame(657,0,10) pat:update_frame(607,0,0, { tex_index = 515 , tex_w = 67 , tex_h = 123 , tex_offset_x = baseX -4 , tex_offset_y = baseY -0 , duration = 1 , hurtbox = pat:get_frame(400,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000041 }) pat:update_frame(607,0,1, { tex_index = 515 , tex_w = 67 , tex_h = 123 , tex_offset_x = baseX -4 , tex_offset_y = baseY -0 , duration = 1 , hurtbox = pat:get_frame(400,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000041 }) pat:update_frame(607,0,2, { tex_index = 515 , tex_w = 67 , tex_h = 123 , tex_offset_x = baseX -4 , tex_offset_y = baseY -0 , duration = 1 , hurtbox = pat:get_frame(400,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000041 }) pat:update_frame(607,0,3, { tex_index = 515 , tex_w = 67 , tex_h = 123 , tex_offset_x = baseX -4 , tex_offset_y = baseY -0 , duration = 1 , hurtbox = pat:get_frame(400,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000041 }) pat:update_frame(607,0,4, { tex_index = 515 , tex_w = 67 , tex_h = 123 , tex_offset_x = baseX -4 , tex_offset_y = baseY -0 , duration = 1 , hurtbox = pat:get_frame(400,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000041 }) pat:update_frame(607,0,5, { tex_index = 516 , tex_w = 63 , tex_h = 121 , tex_offset_x = baseX -20 , tex_offset_y = baseY +0 , duration = 1 , hurtbox = pat:get_frame(400,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000041 }) pat:update_frame(607,0,6, { tex_index = 516 , tex_w = 63 , tex_h = 121 , tex_offset_x = baseX -20 , tex_offset_y = baseY +0 , duration = 1 , hurtbox = pat:get_frame(400,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000041 }) pat:update_frame(607,0,7, { tex_index = 516 , tex_w = 63 , tex_h = 121 , tex_offset_x = baseX -20 , tex_offset_y = baseY +0 , duration = 18 , hurtbox = pat:get_frame(400,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000041 }) pat:update_frame(607,0,8, { tex_index = 516 , tex_w = 63 , tex_h = 121 , tex_offset_x = baseX -20 , tex_offset_y = baseY +0 , duration = 40 , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(607,0,9, { tex_index = 517 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 6 , hurtbox = pat:get_frame(400,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(607,1,0, { tex_index = 518 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 6 , hurtbox = pat:get_frame(400,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(607,1,1, { tex_index = 517 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 6 , hurtbox = pat:get_frame(400,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(607,2,0, { tex_index = 518 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 6 , hurtbox = pat:get_frame(400,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(607,2,1, { tex_index = 517 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 6 , hurtbox = pat:get_frame(400,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(607,3,0, { tex_index = 518 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 6 , hurtbox = pat:get_frame(400,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(607,3,1, { tex_index = 517 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 6 , hurtbox = pat:get_frame(400,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(607,3,2, { tex_index = 517 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 6 , hurtbox = pat:get_frame(400,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(607,3,3, { tex_index = 517 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 7 , hurtbox = pat:get_frame(400,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(607,3,4, { tex_index = 517 , tex_w = 78 , tex_h = 119 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , duration = 7 , hurtbox = pat:get_frame(400,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(607,3,5, { tex_index = 519 , tex_w = 67 , tex_h = 122 , tex_offset_x = baseX -16 , tex_offset_y = baseY +4 , duration = 5 , hurtbox = pat:get_frame(400,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(657,0,0, { tex_index = 520 , tex_w = 117 , tex_h = 114 , tex_offset_x = baseX +100 , tex_offset_y = baseY +12 , duration = 1 , hurtbox = pat:get_frame(404,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision , fflags = 0x00000044 }) pat:update_frame(657,0,1, { tex_index = 520 , tex_w = 117 , tex_h = 114 , tex_offset_x = baseX +100 , tex_offset_y = baseY +12 , duration = 1 , hurtbox = pat:get_frame(404,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision , fflags = 0x00000044 }) pat:update_frame(657,0,2, { tex_index = 520 , tex_w = 117 , tex_h = 114 , tex_offset_x = baseX +100 , tex_offset_y = baseY +12 , duration = 1 , hurtbox = pat:get_frame(404,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision , fflags = 0x00000044 }) pat:update_frame(657,0,3, { tex_index = 520 , tex_w = 117 , tex_h = 114 , tex_offset_x = baseX +100 , tex_offset_y = baseY +12 , duration = 1 , hurtbox = pat:get_frame(404,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision , fflags = 0x00000044 }) pat:update_frame(657,0,4, { tex_index = 520 , tex_w = 117 , tex_h = 114 , tex_offset_x = baseX +100 , tex_offset_y = baseY +12 , duration = 1 , hurtbox = pat:get_frame(404,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision , fflags = 0x00000044 }) pat:update_frame(657,0,5, { tex_index = 521 , tex_w = 116 , tex_h = 111 , tex_offset_x = baseX+102 , tex_offset_y = baseY +6 , duration = 1 , hurtbox = pat:get_frame(404,0,2).hurtbox , collision = pat:get_frame(6,1,0).collision , fflags = 0x00000044 }) pat:update_frame(657,0,6, { tex_index = 521 , tex_w = 116 , tex_h = 111 , tex_offset_x = baseX+102 , tex_offset_y = baseY +6 , duration = 1 , hurtbox = pat:get_frame(404,0,2).hurtbox , collision = pat:get_frame(6,1,0).collision , fflags = 0x00000044 }) pat:update_frame(657,0,7, { tex_index = 521 , tex_w = 116 , tex_h = 111 , tex_offset_x = baseX+102 , tex_offset_y = baseY +6 , duration = 18 , hurtbox = pat:get_frame(404,0,2).hurtbox , collision = pat:get_frame(6,1,0).collision , fflags = 0x00000044 }) pat:update_frame(657,0,8, { tex_index = 521 , tex_w = 116 , tex_h = 111 , tex_offset_x = baseX+102 , tex_offset_y = baseY +6 , duration = 40 , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(657,0,9, { tex_index = 522 , tex_w = 97 , tex_h = 113 , tex_offset_x = baseX +54 , tex_offset_y = baseY +8 , duration = 6 , hurtbox = pat:get_frame(404,0,4).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(657,1,0, { tex_index = 523 , tex_w = 97 , tex_h = 113 , tex_offset_x = baseX +54 , tex_offset_y = baseY +8 , duration = 6 , hurtbox = pat:get_frame(404,0,4).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(657,1,1, { tex_index = 522 , tex_w = 97 , tex_h = 113 , tex_offset_x = baseX +54 , tex_offset_y = baseY +8 , duration = 6 , hurtbox = pat:get_frame(404,0,4).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(657,2,0, { tex_index = 523 , tex_w = 97 , tex_h = 113 , tex_offset_x = baseX +54 , tex_offset_y = baseY +8 , duration = 6 , hurtbox = pat:get_frame(404,0,4).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(657,2,1, { tex_index = 522 , tex_w = 97 , tex_h = 113 , tex_offset_x = baseX +54 , tex_offset_y = baseY +8 , duration = 6 , hurtbox = pat:get_frame(404,0,4).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(657,3,0, { tex_index = 523 , tex_w = 97 , tex_h = 113 , tex_offset_x = baseX +54 , tex_offset_y = baseY +8 , duration = 26 , hurtbox = pat:get_frame(404,0,4).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(657,3,1, { tex_index = 524 , tex_w = 95 , tex_h = 112 , tex_offset_x = baseX +54 , tex_offset_y = baseY +4 , duration = 5 , hurtbox = pat:get_frame(404,0,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(657,3,2, { tex_index = 318 , tex_w = 100 , tex_h = 121 , tex_offset_x = baseX +46 , tex_offset_y = baseY +20 +0 , duration = 4 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(657,3,3, { tex_index = 321 , tex_w = 96 , tex_h = 126 , tex_offset_x = baseX +46 , tex_offset_y = baseY +16 , duration = 4 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:split_frame(657,4,1,1,1) pat:update_frame(657,4,0, { tex_index = 319 , tex_w = 96 , tex_h = 126 , tex_offset_x = baseX +46 , tex_offset_y = baseY +16 , duration = 4 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(657,4,1, { tex_index = 320 , tex_w = 96 , tex_h = 126 , tex_offset_x = baseX +46 , tex_offset_y = baseY +16 , duration = 4 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(657,4,2, { tex_index = 321 , tex_w = 96 , tex_h = 126 , tex_offset_x = baseX +46 , tex_offset_y = baseY +16 , duration = 4 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(657,5,0, { tex_index = 237 , tex_w = 81 , tex_h = 118 , tex_offset_x = baseX +30 , tex_offset_y = baseY -12 , duration = 6 , hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(657,5,1, { tex_index = 236 , tex_w = 94 , tex_h = 118 , tex_offset_x = baseX +68 , tex_offset_y = baseY -6 , duration = 5 , hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) --pat:update_frame(607,0,0, { tex_index = 236 , tex_w = 94 , tex_h = 118 , tex_offset_x = baseX +68 , tex_offset_y = baseY -6 , duration = 4 , hurtbox = pat:get_frame(200,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) --pat:update_frame(607,0,1, { tex_index = 237 , tex_w = 81 , tex_h = 118 , tex_offset_x = baseX +30 , tex_offset_y = baseY -12 , duration = 8 , hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) --pat:get_sequence(857,4):set_looped(false) for idx = 0 , 4 do pat:remove_frame(857,3,0) end for idx = 0 , 4 do pat:split_frame(857,3,0,1,1) end for idx = 0 , 9 do pat:update_frame(857,3,idx,{ duration = 2 , scale_x = 400 , scale_y = 100 }) end for idx = 0 , 8 do pat:update_frame(857,4,idx,{ duration = 2 , scale_x = 400 , scale_y = 100 }) end for idx = 9 , 27 do pat:split_frame(857,4,8,2,2) end pat:update_frame(857,3,0,{ tex_index = 492 , tex_offset_x = 77 , tex_offset_y = 100 , tex_w = 267 , tex_h = 200 }) pat:update_frame(857,3,1,{ tex_index = 493 , tex_offset_x = 81 , tex_offset_y = 93 , tex_w = 349 , tex_h = 187 }) pat:update_frame(857,3,2,{ tex_index = 494 , tex_offset_x = 85 , tex_offset_y = 89 , tex_w = 433 , tex_h = 177 }) pat:update_frame(857,3,3,{ tex_index = 495 , tex_offset_x = 90 , tex_offset_y = 83 , tex_w = 452 , tex_h = 167 }) pat:update_frame(857,3,4,{ tex_index = 496 , tex_offset_x = 94 , tex_offset_y = 84 , tex_w = 456 , tex_h = 168 }) pat:update_frame(857,3,5,{ tex_index = 497 , tex_offset_x = 98 , tex_offset_y = 85 , tex_w = 460 , tex_h = 171 }) pat:update_frame(857,3,6,{ tex_index = 498 , tex_offset_x = 102 , tex_offset_y = 81 , tex_w = 464 , tex_h = 167 }) pat:update_frame(857,3,7,{ tex_index = 499 , tex_offset_x = 85 , tex_offset_y = 79 , tex_w = 447 , tex_h = 160 }) pat:update_frame(857,3,8,{ tex_index = 500 , tex_offset_x = 20 , tex_offset_y = 78 , tex_w = 382 , tex_h = 158 }) pat:update_frame(857,3,9,{ tex_index = 501 , tex_offset_x = 21 , tex_offset_y = 79 , tex_w = 383 , tex_h = 162 }) pat:update_frame(857,4,0,{ tex_index = 502 , tex_offset_x = 22 , tex_offset_y = 81 , tex_w = 384 , tex_h = 166 }) pat:update_frame(857,4,1,{ tex_index = 503 , tex_offset_x = 23 , tex_offset_y = 83 , tex_w = 385 , tex_h = 170 }) pat:update_frame(857,4,2,{ tex_index = 504 , tex_offset_x = 24 , tex_offset_y = 84 , tex_w = 386 , tex_h = 172 }) pat:update_frame(857,4,3,{ tex_index = 505 , tex_offset_x = 24 , tex_offset_y = 86 , tex_w = 386 , tex_h = 176 }) pat:update_frame(857,4,4,{ tex_index = 506 , tex_offset_x = 25 , tex_offset_y = 88 , tex_w = 387 , tex_h = 180 }) pat:update_frame(857,4,5,{ tex_index = 507 , tex_offset_x = 25 , tex_offset_y = 90 , tex_w = 387 , tex_h = 184 }) pat:update_frame(857,4,6,{ tex_index = 508 , tex_offset_x = 25 , tex_offset_y = 94 , tex_w = 387 , tex_h = 192 }) pat:update_frame(857,4,7,{ tex_index = 509 , tex_offset_x = 8 , tex_offset_y = 98 , tex_w = 370 , tex_h = 200 }) pat:update_frame(857,4,8,{ tex_index = 510 , tex_offset_x = 9 , tex_offset_y = 99 , tex_w = 370 , tex_h = 203 }) pat:update_frame(857,4,9,{ tex_index = 509 , tex_offset_x = 8 , tex_offset_y = 98 , tex_w = 370 , tex_h = 200 }) pat:update_frame(857,4,10,{ tex_index = 510 , tex_offset_x = 9 , tex_offset_y = 99 , tex_w = 370 , tex_h = 203 }) pat:update_frame(857,4,11,{ tex_index = 509 , tex_offset_x = 8 , tex_offset_y = 98 , tex_w = 370 , tex_h = 200 }) pat:update_frame(857,4,12,{ tex_index = 510 , tex_offset_x = 9 , tex_offset_y = 99 , tex_w = 370 , tex_h = 203 }) pat:update_frame(857,4,13,{ tex_index = 509 , tex_offset_x = 8 , tex_offset_y = 98 , tex_w = 370 , tex_h = 200 }) pat:update_frame(857,4,14,{ tex_index = 510 , tex_offset_x = 9 , tex_offset_y = 99 , tex_w = 370 , tex_h = 203 }) pat:update_frame(857,4,15,{ tex_index = 509 , tex_offset_x = 8 , tex_offset_y = 98 , tex_w = 370 , tex_h = 200 }) pat:update_frame(857,4,16,{ tex_index = 510 , tex_offset_x = 9 , tex_offset_y = 99 , tex_w = 370 , tex_h = 203 }) pat:update_frame(857,4,17,{ tex_index = 509 , tex_offset_x = 8 , tex_offset_y = 98 , tex_w = 370 , tex_h = 200 }) pat:update_frame(857,4,18,{ tex_index = 510 , tex_offset_x = 9 , tex_offset_y = 99 , tex_w = 370 , tex_h = 203 }) pat:update_frame(857,4,19,{ tex_index = 509 , tex_offset_x = 8 , tex_offset_y = 98 , tex_w = 370 , tex_h = 200 }) pat:update_frame(857,4,20,{ tex_index = 510 , tex_offset_x = 9 , tex_offset_y = 99 , tex_w = 370 , tex_h = 203 }) pat:update_frame(857,4,21,{ tex_index = 509 , tex_offset_x = 8 , tex_offset_y = 98 , tex_w = 370 , tex_h = 200 }) pat:update_frame(857,4,22,{ tex_index = 510 , tex_offset_x = 9 , tex_offset_y = 99 , tex_w = 370 , tex_h = 203 }) pat:update_frame(857,4,23,{ tex_index = 509 , tex_offset_x = 8 , tex_offset_y = 98 , tex_w = 370 , tex_h = 200 }) pat:update_frame(857,4,24,{ tex_index = 510 , tex_offset_x = 9 , tex_offset_y = 99 , tex_w = 370 , tex_h = 203 }) pat:update_frame(857,4,25,{ tex_index = 509 , tex_offset_x = 8 , tex_offset_y = 98 , tex_w = 370 , tex_h = 200 }) pat:update_frame(857,4,26,{ tex_index = 510 , tex_offset_x = 9 , tex_offset_y = 99 , tex_w = 370 , tex_h = 203 }) pat:update_frame(857,4,27,{ tex_index = 509 , tex_offset_x = 8 , tex_offset_y = 98 , tex_w = 370 , tex_h = 200 }) for idx = 7 , 27 do pat:update_frame(857,4,idx,{ duration = 1 , scale_y = 100 - (idx-7)*5 , scale_x = 400 }) end pat:update_frame(857,4,27,{ duration = 999 , tex_w = 0 }) for idx = 0 , 37 do idy = 0 idz = 0 if (idx <= 9) then idy = 3 idz = 0 else idy = 4 idz = -10 end pat:update_frame(857,idy,idx+idz,function(frame) frame.attackbox = pat:get_frame(0,0,0).hurtbox frame.attackbox[1].x1 = 0 frame.attackbox[1].x2 = 1500 frame.attackbox[1].y1 = -40 frame.attackbox[1].y2 = 40 frame.attackbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.attackbox[2].x1 = 200 frame.attackbox[2].x2 = 1500 frame.attackbox[2].y1 = -65 frame.attackbox[2].y2 = 65 frame.attackbox[3] = pat:get_frame(0,0,0).hurtbox[1] frame.attackbox[3].x1 = 400 frame.attackbox[3].x2 = 1500 frame.attackbox[3].y1 = -90 frame.attackbox[3].y2 = 90 if (idx <= 4) then frame.attackbox[1].x2 = 300*(idx+1) frame.attackbox[2].x2 = 300*(idx+1) frame.attackbox[3].x2 = 300*(idx+1) end if (idx <= 2) then frame.attackbox[3] = null end if ((idx > 17) and (idx <= 35)) then frame.attackbox[1].y1 = frame.attackbox[1].y1*(frame.scale_y/200) frame.attackbox[1].y2 = frame.attackbox[1].y2*(frame.scale_y/200) frame.attackbox[2].y1 = frame.attackbox[2].y1*(frame.scale_y/200) frame.attackbox[2].y2 = frame.attackbox[2].y2*(frame.scale_y/200) frame.attackbox[3].y1 = frame.attackbox[3].y1*(frame.scale_y/200) frame.attackbox[3].y2 = frame.attackbox[3].y2*(frame.scale_y/200) end if (idx > 35) then frame.attackbox = pat:get_frame(0,0,0).attackbox end frame.damage = 540 frame.chip_damage = 54 frame.sp_damage = 40 frame.limit = 10 frame.proration = 920 set_aflag(frame,AF_DRAINS_ON_GRAZE) set_aflag(frame,AF_UNREFLECTABLE) end) end end function mods.s5sc_quake(pat) --603 --853 local baseX = 64 +8 local baseY = 183 +50 +4 pat:update_frame(603,0,0, { tex_index = 407 , tex_w = 68 , tex_h = 121 , tex_offset_x = baseX -12 , tex_offset_y = baseY +2 , duration = 2 , hurtbox = pat:get_frame(500,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(603,0,1, { tex_index = 407 , tex_w = 68 , tex_h = 121 , tex_offset_x = baseX -12 , tex_offset_y = baseY +2 , duration = 3 , hurtbox = pat:get_frame(500,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(603,0,2, { tex_index = 408 , tex_w = 103 , tex_h = 124 , tex_offset_x = baseX +28 , tex_offset_y = baseY +8 , duration = 2 , hurtbox = pat:get_frame(500,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(603,0,3, { tex_index = 408 , tex_w = 103 , tex_h = 124 , tex_offset_x = baseX +28 , tex_offset_y = baseY +8 , duration = 3 , hurtbox = pat:get_frame(500,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(603,0,4, { tex_index = 409 , tex_w = 81 , tex_h = 127 , tex_offset_x = baseX +20 , tex_offset_y = baseY +16 , duration = 2 , hurtbox = pat:get_frame(500,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(603,0,5, { tex_index = 409 , tex_w = 81 , tex_h = 127 , tex_offset_x = baseX +20 , tex_offset_y = baseY +16 , duration = 6 , hurtbox = pat:get_frame(500,0,5).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(603,0,6, { tex_index = 409 , tex_w = 81 , tex_h = 127 , tex_offset_x = baseX +20 , tex_offset_y = baseY +16 , duration = 2 , hurtbox = pat:get_frame(500,0,6).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(603,0,7, { tex_index = 409 , tex_w = 81 , tex_h = 127 , tex_offset_x = baseX +20 , tex_offset_y = baseY +16 , duration = 50 , hurtbox = pat:get_frame(500,0,7).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(603,0,8, { tex_index = 409 , tex_w = 81 , tex_h = 127 , tex_offset_x = baseX +20 , tex_offset_y = baseY +16 , duration = 40 , hurtbox = pat:get_frame(500,0,7).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(603,0,9, { tex_index = 411 , tex_w = 75 , tex_h = 138 , tex_offset_x = baseX -36 , tex_offset_y = baseY +38 , duration = 4 , hurtbox = pat:get_frame(500,0,9).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(603,0,10, { tex_index = 412 , tex_w = 132 , tex_h = 123 , tex_offset_x = baseX -22 , tex_offset_y = baseY +4 , duration = 4 , hurtbox = pat:get_frame(500,0,10).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(603,0,11, { tex_index = 413 , tex_w = 131 , tex_h = 97 , tex_offset_x = baseX -22 , tex_offset_y = baseY -48 , duration = 4 , hurtbox = pat:get_frame(500,0,11).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(603,0,12, { tex_index = 413 , tex_w = 131 , tex_h = 97 , tex_offset_x = baseX -22 , tex_offset_y = baseY -48 , duration = 16 , hurtbox = pat:get_frame(500,0,12).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(603,0,13, { tex_index = 414 , tex_w = 103 , tex_h = 118 , tex_offset_x = baseX -18 , tex_offset_y = baseY -0 , duration = 4 , hurtbox = pat:get_frame(500,0,13).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(603,0,14, { tex_index = 407 , tex_w = 68 , tex_h = 121 , tex_offset_x = baseX -12 , tex_offset_y = baseY +2 , duration = 2 , hurtbox = pat:get_frame(500,0,14).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(603,0,15, { tex_index = 407 , tex_w = 68 , tex_h = 121 , tex_offset_x = baseX -12 , tex_offset_y = baseY +2 , duration = 2 , hurtbox = pat:get_frame(500,0,15).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(853,6,0,{ tex_w = 0 , attackbox = pat:get_frame(0,0,0).attackbox }) pat:update_frame(853,7,0,{ tex_w = 0 , attackbox = pat:get_frame(0,0,0).attackbox }) pat:update_frame(853,3,0,{ tex_w = 0 , attackbox = pat:get_frame(0,0,0).attackbox }) for idx = 1 , 60 + 60 do pat:split_frame(853,2,0,1,1) end for idx = 0 , 60 + 60 do pat:add_particle_info(853,2,idx) pat:update_frame(853,2,idx,function(frame) frame.color_r = 155 frame.color_g = 155 frame.color_b = 155 frame.blending_mode = 1 frame.tex_index = 335+idx%8 frame.tex_w = 1024 frame.tex_h = 64 frame.tex_offset_x = 512 frame.tex_offset_y = 32 frame.scale_x = 600 frame.scale_y = 600 frame.duration = 1 frame.angle_z = 90 frame.damage = 300 frame.chip_damage = 30 frame.sp_damage = 15 frame.proration = 950 frame.untech = 120 frame.limit = 2 frame.card_gain_hit = 0 frame.card_gain_block = 0 frame.hitstop_enemy = 10 frame.blockstop_enemy = 10 frame.launch_vector_x = 0 frame.launch_vector_y = 1750 frame.hit_sfx = pat:get_frame(810,6,0).hit_sfx frame.hit_effect = pat:get_frame(810,6,0).hit_effect frame.unknown_9 = 100 frame.hit_ani_air = 72 frame.hit_ani_ground = 72 frame.fflags = pat:get_frame(810,6,0).fflags frame.aflags = pat:get_frame(810,6,0).aflags set_aflag(frame,AF_SPELL_ATTACK) unset_aflag(frame,AF_SKILL_ATTACK) local scal = 100 if (idx < 29) then scal = 1 elseif (idx < 39) then scal = (idx-29) elseif (idx < 49 + 60) then scal = 10 elseif (idx < 59 + 60) then scal = 10-(idx-(49 + 60)) else scal = 0 end frame.scale_y = scal*60 local scalemody = 100/frame.scale_y local scalemodx = 100/frame.scale_x if ((idx>=39) and (idx<=49 + 60)) then frame.attackbox = pat:get_frame(0,0,0).hurtbox frame.attackbox[1].y1 = -2000 frame.attackbox[1].y2 = 0 frame.attackbox[1].x1 = -30 frame.attackbox[1].x2 = 30 frame.hurtbox = frame.attackbox else frame.attackbox = pat:get_frame(0,0,0).attackbox end end) end for idx = 1 , 60 + 60 do pat:split_frame(853,4,0,1,1) end for idx = 0 , 60 + 60 do pat:add_particle_info(853,4,idx) pat:update_frame(853,4,idx,function(frame) frame.color_r = 155 frame.color_g = 155 frame.color_b = 155 frame.blending_mode = 1 frame.tex_index = 324+idx%8 frame.tex_w = 1024 frame.tex_h = 64 frame.tex_offset_x = 512 frame.tex_offset_y = 32 frame.scale_x = 600 frame.scale_y = 600 frame.duration = 1 frame.angle_z = 90 frame.damage = 300 frame.chip_damage = 30 frame.sp_damage = 15 frame.proration = 950 frame.untech = 120 frame.limit = 2 frame.card_gain_hit = 0 frame.card_gain_block = 0 frame.hitstop_enemy = 10 frame.blockstop_enemy = 10 frame.launch_vector_x = 0 frame.launch_vector_y = 1750 frame.hit_sfx = pat:get_frame(810,6,0).hit_sfx frame.hit_effect = pat:get_frame(810,6,0).hit_effect frame.unknown_9 = 100 frame.hit_ani_air = 72 frame.hit_ani_ground = 72 frame.fflags = pat:get_frame(810,6,0).fflags frame.aflags = pat:get_frame(810,6,0).aflags set_aflag(frame,AF_SPELL_ATTACK) unset_aflag(frame,AF_SKILL_ATTACK) local scal = 100 if (idx < 29) then scal = 1 elseif (idx < 39) then scal = (idx-29) elseif (idx < 49 + 60) then scal = 10 elseif (idx < 59 + 60) then scal = 10-(idx-(49 + 60)) else scal = 0 end frame.scale_y = scal*60 local scalemody = 100/frame.scale_y local scalemodx = 100/frame.scale_x if ((idx>=39) and (idx<=49 + 60)) then frame.attackbox = pat:get_frame(0,0,0).hurtbox frame.attackbox[1].y1 = -2000 frame.attackbox[1].y2 = 0 frame.attackbox[1].x1 = -30 frame.attackbox[1].x2 = 30 frame.hurtbox = frame.attackbox else frame.attackbox = pat:get_frame(0,0,0).attackbox end end) end end return function(pat) mods.fix_frames(pat) mods.blocking(pat) mods.nj5a(pat) mods.n2a(pat) mods.nj6a(pat) mods.nj8a(pat) mods.nj2a(pat) mods.b5b(pat) mods.b6b(pat) mods.n5a(pat)--yes mods.n5aa(pat) mods.n5aaa(pat) mods.nf5a(pat) mods.n6a(pat) mods.n3a(pat)--yes mods.b5c(pat) mods.b2c(pat) mods.n66a(pat) mods.n66b(pat) mods.n66c(pat) mods.systems(pat) --mods.curvy236(pat) mods.d236(pat) mods.d623(pat) mods.d214(pat) mods.d22(pat) mods.a236_slash(pat) --mods.a236_borgar(pat) move down mods.a623_slashy(pat) mods.a623_charge(pat) mods.a214_quake(pat) mods.a214_boomerang(pat) mods.a22_keystone(pat) mods.a22_guard(pat) mods.a236_borgar(pat) --mods.s2sc_quake(pat) mods.s2sc_creation(pat) mods.s2sc_slash(pat) mods.s3sc_weather(pat) mods.s3sc_charge(pat) mods.s3sc_slashy(pat) mods.s4sc_beam(pat) mods.s4sc_armor(pat) mods.s5sc_charge(pat) mods.s5sc_weather(pat) mods.s5sc_quake(pat) end