require("config.util") --[[ sounds data: -- 0 = 5b -- 1 = 236 hit & 5b hit -- 2 = 5c -- 3 = 2c -- 4 = 2c explode -- 8 = a236 laser -- 10 = 214/22 explode -- 17 = 623 -- 50 = j2a -- 51 = f5a -- 52 = 6a -- 53 = 66b -- 102 = pfreeze -- 107 = 5sc ]]-- local mods = {} -- Transparent Zofi can't be hit -- full color zofi can't be hit but can be killed by bullets -- big full color zofi can be hit function mods.fix_frames(pat) -- double size --36 = 70 --92 = 195 --39 --96 local baseX = 76 local baseY = 195 local baseDur = 6 --stand pat:update_frame(0,0,0, { duration = baseDur , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +0 , tex_offset_y = baseY +0 }) -- id 342 pat:update_frame(0,0,1, { duration = baseDur , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY +0 }) pat:update_frame(0,0,2, { duration = baseDur , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY +0 }) pat:update_frame(0,0,3, { duration = baseDur , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY +0 }) pat:update_frame(0,0,4, { duration = baseDur , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY +0 }) pat:update_frame(0,0,5, { duration = baseDur , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY +0 }) pat:update_frame(0,0,6, { duration = baseDur , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +0 , tex_offset_y = baseY +0 }) pat:update_frame(0,0,7, { duration = baseDur , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY +0 }) pat:update_frame(0,0,8, { duration = baseDur , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY +0 }) pat:update_frame(0,0,9, { duration = baseDur , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY +0 }) pat:update_frame(0,0,10, { duration = baseDur , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY +0 }) pat:update_frame(0,0,11, { duration = baseDur , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY +0 }) for idx = 0 , 11 do pat:update_frame(0,0,idx,function(frame) frame.hurtbox[1].y1 = frame.hurtbox[1].y1 - 10 end) end -- sit pat:update_frame(1,0,0, { tex_index = 247 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY -14 }) pat:update_frame(1,0,1, { tex_index = 248 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY -34 }) pat:update_frame(1,0,1,function(frame) frame.hurtbox[1].y1 = frame.hurtbox[1].y1 - 30 end) pat:update_frame(1,0,2, { tex_index = 205 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY -62 }) pat:update_frame(1,0,2,function(frame) frame.hurtbox[1].y1 = frame.hurtbox[1].y1 - 10 end) pat:update_frame(1,0,3, { tex_index = 249 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY -72 }) pat:update_frame(2,0,0, { tex_index = 249 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY -72 }) pat:update_frame(3,0,0, { tex_index = 205 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY -62 , hurtbox = pat:get_frame(1,0,2).hurtbox}) pat:update_frame(3,0,1, { tex_index = 248 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY -34 , hurtbox = pat:get_frame(1,0,1).hurtbox}) pat:update_frame(3,0,2, { tex_index = 247 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY -14 }) -- walkFront baseDur = 6 pat:update_frame(4,0,0, { tex_index = 367 , duration = baseDur , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -12 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(4,0,1, { tex_index = 368 , duration = baseDur , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -12 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(4,0,2, { tex_index = 369 , duration = baseDur , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -12 , tex_offset_y = baseY -6 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(4,0,3, { tex_index = 370 , duration = baseDur , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -12 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(4,0,4, { tex_index = 371 , duration = baseDur , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -12 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(4,0,5, { tex_index = 372 , duration = baseDur , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -12 , tex_offset_y = baseY -6 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:remove_frame(4,0,7) pat:remove_frame(4,0,6) -- walkback baseDur = 6 pat:update_frame(5,0,0, { tex_index = 359 , duration = baseDur , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -24 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(5,0,1, { tex_index = 360 , duration = baseDur , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -24 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(5,0,2, { tex_index = 361 , duration = baseDur , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -24 , tex_offset_y = baseY -6 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(5,0,3, { tex_index = 362 , duration = baseDur , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -24 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(5,0,4, { tex_index = 363 , duration = baseDur , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -24 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(5,0,5, { tex_index = 364 , duration = baseDur , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -24 , tex_offset_y = baseY -6 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:remove_frame(5,0,7) pat:remove_frame(5,0,6) -- jump local baseY2 = 60 pat:split_frame(6,0,0,3,2) pat:update_frame(6,0,0, { tex_index = 248 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY -34 , hurtbox = pat:get_frame(1,0,1).hurtbox}) pat:update_frame(6,0,1, { tex_index = 249 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY -72 , hurtbox = pat:get_frame(1,0,3).hurtbox}) pat:update_frame(6,1,0, { tex_index = 202 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -20 , tex_offset_y = baseY -2 }) pat:update_frame(6,1,0,function(frame) frame.hurtbox[1].y1 = frame.hurtbox[1].y1 + 50 frame.hurtbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[2].y2 = frame.hurtbox[2].y2 - 100 frame.hurtbox[2].x1 = frame.hurtbox[2].x1 + 0 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 + 10 frame.hurtbox[2].y1 = frame.hurtbox[2].y1 - 5 frame.hurtbox[3] = frame.hurtbox[2] frame.hurtbox[2] = frame.hurtbox[1] frame.hurtbox[1] = frame.hurtbox[3] frame.hurtbox[3]=null end) pat:update_frame(6,1,1, { tex_index = 202 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -20 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(6,1,0).hurtbox}) pat:update_frame(6,1,2, { tex_index = 202 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -20 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(6,1,3, { tex_index = 202 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -20 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(6,1,4, { tex_index = 205 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY +baseY2/2 -32 , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 4}) pat:update_frame(6,1,4,function(frame) frame.hurtbox[2].y2 = frame.hurtbox[2].y2 - 30 frame.hurtbox[2].x1 = frame.hurtbox[2].x1 - 10 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 - 10 end) pat:split_frame(6,2,2,4,4) pat:split_frame(6,2,2,4,1) pat:split_frame(6,2,2,4,1) pat:split_frame(6,2,2,4,1) pat:update_frame(6,2,0, { tex_index = 214 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -26 , tex_offset_y = baseY +baseY2 -86 }) pat:update_frame(6,2,1, { tex_index = 215 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -28 , tex_offset_y = baseY +baseY2 -86 , duration = 4}) pat:update_frame(6,2,1,function(frame) frame.hurtbox[2].x2 = frame.hurtbox[2].x2 + 15 frame.hurtbox[2].y2 = frame.hurtbox[2].y2 - 15 frame.hurtbox[2].y1 = frame.hurtbox[2].y1 - 15 frame.hurtbox[1] = frame.hurtbox[2] frame.hurtbox[2] = null end) pat:update_frame(6,2,2, { tex_index = 206 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -28 , tex_offset_y = baseY +baseY2 -86 , hurtbox = pat:get_frame(6,2,1).hurtbox , duration = 4}) pat:update_frame(6,2,3, { tex_index = 207 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -28 , tex_offset_y = baseY +baseY2 -86 , hurtbox = pat:get_frame(6,2,1).hurtbox , duration = 4}) pat:update_frame(6,2,4, { tex_index = 208 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -56 , tex_offset_y = baseY +baseY2 -150 +30}) pat:update_frame(6,2,4,function(frame) frame.hurtbox[2]=null frame.hurtbox[1].x1 = frame.hurtbox[1].x1 + 5 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 + 5 frame.hurtbox[1].y1 = frame.hurtbox[1].y1 + 30 frame.hurtbox[1].y2 = frame.hurtbox[1].y2 + 30 frame.collision[1].y1 = frame.collision[1].y1 + 30 end) pat:update_frame(6,2,5, { tex_index = 208 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -56 , tex_offset_y = baseY +baseY2 -150 +20 , hurtbox = pat:get_frame(6,2,4).hurtbox , collision = pat:get_frame(6,2,4).collision}) pat:update_frame(6,2,6, { tex_index = 208 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -56 , tex_offset_y = baseY +baseY2 -150 +10 , hurtbox = pat:get_frame(6,2,4).hurtbox , collision = pat:get_frame(6,2,4).collision}) pat:update_frame(6,2,6,function(frame) frame.hurtbox[1].y1 = frame.hurtbox[1].y1 + 20 frame.hurtbox[1].y2 = frame.hurtbox[1].y2 + 20 end) pat:split_frame(6,3,1,3,3) pat:update_frame(6,3,0, { tex_index = 208 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -56 , tex_offset_y = baseY +baseY2 -150 , hurtbox = pat:get_frame(6,2,6).hurtbox , collision = pat:get_frame(6,2,6).collision , duration = 6}) pat:update_frame(6,3,1, { tex_index = 209 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -56 , tex_offset_y = baseY +baseY2 -144 +10 , hurtbox = pat:get_frame(6,2,6).hurtbox , collision = pat:get_frame(6,2,6).collision , duration = 6}) pat:update_frame(6,3,2, { tex_index = 210 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -48 , tex_offset_y = baseY +baseY2 -136 , hurtbox = pat:get_frame(6,2,6).hurtbox , collision = pat:get_frame(6,2,6).collision , duration = 6 }) -- jumpFront local baseY2 = 60 pat:split_frame(7,0,0,3,2) pat:update_frame(7,0,0, { tex_index = 248 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY -34 , hurtbox = pat:get_frame(1,0,1).hurtbox}) pat:update_frame(7,0,1, { tex_index = 249 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY -72 , hurtbox = pat:get_frame(1,0,3).hurtbox}) pat:update_frame(7,1,0, { tex_index = 203 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +4 , tex_offset_y = baseY -10 , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(7,1,0,function(frame) frame.hurtbox[1].y1 = frame.hurtbox[1].y1 + 5--[[ 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]]-- end) pat:update_frame(7,1,1, { tex_index = 203 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +4 , tex_offset_y = baseY -10 , hurtbox = pat:get_frame(7,1,0).hurtbox}) pat:update_frame(7,1,2, { tex_index = 203 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +4 , tex_offset_y = baseY -10 , hurtbox = pat:get_frame(7,1,0).hurtbox }) pat:update_frame(7,1,3, { tex_index = 203 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +4 , tex_offset_y = baseY -10 , hurtbox = pat:get_frame(7,1,0).hurtbox }) pat:update_frame(7,1,4, { tex_index = 205 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY +baseY2/2 -32 , hurtbox = pat:get_frame(6,1,4).hurtbox , duration = 4}) pat:split_frame(7,2,2,4,4) pat:split_frame(7,2,2,4,1) pat:split_frame(7,2,2,4,1) pat:split_frame(7,2,2,4,1) pat:update_frame(7,2,0, { tex_index = 214 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -26 , tex_offset_y = baseY +baseY2 -86 , hurtbox = pat:get_frame(7,2,0).hurtbox , duration = 4 }) pat:update_frame(7,2,1, { tex_index = 215 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -28 , tex_offset_y = baseY +baseY2 -86 , hurtbox = pat:get_frame(6,2,1).hurtbox , duration = 4}) pat:update_frame(7,2,2, { tex_index = 206 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -28 , tex_offset_y = baseY +baseY2 -86 , hurtbox = pat:get_frame(6,2,1).hurtbox , duration = 4}) pat:update_frame(7,2,3, { tex_index = 207 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -28 , tex_offset_y = baseY +baseY2 -86 , hurtbox = pat:get_frame(6,2,1).hurtbox , duration = 4}) pat:update_frame(7,2,4, { tex_index = 208 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -56 , tex_offset_y = baseY +baseY2 -150 +30 , hurtbox = pat:get_frame(6,2,4).hurtbox , collision = pat:get_frame(6,2,4).collision}) pat:update_frame(7,2,5, { tex_index = 208 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -56 , tex_offset_y = baseY +baseY2 -150 +20 , hurtbox = pat:get_frame(6,2,4).hurtbox , collision = pat:get_frame(6,2,4).collision}) pat:update_frame(7,2,6, { tex_index = 208 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -56 , tex_offset_y = baseY +baseY2 -150 +10 , hurtbox = pat:get_frame(6,2,6).hurtbox , collision = pat:get_frame(6,2,6).collision}) pat:split_frame(7,3,1,3,3) pat:update_frame(7,3,0, { tex_index = 208 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -56 , tex_offset_y = baseY +baseY2 -150 , hurtbox = pat:get_frame(6,2,6).hurtbox , collision = pat:get_frame(6,2,6).collision , duration = 6}) pat:update_frame(7,3,1, { tex_index = 209 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -56 , tex_offset_y = baseY +baseY2 -144 +10 , hurtbox = pat:get_frame(6,2,6).hurtbox , collision = pat:get_frame(6,2,6).collision , duration = 6}) pat:update_frame(7,3,2, { tex_index = 210 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -48 , tex_offset_y = baseY +baseY2 -136 , hurtbox = pat:get_frame(6,2,6).hurtbox , collision = pat:get_frame(6,2,6).collision , duration = 6 }) -- jumpBack local baseY2 = 60 pat:split_frame(8,0,0,3,2) pat:update_frame(8,0,0, { tex_index = 248 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY -34 , hurtbox = pat:get_frame(1,0,1).hurtbox}) pat:update_frame(8,0,1, { tex_index = 249 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY -72 , hurtbox = pat:get_frame(1,0,3).hurtbox}) pat:update_frame(8,1,0, { tex_index = 204 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY -14 , hurtbox = pat:get_frame(7,1,0).hurtbox }) pat:update_frame(8,1,0,function(frame) frame.hurtbox[1].x1 = frame.hurtbox[1].x1 + 0 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 end) pat:update_frame(8,1,1, { tex_index = 204 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY -14 , hurtbox = pat:get_frame(8,1,0).hurtbox}) pat:update_frame(8,1,2, { tex_index = 204 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY -14 , hurtbox = pat:get_frame(8,1,0).hurtbox }) pat:update_frame(8,1,3, { tex_index = 204 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY -14 , hurtbox = pat:get_frame(8,1,0).hurtbox }) pat:update_frame(8,1,4, { tex_index = 217 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY +baseY2 -84 , hurtbox = pat:get_frame(6,2,1).hurtbox , duration = 4}) pat:split_frame(8,2,2,4,4) pat:split_frame(8,2,2,4,1) pat:split_frame(8,2,2,4,1) pat:split_frame(8,2,2,4,1) pat:update_frame(8,2,0, { tex_index = 216 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -38 , tex_offset_y = baseY +baseY2 -84 , hurtbox = pat:get_frame(6,2,1).hurtbox , duration = 4}) pat:update_frame(8,2,1, { tex_index = 215 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -28 , tex_offset_y = baseY +baseY2 -86 , hurtbox = pat:get_frame(6,2,1).hurtbox , duration = 4}) pat:update_frame(8,2,2, { tex_index = 206 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -28 , tex_offset_y = baseY +baseY2 -86 , hurtbox = pat:get_frame(6,2,1).hurtbox , duration = 4}) pat:update_frame(8,2,3, { tex_index = 207 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -28 , tex_offset_y = baseY +baseY2 -86 , hurtbox = pat:get_frame(6,2,1).hurtbox , duration = 4}) pat:update_frame(8,2,4, { tex_index = 208 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -56 , tex_offset_y = baseY +baseY2 -150 +30 , hurtbox = pat:get_frame(6,2,4).hurtbox , collision = pat:get_frame(6,2,4).collision}) pat:update_frame(8,2,5, { tex_index = 208 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -56 , tex_offset_y = baseY +baseY2 -150 +20 , hurtbox = pat:get_frame(6,2,4).hurtbox , collision = pat:get_frame(6,2,4).collision}) pat:update_frame(8,2,6, { tex_index = 208 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -56 , tex_offset_y = baseY +baseY2 -150 +10 , hurtbox = pat:get_frame(6,2,6).hurtbox , collision = pat:get_frame(6,2,6).collision}) pat:split_frame(8,3,1,3,3) pat:update_frame(8,3,0, { tex_index = 208 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -56 , tex_offset_y = baseY +baseY2 -150 , hurtbox = pat:get_frame(6,2,6).hurtbox , collision = pat:get_frame(6,2,6).collision , duration = 6}) pat:update_frame(8,3,1, { tex_index = 209 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -56 , tex_offset_y = baseY +baseY2 -144 +10 , hurtbox = pat:get_frame(6,2,6).hurtbox , collision = pat:get_frame(6,2,6).collision , duration = 6}) pat:update_frame(8,3,2, { tex_index = 210 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -48 , tex_offset_y = baseY +baseY2 -136 , hurtbox = pat:get_frame(6,2,6).hurtbox , collision = pat:get_frame(6,2,6).collision , duration = 6 }) -- air pat:update_frame(9,0,0, { tex_index = 211 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(9,0,0).hurtbox }) pat:update_frame(9,0,1, { tex_index = 212 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(9,0,0).hurtbox }) -- land pat:update_frame(10,0,0, { tex_index = 205 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY -62 , hurtbox = pat:get_frame(1,0,2).hurtbox}) pat:update_frame(10,0,1, { tex_index = 248 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY -34 , hurtbox = pat:get_frame(1,0,1).hurtbox}) pat:update_frame(10,0,2, { tex_index = 247 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY -14 , hurtbox = pat:get_frame(3,0,2).hurtbox }) -- hover off pat:split_frame(11,0,0,4,4) pat:update_frame(11,0,0, { tex_index = 207 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -28 , tex_offset_y = baseY +baseY2 -86 , hurtbox = pat:get_frame(6,2,1).hurtbox , duration = 4}) pat:update_frame(11,0,1, { tex_index = 206 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -28 , tex_offset_y = baseY +baseY2 -86 , hurtbox = pat:get_frame(6,2,1).hurtbox , duration = 4}) pat:update_frame(11,1,0, { tex_index = 211 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(9,0,0).hurtbox }) pat:update_frame(11,1,1, { tex_index = 212 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(9,0,0).hurtbox }) --hitupper pat:update_frame(50,0,0,function(frame) frame.hurtbox[3] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[1].y2 = frame.hurtbox[1].y2 + 10 frame.hurtbox[1].x1 = frame.hurtbox[1].x1 - 50 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 - 50 frame.hurtbox[2].x1 = frame.hurtbox[2].x1 - 50 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 - 30 frame.hurtbox[2].y2 = frame.hurtbox[2].y2 - 40 frame.hurtbox[3].y1 = frame.hurtbox[3].y1 + 70 frame.hurtbox[3].x1 = frame.hurtbox[3].x1 - 20 end) pat:update_frame(50,0,0, { tex_index = 197 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +52 , tex_offset_y = baseY -26}) pat:update_frame(50,0,1, { tex_index = 197 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +52 , tex_offset_y = baseY -26 , hurtbox = pat:get_frame(50,0,0).hurtbox }) pat:update_frame(50,0,2, { tex_index = 198 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +52 , tex_offset_y = baseY -20 , hurtbox = pat:get_frame(50,0,0).hurtbox }) pat:update_frame(50,0,3, { tex_index = 198 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +52 , tex_offset_y = baseY -20 , hurtbox = pat:get_frame(50,0,0).hurtbox }) pat:update_frame(50,0,4, { tex_index = 199 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +20 , tex_offset_y = baseY -16 , hurtbox = pat:get_frame(50,0,0).hurtbox }) pat:update_frame(50,0,4,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 + 20 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 + 10 end) pat:update_frame(51,0,0, { tex_index = 197 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +52 , tex_offset_y = baseY -26 , hurtbox = pat:get_frame(50,0,0).hurtbox }) pat:update_frame(51,0,1, { tex_index = 197 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +52 , tex_offset_y = baseY -26 , hurtbox = pat:get_frame(50,0,0).hurtbox }) pat:update_frame(51,0,2, { tex_index = 197 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +52 , tex_offset_y = baseY -26 , hurtbox = pat:get_frame(50,0,0).hurtbox }) pat:update_frame(51,0,3, { tex_index = 197 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +52 , tex_offset_y = baseY -26 , hurtbox = pat:get_frame(50,0,0).hurtbox }) pat:update_frame(51,0,4, { tex_index = 198 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +52 , tex_offset_y = baseY -20 , hurtbox = pat:get_frame(50,0,0).hurtbox }) pat:update_frame(51,0,5, { tex_index = 198 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +52 , tex_offset_y = baseY -20 , hurtbox = pat:get_frame(50,0,0).hurtbox }) pat:update_frame(51,0,6, { tex_index = 199 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +20 , tex_offset_y = baseY -16 , hurtbox = pat:get_frame(50,0,4).hurtbox }) pat:update_frame(52,0,0, { tex_index = 197 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +52 , tex_offset_y = baseY -26 , hurtbox = pat:get_frame(50,0,0).hurtbox }) pat:update_frame(52,0,1, { tex_index = 197 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +52 , tex_offset_y = baseY -26 , hurtbox = pat:get_frame(50,0,0).hurtbox }) pat:update_frame(52,0,2, { tex_index = 197 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +52 , tex_offset_y = baseY -26 , hurtbox = pat:get_frame(50,0,0).hurtbox }) pat:update_frame(52,0,3, { tex_index = 197 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +52 , tex_offset_y = baseY -26 , hurtbox = pat:get_frame(50,0,0).hurtbox }) pat:update_frame(52,0,4, { tex_index = 197 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +52 , tex_offset_y = baseY -26 , hurtbox = pat:get_frame(50,0,0).hurtbox }) pat:update_frame(52,0,5, { tex_index = 197 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +52 , tex_offset_y = baseY -26 , hurtbox = pat:get_frame(50,0,0).hurtbox }) pat:update_frame(52,0,6, { tex_index = 198 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +52 , tex_offset_y = baseY -20 , hurtbox = pat:get_frame(50,0,0).hurtbox }) pat:update_frame(52,0,7, { tex_index = 198 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +52 , tex_offset_y = baseY -20 , hurtbox = pat:get_frame(50,0,0).hurtbox }) pat:update_frame(52,0,8, { tex_index = 199 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +20 , tex_offset_y = baseY -16 , hurtbox = pat:get_frame(50,0,4).hurtbox }) --hitspin pat:update_frame(53,0,0, { tex_index = 197 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +52 , tex_offset_y = baseY -26 , hurtbox = pat:get_frame(50,0,0).hurtbox }) pat:update_frame(53,1,0, { tex_index = 187 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +94 , tex_offset_y = baseY -32 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(53,1,5, { tex_index = 192 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +6 , tex_offset_y = baseY -0 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(53,1,4, { tex_index = 191 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -24 , tex_offset_y = baseY -0 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(53,1,3, { tex_index = 190 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -38 , tex_offset_y = baseY -32 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(53,1,2, { tex_index = 189 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -18 , tex_offset_y = baseY -32 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(53,1,1, { tex_index = 188 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -32 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(53,2,0, { tex_index = 187 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +94 , tex_offset_y = baseY -32 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(53,2,5, { tex_index = 192 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +6 , tex_offset_y = baseY -0 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(53,2,4, { tex_index = 191 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -24 , tex_offset_y = baseY -0 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(53,2,3, { tex_index = 190 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -38 , tex_offset_y = baseY -32 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(53,2,2, { tex_index = 189 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -18 , tex_offset_y = baseY -32 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(53,2,1, { tex_index = 188 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -32 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(53,3,0, { tex_index = 197 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +52 , tex_offset_y = baseY -26 , hurtbox = pat:get_frame(50,0,0).hurtbox }) pat:update_frame(53,3,1, { tex_index = 198 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +52 , tex_offset_y = baseY -20 , hurtbox = pat:get_frame(50,0,0).hurtbox }) pat:update_frame(53,3,2, { tex_index = 199 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +20 , tex_offset_y = baseY -16 , hurtbox = pat:get_frame(50,0,4).hurtbox }) --hitunder pat:update_frame(56,0,0,function(frame) frame.hurtbox[1].y2 = frame.hurtbox[1].y2 + 20 frame.hurtbox[2].x1 = frame.hurtbox[1].x1 - 10 end) pat:update_frame(56,0,0, { tex_index = 193 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +16 , tex_offset_y = baseY -40 }) pat:update_frame(56,0,1, { tex_index = 193 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +16 , tex_offset_y = baseY -40 , hurtbox = pat:get_frame(56,0,0).hurtbox }) pat:update_frame(56,0,2, { tex_index = 194 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +26 , tex_offset_y = baseY -24 , hurtbox = pat:get_frame(56,0,0).hurtbox }) pat:update_frame(56,0,3, { tex_index = 194 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +26 , tex_offset_y = baseY -24 , hurtbox = pat:get_frame(56,0,0).hurtbox }) pat:update_frame(56,0,4, { tex_index = 195 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +20 , tex_offset_y = baseY -16 , hurtbox = pat:get_frame(50,0,4).hurtbox }) pat:update_frame(57,0,0, { tex_index = 193 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +16 , tex_offset_y = baseY -40 , hurtbox = pat:get_frame(56,0,0).hurtbox }) pat:update_frame(57,0,1, { tex_index = 193 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +16 , tex_offset_y = baseY -40 , hurtbox = pat:get_frame(56,0,0).hurtbox }) pat:update_frame(57,0,2, { tex_index = 193 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +16 , tex_offset_y = baseY -40 , hurtbox = pat:get_frame(56,0,0).hurtbox }) pat:update_frame(57,0,3, { tex_index = 193 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +16 , tex_offset_y = baseY -40 , hurtbox = pat:get_frame(56,0,0).hurtbox }) pat:update_frame(57,0,4, { tex_index = 194 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +26 , tex_offset_y = baseY -24 , hurtbox = pat:get_frame(56,0,0).hurtbox }) pat:update_frame(57,0,5, { tex_index = 194 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +26 , tex_offset_y = baseY -24 , hurtbox = pat:get_frame(56,0,0).hurtbox }) pat:update_frame(57,0,6, { tex_index = 195 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +20 , tex_offset_y = baseY -16 , hurtbox = pat:get_frame(56,0,4).hurtbox }) pat:update_frame(58,0,0, { tex_index = 193 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +16 , tex_offset_y = baseY -40 , hurtbox = pat:get_frame(56,0,0).hurtbox }) pat:update_frame(58,0,1, { tex_index = 193 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +16 , tex_offset_y = baseY -40 , hurtbox = pat:get_frame(56,0,0).hurtbox }) pat:update_frame(58,0,2, { tex_index = 193 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +16 , tex_offset_y = baseY -40 , hurtbox = pat:get_frame(56,0,0).hurtbox }) pat:update_frame(58,0,3, { tex_index = 193 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +16 , tex_offset_y = baseY -40 , hurtbox = pat:get_frame(56,0,0).hurtbox }) pat:update_frame(58,0,4, { tex_index = 193 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +16 , tex_offset_y = baseY -40 , hurtbox = pat:get_frame(56,0,0).hurtbox }) pat:update_frame(58,0,5, { tex_index = 193 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +16 , tex_offset_y = baseY -40 , hurtbox = pat:get_frame(56,0,0).hurtbox }) pat:update_frame(58,0,6, { tex_index = 194 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +26 , tex_offset_y = baseY -24 , hurtbox = pat:get_frame(56,0,0).hurtbox }) pat:update_frame(58,0,7, { tex_index = 194 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +26 , tex_offset_y = baseY -24 , hurtbox = pat:get_frame(56,0,0).hurtbox }) pat:update_frame(58,0,8, { tex_index = 195 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +20 , tex_offset_y = baseY -16 , hurtbox = pat:get_frame(56,0,4).hurtbox }) --hitsit pat:update_frame(62,0,0,function(frame) frame.hurtbox[1]=frame.hurtbox[2] frame.hurtbox[2]=null frame.hurtbox[1].y1 = frame.hurtbox[1].y1 - 40 frame.hurtbox[1].x1 = frame.hurtbox[1].x1 - 10 end) pat:update_frame(62,0,0, { tex_index = 196 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -2 , tex_offset_y = baseY -74 , hurtbox = pat:get_frame(62,0,0).hurtbox }) pat:update_frame(62,0,1, { tex_index = 196 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -2 , tex_offset_y = baseY -74 , hurtbox = pat:get_frame(62,0,0).hurtbox }) pat:update_frame(62,0,2, { tex_index = 196 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -74 , hurtbox = pat:get_frame(62,0,0).hurtbox }) pat:update_frame(62,0,3, { tex_index = 196 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -74 , hurtbox = pat:get_frame(62,0,0).hurtbox }) pat:update_frame(62,0,4, { tex_index = 169 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY -74 , hurtbox = pat:get_frame(62,0,0).hurtbox }) pat:update_frame(63,0,0, { tex_index = 196 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -2 , tex_offset_y = baseY -74 , hurtbox = pat:get_frame(62,0,0).hurtbox }) pat:update_frame(63,0,1, { tex_index = 196 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -2 , tex_offset_y = baseY -74 , hurtbox = pat:get_frame(62,0,0).hurtbox }) pat:update_frame(63,0,2, { tex_index = 196 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -2 , tex_offset_y = baseY -74 , hurtbox = pat:get_frame(62,0,0).hurtbox }) pat:update_frame(63,0,3, { tex_index = 196 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -2 , tex_offset_y = baseY -74 , hurtbox = pat:get_frame(62,0,0).hurtbox }) pat:update_frame(63,0,4, { tex_index = 196 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -74 , hurtbox = pat:get_frame(62,0,0).hurtbox }) pat:update_frame(63,0,5, { tex_index = 196 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -74 , hurtbox = pat:get_frame(62,0,0).hurtbox }) pat:update_frame(63,0,6, { tex_index = 169 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY -74 , hurtbox = pat:get_frame(62,0,0).hurtbox }) pat:update_frame(64,0,0, { tex_index = 196 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -2 , tex_offset_y = baseY -74 , hurtbox = pat:get_frame(62,0,0).hurtbox }) pat:update_frame(64,0,1, { tex_index = 196 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -2 , tex_offset_y = baseY -74 , hurtbox = pat:get_frame(62,0,0).hurtbox }) pat:update_frame(64,0,2, { tex_index = 196 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -2 , tex_offset_y = baseY -74 , hurtbox = pat:get_frame(62,0,0).hurtbox }) pat:update_frame(64,0,3, { tex_index = 196 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -2 , tex_offset_y = baseY -74 , hurtbox = pat:get_frame(62,0,0).hurtbox }) pat:update_frame(64,0,4, { tex_index = 196 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -2 , tex_offset_y = baseY -74 , hurtbox = pat:get_frame(62,0,0).hurtbox }) pat:update_frame(64,0,5, { tex_index = 196 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -2 , tex_offset_y = baseY -74 , hurtbox = pat:get_frame(62,0,0).hurtbox }) pat:update_frame(64,0,6, { tex_index = 196 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -74 , hurtbox = pat:get_frame(62,0,0).hurtbox }) pat:update_frame(64,0,7, { tex_index = 196 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -74 , hurtbox = pat:get_frame(62,0,0).hurtbox }) pat:update_frame(64,0,8, { tex_index = 169 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY -74 , hurtbox = pat:get_frame(62,0,0).hurtbox }) -- air hit pat:update_frame(70,0,0, { tex_index = 193 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +16 , tex_offset_y = baseY -40 , hurtbox = pat:get_frame(56,0,0).hurtbox }) pat:update_frame(70,0,1, { tex_index = 194 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +26 , tex_offset_y = baseY -24 , hurtbox = pat:get_frame(56,0,0).hurtbox }) pat:update_frame(70,0,2, { tex_index = 195 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +20 , tex_offset_y = baseY -16 , hurtbox = pat:get_frame(50,0,4).hurtbox }) pat:update_frame(70,1,0, { tex_index = 211 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(9,0,0).hurtbox }) pat:update_frame(70,1,1, { tex_index = 212 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(9,0,0).hurtbox }) pat:update_frame(71,0,0, { tex_index = 194 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +26 , tex_offset_y = baseY -24 , hurtbox = pat:get_frame(56,0,0).hurtbox }) --base pat:update_frame(71,1,0, { tex_index = 195 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +20 , tex_offset_y = baseY -16 , hurtbox = pat:get_frame(50,0,4).hurtbox }) pat:update_frame(71,2,0, { tex_index = 197 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +22 , tex_offset_y = baseY -26 , hurtbox = pat:get_frame(50,0,4).hurtbox }) pat:update_frame(71,2,1, { tex_index = 180 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +4 , tex_offset_y = baseY -32 , hurtbox = pat:get_frame(71,2,1).hurtbox }) pat:update_frame(71,2,2, { tex_index = 181 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +20 , tex_offset_y = baseY -50 , hurtbox = pat:get_frame(71,2,2).hurtbox }) pat:update_frame(71,2,3, { tex_index = 182 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -46 , tex_offset_y = baseY -0 , hurtbox = pat:get_frame(71,2,3).hurtbox }) pat:update_frame(71,3,0, { tex_index = 183 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -22 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(71,3,0).hurtbox }) pat:update_frame(71,3,1, { tex_index = 183 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -22 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(71,3,0).hurtbox }) pat:update_frame(73,0,0, { tex_index = 195 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +20 , tex_offset_y = baseY -16 , hurtbox = pat:get_frame(50,0,4).hurtbox }) pat:update_frame(73,1,0, { tex_index = 180 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +4 , tex_offset_y = baseY -32 , hurtbox = pat:get_frame(71,2,1).hurtbox }) pat:update_frame(73,2,0, { tex_index = 181 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +20 , tex_offset_y = baseY -50 , hurtbox = pat:get_frame(71,2,2).hurtbox }) pat:update_frame(73,3,0, { tex_index = 183 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -22 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(71,3,0).hurtbox }) pat:update_frame(73,3,1, { tex_index = 183 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -22 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(71,3,0).hurtbox }) pat:update_frame(76,0,0, { tex_index = 194 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +26 , tex_offset_y = baseY -24 , hurtbox = pat:get_frame(56,0,0).hurtbox }) pat:update_frame(76,1,0, { tex_index = 195 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +20 , tex_offset_y = baseY -16 , hurtbox = pat:get_frame(50,0,4).hurtbox }) pat:update_frame(76,1,1, { tex_index = 197 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +22 , tex_offset_y = baseY -26 , hurtbox = pat:get_frame(50,0,4).hurtbox }) pat:update_frame(76,1,2, { tex_index = 180 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +4 , tex_offset_y = baseY -32 , hurtbox = pat:get_frame(71,2,1).hurtbox }) pat:update_frame(76,2,0, { tex_index = 180 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +4 , tex_offset_y = baseY -32 , hurtbox = pat:get_frame(71,2,1).hurtbox }) pat:update_frame(77,0,0, { tex_index = 194 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +26 , tex_offset_y = baseY -24 , hurtbox = pat:get_frame(56,0,0).hurtbox }) pat:update_frame(77,0,1, { tex_index = 195 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +20 , tex_offset_y = baseY -16 , hurtbox = pat:get_frame(50,0,4).hurtbox }) pat:update_frame(77,0,2, { tex_index = 197 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +22 , tex_offset_y = baseY -26 , hurtbox = pat:get_frame(50,0,4).hurtbox }) pat:update_frame(77,1,0, { tex_index = 180 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +4 , tex_offset_y = baseY -32 , hurtbox = pat:get_frame(71,2,1).hurtbox }) pat:update_frame(78,0,0, { tex_index = 194 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +26 , tex_offset_y = baseY -24 , hurtbox = pat:get_frame(56,0,0).hurtbox }) pat:update_frame(78,1,0, { tex_index = 195 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +20 , tex_offset_y = baseY -16 , hurtbox = pat:get_frame(50,0,4).hurtbox }) pat:update_frame(78,2,0, { tex_index = 197 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +22 , tex_offset_y = baseY -26 , hurtbox = pat:get_frame(50,0,4).hurtbox }) pat:update_frame(78,2,1, { tex_index = 180 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +4 , tex_offset_y = baseY -32 , hurtbox = pat:get_frame(71,2,1).hurtbox }) pat:update_frame(78,2,2, { tex_index = 181 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +20 , tex_offset_y = baseY -50 , hurtbox = pat:get_frame(71,2,2).hurtbox }) pat:update_frame(78,2,3, { tex_index = 182 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -46 , tex_offset_y = baseY -0 , hurtbox = pat:get_frame(71,2,3).hurtbox }) pat:update_frame(78,3,0, { tex_index = 183 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -22 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(71,3,0).hurtbox }) pat:update_frame(78,3,1, { tex_index = 183 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -22 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(71,3,0).hurtbox }) pat:update_frame(82,0,0, { tex_index = 198 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +52 , tex_offset_y = baseY -20 , hurtbox = pat:get_frame(50,0,0).hurtbox }) pat:update_frame(82,0,1, { tex_index = 197 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +22 , tex_offset_y = baseY -26 , hurtbox = pat:get_frame(50,0,0).hurtbox }) pat:update_frame(82,0,2, { tex_index = 197 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +22 , tex_offset_y = baseY -26 , hurtbox = pat:get_frame(50,0,0).hurtbox }) pat:update_frame(82,0,3, { tex_index = 197 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +22 , tex_offset_y = baseY -26 , hurtbox = pat:get_frame(50,0,0).hurtbox }) pat:update_frame(82,0,4, { tex_index = 197 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +22 , tex_offset_y = baseY -26 , hurtbox = pat:get_frame(50,0,0).hurtbox }) pat:update_frame(82,0,5, { tex_index = 197 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +22 , tex_offset_y = baseY -26 , hurtbox = pat:get_frame(50,0,0).hurtbox }) pat:update_frame(82,0,6, { tex_index = 197 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +22 , tex_offset_y = baseY -26 , hurtbox = pat:get_frame(50,0,0).hurtbox }) pat:update_frame(82,0,7, { tex_index = 197 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +22 , tex_offset_y = baseY -26 , hurtbox = pat:get_frame(50,0,0).hurtbox }) pat:update_frame(82,0,8, { tex_index = 197 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +22 , tex_offset_y = baseY -26 , hurtbox = pat:get_frame(50,0,0).hurtbox }) pat:update_frame(82,0,9, { tex_index = 197 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +22 , tex_offset_y = baseY -26 , hurtbox = pat:get_frame(50,0,0).hurtbox }) pat:update_frame(82,0,10, { tex_index = 197 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +52 , tex_offset_y = baseY -26 , hurtbox = pat:get_frame(50,0,0).hurtbox }) pat:update_frame(82,0,11, { tex_index = 197 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +52 , tex_offset_y = baseY -26 , hurtbox = pat:get_frame(50,0,0).hurtbox }) pat:update_frame(82,0,12, { tex_index = 199 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +20 , tex_offset_y = baseY -16 , hurtbox = pat:get_frame(50,0,4).hurtbox }) pat:update_frame(83,0,0, { tex_index = 198 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +52 , tex_offset_y = baseY -20 , hurtbox = pat:get_frame(50,0,0).hurtbox }) pat:update_frame(83,0,1, { tex_index = 197 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +22 , tex_offset_y = baseY -26 , hurtbox = pat:get_frame(50,0,0).hurtbox }) pat:update_frame(83,0,2, { tex_index = 197 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +22 , tex_offset_y = baseY -26 , hurtbox = pat:get_frame(50,0,0).hurtbox }) pat:update_frame(83,0,3, { tex_index = 197 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +22 , tex_offset_y = baseY -26 , hurtbox = pat:get_frame(50,0,0).hurtbox }) pat:update_frame(83,0,4, { tex_index = 197 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +22 , tex_offset_y = baseY -26 , hurtbox = pat:get_frame(50,0,0).hurtbox }) pat:update_frame(83,0,5, { tex_index = 197 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +22 , tex_offset_y = baseY -26 , hurtbox = pat:get_frame(50,0,0).hurtbox }) pat:update_frame(83,0,6, { tex_index = 197 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +22 , tex_offset_y = baseY -26 , hurtbox = pat:get_frame(50,0,0).hurtbox }) pat:update_frame(83,0,7, { tex_index = 197 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +22 , tex_offset_y = baseY -26 , hurtbox = pat:get_frame(50,0,0).hurtbox }) pat:update_frame(83,0,8, { tex_index = 197 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +22 , tex_offset_y = baseY -26 , hurtbox = pat:get_frame(50,0,0).hurtbox }) pat:update_frame(83,0,9, { tex_index = 197 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +22 , tex_offset_y = baseY -26 , hurtbox = pat:get_frame(50,0,0).hurtbox }) pat:update_frame(83,0,10, { tex_index = 197 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +22 , tex_offset_y = baseY -26 , hurtbox = pat:get_frame(50,0,0).hurtbox }) pat:update_frame(83,0,11, { tex_index = 197 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +22 , tex_offset_y = baseY -26 , hurtbox = pat:get_frame(50,0,0).hurtbox }) pat:update_frame(83,0,12, { tex_index = 197 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +22 , tex_offset_y = baseY -26 , hurtbox = pat:get_frame(50,0,0).hurtbox }) pat:update_frame(83,1,0, { tex_index = 197 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +22 , tex_offset_y = baseY -26 , hurtbox = pat:get_frame(50,0,0).hurtbox }) pat:update_frame(83,1,1, { tex_index = 180 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +4 , tex_offset_y = baseY -32 , hurtbox = pat:get_frame(71,2,1).hurtbox }) pat:update_frame(83,1,2, { tex_index = 181 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +20 , tex_offset_y = baseY -50 , hurtbox = pat:get_frame(71,2,2).hurtbox }) pat:update_frame(83,1,3, { tex_index = 182 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -46 , tex_offset_y = baseY -0 , hurtbox = pat:get_frame(71,2,3).hurtbox }) pat:update_frame(84,0,0, { tex_index = 194 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +26 , tex_offset_y = baseY -24 , hurtbox = pat:get_frame(56,0,0).hurtbox }) pat:update_frame(84,1,0, { tex_index = 197 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +22 , tex_offset_y = baseY -26 }) pat:update_frame(84,1,1, { tex_index = 197 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +22 , tex_offset_y = baseY -26 }) pat:update_frame(84,1,2, { tex_index = 198 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +22 , tex_offset_y = baseY -20 }) pat:update_frame(84,1,3, { tex_index = 198 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +22 , tex_offset_y = baseY -20 }) pat:update_frame(84,1,4, { tex_index = 199 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +20 , tex_offset_y = baseY -16 }) pat:update_frame(85,0,0, { tex_index = 194 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +26 , tex_offset_y = baseY -24 , hurtbox = pat:get_frame(56,0,0).hurtbox }) pat:update_frame(85,1,0, { tex_index = 197 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +22 , tex_offset_y = baseY -26 , hurtbox = pat:get_frame(50,0,0).hurtbox }) pat:update_frame(85,1,1, { tex_index = 197 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +22 , tex_offset_y = baseY -26 , hurtbox = pat:get_frame(50,0,0).hurtbox }) pat:update_frame(85,1,2, { tex_index = 198 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +22 , tex_offset_y = baseY -20 , hurtbox = pat:get_frame(50,0,0).hurtbox }) pat:update_frame(85,1,3, { tex_index = 198 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +22 , tex_offset_y = baseY -20 , hurtbox = pat:get_frame(50,0,0).hurtbox }) pat:update_frame(85,1,4, { tex_index = 199 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +20 , tex_offset_y = baseY -16 , hurtbox = pat:get_frame(50,0,4).hurtbox }) pat:update_frame(86,0,0, { tex_index = 197 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +22 , tex_offset_y = baseY -26 , hurtbox = pat:get_frame(50,0,0).hurtbox }) pat:update_frame(87,0,0, { tex_index = 197 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +22 , tex_offset_y = baseY -26 , hurtbox = pat:get_frame(50,0,0).hurtbox }) pat:update_frame(89,0,0, { tex_index = 153 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -18 , tex_offset_y = baseY -62 }) pat:update_frame(89,0,0,function(frame) frame.hurtbox[1].x1 = frame.hurtbox[1].x1 - 15 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 + 15 end) pat:update_frame(89,0,1, { tex_index = 154 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +6 , tex_offset_y = baseY -66 , hurtbox = pat:get_frame(89,0,0).hurtbox }) pat:update_frame(89,0,2, { tex_index = 155 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +6 , tex_offset_y = baseY -82 , hurtbox = pat:get_frame(89,0,0).hurtbox }) pat:update_frame(89,1,0, { tex_index = 197 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +22 , tex_offset_y = baseY -26 , hurtbox = pat:get_frame(50,0,0).hurtbox }) pat:update_frame(89,2,0, { tex_index = 180 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +4 , tex_offset_y = baseY -32 , hurtbox = pat:get_frame(71,2,1).hurtbox }) --down pat:update_frame(96,0,0, { tex_index = 153 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -18 , tex_offset_y = baseY -62 , hurtbox = pat:get_frame(89,0,0).hurtbox }) pat:update_frame(96,0,1, { tex_index = 154 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +6 , tex_offset_y = baseY -66 , hurtbox = pat:get_frame(89,0,0).hurtbox }) pat:update_frame(96,1,0, { tex_index = 155 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +6 , tex_offset_y = baseY -82 , hurtbox = pat:get_frame(89,0,0).hurtbox }) pat:update_frame(96,1,1, { tex_index = 156 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +16 , tex_offset_y = baseY -84 , hurtbox = pat:get_frame(89,0,0).hurtbox }) pat:update_frame(96,2,0, { tex_index = 157 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +16 , tex_offset_y = baseY -80 , hurtbox = pat:get_frame(89,0,0).hurtbox }) pat:update_frame(96,2,1, { tex_index = 154 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +6 , tex_offset_y = baseY -66 , hurtbox = pat:get_frame(89,0,0).hurtbox }) pat:update_frame(96,3,0, { tex_index = 155 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +6 , tex_offset_y = baseY -82 , hurtbox = pat:get_frame(89,0,0).hurtbox }) pat:update_frame(96,3,1, { tex_index = 155 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +6 , tex_offset_y = baseY -82 , hurtbox = pat:get_frame(89,0,0).hurtbox }) pat:update_frame(96,3,2, { tex_index = 155 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +6 , tex_offset_y = baseY -82 , hurtbox = pat:get_frame(89,0,0).hurtbox }) pat:update_frame(97,0,0, { tex_index = 153 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -18 , tex_offset_y = baseY -62 }) pat:update_frame(97,0,1, { tex_index = 154 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +6 , tex_offset_y = baseY -66 }) pat:update_frame(97,1,0, { tex_index = 155 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +6 , tex_offset_y = baseY -82 }) pat:update_frame(97,1,1, { tex_index = 156 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +16 , tex_offset_y = baseY -84 }) pat:update_frame(97,2,0, { tex_index = 157 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +16 , tex_offset_y = baseY -80 }) pat:update_frame(97,2,1, { tex_index = 154 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +6 , tex_offset_y = baseY -66 }) pat:update_frame(97,3,0, { tex_index = 155 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +6 , tex_offset_y = baseY -82 }) pat:update_frame(97,3,1, { tex_index = 155 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +6 , tex_offset_y = baseY -82 }) pat:update_frame(97,3,2, { tex_index = 155 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +6 , tex_offset_y = baseY -82 }) pat:update_frame(98,0,0, { tex_index = 155 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +6 , tex_offset_y = baseY -82 }) pat:update_frame(99,0,0, { tex_index = 155 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +6 , tex_offset_y = baseY -82 }) pat:update_frame(99,1,0, { tex_index = 155 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +6 , tex_offset_y = baseY -82 }) pat:update_frame(99,2,0, { tex_index = 155 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +6 , tex_offset_y = baseY -82 }) pat:update_frame(99,3,0, { tex_index = 155 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +6 , tex_offset_y = baseY -82 }) pat:update_frame(100,0,0, { tex_index = 198 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +52 , tex_offset_y = baseY -20 }) pat:update_frame(101,0,0, { tex_index = 198 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +52 , tex_offset_y = baseY -20 - 60}) pat:update_frame(102,0,0, { tex_index = 194 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +26 , tex_offset_y = baseY -24 }) pat:update_frame(103,0,0, { tex_index = 194 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +26 , tex_offset_y = baseY -24 - 60}) pat:update_frame(104,0,0, { tex_index = 198 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +52 , tex_offset_y = baseY -20 - 30}) pat:update_frame(105,0,0, { tex_index = 198 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +52 , tex_offset_y = baseY -20 - 60}) pat:update_frame(106,0,0, { tex_index = 195 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +20 , tex_offset_y = baseY -16 }) pat:update_frame(107,0,0, { tex_index = 195 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +20 , tex_offset_y = baseY -16 - 60}) pat:update_frame(108,0,0, { tex_index = 180 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +4 , tex_offset_y = baseY -32 }) pat:update_frame(109,0,0, { tex_index = 180 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +4 , tex_offset_y = baseY -32 - 50}) pat:update_frame(110,0,0, { tex_index = 183 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -22 , tex_offset_y = baseY -4 }) pat:update_frame(111,0,0, { tex_index = 183 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -22 , tex_offset_y = baseY -4 - 20 }) pat:update_frame(112,0,0, { tex_index = 153 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -18 , tex_offset_y = baseY -62 }) pat:update_frame(112,0,1, { tex_index = 154 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +6 , tex_offset_y = baseY -66 }) pat:update_frame(112,1,0, { tex_index = 155 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +6 , tex_offset_y = baseY -82 }) pat:update_frame(112,1,1, { tex_index = 156 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +16 , tex_offset_y = baseY -84 }) pat:update_frame(112,2,0, { tex_index = 157 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +16 , tex_offset_y = baseY -80 }) pat:update_frame(112,2,1, { tex_index = 154 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +6 , tex_offset_y = baseY -66 }) pat:update_frame(112,3,0, { tex_index = 155 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +6 , tex_offset_y = baseY -82 }) pat:update_frame(112,3,1, { tex_index = 155 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +6 , tex_offset_y = baseY -82 }) pat:update_frame(112,3,2, { tex_index = 155 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +6 , tex_offset_y = baseY -82 }) pat:update_frame(112,4,0, { tex_index = 155 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +6 , tex_offset_y = baseY -82 }) pat:update_frame(113,0,0, { tex_index = 155 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +6 , tex_offset_y = baseY -82 }) pat:update_frame(113,1,0, { tex_index = 155 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +6 , tex_offset_y = baseY -82 }) pat:update_frame(113,2,0, { tex_index = 155 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +6 , tex_offset_y = baseY -82 }) pat:update_frame(114,0,0, { tex_index = 155 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +6 , tex_offset_y = baseY -82 }) --crush pat:update_frame(140,0,0, { tex_index = 198 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +52 , tex_offset_y = baseY -20 , hurtbox = pat:get_frame(50,0,0).hurtbox }) pat:update_frame(140,0,1, { tex_index = 197 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +52 , tex_offset_y = baseY -26 , hurtbox = pat:get_frame(50,0,0).hurtbox }) pat:update_frame(140,0,2, { tex_index = 197 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +52 , tex_offset_y = baseY -26 , hurtbox = pat:get_frame(50,0,0).hurtbox }) pat:update_frame(140,0,3, { tex_index = 197 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +52 , tex_offset_y = baseY -26 , hurtbox = pat:get_frame(50,0,0).hurtbox }) pat:update_frame(140,0,4, { tex_index = 197 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +52 , tex_offset_y = baseY -26 , hurtbox = pat:get_frame(50,0,0).hurtbox }) pat:update_frame(140,0,5, { tex_index = 197 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +52 , tex_offset_y = baseY -26 , hurtbox = pat:get_frame(50,0,0).hurtbox }) pat:update_frame(140,0,6, { tex_index = 197 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +52 , tex_offset_y = baseY -26 , hurtbox = pat:get_frame(50,0,0).hurtbox }) pat:update_frame(140,0,7, { tex_index = 199 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +20 , tex_offset_y = baseY -16 , hurtbox = pat:get_frame(50,0,4).hurtbox }) pat:update_frame(143,0,0, { tex_index = 198 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +52 , tex_offset_y = baseY -20 , hurtbox = pat:get_frame(50,0,0).hurtbox }) pat:update_frame(143,1,0, { tex_index = 197 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +52 , tex_offset_y = baseY -26 , hurtbox = pat:get_frame(50,0,0).hurtbox }) pat:update_frame(143,1,1, { tex_index = 197 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +52 , tex_offset_y = baseY -26 , hurtbox = pat:get_frame(50,0,0).hurtbox }) pat:update_frame(143,2,0, { tex_index = 199 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +20 , tex_offset_y = baseY -16 , hurtbox = pat:get_frame(50,0,4).hurtbox }) pat:update_frame(145,0,0, { tex_index = 194 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +26 , tex_offset_y = baseY -24 , hurtbox = pat:get_frame(56,0,0).hurtbox }) pat:update_frame(145,1,0, { tex_index = 195 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +20 , tex_offset_y = baseY -16 , hurtbox = pat:get_frame(50,0,4).hurtbox }) pat:update_frame(145,2,0, { tex_index = 197 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +22 , tex_offset_y = baseY -26 , hurtbox = pat:get_frame(50,0,4).hurtbox }) pat:update_frame(145,2,1, { tex_index = 180 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +4 , tex_offset_y = baseY -32 , hurtbox = pat:get_frame(71,2,1).hurtbox }) pat:update_frame(145,2,2, { tex_index = 181 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +20 , tex_offset_y = baseY -50 , hurtbox = pat:get_frame(71,2,2).hurtbox }) pat:update_frame(145,2,3, { tex_index = 182 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -46 , tex_offset_y = baseY -0 , hurtbox = pat:get_frame(71,2,3).hurtbox }) pat:update_frame(145,3,0, { tex_index = 183 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -22 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(71,3,0).hurtbox }) pat:update_frame(145,3,1, { tex_index = 183 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -22 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(71,3,0).hurtbox }) pat:update_frame(149,0,0, { tex_index = 194 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +26 , tex_offset_y = baseY -24 , hurtbox = pat:get_frame(56,0,0).hurtbox }) pat:update_frame(149,1,0, { tex_index = 195 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +20 , tex_offset_y = baseY -16 , hurtbox = pat:get_frame(50,0,4).hurtbox }) pat:update_frame(149,1,1, { tex_index = 197 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +22 , tex_offset_y = baseY -26 , hurtbox = pat:get_frame(50,0,4).hurtbox }) pat:update_frame(149,2,0, { tex_index = 180 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +4 , tex_offset_y = baseY -32 , hurtbox = pat:get_frame(71,2,1).hurtbox }) for idx = 150 , 153 do for idx2 = 0 , 2 do pat:update_frame(idx,0,idx2,{hurtbox = pat:get_frame(0,0,0).hurtbox}) end end for idx = 159 , 162 do for idx2 = 0 , 2 do pat:update_frame(idx,0,idx2,{hurtbox = pat:get_frame(0,0,0).hurtbox}) end end -- guard pat:update_frame(998,0,0, {tex_w = 0}) pat:update_frame(998,1,0, {tex_w = 0}) --guardupper pat:update_frame(150,0,0, { tex_index = 177 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -2 , duration = pat:get_frame(150,0,1).duration}) pat:update_frame(150,0,1, { tex_index = 171 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -2 , tex_offset_y = baseY +2 , duration = 2 }) pat:update_frame(150,0,2, { tex_index = 172 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -16 , tex_offset_y = baseY +2 }) pat:update_frame(151,0,0, { tex_index = 177 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -2 , duration = pat:get_frame(151,0,1).duration }) pat:update_frame(151,0,1, { tex_index = 171 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -2 , tex_offset_y = baseY +2 , duration = 2 }) pat:update_frame(151,0,2, { tex_index = 172 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -16 , tex_offset_y = baseY +2 }) pat:update_frame(152,0,0, { tex_index = 177 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -2 , duration = pat:get_frame(152,0,1).duration }) pat:update_frame(152,0,1, { tex_index = 171 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -2 , tex_offset_y = baseY +2 , duration = 2 }) pat:update_frame(152,0,2, { tex_index = 172 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -16 , tex_offset_y = baseY +2 }) pat:update_frame(153,0,0, { tex_index = 177 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -2 , duration = pat:get_frame(153,0,1).duration }) pat:update_frame(153,0,1, { tex_index = 171 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -2 , tex_offset_y = baseY +2 , duration = 2 }) pat:update_frame(153,0,2, { tex_index = 172 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -16 , tex_offset_y = baseY +2 }) --guardunder pat:update_frame(154,0,0, { tex_index = 174 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -18 , tex_offset_y = baseY -36 , duration = pat:get_frame(154,0,1).duration }) pat:update_frame(154,0,1, { tex_index = 175 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -18 , tex_offset_y = baseY -58 , duration = 2 }) pat:update_frame(154,0,2, { tex_index = 176 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY -70 }) pat:update_frame(155,0,0, { tex_index = 174 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -18 , tex_offset_y = baseY -36 , duration = pat:get_frame(155,0,1).duration }) pat:update_frame(155,0,1, { tex_index = 175 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -18 , tex_offset_y = baseY -58 , duration = 2 }) pat:update_frame(155,0,2, { tex_index = 176 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY -70 }) pat:update_frame(156,0,0, { tex_index = 174 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -18 , tex_offset_y = baseY -36 , duration = pat:get_frame(156,0,1).duration }) pat:update_frame(156,0,1, { tex_index = 175 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -18 , tex_offset_y = baseY -58 , duration = 2 }) pat:update_frame(156,0,2, { tex_index = 176 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY -70 }) pat:update_frame(157,0,0, { tex_index = 174 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -18 , tex_offset_y = baseY -36 , duration = pat:get_frame(157,0,1).duration }) pat:update_frame(157,0,1, { tex_index = 175 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -18 , tex_offset_y = baseY -58 , duration = 2 }) pat:update_frame(157,0,2, { tex_index = 176 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY -70 }) --guard air local baseY2 = 50 pat:update_frame(158,0,0, { tex_index = 174 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -18 , tex_offset_y = baseY +baseY2 -36 , duration = pat:get_frame(158,0,1).duration }) pat:update_frame(158,0,1, { tex_index = 175 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -18 , tex_offset_y = baseY +baseY2 -58 -10 , duration = 2 }) pat:update_frame(158,0,2, { tex_index = 176 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY +baseY2 -70 }) --guardupper wrong pat:update_frame(159,0,0, { tex_index = 170 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +8 , tex_offset_y = baseY -14 , duration = pat:get_frame(159,0,1).duration }) pat:update_frame(159,0,1, { tex_index = 171 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -2 , tex_offset_y = baseY +2 , duration = 2 }) pat:update_frame(159,0,2, { tex_index = 172 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -16 , tex_offset_y = baseY +2 }) pat:update_frame(160,0,0, { tex_index = 170 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +8 , tex_offset_y = baseY -14 , duration = pat:get_frame(160,0,1).duration }) pat:update_frame(160,0,1, { tex_index = 171 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -2 , tex_offset_y = baseY +2 , duration = 2 }) pat:update_frame(160,0,2, { tex_index = 172 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -16 , tex_offset_y = baseY +2 }) pat:update_frame(161,0,0, { tex_index = 170 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +8 , tex_offset_y = baseY -14 , duration = pat:get_frame(161,0,1).duration }) pat:update_frame(161,0,1, { tex_index = 171 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -2 , tex_offset_y = baseY +2 , duration = 2 }) pat:update_frame(161,0,2, { tex_index = 172 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -16 , tex_offset_y = baseY +2 }) pat:update_frame(162,0,0, { tex_index = 170 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +8 , tex_offset_y = baseY -1 , duration = pat:get_frame(162,0,1).duration4 }) pat:update_frame(162,0,1, { tex_index = 171 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -2 , tex_offset_y = baseY +2 , duration = 2 }) pat:update_frame(162,0,2, { tex_index = 172 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -16 , tex_offset_y = baseY +2 }) --guardunder wrong pat:update_frame(163,0,0, { tex_index = 167 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY -30 , duration = pat:get_frame(163,0,1).duration }) pat:update_frame(163,0,1, { tex_index = 168 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY -76 , duration = 2 }) pat:update_frame(163,0,2, { tex_index = 168 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY -76 }) pat:update_frame(164,0,0, { tex_index = 167 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY -30 , duration = pat:get_frame(164,0,1).duration }) pat:update_frame(164,0,1, { tex_index = 168 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY -76 , duration = 2 }) pat:update_frame(164,0,2, { tex_index = 168 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY -76 }) pat:update_frame(165,0,0, { tex_index = 167 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY -30 , duration = pat:get_frame(165,0,1).duration }) pat:update_frame(165,0,1, { tex_index = 168 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY -76 , duration = 2 }) pat:update_frame(165,0,2, { tex_index = 168 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY -76 }) pat:update_frame(166,0,0, { tex_index = 167 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY -30 , duration = pat:get_frame(166,0,1).duration }) pat:update_frame(166,0,1, { tex_index = 168 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY -76 , duration = 2 }) pat:update_frame(166,0,2, { tex_index = 168 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY -76 }) --fronttech air airtech local baseY2 = 60 pat:update_frame(180,0,0, { tex_index = 203 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +4 , tex_offset_y = baseY -10 , hurtbox = pat:get_frame(7,1,0).hurtbox}) pat:update_frame(180,0,1, { tex_index = 205 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY +baseY2/2 -32 , hurtbox = pat:get_frame(6,1,4).hurtbox}) pat:update_frame(180,0,2, { tex_index = 214 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -26 , tex_offset_y = baseY +baseY2 -86 , hurtbox = pat:get_frame(6,2,0).hurtbox}) pat:update_frame(180,0,3, { tex_index = 215 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -28 , tex_offset_y = baseY +baseY2 -86 , hurtbox = pat:get_frame(6,2,1).hurtbox , duration = 3}) pat:update_frame(180,0,4, { tex_index = 216 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -38 , tex_offset_y = baseY +baseY2 -84 , hurtbox = pat:get_frame(6,2,1).hurtbox , duration = 3}) pat:update_frame(180,0,5, { tex_index = 217 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY +baseY2 -84 , hurtbox = pat:get_frame(6,2,1).hurtbox , duration = 3}) pat:split_frame(180,0,5,3,3) pat:update_frame(180,0,6, { tex_index = 205 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY +baseY2/2 -32 , hurtbox = pat:get_frame(6,1,4).hurtbox}) pat:update_frame(180,1,0, { tex_index = 211 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(9,0,0).hurtbox }) pat:update_frame(180,1,1, { tex_index = 212 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(9,0,0).hurtbox }) --backtech air pat:update_frame(181,0,0, { tex_index = 204 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY -14 , hurtbox = pat:get_frame(8,1,0).hurtbox}) pat:update_frame(181,0,1, { tex_index = 204 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY -14 , hurtbox = pat:get_frame(8,1,0).hurtbox}) --pat:update_frame(181,0,1, { tex_index = 205 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY +baseY2/2 -32 , hurtbox = pat:get_frame(6,1,4).hurtbox}) --pat:update_frame(181,0,1, { tex_index = 217 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY +baseY2 -84 , hurtbox = pat:get_frame(6,2,1).hurtbox}) pat:update_frame(181,0,2, { tex_index = 217 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY +baseY2 -84 , hurtbox = pat:get_frame(6,2,1).hurtbox , duration = 5}) pat:update_frame(181,0,3, { tex_index = 216 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -38 , tex_offset_y = baseY +baseY2 -84 , hurtbox = pat:get_frame(6,2,1).hurtbox , duration = 3}) pat:update_frame(181,0,4, { tex_index = 215 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -28 , tex_offset_y = baseY +baseY2 -86 , hurtbox = pat:get_frame(6,2,1).hurtbox , duration = 3}) pat:update_frame(181,0,5, { tex_index = 214 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -26 , tex_offset_y = baseY +baseY2 -86 , hurtbox = pat:get_frame(6,2,0).hurtbox , duration = 3}) pat:split_frame(181,0,5,3,3) pat:update_frame(181,0,6, { tex_index = 205 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY +baseY2/2 -32 , hurtbox = pat:get_frame(6,1,4).hurtbox}) pat:update_frame(181,1,0, { tex_index = 211 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(9,0,0).hurtbox }) pat:update_frame(181,1,1, { tex_index = 212 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(9,0,0).hurtbox }) --groundtech -- +0 startup -- +5 recovery pat:update_frame(197,0,0, { tex_index = 156 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +16 , tex_offset_y = baseY -84 , duration = 5-3 }) pat:update_frame(197,0,1, { tex_index = 157 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +16 , tex_offset_y = baseY -80 }) pat:update_frame(197,0,2, { tex_index = 168 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY -76 }) pat:split_frame(197,0,2,3,3) pat:update_frame(197,0,3, { tex_index = 213 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +6 , tex_offset_y = baseY -24 }) pat:update_frame(197,1,0, { tex_index = 205 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY +baseY2/2 -32 }) pat:update_frame(197,1,1, { tex_index = 214 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -26 , tex_offset_y = baseY +baseY2 -86 }) pat:update_frame(197,1,2, { tex_index = 215 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -28 , tex_offset_y = baseY +baseY2 -86 , duration = 3}) pat:update_frame(197,1,3, { tex_index = 216 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -38 , tex_offset_y = baseY +baseY2 -84 , duration = 3}) pat:update_frame(197,1,4, { tex_index = 217 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY +baseY2 -84 , duration = 3}) pat:update_frame(197,1,5, { tex_index = 205 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY +baseY2/2 -32 , duration = 3}) pat:update_frame(197,1,6, { tex_index = 211 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY +2 }) pat:update_frame(197,2,0, { tex_index = 211 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY +2 }) pat:update_frame(197,2,1, { tex_index = 212 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY +2 }) pat:update_frame(197,3,0, { tex_index = 205 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY -62 , duration = 3+5 }) pat:update_frame(197,3,1, { tex_index = 248 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY -34 , duration = 4+0}) pat:update_frame(197,3,2, { tex_index = 247 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY -14 }) pat:update_frame(197,3,3, { tex_index = 342 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +0 , tex_offset_y = baseY +0 }) pat:update_frame(198,0,0, { tex_index = 156 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +16 , tex_offset_y = baseY -84 , duration = 5-3 }) pat:update_frame(198,0,1, { tex_index = 157 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +16 , tex_offset_y = baseY -80 }) pat:update_frame(198,0,2, { tex_index = 168 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY -76 }) pat:split_frame(198,0,2,3,3) pat:update_frame(198,0,3, { tex_index = 213 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +6 , tex_offset_y = baseY -24 }) pat:update_frame(198,1,0, { tex_index = 205 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY +baseY2/2 -32 }) pat:update_frame(198,1,1, { tex_index = 214 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -26 , tex_offset_y = baseY +baseY2 -86 }) pat:update_frame(198,1,2, { tex_index = 215 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -28 , tex_offset_y = baseY +baseY2 -86 , duration = 3}) pat:update_frame(198,1,3, { tex_index = 216 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -38 , tex_offset_y = baseY +baseY2 -84 , duration = 3}) pat:update_frame(198,1,4, { tex_index = 217 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY +baseY2 -84 , duration = 3}) pat:update_frame(198,1,5, { tex_index = 205 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY +baseY2/2 -32 , duration = 3}) pat:update_frame(198,1,6, { tex_index = 211 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY +2 }) pat:update_frame(198,2,0, { tex_index = 211 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY +2 }) pat:update_frame(198,2,1, { tex_index = 212 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY +2 }) pat:update_frame(198,3,0, { tex_index = 205 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY -62 , duration = 3+5 }) pat:update_frame(198,3,1, { tex_index = 248 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY -34 , duration = 4+0}) pat:update_frame(198,3,2, { tex_index = 247 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY -14 }) pat:update_frame(198,3,3, { tex_index = 342 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +0 , tex_offset_y = baseY +0 }) pat:update_frame(199,0,0, { tex_index = 156 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +16 , tex_offset_y = baseY -84 , duration = 5-3 }) pat:update_frame(199,0,1, { tex_index = 157 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +16 , tex_offset_y = baseY -80 }) pat:update_frame(199,0,2, { tex_index = 168 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY -76 }) pat:update_frame(199,0,3, { tex_index = 213 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +6 , tex_offset_y = baseY -24 }) pat:update_frame(199,0,4, { tex_index = 211 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY +2 }) pat:update_frame(199,0,5, { tex_index = 212 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY +2 }) pat:update_frame(199,0,6, { tex_index = 205 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY -62 }) pat:update_frame(199,0,7, { tex_index = 248 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY -34 }) pat:update_frame(199,0,8, { tex_index = 247 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY -14 }) pat:update_frame(199,0,9, { tex_index = 342 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +0 , tex_offset_y = baseY +0 }) --movements -- grounddash -- is below backdash -- backdash pat:update_frame(201,0,0, { tex_index = 248 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY -34 , hurtbox = pat:get_frame(1,0,1).hurtbox}) pat:update_frame(201,0,1, { tex_index = 147 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -46 , hurtbox = pat:get_frame(6,2,1).hurtbox }) pat:update_frame(201,0,1,function(frame) frame.hurtbox[1].x1 = frame.hurtbox[1].x1 + 10 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 - 10 frame.hurtbox[1].y1 = frame.hurtbox[1].y1 + 20 frame.hurtbox[1].y2 = frame.hurtbox[1].y2 + 20 frame.hurtbox[2] = pat:get_frame(2,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 + 20 end) pat:update_frame(201,1,0, { tex_index = 204 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY -14 , hurtbox = pat:get_frame(8,1,0).hurtbox }) pat:remove_frame(201,1,4) pat:remove_frame(201,1,3) pat:remove_frame(201,1,2) pat:remove_frame(201,1,1) pat:split_frame(201,2,3,3,3) pat:update_frame(201,2,0, { tex_index = 217 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY +baseY2 -84 -40, hurtbox = pat:get_frame(6,2,1).hurtbox }) pat:update_frame(201,2,1, { tex_index = 216 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -38 , tex_offset_y = baseY +baseY2 -84 -20, hurtbox = pat:get_frame(6,2,1).hurtbox }) pat:update_frame(201,2,2, { tex_index = 215 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -28 , tex_offset_y = baseY +baseY2 -86 , hurtbox = pat:get_frame(6,2,1).hurtbox }) pat:update_frame(201,2,3, { tex_index = 214 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -26 , tex_offset_y = baseY +baseY2 -86 -20, hurtbox = pat:get_frame(6,2,0).hurtbox }) pat:update_frame(201,2,4, { tex_index = 214 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -26 , tex_offset_y = baseY +baseY2 -86 -40, hurtbox = pat:get_frame(6,2,0).hurtbox }) pat:update_frame(201,2,0,function(frame) frame.hurtbox[1].y1 = frame.hurtbox[1].y1 + 20 frame.hurtbox[1].y2 = frame.hurtbox[1].y2 + 20 + 40 end) pat:update_frame(201,2,1,function(frame) frame.hurtbox[1].y1 = frame.hurtbox[1].y1 + 10 frame.hurtbox[1].y2 = frame.hurtbox[1].y2 + 10 + 40 end) pat:update_frame(201,2,2,function(frame) frame.hurtbox[1].y1 = frame.hurtbox[1].y1 + 0 frame.hurtbox[1].y2 = frame.hurtbox[1].y2 + 0 + 40 end) pat:update_frame(201,2,3,function(frame) 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 + 40 end) pat:update_frame(201,2,4,function(frame) frame.hurtbox[1].y1 = frame.hurtbox[1].y1 + 20 frame.hurtbox[1].y2 = frame.hurtbox[1].y2 + 20 frame.hurtbox[2].y1 = frame.hurtbox[2].y1 + 20 frame.hurtbox[2].y2 = frame.hurtbox[2].y2 + 20 + 40 end) pat:split_frame(201,3,0,3,3) pat:split_frame(201,3,1,3,3) pat:update_frame(201,3,0, { tex_index = 147 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -46 , hurtbox = pat:get_frame(201,0,1).hurtbox }) pat:update_frame(201,3,1, { tex_index = 146 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -46 , hurtbox = pat:get_frame(201,0,1).hurtbox }) pat:update_frame(201,3,2, { tex_index = 145 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -46 , hurtbox = pat:get_frame(201,0,1).hurtbox }) pat:update_frame(201,3,3, { tex_index = 247 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY -14 , hurtbox = pat:get_frame(3,0,2).hurtbox }) --grounddash pat:split_frame(200,0,0,2,2) pat:split_frame(200,0,0,2,2) pat:split_frame(200,0,0,2,2) pat:update_frame(200,0,0, { tex_index = 145 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -46 , hurtbox = pat:get_frame(201,0,1).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 1+4-2 }) pat:update_frame(200,0,1, { tex_index = 146 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -46 , hurtbox = pat:get_frame(201,0,1).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 1+1 }) pat:update_frame(200,0,2, { tex_index = 147 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -46 , hurtbox = pat:get_frame(201,0,1).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 1+1 }) pat:update_frame(200,0,3, { tex_index = 148 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -46 , hurtbox = pat:get_frame(201,0,1).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 1+1 }) pat:update_frame(200,0,4, { tex_index = 149 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -46 , hurtbox = pat:get_frame(201,0,1).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 1+1 }) --[[ pat:update_frame(200,0,4,function(frame) frame.hurtbox[1] = frame.hurtbox[2] frame.hurtbox[2] = null frame.hurtbox[1].y1 = frame.hurtbox[1].y1 + 20 end)]]-- pat:update_frame(200,1,0,function(frame) frame.collision[1] = pat:get_frame(6,2,6).collision[1] frame.collision[1].y1 = frame.collision[1].y1 + 60 frame.collision[1].y2 = frame.collision[1].y2 + 60 frame.hurtbox = pat:get_frame(6,2,6).hurtbox frame.hurtbox[1].y1 = frame.hurtbox[1].y1 + 30 frame.hurtbox[1].y2 = frame.hurtbox[1].y2 + 60 frame.hurtbox[1].x1 = frame.hurtbox[1].x1 - 30 end) pat:update_frame(200,1,0, { tex_index = 208 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -56 , tex_offset_y = baseY -150 , hurtbox = pat:get_frame(200,1,0).hurtbox , collision = pat:get_frame(200,1,0).collision , duration = 3}) pat:update_frame(200,1,1, { tex_index = 209 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -56 , tex_offset_y = baseY -144 +10 , hurtbox = pat:get_frame(200,1,0).hurtbox , collision = pat:get_frame(200,1,0).collision , duration = 8}) pat:update_frame(200,1,2, { tex_index = 210 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -48 , tex_offset_y = baseY -136 , hurtbox = pat:get_frame(200,1,0).hurtbox , collision = pat:get_frame(200,1,0).collision , duration = 3 }) pat:remove_frame(200,1,3) -- airdash local baseY2 = 60 --pat:update_frame(202,0,0, { tex_index = 202 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -20 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(202,0,0, { tex_index = 203 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +4 , tex_offset_y = baseY -10 , hurtbox = pat:get_frame(7,1,0).hurtbox }) pat:update_frame(202,0,1, { tex_index = 205 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY +baseY2/2 -32 , hurtbox = pat:get_frame(6,1,4).hurtbox}) pat:update_frame(202,1,0, { tex_index = 214 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -26 , tex_offset_y = baseY +baseY2 -86 , hurtbox = pat:get_frame(6,2,0).hurtbox }) pat:update_frame(202,1,1, { tex_index = 215 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -28 , tex_offset_y = baseY +baseY2 -86 , hurtbox = pat:get_frame(6,2,1).hurtbox }) pat:update_frame(202,1,2, { tex_index = 206 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -28 , tex_offset_y = baseY +baseY2 -86 , hurtbox = pat:get_frame(6,2,1).hurtbox }) pat:update_frame(202,1,3, { tex_index = 207 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -28 , tex_offset_y = baseY +baseY2 -86 , hurtbox = pat:get_frame(6,2,1).hurtbox }) pat:update_frame(202,2,0, { tex_index = 208 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -56 , tex_offset_y = baseY +baseY2 -150 +30 , hurtbox = pat:get_frame(6,2,4).hurtbox , collision = pat:get_frame(6,2,4).collision}) pat:update_frame(202,2,1, { tex_index = 208 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -56 , tex_offset_y = baseY +baseY2 -150 +15 , hurtbox = pat:get_frame(6,2,4).hurtbox , collision = pat:get_frame(6,2,4).collision}) pat:update_frame(202,2,2, { tex_index = 208 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -56 , tex_offset_y = baseY +baseY2 -150 +0 , hurtbox = pat:get_frame(6,2,6).hurtbox , collision = pat:get_frame(6,2,6).collision}) pat:update_frame(202,2,0, { tex_index = 209 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -56 , tex_offset_y = baseY +baseY2 -144 +10 , hurtbox = pat:get_frame(6,2,6).hurtbox , collision = pat:get_frame(6,2,6).collision}) pat:update_frame(202,2,1, { tex_index = 209 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -56 , tex_offset_y = baseY +baseY2 -144 +10 , hurtbox = pat:get_frame(6,2,6).hurtbox , collision = pat:get_frame(6,2,6).collision}) pat:update_frame(202,2,2, { tex_index = 209 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -56 , tex_offset_y = baseY +baseY2 -144 +10 , hurtbox = pat:get_frame(6,2,6).hurtbox , collision = pat:get_frame(6,2,6).collision}) pat:update_frame(202,3,0, { tex_index = 209 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -56 , tex_offset_y = baseY +baseY2 -144 +10 , hurtbox = pat:get_frame(6,2,6).hurtbox , collision = pat:get_frame(6,2,6).collision}) pat:update_frame(202,3,1, { tex_index = 209 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -56 , tex_offset_y = baseY +baseY2 -144 +10 , hurtbox = pat:get_frame(6,2,6).hurtbox , collision = pat:get_frame(6,2,6).collision}) -- air backdash pat:update_frame(203,0,0, { tex_index = 204 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY -14 , hurtbox = pat:get_frame(8,1,0).hurtbox}) pat:update_frame(203,0,1, { tex_index = 204 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY -14 , hurtbox = pat:get_frame(8,1,0).hurtbox}) pat:update_frame(203,1,0, { tex_index = 217 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY +baseY2 -84 , hurtbox = pat:get_frame(6,2,1).hurtbox}) pat:update_frame(203,1,1, { tex_index = 216 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -38 , tex_offset_y = baseY +baseY2 -84 , hurtbox = pat:get_frame(6,2,1).hurtbox}) pat:update_frame(203,1,2, { tex_index = 215 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -28 , tex_offset_y = baseY +baseY2 -86 , hurtbox = pat:get_frame(6,2,1).hurtbox}) pat:update_frame(203,1,3, { tex_index = 214 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -26 , tex_offset_y = baseY +baseY2 -86 , hurtbox = pat:get_frame(6,2,0).hurtbox}) pat:update_frame(203,2,0, { tex_index = 205 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY +baseY2/2 -32 , hurtbox = pat:get_frame(6,1,4).hurtbox}) pat:update_frame(203,3,0, { tex_index = 211 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(9,0,0).hurtbox }) pat:update_frame(203,3,1, { tex_index = 212 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(9,0,0).hurtbox }) --dashstop pat:split_frame(204,0,0,6,4) pat:split_frame(204,0,0,3,3) pat:split_frame(204,0,0,3,3) pat:update_frame(204,0,0, { tex_index = 145 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -46 , hurtbox = pat:get_frame(201,0,1).hurtbox , duration = 4 }) pat:update_frame(204,0,1, { tex_index = 146 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -46 , hurtbox = pat:get_frame(201,0,1).hurtbox , duration = 4 }) pat:update_frame(204,0,2, { tex_index = 147 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -46 , hurtbox = pat:get_frame(201,0,1).hurtbox , duration = 4 }) pat:update_frame(204,0,3, { tex_index = 146 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -46 , hurtbox = pat:get_frame(201,0,1).hurtbox , duration = 4 }) --highjump -- jump local baseY2 = 60 pat:split_frame(208,0,0,3,2) pat:update_frame(208,0,0, { tex_index = 248 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY -34 , hurtbox = pat:get_frame(1,0,1).hurtbox}) pat:update_frame(208,0,1, { tex_index = 249 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY -72 , hurtbox = pat:get_frame(1,0,3).hurtbox}) pat:update_frame(208,1,0, { tex_index = 202 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -20 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(208,1,1, { tex_index = 202 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -20 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(6,1,0).hurtbox}) pat:update_frame(208,1,2, { tex_index = 202 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -20 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(208,1,3, { tex_index = 202 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -20 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(208,1,4, { tex_index = 205 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY +baseY2/2 -32 , hurtbox = pat:get_frame(6,1,4).hurtbox}) pat:split_frame(208,2,2,4,4) pat:split_frame(208,2,2,4,1) pat:split_frame(208,2,2,4,1) pat:split_frame(208,2,2,4,1) pat:update_frame(208,2,0, { tex_index = 214 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -26 , tex_offset_y = baseY +baseY2 -86 , hurtbox = pat:get_frame(6,2,0).hurtbox }) pat:update_frame(208,2,1, { tex_index = 215 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -28 , tex_offset_y = baseY +baseY2 -86 , hurtbox = pat:get_frame(6,2,1).hurtbox , duration = 4}) pat:update_frame(208,2,2, { tex_index = 206 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -28 , tex_offset_y = baseY +baseY2 -86 , hurtbox = pat:get_frame(6,2,1).hurtbox , duration = 4}) pat:update_frame(208,2,3, { tex_index = 207 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -28 , tex_offset_y = baseY +baseY2 -86 , hurtbox = pat:get_frame(6,2,1).hurtbox , duration = 4}) pat:update_frame(208,2,4, { tex_index = 208 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -56 , tex_offset_y = baseY +baseY2 -150 +30 , hurtbox = pat:get_frame(6,2,4).hurtbox , collision = pat:get_frame(6,2,4).collision}) pat:update_frame(208,2,5, { tex_index = 208 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -56 , tex_offset_y = baseY +baseY2 -150 +20 , hurtbox = pat:get_frame(6,2,4).hurtbox , collision = pat:get_frame(6,2,4).collision}) pat:update_frame(208,2,6, { tex_index = 208 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -56 , tex_offset_y = baseY +baseY2 -150 +10 , hurtbox = pat:get_frame(6,2,6).hurtbox , collision = pat:get_frame(6,2,6).collision}) pat:split_frame(208,3,1,3,3) pat:update_frame(208,3,0, { tex_index = 208 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -56 , tex_offset_y = baseY +baseY2 -150 , hurtbox = pat:get_frame(6,2,6).hurtbox , collision = pat:get_frame(6,2,6).collision , duration = 6}) pat:update_frame(208,3,1, { tex_index = 209 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -56 , tex_offset_y = baseY +baseY2 -144 +10 , hurtbox = pat:get_frame(6,2,6).hurtbox , collision = pat:get_frame(6,2,6).collision , duration = 6}) pat:update_frame(208,3,2, { tex_index = 210 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -48 , tex_offset_y = baseY +baseY2 -136 , hurtbox = pat:get_frame(6,2,6).hurtbox , collision = pat:get_frame(6,2,6).collision , duration = 6 }) -- jumpFront local baseY2 = 60 pat:split_frame(209,0,0,3,2) pat:update_frame(209,0,0, { tex_index = 248 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY -34 , hurtbox = pat:get_frame(1,0,1).hurtbox}) pat:update_frame(209,0,1, { tex_index = 249 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY -72 , hurtbox = pat:get_frame(1,0,3).hurtbox}) pat:update_frame(209,1,0, { tex_index = 203 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +4 , tex_offset_y = baseY -10 , hurtbox = pat:get_frame(7,1,0).hurtbox }) pat:update_frame(209,1,1, { tex_index = 203 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +4 , tex_offset_y = baseY -10 , hurtbox = pat:get_frame(7,1,0).hurtbox}) pat:update_frame(209,1,2, { tex_index = 203 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +4 , tex_offset_y = baseY -10 , hurtbox = pat:get_frame(7,1,0).hurtbox }) pat:update_frame(209,1,3, { tex_index = 203 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +4 , tex_offset_y = baseY -10 , hurtbox = pat:get_frame(7,1,0).hurtbox }) pat:update_frame(209,1,4, { tex_index = 205 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY +baseY2/2 -32 , hurtbox = pat:get_frame(6,1,4).hurtbox}) pat:split_frame(209,2,2,4,4) pat:split_frame(209,2,2,4,1) pat:split_frame(209,2,2,4,1) pat:split_frame(209,2,2,4,1) pat:update_frame(209,2,0, { tex_index = 214 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -26 , tex_offset_y = baseY +baseY2 -86 , hurtbox = pat:get_frame(6,2,0).hurtbox }) pat:update_frame(209,2,1, { tex_index = 215 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -28 , tex_offset_y = baseY +baseY2 -86 , hurtbox = pat:get_frame(6,2,1).hurtbox , duration = 4}) pat:update_frame(209,2,2, { tex_index = 206 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -28 , tex_offset_y = baseY +baseY2 -86 , hurtbox = pat:get_frame(6,2,1).hurtbox , duration = 4}) pat:update_frame(209,2,3, { tex_index = 207 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -28 , tex_offset_y = baseY +baseY2 -86 , hurtbox = pat:get_frame(6,2,1).hurtbox , duration = 4}) pat:update_frame(209,2,4, { tex_index = 208 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -56 , tex_offset_y = baseY +baseY2 -150 +30 , hurtbox = pat:get_frame(6,2,4).hurtbox , collision = pat:get_frame(6,2,4).collision}) pat:update_frame(209,2,5, { tex_index = 208 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -56 , tex_offset_y = baseY +baseY2 -150 +20 , hurtbox = pat:get_frame(6,2,4).hurtbox , collision = pat:get_frame(6,2,4).collision}) pat:update_frame(209,2,6, { tex_index = 208 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -56 , tex_offset_y = baseY +baseY2 -150 +10 , hurtbox = pat:get_frame(6,2,6).hurtbox , collision = pat:get_frame(6,2,6).collision}) pat:split_frame(209,3,1,3,3) pat:update_frame(209,3,0, { tex_index = 208 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -56 , tex_offset_y = baseY +baseY2 -150 , hurtbox = pat:get_frame(6,2,6).hurtbox , collision = pat:get_frame(6,2,6).collision , duration = 6}) pat:update_frame(209,3,1, { tex_index = 209 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -56 , tex_offset_y = baseY +baseY2 -144 +10 , hurtbox = pat:get_frame(6,2,6).hurtbox , collision = pat:get_frame(6,2,6).collision , duration = 6}) pat:update_frame(209,3,2, { tex_index = 210 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -48 , tex_offset_y = baseY +baseY2 -136 , hurtbox = pat:get_frame(6,2,6).hurtbox , collision = pat:get_frame(6,2,6).collision , duration = 6 }) -- jumpBack local baseY2 = 60 pat:split_frame(210,0,0,3,2) pat:update_frame(210,0,0, { tex_index = 248 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY -34 , hurtbox = pat:get_frame(1,0,1).hurtbox}) pat:update_frame(210,0,1, { tex_index = 249 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY -72 , hurtbox = pat:get_frame(1,0,3).hurtbox}) pat:update_frame(210,1,0, { tex_index = 204 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY -14 , hurtbox = pat:get_frame(8,1,0).hurtbox }) pat:update_frame(210,1,1, { tex_index = 204 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY -14 , hurtbox = pat:get_frame(8,1,0).hurtbox}) pat:update_frame(210,1,2, { tex_index = 204 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY -14 , hurtbox = pat:get_frame(8,1,0).hurtbox }) pat:update_frame(210,1,3, { tex_index = 204 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY -14 , hurtbox = pat:get_frame(8,1,0).hurtbox }) --pat:update_frame(210,1,4, { tex_index = 205 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY +baseY2/2 -32 , hurtbox = pat:get_frame(6,1,4).hurtbox , duration = 4}) pat:update_frame(210,1,4, { tex_index = 217 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY +baseY2 -84 , hurtbox = pat:get_frame(6,2,1).hurtbox}) pat:split_frame(210,2,2,4,4) pat:split_frame(210,2,2,4,1) pat:split_frame(210,2,2,4,1) pat:split_frame(210,2,2,4,1) pat:update_frame(210,2,0, { tex_index = 216 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -38 , tex_offset_y = baseY +baseY2 -84 , hurtbox = pat:get_frame(6,2,1).hurtbox , duration = 4}) pat:update_frame(210,2,1, { tex_index = 215 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -28 , tex_offset_y = baseY +baseY2 -86 , hurtbox = pat:get_frame(6,2,1).hurtbox , duration = 4}) pat:update_frame(210,2,2, { tex_index = 206 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -28 , tex_offset_y = baseY +baseY2 -86 , hurtbox = pat:get_frame(6,2,1).hurtbox , duration = 4}) pat:update_frame(210,2,3, { tex_index = 207 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -28 , tex_offset_y = baseY +baseY2 -86 , hurtbox = pat:get_frame(6,2,1).hurtbox , duration = 4}) pat:update_frame(210,2,4, { tex_index = 208 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -56 , tex_offset_y = baseY +baseY2 -150 +30 , hurtbox = pat:get_frame(6,2,4).hurtbox , collision = pat:get_frame(6,2,4).collision}) pat:update_frame(210,2,5, { tex_index = 208 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -56 , tex_offset_y = baseY +baseY2 -150 +20 , hurtbox = pat:get_frame(6,2,4).hurtbox , collision = pat:get_frame(6,2,4).collision}) pat:update_frame(210,2,6, { tex_index = 208 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -56 , tex_offset_y = baseY +baseY2 -150 +10 , hurtbox = pat:get_frame(6,2,6).hurtbox , collision = pat:get_frame(6,2,6).collision}) pat:split_frame(210,3,1,3,3) pat:update_frame(210,3,0, { tex_index = 208 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -56 , tex_offset_y = baseY +baseY2 -150 , hurtbox = pat:get_frame(6,2,6).hurtbox , collision = pat:get_frame(6,2,6).collision , duration = 6}) pat:update_frame(210,3,1, { tex_index = 209 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -56 , tex_offset_y = baseY +baseY2 -144 +10 , hurtbox = pat:get_frame(6,2,6).hurtbox , collision = pat:get_frame(6,2,6).collision , duration = 6}) pat:update_frame(210,3,2, { tex_index = 210 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -48 , tex_offset_y = baseY +baseY2 -136 , hurtbox = pat:get_frame(6,2,6).hurtbox , collision = pat:get_frame(6,2,6).collision , duration = 6 }) --6628 local baseY2 = 60 pat:split_frame(211,0,0,3,2) pat:update_frame(211,0,0, { tex_index = 248 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY -34 , hurtbox = pat:get_frame(1,0,1).hurtbox}) pat:update_frame(211,0,1, { tex_index = 249 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY -72 , hurtbox = pat:get_frame(1,0,3).hurtbox}) pat:update_frame(211,1,0, { tex_index = 202 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -20 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(211,1,1, { tex_index = 202 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -20 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(6,1,0).hurtbox}) pat:update_frame(211,1,2, { tex_index = 202 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -20 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(211,1,3, { tex_index = 202 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -20 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(211,1,4, { tex_index = 205 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY +baseY2/2 -32 , hurtbox = pat:get_frame(6,1,4).hurtbox}) pat:split_frame(211,2,2,4,4) pat:update_frame(211,2,0, { tex_index = 214 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -26 , tex_offset_y = baseY +baseY2 -86 , hurtbox = pat:get_frame(6,2,0).hurtbox }) pat:update_frame(211,2,1, { tex_index = 215 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -28 , tex_offset_y = baseY +baseY2 -86 , hurtbox = pat:get_frame(6,2,1).hurtbox , duration = 4}) pat:update_frame(211,2,2, { tex_index = 216 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -38 , tex_offset_y = baseY +baseY2 -84 , hurtbox = pat:get_frame(6,2,1).hurtbox , duration = 4}) pat:update_frame(211,2,3, { tex_index = 217 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY +baseY2 -84 , hurtbox = pat:get_frame(6,2,1).hurtbox , duration = 4}) pat:update_frame(211,2,4, { tex_index = 205 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY +baseY2/2 -32 , hurtbox = pat:get_frame(6,1,4).hurtbox , duration = 2}) pat:update_frame(211,3,0, { tex_index = 211 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(9,0,0).hurtbox }) pat:update_frame(211,3,1, { tex_index = 212 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(9,0,0).hurtbox }) -- dashjump local baseY2 = 60 pat:split_frame(212,0,0,3,2) pat:update_frame(212,0,0, { tex_index = 248 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY -34 , hurtbox = pat:get_frame(1,0,1).hurtbox}) pat:update_frame(212,0,1, { tex_index = 249 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY -72 , hurtbox = pat:get_frame(1,0,3).hurtbox}) pat:update_frame(212,1,0, { tex_index = 203 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +4 , tex_offset_y = baseY -10 , hurtbox = pat:get_frame(7,1,0).hurtbox }) pat:update_frame(212,1,1, { tex_index = 203 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +4 , tex_offset_y = baseY -10 , hurtbox = pat:get_frame(7,1,0).hurtbox}) pat:update_frame(212,1,2, { tex_index = 203 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +4 , tex_offset_y = baseY -10 , hurtbox = pat:get_frame(7,1,0).hurtbox }) pat:update_frame(212,1,3, { tex_index = 203 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +4 , tex_offset_y = baseY -10 , hurtbox = pat:get_frame(7,1,0).hurtbox }) pat:update_frame(212,1,4, { tex_index = 205 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY +baseY2/2 -32 , hurtbox = pat:get_frame(6,1,4).hurtbox}) pat:split_frame(212,2,2,4,4) pat:update_frame(212,2,0, { tex_index = 214 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -26 , tex_offset_y = baseY +baseY2 -86 , hurtbox = pat:get_frame(6,2,0).hurtbox }) pat:update_frame(212,2,1, { tex_index = 215 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -28 , tex_offset_y = baseY +baseY2 -86 , hurtbox = pat:get_frame(6,2,1).hurtbox , duration = 4}) pat:update_frame(212,2,2, { tex_index = 216 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -38 , tex_offset_y = baseY +baseY2 -84 , hurtbox = pat:get_frame(6,2,1).hurtbox , duration = 4}) pat:update_frame(212,2,3, { tex_index = 217 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY +baseY2 -84 , hurtbox = pat:get_frame(6,2,1).hurtbox , duration = 4}) pat:update_frame(212,2,4, { tex_index = 205 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY +baseY2/2 -32 , hurtbox = pat:get_frame(6,1,4).hurtbox , duration = 2}) pat:update_frame(212,3,0, { tex_index = 211 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(9,0,0).hurtbox }) pat:update_frame(212,3,1, { tex_index = 212 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(9,0,0).hurtbox }) -- flight pat:update_frame(214,0,0, { tex_index = 203 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +4 , tex_offset_y = baseY -10 , hurtbox = pat:get_frame(7,1,0).hurtbox }) pat:update_frame(214,0,1, { tex_index = 205 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY +baseY2/2 -32 , hurtbox = pat:get_frame(6,1,4).hurtbox}) pat:update_frame(214,1,0, { tex_index = 150 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +2 , tex_offset_y = baseY +baseY2/2 -46 }) pat:update_frame(214,1,1, { tex_index = 151 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +6 , tex_offset_y = baseY +baseY2/2 -46 }) pat:update_frame(214,2,0, { tex_index = 150 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +2 , tex_offset_y = baseY +baseY2/2 -46 }) pat:update_frame(214,2,1, { tex_index = 151 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +6 , tex_offset_y = baseY +baseY2/2 -46 }) pat:update_frame(214,2,2, { tex_index = 150 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +2 , tex_offset_y = baseY +baseY2/2 -46 }) pat:update_frame(214,2,3, { tex_index = 151 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +6 , tex_offset_y = baseY +baseY2/2 -46 }) pat:update_frame(214,3,0, { tex_index = 150 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +2 -40 , tex_offset_y = baseY -100}) pat:update_frame(214,3,1, { tex_index = 151 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +4 -40 , tex_offset_y = baseY -100}) pat:update_frame(214,4,0, { tex_index = 150 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +2 -40 , tex_offset_y = baseY -100}) pat:update_frame(214,4,1, { tex_index = 151 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +4 -40 , tex_offset_y = baseY -100}) pat:update_frame(214,4,2, { tex_index = 150 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +2 -40 , tex_offset_y = baseY -100}) pat:update_frame(214,4,3, { tex_index = 151 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +4 -40 , tex_offset_y = baseY -100}) pat:update_frame(214,5,0, { tex_index = 205 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY +baseY2/2 -32 , hurtbox = pat:get_frame(214,2,3).hurtbox}) pat:update_frame(214,6,0, { tex_index = 205 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 -40 , tex_offset_y = baseY -100 , hurtbox = pat:get_frame(214,4,3).hurtbox}) pat:update_frame(217,0,0, { tex_index = 203 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +4 , tex_offset_y = baseY -10 , hurtbox = pat:get_frame(7,1,0).hurtbox }) pat:update_frame(217,0,1, { tex_index = 205 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY +baseY2/2 -32 , hurtbox = pat:get_frame(6,1,4).hurtbox}) pat:update_frame(217,1,0, { tex_index = 150 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +2 , tex_offset_y = baseY +baseY2/2 -46 }) pat:update_frame(217,1,1, { tex_index = 151 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +6 , tex_offset_y = baseY +baseY2/2 -46 }) pat:update_frame(217,2,0, { tex_index = 150 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +2 , tex_offset_y = baseY +baseY2/2 -46 }) pat:update_frame(217,2,1, { tex_index = 151 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +6 , tex_offset_y = baseY +baseY2/2 -46 }) pat:update_frame(217,2,2, { tex_index = 150 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +2 , tex_offset_y = baseY +baseY2/2 -46 }) pat:update_frame(217,2,3, { tex_index = 151 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +6 , tex_offset_y = baseY +baseY2/2 -46 }) pat:update_frame(217,3,0, { tex_index = 150 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +2 -40 , tex_offset_y = baseY -100}) pat:update_frame(217,3,1, { tex_index = 151 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +4 -40 , tex_offset_y = baseY -100}) pat:update_frame(217,4,0, { tex_index = 150 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +2 -40 , tex_offset_y = baseY -100}) pat:update_frame(217,4,1, { tex_index = 151 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +4 -40 , tex_offset_y = baseY -100}) pat:update_frame(217,4,2, { tex_index = 150 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +2 -40 , tex_offset_y = baseY -100}) pat:update_frame(217,4,3, { tex_index = 151 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +4 -40 , tex_offset_y = baseY -100}) pat:update_frame(217,5,0, { tex_index = 205 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY +baseY2/2 -32 , hurtbox = pat:get_frame(214,2,3).hurtbox}) pat:update_frame(217,6,0, { tex_index = 205 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 -40 , tex_offset_y = baseY -100 , hurtbox = pat:get_frame(214,4,3).hurtbox}) --hardlanding pat:update_frame(215,0,0, { tex_index = 205 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY -62 , hurtbox = pat:get_frame(1,0,2).hurtbox}) pat:update_frame(215,0,1, { tex_index = 248 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY -34 , hurtbox = pat:get_frame(1,0,1).hurtbox}) pat:update_frame(215,0,2, { tex_index = 247 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY -14 , hurtbox = pat:get_frame(3,0,2).hurtbox }) -- BE -- jump local baseY2 = 60 --pat:split_frame(220,0,0,3,2) pat:update_frame(220,0,0, { tex_index = 248 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY -34 , hurtbox = pat:get_frame(1,0,1).hurtbox}) pat:update_frame(220,0,1, { tex_index = 249 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY -72 , hurtbox = pat:get_frame(1,0,3).hurtbox}) pat:update_frame(220,1,0, { tex_index = 202 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -20 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(220,1,1, { tex_index = 202 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -20 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(6,1,0).hurtbox}) pat:update_frame(220,1,2, { tex_index = 202 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -20 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(220,1,3, { tex_index = 202 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -20 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(220,1,4, { tex_index = 205 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY +baseY2/2 -32 , hurtbox = pat:get_frame(6,1,4).hurtbox}) pat:update_frame(220,2,0, { tex_index = 214 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -26 , tex_offset_y = baseY +baseY2 -86 , hurtbox = pat:get_frame(6,2,0).hurtbox }) pat:update_frame(220,2,1, { tex_index = 215 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -28 , tex_offset_y = baseY +baseY2 -86 , hurtbox = pat:get_frame(6,2,1).hurtbox , duration = 3}) pat:split_frame(220,2,1,3,3) pat:update_frame(220,2,2, { tex_index = 216 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -38 , tex_offset_y = baseY +baseY2 -84 , hurtbox = pat:get_frame(6,2,1).hurtbox , duration = 4 }) pat:update_frame(220,2,3, { tex_index = 217 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY +baseY2 -84 , hurtbox = pat:get_frame(6,2,1).hurtbox , duration = 4 }) pat:update_frame(220,2,4, { tex_index = 205 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY +baseY2/2 -32 , hurtbox = pat:get_frame(6,1,4).hurtbox , duration = 2}) pat:update_frame(220,2,5, { tex_index = 205 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY +baseY2/2 -32 , hurtbox = pat:get_frame(6,1,4).hurtbox , duration = 2}) pat:update_frame(220,3,0, { tex_index = 211 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(9,0,0).hurtbox }) pat:update_frame(220,3,1, { tex_index = 212 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(9,0,0).hurtbox }) --jumpback local baseY2 = 60 --pat:split_frame(222,0,0,3,2) pat:update_frame(222,0,0, { tex_index = 248 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY -34 , hurtbox = pat:get_frame(1,0,1).hurtbox}) pat:update_frame(222,0,1, { tex_index = 249 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY -72 , hurtbox = pat:get_frame(1,0,3).hurtbox}) pat:update_frame(222,1,0, { tex_index = 204 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY -14 , hurtbox = pat:get_frame(8,1,0).hurtbox }) pat:update_frame(222,1,1, { tex_index = 204 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY -14 , hurtbox = pat:get_frame(8,1,0).hurtbox }) pat:update_frame(222,1,2, { tex_index = 204 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY -14 , hurtbox = pat:get_frame(8,1,0).hurtbox }) pat:update_frame(222,1,3, { tex_index = 204 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY -14 , hurtbox = pat:get_frame(8,1,0).hurtbox }) pat:update_frame(222,1,4, { tex_index = 204 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY -14 , hurtbox = pat:get_frame(8,1,0).hurtbox }) --pat:update_frame(222,1,4, { tex_index = 205 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY +baseY2/2 -32 , hurtbox = pat:get_frame(6,1,4).hurtbox , duration = 4}) pat:update_frame(222,2,0, { tex_index = 217 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY +baseY2 -84 , hurtbox = pat:get_frame(6,2,1).hurtbox}) pat:update_frame(222,2,1, { tex_index = 216 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -38 , tex_offset_y = baseY +baseY2 -84 , hurtbox = pat:get_frame(6,2,1).hurtbox , duration = 3 }) pat:split_frame(222,2,1,3,3) pat:update_frame(222,2,2, { tex_index = 215 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -28 , tex_offset_y = baseY +baseY2 -86 , hurtbox = pat:get_frame(6,2,1).hurtbox , duration = 4 }) pat:update_frame(222,2,3, { tex_index = 214 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -26 , tex_offset_y = baseY +baseY2 -86 , hurtbox = pat:get_frame(6,2,0).hurtbox , duration = 4 }) pat:update_frame(222,2,4, { tex_index = 205 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY +baseY2/2 -32 , hurtbox = pat:get_frame(6,1,4).hurtbox , duration = 2}) pat:update_frame(222,2,5, { tex_index = 205 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY +baseY2/2 -32 , hurtbox = pat:get_frame(6,1,4).hurtbox , duration = 2}) pat:update_frame(222,3,0, { tex_index = 211 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(9,0,0).hurtbox }) pat:update_frame(222,3,1, { tex_index = 212 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(9,0,0).hurtbox }) -- 6dd pat:update_frame(223,0,0, { tex_index = 203 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +4 , tex_offset_y = baseY -10 , hurtbox = pat:get_frame(7,1,0).hurtbox }) pat:update_frame(223,0,1, { tex_index = 205 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY -32 , hurtbox = pat:get_frame(6,1,4).hurtbox}) pat:update_frame(223,1,0,function(frame) frame.hurtbox[1].y1 = frame.hurtbox[1].y1 + 20 frame.hurtbox[1].y2 = frame.hurtbox[1].y2 + 20 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 + 20 frame.hurtbox[2].y2 = frame.hurtbox[2].y2 + 20 frame.hurtbox[3].x2 = frame.hurtbox[3].x2 + 20 frame.hurtbox[3].y1 = frame.hurtbox[3].y1 + 40 frame.hurtbox[3].y2 = frame.hurtbox[3].y2 + 10 end) pat:update_frame(223,1,0, { tex_index = 150 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +2 , tex_offset_y = baseY -46 , hurtbox = pat:get_frame(223,1,0).hurtbox }) pat:update_frame(223,1,1, { tex_index = 151 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +6 , tex_offset_y = baseY -46 , hurtbox = pat:get_frame(223,1,0).hurtbox }) pat:update_frame(223,1,2, { tex_index = 150 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +2 , tex_offset_y = baseY -46 , hurtbox = pat:get_frame(223,1,0).hurtbox }) pat:update_frame(223,1,3, { tex_index = 151 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +6 , tex_offset_y = baseY -46 , hurtbox = pat:get_frame(223,1,0).hurtbox }) -- backdash pat:update_frame(224,0,0, { tex_index = 248 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY -34 , hurtbox = pat:get_frame(1,0,1).hurtbox}) pat:update_frame(224,0,1, { tex_index = 147 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -46 , hurtbox = pat:get_frame(201,0,1).hurtbox }) pat:update_frame(224,1,0, { tex_index = 204 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY -14 , hurtbox = pat:get_frame(8,1,0).hurtbox }) pat:remove_frame(224,1,1) pat:split_frame(224,2,3,3,3) pat:update_frame(224,2,0, { tex_index = 217 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY +baseY2 -84 -40, hurtbox = pat:get_frame(201,2,0).hurtbox }) pat:update_frame(224,2,1, { tex_index = 216 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -38 , tex_offset_y = baseY +baseY2 -84 -20, hurtbox = pat:get_frame(201,2,1).hurtbox }) pat:update_frame(224,2,2, { tex_index = 215 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -28 , tex_offset_y = baseY +baseY2 -86 , hurtbox = pat:get_frame(201,2,2).hurtbox }) pat:update_frame(224,2,3, { tex_index = 214 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -26 , tex_offset_y = baseY +baseY2 -86 -20, hurtbox = pat:get_frame(201,2,3).hurtbox }) pat:update_frame(224,2,4, { tex_index = 214 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -26 , tex_offset_y = baseY +baseY2 -86 -40, hurtbox = pat:get_frame(201,2,4).hurtbox }) pat:split_frame(224,3,0,3,3) pat:split_frame(224,3,1,3,3) pat:update_frame(224,3,0, { tex_index = 147 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -46 , hurtbox = pat:get_frame(201,0,1).hurtbox }) pat:update_frame(224,3,1, { tex_index = 146 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -46 , hurtbox = pat:get_frame(201,0,1).hurtbox }) pat:update_frame(224,3,2, { tex_index = 145 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -46 , hurtbox = pat:get_frame(201,0,1).hurtbox }) pat:update_frame(224,3,3, { tex_index = 247 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY -14 , hurtbox = pat:get_frame(3,0,2).hurtbox }) -- air backdash pat:update_frame(225,0,0, { tex_index = 204 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY -14 , hurtbox = pat:get_frame(8,1,0).hurtbox}) pat:update_frame(225,0,1, { tex_index = 204 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY -14 , hurtbox = pat:get_frame(8,1,0).hurtbox}) pat:update_frame(225,1,0, { tex_index = 217 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY +baseY2 -84 , hurtbox = pat:get_frame(6,2,1).hurtbox}) pat:update_frame(225,1,1, { tex_index = 216 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -38 , tex_offset_y = baseY +baseY2 -84 , hurtbox = pat:get_frame(6,2,1).hurtbox}) pat:update_frame(225,1,2, { tex_index = 215 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -28 , tex_offset_y = baseY +baseY2 -86 , hurtbox = pat:get_frame(6,2,1).hurtbox}) pat:update_frame(225,1,3, { tex_index = 214 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -26 , tex_offset_y = baseY +baseY2 -86 , hurtbox = pat:get_frame(6,2,0).hurtbox}) pat:update_frame(225,1,4, { tex_index = 205 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY +baseY2/2 -32 , hurtbox = pat:get_frame(6,1,4).hurtbox}) pat:update_frame(225,2,0, { tex_index = 205 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY +baseY2/2 -32 , hurtbox = pat:get_frame(6,1,4).hurtbox}) -- airdash local baseY2 = 60 pat:update_frame(226,0,0, { tex_index = 205 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY +baseY2/2 -32 , hurtbox = pat:get_frame(6,1,4).hurtbox}) pat:update_frame(226,0,1, { tex_index = 205 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY +baseY2/2 -32 , hurtbox = pat:get_frame(6,1,4).hurtbox}) --pat:update_frame(226,0,0, { tex_index = 248 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY -34 , hurtbox = pat:get_frame(1,0,1).hurtbox}) --pat:update_frame(226,0,1, { tex_index = 249 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY -72 , hurtbox = pat:get_frame(1,0,3).hurtbox}) pat:update_frame(226,0,0, { tex_index = 203 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +4 , tex_offset_y = baseY -10 , hurtbox = pat:get_frame(7,1,0).hurtbox }) pat:update_frame(226,0,1, { tex_index = 205 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY +baseY2/2 -32 , hurtbox = pat:get_frame(6,1,4).hurtbox}) pat:update_frame(226,2,0, { tex_index = 150 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +2 , tex_offset_y = baseY +baseY2/2 -46 , hurtbox = pat:get_frame(214,2,0).hurtbox }) pat:update_frame(226,2,1, { tex_index = 151 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +6 , tex_offset_y = baseY +baseY2/2 -46 , hurtbox = pat:get_frame(214,2,0).hurtbox }) pat:update_frame(226,2,2, { tex_index = 150 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +2 , tex_offset_y = baseY +baseY2/2 -46 , hurtbox = pat:get_frame(214,2,0).hurtbox }) pat:update_frame(226,2,3, { tex_index = 151 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +6 , tex_offset_y = baseY +baseY2/2 -46 , hurtbox = pat:get_frame(214,2,0).hurtbox }) pat:update_frame(226,3,0, { tex_index = 205 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY +baseY2/2 -32 , hurtbox = pat:get_frame(6,1,4).hurtbox}) pat:update_frame(226,3,1, { tex_index = 211 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(9,0,0).hurtbox , duration = 4 }) pat:update_frame(226,3,2, { tex_index = 212 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(9,0,0).hurtbox }) end function mods.unfloat(pat) local baseX = 76 local baseY = 195 local baseDur = 6 local baseY2 = 60 pat:update_frame(6,2,2, { tex_index = 216 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -38 , tex_offset_y = baseY +baseY2 -84 , hurtbox = pat:get_frame(6,2,1).hurtbox , duration = 4 }) pat:update_frame(6,2,3, { tex_index = 217 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY +baseY2 -84 , hurtbox = pat:get_frame(6,2,1).hurtbox , duration = 4 }) pat:update_frame(6,2,4, { tex_index = 205 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY +baseY2/2 -32 , hurtbox = pat:get_frame(6,1,4).hurtbox , duration = 2 }) pat:update_frame(6,2,5, { tex_index = 205 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY +baseY2/2 -32 , hurtbox = pat:get_frame(6,1,4).hurtbox , duration = 2 }) pat:remove_frame(6,2,6) pat:update_frame(6,3,0, { tex_index = 211 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(9,0,0).hurtbox }) pat:update_frame(6,3,1, { tex_index = 212 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(9,0,0).hurtbox }) pat:remove_frame(6,3,2) pat:update_frame(7,2,2, { tex_index = 216 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -38 , tex_offset_y = baseY +baseY2 -84 , hurtbox = pat:get_frame(6,2,1).hurtbox , duration = 4 }) pat:update_frame(7,2,3, { tex_index = 217 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY +baseY2 -84 , hurtbox = pat:get_frame(6,2,1).hurtbox , duration = 4 }) pat:update_frame(7,2,4, { tex_index = 205 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY +baseY2/2 -32 , hurtbox = pat:get_frame(6,1,4).hurtbox , duration = 2 }) pat:update_frame(7,2,5, { tex_index = 205 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY +baseY2/2 -32 , hurtbox = pat:get_frame(6,1,4).hurtbox , duration = 2 }) pat:remove_frame(7,2,6) pat:update_frame(7,3,0, { tex_index = 211 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(9,0,0).hurtbox }) pat:update_frame(7,3,1, { tex_index = 212 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(9,0,0).hurtbox }) pat:remove_frame(7,3,2) pat:update_frame(8,2,2, { tex_index = 214 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -26 , tex_offset_y = baseY +baseY2 -86 , hurtbox = pat:get_frame(6,2,0).hurtbox , duration = 4 }) pat:update_frame(8,2,3, { tex_index = 205 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY +baseY2/2 -32 , hurtbox = pat:get_frame(6,1,4).hurtbox , duration = 2 }) pat:update_frame(8,2,4, { tex_index = 205 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY +baseY2/2 -32 , hurtbox = pat:get_frame(6,1,4).hurtbox , duration = 2 }) pat:remove_frame(8,2,6) pat:remove_frame(8,2,5) pat:update_frame(8,3,0, { tex_index = 211 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(9,0,0).hurtbox }) pat:update_frame(8,3,1, { tex_index = 212 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(9,0,0).hurtbox }) pat:remove_frame(8,3,2) pat:update_frame(208,2,2, { tex_index = 216 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -38 , tex_offset_y = baseY +baseY2 -84 , hurtbox = pat:get_frame(6,2,1).hurtbox , duration = 4 }) pat:update_frame(208,2,3, { tex_index = 217 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY +baseY2 -84 , hurtbox = pat:get_frame(6,2,1).hurtbox , duration = 4 }) pat:update_frame(208,2,4, { tex_index = 205 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY +baseY2/2 -32 , hurtbox = pat:get_frame(6,1,4).hurtbox , duration = 2 }) pat:update_frame(208,2,5, { tex_index = 205 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY +baseY2/2 -32 , hurtbox = pat:get_frame(6,1,4).hurtbox , duration = 2 }) pat:remove_frame(208,2,6) pat:update_frame(208,3,0, { tex_index = 211 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(9,0,0).hurtbox }) pat:update_frame(208,3,1, { tex_index = 212 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(9,0,0).hurtbox }) pat:remove_frame(208,3,2) pat:update_frame(209,2,2, { tex_index = 216 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -38 , tex_offset_y = baseY +baseY2 -84 , hurtbox = pat:get_frame(6,2,1).hurtbox , duration = 4 }) pat:update_frame(209,2,3, { tex_index = 217 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY +baseY2 -84 , hurtbox = pat:get_frame(6,2,1).hurtbox , duration = 4 }) pat:update_frame(209,2,4, { tex_index = 205 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY +baseY2/2 -32 , hurtbox = pat:get_frame(6,1,4).hurtbox , duration = 2 }) pat:update_frame(209,2,5, { tex_index = 205 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY +baseY2/2 -32 , hurtbox = pat:get_frame(6,1,4).hurtbox , duration = 2 }) pat:remove_frame(209,2,6) pat:update_frame(209,3,0, { tex_index = 211 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(9,0,0).hurtbox }) pat:update_frame(209,3,1, { tex_index = 212 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(9,0,0).hurtbox }) pat:remove_frame(209,3,2) pat:update_frame(210,2,2, { tex_index = 214 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -26 , tex_offset_y = baseY +baseY2 -86 , hurtbox = pat:get_frame(6,2,0).hurtbox , duration = 4 }) pat:update_frame(210,2,3, { tex_index = 205 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY +baseY2/2 -32 , hurtbox = pat:get_frame(6,1,4).hurtbox , duration = 2 }) pat:update_frame(210,2,4, { tex_index = 205 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY +baseY2/2 -32 , hurtbox = pat:get_frame(6,1,4).hurtbox , duration = 2 }) pat:remove_frame(210,2,6) pat:remove_frame(210,2,5) pat:update_frame(210,3,0, { tex_index = 211 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(9,0,0).hurtbox }) pat:update_frame(210,3,1, { tex_index = 212 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(9,0,0).hurtbox }) pat:remove_frame(210,3,2) pat:update_frame(202,1,2, { tex_index = 216 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -38 , tex_offset_y = baseY +baseY2 -84 , hurtbox = pat:get_frame(6,2,1).hurtbox }) pat:update_frame(202,1,3, { tex_index = 217 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY +baseY2 -84 , hurtbox = pat:get_frame(6,2,1).hurtbox }) pat:update_frame(202,2,0, { tex_index = 205 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY +baseY2/2 -32 , hurtbox = pat:get_frame(6,1,4).hurtbox }) pat:update_frame(202,2,1, { tex_index = 205 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY +baseY2/2 -32 , hurtbox = pat:get_frame(6,1,4).hurtbox }) pat:update_frame(202,2,2, { tex_index = 205 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY +baseY2/2 -32 , hurtbox = pat:get_frame(6,1,4).hurtbox }) pat:update_frame(202,3,0, { tex_index = 211 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(9,0,0).hurtbox }) pat:update_frame(202,3,1, { tex_index = 212 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(9,0,0).hurtbox }) pat:update_frame(226,0,0, { tex_index = 203 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +4 , tex_offset_y = baseY -10 , hurtbox = pat:get_frame(7,1,0).hurtbox }) pat:update_frame(226,0,1, { tex_index = 205 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY +baseY2/2 -32 , hurtbox = pat:get_frame(6,1,4).hurtbox}) pat:update_frame(226,1,0, { tex_index = 214 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -26 , tex_offset_y = baseY +baseY2 -86 , hurtbox = pat:get_frame(6,2,0).hurtbox , duration = 4 }) pat:update_frame(226,2,0, { tex_index = 215 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -28 , tex_offset_y = baseY +baseY2 -86 , hurtbox = pat:get_frame(6,2,1).hurtbox , duration = 4 }) pat:update_frame(226,2,1, { tex_index = 216 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -38 , tex_offset_y = baseY +baseY2 -84 , hurtbox = pat:get_frame(6,2,1).hurtbox , duration = 4 }) pat:update_frame(226,2,2, { tex_index = 217 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY +baseY2 -84 , hurtbox = pat:get_frame(6,2,1).hurtbox , duration = 4 }) pat:remove_frame(226,2,3) pat:update_frame(226,3,0, { tex_index = 205 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY +baseY2/2 -32 , hurtbox = pat:get_frame(6,1,4).hurtbox }) pat:update_frame(226,3,1, { tex_index = 211 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(9,0,0).hurtbox }) pat:update_frame(226,3,2, { tex_index = 212 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(9,0,0).hurtbox }) end function mods.normals(pat) local baseX = 76 local baseY = 195 local baseDur = 6 pat:update_frame(848,1,0,function(frame) frame.tex_w = 0 end) pat:update_frame(848,2,0,function(frame) frame.tex_w = 0 end) pat:update_frame(848,3,0,function(frame) frame.tex_w = 0 end) pat:update_frame(848,4,0,function(frame) frame.tex_w = 0 end) pat:update_frame(848,4,1,function(frame) frame.tex_w = 0 end) pat:update_frame(848,5,0,function(frame) --66c effect frame.tex_w = 0 frame.color_r = 255 frame.color_g = 0 frame.color_b = 0 end) pat:update_frame(848,6,0,function(frame) frame.tex_w = 0 end) pat:update_frame(848,6,1,function(frame) frame.tex_w = 0 end) --2a pat:split_frame(303,0,0,2,2) pat:update_frame(303,0,0, { tex_index = 7 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -26 , tex_offset_y = baseY -72 , duration = 2}) pat:update_frame(303,0,0,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].x1 = frame.hurtbox[2].x1 + 20 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 + 20 end) pat:update_frame(303,0,1, { tex_index = 8 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -16 , tex_offset_y = baseY -72 , hurtbox = pat:get_frame(303,0,0).hurtbox , duration = 3}) pat:update_frame(303,0,2, { tex_index = 9 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -12 , tex_offset_y = baseY -56 , duration = 2}) pat:update_frame(303,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].y1 = frame.hurtbox[1].y1 + 20 frame.hurtbox[1].y2 = frame.hurtbox[1].y2 + 20 frame.hurtbox[2].x1 = frame.hurtbox[2].x1 - 20 frame.hurtbox[2].y1 = frame.hurtbox[2].y1 + 20 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 + 60 end) pat:update_frame(303,0,3, { tex_index = 10 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -26 , tex_offset_y = baseY -56 , hurtbox = pat:get_frame(303,0,2).hurtbox , duration = 2}) -- fires here pat:update_frame(303,0,4, { tex_index = 10 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -26 , tex_offset_y = baseY -56 , hurtbox = pat:get_frame(303,0,2).hurtbox , duration = 2}) pat:update_frame(303,0,5, { tex_index = 10 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -26 , tex_offset_y = baseY -56 , hurtbox = pat:get_frame(303,0,2).hurtbox , duration = 3+3}) pat:update_frame(303,0,6, { tex_index = 11 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -18 , tex_offset_y = baseY -72 , hurtbox = pat:get_frame(303,0,0).hurtbox , duration = 3}) pat:update_frame(303,0,3,function(frame) frame.attackbox[1].x2 = frame.attackbox[1].x2 + 40 frame.attackbox[2].x2 = frame.attackbox[2].x2 + 60 end) --3a --pat:split_frame(304,0,0,2,2) pat:update_frame(304,0,0, { tex_index = 249 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY -72 , hurtbox = pat:get_frame(2,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 3}) pat:update_frame(304,0,1, { tex_index = 7 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -26 , tex_offset_y = baseY -72 , hurtbox = pat:get_frame(303,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 4}) pat:update_frame(304,0,2, { tex_index = 159 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY -72 , collision = pat:get_frame(2,0,0).collision , duration = 2}) pat:update_frame(304,0,2,function(frame) frame.hurtbox[2].x1 = frame.hurtbox[2].x1 - 40 end) pat:update_frame(304,0,3, { tex_index = 159 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY -72 , hurtbox = pat:get_frame(304,0,2).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 1}) pat:update_frame(304,0,4, { tex_index = 159 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY -72 , hurtbox = pat:get_frame(304,0,2).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 1}) pat:update_frame(304,0,5, { tex_index = 159 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY -72 , hurtbox = pat:get_frame(304,0,2).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 1}) pat:update_frame(304,0,6, { tex_index = 42 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -2 , tex_offset_y = baseY -86 , collision = pat:get_frame(2,0,0).collision , duration = 1}) -- fires here pat:update_frame(304,0,6,function(frame) frame.hurtbox[2].y1 = frame.hurtbox[2].y1 - 30 frame.hurtbox[1].y1 = frame.hurtbox[1].y1 + 30 frame.attackbox[1] = frame.attackbox[2] frame.attackbox[2] = null frame.attackbox[1].x2 = frame.attackbox[1].x2 + 30 frame.attackbox[1].y1 = frame.attackbox[1].y1 end) pat:update_frame(304,0,7, { tex_index = 42 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -2 , tex_offset_y = baseY -86 , hurtbox = pat:get_frame(304,0,6).hurtbox , collision = pat:get_frame(2,0,0).collision , attackbox = pat:get_frame(304,0,6).attackbox , duration = 1}) pat:update_frame(304,0,8, { tex_index = 246 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -86 , hurtbox = pat:get_frame(304,0,6).hurtbox , collision = pat:get_frame(2,0,0).collision , attackbox = pat:get_frame(304,0,6).attackbox , duration = 1}) -- until here pat:update_frame(304,0,9, { tex_index = 246 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -86 , hurtbox = pat:get_frame(304,0,6).hurtbox , collision = pat:get_frame(2,0,0).collision , attackbox = pat:get_frame(304,0,6).attackbox , duration = 1}) pat:update_frame(304,0,10, { tex_index = 246 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -86 , hurtbox = pat:get_frame(304,0,6).hurtbox , collision = pat:get_frame(2,0,0).collision , attackbox = pat:get_frame(304,0,6).attackbox , duration = 1}) pat:update_frame(304,0,11, { tex_index = 246 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -86 , hurtbox = pat:get_frame(304,0,6).hurtbox , collision = pat:get_frame(2,0,0).collision , attackbox = pat:get_frame(304,0,6).attackbox , duration = 1}) -- should be until here pat:update_frame(304,0,12, { tex_index = 12 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -72 , collision = pat:get_frame(2,0,0).collision , duration = 4}) pat:update_frame(304,0,12,function(frame) frame.hurtbox[2].y1 = frame.hurtbox[2].y1 - 40 end) pat:update_frame(304,0,13, { tex_index = 10 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -26 , tex_offset_y = baseY -56 , hurtbox = pat:get_frame(303,0,2).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 4}) pat:update_frame(304,0,14, { tex_index = 11 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -18 , tex_offset_y = baseY -72 , hurtbox = pat:get_frame(303,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 4}) pat:update_frame(304,0,15, { tex_index = 205 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY -62 , hurtbox = pat:get_frame(1,0,2).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 4}) pat:update_frame(304,0,16, { tex_index = 248 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY -34 , hurtbox = pat:get_frame(1,0,1).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 4}) for idx = 6 , 11 do pat:update_frame(304,0,idx,function(frame) frame.damage = 800 frame.limit = 40 frame.proration = 850 frame.hit_ani_ground = 72 frame.hit_ani_air = 72 frame.launch_vector_x = 750 frame.launch_vector_y = 1200 frame.combo_correction = CC_LIFT_ATTACK end) end --5a pat:update_frame(300,0,0, { tex_index = 1 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -4 , duration = 2}) pat:update_frame(300,0,1, { tex_index = 2 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -2 , duration = 2}) pat:update_frame(300,0,2, { tex_index = 3 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -2 , tex_offset_y = baseY +4 , duration = 2}) pat:update_frame(300,0,2,function(frame) frame.hurtbox[2]=pat:get_frame(300,0,0).hurtbox[1] frame.hurtbox[2].x1 = frame.hurtbox[2].x1 - 40 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 - 60 frame.hurtbox[1].x1 = frame.hurtbox[1].x1 - 20 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 - 20 frame.hurtbox[2].y2 = frame.hurtbox[2].y2 - 100 frame.hurtbox[2].y1 = frame.hurtbox[2].y1 + 20 end) pat:update_frame(300,0,3, { tex_index = 4 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -14 , tex_offset_y = baseY -2 , duration = 2}) -- fires pat:update_frame(300,0,3,function(frame) frame.hurtbox[3].x1 = frame.hurtbox[3].x1 - 10 frame.hurtbox[3].x2 = frame.hurtbox[3].x2 + 10 frame.hurtbox[4].x1 = frame.hurtbox[4].x1 - 20 frame.hurtbox[4].x2 = frame.hurtbox[4].x2 - 40 frame.hurtbox[2].x1 = frame.hurtbox[2].x1 - 10 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 - 10 frame.hurtbox[1].x1 = frame.hurtbox[1].x1 - 30 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 - 30 frame.attackbox[1].x2 = frame.attackbox[1].x2 + 10 frame.attackbox[1].y1 = frame.attackbox[1].y1 - 10 frame.attackbox[2]=null end) pat:update_frame(300,0,4, { tex_index = 4 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -14 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(300,0,3).hurtbox , duration = 2}) pat:update_frame(300,0,5, { tex_index = 4 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -14 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(300,0,3).hurtbox , duration = 4}) pat:update_frame(300,0,6, { tex_index = 1 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -4 , duration = 3}) pat:update_frame(300,0,6,function(frame) frame.hurtbox[1].x1 = frame.hurtbox[1].x1 - 10 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 - 10 end) pat:update_frame(300,0,7, { tex_index = 13 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY -4 , duration = 3}) --f5a pat:remove_frame(301,0,11) pat:remove_frame(301,0,10) pat:update_frame(301,0,0, { tex_index = 2 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -2 , duration = 2}) pat:update_frame(301,0,1, { tex_index = 18 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -2 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(300,0,2).hurtbox , duration = 2}) pat:update_frame(301,0,2, { tex_index = 19 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -12 , tex_offset_y = baseY -6 , hurtbox = pat:get_frame(300,0,3).hurtbox , duration = 1}) pat:update_frame(301,0,2,function(frame) frame.hurtbox[3]=frame.hurtbox[4] frame.hurtbox[4]=null end) pat:update_frame(301,0,3, { tex_index = 19 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -12 , tex_offset_y = baseY -6 , hurtbox = pat:get_frame(301,0,2).hurtbox , duration = 2}) pat:update_frame(301,0,4, { tex_index = 19 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -12 , tex_offset_y = baseY -6 , hurtbox = pat:get_frame(301,0,2).hurtbox , duration = 4-2}) -- please check bugfix pat:update_frame(301,0,5, { tex_index = 20 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +4 , tex_offset_y = baseY -6 , hurtbox = pat:get_frame(300,0,3).hurtbox , duration = 2}) -- fires pat:update_frame(301,0,5,function(frame) frame.hurtbox[3].x2 = frame.hurtbox[3].x2 + 20 frame.hurtbox[3].y1 = frame.hurtbox[3].y1 - 20 frame.hurtbox[3].y2 = frame.hurtbox[3].y2 + 0 frame.hurtbox[2].y2 = frame.hurtbox[2].y2 - 15 frame.hurtbox[2].y2 = 0 frame.hurtbox[5]=pat:get_frame(300,0,2).hurtbox[2] frame.attackbox[1].x1 = frame.attackbox[1].x1 - 40 frame.attackbox[1].x2 = frame.attackbox[1].x2 - 20 frame.attackbox[2].x1 = frame.attackbox[2].x1 - 10 frame.attackbox[2].x2 = frame.attackbox[2].x2 + 20 frame.attackbox[2].y2 = frame.attackbox[2].y2 - 30 frame.attackbox[2].y1 = frame.attackbox[2].y1 - 15 frame.card_gain_hit = 80 frame.card_gain_block = 60 frame.launch_vector_x = 800 frame.launch_vector_y = 800 frame.proration = 920 frame.damage = 450 frame.sp_damage = 200 end) pat:update_frame(301,0,6, { tex_index = 373 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +6 , tex_offset_y = baseY -8, hurtbox = pat:get_frame(301,0,5).hurtbox , duration = 3 , attackbox = pat:get_frame(300,0,0).attackbox , fflags = pat:get_frame(301,0,9).fflags }) pat:update_frame(301,0,7, { tex_index = 373 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +6 , tex_offset_y = baseY -8, hurtbox = pat:get_frame(301,0,5).hurtbox , duration = 6 , attackbox = pat:get_frame(300,0,0).attackbox , fflags = pat:get_frame(301,0,9).fflags}) pat:update_frame(301,0,8, { tex_index = 374 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -2 , tex_offset_y = baseY -8, hurtbox = pat:get_frame(300,0,3).hurtbox , duration = 4 , attackbox = pat:get_frame(300,0,0).attackbox , fflags = pat:get_frame(301,0,9).fflags}) pat:update_frame(301,0,8,function(frame) frame.hurtbox[2].x1 = frame.hurtbox[2].x1 - 30 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 - 30 frame.hurtbox[3].x1 = frame.hurtbox[3].x1 - 20 frame.hurtbox[3].x2 = frame.hurtbox[3].x2 - 20 frame.hurtbox[3].y1 = frame.hurtbox[3].y1 - 20 frame.hurtbox[3].y2 = frame.hurtbox[3].y2 - 20 frame.hurtbox[4].x1 = frame.hurtbox[4].x1 - 20 frame.hurtbox[4].x2 = frame.hurtbox[4].x2 - 20 end) pat:update_frame(301,0,9, { tex_index = 1 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -4, hurtbox = pat:get_frame(300,0,0).hurtbox , duration = 4}) pat:update_frame(301,0,5,function(frame) --frame.hurtbox[3].x2 = frame.hurtbox[3].x2 - 40 end) --5aa pat:update_frame(320,0,0, { tex_index = 1 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -4 , duration = 2}) pat:update_frame(320,0,1, { tex_index = 2 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(300,0,1).hurtbox , duration = 2}) pat:update_frame(320,0,2, { tex_index = 3 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -2 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(300,0,2).hurtbox , duration = 2}) pat:update_frame(320,0,3, { tex_index = 4 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -14 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(300,0,3).hurtbox , attackbox = pat:get_frame(300,0,3).attackbox , duration = 2}) -- fires pat:update_frame(320,0,4, { tex_index = 4 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -14 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(300,0,3).hurtbox , duration = 2}) pat:update_frame(320,0,5, { tex_index = 4 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -14 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(300,0,3).hurtbox , duration = 4}) pat:update_frame(320,0,6, { tex_index = 1 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(300,0,6).hurtbox , duration = 3}) pat:update_frame(320,0,7, { tex_index = 13 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY -4 , duration = 3}) --5aaa pat:remove_frame(321,0,11) pat:remove_frame(321,0,10) pat:update_frame(321,0,0, { tex_index = 1 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -4 , duration = 2}) pat:update_frame(321,0,1, { tex_index = 13 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -2 , tex_offset_y = baseY +4 , duration = 2}) pat:update_frame(321,0,2, { tex_index = 14 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -12 , tex_offset_y = baseY -6 , hurtbox = pat:get_frame(301,0,2).hurtbox , duration = 1}) pat:update_frame(321,0,2,function(frame) frame.hurtbox[1].x1 = frame.hurtbox[1].x1 + 30 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 + 30 frame.hurtbox[2].x1 = frame.hurtbox[2].x1 + 20 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 + 30 frame.hurtbox[3].x1 = frame.hurtbox[3].x1 + 20 frame.hurtbox[3].x2 = frame.hurtbox[3].x2 + 20 end) pat:update_frame(321,0,3, { tex_index = 14 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -12 , tex_offset_y = baseY -6 , hurtbox = pat:get_frame(321,0,2).hurtbox , duration = 2}) pat:update_frame(321,0,4, { tex_index = 14 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -12 , tex_offset_y = baseY -6 , hurtbox = pat:get_frame(321,0,2).hurtbox , duration = 2}) pat:update_frame(321,0,5, { tex_index = 15 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +4 , tex_offset_y = baseY -6 , hurtbox = pat:get_frame(301,0,5).hurtbox , duration = 2}) -- fires pat:update_frame(321,0,5,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[3].y1 = frame.hurtbox[3].y1 - 30 frame.hurtbox[3].y2 = frame.hurtbox[3].y2 - 20 frame.hurtbox[4].x1 = frame.hurtbox[4].x1 + 10 frame.hurtbox[4].x2 = frame.hurtbox[4].x2 + 10 frame.hurtbox[5]=null frame.attackbox[1].y1 = frame.attackbox[1].y1 - 50 frame.attackbox[1].x1 = frame.attackbox[1].x1 - 10 frame.card_gain_hit = 80 frame.card_gain_block = 60 frame.launch_vector_x = 800 frame.launch_vector_y = 800 frame.proration = 920 frame.damage = 450 frame.sp_damage = 200 end) pat:update_frame(321,0,6, { tex_index = 16 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +6 , tex_offset_y = baseY -8 , duration = 3 , attackbox = pat:get_frame(300,0,0).attackbox , fflags = pat:get_frame(321,0,9).fflags}) pat:update_frame(321,0,7, { tex_index = 17 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +6 , tex_offset_y = baseY -8 , duration = 6 , attackbox = pat:get_frame(300,0,0).attackbox , fflags = pat:get_frame(321,0,9).fflags}) pat:update_frame(321,0,8, { tex_index = 14 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +14 , tex_offset_y = baseY -8 , duration = 4 , attackbox = pat:get_frame(300,0,0).attackbox , fflags = pat:get_frame(321,0,9).fflags}) pat:update_frame(321,0,9, { tex_index = 13 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -4 , duration = 4}) --j5a local baseY2 = 0 pat:update_frame(306,0,0, { tex_index = 162 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY +baseY2 +2, hurtbox = pat:get_frame(306,0,1).hurtbox , duration = 3}) pat:update_frame(306,0,1, { tex_index = 163 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY +baseY2 +2 , hurtbox = pat:get_frame(306,0,1).hurtbox , duration = 3}) pat:update_frame(306,0,2, { tex_index = 164 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -0 , tex_offset_y = baseY +baseY2 +4 , hurtbox = pat:get_frame(306,0,1).hurtbox , duration = 3}) pat:update_frame(306,0,3, { tex_index = 165 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +24 , tex_offset_y = baseY +baseY2 -4 , hurtbox = pat:get_frame(6,2,1).hurtbox , duration = 2}) -- fires pat:update_frame(306,0,3,function(frame) frame.hurtbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[2].x1 = frame.hurtbox[1].x1 + 5 frame.hurtbox[2].x2 = frame.hurtbox[1].x2 - 5 frame.hurtbox[2].y1 = frame.hurtbox[1].y1 + 20 frame.hurtbox[2].y2 = frame.hurtbox[1].y2 + 20 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 - 10 frame.hurtbox[1].y2 = frame.hurtbox[1].y2 - 10 frame.attackbox[2].y1 = frame.attackbox[2].y1 - 20 frame.attackbox[2].x2 = frame.attackbox[2].x2 + 35 frame.attackbox[2].x1 = frame.attackbox[2].x1 + 15 frame.attackbox[2].y2 = frame.attackbox[2].y2 - 30 +5 frame.attackbox[1].y1 = frame.attackbox[1].y1 - 0 frame.attackbox[1].x2 = frame.attackbox[1].x2 - 40 frame.attackbox[1].x1 = frame.attackbox[1].x1 - 30 frame.attackbox[1].y2 = frame.attackbox[1].y2 + 10 frame.attackbox[3] = pat:get_frame(307,0,7).attackbox[1] frame.attackbox[3].x1 = frame.attackbox[2].x1 -130 frame.attackbox[3].x2 = frame.attackbox[2].x2 -130 frame.attackbox[3].y1 = frame.attackbox[2].y1 frame.attackbox[3].y2 = frame.attackbox[2].y2 frame.attackbox[1] = frame.attackbox[3] frame.attackbox[3] = pat:get_frame(0,0,0).hurtbox[1] frame.attackbox[3].x1 = frame.attackbox[2].x1-60 frame.attackbox[3].x2 = frame.attackbox[2].x2-60 frame.attackbox[3].y1 = frame.attackbox[2].y1 + 70 frame.attackbox[3].y2 = frame.attackbox[2].y2 + 30 frame.damage = 450 --[[ frame.attackbox[4] = pat:get_frame(307,0,6).attackbox[1] frame.attackbox[4].x1 = frame.attackbox[1].x1 -40 frame.attackbox[4].x2 = frame.attackbox[1].x2 -40 frame.attackbox[4].y1 = frame.attackbox[1].y1 frame.attackbox[4].y2 = frame.attackbox[1].y2]]-- end) pat:update_frame(306,0,4, { tex_index = 165 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +24 , tex_offset_y = baseY +baseY2 -4 , hurtbox = pat:get_frame(306,0,3).hurtbox , attackbox = pat:get_frame(306,0,3).attackbox , duration = 1}) -- here pat:update_frame(306,0,5, { tex_index = 166 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -12 , tex_offset_y = baseY +baseY2 -4 , hurtbox = pat:get_frame(306,0,3).hurtbox , duration = 6}) pat:update_frame(306,0,6, { tex_index = 166 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -12 , tex_offset_y = baseY +baseY2 -4 , hurtbox = pat:get_frame(306,0,3).hurtbox , duration = 6}) pat:update_frame(306,0,7, { tex_index = 166 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -12 , tex_offset_y = baseY +baseY2 -4 , hurtbox = pat:get_frame(306,0,3).hurtbox , duration = 8}) pat:update_frame(306,0,8, { tex_index = 150 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +2 , tex_offset_y = baseY +baseY2 -6 , hurtbox = pat:get_frame(214,2,0).hurtbox , duration = 3 }) --j6a local baseY2 = 46 local baseX2 = 12 pat:remove_frame(307,0,15) pat:update_frame(307,0,0, { tex_index = 349, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -4 -20 , tex_offset_y = baseY -4 , duration = 2 }) pat:update_frame(307,0,1, { tex_index = 250, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 , tex_offset_y = baseY +94 , duration = 2 }) pat:update_frame(307,0,1,function(frame) frame.hurtbox[1].x1 = frame.hurtbox[1].x1 - 20 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 - 10 frame.hurtbox[1].y1 = frame.hurtbox[1].y1 - 20 frame.hurtbox[1].y2 = frame.hurtbox[1].y2 - 60 frame.hurtbox[2].x1 = frame.hurtbox[2].x1 + 20 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 + 10 frame.hurtbox[2].y1 = frame.hurtbox[2].y1 + 20 frame.hurtbox[2].y2 = frame.hurtbox[2].y2 + 60 end) pat:update_frame(307,0,2, { tex_index = 250, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 , tex_offset_y = baseY +94 , hurtbox = pat:get_frame(307,0,1).hurtbox , duration = 2 }) pat:update_frame(307,0,3, { tex_index = 250, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 , tex_offset_y = baseY +94 , hurtbox = pat:get_frame(307,0,1).hurtbox , duration = 2 }) pat:update_frame(307,0,4, { tex_index = 350, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 -20, tex_offset_y = baseY +80 +0 , hurtbox = pat:get_frame(307,0,1).hurtbox , duration = 3 }) pat:update_frame(307,0,4,function(frame) frame.hurtbox[1].y1 = frame.hurtbox[1].y1 + 10 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 - 0 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 - 0 frame.hurtbox[2].y2 = frame.hurtbox[2].y2 + 30 end) pat:update_frame(307,0,5, { tex_index = 351, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 -40 , tex_offset_y = baseY +72 +0 , hurtbox = pat:get_frame(307,0,4).hurtbox , duration = 3 }) pat:update_frame(307,0,5,function(frame) frame.hurtbox[1].y1 = frame.hurtbox[1].y1 + 10 frame.hurtbox[1].x1 = frame.hurtbox[1].x1 + 30 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 + 30 frame.hurtbox[2].x1 = frame.hurtbox[2].x1 + 15 frame.hurtbox[2].y2 = frame.hurtbox[2].y2 + 10 end) pat:update_frame(307,0,6, { tex_index = 352, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 -60 , tex_offset_y = baseY -44 +0 , duration = 2}) pat:update_frame(307,0,6,function(frame) frame.hurtbox[1].x1 = frame.hurtbox[1].x1 + 80 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 + 80 frame.hurtbox[1].y1 = frame.hurtbox[1].y1 + 10 frame.hurtbox[1].y2 = frame.hurtbox[1].y2 + 30 frame.hurtbox[2].x1 = frame.hurtbox[2].x1 + 60 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 + 60 frame.hurtbox[2].y1 = frame.hurtbox[2].y1 + 50 frame.hurtbox[2].y2 = frame.hurtbox[2].y2 + 50 frame.hurtbox[3].x1 = frame.hurtbox[3].x1 + 15 frame.hurtbox[3].x2 = frame.hurtbox[3].x2 + 50 frame.hurtbox[3].y1 = frame.hurtbox[3].y1 + 50 frame.hurtbox[3].y2 = frame.hurtbox[3].y2 + 80 frame.hurtbox[4].x1 = frame.hurtbox[4].x1 + 0 frame.hurtbox[4].x2 = frame.hurtbox[4].x2 + 30 frame.hurtbox[4].y1 = frame.hurtbox[4].y1 + 30 frame.hurtbox[4].y2 = frame.hurtbox[4].y2 + 60 frame.attackbox[1].y1 = frame.attackbox[1].y1 - 90 frame.attackbox[1].y2 = frame.attackbox[1].y2 - 30 frame.attackbox[1].x1 = frame.attackbox[1].x1 - 20 -30 frame.attackbox[1].x2 = frame.attackbox[1].x2 + 10 frame.attackbox[2] = pat:get_frame(307,0,7).attackbox[1] frame.attackbox[2].y1 = frame.attackbox[2].y1 - 10 frame.attackbox[2].y2 = frame.attackbox[2].y2 + 70 -30 frame.attackbox[2].x1 = frame.attackbox[2].x1 + 10 -20 frame.attackbox[2].x2 = frame.attackbox[2].x2 - 10 frame.attackbox[3] = pat:get_frame(307,0,7).attackbox[1] frame.attackbox[3].y1 = frame.attackbox[2].y1 + 80 frame.attackbox[3].y2 = frame.attackbox[2].y2 + 40 frame.attackbox[3].x1 = frame.attackbox[2].x1 + 40 -30 frame.attackbox[3].x2 = frame.attackbox[2].x2 + 20 frame.hit_sfx = 4 frame.hit_effect = 3 frame.damage = 850 -50 frame.proration = 850 frame.hit_ani_air = 74 frame.hit_ani_ground = 74 frame.combo_correction = CC_SMASH_ATTACK end) pat:update_frame(307,0,7,function(frame) frame.attackbox[1]=null end) pat:update_frame(307,0,7, { tex_index = 353, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 -60 , tex_offset_y = baseY -44 +0 , hurtbox = pat:get_frame(307,0,6).hurtbox , duration = 34 }) pat:update_frame(307,0,8, { tex_index = 349, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -4 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(307,0,0).hurtbox }) pat:update_frame(307,0,9, { tex_index = 205 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY +baseY2/2 -32 , hurtbox = pat:get_frame(6,1,4).hurtbox , duration = 4}) pat:update_frame(307,0,10, { tex_index = 214 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -26 , tex_offset_y = baseY +baseY2 -86 , hurtbox = pat:get_frame(6,2,0).hurtbox , duration = 4}) pat:update_frame(307,0,11, { tex_index = 215 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -28 , tex_offset_y = baseY +baseY2 -86 , hurtbox = pat:get_frame(6,2,1).hurtbox , duration = 4}) pat:update_frame(307,0,12, { tex_index = 216 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -38 , tex_offset_y = baseY +baseY2 -84 , hurtbox = pat:get_frame(6,2,1).hurtbox , duration = 4}) pat:update_frame(307,0,13, { tex_index = 217 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY +baseY2 -84 , hurtbox = pat:get_frame(6,2,1).hurtbox , duration = 4}) pat:update_frame(307,0,14, { tex_index = 205 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY +baseY2/2 -32 , hurtbox = pat:get_frame(6,1,4).hurtbox , duration = 4}) for idx = 10 , 14 do pat:remove_frame(307,0,10) end for idx = 0 , 18 do pat:update_frame(990,0,idx,function(frame) frame.tex_w = 0 end) pat:update_frame(990,1,idx,function(frame) frame.tex_w = 0 end) end -- j2a pat:split_frame(308,0,3,3,3) pat:update_frame(308,0,0, { tex_index = 205 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY +baseY2/2 -32 , hurtbox = pat:get_frame(6,1,4).hurtbox , duration = 3}) pat:update_frame(308,0,1, { tex_index = 214 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -26 , tex_offset_y = baseY +baseY2 -86 , hurtbox = pat:get_frame(6,2,0).hurtbox , duration = 3}) pat:update_frame(308,0,2, { tex_index = 215 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -28 , tex_offset_y = baseY +baseY2 -86 , hurtbox = pat:get_frame(6,2,1).hurtbox , duration = 3-1}) pat:update_frame(308,0,3, { tex_index = 216 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -38 , tex_offset_y = baseY +baseY2 -84 , hurtbox = pat:get_frame(6,2,1).hurtbox , duration = 3-1}) pat:update_frame(308,0,4, { tex_index = 217 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY +baseY2 -84 , hurtbox = pat:get_frame(6,2,1).hurtbox , duration = 3-1}) pat:remove_frame(308,1,7) pat:remove_frame(308,1,6) pat:remove_frame(308,1,5) pat:remove_frame(308,1,4) pat:remove_frame(308,1,3) pat:remove_frame(308,1,2) pat:remove_frame(308,1,1) pat:update_frame(308,1,0, { tex_index = 136, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -16 , tex_offset_y = baseY -28 , duration = 4 }) pat:update_frame(308,1,0,function(frame) frame.duration = 2 frame.attackbox = pat:get_frame(307,0,6).attackbox frame.attackbox[1].x1 = frame.attackbox[1].x1 - 10 frame.attackbox[2].x1 = frame.attackbox[2].x1 - 20 frame.attackbox[1].x2 = frame.attackbox[1].x2 - 100 frame.attackbox[2].x2 = frame.attackbox[2].x2 - 110 +40 frame.attackbox[1].y1 = frame.attackbox[1].y1 + 100 +100 frame.attackbox[1].y2 = frame.attackbox[1].y2 + 30 +100 frame.attackbox[2].y1 = frame.attackbox[2].y1 + 50 frame.attackbox[3].y1 = frame.attackbox[2].y1 + 30 frame.attackbox[3].y2 = frame.attackbox[2].y2 + 30 frame.attackbox[3].x1 = frame.attackbox[1].x1 + 30 frame.attackbox[3].x2 = frame.attackbox[1].x2 + 30 frame.blockstop_self = 10 frame.blockstop_enemy = 10 frame.hitstop_self = 10 frame.hitstop_enemy = 10 frame.launch_vector_x = 2400 frame.launch_vector_y = -2400 frame.hit_ani_air = 88 frame.hit_ani_ground = 88 frame.hit_sfx = 3 frame.hit_effect = 3 frame.untech = 60 frame.limit = 40 frame.card_gain_hit = 120 frame.card_gain_block = 80 frame.damage = 750 -50 frame.proration = 850 frame.sp_damage = 200 frame.combo_correction = CC_SMASH_ATTACK frame.hurtbox[1].x1 = frame.hurtbox[1].x1 + 30 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 + 45 frame.hurtbox[1].y1 = frame.hurtbox[1].y1 + 15 frame.hurtbox[1].y2 = frame.hurtbox[1].y2 + 15 frame.hurtbox[2].x1 = frame.hurtbox[2].x1 - 30 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 - 10 frame.hurtbox[2].y2 = frame.hurtbox[2].y2 + 10 frame.hurtbox[3].x1 = frame.hurtbox[3].x1 - 15 frame.hurtbox[3].x2 = frame.hurtbox[3].x2 - 0 frame.hurtbox[3].y1 = frame.hurtbox[3].y1 + 10 frame.hurtbox[3].y2 = frame.hurtbox[3].y2 + 25 frame.hurtbox[4].x1 = frame.hurtbox[4].x1 - 35 frame.hurtbox[4].y1 = frame.hurtbox[4].y1 + 30 frame.hurtbox[4].y2 = frame.hurtbox[4].y2 + 60 end) pat:split_frame(308,1,0,2,2) pat:update_frame(308,1,1,function(frame) frame.attackbox[2]=null frame.attackbox[1]=null end) pat:update_frame(308,1,1, { tex_index = 137, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -12 , tex_offset_y = baseY -32 , hurtbox = pat:get_frame(308,1,0).hurtbox , duration = 6-5 }) pat:update_frame(308,2,0, { tex_index = 137, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -12 , tex_offset_y = baseY -32 , hurtbox = pat:get_frame(308,1,0).hurtbox , duration = 31 }) pat:update_frame(308,2,1, { tex_index = 138, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -12 , tex_offset_y = baseY -32 , hurtbox = pat:get_frame(308,1,0).hurtbox , duration = 4 }) pat:update_frame(308,2,1,function(frame) frame.hurtbox[4] = null frame.hurtbox[3].y2 = frame.hurtbox[3].y2 + 15 end) pat:remove_frame(308,2,6) pat:remove_frame(308,2,5) pat:remove_frame(308,2,4) pat:remove_frame(308,2,3) pat:remove_frame(308,2,2) pat:remove_frame(308,1,1) -- 6a pat:remove_frame(302,0,13) pat:remove_frame(302,0,12) pat:remove_frame(302,0,11) pat:remove_frame(302,0,10) pat:update_frame(302,0,0, { tex_index = 348, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -4 , tex_offset_y = baseY -4 , duration = 3 }) pat:update_frame(302,0,1, { tex_index = 349, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -4 , tex_offset_y = baseY -4 , duration = 3 }) pat:update_frame(302,0,2, { tex_index = 250, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 +50 , tex_offset_y = baseY +64 , hurtbox = pat:get_frame(307,0,1).hurtbox , duration = 4 }) pat:update_frame(302,0,2,function(frame) frame.hurtbox[1].x1 = frame.hurtbox[1].x1 - 50 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 - 50 frame.hurtbox[1].y1 = frame.hurtbox[1].y1 + 30 frame.hurtbox[1].y2 = frame.hurtbox[1].y2 + 30 frame.hurtbox[2].x1 = frame.hurtbox[2].x1 - 50 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 - 50 frame.hurtbox[2].y1 = frame.hurtbox[2].y1 + 30 frame.hurtbox[2].y2 = frame.hurtbox[2].y2 + 30 end) pat:update_frame(302,0,3, { tex_index = 250, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 +50, tex_offset_y = baseY +64 , hurtbox = pat:get_frame(302,0,2).hurtbox , duration = 1 }) pat:update_frame(302,0,4, { tex_index = 350, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 +20, tex_offset_y = baseY +80 , hurtbox = pat:get_frame(307,0,4).hurtbox , duration = 2 }) pat:update_frame(302,0,4,function(frame) frame.hurtbox[1].x1 = frame.hurtbox[1].x1 - 40 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 - 40 frame.hurtbox[2].x1 = frame.hurtbox[2].x1 - 40 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 - 40 frame.hurtbox[2].y2 = frame.hurtbox[2].y2 + 20 end) pat:update_frame(302,0,5, { tex_index = 351, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 -20 , tex_offset_y = baseY +92 , hurtbox = pat:get_frame(307,0,5).hurtbox , duration = 3 }) pat:update_frame(302,0,5,function(frame) 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 - 20 frame.hurtbox[1].y2 = frame.hurtbox[1].y2 - 20 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 - 20 frame.hurtbox[2].y2 = frame.hurtbox[2].y2 - 20 frame.hurtbox[2].y2 = frame.hurtbox[2].y2 + 20 end) pat:update_frame(302,0,6, { tex_index = 352, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 -60 , tex_offset_y = baseY -44 , hurtbox = pat:get_frame(307,0,6).hurtbox , attackbox = pat:get_frame(307,0,6).attackbox }) pat:update_frame(302,0,6,function(frame) duration = 4 frame.hit_sfx = 4 frame.hit_effect = 3 frame.damage = 850 -50 frame.proration = 850 frame.hit_ani_air = 74 frame.hit_ani_ground = 74 frame.combo_correction = CC_SMASH_ATTACK end) pat:update_frame(302,0,7,function(frame) frame.attackbox[2]=null frame.attackbox[1]=null end) pat:update_frame(302,0,7, { tex_index = 353, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 -60 , tex_offset_y = baseY -44 , hurtbox = pat:get_frame(307,0,6).hurtbox , duration = 20 }) pat:update_frame(302,0,8, { tex_index = 349, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -4 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(307,0,0).hurtbox , duration = 6 }) pat:update_frame(302,0,8,function(frame) frame.hurtbox[1].y2 = frame.hurtbox[1].y2 + 30 end) pat:update_frame(302,0,9, { tex_index = 348, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -4 , tex_offset_y = baseY -4 , duration = 6 }) pat:update_frame(302,0,9,function(frame) frame.hurtbox[3].x1 = frame.hurtbox[3].x1 - 20 frame.hurtbox[3].x2 = frame.hurtbox[3].x2 - 10 frame.hurtbox[2].x1 = frame.hurtbox[2].x1 - 20 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 - 20 frame.hurtbox[1].x1 = frame.hurtbox[1].x1 - 30 end) pat:update_frame(302,0,0,{hurtbox = pat:get_frame(302,0,9).hurtbox}) pat:update_frame(302,0,1,{hurtbox = pat:get_frame(302,0,4).hurtbox}) pat:update_frame(302,0,1,function(frame) frame.hurtbox[1].x1 = frame.hurtbox[1].x1 + 30 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 + 10 frame.hurtbox[2].x1 = frame.hurtbox[2].x1 + 20 end) pat:update_frame(302,0,8,{hurtbox = pat:get_frame(302,0,1).hurtbox}) pat:remove_frame(302,1,13) pat:remove_frame(302,1,12) pat:remove_frame(302,1,11) pat:update_frame(302,1,0, { tex_index = 250, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 +50 , tex_offset_y = baseY +64 , hurtbox = pat:get_frame(302,0,2).hurtbox , duration = 3 }) pat:update_frame(302,1,1, { tex_index = 250, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 +50, tex_offset_y = baseY +64 , hurtbox = pat:get_frame(302,0,3).hurtbox , duration = 3 }) pat:update_frame(302,1,2, { tex_index = 250, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 +50, tex_offset_y = baseY +64 , hurtbox = pat:get_frame(302,0,3).hurtbox , duration = 3 }) pat:update_frame(302,1,3, { tex_index = 250, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 +50, tex_offset_y = baseY +64 , hurtbox = pat:get_frame(302,0,3).hurtbox , duration = 3 }) pat:update_frame(302,1,4, { tex_index = 250, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 +50, tex_offset_y = baseY +64 , hurtbox = pat:get_frame(302,0,3).hurtbox , duration = 3 }) pat:update_frame(302,1,5, { tex_index = 350, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 +20, tex_offset_y = baseY +80 , hurtbox = pat:get_frame(302,0,4).hurtbox , duration = 2 }) pat:update_frame(302,1,6, { tex_index = 351, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 -20 , tex_offset_y = baseY +92 , hurtbox = pat:get_frame(302,0,5).hurtbox , duration = 2 }) pat:update_frame(302,1,7, { tex_index = 352, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 -60 , tex_offset_y = baseY -44 , hurtbox = pat:get_frame(302,0,6).hurtbox , attackbox = pat:get_frame(302,0,6).attackbox }) pat:update_frame(302,1,7,function(frame) duration = 4 frame.hit_sfx = 4 frame.hit_effect = 3 frame.damage = 950 frame.proration = 800 frame.hit_ani_air = 74 frame.hit_ani_ground = 74 frame.combo_correction = CC_SMASH_ATTACK end) pat:update_frame(302,1,8,function(frame) frame.attackbox[2]=null frame.attackbox[1]=null end) pat:update_frame(302,1,8, { tex_index = 353, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 -60 , tex_offset_y = baseY -44 , hurtbox = pat:get_frame(307,0,6).hurtbox , duration = 20 }) pat:update_frame(302,1,9, { tex_index = 349, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -4 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(302,0,8).hurtbox , duration = 6 }) pat:update_frame(302,1,10, { tex_index = 348, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -4 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(302,0,9).hurtbox , duration = 6 }) --dial A pat:remove_frame(322,0,10) pat:remove_frame(322,0,9) pat:update_frame(322,0,0, { tex_index = 349, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -4 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(302,0,1).hurtbox , duration = 3 }) pat:update_frame(322,0,1, { tex_index = 250, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 +70 , tex_offset_y = baseY +64 , hurtbox = pat:get_frame(302,0,2).hurtbox , duration = 6 }) pat:update_frame(322,0,2, { tex_index = 350, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 +20, tex_offset_y = baseY +80 , hurtbox = pat:get_frame(302,0,4).hurtbox , duration = 3 }) pat:update_frame(322,0,3, { tex_index = 351, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 -20 , tex_offset_y = baseY +92 , hurtbox = pat:get_frame(302,0,5).hurtbox , duration = 3 }) pat:update_frame(322,0,4, { tex_index = 352, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 -60 , tex_offset_y = baseY -44 , hurtbox = pat:get_frame(302,0,6).hurtbox , attackbox = pat:get_frame(302,0,6).attackbox }) pat:update_frame(322,0,4,function(frame) duration = 4 frame.hit_sfx = 4 frame.hit_effect = 3 frame.damage = 850 frame.proration = 850 frame.hit_ani_air = 74 frame.hit_ani_ground = 74 frame.untech = 60 frame.combo_correction = CC_SMASH_ATTACK end) pat:update_frame(322,0,5,function(frame) frame.attackbox[2]=null frame.attackbox[1]=null end) pat:update_frame(322,0,5, { tex_index = 353, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 -60 , tex_offset_y = baseY -44 , hurtbox = pat:get_frame(307,0,6).hurtbox , duration = 2 }) pat:update_frame(322,0,6, { tex_index = 353, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 -60 , tex_offset_y = baseY -44 , hurtbox = pat:get_frame(307,0,6).hurtbox , duration = 12+5 }) pat:update_frame(322,0,7, { tex_index = 349, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -4 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(302,0,8).hurtbox , duration = 6 }) pat:update_frame(322,0,8, { tex_index = 348, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -4 , tex_offset_y = baseY -4 , duration = 6 }) end function mods.f5a_bugfix(pat) pat:split_frame(301,0,4,1,1) pat:split_frame(301,0,1,1,1) pat:split_frame(301,0,0,1,1) pat:split_frame(321,0,4,1,1) pat:split_frame(321,0,1,1,1) pat:split_frame(321,0,0,1,1) end function mods.dashatk(pat) local baseX = 76 local baseY = 195 local baseY2 = -20 local baseDur = 6 for idx = 0 , 28 do pat:split_frame(848,7,0,1,1) end for idx = 0 , 29 do pat:update_frame(848,7,idx,function(frame) frame.tex_index = 128 + (idx/2)%4 frame.scale_x = 200 frame.scale_y = 200 frame.tex_offset_x = 128 frame.tex_offset_y = 88 frame.tex_w = 128 frame.tex_h = 128 --frame.color_g = 128 --frame.color_b = 128 if (idx < 8) then frame.tex_w = 0 elseif (idx <= 12) then frame.color_r = frame.color_r * (idx-8)/4 frame.color_g = frame.color_g * (idx-8)/4 frame.color_b = frame.color_b * (idx-8)/4 elseif (idx >= 20) then frame.color_r = frame.color_r * (24-idx)/4 frame.color_g = frame.color_g * (24-idx)/4 frame.color_b = frame.color_b * (24-idx)/4 if (idx>24) then frame.color_r = 0 frame.color_g = 0 frame.color_b = 0 end end frame.duration = 1 frame.tex_w = 0 end) end --66a pat:split_frame(305,0,4,2,2) pat:split_frame(305,0,5,2,2) pat:update_frame(305,0,0, { tex_index = 2 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -2 , duration = 2}) pat:update_frame(305,0,1, { tex_index = 18 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -2 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(301,0,1).hurtbox , duration = 2}) pat:update_frame(305,0,2, { tex_index = 19 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -12 , tex_offset_y = baseY -6 , hurtbox = pat:get_frame(301,0,2).hurtbox , duration = 1}) pat:update_frame(305,0,3, { tex_index = 19 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -12 , tex_offset_y = baseY -6 , hurtbox = pat:get_frame(301,0,2).hurtbox , duration = 2}) pat:update_frame(305,0,4, { tex_index = 19 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -12 , tex_offset_y = baseY -6 , hurtbox = pat:get_frame(301,0,2).hurtbox , attackbox = pat:get_frame(300,0,0).attackbox , duration = 4}) pat:update_frame(305,0,5, { tex_index = 20 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +4 , tex_offset_y = baseY -6 , hurtbox = pat:get_frame(301,0,5).hurtbox , attackbox = pat:get_frame(301,0,5).attackbox , duration = 2}) -- fires pat:update_frame(305,0,5,function(frame) frame.attackbox[2].y1 = frame.attackbox[2].y1 - 10 frame.card_gain_hit = 80 frame.card_gain_block = 60 frame.launch_vector_x = 800 frame.launch_vector_y = 800 frame.proration = 920 frame.damage = 450 frame.sp_damage = 200 frame.launch_vector_x = 1200 frame.launch_vector_y = 800 end) pat:update_frame(305,0,6, { tex_index = 373 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +6 , tex_offset_y = baseY -8, hurtbox = pat:get_frame(301,0,5).hurtbox , duration = 2 , attackbox = pat:get_frame(305,0,5).attackbox}) pat:update_frame(305,0,6,function(frame) frame.card_gain_hit = 80 frame.card_gain_block = 60 frame.launch_vector_x = 800 frame.launch_vector_y = 800 frame.proration = 920 frame.damage = 450 frame.sp_damage = 200 frame.launch_vector_x = 1200 frame.launch_vector_y = 800 end) pat:update_frame(305,0,7, { tex_index = 373 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +6 , tex_offset_y = baseY -8, hurtbox = pat:get_frame(301,0,5).hurtbox , duration = 8 , attackbox = pat:get_frame(300,0,0).attackbox , fflags = pat:get_frame(305,0,9).fflags}) pat:update_frame(305,0,8, { tex_index = 374 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -2 , tex_offset_y = baseY -8, hurtbox = pat:get_frame(301,0,8).hurtbox , duration = 5 , attackbox = pat:get_frame(300,0,0).attackbox , fflags = pat:get_frame(305,0,9).fflags}) pat:update_frame(305,0,9, { tex_index = 1 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -4, hurtbox = pat:get_frame(301,0,9).hurtbox , duration = 4}) --66b pat:update_frame(408,0,0, { tex_index = 1 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(300,0,0).hurtbox}) pat:update_frame(408,0,1, { tex_index = 160, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX +32 , tex_offset_y = baseY +14 , hurtbox = pat:get_frame(300,0,0).hurtbox }) pat:update_frame(408,0,2, { tex_index = 349, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -4 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(302,0,4).hurtbox }) pat:update_frame(408,0,3, { tex_index = 36 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -0, tex_offset_y = baseY -2}) pat:update_frame(408,0,4, { tex_index = 37 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -12, tex_offset_y = baseY -4}) pat:update_frame(408,1,0, { tex_index = 38 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -0, tex_offset_y = baseY -6}) pat:update_frame(408,1,0,function(frame) frame.hurtbox[2].x2 = frame.hurtbox[2].x2 - 20 frame.hurtbox[5].x2 = frame.hurtbox[5].x2 - 40 frame.hurtbox[5].y2 = frame.hurtbox[5].y2 + 20 frame.hurtbox[3].x2 = frame.hurtbox[3].x2 - 10 frame.attackbox[1].y1 = frame.attackbox[1].y1 +60 frame.attackbox[1].y2 = frame.attackbox[1].y2 +60 frame.attackbox[2].y1 = frame.attackbox[1].y1 frame.attackbox[3].y1 = frame.attackbox[1].y1 frame.attackbox[4].y1 = frame.attackbox[1].y1 frame.attackbox[2].y2 = frame.attackbox[2].y2 +60 frame.attackbox[3].y2 = frame.attackbox[3].y2 +60 frame.attackbox[4].y2 = frame.attackbox[4].y2 +60 frame.attackbox[4].x2 = frame.attackbox[4].x2 + 20 end) pat:update_frame(408,1,1, { tex_index = 39 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -12, tex_offset_y = baseY -2 , hurtbox = pat:get_frame(408,1,0).hurtbox , attackbox = pat:get_frame(408,1,0).attackbox}) pat:update_frame(408,1,2, { tex_index = 40 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -0, tex_offset_y = baseY -4 , hurtbox = pat:get_frame(408,1,0).hurtbox , attackbox = pat:get_frame(408,1,0).attackbox}) pat:update_frame(408,1,3, { tex_index = 41 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -12, tex_offset_y = baseY -6 , hurtbox = pat:get_frame(408,1,0).hurtbox , attackbox = pat:get_frame(408,1,0).attackbox}) pat:update_frame(408,1,4, { tex_index = 36 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -0, tex_offset_y = baseY -2 , hurtbox = pat:get_frame(408,1,0).hurtbox , attackbox = pat:get_frame(408,1,0).attackbox}) pat:update_frame(408,1,5, { tex_index = 37 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -12, tex_offset_y = baseY -4 , hurtbox = pat:get_frame(408,1,0).hurtbox , attackbox = pat:get_frame(408,1,0).attackbox}) pat:remove_frame(408,1,7) pat:remove_frame(408,1,6) pat:remove_frame(408,1,5) pat:remove_frame(408,1,4) pat:update_frame(408,0,3,{hurtbox = pat:get_frame(408,1,0).hurtbox}) pat:update_frame(408,0,4,{hurtbox = pat:get_frame(408,1,0).hurtbox}) --pat:update_frame(408,2,0, { tex_index = 38 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -0, tex_offset_y = baseY -6}) --pat:update_frame(408,2,1, { tex_index = 39 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -12, tex_offset_y = baseY -2}) --pat:update_frame(408,2,0, { tex_index = 40 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -0, tex_offset_y = baseY -4}) --pat:update_frame(408,2,1, { tex_index = 41 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -12, tex_offset_y = baseY -6}) pat:update_frame(408,2,0, { tex_index = 36 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -0, tex_offset_y = baseY -2 , hurtbox = pat:get_frame(408,1,0).hurtbox , duration = 6}) pat:update_frame(408,2,1, { tex_index = 37 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -12, tex_offset_y = baseY -4 , hurtbox = pat:get_frame(408,1,0).hurtbox , duration = 6 }) pat:update_frame(408,2,2, { tex_index = 349, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -4 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(302,0,4).hurtbox , duration = 6 }) pat:update_frame(408,2,3, { tex_index = 348, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -4 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(302,0,9).hurtbox , duration = 6 }) --pat:get_sequence(408,0):set_priority(50,50) --pat:get_sequence(408,1):set_priority(50,50) --pat:get_sequence(408,2):set_priority(50,50) for idx = 0 , 3 do pat:update_frame(408,1,idx,function(frame) frame.damage = 200 frame.proration = 950 frame.limit = 10 frame.hitstop_self = 4 frame.hitstop_enemy = 4 frame.blockstop_self = 4 frame.blockstop_enemy = 4 frame.untech = 45 frame.hit_sfx = 4 frame.hit_effect = 2 frame.attack_level = AL_HEAVY frame.card_gain_hit = 40 frame.card_gain_block = 25 frame.sp_damage = 75 frame.hit_ani_air = 72 --frame.hit_ani_ground = 72 frame.launch_vector_x = 750 frame.launch_vector_y = 700 unset_aflag(frame,AF_ATTACK_HIGH) unset_aflag(frame,AF_HIGHBLOCK_OK) set_aflag(frame,AF_STAGGER) set_aflag(frame,AF_ATTACK_LOW) set_aflag(frame,AF_LOWBLOCK_OK) end) end --66c pat:update_frame(418,0,0, { tex_index = 208 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -56 , tex_offset_y = baseY -150 , hurtbox = pat:get_frame(200,1,0).hurtbox , collision = pat:get_frame(200,1,0).collision , duration = 4}) pat:update_frame(418,0,1, { tex_index = 209 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -56 , tex_offset_y = baseY -144 +10 , hurtbox = pat:get_frame(200,1,0).hurtbox , collision = pat:get_frame(200,1,0).collision , duration = 4}) pat:update_frame(418,0,1,function(frame) frame.hurtbox[1].y1 = frame.hurtbox[1].y1 + 20 end) pat:update_frame(418,0,2, { tex_index = 210 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -48 , tex_offset_y = baseY -136 , hurtbox = pat:get_frame(418,0,1).hurtbox , collision = pat:get_frame(200,1,0).collision , duration = 4 }) pat:update_frame(418,0,3, { tex_index = 208 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -56 , tex_offset_y = baseY -150 , hurtbox = pat:get_frame(418,0,1).hurtbox , collision = pat:get_frame(200,1,0).collision , duration = 4}) pat:update_frame(418,0,4, { tex_index = 209 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -56 , tex_offset_y = baseY -144 +10 , hurtbox = pat:get_frame(418,0,1).hurtbox , collision = pat:get_frame(200,1,0).collision , duration = 4}) pat:update_frame(418,0,5, { tex_index = 207 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -28 , tex_offset_y = baseY +baseY2 -86 -20, hurtbox = pat:get_frame(6,2,1).hurtbox , duration = 2}) pat:update_frame(418,0,6, { tex_index = 206 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -28 , tex_offset_y = baseY +baseY2 -86 -10 , hurtbox = pat:get_frame(6,2,1).hurtbox , duration = 2}) pat:update_frame(418,0,7, { tex_index = 216 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -38 , tex_offset_y = baseY +baseY2 -84 , hurtbox = pat:get_frame(6,2,1).hurtbox , duration = 4}) pat:update_frame(418,0,8, { tex_index = 217 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY +baseY2 -84, hurtbox = pat:get_frame(6,2,1).hurtbox , duration = 4}) pat:update_frame(418,0,9, { tex_index = 214 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -26 , tex_offset_y = baseY +baseY2 -86 +10, hurtbox = pat:get_frame(6,2,0).hurtbox , duration = 4}) for idx = 3 , 5 do pat:update_frame(418,0,idx,function(frame) frame.attackbox[1] = frame.attackbox[2] frame.attackbox[2]=null frame.attackbox[1].x2 = frame.attackbox[1].x2 - 40 frame.attackbox[1].x1 = frame.attackbox[1].x1 - 20 frame.damage = 900 frame.proration = 800 frame.launch_vector_x = 1500 frame.launch_vector_y = 1500 frame.combo_correction = CC_LIFT_ATTACK frame.hit_ani_air = 72 frame.hit_ani_ground = 72 end) end pat:update_frame(418,0,5,function(frame) frame.attackbox[1]=null end) for idx = 5 , 9 do pat:update_frame(418,0,idx,function(frame) frame.hurtbox[1].y1 = frame.hurtbox[1].y1 + 80 frame.hurtbox[1].y2 = frame.hurtbox[1].y2 + 80 end) end pat:update_frame(418,0,9,function(frame) frame.hurtbox[2].y1 = frame.hurtbox[2].y1 + 80 frame.hurtbox[2].y2 = frame.hurtbox[2].y2 + 80 end) pat:update_frame(418,0,10, { tex_index = 153 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -18 , tex_offset_y = baseY -62 , hurtbox = pat:get_frame(89,0,0).hurtbox , duration = 3 }) pat:update_frame(418,0,11, { tex_index = 154 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +6 , tex_offset_y = baseY -66 , hurtbox = pat:get_frame(89,0,0).hurtbox , duration = 3 }) pat:update_frame(418,0,12, { tex_index = 155 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +6 , tex_offset_y = baseY -82 , hurtbox = pat:get_frame(89,0,0).hurtbox , duration = 4 }) for idx = 10 , 12 do pat:update_frame(418,0,idx,function(frame) frame.hurtbox[1].y1 = frame.hurtbox[1].y1 - 40 end) end pat:split_frame(418,0,12,8,3) pat:split_frame(418,0,13,3,3) pat:split_frame(418,0,14,3,3) pat:split_frame(418,0,15,3,3) --pat:split_frame(418,0,16,3,3) pat:update_frame(418,0,13, { tex_index = 156 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +16 , tex_offset_y = baseY -84 , duration = 3 }) pat:update_frame(418,0,14, { tex_index = 157 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +16 , tex_offset_y = baseY -80 , duration = 3 }) pat:update_frame(418,0,15, { tex_index = 205 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY -62 , hurtbox = pat:get_frame(1,0,2).hurtbox , duration = 3}) pat:update_frame(418,0,16, { tex_index = 248 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY -34 , hurtbox = pat:get_frame(1,0,1).hurtbox , duration = 3}) --pat:update_frame(418,0,17, { tex_index = 247 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY -14 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 2 }) end function mods.j8a(pat) local baseX = 76 local baseY = 195 local baseDur = 6 --char anim pat:update_frame(309,0,0, { tex_index = 53 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +16 , tex_offset_y = baseY -16 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 5 }) pat:update_frame(309,0,0,function(frame) frame.hurtbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[1].y1 = frame.hurtbox[1].y1 + 20 frame.hurtbox[1].y2 = frame.hurtbox[1].y2 - 60 frame.hurtbox[2].y1 = frame.hurtbox[1].y1 + 60 frame.hurtbox[2].y2 = frame.hurtbox[1].y2 + 40 frame.hurtbox[2].x1 = frame.hurtbox[1].x1 - 15 frame.hurtbox[2].x2 = frame.hurtbox[1].x2 - 15 end) pat:update_frame(309,0,1, { tex_index = 54 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +6 , tex_offset_y = baseY -36 , hurtbox = pat:get_frame(309,0,0).hurtbox , duration = 5 }) pat:update_frame(309,0,1,function(frame) frame.hurtbox[1].y1 = frame.hurtbox[1].y1 + 10 frame.hurtbox[2].x1 = frame.hurtbox[2].x1 - 5 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 + 25 frame.hurtbox[2].y1 = frame.hurtbox[2].y1 + 10 frame.hurtbox[2].y2 = frame.hurtbox[2].y2 + 10 end) pat:update_frame(309,1,0, { tex_index = 55 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -24 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 4 }) pat:update_frame(309,1,0,function(frame) frame.hurtbox[1].x1 = frame.hurtbox[1].x1 + 20 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 + 10 frame.hurtbox[1].y1 = frame.hurtbox[1].y1 - 0 frame.hurtbox[1].y2 = frame.hurtbox[1].y2 - 60 frame.hurtbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[2].y1 = frame.hurtbox[1].y1 + 80 frame.hurtbox[2].y2 = frame.hurtbox[1].y2 + 30 frame.hurtbox[2].x1 = frame.hurtbox[1].x1 - 15 frame.hurtbox[2].x2 = frame.hurtbox[1].x2 - 15 frame.hurtbox[3] = pat:get_frame(0,0,1).hurtbox[1] frame.hurtbox[3].y1 = frame.hurtbox[1].y1 - 20 frame.hurtbox[3].y2 = frame.hurtbox[1].y2 - 70 frame.hurtbox[3].x1 = frame.hurtbox[1].x1 + 30 frame.hurtbox[3].x2 = frame.hurtbox[1].x2 + 20 frame.attackbox[1].y1 = frame.attackbox[1].y1 - 40 frame.attackbox[1].y2 = frame.attackbox[1].y2 - 10 frame.attackbox[1].x1 = frame.attackbox[1].x1 - 10 frame.attackbox[1].x2 = frame.attackbox[1].x2 + 10 end) pat:update_frame(309,1,1, { tex_index = 56 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -36 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(309,1,0).hurtbox , attackbox = pat:get_frame(309,1,0).attackbox , duration = 4 }) pat:update_frame(309,1,1,function(frame) frame.hurtbox[3].x1 = frame.hurtbox[3].x1 - 50 frame.hurtbox[3].x2 = frame.hurtbox[3].x2 - 50 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 + 10 frame.attackbox[1].x1 = frame.attackbox[1].x1 - 40 frame.attackbox[1].x2 = frame.attackbox[1].x2 - 40 frame.attackbox[1].y2 = frame.attackbox[1].y2 - 50 end) pat:update_frame(309,2,0, { tex_index = 56 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -36 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(309,1,1).hurtbox , duration = 10 }) pat:update_frame(309,2,1, { tex_index = 58 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -24 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 4 }) pat:update_frame(309,2,1,function(frame) frame.hurtbox[1].y2 = frame.hurtbox[1].y2 - 30 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].y1 = frame.hurtbox[1].y1 + 25 frame.hurtbox[2].y2 = frame.hurtbox[1].y2 - 80 frame.hurtbox[2].x1 = frame.hurtbox[1].x1 - 30 frame.hurtbox[2].x2 = frame.hurtbox[1].x2 + 30 end) pat:update_frame(309,2,2, { tex_index = 57 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -12 , tex_offset_y = baseY -16 , hurtbox = pat:get_frame(309,2,1).hurtbox , duration =14 }) pat:update_frame(309,2,2,function(frame) frame.hurtbox[1].y1 = frame.hurtbox[1].y1 + 10 frame.hurtbox[1].y2 = frame.hurtbox[1].y2 - 40 frame.hurtbox[1].x1 = frame.hurtbox[1].x1 - 30 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 - 30 frame.hurtbox[2].y2 = frame.hurtbox[2].y2 + 10 frame.hurtbox[2].x1 = frame.hurtbox[2].x1 - 20 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 - 20 frame.hurtbox[3] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[3].y1 = frame.hurtbox[1].y1 + 30 frame.hurtbox[3].y2 = frame.hurtbox[1].y2 + 40 frame.hurtbox[3].x1 = frame.hurtbox[1].x1 + 20 frame.hurtbox[3].x2 = frame.hurtbox[1].x2 + 20 end) pat:update_frame(309,2,3, { tex_index = 59 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -40 , tex_offset_y = baseY -0 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 5 }) pat:update_frame(309,2,3,function(frame) frame.hurtbox[1].y2 = frame.hurtbox[1].y2 - 30 end) pat:remove_frame(309,2,7) pat:remove_frame(309,2,6) pat:remove_frame(309,2,5) pat:remove_frame(309,2,4) for idx = 0 , 1 do pat:update_frame(309,1,idx,function(frame) frame.damage = 800 -50 frame.limit = 40 frame.proration = 850 frame.launch_vector_x = frame.launch_vector_x - 500 frame.launch_vector_y = 2000 end) end end function mods.systems(pat) local baseX = 70 local baseY = 195 pat:update_frame(690,0,0,{ tex_index = 302, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +0 , tex_offset_y = baseY +0 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(690,0,1,{ tex_index = 303, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +0 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(690,0,2,{ tex_index = 304, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY +0 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(690,1,0,{ tex_index = 305, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY +24 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(690,1,1,{ tex_index = 306, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY +24 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(690,1,2,{ tex_index = 305, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY +24 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(690,1,3,{ tex_index = 306, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY +24 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(690,1,4,{ tex_index = 305, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY +24 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(690,1,5,{ tex_index = 306, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY +24 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(690,1,6,{ tex_index = 305, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY +24 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(690,1,7,{ tex_index = 306, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY +24 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 12 }) pat:update_frame(690,1,8,{ tex_index = 308, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY +0 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 4 }) pat:update_frame(690,1,9,{ tex_index = 309, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY +0 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(691,0,0,{ tex_index = 302, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +0 , tex_offset_y = baseY +0 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(691,0,1,{ tex_index = 303, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +0 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(691,0,2,{ tex_index = 304, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY +0 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(691,1,0,{ tex_index = 305, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY +24 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(691,1,1,{ tex_index = 306, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY +24 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(691,1,2,{ tex_index = 305, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY +24 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(691,1,3,{ tex_index = 306, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY +24 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(691,1,4,{ tex_index = 305, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY +24 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(691,1,5,{ tex_index = 306, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY +24 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(691,1,6,{ tex_index = 305, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY +24 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(691,1,7,{ tex_index = 306, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY +24 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 12 }) pat:update_frame(691,1,8,{ tex_index = 308, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY +0 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 4 }) pat:update_frame(691,1,9,{ tex_index = 309, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY +0 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(692,0,0,{ tex_index = 302, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +0 , tex_offset_y = baseY +0 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(692,0,1,{ tex_index = 303, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +0 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(692,0,2,{ tex_index = 304, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY +0 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(692,0,3,{ tex_index = 305, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY +24 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(692,1,0,{ tex_index = 306, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY +24 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(692,1,1,{ tex_index = 305, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY +24 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:split_frame(692,2,0,2,2) pat:update_frame(692,2,0,{ tex_index = 306, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY +24 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 12}) pat:update_frame(692,2,1,{ tex_index = 308, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY +0 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 4}) pat:update_frame(692,2,2,{ tex_index = 309, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY +0 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(693,0,0,{ tex_index = 302, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +0 , tex_offset_y = baseY +0 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(693,0,1,{ tex_index = 303, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +0 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(693,0,2,{ tex_index = 304, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY +0 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(693,0,3,{ tex_index = 305, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY +24 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(693,1,0,{ tex_index = 306, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY +24 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(693,1,1,{ tex_index = 305, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY +24 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:split_frame(693,2,0,2,2) pat:update_frame(693,2,0,{ tex_index = 306, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY +24 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 12}) pat:update_frame(693,2,1,{ tex_index = 308, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY +0 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 4}) pat:update_frame(693,2,2,{ tex_index = 309, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY +0 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(694,0,0,{ tex_index = 302, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +0 , tex_offset_y = baseY +0 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(694,0,1,{ tex_index = 303, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +0 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(694,0,2,{ tex_index = 304, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY +0 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(694,0,3,{ tex_index = 305, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY +24 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(694,1,0,{ tex_index = 306, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY +24 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(694,1,1,{ tex_index = 305, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY +24 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:split_frame(694,2,0,2,2) pat:update_frame(694,2,0,{ tex_index = 306, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY +24 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 12}) pat:update_frame(694,2,1,{ tex_index = 308, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY +0 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 4}) pat:update_frame(694,2,2,{ tex_index = 309, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY +0 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(695,0,0,{ tex_index = 302, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +0 , tex_offset_y = baseY +0 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(695,0,1,{ tex_index = 303, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +0 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(695,0,2,{ tex_index = 304, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY +0 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(695,0,3,{ tex_index = 305, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY +24 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(695,0,4,{ tex_index = 306, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY +24 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(695,0,5,{ tex_index = 305, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY +24 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(695,0,6,{ tex_index = 306, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY +24 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(695,0,7,{ tex_index = 305, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY +24 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(695,0,8,{ tex_index = 306, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY +24 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 21 }) pat:update_frame(695,0,9,{ tex_index = 308, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY +0 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 4}) pat:update_frame(695,0,10,{ tex_index = 309, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY +0 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(696,0,0, { tex_index = 348, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -4 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(302,0,0).hurtbox }) pat:update_frame(696,0,1, { tex_index = 349, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -4 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(302,0,1).hurtbox }) pat:update_frame(696,0,2, { tex_index = 250, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 +50, tex_offset_y = baseY +64 , hurtbox = pat:get_frame(302,0,3).hurtbox }) pat:update_frame(696,0,3, { tex_index = 250, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 +50, tex_offset_y = baseY +64 , hurtbox = pat:get_frame(302,0,3).hurtbox }) pat:update_frame(696,0,4, { tex_index = 350, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 +20, tex_offset_y = baseY +80 , hurtbox = pat:get_frame(302,0,4).hurtbox }) pat:update_frame(696,0,5, { tex_index = 351, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 -20 , tex_offset_y = baseY +92 , hurtbox = pat:get_frame(302,0,5).hurtbox }) pat:update_frame(696,0,6, { tex_index = 352, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 -60 , tex_offset_y = baseY -44 , hurtbox = pat:get_frame(302,0,6).hurtbox , attackbox = pat:get_frame(302,0,6).attackbox }) pat:update_frame(696,0,6,function(frame) frame.hit_ani_air = 74 frame.hit_ani_ground = 74 frame.combo_correction = CC_SMASH_ATTACK end) pat:update_frame(696,0,7, { tex_index = 353, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 -60 , tex_offset_y = baseY -44 , hurtbox = pat:get_frame(307,0,6).hurtbox , attackbox = pat:get_frame(300,0,0).attackbox , fflags = pat:get_frame(696,0,8).fflags }) pat:update_frame(696,0,8, { tex_index = 353, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 -60 , tex_offset_y = baseY -44 , hurtbox = pat:get_frame(307,0,6).hurtbox }) pat:update_frame(696,0,9, { tex_index = 353, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 -60 , tex_offset_y = baseY -44 , hurtbox = pat:get_frame(307,0,6).hurtbox }) pat:update_frame(696,0,10, { tex_index = 353, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 -60 , tex_offset_y = baseY -44 , hurtbox = pat:get_frame(307,0,6).hurtbox }) pat:update_frame(696,0,11, { tex_index = 353, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 -60 , tex_offset_y = baseY -44 , hurtbox = pat:get_frame(307,0,6).hurtbox }) pat:update_frame(696,0,12, { tex_index = 353, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 -60 , tex_offset_y = baseY -44 , hurtbox = pat:get_frame(307,0,6).hurtbox }) pat:update_frame(696,0,13, { tex_index = 349, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -4 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(302,0,8).hurtbox }) pat:update_frame(696,0,14, { tex_index = 348, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -4 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(302,0,9).hurtbox }) pat:update_frame(697,0,0, { tex_index = 348, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -4 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(302,0,0).hurtbox}) pat:update_frame(697,0,1, { tex_index = 349, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -4 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(302,0,1).hurtbox}) pat:update_frame(697,0,2, { tex_index = 250, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 +50, tex_offset_y = baseY +64 , hurtbox = pat:get_frame(302,0,3).hurtbox }) pat:update_frame(697,1,0, { tex_index = 250, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 +50, tex_offset_y = baseY +64 , hurtbox = pat:get_frame(302,0,3).hurtbox }) pat:update_frame(697,1,1, { tex_index = 250, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 +50, tex_offset_y = baseY +64 , hurtbox = pat:get_frame(302,0,3).hurtbox }) pat:update_frame(697,2,0, { tex_index = 350, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 +20, tex_offset_y = baseY +80 , hurtbox = pat:get_frame(302,0,4).hurtbox }) pat:update_frame(697,2,1, { tex_index = 351, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 -20 , tex_offset_y = baseY +92 , hurtbox = pat:get_frame(302,0,5).hurtbox }) pat:update_frame(697,3,0, { tex_index = 352, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 -60 , tex_offset_y = baseY -44 , hurtbox = pat:get_frame(302,0,6).hurtbox , attackbox = pat:get_frame(302,0,6).attackbox }) pat:update_frame(697,3,0,function(frame) frame.hit_ani_air = 74 frame.hit_ani_ground = 74 frame.combo_correction = CC_SMASH_ATTACK end) pat:update_frame(697,3,1, { tex_index = 353, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 -60 , tex_offset_y = baseY -44 , hurtbox = pat:get_frame(307,0,6).hurtbox , attackbox = pat:get_frame(300,0,0).attackbox , fflags = pat:get_frame(697,3,2).fflags }) pat:update_frame(697,3,2, { tex_index = 353, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 -60 , tex_offset_y = baseY -44 , hurtbox = pat:get_frame(307,0,6).hurtbox }) pat:update_frame(697,3,3, { tex_index = 353, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 -60 , tex_offset_y = baseY -44 , hurtbox = pat:get_frame(307,0,6).hurtbox }) pat:update_frame(697,3,4, { tex_index = 353, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 -60 , tex_offset_y = baseY -44 , hurtbox = pat:get_frame(307,0,6).hurtbox }) pat:update_frame(697,3,5, { tex_index = 353, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 -60 , tex_offset_y = baseY -44 , hurtbox = pat:get_frame(307,0,6).hurtbox }) pat:update_frame(697,3,6, { tex_index = 353, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 -60 , tex_offset_y = baseY -44 , hurtbox = pat:get_frame(307,0,6).hurtbox }) pat:update_frame(697,4,0, { tex_index = 349, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -4 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(302,0,8).hurtbox }) pat:update_frame(697,4,1, { tex_index = 348, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -4 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(302,0,9).hurtbox }) pat:update_frame(698,0,0, { tex_index = 348, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -4 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(302,0,0).hurtbox}) pat:update_frame(698,0,1, { tex_index = 349, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -4 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(302,0,1).hurtbox}) pat:update_frame(698,0,2, { tex_index = 250, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 +50, tex_offset_y = baseY +64 , hurtbox = pat:get_frame(302,0,3).hurtbox }) pat:update_frame(698,1,0, { tex_index = 350, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 +20, tex_offset_y = baseY +80 , hurtbox = pat:get_frame(302,0,4).hurtbox }) pat:update_frame(698,1,1, { tex_index = 351, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 -20 , tex_offset_y = baseY +92 , hurtbox = pat:get_frame(302,0,5).hurtbox }) pat:update_frame(698,2,0, { tex_index = 352, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 -60 , tex_offset_y = baseY -44 , hurtbox = pat:get_frame(302,0,6).hurtbox , attackbox = pat:get_frame(302,0,6).attackbox }) pat:update_frame(698,2,0,function(frame) frame.hit_ani_air = 74 frame.hit_ani_ground = 74 frame.combo_correction = CC_SMASH_ATTACK end) pat:update_frame(698,2,1, { tex_index = 353, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 -60 , tex_offset_y = baseY -44 , hurtbox = pat:get_frame(307,0,6).hurtbox , attackbox = pat:get_frame(300,0,0).attackbox , fflags = pat:get_frame(698,2,2).fflags }) pat:update_frame(698,2,2, { tex_index = 353, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 -60 , tex_offset_y = baseY -44 , hurtbox = pat:get_frame(307,0,6).hurtbox }) pat:update_frame(698,2,3, { tex_index = 353, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 -60 , tex_offset_y = baseY -44 , hurtbox = pat:get_frame(307,0,6).hurtbox }) pat:update_frame(698,2,4, { tex_index = 353, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 -60 , tex_offset_y = baseY -44 , hurtbox = pat:get_frame(307,0,6).hurtbox }) pat:update_frame(698,2,5, { tex_index = 353, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 -60 , tex_offset_y = baseY -44 , hurtbox = pat:get_frame(307,0,6).hurtbox }) pat:update_frame(698,2,6, { tex_index = 353, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 -60 , tex_offset_y = baseY -44 , hurtbox = pat:get_frame(307,0,6).hurtbox }) pat:update_frame(698,3,0, { tex_index = 349, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -4 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(302,0,8).hurtbox }) pat:update_frame(698,3,1, { tex_index = 348, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -4 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(302,0,9).hurtbox }) end function mods.zofis_5b(pat) local baseX = 76 local baseY = 195 local baseDur = 6 --char anim pat:update_frame(400,2,0,{duration = 4-2}) pat:update_frame(400,2,1,{duration = 4-3}) pat:update_frame(400,2,2,{duration = 4-3}) pat:update_frame(404,2,0,{duration = 4-2}) pat:update_frame(404,2,1,{duration = 4-3}) pat:update_frame(404,2,2,{duration = 4-3}) pat:split_frame(400,0,2,3,7) pat:update_frame(400,0,0, { tex_index = 30 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(400,0,1, { tex_index = 31 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -16 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(0,0,0).hurtbox}) pat:update_frame(400,0,2, { tex_index = 32 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -2 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(400,0,3, { tex_index = 33 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +2 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(400,1,0, { tex_index = 33 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +2 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(400,2,0, { tex_index = 34 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(400,2,1).hurtbox}) pat:update_frame(400,2,0,function(frame) frame.hurtbox[3].y1 = frame.hurtbox[3].y1 - 20 frame.hurtbox[3].y2 = frame.hurtbox[3].y2 - 20 frame.hurtbox[1].y1 = pat:get_frame(0,0,0).hurtbox[1].y1 end) pat:update_frame(400,2,1, { tex_index = 34 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(400,2,0).hurtbox}) pat:update_frame(400,2,2, { tex_index = 34 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(400,2,0).hurtbox}) pat:update_frame(400,2,3, { tex_index = 34 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(400,2,0).hurtbox}) pat:update_frame(400,2,4, { tex_index = 34 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(400,2,0).hurtbox , duration = 4+10+5}) pat:update_frame(400,2,5, { tex_index = 32 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -2 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(0,0,0).hurtbox}) pat:update_frame(400,2,6, { tex_index = 31 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -16 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 15-11}) pat:update_frame(400,2,7, { tex_index = 35 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 4-2}) pat:update_frame(400,2,8, { tex_index = 35 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 4-3}) pat:remove_frame(400,2,2) pat:split_frame(404,0,2,3,7) pat:update_frame(404,0,0, { tex_index = 30 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(0,0,0).hurtbox}) pat:update_frame(404,0,0,function(frame) frame.hurtbox[1].y2 = frame.hurtbox[1].y2 - 30 end) pat:update_frame(404,0,1, { tex_index = 31 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -16 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(404,0,0).hurtbox}) pat:update_frame(404,0,2, { tex_index = 32 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -2 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(404,0,0).hurtbox}) pat:update_frame(404,0,3, { tex_index = 33 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +2 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(404,0,0).hurtbox}) pat:update_frame(404,1,0, { tex_index = 33 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +2 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(404,0,0).hurtbox}) pat:update_frame(404,2,0, { tex_index = 34 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(400,2,0).hurtbox}) pat:update_frame(404,2,0,function(frame) frame.hurtbox[2].y2 = frame.hurtbox[2].y2 - 30 end) pat:update_frame(404,2,1, { tex_index = 34 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(404,2,0).hurtbox}) pat:update_frame(404,2,2, { tex_index = 34 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(404,2,0).hurtbox}) pat:update_frame(404,2,3, { tex_index = 34 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(404,2,0).hurtbox}) pat:update_frame(404,2,4, { tex_index = 34 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(404,2,0).hurtbox , duration = 4+10+5}) pat:update_frame(404,2,5, { tex_index = 32 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -2 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(404,0,0).hurtbox}) pat:update_frame(404,2,6, { tex_index = 31 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -16 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(404,0,0).hurtbox , duration = 15-11}) pat:update_frame(404,2,7, { tex_index = 35 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(404,0,0).hurtbox , duration = 4-2}) pat:update_frame(404,2,8, { tex_index = 35 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(404,0,0).hurtbox , duration = 4-3}) pat:update_frame(404,3,0, { tex_index = 205 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY -62 , hurtbox = pat:get_frame(1,0,2).hurtbox}) pat:update_frame(404,3,1, { tex_index = 248 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY -34 , hurtbox = pat:get_frame(1,0,1).hurtbox}) pat:update_frame(404,3,2, { tex_index = 247 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY -14 , hurtbox = pat:get_frame(3,0,2).hurtbox }) pat:remove_frame(404,2,2) for idx = 0 , 69 do pat:split_frame(800,0,0,1,1) end for idx = 0 , 14 do pat:update_frame(800,0,idx,function(frame) frame.blending_mode = 0 frame.tex_index = 60 frame.tex_w = 120 frame.tex_h = 120 frame.tex_offset_x = 38+6*idx -0 frame.tex_offset_y = 32 frame.scale_x = 200 frame.scale_y = 200 idxa = idx if (idx <= 8) then if (idxa > 6) then idxa = 6 end else idxa = 14-idx frame.tex_offset_y = 35 frame.tex_index = 61 end frame.color_r = 255 * idxa/6 frame.color_g = 255 * idxa/6 frame.color_b = 255 * idxa/6 frame.attackbox[1] = null if (idx > 4) then frame.attackbox[1] = pat:get_frame(0,0,0).hurtbox[1] frame.attackbox[1].x1 = -20 frame.attackbox[1].x2 = 20 frame.attackbox[1].y1 = -30 frame.attackbox[1].y2 = 30 frame.attackbox[1].x1 = frame.attackbox[1].x1 - (12*idx) +0 frame.attackbox[1].x2 = frame.attackbox[1].x2 - (12*idx) +0 frame.attack_level = AL_MEDIUM frame.blockstop_enemy = 2 frame.hitstop_enemy = 5 frame.sp_damage = 25 --frame.aflags = 0x00430c0e --frame.hit_ani_air = 71 frame.damage = 100 frame.launch_vector_x = 1200 frame.launch_vector_y = 1200 end end) end for idx = 15 , 70 do pat:update_frame(800,0,idx,function(frame) frame.blending_mode = 1 frame.tex_index = 200 frame.tex_offset_x = 32+(10*14 +20 -4*idx)*.5 frame.tex_offset_y = 32 frame.attackbox[1].x1 = frame.attackbox[1].x1 - (10*14+20 -4*idx) -15 frame.attackbox[1].x2 = frame.attackbox[1].x2 - (10*14+20 -4*idx) frame.scale_x = 200 frame.scale_y = 25 frame.color_r = 255 frame.color_g = 255 frame.color_b = 255 frame.tex_w = 64 frame.tex_h = 64 frame.attack_level = AL_MEDIUM frame.blockstop_enemy = 10 frame.hitstop_enemy = 10 frame.sp_damage = 50 --frame.aflags = 0x00430c0e --frame.hit_ani_air = 71 frame.damage = 200 frame.launch_vector_x = 600 frame.launch_vector_y = 1200 if (idx == 70) then frame.duration = 120 end end) end pat:update_frame(800,1,0,function(frame) frame.tex_w = 0 end) pat:update_frame(800,2,0,function(frame) frame.tex_w = 0 end) pat:update_frame(800,3,0,function(frame) frame.tex_w = 0 end) pat:update_frame(800,4,0,function(frame) frame.tex_index = 200 frame.tex_w = 0 frame.tex_h = 64 frame.tex_offset_x = 32 frame.tex_offset_y = 32 frame.scale_x = 100 frame.scale_y = 100 frame.color_r = 125 frame.color_g = 125 end) pat:update_frame(800,5,0,function(frame) frame.tex_index = 200 frame.tex_w = 0 frame.tex_h = 64 frame.tex_offset_x = 32 frame.tex_offset_y = 32 frame.scale_x = 100 frame.scale_y = 100 frame.color_r = 125 frame.color_g = 125 end) pat:update_frame(800,6,0,function(frame) frame.tex_w = 0 end) pat:update_frame(800,7,0,function(frame) frame.tex_w = 0 end) end function mods.zofis_2b(pat) local baseX = 76 local baseY = 195 local baseDur = 6 --char anim pat:update_frame(402,0,0, { tex_index = 232 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -18 , tex_offset_y = baseY -72 , duration = 2}) pat:update_frame(402,0,0,function(frame) frame.hurtbox[1].y1 = frame.hurtbox[1].y1 + 20 frame.hurtbox[2].x1 = frame.hurtbox[2].x1 - 20 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 + 20 end) pat:update_frame(402,0,1, { tex_index = 233 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -18 , tex_offset_y = baseY -58 , duration = 3}) pat:update_frame(402,0,1,function(frame) frame.hurtbox[2].x1 = frame.hurtbox[2].x1 - 20 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 + 20 end) pat:update_frame(402,0,2, { tex_index = 234 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -18 , tex_offset_y = baseY -62 , hurtbox = pat:get_frame(402,0,1).hurtbox , duration = 3}) pat:update_frame(402,0,3, { tex_index = 234 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -18 , tex_offset_y = baseY -62 , hurtbox = pat:get_frame(402,0,1).hurtbox , duration = 5 }) pat:update_frame(402,0,4, { tex_index = 235 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -18 , tex_offset_y = baseY -62 , hurtbox = pat:get_frame(402,0,1).hurtbox , duration = 2+3 }) pat:update_frame(402,0,5, { tex_index = 236 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -18 , tex_offset_y = baseY -54 , hurtbox = pat:get_frame(402,0,1).hurtbox , duration = 2 }) pat:update_frame(402,0,6, { tex_index = 236 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -18 , tex_offset_y = baseY -54 , hurtbox = pat:get_frame(402,0,1).hurtbox , duration = 2 }) pat:update_frame(402,0,7, { tex_index = 236 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -18 , tex_offset_y = baseY -54 , hurtbox = pat:get_frame(402,0,1).hurtbox , duration = 5 +10}) pat:update_frame(402,0,8, { tex_index = 237 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -58 , duration = 5}) pat:update_frame(402,0,8,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 - 20 end) pat:split_frame(402,0,8,2,2) pat:update_frame(402,0,9, { tex_index = 238 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY -70 , hurtbox = pat:get_frame(402,0,8).hurtbox , duration = 5}) pat:update_frame(406,0,0, { tex_index = 30 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 2}) pat:update_frame(406,0,1, { tex_index = 31 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -16 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 3}) pat:update_frame(406,0,2, { tex_index = 32 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -2 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 3}) pat:update_frame(406,0,3, { tex_index = 33 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +2 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 5}) pat:update_frame(406,0,4, { tex_index = 34 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(400,2,0).hurtbox , duration = 2}) pat:update_frame(406,0,5, { tex_index = 32 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -2 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 2}) pat:update_frame(406,0,6, { tex_index = 32 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -2 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 2}) pat:update_frame(406,0,7, { tex_index = 32 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -2 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 15+10}) pat:update_frame(406,0,8, { tex_index = 31 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -16 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(0,0,0).hurtbox}) pat:split_frame(406,0,8,2,2) pat:update_frame(406,0,9, { tex_index = 35 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(0,0,0).hurtbox}) pat:update_frame(406,1,0, { tex_index = 205 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY -62 , hurtbox = pat:get_frame(1,0,2).hurtbox}) pat:update_frame(406,1,1, { tex_index = 248 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY -34 , hurtbox = pat:get_frame(1,0,1).hurtbox}) pat:update_frame(406,1,2, { tex_index = 247 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY -14 , hurtbox = pat:get_frame(3,0,2).hurtbox }) for idx = 0 , 9 do if (idx == 4) then pat:update_frame(406,0,idx,function(frame) frame.hurtbox[2].y2 = frame.hurtbox[2].y2 - 30 end) else pat:update_frame(406,0,idx,function(frame) frame.hurtbox[1].y2 = frame.hurtbox[1].y2 - 30 end) end end for idx = 0 , 69 do pat:split_frame(802,0,0,1,1) end for idx = 0 , 14 do pat:update_frame(802,0,idx,function(frame) frame.blending_mode = 0 frame.tex_index = 60 frame.tex_w = 120 frame.tex_h = 120 frame.tex_offset_x = 38+10*idx -30 frame.tex_offset_y = 32 frame.scale_x = 200 frame.scale_y = 200 idxa = idx if (idx <= 8) then if (idxa > 6) then idxa = 6 end else idxa = 14-idx frame.tex_offset_y = 35 frame.tex_index = 61 end frame.color_r = 255 * idxa/6 frame.color_g = 255 * idxa/6 frame.color_b = 255 * idxa/6 frame.attackbox[1] = null if (idx > 4) then frame.attackbox[1] = pat:get_frame(0,0,0).hurtbox[1] frame.attackbox[1].x1 = -20 frame.attackbox[1].x2 = 20 frame.attackbox[1].y1 = -30 frame.attackbox[1].y2 = 30 frame.attackbox[1].x1 = frame.attackbox[1].x1 - (20*idx) +60 frame.attackbox[1].x2 = frame.attackbox[1].x2 - (20*idx) +60 frame.attack_level = AL_MEDIUM frame.blockstop_enemy = 2 frame.hitstop_enemy = 2 frame.sp_damage = 25 --frame.aflags = 0x00430c0e --frame.hit_ani_air = 71 frame.damage = 100 frame.launch_vector_x = 1200 frame.launch_vector_y = 1200 end end) end for idx = 15 , 70 do pat:update_frame(802,0,idx,function(frame) frame.blending_mode = 1 frame.tex_index = 200 frame.tex_offset_x = 32+(12*14 +40 -4*idx)*.5 frame.tex_offset_y = 32 frame.attackbox[1].x1 = frame.attackbox[1].x1 - (12*14 +40 -4*idx) -10 frame.attackbox[1].x2 = frame.attackbox[1].x2 - (12*14 +40 -4*idx) frame.scale_x = 200 frame.scale_y = 25 frame.color_r = 255 frame.color_g = 255 frame.color_b = 255 frame.tex_w = 64 frame.tex_h = 64 frame.attack_level = AL_MEDIUM frame.blockstop_enemy = 10 frame.hitstop_enemy = 10 frame.sp_damage = 50 --frame.aflags = 0x00430c0e --frame.hit_ani_air = 71 frame.damage = 200 frame.launch_vector_x = 1200 frame.launch_vector_y = 1200 if (idx == 70) then frame.duration = 120 end end) end pat:update_frame(802,1,0,function(frame) frame.tex_w = 0 end) pat:update_frame(802,2,0,function(frame) frame.tex_w = 0 end) pat:update_frame(802,3,0,function(frame) frame.tex_w = 0 end) pat:update_frame(802,4,0,function(frame) frame.tex_index = 200 frame.tex_w = 0 frame.tex_h = 64 frame.tex_offset_x = 32 frame.tex_offset_y = 32 frame.scale_x = 100 frame.scale_y = 100 frame.color_r = 125 frame.color_g = 125 end) pat:update_frame(802,5,0,function(frame) frame.tex_index = 200 frame.tex_w = 0 frame.tex_h = 64 frame.tex_offset_x = 32 frame.tex_offset_y = 32 frame.scale_x = 100 frame.scale_y = 100 frame.color_r = 125 frame.color_g = 125 end) pat:update_frame(802,6,0,function(frame) frame.tex_w = 0 end) pat:update_frame(802,7,0,function(frame) frame.tex_index = 200 frame.tex_w = 64 frame.tex_h = 64 frame.tex_offset_x = 32 frame.tex_offset_y = 32 frame.scale_x = 100 frame.scale_y = 100 frame.color_r = 125 frame.color_g = 125 end) end function mods.zofis_6b(pat) pat:update_frame(401,0,2,{duration = 7-3}) --pat:update_frame(405,0,2,{duration = 6-3}) pat:update_frame(401,2,1,{duration = 4-2}) pat:update_frame(401,2,2,{duration = 4-2}) pat:update_frame(405,2,1,{duration = 4-2}) pat:update_frame(405,2,2,{duration = 4-2}) local baseX = 76 local baseY = 195 local baseDur = 6 --char anim pat:split_frame(401,0,2,3,3) pat:update_frame(401,0,0, { tex_index = 30 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 3 - 1}) pat:update_frame(401,0,1, { tex_index = 31 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -16 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 4 - 2}) pat:update_frame(401,0,2, { tex_index = 32 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -2 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 4 - 2}) pat:update_frame(401,0,3, { tex_index = 33 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +2 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 2 + 5 -1}) pat:update_frame(401,1,0, { tex_index = 33 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +2 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(0,0,0).hurtbox}) pat:update_frame(401,2,0, { tex_index = 34 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(400,2,0).hurtbox , duration = 4 - 3}) pat:update_frame(401,2,1, { tex_index = 34 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(400,2,0).hurtbox}) pat:update_frame(401,2,2, { tex_index = 34 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(400,2,0).hurtbox}) pat:update_frame(401,2,3, { tex_index = 34 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(400,2,0).hurtbox , duration = 4+4 +2-2}) pat:update_frame(401,2,4, { tex_index = 34 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(400,2,0).hurtbox , duration = 4+6}) pat:update_frame(401,2,5, { tex_index = 32 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -2 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(0,0,0).hurtbox}) pat:update_frame(401,2,6, { tex_index = 31 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -16 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 15-11}) pat:update_frame(401,2,7, { tex_index = 35 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 4-2}) pat:update_frame(401,2,8, { tex_index = 35 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 4-3}) pat:split_frame(405,0,2,3,3) pat:update_frame(405,0,0, { tex_index = 30 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(404,0,0).hurtbox , duration = 3}) pat:update_frame(405,0,1, { tex_index = 31 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -16 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(404,0,0).hurtbox , duration = 4 - 2}) pat:update_frame(405,0,2, { tex_index = 32 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -2 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(404,0,0).hurtbox , duration = 2}) pat:update_frame(405,0,3, { tex_index = 33 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +2 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(404,0,0).hurtbox , duration = 7 - 1 + 4 -4}) pat:update_frame(405,1,0, { tex_index = 33 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +2 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(404,0,0).hurtbox}) pat:update_frame(405,2,0, { tex_index = 34 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(404,2,0).hurtbox , duration = 4 - 3}) pat:update_frame(405,2,1, { tex_index = 34 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(404,2,0).hurtbox}) pat:update_frame(405,2,2, { tex_index = 34 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(404,2,0).hurtbox}) pat:update_frame(405,2,3, { tex_index = 34 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(404,2,0).hurtbox , duration = 4+4 +2-2}) pat:update_frame(405,2,4, { tex_index = 34 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(404,2,0).hurtbox , duration = 4+6}) pat:update_frame(405,2,5, { tex_index = 32 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -2 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(404,0,0).hurtbox}) pat:update_frame(405,2,6, { tex_index = 31 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -16 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(404,0,0).hurtbox , duration = 15-11}) pat:update_frame(405,2,7, { tex_index = 35 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(404,0,0).hurtbox , duration = 4-2}) pat:update_frame(405,2,8, { tex_index = 35 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(404,0,0).hurtbox , duration = 4-3}) pat:update_frame(405,3,0, { tex_index = 205 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY -62 , hurtbox = pat:get_frame(1,0,2).hurtbox}) pat:update_frame(405,3,1, { tex_index = 248 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY -34 , hurtbox = pat:get_frame(1,0,1).hurtbox}) pat:update_frame(405,3,2, { tex_index = 247 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY -14 , hurtbox = pat:get_frame(3,0,2).hurtbox }) pat:update_frame(401,2,4,function(frame) set_fflag(frame,FF_MOTION_CANCEL) end) pat:update_frame(405,2,4,function(frame) set_fflag(frame,FF_MOTION_CANCEL) end) for idx = 0 , 29 do pat:split_frame(801,0,0,1,1) end for idx = 0 , 30 do pat:update_frame(801,0,idx,function(frame) frame.blending_mode = 0 frame.tex_index = 62 + (idx/2)%2 frame.tex_w = 120 frame.tex_h = 120 frame.tex_offset_x = 38 frame.tex_offset_y = 29 frame.scale_x = 200 frame.scale_y = 200 frame.color_r = 150 frame.color_g = 150 frame.color_b = 150 frame.blockstop_self = 0 frame.blockstop_enemy = 2 frame.hitstop_self = 0 frame.hitstop_enemy = 2 frame.limit = 5 frame.sp_damage = 30 frame.damage = 100 frame.proration = 970 frame.untech = 35 frame.launch_vector_y = 1200 frame.launch_vector_x = 600 --frame.aflags = 0x0041040f --frame.aflags = 0x00430c0e --frame.aflags = 0x0142140e frame.attackbox[2].x1 = frame.attackbox[2].x1 - 30 frame.attackbox[2].y1 = frame.attackbox[2].y1 - 20 frame.attackbox[2].y2 = frame.attackbox[2].y2 + 20 frame.tex_offset_x = frame.tex_offset_x + idx*idx/5 for idx2 = 1 , 3 do frame.attackbox[idx2].x1 = frame.attackbox[idx2].x1 - idx*idx/5*2 frame.attackbox[idx2].x2 = frame.attackbox[idx2].x2 - idx*idx/5*2 end idxa = idx if (idx <= 24) then if (idxa > 6) then idxa = 6 end else idxa = 30-idx end frame.color_r = 255 * idxa/6 frame.color_g = 255 * idxa/6 frame.color_b = 255 * idxa/6 if (idx == 30) then frame.duration = 120 frame.attackbox[3]=null frame.attackbox[2]=null frame.attackbox[1]=null frame.tex_w = 0 end end) end pat:update_frame(801,1,0,function(frame) frame.tex_w = 0 end) pat:update_frame(801,2,0,function(frame) frame.tex_index = 200 frame.tex_w = 0 frame.tex_h = 64 frame.tex_offset_x = 32 frame.tex_offset_y = 32 frame.scale_x = 100 frame.scale_y = 100 frame.color_r = 125 frame.color_g = 125 end) pat:update_frame(801,3,0,function(frame) frame.tex_w = 0 end) pat:update_frame(801,4,0,function(frame) frame.tex_index = 200 frame.tex_w = 64 frame.tex_h = 64 frame.tex_offset_x = 32 frame.tex_offset_y = 32 frame.scale_x = 100 frame.scale_y = 100 frame.color_r = 125 frame.color_g = 125 end) pat:update_frame(801,5,0,function(frame) frame.tex_index = 200 frame.tex_w = 64 frame.tex_h = 64 frame.tex_offset_x = 32 frame.tex_offset_y = 32 frame.scale_x = 100 frame.scale_y = 100 frame.color_r = 125 frame.color_g = 125 end) pat:update_frame(801,6,0,function(frame) frame.tex_w = 0 end) end function mods.zofis_2c(pat) local baseX = 76 local baseY = 195 local baseDur = 6 --char anim --char anim --[[ pat:update_frame(412,0,0, { tex_index = 232 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -18 , tex_offset_y = baseY -72 , hurtbox = pat:get_frame(402,0,0).hurtbox}) pat:update_frame(412,0,1, { tex_index = 233 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -18 , tex_offset_y = baseY -58 , hurtbox = pat:get_frame(402,0,1).hurtbox}) pat:update_frame(412,0,2, { tex_index = 234 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -18 , tex_offset_y = baseY -62 , hurtbox = pat:get_frame(402,0,1).hurtbox}) pat:update_frame(412,0,3, { tex_index = 234 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -18 , tex_offset_y = baseY -62 , hurtbox = pat:get_frame(402,0,1).hurtbox}) pat:update_frame(412,1,0, { tex_index = 234 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -18 , tex_offset_y = baseY -62 , hurtbox = pat:get_frame(402,0,1).hurtbox}) pat:update_frame(412,1,1, { tex_index = 234 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -18 , tex_offset_y = baseY -62 , hurtbox = pat:get_frame(402,0,1).hurtbox}) pat:update_frame(412,2,0, { tex_index = 235 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -18 , tex_offset_y = baseY -62 , hurtbox = pat:get_frame(402,0,1).hurtbox}) pat:update_frame(412,2,1, { tex_index = 236 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -18 , tex_offset_y = baseY -54 , hurtbox = pat:get_frame(402,0,1).hurtbox}) pat:update_frame(412,2,2, { tex_index = 236 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -18 , tex_offset_y = baseY -54 , hurtbox = pat:get_frame(402,0,1).hurtbox}) pat:update_frame(412,2,3, { tex_index = 236 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -18 , tex_offset_y = baseY -54 , hurtbox = pat:get_frame(402,0,1).hurtbox , duration = 5}) pat:update_frame(412,2,4, { tex_index = 237 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -58 , hurtbox = pat:get_frame(402,0,8).hurtbox , duration = 5}) pat:update_frame(412,2,5, { tex_index = 238 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY -70 , hurtbox = pat:get_frame(402,0,8).hurtbox , duration = 5}) pat:remove_frame(412,2,6) pat:update_frame(412,2,5,function(frame) set_fflag(frame,FF_CROUCHING) unset_fflag(frame,FF_STANDING) end)]]-- pat:update_frame(412,0,0, { tex_index = 30 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(400,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision}) pat:update_frame(412,0,1, { tex_index = 31 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -16 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(400,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision}) pat:update_frame(412,0,2, { tex_index = 32 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -2 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(400,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision}) pat:update_frame(412,0,3, { tex_index = 33 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +2 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(400,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision}) pat:update_frame(412,1,0, { tex_index = 33 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +2 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(400,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision}) pat:update_frame(412,1,1, { tex_index = 33 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +2 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(400,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision}) pat:update_frame(412,2,0, { tex_index = 33 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +2 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(400,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision}) pat:update_frame(412,2,1, { tex_index = 34 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(400,2,0).hurtbox , collision = pat:get_frame(0,0,0).collision}) pat:update_frame(412,2,2, { tex_index = 34 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(400,2,0).hurtbox , collision = pat:get_frame(0,0,0).collision}) pat:update_frame(412,2,3, { tex_index = 34 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(400,2,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 14}) pat:update_frame(412,2,4, { tex_index = 32 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -2 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(400,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 5}) pat:update_frame(412,2,5, { tex_index = 31 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -16 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(400,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision}) pat:update_frame(412,2,6, { tex_index = 35 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(400,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2}) pat:update_frame(416,0,0, { tex_index = 30 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(404,0,0).hurtbox}) pat:update_frame(416,0,1, { tex_index = 31 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -16 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(404,0,0).hurtbox}) pat:update_frame(416,0,2, { tex_index = 32 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -2 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(404,0,0).hurtbox}) pat:update_frame(416,0,3, { tex_index = 33 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +2 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(404,0,0).hurtbox}) pat:update_frame(416,1,0, { tex_index = 33 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +2 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(404,0,0).hurtbox}) pat:update_frame(416,1,1, { tex_index = 33 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +2 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(404,0,0).hurtbox}) pat:update_frame(416,2,0, { tex_index = 33 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +2 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(404,0,0).hurtbox}) pat:update_frame(416,2,1, { tex_index = 34 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(404,2,0).hurtbox}) pat:update_frame(416,2,2, { tex_index = 34 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(404,2,0).hurtbox}) pat:update_frame(416,2,3, { tex_index = 34 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(404,2,0).hurtbox}) pat:update_frame(416,2,4, { tex_index = 32 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -2 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(404,0,0).hurtbox}) pat:update_frame(416,2,5, { tex_index = 31 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -16 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(404,0,0).hurtbox}) pat:update_frame(416,2,6, { tex_index = 35 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(404,0,0).hurtbox , duration = 2}) pat:update_frame(416,2,7, { tex_index = 35 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(404,0,0).hurtbox , duration = 1}) pat:update_frame(416,3,0, { tex_index = 205 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY -62 , hurtbox = pat:get_frame(1,0,2).hurtbox}) pat:update_frame(416,3,1, { tex_index = 248 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY -34 , hurtbox = pat:get_frame(1,0,1).hurtbox}) pat:update_frame(416,3,2, { tex_index = 247 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY -14 , hurtbox = pat:get_frame(3,0,2).hurtbox }) for idx = 0 , 3 do pat:update_frame(412,0,idx,function(frame) unset_fflag(frame,FF_CROUCHING) set_fflag(frame,FF_STANDING) end) end for idx = 0 , 1 do pat:update_frame(412,1,idx,function(frame) unset_fflag(frame,FF_CROUCHING) set_fflag(frame,FF_STANDING) end) end for idx = 0 , 6 do pat:update_frame(412,2,idx,function(frame) unset_fflag(frame,FF_CROUCHING) set_fflag(frame,FF_STANDING) end) end pat:split_frame(808,0,0,4,4) pat:split_frame(808,0,0,4,4) pat:split_frame(808,0,0,4,4) for idx = 0 , 3 do pat:update_frame(808,0,idx,function(frame) frame.blending_mode = 0 frame.tex_index = 64 + idx frame.tex_w = 120 frame.tex_h = 120 frame.tex_offset_x = 40 frame.tex_offset_y = 50 frame.scale_x = 120 frame.scale_y = 120 end) end pat:split_frame(808,1,0,2,2) for idx = 0 , 1 do pat:update_frame(808,1,idx,function(frame) frame.blending_mode = 0 frame.tex_index = 71 + idx frame.tex_w = 120 frame.tex_h = 120 frame.tex_offset_x = 37 frame.tex_offset_y = 54 frame.scale_x = 120 frame.scale_y = 120 frame.duration = 5 end) end pat:update_frame(808,4,0,function(frame) frame.tex_index = 200 frame.tex_w = 64 frame.tex_h = 64 frame.tex_offset_x = 32 frame.tex_offset_y = 32 frame.scale_x = 100 frame.scale_y = 100 frame.color_r = 125 frame.color_g = 125 end) pat:update_frame(808,6,0,function(frame) frame.tex_index = 200 frame.tex_w = 64 frame.tex_h = 64 frame.tex_offset_x = 32 frame.tex_offset_y = 32 frame.scale_x = 100 frame.scale_y = 100 frame.color_r = 125 frame.color_g = 125 end) pat:update_frame(808,7,0,function(frame) frame.tex_index = 200 frame.tex_w = 64 frame.tex_h = 64 frame.tex_offset_x = 32 frame.tex_offset_y = 32 frame.scale_x = 100 frame.scale_y = 100 frame.color_r = 125 frame.color_g = 125 end) end function mods.zofis_214(pat) local baseX = 76 local baseY = 195 local baseDur = 6 for idx = 0 , 1 do pat:update_frame(520 + idx,0,0,{duration = 3-1}) pat:update_frame(520 + idx,0,1,{duration = 3-1}) pat:update_frame(520 + idx,0,2,{duration = 3-1}) pat:update_frame(520 + idx,0,3,{duration = 3-1}) pat:update_frame(520 + idx,0,6,{duration = 5-3}) pat:update_frame(520 + idx,0,7,{duration = 3-1}) pat:remove_frame(520 + idx,0,8) pat:update_frame(520 + idx,2,0,{duration = 4-3}) pat:update_frame(520 + idx,2,1,{duration = 4-3}) pat:update_frame(520 + idx,2,2,{duration = 4-3}) pat:update_frame(520 + idx,2,3,{duration = 4-3}) pat:update_frame(520 + idx,2,4,{duration = 4-3}) pat:update_frame(520 + idx,2,5,{duration = 10-9}) pat:update_frame(520 + idx,2,6,{duration = 6+10}) for idx2 = 6 , 8 do pat:update_frame(520 + idx,2,idx2,function(frame) set_fflag(frame,FF_MOTION_CANCEL) end) end pat:update_frame(520 + idx,3,0,{duration = 4-3}) pat:update_frame(520 + idx,3,1,{duration = 4-3}) pat:update_frame(520 + idx,3,2,{duration = 4-3}) pat:update_frame(520 + idx,3,3,{duration = 4-3}) pat:update_frame(520 + idx,3,4,{duration = 4-3}) pat:update_frame(520 + idx,3,5,{duration = 10-9}) pat:update_frame(520 + idx,3,6,{duration = 6+10}) pat:update_frame(520 + idx,0,0, { tex_index = 1 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(300,0,0).hurtbox , duration = 4}) pat:update_frame(520 + idx,0,1, { tex_index = 160, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX +32 , tex_offset_y = baseY +14 , hurtbox = pat:get_frame(300,0,0).hurtbox , duration = 4}) pat:update_frame(520 + idx,0,2, { tex_index = 349, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -4 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(302,0,8).hurtbox , duration = 2 }) pat:update_frame(520 + idx,0,3, { tex_index = 349, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -4 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(302,0,8).hurtbox , duration = 2 }) pat:update_frame(520 + idx,0,4, { tex_index = 36 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -0, tex_offset_y = baseY -2 , hurtbox = pat:get_frame(408,0,3).hurtbox , duration = 2}) pat:update_frame(520 + idx,0,5, { tex_index = 36 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -0, tex_offset_y = baseY -2 , hurtbox = pat:get_frame(408,0,3).hurtbox , duration = 2}) pat:update_frame(520 + idx,0,6, { tex_index = 37 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -12, tex_offset_y = baseY -4 , hurtbox = pat:get_frame(408,0,3).hurtbox , duration = 2}) pat:update_frame(520 + idx,0,7, { tex_index = 37 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -12, tex_offset_y = baseY -4 , hurtbox = pat:get_frame(408,0,3).hurtbox , duration = 2}) pat:update_frame(520 + idx,1,0, { tex_index = 38 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -0, tex_offset_y = baseY -6 , hurtbox = pat:get_frame(408,0,3).hurtbox }) pat:update_frame(520 + idx,1,1, { tex_index = 39 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -12, tex_offset_y = baseY -2 , hurtbox = pat:get_frame(408,0,3).hurtbox }) pat:update_frame(520 + idx,1,2, { tex_index = 40 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -0, tex_offset_y = baseY -4 , hurtbox = pat:get_frame(408,0,3).hurtbox }) pat:update_frame(520 + idx,1,3, { tex_index = 41 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -12, tex_offset_y = baseY -6 , hurtbox = pat:get_frame(408,0,3).hurtbox }) pat:update_frame(520 + idx,1,4, { tex_index = 36 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -0, tex_offset_y = baseY -2 , hurtbox = pat:get_frame(408,0,3).hurtbox }) pat:update_frame(520 + idx,1,5, { tex_index = 37 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -12, tex_offset_y = baseY -4 , hurtbox = pat:get_frame(408,0,3).hurtbox }) pat:remove_frame(520 + idx,1,7) pat:remove_frame(520 + idx,1,6) for idx0 = 6 , 13 do pat:split_frame(520 + idx,1,5,4,4) end for idx0 = 7 , 13 do pat:add_particle_info(520 + idx,1,idx0) end pat:update_frame(520 + idx,1,6, { tex_index = 37 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -12, tex_offset_y = baseY -4 , hurtbox = pat:get_frame(408,0,3).hurtbox }) pat:update_frame(520 + idx,1,7, { scale_x = 200 , scale_y = 200 , angle_y = 180 , tex_index = 38 , tex_h = 120 , tex_w = 120 , tex_offset_x = (baseX -0)/2, tex_offset_y = (baseY -6)/2 , hurtbox = pat:get_frame(408,0,3).hurtbox }) pat:update_frame(520 + idx,1,8, { scale_x = 200 , scale_y = 200 , angle_y = 180 , tex_index = 39 , tex_h = 120 , tex_w = 120 , tex_offset_x = (baseX -12)/2, tex_offset_y = (baseY -2)/2 , hurtbox = pat:get_frame(408,0,3).hurtbox }) pat:update_frame(520 + idx,1,9, { scale_x = 200 , scale_y = 200 , angle_y = 180 , tex_index = 40 , tex_h = 120 , tex_w = 120 , tex_offset_x = (baseX -0)/2, tex_offset_y = (baseY -4)/2 , hurtbox = pat:get_frame(408,0,3).hurtbox }) pat:update_frame(520 + idx,1,10, { scale_x = 200 , scale_y = 200 , angle_y = 180 , tex_index = 41 , tex_h = 120 , tex_w = 120 , tex_offset_x = (baseX -12)/2, tex_offset_y = (baseY -6)/2 , hurtbox = pat:get_frame(408,0,3).hurtbox }) pat:update_frame(520 + idx,1,11, { scale_x = 200 , scale_y = 200 , angle_y = 180 , tex_index = 36 , tex_h = 120 , tex_w = 120 , tex_offset_x = (baseX -0)/2, tex_offset_y = (baseY -2)/2 , hurtbox = pat:get_frame(408,0,3).hurtbox }) pat:update_frame(520 + idx,1,12, { scale_x = 200 , scale_y = 200 , angle_y = 180 , tex_index = 37 , tex_h = 120 , tex_w = 120 , tex_offset_x = (baseX -12)/2, tex_offset_y = (baseY -4)/2 , hurtbox = pat:get_frame(408,0,3).hurtbox }) pat:update_frame(520 + idx,1,13, { scale_x = 200 , scale_y = 200 , angle_y = 180 , tex_index = 37 , tex_h = 120 , tex_w = 120 , tex_offset_x = (baseX -12)/2, tex_offset_y = (baseY -4)/2 , hurtbox = pat:get_frame(408,0,3).hurtbox }) pat:update_frame(520 + idx,2,0, { tex_index = 198 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +52 , tex_offset_y = baseY -20 , hurtbox = pat:get_frame(50,0,0).hurtbox , duration = 4}) pat:update_frame(520 + idx,2,1, { tex_index = 197 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +52 , tex_offset_y = baseY -26 , hurtbox = pat:get_frame(50,0,0).hurtbox , duration = 1}) pat:update_frame(520 + idx,2,2, { tex_index = 197 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +52 , tex_offset_y = baseY -26 , hurtbox = pat:get_frame(50,0,0).hurtbox }) pat:update_frame(520 + idx,2,3, { tex_index = 197 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +52 , tex_offset_y = baseY -26 , hurtbox = pat:get_frame(50,0,0).hurtbox }) pat:update_frame(520 + idx,2,4, { tex_index = 197 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +52 , tex_offset_y = baseY -26 , hurtbox = pat:get_frame(50,0,0).hurtbox }) pat:update_frame(520 + idx,2,5, { tex_index = 197 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +52 , tex_offset_y = baseY -26 , hurtbox = pat:get_frame(50,0,0).hurtbox }) pat:update_frame(520 + idx,2,6, { tex_index = 197 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +52 , tex_offset_y = baseY -26 , hurtbox = pat:get_frame(50,0,0).hurtbox }) pat:update_frame(520 + idx,2,7, { tex_index = 197 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +52 , tex_offset_y = baseY -26 , hurtbox = pat:get_frame(50,0,0).hurtbox , duration = 2}) pat:update_frame(520 + idx,2,8, { tex_index = 199 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +20 , tex_offset_y = baseY -16 , hurtbox = pat:get_frame(50,0,4).hurtbox , duration = 4}) pat:update_frame(520 + idx,3,0, { tex_index = 38 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -0, tex_offset_y = baseY -6 , hurtbox = pat:get_frame(408,0,3).hurtbox , duration = 3 }) pat:update_frame(520 + idx,3,1, { tex_index = 38 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -0, tex_offset_y = baseY -6 , hurtbox = pat:get_frame(408,0,3).hurtbox , duration = 3 }) pat:update_frame(520 + idx,3,2, { tex_index = 39 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -12, tex_offset_y = baseY -2 , hurtbox = pat:get_frame(408,0,3).hurtbox , duration = 3 }) pat:update_frame(520 + idx,3,3, { tex_index = 39 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -12, tex_offset_y = baseY -2 , hurtbox = pat:get_frame(408,0,3).hurtbox , duration = 3 }) pat:update_frame(520 + idx,3,4, { tex_index = 40 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -0, tex_offset_y = baseY -4 , hurtbox = pat:get_frame(408,0,3).hurtbox , duration = 4 }) pat:update_frame(520 + idx,3,5, { tex_index = 40 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -0, tex_offset_y = baseY -4 , hurtbox = pat:get_frame(408,0,3).hurtbox , duration = 4 }) pat:update_frame(520 + idx,3,6, { tex_index = 41 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -12, tex_offset_y = baseY -6 , hurtbox = pat:get_frame(408,0,3).hurtbox , duration = 4}) pat:update_frame(520 + idx,3,7, { tex_index = 41 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -12, tex_offset_y = baseY -6 , hurtbox = pat:get_frame(408,0,3).hurtbox , duration = 4}) pat:update_frame(520 + idx,3,8, { tex_index = 349, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -4 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(302,0,8).hurtbox , duration = 2 }) pat:update_frame(520 + idx,3,9, { tex_index = 349, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -4 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(302,0,8).hurtbox , duration = 2 }) pat:split_frame(520 + idx,3,9,2,2) pat:split_frame(520 + idx,3,9,2,2) pat:update_frame(520 + idx,3,10, { tex_index = 348, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -4 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(302,0,9).hurtbox , duration = 2 }) pat:update_frame(520 + idx,3,11, { tex_index = 348, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -4 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(302,0,9).hurtbox , duration = 2 }) for idx2 = 3 , 5 do pat:update_frame(520 + idx,3,idx2,function(frame) set_fflag(frame,FF_MOTION_CANCEL) end) end end for idx = 0 , 0 do pat:update_frame(815,5,idx,function(frame) frame.tex_index = 64 frame.tex_w = 0 frame.tex_h = 120 frame.tex_offset_x = 40 frame.tex_offset_y = 29 frame.scale_x = 100 frame.scale_y = 100 set_aflag(frame,AF_PROJECTILE) --frame.launch_vector_y = 1450 end) pat:update_frame(815,6,idx,function(frame) frame.tex_index = 64 frame.tex_w = 0 frame.tex_h = 120 frame.tex_offset_x = 40 frame.tex_offset_y = 29 frame.scale_x = 100 frame.scale_y = 100 set_aflag(frame,AF_PROJECTILE) --frame.launch_vector_y = 1450 frame.sp_damage = 75 frame.damage = 400 frame.limit = 10 frame.chip_damage = 40 frame.hitstop_self = 10 frame.blockstop_self = 10 frame.blockstop_enemy = 10 end) pat:update_frame(815,7,idx,function(frame) frame.tex_index = 64 frame.tex_w = 0 frame.tex_h = 120 frame.tex_offset_x = 40 frame.tex_offset_y = 29 frame.scale_x = 100 frame.scale_y = 100 frame.blockstop_enemy = 10 set_aflag(frame,AF_PROJECTILE) frame.launch_vector_y = 1450 frame.sp_damage = 75 frame.damage = 400 frame.limit = 10 frame.chip_damage = 40 frame.hitstop_self = 10 frame.blockstop_self = 10 frame.blockstop_enemy = 10 end) end for idx = 4 , 14 do pat:remove_frame(815,0,4) end for idx = 0 , 3 do pat:update_frame(815,0,idx,function(frame) frame.blending_mode = 0 frame.tex_w = 120 frame.tex_h = 120 frame.tex_offset_x = 38 frame.tex_offset_y = 29 frame.scale_x = 240 frame.scale_y = 240 frame.duration = 4 end) end pat:update_frame(815,0,0,function(frame) frame.tex_index = 68 end) pat:update_frame(815,0,1,function(frame) frame.tex_index = 69 end) pat:update_frame(815,0,2,function(frame) frame.tex_index = 68 end) pat:update_frame(815,0,3,function(frame) frame.tex_index = 70 end) for idx = 0 , 9 do pat:split_frame(815,3,0,1,1) end for idx = 0 , 10 do pat:update_frame(815,3,idx,function(frame) frame.tex_index = 117 + idx%11 frame.scale_x = 100 frame.scale_y = 100 frame.tex_offset_x = 85 frame.tex_offset_y = 69 frame.tex_w = 0 frame.tex_h = 128 frame.duration = 1 end) end pat:update_frame(815,4,0,function(frame) frame.tex_index = 200 frame.tex_w = 64 frame.tex_h = 64 frame.tex_offset_x = 32 frame.tex_offset_y = 32 frame.scale_x = 600 frame.scale_y = 600 frame.color_r = 125 frame.color_g = 125 end) pat:update_frame(815,4,1,function(frame) frame.tex_index = 200 frame.tex_w = 64 frame.tex_h = 64 frame.tex_offset_x = 32 frame.tex_offset_y = 32 frame.scale_x = 450 frame.scale_y = 450 frame.color_r = 125 frame.color_g = 125 end) pat:update_frame(815,2,0,function(frame) frame.tex_index = 200 frame.tex_w = 64 frame.tex_h = 64 frame.tex_offset_x = 32 frame.tex_offset_y = 32 frame.scale_x = 100 frame.scale_y = 100 frame.color_r = 125 frame.color_g = 125 end) pat:update_frame(815,8,0,function(frame) frame.tex_index = 200 frame.tex_w = 64 frame.tex_h = 64 frame.tex_offset_x = 32 frame.tex_offset_y = 32 frame.scale_x = 100 frame.scale_y = 100 frame.color_r = 125 frame.color_g = 125 end) pat:update_frame(815,9,0,function(frame) frame.tex_index = 200 frame.tex_w = 64 frame.tex_h = 64 frame.tex_offset_x = 32 frame.tex_offset_y = 32 frame.scale_x = 100 frame.scale_y = 100 frame.color_r = 125 frame.color_g = 125 end) end function mods.d22(pat) local baseX = 76 local baseY = 195 local baseDur = 6 --char anim pat:update_frame(540,0,0, { tex_index = 30 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 3}) pat:update_frame(540,0,1, { tex_index = 31 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -16 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 3}) pat:update_frame(540,0,2, { tex_index = 32 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -2 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 3}) pat:update_frame(540,0,3, { tex_index = 33 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +2 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 4+3}) pat:update_frame(540,1,0, { tex_index = 33 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +2 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(0,0,0).hurtbox}) pat:update_frame(540,1,1, { tex_index = 33 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +2 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(0,0,0).hurtbox}) pat:update_frame(540,2,0, { tex_index = 33 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +2 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(0,0,0).hurtbox}) pat:update_frame(540,2,1, { tex_index = 34 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(400,2,0).hurtbox}) pat:update_frame(540,2,2, { tex_index = 34 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(400,2,0).hurtbox}) pat:update_frame(540,2,3, { tex_index = 34 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(400,2,0).hurtbox}) pat:update_frame(540,2,4, { tex_index = 32 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -2 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(0,0,0).hurtbox}) pat:update_frame(540,2,5, { tex_index = 31 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -16 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 4}) pat:update_frame(540,2,6, { tex_index = 35 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 2}) pat:update_frame(540,2,7, { tex_index = 35 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 2}) pat:update_frame(541,0,0, { tex_index = 30 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 3}) pat:update_frame(541,0,1, { tex_index = 31 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -16 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 3}) pat:update_frame(541,0,2, { tex_index = 32 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -2 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 3}) pat:update_frame(541,0,3, { tex_index = 33 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +2 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 4+3}) pat:update_frame(541,1,0, { tex_index = 33 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +2 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(0,0,0).hurtbox}) pat:update_frame(541,1,1, { tex_index = 33 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +2 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(0,0,0).hurtbox}) pat:update_frame(541,2,0, { tex_index = 33 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +2 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(0,0,0).hurtbox}) pat:update_frame(541,2,1, { tex_index = 34 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(400,2,0).hurtbox}) pat:update_frame(541,2,2, { tex_index = 34 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(400,2,0).hurtbox}) pat:update_frame(541,2,3, { tex_index = 34 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(400,2,0).hurtbox}) pat:update_frame(541,2,4, { tex_index = 32 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -2 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(0,0,0).hurtbox}) pat:update_frame(541,2,5, { tex_index = 31 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -16 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 4}) pat:update_frame(541,2,6, { tex_index = 35 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 2}) pat:update_frame(541,2,7, { tex_index = 35 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 2}) pat:get_sequence(820,5):set_looped(false) for idx = 3 , 150 do pat:split_frame(820,5,0,1,1) end for idx = 0 , 150 do pat:update_frame(820,5,idx,function(frame) frame.duration = 1 frame.blending_mode = 1 frame.tex_index = 71 + idx%2 frame.tex_w = 120 frame.tex_h = 120 frame.tex_offset_x = 37 frame.tex_offset_y = 54 frame.scale_x = 400 frame.scale_y = 400 frame.color_r = 200 frame.color_g = 200 frame.color_b = 200 if (idx >= 105) then frame.color_r = 200*(110-idx)/5 frame.color_g = 200*(110-idx)/5 frame.color_b = 200*(110-idx)/5 end local spritemod = .25 frame.attackbox[2]=null frame.attackbox[1].y1 = frame.attackbox[1].y1 - 20 -90 frame.attackbox[1].x1 = frame.attackbox[1].x1 + 30 -60 frame.attackbox[1].x2 = frame.attackbox[1].x2 - 30 +40 frame.attackbox[1].y2 = frame.attackbox[1].y2 - 20 +20 local ymod = 2.5*idx if (idx >= 55) then ymod = ymod -2.5*(idx-55)*(idx-55) end frame.tex_offset_y = frame.tex_offset_y - (ymod)*spritemod frame.attackbox[1].y1 = frame.attackbox[1].y1 + (ymod) frame.attackbox[1].y2 = frame.attackbox[1].y2 + (ymod) local idxa = 0 if (idx < 800) then idxa = idx*5 - idx*idx/10 else idxa = 0 end local ymod = -0 + 5*idx frame.tex_offset_x = frame.tex_offset_x - (ymod)*spritemod frame.attackbox[1].x1 = frame.attackbox[1].x1 + (ymod) frame.attackbox[1].x2 = frame.attackbox[1].x2 + (ymod) if (idx > 110) then frame.attackbox[1]=null end end) end pat:update_frame(820,11,0,function(frame) frame.attackbox[2]=null frame.attackbox[1]=null frame.tex_w = 0 end) for idx = 1 , 14 do pat:remove_frame(820,10,1) pat:remove_frame(820,0,1) end pat:update_frame(820,10,0,function(frame) frame.tex_w = 0 end) pat:update_frame(820,0,0,function(frame) frame.tex_w = 0 end) pat:update_frame(820,9,0,function(frame) frame.tex_w = 0 end) pat:update_frame(820,8,0,function(frame) frame.tex_w = 0 end) pat:update_frame(820,7,0,function(frame) frame.attackbox[1]=null frame.tex_w = 0 end) pat:update_frame(820,6,0,function(frame) frame.attackbox[1]=null frame.tex_w = 0 end) pat:update_frame(820,4,0,function(frame) frame.tex_w = 0 end) pat:update_frame(820,4,1,function(frame) frame.tex_w = 0 end) pat:update_frame(820,3,0,function(frame) frame.tex_w = 0 end) pat:update_frame(820,2,0,function(frame) frame.tex_w = 0 end) pat:update_frame(820,1,0,function(frame) frame.tex_w = 0 end) pat:update_frame(820,1,1,function(frame) frame.tex_w = 0 end) end function mods.d236(pat) local baseX = 76 local baseY = 195 local baseDur = 6 local baseY2 = 46 local baseX2 = 12 local idx = 0 pat:update_frame(500 + idx,0,0, { tex_index = 348, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -4 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(302,0,9).hurtbox , duration = 3 }) pat:update_frame(500 + idx,0,1, { tex_index = 349, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -4 -20 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(307,0,0).hurtbox , duration = 3 }) pat:update_frame(500 + idx,0,2, { tex_index = 250, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 +50, tex_offset_y = baseY +64 , hurtbox = pat:get_frame(302,0,2).hurtbox , duration = 4 }) pat:update_frame(500 + idx,0,3, { tex_index = 250, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 +50, tex_offset_y = baseY +64 , hurtbox = pat:get_frame(302,0,2).hurtbox , duration = 4 }) pat:update_frame(500 + idx,1,0, { tex_index = 250, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 +50, tex_offset_y = baseY +64 , hurtbox = pat:get_frame(302,0,2).hurtbox , duration = 3 }) pat:update_frame(500 + idx,1,1, { tex_index = 250, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 +50, tex_offset_y = baseY +64 , hurtbox = pat:get_frame(302,0,2).hurtbox , duration = 3 }) --pat:update_frame(500 + idx,2,0, { tex_index = 250, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 +50, tex_offset_y = baseY +64 , hurtbox = pat:get_frame(302,0,2).hurtbox , duration = 3 }) pat:update_frame(500 + idx,2,0, { tex_index = 350, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 -20, tex_offset_y = baseY +80 , hurtbox = pat:get_frame(302,0,4).hurtbox , duration = 3 }) pat:update_frame(500 + idx,2,1, { tex_index = 351, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 -40 , tex_offset_y = baseY +82 , hurtbox = pat:get_frame(302,0,5).hurtbox , duration = 3 }) pat:update_frame(500 + idx,2,2, { tex_index = 352, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 -60 , tex_offset_y = baseY -44 , hurtbox = pat:get_frame(302,0,6).hurtbox , duration = 3 }) pat:update_frame(500 + idx,2,3, { tex_index = 353, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 -60 , tex_offset_y = baseY -44 , hurtbox = pat:get_frame(302,0,7).hurtbox , duration = 8 }) pat:update_frame(500 + idx,2,4, { tex_index = 353, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 -60 , tex_offset_y = baseY -44 , hurtbox = pat:get_frame(302,0,7).hurtbox , duration = 11 }) pat:update_frame(500 + idx,2,4,function(frame) set_fflag(frame,FF_MOTION_CANCEL) end) pat:split_frame(500 + idx,3,0,3,3) pat:split_frame(500 + idx,3,0,3,3) pat:split_frame(500 + idx,3,0,3,3) pat:update_frame(500 + idx,3,0, { tex_index = 250, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 +50, tex_offset_y = baseY +64 , hurtbox = pat:get_frame(302,0,1).hurtbox , duration = 3 }) pat:update_frame(500 + idx,3,1, { tex_index = 350, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 -20, tex_offset_y = baseY +80 , hurtbox = pat:get_frame(302,0,4).hurtbox , duration = 3 }) pat:update_frame(500 + idx,3,2, { tex_index = 351, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 -40 , tex_offset_y = baseY +82 , hurtbox = pat:get_frame(302,0,5).hurtbox , duration = 3 }) pat:update_frame(500 + idx,3,3, { tex_index = 352, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 -60 , tex_offset_y = baseY -44 , hurtbox = pat:get_frame(302,0,6).hurtbox , duration = 3 }) pat:update_frame(500 + idx,3,4, { tex_index = 353, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 -60 , tex_offset_y = baseY -44 , hurtbox = pat:get_frame(302,0,7).hurtbox , duration = 16 }) pat:update_frame(500 + idx,4,0, { tex_index = 351, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 -40 , tex_offset_y = baseY +82 , hurtbox = pat:get_frame(302,0,5).hurtbox , duration = 3 }) pat:update_frame(500 + idx,4,1, { tex_index = 352, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 -60 , tex_offset_y = baseY -44 , hurtbox = pat:get_frame(302,0,6).hurtbox , duration = 3 }) pat:update_frame(500 + idx,4,0, { tex_index = 353, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 -60 , tex_offset_y = baseY -44 , hurtbox = pat:get_frame(302,0,7).hurtbox , duration = 2 }) pat:update_frame(500 + idx,4,1, { tex_index = 353, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 -60 , tex_offset_y = baseY -44 , hurtbox = pat:get_frame(302,0,7).hurtbox , duration = 2 }) pat:update_frame(500 + idx,4,2, { tex_index = 353, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 -60 , tex_offset_y = baseY -44 , hurtbox = pat:get_frame(302,0,7).hurtbox , duration = 3+20 }) pat:update_frame(500 + idx,4,3, { tex_index = 349, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -4 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(302,0,0).hurtbox , duration = 3 }) pat:update_frame(500 + idx,4,4, { tex_index = 348, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -4 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(302,0,9).hurtbox , duration = 3 }) pat:update_frame(500 + idx,5,0, { tex_index = 250, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 +50, tex_offset_y = baseY +64 , hurtbox = pat:get_frame(302,0,2).hurtbox , duration = 5 }) pat:update_frame(500 + idx,5,1, { tex_index = 349, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -4 -20 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(307,0,0).hurtbox , duration = 3 }) pat:update_frame(500 + idx,5,2, { tex_index = 349, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -4 -20 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(307,0,0).hurtbox , duration = 3 }) pat:update_frame(500 + idx,5,3, { tex_index = 348, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -4 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(302,0,9).hurtbox , duration = 4 }) local idx = 2 pat:update_frame(500 + idx,0,0, { tex_index = 348, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -4 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(302,0,9).hurtbox , duration = 3 }) pat:update_frame(500 + idx,0,1, { tex_index = 349, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -4 -20 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(307,0,0).hurtbox , duration = 3 }) pat:update_frame(500 + idx,0,2, { tex_index = 250, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 , tex_offset_y = baseY +94 , hurtbox = pat:get_frame(307,0,1).hurtbox , duration = 4 }) pat:update_frame(500 + idx,0,3, { tex_index = 250, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 , tex_offset_y = baseY +94 , hurtbox = pat:get_frame(307,0,1).hurtbox , duration = 4 }) pat:update_frame(500 + idx,1,0, { tex_index = 250, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 , tex_offset_y = baseY +94 , hurtbox = pat:get_frame(307,0,1).hurtbox , duration = 3 }) pat:update_frame(500 + idx,1,1, { tex_index = 250, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 , tex_offset_y = baseY +94 , hurtbox = pat:get_frame(307,0,1).hurtbox , duration = 3 }) --pat:update_frame(500 + idx,2,0, { tex_index = 250, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 , tex_offset_y = baseY +94 , hurtbox = pat:get_frame(307,0,1).hurtbox , duration = 3 }) pat:update_frame(500 + idx,2,0, { tex_index = 350, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 -0, tex_offset_y = baseY +80 +10 , hurtbox = pat:get_frame(307,0,4).hurtbox , duration = 3 }) pat:update_frame(500 + idx,2,1, { tex_index = 351, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 -0 , tex_offset_y = baseY +82 +10 , hurtbox = pat:get_frame(307,0,5).hurtbox , duration = 3 }) pat:update_frame(500 + idx,2,2, { tex_index = 352, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 -0 , tex_offset_y = baseY -44 +10 , hurtbox = pat:get_frame(307,0,6).hurtbox , duration = 3 }) pat:update_frame(500 + idx,2,3, { tex_index = 353, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 -0 , tex_offset_y = baseY -44 +10 , hurtbox = pat:get_frame(307,0,7).hurtbox , duration = 8 }) pat:update_frame(500 + idx,2,4, { tex_index = 353, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 -0 , tex_offset_y = baseY -44 +10 , hurtbox = pat:get_frame(307,0,7).hurtbox , duration = 11 }) pat:update_frame(500 + idx,2,4,function(frame) set_fflag(frame,FF_MOTION_CANCEL) end) pat:split_frame(500 + idx,3,0,3,3) pat:split_frame(500 + idx,3,0,3,3) pat:split_frame(500 + idx,3,0,3,3) pat:update_frame(500 + idx,3,0, { tex_index = 250, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 , tex_offset_y = baseY +94 , hurtbox = pat:get_frame(307,0,1).hurtbox , duration = 3 }) pat:update_frame(500 + idx,3,1, { tex_index = 350, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 -0, tex_offset_y = baseY +80 +10 , hurtbox = pat:get_frame(307,0,4).hurtbox , duration = 3 }) pat:update_frame(500 + idx,3,2, { tex_index = 351, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 -0 , tex_offset_y = baseY +82 +10 , hurtbox = pat:get_frame(307,0,5).hurtbox , duration = 3 }) pat:update_frame(500 + idx,3,3, { tex_index = 352, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 -0 , tex_offset_y = baseY -44 +10 , hurtbox = pat:get_frame(307,0,6).hurtbox , duration = 6 }) pat:update_frame(500 + idx,3,4, { tex_index = 353, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 -0 , tex_offset_y = baseY -44 +10 , hurtbox = pat:get_frame(307,0,7).hurtbox , duration = 16 }) pat:update_frame(500 + idx,4,0, { tex_index = 351, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 -0 , tex_offset_y = baseY +82 +10 , hurtbox = pat:get_frame(307,0,5).hurtbox , duration = 3 }) pat:update_frame(500 + idx,4,1, { tex_index = 352, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 -0 , tex_offset_y = baseY -44 +10 , hurtbox = pat:get_frame(307,0,6).hurtbox , duration = 3 }) pat:update_frame(500 + idx,4,0, { tex_index = 353, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 -0 , tex_offset_y = baseY -44 +10 , hurtbox = pat:get_frame(307,0,7).hurtbox , duration = 2 }) pat:update_frame(500 + idx,4,1, { tex_index = 353, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 -0 , tex_offset_y = baseY -44 +10 , hurtbox = pat:get_frame(307,0,7).hurtbox , duration = 2 }) pat:update_frame(500 + idx,4,2, { tex_index = 353, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 -0 , tex_offset_y = baseY -44 +10 , hurtbox = pat:get_frame(307,0,7).hurtbox , duration = 3+20 }) pat:update_frame(500 + idx,4,3, { tex_index = 349, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -4 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(307,0,0).hurtbox , duration = 3 }) pat:update_frame(500 + idx,4,4, { tex_index = 348, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -4 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(302,0,9).hurtbox , duration = 3 }) pat:update_frame(500 + idx,4,4, { tex_index = 205 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY +baseY2/2 -32 , hurtbox = pat:get_frame(6,1,4).hurtbox , duration = 3}) pat:remove_frame(500 + idx,4,5) pat:update_frame(500 + idx,5,0, { tex_index = 250, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 +50, tex_offset_y = baseY +64 , hurtbox = pat:get_frame(302,0,2).hurtbox , duration = 5 }) pat:update_frame(500 + idx,5,1, { tex_index = 349, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -4 -20 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(307,0,0).hurtbox , duration = 3 }) pat:update_frame(500 + idx,5,2, { tex_index = 349, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -4 -20 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(307,0,0).hurtbox , duration = 3 }) pat:update_frame(500 + idx,5,3, { tex_index = 348, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -4 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(302,0,9).hurtbox , duration = 4 }) pat:update_frame(500 + idx,0,0, { tex_index = 349, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -4 -20 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(307,0,0).hurtbox , duration = 3 }) pat:update_frame(500 + idx,0,1, { tex_index = 250, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 , tex_offset_y = baseY +94 , hurtbox = pat:get_frame(307,0,1).hurtbox , duration = 3 }) pat:update_frame(500 + idx,6,0, { tex_index = 205 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY -62 , hurtbox = pat:get_frame(1,0,2).hurtbox}) pat:update_frame(500 + idx,6,1, { tex_index = 248 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY -34 , hurtbox = pat:get_frame(1,0,1).hurtbox}) pat:update_frame(500 + idx,6,2, { tex_index = 247 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY -14 , hurtbox = pat:get_frame(3,0,2).hurtbox }) pat:get_sequence(810,5):set_priority(20,0) pat:get_sequence(810,5):set_looped(false) pat:update_frame(810,6,0,{tex_w = 0 , attackbox = pat:get_frame(0,0,0).attackbox}) for idx = 0 , 249 do pat:split_frame(810,5,0,1,1) end for idx = 0 , 250 do pat:update_frame(810,5,idx,function(frame) if (idx%3 == 0) then frame.tex_index = 87 frame.tex_offset_x = 123 frame.tex_offset_y = 127 elseif (idx%3 == 1) then frame.tex_index = 178 frame.tex_offset_x = 128 frame.tex_offset_y = 128 elseif (idx%3 == 2) then frame.tex_index = 179 frame.tex_offset_x = 128 frame.tex_offset_y = 128 end frame.tex_w = 256 frame.tex_h = 256 --frame.angle_z = frame.angle_z + 30*idx frame.scale_x = 50 frame.scale_y = 50 frame.attackbox[1].x1 = frame.attackbox[1].x1 - 40 frame.attackbox[1].x2 = frame.attackbox[1].x2 - 40 frame.attackbox[1].y1 = frame.attackbox[1].y1 - 30 frame.attackbox[1].y2 = frame.attackbox[1].y2 + 30 frame.launch_vector_x = 1000 frame.launch_vector_y = 1500 --frame.blockstop_enemy = 10 local scalemod = 100/frame.scale_x local ymod = 0 -25*idx + .5*idx*idx +30 local xmod = 80 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) frame.hurtbox[1] = frame.attackbox[1] frame.hit_sfx = 4 frame.damage = 400 frame.chip_damage = 35 frame.limit = 10 frame.proration = 920 frame.sp_damage = 50 if (idx == 250) then --frame.duration = 400 end end) end pat:update_frame(810,1,0,function(frame) frame.tex_w = 0 end) pat:update_frame(810,1,1,function(frame) frame.tex_w = 0 end) for idx = 0 , 9 do pat:split_frame(810,3,0,1,1) end for idx = 0 , 10 do pat:update_frame(810,3,idx,function(frame) frame.tex_index = 117 + idx%11 frame.scale_x = 100 frame.scale_y = 100 frame.tex_offset_x = 85 frame.tex_offset_y = 69 frame.tex_w = 128 frame.tex_h = 128 frame.duration = 1 end) end pat:update_frame(810,3,0,function(frame) --frame.tex_w = 0 end) pat:update_frame(810,4,0,function(frame) frame.tex_w = 0 end) pat:update_frame(810,4,1,function(frame) frame.tex_w = 0 end) for idx = 0 , 9 do pat:split_frame(810,8,0,1,1) pat:split_frame(810,9,0,1,1) end for idx = 0 , 10 do pat:update_frame(810,8,idx,function(frame) frame.tex_index = 117 + idx%11 frame.scale_x = 100 frame.scale_y = 100 frame.tex_offset_x = 85 frame.tex_offset_y = 69 frame.tex_w = 128 frame.tex_h = 128 frame.duration = 1 end) pat:update_frame(810,9,idx,function(frame) frame.tex_index = 117 + idx%11 frame.scale_x = 100 frame.scale_y = 100 frame.tex_offset_x = 85 frame.tex_offset_y = 69 frame.tex_w = 128 frame.tex_h = 128 frame.duration = 1 end) end for idx = 11,14 do pat:remove_frame(810,0,0) end for idx = 0 , 10 do pat:update_frame(810,0,idx,function(frame) frame.tex_index = 117 + idx%11 frame.scale_x = 150 frame.scale_y = 150 frame.tex_offset_x = 85 +45 frame.tex_offset_y = 69 -0 frame.tex_w = 128 frame.tex_h = 128 frame.duration = 1 end) end pat:update_frame(810,2,0,function(frame) frame.color_r = 255 frame.color_g = 0 frame.color_b = 0 end) pat:update_frame(810,10,0,function(frame) frame.color_r = 255 frame.color_g = 128 frame.color_b = 128 end) pat:update_frame(810,10,1,function(frame) frame.color_r = 255 frame.color_g = 128 frame.color_b = 128 end) end function mods.d623(pat) local baseX = 76 local baseY = 195 local baseDur = 6 for idx0 = 0 , 3 do pat:split_frame(560+idx0,0,3,2,2) pat:split_frame(560+idx0,0,3,2,2) pat:split_frame(560+idx0,0,3,2,2) pat:split_frame(560+idx0,0,3,2,2) pat:update_frame(560+idx0,0,0,function(frame) frame.duration = 5 end) pat:update_frame(560+idx0,0,1,function(frame) frame.duration = 5 end) pat:update_frame(560+idx0,0,2,function(frame) frame.duration = 6 end) pat:update_frame(560+idx0,0,3,function(frame) frame.duration = 2 end) pat:update_frame(560+idx0,0,4,function(frame) frame.duration = 3 set_fflag(frame,FF_CANCEL) end) pat:update_frame(560+idx0,0,5,function(frame) frame.duration = 3 set_fflag(frame,FF_CANCEL) end) pat:update_frame(560+idx0,0,6,function(frame) frame.duration = 3 set_fflag(frame,FF_CANCEL) end) pat:update_frame(560+idx0,0,7,function(frame) frame.duration = 3 set_fflag(frame,FF_CANCEL) end) local idx3 = 0 if (idx0 > 1) then idx3 = 4 end pat:update_frame(560+idx0,0,0, { tex_index = 247 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY -14 , hurtbox = pat:get_frame(410+idx3,0,0).hurtbox}) pat:update_frame(560+idx0,0,1, { tex_index = 240 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -16 , hurtbox = pat:get_frame(410+idx3,0,1).hurtbox}) pat:update_frame(560+idx0,0,2, { tex_index = 241 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(410+idx3,0,2).hurtbox}) pat:update_frame(560+idx0,0,3, { tex_index = 242 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(410+idx3,0,3).hurtbox}) pat:update_frame(560+idx0,0,4, { tex_index = 243 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +4 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(410+idx3,0,4).hurtbox}) pat:update_frame(560+idx0,0,5, { tex_index = 244 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +4 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(410+idx3,0,4).hurtbox}) pat:update_frame(560+idx0,0,6, { tex_index = 243 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +4 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(410+idx3,0,4).hurtbox}) pat:update_frame(560+idx0,0,7, { tex_index = 244 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +4 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(410+idx3,0,4).hurtbox}) pat:update_frame(560+idx0,1,0, { tex_index = 243 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +4 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(410+idx3,0,4).hurtbox}) pat:update_frame(560+idx0,1,1, { tex_index = 244 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +4 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(410+idx3,0,4).hurtbox}) pat:update_frame(560+idx0,2,0, { tex_index = 245 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(410+idx3,0,13).hurtbox}) if (idx0 > 1) then pat:split_frame(560+idx0,3,1,2,2) pat:update_frame(560+idx0,3,0, { tex_index = 205 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY -62 , hurtbox = pat:get_frame(1,0,2).hurtbox , duration = 4}) pat:update_frame(560+idx0,3,1, { tex_index = 248 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY -34 , hurtbox = pat:get_frame(1,0,1).hurtbox , duration = 4}) pat:update_frame(560+idx0,3,2, { tex_index = 247 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY -14 , hurtbox = pat:get_frame(3,0,2).hurtbox , duration = 4 }) end for idx = 1 , 2 do for idx2 = 0 , 2 do if (idx == 1 and idx2 == 2) then else pat:update_frame(560+idx0,idx,idx2,function(frame) set_fflag(frame,FF_MOTION_CANCEL) end) end end end pat:remove_frame(560+idx0,2,2) pat:remove_frame(560+idx0,2,1) end pat:update_frame(825,1,0,function(frame) frame.tex_w = 0 end) pat:update_frame(825,2,0,function(frame) frame.tex_w = 0 end) pat:update_frame(825,3,0,function(frame) frame.tex_w = 0 end) pat:update_frame(825,4,0,function(frame) --frame.tex_w = 0 frame.color_r = 255 frame.color_g = 0 frame.color_b = 0 end) for idx = 0 , 50 do pat:split_frame(825,0,0,1,1) end pat:get_sequence(825,0):set_priority(10,0) for idx = 0 , 50 do pat:update_frame(825,0,idx,function(frame) set_aflag(frame,AF_UNREFLECTABLE) frame.tex_index = 117 + idx%11 frame.scale_x = 200 frame.scale_y = 200 frame.tex_offset_x = 85 frame.tex_offset_y = 69 frame.tex_w = 128 frame.tex_h = 128 frame.duration = 1 if (idx > 40) then local alph = 255-25*(idx-40) frame.color_r = alph frame.color_g = alph frame.color_b = alph end frame.attackbox[1].x1 = frame.attackbox[1].x1 + 30 frame.attackbox[1].x2 = frame.attackbox[1].x2 - 30 frame.attackbox[1].y1 = frame.attackbox[1].y1 + 30 frame.attackbox[1].y2 = frame.attackbox[1].y2 - 30 local scalemod = 100/frame.scale_x local ymod = 0 local xmod = 12.5*idx +40 if (idx>15) then xmod = 12.5*15 +2*(idx-15) +40 end xmod = 12.5*idx - idx*idx*0.15 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 > 49) then frame.tex_w = 0 frame.attackbox = pat:get_frame(0,0,0).attackbox frame.duration = 20 end frame.launch_vector_x = 2000 frame.launch_vector_y = 1450 frame.hitstop_self = 0 frame.hitstop_enemy = 0 frame.blockstop_self = 0 frame.blockstop_enemy = 0 frame.sp_damage = 40 frame.damage = 250 frame.chip_damage = 25 frame.proration = 950 frame.attack_level = AL_HEAVY frame.untech = 45 frame.limit = 10 end) end end function mods.icecharge(pat) local baseX = 76 local baseY = 195 local baseDur = 6 for idx = 0 , 3 do pat:split_frame(525 + idx,0,0,2,2) pat:split_frame(525 + idx,0,0,2,2) pat:split_frame(525 + idx,0,0,2,2) pat:split_frame(525 + idx,0,0,2,2) pat:update_frame(525 + idx,0,0, { tex_index = 247 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY -14 , hurtbox = pat:get_frame(1,0,0).hurtbox , duration = 2 }) pat:update_frame(525 + idx,0,1, { tex_index = 248 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY -34 , hurtbox = pat:get_frame(1,0,1).hurtbox , duration = 2}) pat:update_frame(525 + idx,0,2, { tex_index = 145 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -46 , hurtbox = pat:get_frame(201,0,1).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 4 }) if (idx == 1 ) then pat:update_frame(525 + idx,0,2,{duration = 4+4}) end if (idx == 3 ) then pat:update_frame(525 + idx,0,2,{duration = 4+4}) end pat:update_frame(525 + idx,0,3, { tex_index = 146 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -46 , hurtbox = pat:get_frame(201,0,1).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 2 }) pat:update_frame(525 + idx,0,4, { tex_index = 147 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -46 , hurtbox = pat:get_frame(201,0,1).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 2 }) pat:update_frame(525 + idx,0,5, { tex_index = 148 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -46 , hurtbox = pat:get_frame(201,0,1).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 2 }) pat:update_frame(525 + idx,0,6, { tex_index = 149 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -46 , hurtbox = pat:get_frame(201,0,1).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 2 }) pat:split_frame(525 + idx,1,1,2,2) pat:update_frame(525 + idx,1,0, { tex_index = 208 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -56 , tex_offset_y = baseY -150 , hurtbox = pat:get_frame(200,1,0).hurtbox , collision = pat:get_frame(200,1,0).collision , duration = 3}) pat:update_frame(525 + idx,1,1, { tex_index = 209 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -56 , tex_offset_y = baseY -144 +10 , hurtbox = pat:get_frame(200,1,0).hurtbox , collision = pat:get_frame(200,1,0).collision , duration = 8}) pat:update_frame(525 + idx,1,2, { tex_index = 210 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -48 , tex_offset_y = baseY -136 , hurtbox = pat:get_frame(200,1,0).hurtbox , collision = pat:get_frame(200,1,0).collision , duration = 3 }) for idx2 = 0 , 2 do pat:update_frame(525 + idx,1,idx2,function(frame) frame.blockstop_enemy = 0 frame.blockstop_self = 0 frame.hitstop_enemy = 0 frame.hitstop_self = 0 frame.damage = 1200 frame.chip_damage = 300 frame.limit = 40 frame.proration = 800 frame.hit_sfx = 4 frame.hit_effect = 3 frame.attackbox[1].x2 = frame.attackbox[1].x2 - 10 frame.attackbox[1].y1 = frame.attackbox[1].y1 + 70 frame.attackbox[1].y2 = frame.attackbox[1].y2 + 70 set_fflag(frame,FF_GRAZE) frame.launch_vector_x = 0 frame.launch_vector_y = 1500 frame.hit_ani_air = 77 frame.hit_ani_ground = 77 frame.collision = pat:get_frame(0,0,0).attackbox end) end if (idx <=1 ) then pat:split_frame(525 + idx,2,0,2,2) pat:split_frame(525 + idx,2,0,2,2) pat:split_frame(525 + idx,2,0,2,2) pat:split_frame(525 + idx,2,0,2,2) pat:update_frame(525 + idx,2,0, { tex_index = 365 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -48 , tex_offset_y = baseY -146 , hurtbox = pat:get_frame(200,1,0).hurtbox , collision = pat:get_frame(200,1,0).collision , duration = 18 }) pat:update_frame(525 + idx,2,1, { tex_index = 149 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -46 , hurtbox = pat:get_frame(201,0,1).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 2 }) pat:update_frame(525 + idx,2,2, { tex_index = 148 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -46 , hurtbox = pat:get_frame(201,0,1).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 2 }) pat:update_frame(525 + idx,2,3, { tex_index = 147 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -46 , hurtbox = pat:get_frame(201,0,1).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 2 }) pat:update_frame(525 + idx,2,4, { tex_index = 146 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -46 , hurtbox = pat:get_frame(201,0,1).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 2 }) pat:update_frame(525 + idx,2,5, { tex_index = 145 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -46 , hurtbox = pat:get_frame(201,0,1).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 8 }) if (idx == 1 ) then pat:update_frame(525 + idx,2,5,{duration = 8+8}) end pat:update_frame(525 + idx,2,6, { tex_index = 248 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY -34 , hurtbox = pat:get_frame(1,0,1).hurtbox , duration = 3}) pat:update_frame(525 + idx,2,7, { tex_index = 247 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY -14 , hurtbox = pat:get_frame(1,0,0).hurtbox , duration = 3 }) pat:split_frame(525 + idx,3,0,2,2) pat:split_frame(525 + idx,3,0,2,2) pat:split_frame(525 + idx,3,0,2,2) pat:split_frame(525 + idx,3,0,2,2) pat:update_frame(525 + idx,3,0, { tex_index = 149 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -46 , hurtbox = pat:get_frame(201,0,1).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 2 }) pat:update_frame(525 + idx,3,1, { tex_index = 148 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -46 , hurtbox = pat:get_frame(201,0,1).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 2 }) pat:update_frame(525 + idx,3,2, { tex_index = 147 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -46 , hurtbox = pat:get_frame(201,0,1).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 2 }) pat:update_frame(525 + idx,3,3, { tex_index = 146 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -46 , hurtbox = pat:get_frame(201,0,1).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 2 }) pat:update_frame(525 + idx,3,4, { tex_index = 145 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -46 , hurtbox = pat:get_frame(201,0,1).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 18 }) if (idx == 0 or idx == 2) then pat:update_frame(525 + idx,3,4,{ duration = 8 }) end pat:update_frame(525 + idx,3,5, { tex_index = 248 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY -34 , hurtbox = pat:get_frame(1,0,1).hurtbox , duration = 3}) pat:update_frame(525 + idx,3,6, { tex_index = 247 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY -14 , hurtbox = pat:get_frame(1,0,0).hurtbox , duration = 3 }) else pat:update_frame(525 + idx,2,0, { tex_index = 365 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -48 , tex_offset_y = baseY -146 , hurtbox = pat:get_frame(200,1,0).hurtbox , collision = pat:get_frame(200,1,0).collision , duration = 300 }) pat:update_frame(525 + idx,2,1, { tex_index = 365 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -48 , tex_offset_y = baseY -146 , hurtbox = pat:get_frame(200,1,0).hurtbox , collision = pat:get_frame(200,1,0).collision , duration = 300 }) pat:update_frame(525 + idx,2,2, { tex_index = 365 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -48 , tex_offset_y = baseY -146 , hurtbox = pat:get_frame(200,1,0).hurtbox , collision = pat:get_frame(200,1,0).collision , duration = 300 }) pat:update_frame(525 + idx,2,3, { tex_index = 365 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -48 , tex_offset_y = baseY -146 , hurtbox = pat:get_frame(200,1,0).hurtbox , collision = pat:get_frame(200,1,0).collision , duration = 300 }) pat:update_frame(525 + idx,3,0, { tex_index = 210 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -48 , tex_offset_y = baseY -136 , hurtbox = pat:get_frame(200,1,0).hurtbox , collision = pat:get_frame(200,1,0).collision , duration = 300 }) pat:update_frame(525 + idx,3,1, { tex_index = 210 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -48 , tex_offset_y = baseY -136 , hurtbox = pat:get_frame(200,1,0).hurtbox , collision = pat:get_frame(200,1,0).collision , duration = 300 }) pat:update_frame(525 + idx,3,2, { tex_index = 210 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -48 , tex_offset_y = baseY -136 , hurtbox = pat:get_frame(200,1,0).hurtbox , collision = pat:get_frame(200,1,0).collision , duration = 300 }) pat:update_frame(525 + idx,3,3, { tex_index = 210 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -48 , tex_offset_y = baseY -136 , hurtbox = pat:get_frame(200,1,0).hurtbox , collision = pat:get_frame(200,1,0).collision , duration = 300 }) end if (idx > 1 ) then pat:split_frame(525 + idx,4,0,2,2) pat:split_frame(525 + idx,4,0,2,2) pat:split_frame(525 + idx,4,0,2,2) pat:split_frame(525 + idx,4,0,2,2) pat:split_frame(525 + idx,4,0,2,2) pat:update_frame(525 + idx,4,0, { tex_index = 149 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -46 , hurtbox = pat:get_frame(201,0,1).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 2 }) pat:update_frame(525 + idx,4,1, { tex_index = 148 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -46 , hurtbox = pat:get_frame(201,0,1).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 2 }) pat:update_frame(525 + idx,4,2, { tex_index = 147 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -46 , hurtbox = pat:get_frame(201,0,1).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 2 }) pat:update_frame(525 + idx,4,3, { tex_index = 146 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -46 , hurtbox = pat:get_frame(201,0,1).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 2 }) pat:update_frame(525 + idx,4,4, { tex_index = 145 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -46 , hurtbox = pat:get_frame(201,0,1).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 8 }) if (idx == 3 ) then pat:update_frame(525 + idx,4,4,{duration = 8+8}) end pat:update_frame(525 + idx,4,5, { tex_index = 248 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY -34 , hurtbox = pat:get_frame(1,0,1).hurtbox , duration = 3 }) pat:update_frame(525 + idx,4,6, { tex_index = 247 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY -14 , hurtbox = pat:get_frame(1,0,0).hurtbox , duration = 3 }) end end for idx = 0 , 9 do pat:split_frame(816,5,0,1,1) end for idx = 0 , 10 do pat:update_frame(816,5,idx,function(frame) frame.tex_index = 117 + idx%11 frame.scale_x = 250 frame.scale_y = 250 frame.tex_offset_x = 85 frame.tex_offset_y = 69+16 frame.tex_w = 128 frame.tex_h = 128 frame.duration = 1 frame.color_r = 200 frame.color_g = 200 frame.color_b = 200 end) end pat:update_frame(816,2,0,function(frame) frame.color_r = 255 frame.color_g = 0 frame.color_b = 0 end) for idx = 0 , 9 do pat:split_frame(816,3,0,1,1) pat:split_frame(816,8,0,1,1) pat:split_frame(816,9,0,1,1) end for idx = 0 , 10 do pat:update_frame(816,3,idx,function(frame) frame.tex_index = 117 + idx%11 frame.scale_x = 50 frame.scale_y = 50 frame.tex_offset_x = 85 frame.tex_offset_y = 69 frame.tex_w = 128 frame.tex_h = 128 frame.duration = 1 end) pat:update_frame(816,8,idx,function(frame) frame.tex_index = 117 + idx%11 frame.scale_x = 50 frame.scale_y = 50 frame.tex_offset_x = 85 frame.tex_offset_y = 69 frame.tex_w = 128 frame.tex_h = 128 frame.duration = 1 frame.tex_index = 239 frame.scale_x = 100 frame.scale_y = 100 frame.tex_offset_x = 64 frame.tex_offset_y = 64 frame.tex_w = 128 frame.tex_h = 128 frame.duration = 1 frame.color_r = 255 frame.color_g = 255 frame.color_b = 255 end) pat:update_frame(816,9,idx,function(frame) frame.tex_index = 117 + idx%11 frame.scale_x = 50 frame.scale_y = 50 frame.tex_offset_x = 85 frame.tex_offset_y = 69 frame.tex_w = 128 frame.tex_h = 128 frame.duration = 1 frame.tex_index = 239 frame.scale_x = 100 frame.scale_y = 100 frame.tex_offset_x = 64 frame.tex_offset_y = 64 frame.tex_w = 128 frame.tex_h = 128 frame.duration = 1 frame.color_r = 255 frame.color_g = 255 frame.color_b = 255 end) end end function mods.footdive(pat) local baseX = 76 local baseY = 195 local baseDur = 6 for idx = 0 , 1 do local baseY2 = 60 pat:update_frame(530 + idx,0,0, { tex_index = 249 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY -72 , hurtbox = pat:get_frame(1,0,3).hurtbox}) pat:split_frame(530 + idx,0,0,4,4) pat:update_frame(530 + idx,0,1, { tex_index = 248 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY -34 , hurtbox = pat:get_frame(1,0,1).hurtbox}) pat:update_frame(530 + idx,1,0, { tex_index = 202 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -20 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(530 + idx,1,1, { tex_index = 202 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -20 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(530 + idx,1,2, { tex_index = 202 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -20 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(530 + idx,1,3, { tex_index = 202 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -20 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:remove_frame(530 + idx,1,3) pat:remove_frame(530 + idx,1,2) if (idx == 1) then --pat:update_frame(530 + idx,1,2, { tex_index = 202 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -20 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(6,1,0).hurtbox }) --pat:update_frame(530 + idx,1,3, { tex_index = 202 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -20 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(6,1,0).hurtbox }) --pat:remove_frame(530 + idx,1,3) --pat:remove_frame(530 + idx,1,2) end pat:update_frame(530 + idx,2,0, { tex_index = 349, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -4 -20 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(307,0,0).hurtbox , duration = 3 }) pat:update_frame(530 + idx,2,1, { tex_index = 310 , tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 , tex_offset_y = baseY -22 , duration = 3}) pat:update_frame(530 + idx,2,1,function (frame) frame.hurtbox[1].y1 = frame.hurtbox[1].y1 + 30 frame.hurtbox[1].y2 = frame.hurtbox[1].y2 + 60 frame.hurtbox[2].x1 = frame.hurtbox[2].x1 - 5 frame.hurtbox[2].y2 = frame.hurtbox[2].y2 - 30 frame.hurtbox[3].y2 = frame.hurtbox[3].y2 + 70 end) pat:update_frame(530 + idx,2,2, { tex_index = 312 , tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -8 , tex_offset_y = baseY -28 , duration = 3}) pat:update_frame(530 + idx,2,2,function (frame) frame.hurtbox[1].y1 = frame.hurtbox[1].y1 + 30 frame.hurtbox[1].y2 = frame.hurtbox[1].y2 + 30 frame.hurtbox[2].x1 = frame.hurtbox[2].x1 - 5 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 + 5 frame.hurtbox[2].y1 = frame.hurtbox[2].y1 - 20 frame.hurtbox[2].y2 = frame.hurtbox[2].y2 + 35 frame.hurtbox[3].y1 = frame.hurtbox[3].y1 + 20 frame.hurtbox[3].y2 = frame.hurtbox[3].y2 + 30 end) pat:update_frame(530 + idx,2,3, { tex_index = 313 , tex_h = 160 , tex_w = 158 , tex_offset_x = baseX +0 , tex_offset_y = baseY -30 , duration = 11}) pat:update_frame(530 + idx,2,3,function (frame) frame.hurtbox[1].x1 = frame.hurtbox[1].x1 + 30 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 + 30 frame.hurtbox[1].y1 = frame.hurtbox[1].y1 + 30 frame.hurtbox[1].y2 = frame.hurtbox[1].y2 + 30 frame.hurtbox[2].x1 = frame.hurtbox[2].x1 - 20 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 + 0 frame.hurtbox[3].x1 = frame.hurtbox[3].x1 - 10 frame.hurtbox[3].x2 = frame.hurtbox[3].x2 + 30 frame.hurtbox[3].y2 = frame.hurtbox[3].y2 + 10 end) pat:update_frame(530 + idx,4,1,function(frame) frame.duration = 15-5 end) pat:update_frame(530 + idx,4,0, { tex_index = 205 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY -62 , hurtbox = pat:get_frame(1,0,2).hurtbox , duration = 3}) pat:update_frame(530 + idx,4,1, { tex_index = 248 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY -34 , hurtbox = pat:get_frame(1,0,1).hurtbox , duration = 3}) pat:update_frame(530 + idx,4,2, { tex_index = 247 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY -14 , hurtbox = pat:get_frame(3,0,2).hurtbox , duration = 3}) for idx2 = 0 , 3 do pat:update_frame(530 + idx,3,idx2,function(frame) frame.blockstop_enemy = 10 frame.hitstop_enemy = 10 frame.blockstop_self = 0 frame.hitstop_self = 0 frame.collision[1] = pat:get_frame(197,1,0).collision[1] frame.attack_level = AL_MEDIUM frame.sp_damage = 75 set_aflag(frame,AF_LOWBLOCK_OK) set_aflag(frame,AF_PROJECTILE) frame.duration = 16 if (idx == 0) then frame.duration = 12 end set_fflag(frame,FF_CANCEL) end) pat:update_frame(530 + idx,3,idx2, { tex_index = 314 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +0 , tex_offset_y = baseY +2 , attackbox = pat:get_frame(0,0,0).attackbox}) pat:update_frame(530 + idx,3,idx2,function(frame) frame.hurtbox[1].x1 = frame.hurtbox[1].x1 + 80 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 + 70 frame.hurtbox[1].y1 = frame.hurtbox[1].y1 + 10 frame.hurtbox[2].x1 = frame.hurtbox[2].x1 + 50 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 + 40 frame.hurtbox[2].y1 = frame.hurtbox[2].y1 + 20 frame.hurtbox[2].y2 = frame.hurtbox[2].y2 + 10 frame.hurtbox[3].x1 = frame.hurtbox[3].x1 + 0 frame.hurtbox[3].x2 = frame.hurtbox[3].x2 -10 frame.hurtbox[3].y1 = frame.hurtbox[3].y1 + 10 frame.hurtbox[3].y2 = frame.hurtbox[3].y2 + 15 frame.hurtbox[4]=null end) end pat:get_sequence(530 + idx,3):set_looped(false) end for idx = 0 , 1 do --pat:update_frame(532 + idx,0,0, { tex_index = 351, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 -20 , tex_offset_y = baseY +92 , hurtbox = pat:get_frame(302,0,5).hurtbox , duration = 5 }) pat:update_frame(532 + idx,0,0, { tex_index = 310 , tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 , tex_offset_y = baseY -22 , hurtbox = pat:get_frame(530 + idx,2,1).hurtbox , duration = 3}) pat:update_frame(532 + idx,0,1, { tex_index = 312 , tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -8 , tex_offset_y = baseY -28 , hurtbox = pat:get_frame(530 + idx,2,2).hurtbox , duration = 3}) --pat:update_frame(532 + idx,2,1, { tex_index = 311 , tex_h = 160 , tex_w = 158 , tex_offset_x = baseX +12 , tex_offset_y = baseY +70 , duration = 5}) pat:update_frame(532 + idx,0,2, { tex_index = 312 , tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -8 , tex_offset_y = baseY -28 , hurtbox = pat:get_frame(530 + idx,2,2).hurtbox , duration = 3}) pat:update_frame(532 + idx,0,3, { tex_index = 313 , tex_h = 160 , tex_w = 158 , tex_offset_x = baseX +0 , tex_offset_y = baseY -30 , hurtbox = pat:get_frame(530 + idx,2,3).hurtbox , duration = 11-4}) pat:update_frame(532 + idx,0,4,function(frame) frame.blockstop_enemy = 10 frame.hitstop_enemy = 10 frame.blockstop_self = 0 frame.hitstop_self = 0 frame.collision[1] = pat:get_frame(197,1,0).collision[1] frame.attack_level = AL_MEDIUM frame.sp_damage = 75 set_aflag(frame,AF_LOWBLOCK_OK) set_aflag(frame,AF_PROJECTILE) frame.attackbox = pat:get_frame(0,0,0).attackbox end) pat:update_frame(532 + idx,0,4, { tex_index = 314 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +0 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(530 + idx,3,0).hurtbox }) pat:update_frame(532 + idx,0,5,function(frame) frame.blockstop_enemy = 10 frame.hitstop_enemy = 10 frame.blockstop_self = 0 frame.hitstop_self = 0 frame.collision[1] = pat:get_frame(197,1,0).collision[1] frame.attack_level = AL_MEDIUM frame.sp_damage = 75 set_aflag(frame,AF_LOWBLOCK_OK) set_aflag(frame,AF_PROJECTILE) frame.attackbox = pat:get_frame(0,0,0).attackbox end) pat:get_sequence(532 + idx,0):set_priority(40,50) pat:update_frame(532 + idx,0,5, { tex_index = 314 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +0 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(530 + idx,3,0).hurtbox }) pat:update_frame(532 + idx,2,1,function(frame) frame.duration = 15-5 end) pat:update_frame(532 + idx,2,0, { tex_index = 205 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY -62 , hurtbox = pat:get_frame(1,0,2).hurtbox , duration = 3}) pat:update_frame(532 + idx,2,1, { tex_index = 248 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY -34 , hurtbox = pat:get_frame(1,0,1).hurtbox , duration = 3}) pat:update_frame(532 + idx,2,2, { tex_index = 247 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY -14 , hurtbox = pat:get_frame(3,0,2).hurtbox , duration = 3 }) for idx2 = 0 , 3 do pat:update_frame(532 + idx,1,idx2,function(frame) frame.blockstop_enemy = 10 frame.hitstop_enemy = 10 frame.blockstop_self = 0 frame.hitstop_self = 0 frame.collision[1] = pat:get_frame(197,1,0).collision[1] frame.attack_level = AL_MEDIUM frame.sp_damage = 75 set_aflag(frame,AF_LOWBLOCK_OK) set_aflag(frame,AF_PROJECTILE) frame.duration = 16 if (idx == 0) then frame.duration = 12 end end) pat:update_frame(532 + idx,1,idx2, { tex_index = 314 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +0 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(530 + idx,3,idx2).hurtbox , attackbox = pat:get_frame(0,0,0).attackbox }) end pat:get_sequence(532 + idx,1):set_looped(false) end for idx = 0 , 9 do --pat:split_frame(817,5,0,1,1) end for idx = 0 , 0 do pat:update_frame(817,2,idx,function(frame) frame.tex_index = 200 frame.scale_x = 400 frame.scale_y = 400 frame.tex_offset_x = 32 frame.tex_offset_y = 32 frame.tex_w = 64 frame.tex_h = 64 frame.duration = 1 frame.color_r = 255 frame.color_g = 255 frame.color_b = 255 frame.attackbox = pat:get_frame(0,0,0).hurtbox frame.attackbox[1].x1 = -40 frame.attackbox[1].x2 = 40 frame.attackbox[1].y1 = -40 frame.attackbox[1].y2 = 40 frame.damage = 300 frame.chip_damage = 30 frame.untech = 40 frame.sp_damage = 50 frame.fflags = pat:get_frame(800,0,0).fflags frame.aflags = pat:get_frame(800,0,0).aflags --frame.fflags = pat:get_frame(800,0,0).fflags frame.limit = 10 frame.combo_correction = CC_NONE frame.hit_ani_air = 71 frame.hit_ani_ground = 0 frame.proration = 920 frame.attack_level = AL_HEAVY frame.card_gain_hit = 0 frame.card_gain_block = 0 frame.launch_vector_x = 600 frame.launch_vector_y = 1450 frame.hit_sfx = 3 frame.hit_effect = 3 frame.unknown_9 = 100 frame.hitstop_self = 0 frame.hitstop_enemy = 10 frame.blockstop_self = 0 frame.blockstop_enemy = 0 set_aflag(frame,AF_COUNTER_HIT) set_aflag(frame,AF_PROJECTILE) set_aflag(frame,AF_SKILL_ATTACK) frame.duration = 180 end) end pat:get_sequence(817,2):set_looped(false) pat:split_frame(817,2,0,180,1) pat:update_frame(817,2,1,{attackbox = pat:get_frame(0,0,0).attackbox , tex_w = 0}) for idx = 0 , 0 do pat:update_frame(817,3,idx,function(frame) frame.tex_index = 200 frame.scale_x = 400 frame.scale_y = 400 frame.tex_offset_x = 32 frame.tex_offset_y = 32 frame.tex_w = 64 frame.tex_h = 64 frame.duration = 1 frame.color_r = 0 frame.color_g = 0 frame.color_b = 0 end) end end function mods.footdivesuper(pat) local baseX = 76 local baseY = 195 local baseDur = 6 for idx = 0 , 0 do local baseY2 = 60 pat:update_frame(603 + idx,0,0, { tex_index = 249 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY -72 , hurtbox = pat:get_frame(1,0,3).hurtbox}) pat:split_frame(603 + idx,0,0,4,4) pat:update_frame(603 + idx,0,1, { tex_index = 248 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY -34 , hurtbox = pat:get_frame(1,0,1).hurtbox}) pat:update_frame(603 + idx,1,0, { tex_index = 202 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -20 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(603 + idx,1,1, { tex_index = 202 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -20 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(603 + idx,1,2, { tex_index = 202 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -20 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(603 + idx,1,3, { tex_index = 202 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -20 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(603 + idx,2,0, { tex_index = 349, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -4 -20 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(307,0,0).hurtbox , duration = 3 }) pat:update_frame(603 + idx,2,1, { tex_index = 310 , tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 , tex_offset_y = baseY -22 , hurtbox = pat:get_frame(530,2,1).hurtbox , duration = 3}) pat:update_frame(603 + idx,2,2, { tex_index = 312 , tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -8 , tex_offset_y = baseY -28 , hurtbox = pat:get_frame(530,2,2).hurtbox , duration = 5}) --pat:update_frame(603 + idx,2,3, { tex_index = 312 , tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -8 , tex_offset_y = baseY -28 , hurtbox = pat:get_frame(530,2,2).hurtbox , duration = 40}) pat:update_frame(603 + idx,2,3, { tex_index = 313 , tex_h = 160 , tex_w = 158 , tex_offset_x = baseX +0 , tex_offset_y = baseY -30 , hurtbox = pat:get_frame(530,2,3).hurtbox , duration = 40}) pat:update_frame(603 + idx,2,4, { tex_index = 313 , tex_h = 160 , tex_w = 158 , tex_offset_x = baseX +0 , tex_offset_y = baseY -30 , hurtbox = pat:get_frame(530,2,3).hurtbox , duration = 3}) pat:split_frame(603 + idx,4,0,1,1) pat:update_frame(603 + idx,4,0, { tex_index = 313 , tex_h = 160 , tex_w = 158 , tex_offset_x = baseX +0 , tex_offset_y = baseY -30 , hurtbox = pat:get_frame(530,2,3).hurtbox , duration = 8}) pat:update_frame(603 + idx,4,1, { tex_index = 313 , tex_h = 160 , tex_w = 158 , tex_offset_x = baseX +0 , tex_offset_y = baseY -30 , hurtbox = pat:get_frame(530,2,3).hurtbox , duration = 40}) --pat:update_frame(603 + idx,4,1, { tex_index = 205 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY -62 , hurtbox = pat:get_frame(1,0,2).hurtbox , duration = 12}) pat:update_frame(603 + idx,4,2, { tex_index = 248 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY -34 , hurtbox = pat:get_frame(1,0,1).hurtbox , duration = 3}) pat:update_frame(603 + idx,4,3, { tex_index = 247 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY -14 , hurtbox = pat:get_frame(3,0,2).hurtbox , duration = 3}) for idx2 = 0 , 3 do pat:update_frame(603 + idx,3,idx2, { tex_index = 313 , tex_h = 160 , tex_w = 158 , tex_offset_x = baseX +0 , tex_offset_y = baseY -30 , hurtbox = pat:get_frame(530,2,3).hurtbox , duration = 3}) pat:update_frame(603 + idx,3,idx2,function(frame) unset_aflag(frame,AF_COUNTER_HIT) frame.damage = 3500 frame.chip_damage = 875 frame.sp_damage = 400 frame.proration = 750 frame.limit = 100 frame.hit_sfx = 4 frame.hit_effect = 7 frame.untech = 6000 frame.hitstop_self = 0 frame.blockstop_self = 0 frame.hitstop_enemy = 0 frame.blockstop_enemy = 0 frame.attack_level = AL_SUPERHEAVY frame.combo_correction = CC_SMASH_ATTACK frame.launch_vector_x = 2500 frame.launch_vector_y = 1500 frame.hit_ani_air = 74 frame.hit_ani_ground = 74 frame.attackbox[1].x1 = -120 frame.attackbox[1].x2 = 120 frame.attackbox[1].y1 = -160 frame.attackbox[1].y2 = 90 frame.attackbox[2].x1 = -80 frame.attackbox[2].x2 = 80 frame.attackbox[2].y1 = -300 frame.attackbox[2].y2 = 120 set_fflag(frame,FF_GRAZE) set_fflag(frame,FF_MELEE_INV) set_fflag(frame,FF_BULLET_INV) end) --pat:update_frame(603 + idx,3,idx2, { tex_index = 314 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +0 , hurtbox = pat:get_frame(530,3,0).hurtbox , tex_offset_y = baseY +2}) pat:update_frame(603 + idx,5,idx2, { tex_index = 313 , tex_h = 160 , tex_w = 158 , tex_offset_x = baseX +0 , tex_offset_y = baseY -30 , hurtbox = pat:get_frame(530,2,3).hurtbox , duration = 3}) --pat:update_frame(603 + idx,5,idx2, { tex_index = 314 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +0 , hurtbox = pat:get_frame(530,3,0).hurtbox , tex_offset_y = baseY +2}) end pat:update_frame(603 + idx,4,0,function(frame) unset_aflag(frame,AF_COUNTER_HIT) frame.damage = 3500 frame.chip_damage = 875 frame.sp_damage = 400 frame.proration = 750 frame.limit = 100 frame.hit_sfx = 4 frame.hit_effect = 7 frame.untech = 6000 frame.hitstop_self = 0 frame.blockstop_self = 0 frame.hitstop_enemy = 0 frame.blockstop_enemy = 0 frame.attack_level = AL_SUPERHEAVY frame.combo_correction = CC_SMASH_ATTACK frame.launch_vector_x = 2500 frame.launch_vector_y = 1500 frame.hit_ani_air = 74 frame.hit_ani_ground = 74 frame.unknown_9 = 100 frame.fflags = pat:get_frame(603 + idx,3,0).fflags frame.aflags = pat:get_frame(603 + idx,3,0).aflags frame.attackbox = pat:get_frame(0,0,0).hurtbox frame.attackbox[1].x1 = -120 frame.attackbox[1].x2 = 120 frame.attackbox[1].y1 = -160 frame.attackbox[1].y2 = 90 frame.attackbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.attackbox[2].x1 = -80 frame.attackbox[2].x2 = 80 frame.attackbox[2].y1 = -300 frame.attackbox[2].y2 = 120 set_fflag(frame,FF_GRAZE) set_fflag(frame,FF_MELEE_INV) set_fflag(frame,FF_BULLET_INV) end) pat:split_frame(603 + idx,4,0,4,4) pat:update_frame(603 + idx,4,1,function(frame) frame.attackbox[1].x1 = frame.attackbox[1].x1*0.75 frame.attackbox[1].x2 = frame.attackbox[1].x2*0.75 frame.attackbox[2].x1 = frame.attackbox[2].x1*0.75 frame.attackbox[2].x2 = frame.attackbox[2].x2*0.75 end) pat:update_frame(603,6,0, { tex_index = 204 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY -14 , hurtbox = pat:get_frame(8,1,0).hurtbox , duration = 4}) pat:update_frame(603,6,1, { tex_index = 204 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY -14 , hurtbox = pat:get_frame(8,1,0).hurtbox , duration = 4}) pat:update_frame(603,6,2, { tex_index = 217 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY +baseY2 -84 , hurtbox = pat:get_frame(6,2,1).hurtbox , duration = 4}) pat:update_frame(603,6,3, { tex_index = 216 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -38 , tex_offset_y = baseY +baseY2 -84 , hurtbox = pat:get_frame(6,2,1).hurtbox , duration = 4}) pat:update_frame(603,6,4, { tex_index = 215 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -28 , tex_offset_y = baseY +baseY2 -86 , hurtbox = pat:get_frame(6,2,1).hurtbox , duration = 4}) pat:update_frame(603,6,5, { tex_index = 214 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -26 , tex_offset_y = baseY +baseY2 -86 , hurtbox = pat:get_frame(6,2,0).hurtbox , duration = 4}) pat:update_frame(603,6,6, { tex_index = 205 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY +baseY2/2 -32 , hurtbox = pat:get_frame(6,1,4).hurtbox , duration = 4}) pat:update_frame(603,7,0, { tex_index = 211 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(9,0,0).hurtbox }) pat:update_frame(603,7,1, { tex_index = 212 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(9,0,0).hurtbox }) end for idx = 0 , 9 do --pat:split_frame(817,5,0,1,1) end for idx = 0 , 0 do pat:update_frame(860,2,idx,function(frame) frame.tex_index = 79 frame.scale_x = 200 frame.scale_y = 200 frame.tex_offset_x = 64 frame.tex_offset_y = 64 frame.tex_w = 128 frame.tex_h = 128 frame.duration = 1 frame.color_r = 255 frame.color_g = 255 frame.color_b = 255 end) end for idx = 1 , 32 do pat:split_frame(860,2,0,1,1) end pat:update_frame(860,2,0, { tex_index = 43 , tex_h = 256 , tex_w = 256 , tex_offset_x = 89 , tex_offset_y = 120 }) pat:update_frame(860,2,1, { tex_index = 43 , tex_h = 256 , tex_w = 256 , tex_offset_x = 89 , tex_offset_y = 120 }) pat:update_frame(860,2,2, { tex_index = 44 , tex_h = 256 , tex_w = 256 , tex_offset_x = 84 , tex_offset_y = 148 }) pat:update_frame(860,2,3, { tex_index = 44 , tex_h = 256 , tex_w = 256 , tex_offset_x = 84 , tex_offset_y = 148 }) pat:update_frame(860,2,4, { tex_index = 45 , tex_h = 256 , tex_w = 256 , tex_offset_x = 84 , tex_offset_y = 165 }) pat:update_frame(860,2,5, { tex_index = 45 , tex_h = 256 , tex_w = 256 , tex_offset_x = 84 , tex_offset_y = 165 }) pat:update_frame(860,2,6, { tex_index = 46 , tex_h = 256 , tex_w = 256 , tex_offset_x = 89 , tex_offset_y = 181 }) pat:update_frame(860,2,7, { tex_index = 46 , tex_h = 256 , tex_w = 256 , tex_offset_x = 89 , tex_offset_y = 181 }) pat:update_frame(860,2,8, { tex_index = 47 , tex_h = 256 , tex_w = 256 , tex_offset_x = 91 , tex_offset_y = 190 }) pat:update_frame(860,2,9, { tex_index = 47 , tex_h = 256 , tex_w = 256 , tex_offset_x = 91 , tex_offset_y = 190 }) pat:update_frame(860,2,10, { tex_index = 48 , tex_h = 256 , tex_w = 256 , tex_offset_x = 94 , tex_offset_y = 199 }) pat:update_frame(860,2,11, { tex_index = 48 , tex_h = 256 , tex_w = 256 , tex_offset_x = 94 , tex_offset_y = 199 }) pat:update_frame(860,2,12, { tex_index = 49 , tex_h = 256 , tex_w = 256 , tex_offset_x = 98 , tex_offset_y = 203 }) pat:update_frame(860,2,13, { tex_index = 49 , tex_h = 256 , tex_w = 256 , tex_offset_x = 98 , tex_offset_y = 203 }) pat:update_frame(860,2,14, { tex_index = 50 , tex_h = 256 , tex_w = 256 , tex_offset_x = 97 , tex_offset_y = 204 }) pat:update_frame(860,2,15, { tex_index = 50 , tex_h = 256 , tex_w = 256 , tex_offset_x = 97 , tex_offset_y = 204 }) pat:update_frame(860,2,16, { tex_index = 51 , tex_h = 256 , tex_w = 256 , tex_offset_x = 92 , tex_offset_y = 205 }) pat:update_frame(860,2,17, { tex_index = 51 , tex_h = 256 , tex_w = 256 , tex_offset_x = 92 , tex_offset_y = 205 }) pat:update_frame(860,2,18, { tex_index = 52 , tex_h = 256 , tex_w = 256 , tex_offset_x = 80 , tex_offset_y = 205 }) pat:update_frame(860,2,19, { tex_index = 52 , tex_h = 256 , tex_w = 256 , tex_offset_x = 80 , tex_offset_y = 205 }) pat:update_frame(860,2,20, { tex_index = 104 , tex_h = 256 , tex_w = 256 , tex_offset_x = 73 , tex_offset_y = 205 }) pat:update_frame(860,2,21, { tex_index = 104 , tex_h = 256 , tex_w = 256 , tex_offset_x = 73 , tex_offset_y = 205 }) pat:update_frame(860,2,22, { tex_index = 105 , tex_h = 256 , tex_w = 256 , tex_offset_x = 76 , tex_offset_y = 205 }) pat:update_frame(860,2,23, { tex_index = 105 , tex_h = 256 , tex_w = 256 , tex_offset_x = 76 , tex_offset_y = 205 }) pat:update_frame(860,2,24, { tex_index = 106 , tex_h = 256 , tex_w = 256 , tex_offset_x = 78 , tex_offset_y = 203 }) pat:update_frame(860,2,25, { tex_index = 106 , tex_h = 256 , tex_w = 256 , tex_offset_x = 78 , tex_offset_y = 203 }) pat:update_frame(860,2,26, { tex_index = 107 , tex_h = 256 , tex_w = 256 , tex_offset_x = 78 , tex_offset_y = 206 }) pat:update_frame(860,2,27, { tex_index = 107 , tex_h = 256 , tex_w = 256 , tex_offset_x = 78 , tex_offset_y = 206 }) pat:update_frame(860,2,28, { tex_index = 108 , tex_h = 256 , tex_w = 256 , tex_offset_x = 78 , tex_offset_y = 205 }) pat:update_frame(860,2,29, { tex_index = 108 , tex_h = 256 , tex_w = 256 , tex_offset_x = 78 , tex_offset_y = 205 }) pat:update_frame(860,2,30, { tex_index = 109 , tex_h = 256 , tex_w = 256 , tex_offset_x = 78 , tex_offset_y = 205 }) pat:update_frame(860,2,31, { tex_index = 109 , tex_h = 256 , tex_w = 256 , tex_offset_x = 78 , tex_offset_y = 205 }) pat:update_frame(860,2,32, { tex_index = 109 , tex_h = 256 , tex_w = 0 , tex_offset_x = 78 , tex_offset_y = 205 , duration = 80 }) for idx = 0 , 31 do pat:update_frame(860,2,idx,function(frame) frame.duration = 1 frame.scale_x = 250 frame.scale_y = 200 + idx*20 frame.tex_offset_y = frame.tex_offset_y - 80 - idx*4.5 end) end for idx = 0 , 0 do pat:update_frame(860,3,idx,function(frame) frame.tex_index = 239 frame.scale_x = 100 frame.scale_y = 100 frame.tex_offset_x = 64 frame.tex_offset_y = 64 frame.tex_w = 128 frame.tex_h = 128 frame.duration = 1 frame.color_r = 255 frame.color_g = 255 frame.color_b = 255 end) end for idx = 0 , 0 do pat:update_frame(860,8,idx,function(frame) frame.tex_index = 239 frame.scale_x = 100 frame.scale_y = 100 frame.tex_offset_x = 64 frame.tex_offset_y = 64 frame.tex_w = 128 frame.tex_h = 128 frame.duration = 1 frame.color_r = 255 frame.color_g = 255 frame.color_b = 255 end) end for idx = 0 , 0 do pat:update_frame(860,9,idx,function(frame) frame.tex_index = 239 frame.scale_x = 100 frame.scale_y = 100 frame.tex_offset_x = 64 frame.tex_offset_y = 64 frame.tex_w = 128 frame.tex_h = 128 frame.duration = 1 frame.color_r = 255 frame.color_g = 255 frame.color_b = 255 end) end --[[ for idx = 0 , 1 do pat:update_frame(860,4,idx,function(frame) frame.tex_w = 0 frame.attackbox[1] = null end) end]]-- end function mods.swords(pat) local baseX = 76 local baseY = 195 local baseDur = 6 for idx = 0 , 3 do pat:split_frame(570 + idx,0,0,2,2) pat:split_frame(570 + idx,0,0,2,2) pat:split_frame(570 + idx,0,0,2,2) pat:update_frame(570 + idx,0,0, { tex_index = 247 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY -14 , hurtbox = pat:get_frame(1,0,0).hurtbox , duration = 2 }) pat:update_frame(570 + idx,0,1, { tex_index = 248 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY -34 , hurtbox = pat:get_frame(1,0,1).hurtbox , duration = 2}) pat:update_frame(570 + idx,0,2, { tex_index = 145 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -46 , hurtbox = pat:get_frame(201,0,1).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 2 }) pat:update_frame(570 + idx,0,3, { tex_index = 146 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -46 , hurtbox = pat:get_frame(201,0,1).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 2 }) pat:update_frame(570 + idx,0,4, { tex_index = 147 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -46 , hurtbox = pat:get_frame(201,0,1).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 2 }) pat:update_frame(570 + idx,0,5, { tex_index = 148 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -46 , hurtbox = pat:get_frame(201,0,1).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 2 }) pat:update_frame(570 + idx,0,6, { tex_index = 149 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -46 , hurtbox = pat:get_frame(201,0,1).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 2 }) pat:update_frame(570 + idx,2,0, { tex_index = 149 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -46 , hurtbox = pat:get_frame(201,0,1).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 2 }) pat:update_frame(570 + idx,2,1, { tex_index = 148 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -46 , hurtbox = pat:get_frame(201,0,1).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 2 , attackbox = pat:get_frame(0,0,0).attackbox}) pat:update_frame(570 + idx,2,2, { tex_index = 147 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -46 , hurtbox = pat:get_frame(201,0,1).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 2 +3}) pat:update_frame(570 + idx,2,3, { tex_index = 146 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -46 , hurtbox = pat:get_frame(201,0,1).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 2 }) pat:update_frame(570 + idx,2,4, { tex_index = 145 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -46 , hurtbox = pat:get_frame(201,0,1).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 2 }) pat:update_frame(570 + idx,2,5, { tex_index = 248 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY -34 , hurtbox = pat:get_frame(1,0,1).hurtbox , duration = 2}) pat:update_frame(570 + idx,2,6, { tex_index = 247 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY -14 , hurtbox = pat:get_frame(1,0,0).hurtbox , duration = 2}) if (idx > 1) then pat:update_frame(570+idx,2,2,{ duration = 2+10 }) end pat:remove_frame(570 + idx,1,7) pat:remove_frame(570 + idx,1,6) pat:remove_frame(570 + idx,1,5) pat:remove_frame(570 + idx,1,4) pat:remove_frame(570 + idx,1,3) pat:remove_frame(570 + idx,1,2) pat:remove_frame(570 + idx,1,1) pat:remove_frame(570 + idx,3,7) pat:remove_frame(570 + idx,3,6) pat:remove_frame(570 + idx,3,5) pat:remove_frame(570 + idx,3,4) pat:remove_frame(570 + idx,3,3) pat:remove_frame(570 + idx,3,2) pat:remove_frame(570 + idx,3,1) for idx2 = 0 , 44 do pat:split_frame(570 + idx,1,0,1,1) end for idx2 = 0 , 45 do if ((idx2 == 0) or (idx2 >= 14 and idx2 <= 16) or (idx2 >= 30 and idx2 <= 32)) then pat:update_frame(570 + idx,1,idx2, { tex_index = 208 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -56 , tex_offset_y = baseY -150 , hurtbox = pat:get_frame(200,1,0).hurtbox , collision = pat:get_frame(200,1,0).collision }) elseif ((idx2>= 1 and idx2 <=8) or (idx2 >= 17 and idx2 <= 24) or (idx2 >= 33 and idx2 <= 40)) then pat:update_frame(570 + idx,1,idx2, { tex_index = 209 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -56 , tex_offset_y = baseY -144 +10 , hurtbox = pat:get_frame(200,1,0).hurtbox , collision = pat:get_frame(200,1,0).collision }) else pat:update_frame(570 + idx,1,idx2, { tex_index = 210 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -48 , tex_offset_y = baseY -136 , hurtbox = pat:get_frame(200,1,0).hurtbox , collision = pat:get_frame(200,1,0).collision }) end pat:update_frame(570 + idx,1,idx2,function(frame) frame.duration = 1 local ymod = 0 frame.attackbox[2] = null frame.attackbox[1] = null if (idx2 == 0) then elseif (idx2 >= 14 and idx2 <= 16) then elseif (idx2 >= 30 and idx2 <= 32) then elseif (idx2 >= 1 and idx2 <= 8) then ymod = idx2-1 if (idx2 <= 2) then frame.attackbox[1] = pat:get_frame(303,0,3).attackbox[1] frame.attackbox[1].x1 = frame.attackbox[1].x1 - 140 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 + 20 end elseif (idx2 >= 17 and idx2 <= 24) then ymod = idx2-17 if (idx2 <= 18) then frame.attackbox[1] = pat:get_frame(303,0,3).attackbox[1] frame.attackbox[1].x1 = frame.attackbox[1].x1 - 140 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 + 20 end elseif (idx2 >= 33 and idx2 <= 40) then ymod = idx2-33 if (idx2 <= 34) then frame.attackbox[1] = pat:get_frame(303,0,3).attackbox[1] frame.attackbox[1].x1 = frame.attackbox[1].x1 - 140 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 + 20 end elseif (idx2 >= 9 and idx2 <= 13) then ymod = 13-idx2 elseif (idx2 >= 25 and idx2 <= 29) then ymod = 29-idx2 elseif (idx2 >= 41 and idx2 <= 45) then ymod = 45-idx2 if (idx2 == 45) then frame.duration = 2000 end end ymod = ymod*-10 frame.hurtbox[1].y1 = frame.hurtbox[1].y1 + ymod frame.hurtbox[1].y2 = frame.hurtbox[1].y2 + ymod frame.tex_offset_y = frame.tex_offset_y - (ymod) frame.damage = 700 frame.chip_damage = 70 frame.launch_vector_x = 0 frame.launch_vector_y = -2000 frame.hit_ani_air = 73 frame.hit_ani_ground = 73 frame.card_gain = 120 frame.card_gain_block = 80 frame.sp_damage = 100 frame.hitstop_self = 0 frame.hitstop_enemy = 0 frame.blockstop_self = 0 frame.blockstop_enemy = 0 frame.attack_level = AL_HEAVY frame.combo_correction = CC_SMASH_ATTACK frame.proration = 850 frame.limit = 40 frame.hit_sfx = 3 frame.hit_effect = 2 --set_aflag(frame,AF_PROJECTILE) set_fflag(frame,FF_GRAZE) --frame.launch_vector_x = 2400 frame.launch_vector_y = -2400 frame.hit_ani_air = 88 frame.hit_ani_ground = 88 end) end for idx2 = 0 , 44 do pat:split_frame(570 + idx,3,0,1,1) end for idx2 = 0 , 45 do if ((idx2 == 0) or (idx2 >= 14 and idx2 <= 16) or (idx2 >= 30 and idx2 <= 32)) then pat:update_frame(570 + idx,3,idx2, { tex_index = 208 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -56 , tex_offset_y = baseY -150 , hurtbox = pat:get_frame(200,1,0).hurtbox , collision = pat:get_frame(200,1,0).collision }) elseif ((idx2>= 1 and idx2 <=8) or (idx2 >= 17 and idx2 <= 24) or (idx2 >= 33 and idx2 <= 40)) then pat:update_frame(570 + idx,3,idx2, { tex_index = 209 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -56 , tex_offset_y = baseY -144 +10 , hurtbox = pat:get_frame(200,1,0).hurtbox , collision = pat:get_frame(200,1,0).collision }) else pat:update_frame(570 + idx,3,idx2, { tex_index = 210 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -48 , tex_offset_y = baseY -136 , hurtbox = pat:get_frame(200,1,0).hurtbox , collision = pat:get_frame(200,1,0).collision }) end pat:update_frame(570 + idx,3,idx2,function(frame) frame.duration = 1 local ymod = 0 frame.attackbox[2] = null frame.attackbox[1] = null if (idx2 == 0) then elseif (idx2 >= 14 and idx2 <= 16) then elseif (idx2 >= 30 and idx2 <= 32) then elseif (idx2 >= 1 and idx2 <= 8) then ymod = idx2-1 if (idx2 <= 2) then frame.attackbox[1] = pat:get_frame(303,0,3).attackbox[1] frame.attackbox[1].x1 = frame.attackbox[1].x1 - 200 frame.attackbox[1].x2 = frame.attackbox[1].x2 + 100 frame.attackbox[1].y1 = frame.attackbox[1].y1 + 40 frame.attackbox[1].y2 = frame.attackbox[1].y2 + 20 end elseif (idx2 >= 17 and idx2 <= 24) then ymod = idx2-17 if (idx2 <= 18) then frame.attackbox[1] = pat:get_frame(303,0,3).attackbox[1] frame.attackbox[1].x1 = frame.attackbox[1].x1 - 200 frame.attackbox[1].x2 = frame.attackbox[1].x2 + 100 frame.attackbox[1].y1 = frame.attackbox[1].y1 + 40 frame.attackbox[1].y2 = frame.attackbox[1].y2 + 20 end elseif (idx2 >= 33 and idx2 <= 40) then ymod = idx2-33 if (idx2 <= 34) then frame.attackbox[1] = pat:get_frame(303,0,3).attackbox[1] frame.attackbox[1].x1 = frame.attackbox[1].x1 - 200 frame.attackbox[1].x2 = frame.attackbox[1].x2 + 100 frame.attackbox[1].y1 = frame.attackbox[1].y1 + 40 frame.attackbox[1].y2 = frame.attackbox[1].y2 + 20 end elseif (idx2 >= 9 and idx2 <= 13) then ymod = 13-idx2 elseif (idx2 >= 25 and idx2 <= 29) then ymod = 29-idx2 elseif (idx2 >= 41 and idx2 <= 45) then ymod = 45-idx2 if (idx2 == 45) then frame.duration = 2000 end end ymod = ymod*-10 frame.hurtbox[1].y1 = frame.hurtbox[1].y1 + ymod frame.hurtbox[1].y2 = frame.hurtbox[1].y2 + ymod frame.tex_offset_y = frame.tex_offset_y - (ymod) frame.damage = 800 frame.chip_damage = 80 frame.launch_vector_x = 0 frame.launch_vector_y = -2000 frame.hit_ani_air = 73 frame.hit_ani_ground = 73 frame.card_gain = 120 frame.card_gain_block = 80 frame.sp_damage = 100 frame.hitstop_self = 0 frame.hitstop_enemy = 0 frame.blockstop_self = 0 frame.blockstop_enemy = 0 frame.attack_level = AL_HEAVY frame.combo_correction = CC_SMASH_ATTACK frame.proration = 850 frame.limit = 40 frame.hit_sfx = 3 frame.hit_effect = 2 --set_aflag(frame,AF_PROJECTILE) set_fflag(frame,FF_GRAZE) frame.launch_vector_y = -2400 frame.hit_ani_air = 88 frame.hit_ani_ground = 88 end) end end pat:update_frame(827,0,0,function(frame) frame.tex_w = 0 end) for idx0 = 1 , 4 do pat:update_frame(827,idx0,0,function(frame) frame.tex_index = 239 frame.scale_x = 100 frame.scale_y = 50 frame.tex_offset_x = 64 frame.tex_offset_y = 64 frame.tex_w = 128 frame.tex_h = 128 frame.duration = 1 frame.color_r = 255 frame.color_g = 255 frame.color_b = 255 end) end pat:update_frame(827,5,0,function(frame) frame.tex_w = 0 end) pat:update_frame(827,6,0,function(frame) frame.tex_w = 0 end) pat:update_frame(827,6,1,function(frame) frame.tex_w = 0 end) pat:update_frame(827,7,0,function(frame) frame.tex_w = 0 end) pat:update_frame(827,10,0,function(frame) frame.tex_w = 0 end) pat:update_frame(827,13,0,function(frame) frame.tex_w = 0 end) pat:update_frame(827,9,0,function(frame) frame.tex_w = 0 end) pat:update_frame(827,12,0,function(frame) frame.tex_w = 0 end) pat:update_frame(827,15,0,function(frame) frame.tex_w = 0 end) for idx = 1 , 5 do pat:remove_frame(827,9,1) pat:remove_frame(827,12,1) pat:remove_frame(827,15,1) end pat:remove_frame(827 , 8 , 7) pat:remove_frame(827 , 8 , 6) pat:remove_frame(827 , 8 , 5) pat:remove_frame(827 , 8 , 4) pat:remove_frame(827 , 8 , 3) pat:remove_frame(827 , 8 , 2) pat:remove_frame(827 , 8 , 0) pat:remove_frame(827 , 11 , 7) pat:remove_frame(827 , 11 , 6) pat:remove_frame(827 , 11 , 5) pat:remove_frame(827 , 11 , 4) pat:remove_frame(827 , 11 , 3) pat:remove_frame(827 , 11 , 2) pat:remove_frame(827 , 11 , 0) pat:remove_frame(827 , 14 , 7) pat:remove_frame(827 , 14 , 6) pat:remove_frame(827 , 14 , 5) pat:remove_frame(827 , 14 , 4) pat:remove_frame(827 , 14 , 3) pat:remove_frame(827 , 14 , 2) pat:remove_frame(827 , 14 , 0) for idx = 0 , 34 do pat:split_frame(827,8,0,1,1) end for idx = 0 , 35 do pat:update_frame(827,8,idx,function(frame) frame.tex_index = 94 frame.tex_offset_x = 64 frame.tex_offset_y = 64 frame.scale_x = 100 frame.scale_y = 75 frame.tex_w = 128 frame.tex_h = 128 frame.angle_z = 0 local ymod = 0 local xmod = 0 if (idx == 11 or idx == 23 or idx == 35) then frame.tex_w = 0 frame.duration = 5 if (idx == 35) then frame.duration = 2000 end elseif (idx < 12) then local idx1 = idx-0 frame.scale_x = 200 + (idx1)*20 local alph = 255-(idx1/11)*255 frame.color_r = alph frame.color_g = alph frame.color_b = alph ymod = 5*idx xmod = 0 -15*idx elseif (idx < 24) then local idx1 = idx-12 frame.scale_x = 200 + (idx1)*20 local alph = 255-(idx1/11)*255 frame.color_r = alph frame.color_g = alph frame.color_b = alph ymod = 0 -7*(idx-12) xmod = 0 -15*(idx-12) else local idx1 = idx-24 frame.scale_x = 200 + (idx1)*20 local alph = 255-(idx1/11)*255 frame.color_r = alph frame.color_g = alph frame.color_b = alph ymod = 0 -12*(idx-24) xmod = 0 -15*(idx-24) end local scalemod = 100/frame.scale_x local scalemody = 100/frame.scale_y frame.tex_offset_y = frame.tex_offset_y - (ymod)*scalemody frame.tex_offset_x = frame.tex_offset_x - (xmod)*scalemod end) end for idx = 0 , 34 do pat:split_frame(827,11,0,1,1) end for idx = 0 , 35 do pat:update_frame(827,11,idx,function(frame) frame.tex_index = 94 frame.tex_offset_x = 64 frame.tex_offset_y = 64 frame.scale_x = 100 frame.scale_y = 100 frame.tex_w = 128 frame.tex_h = 128 frame.angle_z = 0 local ymod = 0 local xmod = 0 if (idx == 11 or idx == 23 or idx == 35) then frame.tex_w = 0 frame.duration = 5 if (idx == 35) then frame.duration = 2000 end elseif (idx < 12) then local idx1 = idx-0 frame.scale_x = 300 + (idx1)*30 local alph = 255-(idx1/11)*255 frame.color_r = alph frame.color_g = alph frame.color_b = alph ymod = 5*idx xmod = 0 -15*idx elseif (idx < 24) then local idx1 = idx-12 frame.scale_x = 300 + (idx1)*30 local alph = 255-(idx1/11)*255 frame.color_r = alph frame.color_g = alph frame.color_b = alph ymod = 0 -7*(idx-12) xmod = 0 -15*(idx-12) else local idx1 = idx-24 frame.scale_x = 300 + (idx1)*30 local alph = 255-(idx1/11)*255 frame.color_r = alph frame.color_g = alph frame.color_b = alph ymod = 0 -12*(idx-24) xmod = 0 -15*(idx-24) end local scalemod = 100/frame.scale_x local scalemody = 100/frame.scale_y frame.tex_offset_y = frame.tex_offset_y - (ymod)*scalemody frame.tex_offset_x = frame.tex_offset_x - (xmod)*scalemod end) end for idx = 0 , 34 do pat:split_frame(827,14,0,1,1) end for idx = 0 , 35 do pat:update_frame(827,14,idx,function(frame) frame.tex_index = 94 frame.tex_offset_x = 64 frame.tex_offset_y = 64 frame.scale_x = 100 frame.scale_y = 100 frame.tex_w = 128 frame.tex_h = 128 frame.angle_z = 0 local ymod = 0 local xmod = 0 if (idx == 11 or idx == 23 or idx == 35) then frame.tex_w = 0 frame.duration = 5 if (idx == 35) then frame.duration = 2000 end elseif (idx < 12) then local idx1 = idx-0 frame.scale_x = 400 + (idx1)*40 local alph = 255-(idx1/11)*255 frame.color_r = alph frame.color_g = alph frame.color_b = alph ymod = 5*idx xmod = 0 -15*idx elseif (idx < 24) then local idx1 = idx-12 frame.scale_x = 400 + (idx1)*40 local alph = 255-(idx1/11)*255 frame.color_r = alph frame.color_g = alph frame.color_b = alph ymod = 0 -7*(idx-12) xmod = 0 -15*(idx-12) else local idx1 = idx-24 frame.scale_x = 400 + (idx1)*40 local alph = 255-(idx1/11)*255 frame.color_r = alph frame.color_g = alph frame.color_b = alph ymod = 0 -12*(idx-24) xmod = 0 -15*(idx-24) end local scalemod = 100/frame.scale_x local scalemody = 100/frame.scale_y frame.tex_offset_y = frame.tex_offset_y - (ymod)*scalemody frame.tex_offset_x = frame.tex_offset_x - (xmod)*scalemod end) end end function mods.swordssuper(pat) local baseX = 76 local baseY = 195 local baseDur = 6 pat:update_frame(607,0,0, { tex_index = 146 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -46 , hurtbox = pat:get_frame(201,0,1).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 3 }) pat:update_frame(607,0,1, { tex_index = 147 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -46 , hurtbox = pat:get_frame(201,0,1).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 3 }) pat:update_frame(607,0,2, { tex_index = 148 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -46 , hurtbox = pat:get_frame(201,0,1).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 3 }) pat:update_frame(607,0,3, { tex_index = 149 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -46 , hurtbox = pat:get_frame(201,0,1).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 2 }) pat:split_frame(607,1,0,2,2) pat:split_frame(607,1,0,2,2) pat:split_frame(607,1,0,2,2) pat:split_frame(607,1,0,2,2) pat:split_frame(607,1,0,2,2) pat:split_frame(607,1,0,2,2) pat:split_frame(607,1,0,2,2) pat:split_frame(607,1,0,2,2) pat:split_frame(607,1,0,2,2) pat:split_frame(607,1,0,2,2) pat:split_frame(607,1,0,2,2) pat:split_frame(607,1,0,2,2) pat:split_frame(607,1,0,2,2) pat:split_frame(607,1,0,2,2) pat:split_frame(607,1,0,2,2) pat:split_frame(607,1,0,2,2) for idx2 = 0 , 23 do if (idx2%4 == 0) then pat:update_frame(607,1,idx2, { tex_index = 209 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -56 , tex_offset_y = baseY -144 +10 , hurtbox = pat:get_frame(200,1,0).hurtbox , collision = pat:get_frame(200,1,0).collision }) elseif (idx2%4 == 1) then pat:update_frame(607,1,idx2, { tex_index = 209 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -56 , tex_offset_y = baseY -144 +30 , hurtbox = pat:get_frame(200,1,0).hurtbox , collision = pat:get_frame(200,1,0).collision }) elseif (idx2%4 == 2) then pat:update_frame(607,1,idx2, { tex_index = 210 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -48 , tex_offset_y = baseY -136 +20, hurtbox = pat:get_frame(200,1,0).hurtbox , collision = pat:get_frame(200,1,0).collision }) elseif (idx2%4 == 3) then pat:update_frame(607,1,idx2, { tex_index = 210 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -48 , tex_offset_y = baseY -136 , hurtbox = pat:get_frame(200,1,0).hurtbox , collision = pat:get_frame(200,1,0).collision }) end pat:update_frame(607,1,idx2,function(frame) if (idx2 <= 18) then set_fflag(frame,FF_MELEE_INV) set_fflag(frame,FF_BULLET_INV) set_fflag(frame,FF_GRAZE) end if (idx2 == 19) then frame.attackbox[1].x1 = frame.attackbox[1].x1 - 200 frame.attackbox[2].x1 = frame.attackbox[2].x1 - 200 frame.attackbox[3].x1 = frame.attackbox[3].x1 - 200 frame.attackbox[4].x1 = frame.attackbox[4].x1 - 200 frame.attackbox[1].x2 = frame.attackbox[1].x2 - 180 frame.attackbox[2].x2 = frame.attackbox[2].x2 - 120 frame.attackbox[3].x2 = frame.attackbox[3].x2 - 60 frame.attackbox[4].x2 = frame.attackbox[4].x2 - 0 frame.attackbox[1].y1 = frame.attackbox[1].y1 + 160 frame.attackbox[2].y1 = frame.attackbox[2].y1 + 160 frame.attackbox[3].y1 = frame.attackbox[3].y1 + 160 frame.attackbox[4].y1 = frame.attackbox[4].y1 + 160 frame.attackbox[1].y2 = frame.attackbox[1].y2 + 300 frame.attackbox[2].y2 = frame.attackbox[2].y2 + 250 frame.attackbox[3].y2 = frame.attackbox[3].y2 + 250 frame.attackbox[4].y2 = frame.attackbox[4].y2 + 200 frame.attackbox[3].x2 = frame.attackbox[3].x2 - 50 frame.attackbox[4] = null frame.damage = 2000 frame.chip_damage = 500 frame.limit = 40 frame.launch_vector_y = -4000 frame.launch_vector_x = 0 frame.hit_ani_air = 88 frame.hit_ani_ground = 88 frame.attack_level = AL_SUPERHEAVY frame.combo_correction = CC_SMASH_ATTACK frame.untech = 6000 frame.proration = 700 frame.hit_sfx = 4 frame.hit_effect = 4 else frame.attackbox = pat:get_frame(0,0,0).attackbox end frame.duration = 2 end) end for idx2 = 0 , 11 do pat:update_frame(607,2,idx2, { tex_index = 208 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -56 , tex_offset_y = baseY -150 , hurtbox = pat:get_frame(200,1,0).hurtbox , attackbox = pat:get_frame(0,0,0).attackbox , collision = pat:get_frame(200,1,0).collision , duration = 1}) end pat:update_frame(607,3,0, { tex_index = 210 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -48 , tex_offset_y = baseY -136 , hurtbox = pat:get_frame(200,1,0).hurtbox , collision = pat:get_frame(200,1,0).collision }) pat:update_frame(607,3,1, { tex_index = 210 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -48 , tex_offset_y = baseY -136 , hurtbox = pat:get_frame(200,1,0).hurtbox , collision = pat:get_frame(200,1,0).collision }) pat:split_frame(607,4,0,2,2) pat:split_frame(607,4,0,2,2) pat:split_frame(607,4,0,2,2) pat:split_frame(607,4,0,2,2) pat:update_frame(607,4,0, { tex_index = 149 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -46 , hurtbox = pat:get_frame(201,0,1).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 2 }) pat:update_frame(607,4,1, { tex_index = 148 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -46 , hurtbox = pat:get_frame(201,0,1).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 2 , attackbox = pat:get_frame(0,0,0).attackbox}) pat:update_frame(607,4,2, { tex_index = 147 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -46 , hurtbox = pat:get_frame(201,0,1).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 2 }) pat:update_frame(607,4,3, { tex_index = 146 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -46 , hurtbox = pat:get_frame(201,0,1).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 2 }) pat:update_frame(607,4,4, { tex_index = 145 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -46 , hurtbox = pat:get_frame(201,0,1).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 2 }) pat:update_frame(607,4,5, { tex_index = 248 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY -34 , hurtbox = pat:get_frame(1,0,1).hurtbox , duration = 2}) pat:update_frame(607,4,6, { tex_index = 247 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY -14 , hurtbox = pat:get_frame(1,0,0).hurtbox , duration = 2}) --[[ pat:get_sequence(607,3):set_priority(0,0) pat:update_frame(607,3,0,function(frame) set_fflag(frame,FF_CANCEL) set_fflag(frame,FF_GUARD_CANCEL) end) pat:update_frame(607,3,1,function(frame) set_fflag(frame,FF_CANCEL) set_fflag(frame,FF_GUARD_CANCEL) end)]]-- pat:update_frame(857,3,0,function(frame) frame.tex_w = 0 end) pat:update_frame(857,4,0,function(frame) frame.tex_w = 0 end) pat:split_frame(857,4,0,1,200) pat:update_frame(857,4,1,function(frame) frame.tex_index = 239 frame.scale_x = 100 frame.scale_y = 100 frame.tex_offset_x = 64 frame.tex_offset_y = 64 frame.tex_w = 128 frame.tex_h = 128 frame.duration = 200 frame.color_r = 255 frame.color_g = 255 frame.color_b = 255 end) pat:update_frame(857,7,0,function(frame) frame.tex_w = 0 end) pat:update_frame(857,9,0,function(frame) frame.tex_w = 0 end) for idx = 1 , 5 do pat:remove_frame(857,9,1) end pat:remove_frame(857 , 8 , 7) pat:remove_frame(857 , 8 , 6) pat:remove_frame(857 , 8 , 5) pat:remove_frame(857 , 8 , 4) pat:remove_frame(857 , 8 , 3) pat:remove_frame(857 , 8 , 2) pat:remove_frame(857 , 8 , 0) for idx = 0 , 9 do pat:split_frame(857,6,0,1,1) end for idx = 0 , 11 do pat:update_frame(857,6,idx,function(frame) frame.tex_index = 94 frame.tex_offset_x = 64 frame.tex_offset_y = 64 frame.scale_x = 100 frame.scale_y = 50 frame.tex_w = 128 frame.tex_h = 128 frame.angle_z = 0 frame.duration = 1 local ymod = 0 local xmod = 0 if (idx == 11) then frame.tex_w = 0 frame.duration = 2000 elseif (idx < 12) then local idx1 = idx-0 frame.scale_x = 100 + (idx1)*60 frame.scale_y = 25 + (idx1)*15 --[[ local alph = 255-(idx1/11)*255 frame.color_r = alph frame.color_g = alph frame.color_b = alph]]-- ymod = 260 + 40*idx xmod = 0 -15*idx local scalemody = 100/frame.scale_y frame.tex_offset_y = frame.tex_offset_y - (ymod)*scalemody end end) end end function mods.laser236(pat) local baseX = 76 local baseY = 195 local baseDur = 6 pat:remove_frame(510,1,1) pat:remove_frame(510,2,6) pat:remove_frame(510,2,5) pat:remove_frame(510,2,4) pat:remove_frame(510,2,3) pat:remove_frame(510,4,4) pat:remove_frame(510,4,3) pat:remove_frame(510,4,2) pat:update_frame(510,0,0, { tex_index = 247 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY -14 , hurtbox = pat:get_frame(410,0,0).hurtbox , duration = 3 }) pat:update_frame(510,0,1, { tex_index = 240 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -16 , hurtbox = pat:get_frame(410,0,1).hurtbox , duration = 3 }) pat:update_frame(510,0,2, { tex_index = 241 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(410,0,2).hurtbox , duration = 4}) pat:update_frame(510,0,3, { tex_index = 241 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(410,0,2).hurtbox}) pat:update_frame(510,1,0, { tex_index = 241 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(410,0,2).hurtbox}) pat:update_frame(510,2,0, { tex_index = 241 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(410,0,2).hurtbox , duration = 4}) pat:update_frame(510,2,1, { tex_index = 242 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(410,0,3).hurtbox , duration = 4}) pat:update_frame(510,2,2, { tex_index = 243 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +4 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(410,0,4).hurtbox , duration = 4}) pat:update_frame(510,3,0, { tex_index = 244 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +4 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(410,0,4).hurtbox}) pat:update_frame(510,3,1, { tex_index = 243 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +4 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(410,0,4).hurtbox}) pat:update_frame(510,4,0, { tex_index = 243 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +4 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(410,0,4).hurtbox}) pat:update_frame(510,4,1, { tex_index = 245 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(410,0,13).hurtbox }) --pat:get_sequence(510,3):set_looped(false) pat:remove_frame(512,1,1) pat:remove_frame(512,2,6) pat:remove_frame(512,2,5) pat:remove_frame(512,2,4) pat:remove_frame(512,2,3) pat:remove_frame(512,4,4) pat:remove_frame(512,4,3) pat:remove_frame(512,4,2) pat:update_frame(512,0,0, { tex_index = 247 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY -14 , hurtbox = pat:get_frame(410,0,0).hurtbox , duration = 3 }) pat:update_frame(512,0,1, { tex_index = 240 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -16 , hurtbox = pat:get_frame(410,0,1).hurtbox , duration = 3 }) pat:update_frame(512,0,2, { tex_index = 241 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(410,0,2).hurtbox , duration = 4}) pat:update_frame(512,0,3, { tex_index = 241 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(410,0,2).hurtbox}) pat:update_frame(512,1,0, { tex_index = 241 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(410,0,2).hurtbox}) pat:update_frame(512,2,0, { tex_index = 241 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(410,0,2).hurtbox , duration = 4}) pat:update_frame(512,2,1, { tex_index = 242 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(410,0,3).hurtbox , duration = 4}) pat:update_frame(512,2,2, { tex_index = 243 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +4 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(410,0,4).hurtbox , duration = 4}) pat:update_frame(512,3,0, { tex_index = 244 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +4 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(410,0,4).hurtbox}) pat:update_frame(512,3,1, { tex_index = 243 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +4 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(410,0,4).hurtbox}) pat:update_frame(512,4,0, { tex_index = 243 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +4 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(410,0,4).hurtbox}) pat:update_frame(512,4,1, { tex_index = 245 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(410,0,13).hurtbox}) pat:update_frame(512,5,0, { tex_index = 205 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY -62 , hurtbox = pat:get_frame(1,0,2).hurtbox}) pat:update_frame(512,5,1, { tex_index = 248 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY -34 , hurtbox = pat:get_frame(1,0,1).hurtbox}) pat:update_frame(512,5,2, { tex_index = 247 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY -14 , hurtbox = pat:get_frame(3,0,2).hurtbox }) pat:remove_frame(613,1,9) pat:remove_frame(613,1,8) pat:remove_frame(613,1,7) pat:remove_frame(613,1,6) pat:remove_frame(613,1,5) pat:remove_frame(613,1,4) pat:remove_frame(613,1,3) pat:remove_frame(613,1,2) pat:remove_frame(613,1,1) pat:remove_frame(613,2,6) pat:remove_frame(613,2,5) pat:remove_frame(613,2,4) pat:remove_frame(613,2,3) pat:remove_frame(613,4,4) pat:remove_frame(613,4,3) pat:remove_frame(613,4,2) pat:update_frame(613,0,0, { tex_index = 247 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY -14 , hurtbox = pat:get_frame(410,0,0).hurtbox , duration = 3 }) pat:update_frame(613,0,1, { tex_index = 240 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -16 , hurtbox = pat:get_frame(410,0,1).hurtbox , duration = 3 }) pat:update_frame(613,0,2, { tex_index = 241 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(410,0,2).hurtbox , duration = 3}) pat:update_frame(613,0,3, { tex_index = 241 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(410,0,2).hurtbox}) pat:update_frame(613,1,0, { tex_index = 241 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(410,0,2).hurtbox , duration = 40}) pat:update_frame(613,2,0, { tex_index = 241 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(410,0,2).hurtbox}) pat:update_frame(613,2,1, { tex_index = 242 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(410,0,3).hurtbox}) pat:update_frame(613,2,2, { tex_index = 243 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +4 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(410,0,4).hurtbox}) pat:update_frame(613,3,0, { tex_index = 244 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +4 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(410,0,4).hurtbox}) pat:update_frame(613,3,1, { tex_index = 243 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +4 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(410,0,4).hurtbox}) pat:update_frame(613,4,0, { tex_index = 243 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +4 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(410,0,4).hurtbox , duration = 10}) pat:update_frame(613,4,1, { tex_index = 245 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(410,0,13).hurtbox , duration = 5}) pat:remove_frame(663,1,9) pat:remove_frame(663,1,8) pat:remove_frame(663,1,7) pat:remove_frame(663,1,6) pat:remove_frame(663,1,5) pat:remove_frame(663,1,4) pat:remove_frame(663,1,3) pat:remove_frame(663,1,2) pat:remove_frame(663,1,1) pat:remove_frame(663,2,6) pat:remove_frame(663,2,5) pat:remove_frame(663,2,4) pat:remove_frame(663,2,3) pat:remove_frame(663,4,4) pat:remove_frame(663,4,3) pat:remove_frame(663,4,2) pat:update_frame(663,0,0, { tex_index = 247 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY -14 , hurtbox = pat:get_frame(410,0,0).hurtbox , duration = 3 }) pat:update_frame(663,0,1, { tex_index = 240 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -16 , hurtbox = pat:get_frame(410,0,1).hurtbox , duration = 3 }) pat:update_frame(663,0,2, { tex_index = 241 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(410,0,2).hurtbox , duration = 3}) pat:update_frame(663,0,3, { tex_index = 241 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(410,0,2).hurtbox}) pat:update_frame(663,1,0, { tex_index = 241 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(410,0,2).hurtbox , duration = 40}) pat:update_frame(663,2,0, { tex_index = 241 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(410,0,2).hurtbox}) pat:update_frame(663,2,1, { tex_index = 242 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(410,0,3).hurtbox}) pat:update_frame(663,2,2, { tex_index = 243 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +4 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(410,0,4).hurtbox}) pat:update_frame(663,3,0, { tex_index = 244 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +4 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(410,0,4).hurtbox}) pat:update_frame(663,3,1, { tex_index = 243 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +4 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(410,0,4).hurtbox}) pat:update_frame(663,4,0, { tex_index = 243 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +4 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(410,0,4).hurtbox , duration = 16}) pat:update_frame(663,4,1, { tex_index = 245 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(410,0,13).hurtbox , duration = 5}) --pat:get_sequence(812,0):set_looped(false) pat:update_frame(812,0,0,function(frame) frame.blockstop_enemy = 10 frame.blockstop_self = 10 frame.hitstop_enemy = 10 frame.hitstop_self = 10 frame.sp_damage = 20 frame.damage = 200 frame.chip_damage = 50 frame.proration = 950 frame.limit = 5 frame.color_r = 255 frame.color_g = 100 frame.color_b = 100 end) for idx = 0 , 9 do --pat:split_frame(817,5,0,1,1) end for idx = 0 , 0 do pat:update_frame(812,0,idx,function(frame) --[[ frame.tex_index = 90 frame.scale_x = 100 frame.scale_y = 100 frame.tex_offset_x = 64 frame.tex_offset_y = 64 frame.tex_w = 0 frame.tex_h = 128 frame.duration = 1]]-- frame.color_r = 255 frame.color_g = 255 frame.color_b = 255 --frame.attackbox = pat:get_frame(0,0,0).hurtbox --frame.duration = 2 end) end--[[ pat:update_frame(812,1,0,function(frame) frame.color_r = 255 frame.color_g = 100 frame.color_b = 100 end) pat:update_frame(812,1,1,function(frame) frame.color_r = 255 frame.color_g = 100 frame.color_b = 100 end) pat:update_frame(812,2,0,function(frame) frame.color_r = 255 frame.color_g = 100 frame.color_b = 100 end) pat:update_frame(812,2,1,function(frame) frame.color_r = 255 frame.color_g = 100 frame.color_b = 100 end)]]-- for idx = 0 , 12 do pat:split_frame(812,1,0,1,1) end for idx = 0 , 14 do pat:update_frame(812,1,idx,function(frame) frame.tex_index = 117 + idx%11 frame.scale_x = 100 frame.scale_y = 100 frame.tex_offset_x = 85 frame.tex_offset_y = 69 frame.tex_w = 128 frame.tex_h = 128 frame.duration = 1 end) end for idx = 0 , 12 do pat:split_frame(812,2,0,1,1) end for idx = 0 , 14 do pat:update_frame(812,2,idx,function(frame) frame.tex_index = 117 + idx%11 frame.scale_x = 100 frame.scale_y = 100 frame.tex_offset_x = 85 frame.tex_offset_y = 69 frame.tex_w = 128 frame.tex_h = 128 frame.duration = 1 end) end pat:update_frame(863,0,0,function(frame) --frame.duration = 4 end) --pat:get_sequence(863,0):set_looped(false) for idx = 0 , 12 do pat:split_frame(863,1,0,1,1) end for idx = 0 , 14 do pat:update_frame(863,1,idx,function(frame) frame.tex_index = 117 + idx%11 frame.scale_x = 100 frame.scale_y = 100 frame.tex_offset_x = 85 frame.tex_offset_y = 69 frame.tex_w = 128 frame.tex_h = 128 frame.duration = 1 frame.hit_ani_air = 71 frame.hit_ani_ground = 71 end) end for idx = 0 , 12 do pat:split_frame(863,2,0,1,1) end for idx = 0 , 14 do pat:update_frame(863,2,idx,function(frame) frame.tex_index = 117 + idx%11 frame.scale_x = 100 frame.scale_y = 100 frame.tex_offset_x = 85 frame.tex_offset_y = 69 frame.tex_w = 128 frame.tex_h = 128 frame.duration = 1 end) end end function mods.laser236_v2(pat) local baseX = 76 local baseY = 195 local baseDur = 6 pat:remove_frame(510,1,1) pat:remove_frame(510,2,6) pat:remove_frame(510,2,5) pat:remove_frame(510,2,4) pat:remove_frame(510,2,3) pat:remove_frame(510,4,4) pat:remove_frame(510,4,3) pat:remove_frame(510,4,2) --[[ pat:update_frame(510,0,0, { tex_index = 247 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY -14 , hurtbox = pat:get_frame(410,0,0).hurtbox , duration = 3 }) pat:update_frame(510,0,1, { tex_index = 240 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -16 , hurtbox = pat:get_frame(410,0,1).hurtbox , duration = 3 }) pat:update_frame(510,0,2, { tex_index = 241 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(410,0,2).hurtbox , duration = 4}) pat:update_frame(510,0,3, { tex_index = 241 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(410,0,2).hurtbox}) pat:update_frame(510,1,0, { tex_index = 241 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(410,0,2).hurtbox}) pat:update_frame(510,2,0, { tex_index = 241 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(410,0,2).hurtbox , duration = 4}) pat:update_frame(510,2,1, { tex_index = 242 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(410,0,3).hurtbox , duration = 4}) pat:update_frame(510,2,2, { tex_index = 243 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +4 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(410,0,4).hurtbox , duration = 4}) pat:update_frame(510,3,0, { tex_index = 244 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +4 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(410,0,4).hurtbox}) pat:update_frame(510,3,1, { tex_index = 243 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +4 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(410,0,4).hurtbox}) pat:update_frame(510,4,0, { tex_index = 243 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +4 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(410,0,4).hurtbox}) pat:update_frame(510,4,1, { tex_index = 245 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(410,0,13).hurtbox })]]-- --pat:get_sequence(510,3):set_looped(false) pat:update_frame(510,0,0, { tex_index = 349, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -4 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(302,0,1).hurtbox , duration = 3 }) pat:update_frame(510,0,1, { tex_index = 250, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 +70 , tex_offset_y = baseY +64 , hurtbox = pat:get_frame(302,0,2).hurtbox , duration = 6 }) pat:update_frame(510,0,2, { tex_index = 250, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 +70 , tex_offset_y = baseY +64 , hurtbox = pat:get_frame(302,0,2).hurtbox , duration = 3 }) pat:update_frame(510,0,3, { tex_index = 250, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 +70 , tex_offset_y = baseY +64 , hurtbox = pat:get_frame(302,0,2).hurtbox , duration = 3 }) pat:update_frame(510,1,0, { tex_index = 350, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 +20, tex_offset_y = baseY +80 , hurtbox = pat:get_frame(302,0,4).hurtbox , duration = 3 }) pat:update_frame(510,2,0, { tex_index = 351, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 -20 , tex_offset_y = baseY +92 , hurtbox = pat:get_frame(302,0,5).hurtbox , duration = 2 }) pat:update_frame(510,2,1, { tex_index = 351, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 -20 , tex_offset_y = baseY +92 , hurtbox = pat:get_frame(302,0,5).hurtbox , duration = 1 }) pat:update_frame(510,2,2, { tex_index = 352, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 -60 , tex_offset_y = baseY -44 , hurtbox = pat:get_frame(302,0,6).hurtbox , duration = 3 }) pat:update_frame(510,3,0, { tex_index = 353, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 -60 , tex_offset_y = baseY -44 , hurtbox = pat:get_frame(302,0,6).hurtbox , duration = 38 }) pat:update_frame(510,3,1, { tex_index = 353, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 -60 , tex_offset_y = baseY -44 , hurtbox = pat:get_frame(302,0,6).hurtbox , duration = 2 }) pat:update_frame(510,4,0, { tex_index = 349, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -4 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(302,0,8).hurtbox , duration = 6 }) pat:update_frame(510,4,1, { tex_index = 348, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -4 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(302,0,9).hurtbox , duration = 6 }) pat:remove_frame(512,1,1) pat:remove_frame(512,2,6) pat:remove_frame(512,2,5) pat:remove_frame(512,2,4) pat:remove_frame(512,2,3) pat:remove_frame(512,4,4) pat:remove_frame(512,4,3) pat:remove_frame(512,4,2) local baseY2 = 46 local baseX2 = 12 pat:update_frame(512,0,0, { tex_index = 349, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -4 -20 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(307,0,0).hurtbox , duration = 3 }) pat:update_frame(512,0,1, { tex_index = 250, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 , tex_offset_y = baseY +94 , hurtbox = pat:get_frame(307,0,1).hurtbox , duration = 6 }) pat:update_frame(512,0,2, { tex_index = 250, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 , tex_offset_y = baseY +94 , hurtbox = pat:get_frame(307,0,1).hurtbox , duration = 3 }) pat:update_frame(512,0,3, { tex_index = 250, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 , tex_offset_y = baseY +94 , hurtbox = pat:get_frame(307,0,1).hurtbox , duration = 3 }) pat:update_frame(512,1,0, { tex_index = 350, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 -0, tex_offset_y = baseY +80 +10 , hurtbox = pat:get_frame(307,0,4).hurtbox , duration = 3 }) pat:update_frame(512,2,0, { tex_index = 351, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 -0 , tex_offset_y = baseY +72 +10 , hurtbox = pat:get_frame(307,0,5).hurtbox , duration = 2 }) pat:update_frame(512,2,1, { tex_index = 351, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 -0 , tex_offset_y = baseY +72 +10 , hurtbox = pat:get_frame(307,0,5).hurtbox , duration = 1 }) pat:update_frame(512,2,2, { tex_index = 352, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 -0 , tex_offset_y = baseY -44 +10 , hurtbox = pat:get_frame(307,0,6).hurtbox , duration = 3 }) pat:update_frame(512,3,0, { tex_index = 353, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 -0 , tex_offset_y = baseY -44 +10 , hurtbox = pat:get_frame(307,0,6).hurtbox , duration = 38 }) pat:update_frame(512,3,1, { tex_index = 353, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 -0 , tex_offset_y = baseY -44 +10 , hurtbox = pat:get_frame(307,0,6).hurtbox , duration = 2 }) pat:update_frame(512,4,0, { tex_index = 349, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -4 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(307,0,0).hurtbox , duration = 6 }) pat:update_frame(512,4,1, { tex_index = 205 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY +baseY2/2 -32 , hurtbox = pat:get_frame(6,1,4).hurtbox , duration = 4}) --[[ pat:update_frame(307,0,10, { tex_index = 214 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -26 , tex_offset_y = baseY +baseY2 -86 , hurtbox = pat:get_frame(6,2,0).hurtbox , duration = 4}) pat:update_frame(307,0,11, { tex_index = 215 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -28 , tex_offset_y = baseY +baseY2 -86 , hurtbox = pat:get_frame(6,2,1).hurtbox , duration = 4}) pat:update_frame(307,0,12, { tex_index = 216 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -38 , tex_offset_y = baseY +baseY2 -84 , hurtbox = pat:get_frame(6,2,1).hurtbox , duration = 4}) pat:update_frame(307,0,13, { tex_index = 217 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY +baseY2 -84 , hurtbox = pat:get_frame(6,2,1).hurtbox , duration = 4}) pat:update_frame(307,0,14, { tex_index = 205 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY +baseY2/2 -32 , hurtbox = pat:get_frame(6,1,4).hurtbox , duration = 4})]]-- pat:update_frame(512,5,0, { tex_index = 205 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY -62 , hurtbox = pat:get_frame(1,0,2).hurtbox}) pat:update_frame(512,5,1, { tex_index = 248 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY -34 , hurtbox = pat:get_frame(1,0,1).hurtbox}) pat:update_frame(512,5,2, { tex_index = 247 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY -14 , hurtbox = pat:get_frame(3,0,2).hurtbox }) pat:remove_frame(613,1,9) pat:remove_frame(613,1,8) pat:remove_frame(613,1,7) pat:remove_frame(613,1,6) pat:remove_frame(613,1,5) pat:remove_frame(613,1,4) pat:remove_frame(613,1,3) pat:remove_frame(613,1,2) pat:remove_frame(613,1,1) pat:remove_frame(613,2,6) pat:remove_frame(613,2,5) pat:remove_frame(613,2,4) pat:remove_frame(613,2,3) pat:remove_frame(613,4,4) pat:remove_frame(613,4,3) pat:remove_frame(613,4,2) pat:update_frame(613,0,0, { tex_index = 349, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -4 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(302,0,1).hurtbox , duration = 3 }) pat:update_frame(613,0,1, { tex_index = 250, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 +70 , tex_offset_y = baseY +64 , hurtbox = pat:get_frame(302,0,2).hurtbox , duration = 6 }) pat:update_frame(613,0,2, { tex_index = 250, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 +70 , tex_offset_y = baseY +64 , hurtbox = pat:get_frame(302,0,2).hurtbox , duration = 3 }) pat:update_frame(613,0,3, { tex_index = 250, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 +70 , tex_offset_y = baseY +64 , hurtbox = pat:get_frame(302,0,2).hurtbox , duration = 3 }) pat:update_frame(613,1,0, { tex_index = 250, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 +70 , tex_offset_y = baseY +64 , hurtbox = pat:get_frame(302,0,2).hurtbox , duration = 40 }) pat:update_frame(613,2,0, { tex_index = 350, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 +20, tex_offset_y = baseY +80 , hurtbox = pat:get_frame(302,0,4).hurtbox , duration = 3 }) pat:update_frame(613,2,1, { tex_index = 351, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 -20 , tex_offset_y = baseY +92 , hurtbox = pat:get_frame(302,0,5).hurtbox , duration = 3 }) pat:update_frame(613,2,2, { tex_index = 352, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 -60 , tex_offset_y = baseY -44 , hurtbox = pat:get_frame(302,0,6).hurtbox , duration = 3 }) pat:update_frame(613,3,0, { tex_index = 353, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 -60 , tex_offset_y = baseY -44 , hurtbox = pat:get_frame(302,0,7).hurtbox , duration = 15 }) pat:update_frame(613,3,1, { tex_index = 353, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 -60 , tex_offset_y = baseY -44 , hurtbox = pat:get_frame(302,0,7).hurtbox , duration = 2 }) pat:update_frame(613,4,0, { tex_index = 349, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -4 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(302,0,8).hurtbox , duration = 6 }) pat:update_frame(613,4,1, { tex_index = 348, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -4 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(302,0,9).hurtbox , duration = 6 }) pat:remove_frame(663,1,9) pat:remove_frame(663,1,8) pat:remove_frame(663,1,7) pat:remove_frame(663,1,6) pat:remove_frame(663,1,5) pat:remove_frame(663,1,4) pat:remove_frame(663,1,3) pat:remove_frame(663,1,2) pat:remove_frame(663,1,1) pat:remove_frame(663,2,6) pat:remove_frame(663,2,5) pat:remove_frame(663,2,4) pat:remove_frame(663,2,3) pat:remove_frame(663,4,4) pat:remove_frame(663,4,3) pat:remove_frame(663,4,2) pat:update_frame(663,0,0, { tex_index = 349, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -4 -20 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(307,0,0).hurtbox , duration = 3 }) pat:update_frame(663,0,1, { tex_index = 250, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 , tex_offset_y = baseY +94 , hurtbox = pat:get_frame(307,0,1).hurtbox , duration = 6 }) pat:update_frame(663,0,2, { tex_index = 250, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 , tex_offset_y = baseY +94 , hurtbox = pat:get_frame(307,0,1).hurtbox , duration = 3 }) pat:update_frame(663,0,3, { tex_index = 250, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 , tex_offset_y = baseY +94 , hurtbox = pat:get_frame(307,0,1).hurtbox , duration = 3 }) pat:update_frame(663,1,0, { tex_index = 250, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 , tex_offset_y = baseY +94 , hurtbox = pat:get_frame(307,0,1).hurtbox , duration = 40 }) pat:update_frame(663,2,0, { tex_index = 350, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 -0, tex_offset_y = baseY +80 +10 , hurtbox = pat:get_frame(307,0,4).hurtbox , duration = 3 }) pat:update_frame(663,2,1, { tex_index = 351, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 -0 , tex_offset_y = baseY +72 +10 , hurtbox = pat:get_frame(307,0,5).hurtbox , duration = 3 }) pat:update_frame(663,2,2, { tex_index = 352, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 -0 , tex_offset_y = baseY -44 +10 , hurtbox = pat:get_frame(307,0,6).hurtbox , duration = 3 }) pat:update_frame(663,3,0, { tex_index = 353, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 -0 , tex_offset_y = baseY -44 +10 , hurtbox = pat:get_frame(307,0,6).hurtbox , duration = 15 }) pat:update_frame(663,3,1, { tex_index = 353, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 -0 , tex_offset_y = baseY -44 +10 , hurtbox = pat:get_frame(307,0,6).hurtbox , duration = 2 }) pat:update_frame(663,4,0, { tex_index = 349, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -4 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(307,0,0).hurtbox , duration = 6 }) pat:update_frame(663,4,1, { tex_index = 205 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY +baseY2/2 -32 , hurtbox = pat:get_frame(6,1,4).hurtbox , duration = 4}) pat:get_sequence(812,0):set_looped(false) pat:update_frame(812,0,0,function(frame) frame.blockstop_enemy = 6 frame.blockstop_self = 6 frame.hitstop_enemy = 6 frame.hitstop_self = 6 frame.sp_damage = 10 frame.damage = 250 frame.chip_damage = 25 frame.proration = 950 frame.card_gain_hit = 15 frame.card_gain_block = 15 frame.limit = 4 --set_aflag(frame,AF_DRAINS_ON_GRAZE) end) for idx = 0 , 9 do --pat:split_frame(812,0,0,1,1) end for idx = 0 , 0 do pat:update_frame(812,0,idx,function(frame) frame.tex_w = 0 frame.tex_h = 0 frame.duration = 16 --6 frame.attackbox = pat:get_frame(0,0,0).hurtbox frame.attackbox[1].x1 = -200 frame.attackbox[1].x2 = 200 frame.attackbox[1].y1 = -200 frame.attackbox[1].y2 = 200 frame.attackbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.attackbox[2].x1 = -280 frame.attackbox[2].x2 = 280 frame.attackbox[2].y1 = -120 frame.attackbox[2].y2 = 120 frame.attackbox[3] = pat:get_frame(0,0,0).hurtbox[1] frame.attackbox[3].x1 = -120 frame.attackbox[3].x2 = 120 frame.attackbox[3].y1 = -280 frame.attackbox[3].y2 = 280 for idx = 1 , 3 do frame.attackbox[idx].x1 = frame.attackbox[idx].x1 * .35 frame.attackbox[idx].x2 = frame.attackbox[idx].x2 * .35 frame.attackbox[idx].y1 = frame.attackbox[idx].y1 * .35 frame.attackbox[idx].y2 = frame.attackbox[idx].y2 * .35 end end) end for idx = 0 , 12 do --pat:split_frame(812,1,0,1,1) end for idx = 0 , 1 do pat:update_frame(812,1,idx,function(frame) frame.tex_index = 178 frame.scale_x = 100 frame.scale_y = 100 frame.tex_offset_x = 127 frame.tex_offset_y = 127 frame.tex_w = 256 frame.tex_h = 256 frame.duration = 240 if (idx==0) then frame.duration = 1 frame.tex_w = 0 end end) end for idx = 0 , 12 do --pat:split_frame(812,2,0,1,1) end for idx = 0 , 1 do pat:update_frame(812,2,idx,function(frame) frame.tex_index = 178 frame.scale_x = 100 frame.scale_y = 100 frame.tex_offset_x = 127 frame.tex_offset_y = 127 frame.tex_w = 0 frame.tex_h = 256 frame.duration = 240 end) end for idx = 0 , 2 do local loop2 = 1 if (idx==0) then loop2 = 0 end for idx2 = 0 , loop2 do pat:update_frame(812,idx,idx2,function(frame) unset_fflag(frame,FF_AFTER_IMAGE) unset_fflag(frame,FF_LOOP_ANIMATION) frame.untech = 45 frame.damage = 250 frame.chip_damage = 25 frame.limit = 4 frame.proration = 950 frame.sp_damage = 20 frame.hitstop_self = 6 frame.hitstop_enemy = 6 frame.blockstop_self = 6 frame.blockstop_enemy = 6 frame.hit_ani_air = 71 frame.hit_ani_ground = 71 frame.launch_vector_x = 1250 frame.launch_vector_y = 1250 frame.attackbox = pat:get_frame(812,0,0).attackbox set_aflag(frame,AF_UNREFLECTABLE) if (idx == 2) then frame.attackbox = pat:get_frame(0,0,0).attackbox end end) end end pat:update_frame(863,0,0,function(frame) frame.duration = 4 end) for idx = 0 , 12 do --pat:split_frame(863,0,0,5,5) end pat:get_sequence(863,0):set_looped(false) for idx = 0 , 12 do --pat:split_frame(863,1,0,1,1) end for idx = 0 , 1 do pat:update_frame(863,1,idx,function(frame) frame.tex_index = 178 frame.scale_x = 150 frame.scale_y = 150 frame.tex_offset_x = 127 frame.tex_offset_y = 127 frame.tex_w = 256 frame.tex_h = 256 frame.duration = 240 if (idx==0) then frame.duration = 1 frame.tex_w = 0 end end) end for idx = 0 , 12 do --pat:split_frame(863,2,0,1,1) end for idx = 0 , 1 do pat:update_frame(863,2,idx,function(frame) frame.tex_index = 178 frame.scale_x = 150 frame.scale_y = 150 frame.tex_offset_x = 127 frame.tex_offset_y = 127 frame.tex_w = 0 frame.tex_h = 256 frame.duration = 240 set_aflag(frame,AF_UNREFLECTABLE) end) end for idx = 0 , 1 do local loop2 = 1 if (idx==0) then loop2 = 0 end for idx2 = 0 , loop2 do pat:update_frame(863,idx,idx2,function(frame) frame.attackbox = pat:get_frame(812,0,0).attackbox for idx = 1 , 3 do frame.attackbox[idx].x1 = frame.attackbox[idx].x1 * 1.5 frame.attackbox[idx].x2 = frame.attackbox[idx].x2 * 1.5 frame.attackbox[idx].y1 = frame.attackbox[idx].y1 * 1.5 frame.attackbox[idx].y2 = frame.attackbox[idx].y2 * 1.5 end unset_fflag(frame,FF_AFTER_IMAGE) unset_fflag(frame,FF_LOOP_ANIMATION) frame.damage = 550 frame.chip_damage = 55 frame.limit = 5 frame.proration = 930 frame.sp_damage = 70 frame.hitstop_self = 15 frame.hitstop_enemy = 20 frame.blockstop_self = 15 frame.blockstop_enemy = 20 frame.hit_ani_air = 71 frame.hit_ani_ground = 71 frame.launch_vector_x = 1500 frame.launch_vector_y = 1500 set_aflag(frame,AF_UNREFLECTABLE) if (idx == 2) then frame.attackbox = pat:get_frame(0,0,0).attackbox end end) end end end function mods.icebomb(pat) local baseX = 76 local baseY = 195 local baseDur = 6 pat:update_frame(545,0,0, { tex_index = 247 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY -14 , hurtbox = pat:get_frame(410,0,0).hurtbox , duration = 5 }) pat:update_frame(545,0,1, { tex_index = 240 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -16 , hurtbox = pat:get_frame(410,0,1).hurtbox , duration = 5 }) pat:update_frame(545,0,2, { tex_index = 241 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(410,0,2).hurtbox , duration = 17}) pat:update_frame(545,0,3, { tex_index = 242 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(410,0,3).hurtbox , duration = 3}) pat:update_frame(545,0,4, { tex_index = 243 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +4 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(410,0,4).hurtbox , duration = 3}) pat:update_frame(545,0,5, { tex_index = 244 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +4 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(410,0,4).hurtbox , duration = 3}) pat:update_frame(545,0,6, { tex_index = 243 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +4 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(410,0,4).hurtbox , duration = 3}) pat:update_frame(545,0,7, { tex_index = 244 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +4 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(410,0,4).hurtbox , duration = 3}) pat:update_frame(545,0,8, { tex_index = 243 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +4 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(410,0,4).hurtbox , duration = 3}) pat:update_frame(545,0,9, { tex_index = 244 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +4 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(410,0,4).hurtbox , duration = 3}) pat:update_frame(545,0,10, { tex_index = 243 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +4 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(410,0,4).hurtbox , duration = 3}) pat:update_frame(545,0,11, { tex_index = 244 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +4 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(410,0,4).hurtbox , duration = 3}) pat:update_frame(545,0,12, { tex_index = 243 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +4 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(410,0,4).hurtbox , duration = 4}) pat:update_frame(545,0,13, { tex_index = 245 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(410,0,13).hurtbox, duration = 4}) pat:update_frame(547,0,0, { tex_index = 247 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY -14 , hurtbox = pat:get_frame(414,0,0).hurtbox , duration = 5 }) pat:update_frame(547,0,1, { tex_index = 240 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -16 , hurtbox = pat:get_frame(414,0,1).hurtbox , duration = 5 }) pat:update_frame(547,0,2, { tex_index = 241 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(414,0,2).hurtbox , duration = 17}) pat:update_frame(547,0,3, { tex_index = 242 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(414,0,3).hurtbox , duration = 3}) pat:update_frame(547,0,4, { tex_index = 243 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +4 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(414,0,4).hurtbox , duration = 3}) pat:update_frame(547,0,5, { tex_index = 244 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +4 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(414,0,4).hurtbox , duration = 3}) pat:update_frame(547,0,6, { tex_index = 243 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +4 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(414,0,4).hurtbox , duration = 3}) pat:update_frame(547,0,7, { tex_index = 244 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +4 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(414,0,4).hurtbox , duration = 3}) pat:update_frame(547,0,8, { tex_index = 243 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +4 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(414,0,4).hurtbox , duration = 3}) pat:update_frame(547,0,9, { tex_index = 244 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +4 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(414,0,4).hurtbox , duration = 3}) pat:update_frame(547,0,10, { tex_index = 243 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +4 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(414,0,4).hurtbox , duration = 3}) pat:update_frame(547,0,11, { tex_index = 244 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +4 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(414,0,4).hurtbox , duration = 3}) pat:update_frame(547,0,12, { tex_index = 243 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +4 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(414,0,4).hurtbox , duration = 4}) pat:update_frame(547,0,13, { tex_index = 245 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(414,0,13).hurtbox, duration = 4}) pat:split_frame(547,2,0,1,1) pat:update_frame(547,2,0, { tex_index = 205 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY -62 , hurtbox = pat:get_frame(1,0,2).hurtbox , duration = 3}) pat:update_frame(547,2,1, { tex_index = 248 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY -34 , hurtbox = pat:get_frame(1,0,1).hurtbox , duration = 5}) pat:update_frame(547,2,2, { tex_index = 247 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY -14 , hurtbox = pat:get_frame(3,0,2).hurtbox , duration = 4}) for idx = 4 , 6 do pat:update_frame(545,0,idx,function(frame) set_fflag(frame,FF_MOTION_CANCEL) end) pat:update_frame(547,0,idx,function(frame) set_fflag(frame,FF_MOTION_CANCEL) end) end for idx = 0 , 18 do pat:split_frame(821,0,0,1,1) end for idx = 0 , 20 do pat:update_frame(821,0,idx,function(frame) frame.tex_index = 200 frame.tex_w = 64 frame.tex_h = 64 frame.tex_offset_x = 32 frame.tex_offset_y = 32 frame.scale_x = 300 frame.scale_y = 300 frame.color_r = 255 frame.color_g = 255 end) end pat:update_frame(821,1,0,function(frame) frame.tex_index = 200 frame.tex_w = 64 frame.tex_h = 64 frame.tex_offset_x = 32 frame.tex_offset_y = 32 frame.scale_x = 300 frame.scale_y = 300 frame.color_r = 255 frame.color_g = 255 end) pat:update_frame(821,2,0,function(frame) frame.tex_w = 0 end) for idx = 0 , 14 do pat:split_frame(821,3,0,1,1) end for idx = 0 , 15 do pat:update_frame(821,3,idx,function(frame) frame.tex_index = 200 frame.tex_w = 64 frame.tex_h = 64 frame.tex_offset_x = 32 frame.tex_offset_y = 32 frame.scale_x = 250 + idx*15 frame.scale_y = 250 + idx*15 frame.color_r = 255 frame.color_g = 255 local scalemod = 100/frame.scale_x local xmod = - 25*idx frame.tex_offset_x = frame.tex_offset_x - (xmod)*scalemod if (idx>8)then frame.color_r = 255 - (idx-8)*50 frame.color_g = 255 - (idx-8)*50 frame.color_b = 255 - (idx-8)*50 end if (idx<11)then frame.attackbox[1]=null else frame.attackbox[1].x1 = frame.attackbox[1].x1 + xmod - 70 frame.attackbox[1].x2 = frame.attackbox[1].x2 + xmod + 20 frame.attackbox[1].y1 = frame.attackbox[1].y1 - 60 frame.attackbox[1].y2 = frame.attackbox[1].y2 + 60 frame.hurtbox[1] = frame.attackbox[1] end if (idx>12) then frame.color_r = 0 frame.color_g = 0 frame.color_b = 0 frame.attackbox[1]=null frame.hurtbox[1] = null frame.duration = 20 end frame.sp_damage = frame.sp_damage * 1.5 * .75 frame.damage = 150 frame.chip_damage = 15 end) end pat:update_frame(821,4,0,function(frame) frame.tex_index = 239 frame.scale_x = 100 frame.scale_y = 100 frame.tex_offset_x = 64 frame.tex_offset_y = 64 frame.tex_w = 128 frame.tex_h = 128 frame.duration = 1 frame.color_r = 255 frame.color_g = 255 frame.color_b = 255 frame.tex_w = 0 end) pat:update_frame(821,5,0,function(frame) frame.tex_index = 239 frame.scale_x = 100 frame.scale_y = 100 frame.tex_offset_x = 64 frame.tex_offset_y = 64 frame.tex_w = 128 frame.tex_h = 128 frame.duration = 1 frame.color_r = 255 frame.color_g = 255 frame.color_b = 255 frame.tex_w = 0 end) pat:update_frame(821,6,0,function(frame) frame.tex_w = 0 end) end function mods.sixsee(pat) local baseX = 76 local baseY = 195 local baseDur = 6 pat:update_frame(411,0,0, { tex_index = 247 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY -14 , hurtbox = pat:get_frame(410,0,0).hurtbox , duration = 5-2 }) pat:update_frame(411,0,1, { tex_index = 240 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -16 , hurtbox = pat:get_frame(410,0,1).hurtbox , duration = 5-2 }) pat:update_frame(411,0,2, { tex_index = 241 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(410,0,2).hurtbox , duration = 10}) pat:update_frame(411,0,3, { tex_index = 242 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(410,0,3).hurtbox , duration = 3}) pat:update_frame(411,0,4, { tex_index = 243 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +4 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(410,0,4).hurtbox , duration = 3}) pat:update_frame(411,0,5, { tex_index = 244 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +4 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(410,0,4).hurtbox , duration = 3}) pat:update_frame(411,0,6, { tex_index = 243 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +4 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(410,0,4).hurtbox , duration = 3}) pat:update_frame(411,0,7, { tex_index = 244 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +4 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(410,0,4).hurtbox , duration = 3}) pat:update_frame(411,0,8, { tex_index = 243 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +4 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(410,0,4).hurtbox , duration = 3}) pat:update_frame(411,0,9, { tex_index = 244 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +4 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(410,0,4).hurtbox , duration = 3}) pat:update_frame(411,0,10, { tex_index = 243 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +4 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(410,0,4).hurtbox , duration = 3}) pat:update_frame(411,0,11, { tex_index = 244 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +4 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(410,0,4).hurtbox , duration = 3}) pat:update_frame(411,0,12, { tex_index = 243 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +4 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(410,0,4).hurtbox , duration = 4}) pat:update_frame(411,0,13, { tex_index = 245 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(410,0,13).hurtbox, duration = 4}) pat:update_frame(411,0,0, { tex_index = 31 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -16 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 5-2}) pat:update_frame(411,0,1, { tex_index = 32 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -2 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 6}) pat:update_frame(411,0,2, { tex_index = 33 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +2 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 13}) pat:update_frame(411,0,3, { tex_index = 34 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(400,2,0).hurtbox , duration = 3}) pat:update_frame(411,0,4, { tex_index = 34 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(400,2,0).hurtbox , duration = 3}) pat:update_frame(411,0,5, { tex_index = 34 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(400,2,0).hurtbox , duration = 3}) pat:update_frame(411,0,6, { tex_index = 34 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(400,2,0).hurtbox , duration = 3}) pat:update_frame(411,0,7, { tex_index = 34 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(400,2,0).hurtbox , duration = 3}) pat:update_frame(411,0,8, { tex_index = 34 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(400,2,0).hurtbox , duration = 3}) pat:update_frame(411,0,9, { tex_index = 34 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(400,2,0).hurtbox , duration = 3}) pat:update_frame(411,0,10, { tex_index = 32 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -2 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 3}) pat:update_frame(411,0,11, { tex_index = 31 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -16 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 3}) pat:update_frame(411,0,12, { tex_index = 35 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 4}) pat:update_frame(411,0,13, { tex_index = 35 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 4}) pat:update_frame(415,0,0, { tex_index = 247 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY -14 , hurtbox = pat:get_frame(414,0,0).hurtbox , duration = 5-2 }) pat:update_frame(415,0,1, { tex_index = 240 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -16 , hurtbox = pat:get_frame(414,0,1).hurtbox , duration = 5-2 }) pat:update_frame(415,0,2, { tex_index = 241 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(414,0,2).hurtbox , duration = 10}) pat:update_frame(415,0,3, { tex_index = 242 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(414,0,3).hurtbox , duration = 3}) pat:update_frame(415,0,4, { tex_index = 243 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +4 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(414,0,4).hurtbox , duration = 3}) pat:update_frame(415,0,5, { tex_index = 244 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +4 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(414,0,4).hurtbox , duration = 3}) pat:update_frame(415,0,6, { tex_index = 243 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +4 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(414,0,4).hurtbox , duration = 3}) pat:update_frame(415,0,7, { tex_index = 244 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +4 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(414,0,4).hurtbox , duration = 3}) pat:update_frame(415,0,8, { tex_index = 243 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +4 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(414,0,4).hurtbox , duration = 3}) pat:update_frame(415,0,9, { tex_index = 244 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +4 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(414,0,4).hurtbox , duration = 3}) pat:update_frame(415,0,10, { tex_index = 243 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +4 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(414,0,4).hurtbox , duration = 3}) pat:update_frame(415,0,11, { tex_index = 244 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +4 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(414,0,4).hurtbox , duration = 3}) pat:update_frame(415,0,12, { tex_index = 243 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +4 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(414,0,4).hurtbox , duration = 4}) pat:update_frame(415,0,13, { tex_index = 245 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(414,0,13).hurtbox, duration = 4}) pat:update_frame(415,0,0, { tex_index = 31 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -16 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 5-2}) pat:update_frame(415,0,1, { tex_index = 32 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -2 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 6}) pat:update_frame(415,0,2, { tex_index = 33 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +2 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 13}) pat:update_frame(415,0,3, { tex_index = 34 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(400,2,0).hurtbox , duration = 3}) pat:update_frame(415,0,4, { tex_index = 34 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(400,2,0).hurtbox , duration = 3}) pat:update_frame(415,0,5, { tex_index = 34 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(400,2,0).hurtbox , duration = 3}) pat:update_frame(415,0,6, { tex_index = 34 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(400,2,0).hurtbox , duration = 3}) pat:update_frame(415,0,7, { tex_index = 34 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(400,2,0).hurtbox , duration = 3}) pat:update_frame(415,0,8, { tex_index = 34 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(400,2,0).hurtbox , duration = 3}) pat:update_frame(415,0,9, { tex_index = 34 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(400,2,0).hurtbox , duration = 3}) pat:update_frame(415,0,10, { tex_index = 32 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -2 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 3}) pat:update_frame(415,0,11, { tex_index = 31 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -16 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 3}) pat:update_frame(415,0,12, { tex_index = 35 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 4}) pat:update_frame(415,0,13, { tex_index = 35 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 4}) pat:update_frame(415,2,0, { tex_index = 205 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY -62 , hurtbox = pat:get_frame(1,0,2).hurtbox}) pat:update_frame(415,2,1, { tex_index = 248 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY -34 , hurtbox = pat:get_frame(1,0,1).hurtbox}) pat:update_frame(415,2,2, { tex_index = 247 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY -14 , hurtbox = pat:get_frame(3,0,2).hurtbox }) for idx = 6 , 6 do pat:update_frame(411,0,idx,function(frame) --set_fflag(frame,FF_MOTION_CANCEL) end) pat:update_frame(415,0,idx,function(frame) --set_fflag(frame,FF_MOTION_CANCEL) end) end pat:split_frame(806,0,0,4,4) pat:update_frame(806,0,0,function(frame) frame.blending_mode = 1 frame.tex_index = 62 frame.tex_w = 120 frame.tex_h = 120 frame.tex_offset_x = 38 + 64 frame.tex_offset_y = 29 frame.scale_x = 200 frame.scale_y = 200 frame.color_r = 255 frame.color_g = 255 frame.color_b = 255 end) pat:update_frame(806,0,1,function(frame) frame.blending_mode = 1 frame.tex_index = 63 frame.tex_w = 120 frame.tex_h = 120 frame.tex_offset_x = 38 + 64 frame.tex_offset_y = 29 frame.scale_x = 200 frame.scale_y = 200 frame.color_r = 255 frame.color_g = 255 frame.color_b = 255 end) pat:update_frame(806,1,0,function(frame) frame.tex_index = 200 frame.tex_w = 64 frame.tex_h = 64 frame.tex_offset_x = 32 frame.tex_offset_y = 32 frame.scale_x = 150 frame.scale_y = 150 frame.color_r = 255 frame.color_g = 255 end) pat:update_frame(806,2,0,function(frame) frame.tex_index = 200 frame.tex_w = 64 frame.tex_h = 64 frame.tex_offset_x = 32 frame.tex_offset_y = 32 frame.scale_x = 150 frame.scale_y = 150 frame.color_r = 255 frame.color_g = 255 end) pat:split_frame(806,1,0,2,2) pat:split_frame(806,2,0,2,2) pat:update_frame(806,1,1,function(frame) frame.scale_x = 225 frame.scale_y = 225 end) pat:update_frame(806,2,1,function(frame) frame.scale_x = 225 frame.scale_y = 225 end) pat:update_frame(806,3,0,function(frame) frame.tex_index = 200 frame.tex_w = 64 frame.tex_h = 64 frame.tex_offset_x = 32 frame.tex_offset_y = 32 frame.scale_x = 150 frame.scale_y = 150 frame.color_r = 125 frame.color_g = 125 frame.damage = 400 frame.proration = 950 frame.untech = 35 frame.limit = 10 frame.sp_damage = frame.sp_damage * 2 frame.hit_effect = pat:get_frame(801,0,0).hit_effect frame.hit_sfx = pat:get_frame(801,0,0).hit_sfx frame.attackbox[1].x1 = frame.attackbox[1].x1 / 1.5 + 32 frame.attackbox[1].x2 = frame.attackbox[1].x2 / 1.5 + 64 frame.attackbox[1].y1 = frame.attackbox[1].y1 / 2 frame.attackbox[1].y2 = frame.attackbox[1].y2 / 2 frame.launch_vector_x = 450 frame.launch_vector_y = 1450 end) pat:update_frame(806,4,0,function(frame) frame.color_r = 0 frame.color_g = 0 frame.color_b = 0 end) pat:update_frame(806,6,0,function(frame) frame.tex_index = 200 frame.tex_w = 64 frame.tex_h = 64 frame.tex_offset_x = 32 frame.tex_offset_y = 32 frame.scale_x = 100 frame.scale_y = 100 frame.color_r = 125 frame.color_g = 125 end) pat:update_frame(806,7,0,function(frame) frame.tex_index = 200 frame.tex_w = 64 frame.tex_h = 64 frame.tex_offset_x = 32 frame.tex_offset_y = 32 frame.scale_x = 100 frame.scale_y = 100 frame.color_r = 125 frame.color_g = 125 end) pat:update_frame(806,3,0,function(frame) --frame.attackbox[1]=null end) --[[ for idx = 0 ,43 do pat:split_frame(806,0,0,1,1) end for idx = 0 , 44 do pat:update_frame(806,0,idx,function(frame) frame.tex_index = 60 frame.tex_w = 120 frame.tex_h = 120 frame.tex_offset_x = 38+10*idx -40 frame.tex_offset_y = 32 frame.scale_x = 400 frame.scale_y = 400 local scalemod = 100/frame.scale_x local ymod = 0 local xmod = -5*idx frame.tex_offset_y = frame.tex_offset_y - (ymod)*scalemod frame.tex_offset_x = frame.tex_offset_x - (xmod)*scalemod end) end]]-- end function mods.fivesee(pat) local baseX = 76 local baseY = 195 local baseDur = 6 pat:update_frame(410,0,0, { tex_index = 247 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY -14 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 3}) pat:update_frame(410,0,0,function(frame) frame.hurtbox[1].y1 = frame.hurtbox[1].y1 +10 end) pat:update_frame(410,0,1, { tex_index = 240 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -16 , hurtbox = pat:get_frame(410,0,1).hurtbox , duration = 4}) pat:update_frame(410,0,2, { tex_index = 241 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -2 , duration = 14}) pat:update_frame(410,0,2,function(frame) frame.hurtbox[1].y1 = pat:get_frame(0,0,0).hurtbox[1].y1 frame.hurtbox[1].x1 = frame.hurtbox[2].x1 + 5 frame.hurtbox[1].x2 = frame.hurtbox[2].x2 + 10 end) pat:update_frame(410,0,3, { tex_index = 242 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY -2 , duration = 3}) pat:update_frame(410,0,3,function(frame) frame.hurtbox[3] = frame.hurtbox[1] frame.hurtbox[1] = frame.hurtbox[2] frame.hurtbox[2] = frame.hurtbox[3] frame.hurtbox[3] = null frame.hurtbox[1].y1 = pat:get_frame(0,0,0).hurtbox[1].y1 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 +10 frame.hurtbox[3].y1 = frame.hurtbox[2].y1 +110 frame.hurtbox[3].y2 = pat:get_frame(0,0,0).hurtbox[1].y2 frame.hurtbox[2].x1 = frame.hurtbox[2].x1 - 30 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 + 15 frame.hurtbox[2].y1 = frame.hurtbox[2].y1 + 20 frame.hurtbox[2].y2 = frame.hurtbox[2].y2 + 10 end) pat:update_frame(410,0,4, { tex_index = 243 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +4 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(410,0,3).hurtbox , duration = 3}) pat:update_frame(410,0,4,function(frame) frame.hurtbox[2].y1 = frame.hurtbox[2].y1 - 10 frame.hurtbox[2].y2 = frame.hurtbox[2].y2 - 5 frame.hurtbox[2].x1 = frame.hurtbox[2].x1 - 10 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 + 10 end) pat:update_frame(410,0,5, { tex_index = 244 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +4 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(410,0,4).hurtbox , duration = 3}) pat:update_frame(410,0,6, { tex_index = 243 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +4 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(410,0,4).hurtbox , duration = 3}) pat:update_frame(410,0,7, { tex_index = 244 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +4 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(410,0,4).hurtbox , duration = 3}) pat:update_frame(410,0,8, { tex_index = 243 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +4 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(410,0,4).hurtbox , duration = 3}) pat:update_frame(410,0,9, { tex_index = 244 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +4 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(410,0,4).hurtbox , duration = 3}) pat:update_frame(410,0,10, { tex_index = 243 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +4 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(410,0,4).hurtbox , duration = 3}) pat:update_frame(410,0,11, { tex_index = 244 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +4 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(410,0,4).hurtbox , duration = 3}) pat:update_frame(410,0,12, { tex_index = 243 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +4 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(410,0,4).hurtbox , duration = 4+5}) pat:update_frame(410,0,13, { tex_index = 245 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(410,0,4).hurtbox , duration = 4}) pat:update_frame(410,0,13,function(frame) frame.hurtbox[2] = frame.hurtbox[3] frame.hurtbox[3] = null end) pat:update_frame(414,0,0, { tex_index = 247 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY -14 , hurtbox = pat:get_frame(410,0,0).hurtbox , duration = 3}) pat:update_frame(414,0,1,function(frame) frame.hurtbox[1].y2 = frame.hurtbox[1].y2 - 30 end) pat:update_frame(414,0,1, { tex_index = 240 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -16 , hurtbox = pat:get_frame(410,0,1).hurtbox , duration = 4}) pat:update_frame(414,0,1,function(frame) frame.hurtbox[1].y2 = frame.hurtbox[1].y2 - 30 end) pat:update_frame(414,0,2, { tex_index = 241 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(410,0,2).hurtbox , duration = 14}) pat:update_frame(414,0,2,function(frame) frame.hurtbox[2].y2 = frame.hurtbox[2].y2 - 30 end) pat:update_frame(414,0,3, { tex_index = 242 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(410,0,3).hurtbox , duration = 3}) pat:update_frame(414,0,3,function(frame) frame.hurtbox[1].y2 = frame.hurtbox[1].y2 - 30 frame.hurtbox[3].y2 = frame.hurtbox[3].y2 - 30 end) pat:update_frame(414,0,4, { tex_index = 243 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +4 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(410,0,4).hurtbox , duration = 3}) pat:update_frame(414,0,4,function(frame) frame.hurtbox[1].y2 = frame.hurtbox[1].y2 - 30 frame.hurtbox[3].y2 = frame.hurtbox[3].y2 - 30 end) pat:update_frame(414,0,5, { tex_index = 244 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +4 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(414,0,4).hurtbox , duration = 3}) pat:update_frame(414,0,6, { tex_index = 243 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +4 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(414,0,4).hurtbox , duration = 3}) pat:update_frame(414,0,7, { tex_index = 244 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +4 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(414,0,4).hurtbox , duration = 3}) pat:update_frame(414,0,8, { tex_index = 243 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +4 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(414,0,4).hurtbox , duration = 3}) pat:update_frame(414,0,9, { tex_index = 244 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +4 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(414,0,4).hurtbox , duration = 3}) pat:update_frame(414,0,10, { tex_index = 243 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +4 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(414,0,4).hurtbox , duration = 3}) pat:update_frame(414,0,11, { tex_index = 244 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +4 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(414,0,4).hurtbox , duration = 3}) pat:update_frame(414,0,12, { tex_index = 243 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +4 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(414,0,4).hurtbox , duration = 4+5}) pat:update_frame(414,0,13, { tex_index = 245 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(410,0,13).hurtbox, duration = 4}) pat:update_frame(414,0,13,function(frame) frame.hurtbox[1].y2 = frame.hurtbox[1].y2 - 30 frame.hurtbox[2].y2 = frame.hurtbox[2].y2 - 30 end) pat:update_frame(414,2,0, { tex_index = 205 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY -62 , hurtbox = pat:get_frame(1,0,2).hurtbox}) pat:update_frame(414,2,1, { tex_index = 248 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY -34 , hurtbox = pat:get_frame(1,0,1).hurtbox}) pat:update_frame(414,2,2, { tex_index = 247 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY -14 , hurtbox = pat:get_frame(3,0,2).hurtbox }) pat:update_frame(805,1,0,function(frame) frame.tex_w = 0 end) pat:update_frame(805,2,0,function(frame) frame.tex_w = 0 end) pat:update_frame(805,4,0,function(frame) --frame.tex_w = 0 frame.color_r = 255 frame.color_g = 0 frame.color_b = 0 end) --pat:get_sequence(805,0):set_priority(20,0) for idx = 1 , 127 do pat:split_frame(805,0,0,1,1) end for idx = 0 , 127 do pat:update_frame(805,0,idx,function(frame) frame.tex_index = 117 + idx%11 frame.scale_x = 150 frame.scale_y = 150 frame.tex_offset_x = 85 frame.tex_offset_y = 69 frame.tex_w = 128 frame.tex_h = 128 frame.duration = 1--[[ if (idx > 19) then local alph = (26-idx)/7*255 frame.color_r = alph frame.color_g = alph frame.color_b = alph end]]-- frame.attackbox[1].x1 = frame.attackbox[1].x1 + 10 frame.attackbox[1].x2 = frame.attackbox[1].x2 - 10 frame.attackbox[1].y1 = frame.attackbox[1].y1 + 10 frame.attackbox[1].y2 = frame.attackbox[1].y2 - 10 local scalemod = 100/frame.scale_x --local ymod = -10*idx + .5*idx*idx --local xmod = .2*idx*idx local ymod = 0 local xmod = 50 -10*idx + .35*idx*idx 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) frame.launch_vector_x = 1450 frame.launch_vector_y = 1450 frame.hitstop_self = 0 frame.hitstop_enemy = 10 frame.blockstop_self = 0 frame.blockstop_enemy = 0 frame.sp_damage = 50 frame.damage = 400 -50 frame.proration = 900 frame.attack_level = AL_HEAVY frame.combo_correction = CC_LIFT_ATTACK frame.untech = 30 end) end end function mods.trapcard(pat) local baseX = 76 local baseY = 195 local baseDur = 6 pat:update_frame(505,0,0, { tex_index = 247 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY -14 , hurtbox = pat:get_frame(410,0,0).hurtbox , duration = 3}) pat:update_frame(505,0,1, { tex_index = 240 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -16 , hurtbox = pat:get_frame(410,0,1).hurtbox , duration = 3}) pat:update_frame(505,0,2, { tex_index = 241 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(410,0,2).hurtbox , duration = 4}) pat:update_frame(505,0,3, { tex_index = 273 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +14 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(410,0,2).hurtbox , duration = 4}) pat:update_frame(505,1,0, { tex_index = 274 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -12 , tex_offset_y = baseY -0 , hurtbox = pat:get_frame(410,0,4).hurtbox , duration = 4+0}) pat:update_frame(505,1,1, { tex_index = 274 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -12 , tex_offset_y = baseY -0 , hurtbox = pat:get_frame(410,0,4).hurtbox , duration = 4}) pat:update_frame(505,2,0, { tex_index = 275 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -8 , hurtbox = pat:get_frame(410,0,3).hurtbox , duration = 3}) pat:update_frame(505,2,1, { tex_index = 276 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -18 , tex_offset_y = baseY -38 , hurtbox = pat:get_frame(604,0,7).hurtbox}) pat:update_frame(505,2,2, { tex_index = 276 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -18 , tex_offset_y = baseY -38 , hurtbox = pat:get_frame(604,0,7).hurtbox}) pat:update_frame(505,2,3, { tex_index = 276 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -18 , tex_offset_y = baseY -38 , hurtbox = pat:get_frame(604,0,7).hurtbox}) pat:update_frame(505,2,4, { tex_index = 276 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -18 , tex_offset_y = baseY -38 , hurtbox = pat:get_frame(604,0,7).hurtbox}) pat:update_frame(505,2,5, { tex_index = 276 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -18 , tex_offset_y = baseY -38 , hurtbox = pat:get_frame(604,0,7).hurtbox}) pat:update_frame(505,2,6, { tex_index = 277 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -12 , tex_offset_y = baseY -18 , hurtbox = pat:get_frame(604,2,10).hurtbox}) pat:update_frame(505,2,7, { tex_index = 247 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY -14 , hurtbox = pat:get_frame(410,0,0).hurtbox }) pat:update_frame(505,2,8, { tex_index = 278 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -0 , tex_offset_y = baseY -0 , hurtbox = pat:get_frame(410,0,0).hurtbox}) pat:update_frame(506,0,0, { tex_index = 247 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY -14 , hurtbox = pat:get_frame(410,0,0).hurtbox , duration = 3}) pat:update_frame(506,0,1, { tex_index = 240 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -16 , hurtbox = pat:get_frame(410,0,1).hurtbox , duration = 3}) pat:update_frame(506,0,2, { tex_index = 241 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(410,0,2).hurtbox , duration = 4}) pat:update_frame(506,0,3, { tex_index = 273 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +14 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(410,0,2).hurtbox , duration = 4}) pat:update_frame(506,1,0, { tex_index = 274 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -12 , tex_offset_y = baseY -0 , hurtbox = pat:get_frame(410,0,4).hurtbox , duration = 4+0}) pat:update_frame(506,1,1, { tex_index = 274 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -12 , tex_offset_y = baseY -0 , hurtbox = pat:get_frame(410,0,4).hurtbox , duration = 4}) pat:update_frame(506,2,0, { tex_index = 275 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -8 , hurtbox = pat:get_frame(410,0,3).hurtbox , duration = 3}) pat:update_frame(506,2,1, { tex_index = 276 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -18 , tex_offset_y = baseY -38 , hurtbox = pat:get_frame(604,0,7).hurtbox}) pat:update_frame(506,2,2, { tex_index = 276 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -18 , tex_offset_y = baseY -38 , hurtbox = pat:get_frame(604,0,7).hurtbox}) pat:update_frame(506,2,3, { tex_index = 276 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -18 , tex_offset_y = baseY -38 , hurtbox = pat:get_frame(604,0,7).hurtbox}) pat:update_frame(506,2,4, { tex_index = 276 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -18 , tex_offset_y = baseY -38 , hurtbox = pat:get_frame(604,0,7).hurtbox}) pat:update_frame(506,2,5, { tex_index = 276 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -18 , tex_offset_y = baseY -38 , hurtbox = pat:get_frame(604,0,7).hurtbox}) pat:update_frame(506,2,6, { tex_index = 276 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -18 , tex_offset_y = baseY -38 , hurtbox = pat:get_frame(604,0,7).hurtbox}) pat:update_frame(506,2,7, { tex_index = 276 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -18 , tex_offset_y = baseY -38 , hurtbox = pat:get_frame(604,0,7).hurtbox}) pat:update_frame(506,2,8, { tex_index = 276 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -18 , tex_offset_y = baseY -38 , hurtbox = pat:get_frame(604,0,7).hurtbox}) pat:update_frame(506,2,9, { tex_index = 276 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -18 , tex_offset_y = baseY -38 , hurtbox = pat:get_frame(604,0,7).hurtbox}) pat:update_frame(506,2,10, { tex_index = 277 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -12 , tex_offset_y = baseY -18 , hurtbox = pat:get_frame(604,2,10).hurtbox}) pat:update_frame(506,2,11, { tex_index = 247 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY -14 , hurtbox = pat:get_frame(410,0,0).hurtbox }) pat:update_frame(506,2,12, { tex_index = 278 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -0 , tex_offset_y = baseY -0 , hurtbox = pat:get_frame(410,0,0).hurtbox}) pat:update_frame(811,11,0,function(frame) frame.duration = 5 frame.attackbox[1] = null end) pat:update_frame(811,11,1,function(frame) frame.duration = 5 frame.attackbox[1] = null end) pat:update_frame(811,11,2,function(frame) unset_aflag(frame,AF_PROJECTILE) frame.attackbox[1].y1 = frame.attackbox[1].y1 - 40 end) pat:update_frame(811,2,0,function(frame) frame.tex_index = 200 frame.tex_w = 64 frame.tex_h = 64 frame.tex_offset_x = 32 frame.tex_offset_y = 32 frame.scale_x = 300 frame.scale_y = 300 frame.color_r = 255 frame.color_g = 255 end) for idx = 0 , 40 do pat:split_frame(811,5,0,1,1) end for idx = 0 , 41 do pat:update_frame(811,5,idx,function(frame) frame.blending_mode = 1 frame.tex_w = 120 frame.tex_h = 120 frame.tex_offset_x = 38 -60 frame.tex_offset_y = 29 frame.scale_x = 200 frame.scale_y = 200 frame.color_r = 200 frame.color_g = 200 frame.color_b = 200 if (idx > 15) then frame.tex_index = 62 + idx%2 frame.duration = 4 elseif (idx > 5) then frame.tex_index = 62 + (idx/4)%2 frame.duration = 1 frame.tex_offset_x = frame.tex_offset_x +110 -10*(idx-5) else frame.tex_w = 0 frame.duration = 1 end end) end for idx = 0 , 40 do pat:split_frame(811,6,0,1,1) end for idx = 0 , 41 do pat:update_frame(811,6,idx,function(frame) frame.blending_mode = 1 frame.tex_w = 120 frame.tex_h = 120 frame.tex_offset_x = 38 -60 frame.tex_offset_y = 29 frame.scale_x = 200 frame.scale_y = 200 frame.color_r = 200 frame.color_g = 200 frame.color_b = 200 frame.angle_z = frame.angle_z -90 if (idx > 15) then frame.tex_index = 62 + idx%2 frame.duration = 4 elseif (idx > 5) then frame.tex_index = 62 + (idx/4)%2 frame.duration = 1 frame.tex_offset_x = frame.tex_offset_x +110 -10*(idx-5) else frame.tex_w = 0 frame.duration = 1 end end) end for idx = 0 , 40 do pat:split_frame(811,7,0,1,1) end for idx = 0 , 41 do pat:update_frame(811,7,idx,function(frame) frame.blending_mode = 1 frame.tex_w = 120 frame.tex_h = 120 frame.tex_offset_x = 38 -60 frame.tex_offset_y = 29 frame.scale_x = 200 frame.scale_y = 200 frame.color_r = 200 frame.color_g = 200 frame.color_b = 200 frame.angle_z = frame.angle_z -90 if (idx > 15) then frame.tex_index = 62 + idx%2 frame.duration = 4 elseif (idx > 5) then frame.tex_index = 62 + (idx/4)%2 frame.duration = 1 frame.tex_offset_x = frame.tex_offset_x +110 -10*(idx-5) else frame.tex_w = 0 frame.duration = 1 end end) end --pat:get_sequence(811,10):set_looped(false) end function mods.super5c(pat) local baseX = 76 local baseY = 195 local baseDur = 6 for idx = 0 , 8 do pat:remove_frame(600,1,0) pat:remove_frame(650,1,0) end pat:update_frame(600,0,0, { tex_index = 247 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY -14 , hurtbox = pat:get_frame(410,0,0).hurtbox }) pat:update_frame(600,0,1, { tex_index = 240 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -16 , hurtbox = pat:get_frame(410,0,1).hurtbox }) pat:update_frame(600,0,2, { tex_index = 241 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(410,0,2).hurtbox }) pat:update_frame(600,0,3, { tex_index = 241 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(410,0,2).hurtbox}) pat:update_frame(600,1,0, { tex_index = 241 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(410,0,2).hurtbox , duration = 40 }) pat:update_frame(600,2,0, { tex_index = 241 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(410,0,2).hurtbox}) pat:update_frame(600,2,1, { tex_index = 242 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(410,0,3).hurtbox}) pat:update_frame(600,2,2, { tex_index = 243 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +4 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(410,0,4).hurtbox}) pat:update_frame(600,3,0, { tex_index = 244 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +4 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(410,0,4).hurtbox , duration = 2}) pat:update_frame(600,3,1, { tex_index = 243 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +4 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(410,0,4).hurtbox}) pat:update_frame(600,4,0, { tex_index = 243 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +4 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(410,0,4).hurtbox}) pat:update_frame(600,4,1, { tex_index = 245 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(410,0,13).hurtbox}) pat:get_sequence(600,3):set_looped(false) pat:remove_frame(600,3,1) pat:update_frame(650,0,0, { tex_index = 247 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY -14 , hurtbox = pat:get_frame(410,0,0).hurtbox }) pat:update_frame(650,0,1, { tex_index = 240 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -16 , hurtbox = pat:get_frame(410,0,1).hurtbox }) pat:update_frame(650,0,2, { tex_index = 241 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(410,0,2).hurtbox }) pat:update_frame(650,0,3, { tex_index = 241 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(410,0,2).hurtbox}) pat:update_frame(650,1,0, { tex_index = 241 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(410,0,2).hurtbox , duration = 40 }) pat:update_frame(650,2,0, { tex_index = 241 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(410,0,2).hurtbox}) pat:update_frame(650,2,1, { tex_index = 242 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(410,0,3).hurtbox}) pat:update_frame(650,2,2, { tex_index = 243 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +4 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(410,0,4).hurtbox}) pat:update_frame(650,3,0, { tex_index = 244 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +4 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(410,0,4).hurtbox}) pat:update_frame(650,3,1, { tex_index = 243 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +4 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(410,0,4).hurtbox}) pat:update_frame(650,4,0, { tex_index = 243 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +4 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(410,0,4).hurtbox}) pat:update_frame(650,4,1, { tex_index = 245 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(410,0,13).hurtbox}) pat:split_frame(650,5,1,5,5) pat:update_frame(650,5,0, { tex_index = 205 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY -62 , hurtbox = pat:get_frame(1,0,2).hurtbox}) pat:update_frame(650,5,1, { tex_index = 248 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY -34 , hurtbox = pat:get_frame(1,0,1).hurtbox}) pat:update_frame(650,5,2, { tex_index = 247 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY -14 , hurtbox = pat:get_frame(3,0,2).hurtbox }) --[[ local idx = 0 pat:update_frame(600,0,0, { tex_index = 348, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -4 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(302,0,9).hurtbox , duration = 3 }) pat:update_frame(600,0,1, { tex_index = 349, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -4 -20 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(307,0,0).hurtbox , duration = 3 }) pat:update_frame(600,0,2, { tex_index = 250, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 +50, tex_offset_y = baseY +64 , hurtbox = pat:get_frame(302,0,2).hurtbox , duration = 4 }) pat:update_frame(600,0,3, { tex_index = 250, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 +50, tex_offset_y = baseY +64 , hurtbox = pat:get_frame(302,0,2).hurtbox , duration = 4 }) pat:update_frame(600,1,0, { tex_index = 250, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 +50, tex_offset_y = baseY +64 , hurtbox = pat:get_frame(302,0,2).hurtbox , duration = 40 }) pat:split_frame(600,2,2,3,3) pat:split_frame(600,2,2,3,3) pat:update_frame(600,2,0, { tex_index = 250, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 +50, tex_offset_y = baseY +64 , hurtbox = pat:get_frame(302,0,2).hurtbox , duration = 3 }) pat:update_frame(600,2,1, { tex_index = 350, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 -20, tex_offset_y = baseY +80 , hurtbox = pat:get_frame(307,0,4).hurtbox , duration = 3 }) pat:update_frame(600,2,2, { tex_index = 351, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 -40 , tex_offset_y = baseY +82 , hurtbox = pat:get_frame(307,0,5).hurtbox , duration = 3 }) pat:update_frame(600,2,3, { tex_index = 352, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 -60 , tex_offset_y = baseY -44 , hurtbox = pat:get_frame(307,0,6).hurtbox , duration = 3 }) pat:update_frame(600,2,4, { tex_index = 353, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 -60 , tex_offset_y = baseY -44 , hurtbox = pat:get_frame(307,0,7).hurtbox , duration = 3 }) pat:split_frame(600,3,0,3,3) pat:split_frame(600,3,0,3,3) pat:split_frame(600,3,0,3,3) pat:update_frame(600,3,0, { tex_index = 250, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 +50, tex_offset_y = baseY +64 , hurtbox = pat:get_frame(307,0,1).hurtbox , duration = 3 }) pat:update_frame(600,3,1, { tex_index = 350, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 -20, tex_offset_y = baseY +80 , hurtbox = pat:get_frame(307,0,4).hurtbox , duration = 3 }) pat:update_frame(600,3,2, { tex_index = 351, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 -40 , tex_offset_y = baseY +82 , hurtbox = pat:get_frame(307,0,5).hurtbox , duration = 3 }) pat:update_frame(600,3,3, { tex_index = 352, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 -60 , tex_offset_y = baseY -44 , hurtbox = pat:get_frame(307,0,6).hurtbox , duration = 3 }) pat:update_frame(600,3,4, { tex_index = 353, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 -60 , tex_offset_y = baseY -44 , hurtbox = pat:get_frame(307,0,7).hurtbox , duration = 3 }) pat:split_frame(600,4,0,3,3) pat:split_frame(600,4,0,3,3) pat:split_frame(600,4,0,3,3) pat:update_frame(600,4,0, { tex_index = 351, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 -40 , tex_offset_y = baseY +82 , hurtbox = pat:get_frame(307,0,5).hurtbox , duration = 3 }) pat:update_frame(600,4,1, { tex_index = 352, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 -60 , tex_offset_y = baseY -44 , hurtbox = pat:get_frame(307,0,6).hurtbox , duration = 3 }) pat:update_frame(600,4,2, { tex_index = 353, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 -60 , tex_offset_y = baseY -44 , hurtbox = pat:get_frame(307,0,7).hurtbox , duration = 14 }) pat:update_frame(600,4,3, { tex_index = 349, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -4 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(307,0,0).hurtbox , duration = 3 }) pat:update_frame(600,4,4, { tex_index = 348, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -4 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(302,0,9).hurtbox , duration = 3 })]]-- for idx = 0 , 13 do pat:remove_frame(850,0,0) end pat:update_frame(850,0,0,function(frame) frame.tex_w = 0 end) for idx = 0 , 8 do pat:split_frame(850,1,0,1,1) end for idx = 0 , 10 do pat:update_frame(850,1,idx,function(frame) frame.tex_index = 117 + idx%11 frame.scale_x = 100 frame.scale_y = 100 frame.tex_offset_x = 85 frame.tex_offset_y = 69 frame.tex_w = 0 frame.tex_h = 128 frame.duration = 1 end) end pat:update_frame(850,6,0,function(frame) frame.tex_w = 0 end) pat:update_frame(850,7,0,function(frame) frame.tex_w = 0 end) pat:update_frame(850,2,0,function(frame) --frame.tex_w = 0 frame.color_r = 255 frame.color_g = 0 frame.color_b = 0 end) pat:update_frame(850,3,0,function(frame) frame.tex_index = 239 frame.scale_x = 100 frame.scale_y = 100 frame.tex_offset_x = 64 frame.tex_offset_y = 64 frame.tex_w = 0 frame.tex_h = 128 frame.duration = 1 frame.color_r = 255 frame.color_g = 255 frame.color_b = 255 end) for idx = 0 , 8 do pat:split_frame(850,4,0,1,1) end for idx = 0 , 10 do pat:update_frame(850,4,idx,function(frame) frame.tex_index = 117 + idx%11 frame.scale_x = 300 frame.scale_y = 300 frame.tex_offset_x = 85 frame.tex_offset_y = 69 frame.tex_w = 128 frame.tex_h = 128 frame.duration = 1 end) end pat:update_frame(850,8,0,function(frame) frame.tex_index = 239 frame.scale_x = 100 frame.scale_y = 100 frame.tex_offset_x = 64 frame.tex_offset_y = 64 frame.tex_w = 128 frame.tex_h = 128 frame.duration = 1 frame.color_r = 255 frame.color_g = 255 frame.color_b = 255 end) pat:update_frame(850,9,0,function(frame) frame.tex_index = 239 frame.scale_x = 100 frame.scale_y = 100 frame.tex_offset_x = 64 frame.tex_offset_y = 64 frame.tex_w = 128 frame.tex_h = 128 frame.duration = 1 frame.color_r = 255 frame.color_g = 255 frame.color_b = 255 end) for idx = 0 , 10 do pat:split_frame(850,5,0,1,1) end for idx = 0 , 11 do pat:update_frame(850,5,idx,function(frame) frame.tex_index = 117 + idx%11 frame.scale_x = 150 frame.scale_y = 150 frame.tex_offset_x = 85 frame.tex_offset_y = 69 frame.tex_w = 128 frame.tex_h = 128 frame.duration = 1 frame.attackbox[1] = pat:get_frame(805,0,0).attackbox[1] frame.attackbox[1].x1 = frame.attackbox[1].x1 - 40 frame.attackbox[1].x2 = frame.attackbox[1].x2 - 40 local scalemod = 100/frame.scale_x --local ymod = -10*idx + .5*idx*idx --local xmod = .2*idx*idx local ymod = 0 local xmod = 0 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) frame.hurtbox[1]=frame.attackbox[1] frame.launch_vector_x = 1450 frame.launch_vector_y = 1450 frame.hitstop_self = 0 frame.hitstop_enemy = 10 frame.blockstop_self = 0 frame.blockstop_enemy = 0 frame.sp_damage = 15 frame.damage = 200 frame.proration = 960 frame.attack_level = AL_HEAVY frame.untech = 45 end) end end function mods.s2sc_gun(pat) local baseX = 76 local baseY = 195 local baseDur = 6 for idx = 0 , 8 do pat:remove_frame(600,1,0) pat:remove_frame(650,1,0) end pat:split_frame(600,4,1,2,2) pat:split_frame(600,4,1,2,2) pat:update_frame(600,0,0, { tex_index = 247 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY -14 , hurtbox = pat:get_frame(410,0,0).hurtbox , duration = 3 }) pat:update_frame(600,0,1, { tex_index = 240 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -16 , hurtbox = pat:get_frame(410,0,1).hurtbox , duration = 3 }) pat:update_frame(600,0,2, { tex_index = 241 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(410,0,2).hurtbox , duration = 3 }) pat:update_frame(600,0,3, { tex_index = 273 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +14 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(410,0,2).hurtbox , duration = 3 }) pat:update_frame(600,1,0, { tex_index = 274 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -12 , tex_offset_y = baseY -0 , hurtbox = pat:get_frame(410,0,4).hurtbox , duration = 40 }) pat:update_frame(600,2,0, { tex_index = 274 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -12 , tex_offset_y = baseY -0 , hurtbox = pat:get_frame(410,0,4).hurtbox , duration = 2 }) pat:update_frame(600,2,1, { tex_index = 274 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -12 , tex_offset_y = baseY -0 , hurtbox = pat:get_frame(410,0,4).hurtbox , duration = 2 }) pat:update_frame(600,2,2, { tex_index = 275 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -8 , hurtbox = pat:get_frame(410,0,3).hurtbox , duration = 3 }) pat:update_frame(600,3,0, { tex_index = 276 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -18 , tex_offset_y = baseY -38 , hurtbox = pat:get_frame(604,0,7).hurtbox , duration = 2 }) pat:update_frame(600,4,0, { tex_index = 276 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -18 , tex_offset_y = baseY -38 , hurtbox = pat:get_frame(604,0,7).hurtbox , duration = 16+1 }) pat:update_frame(600,4,1, { tex_index = 277 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -12 , tex_offset_y = baseY -18 , hurtbox = pat:get_frame(604,2,10).hurtbox , duration = 5}) pat:update_frame(600,4,2, { tex_index = 247 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY -14 , hurtbox = pat:get_frame(410,0,0).hurtbox , duration = 5 }) pat:update_frame(600,4,3, { tex_index = 278 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -0 , tex_offset_y = baseY -0 , hurtbox = pat:get_frame(410,0,0).hurtbox , duration = 5}) pat:get_sequence(600,3):set_looped(false) pat:remove_frame(600,3,1) pat:split_frame(650,4,1,2,2) pat:split_frame(650,4,1,2,2) pat:update_frame(650,0,0, { tex_index = 247 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY -14 , hurtbox = pat:get_frame(410,0,0).hurtbox , duration = 3 }) pat:update_frame(650,0,1, { tex_index = 240 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -16 , hurtbox = pat:get_frame(410,0,1).hurtbox , duration = 3 }) pat:update_frame(650,0,2, { tex_index = 241 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(410,0,2).hurtbox , duration = 3 }) pat:update_frame(650,0,3, { tex_index = 273 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +14 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(410,0,2).hurtbox , duration = 3 }) pat:update_frame(650,1,0, { tex_index = 274 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -12 , tex_offset_y = baseY -0 , hurtbox = pat:get_frame(410,0,4).hurtbox , duration = 40 }) pat:update_frame(650,2,0, { tex_index = 274 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -12 , tex_offset_y = baseY -0 , hurtbox = pat:get_frame(410,0,4).hurtbox , duration = 2 }) pat:update_frame(650,2,1, { tex_index = 274 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -12 , tex_offset_y = baseY -0 , hurtbox = pat:get_frame(410,0,4).hurtbox , duration = 2 }) pat:update_frame(650,2,2, { tex_index = 275 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -8 , hurtbox = pat:get_frame(410,0,3).hurtbox , duration = 3 }) pat:update_frame(650,3,0, { tex_index = 276 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -18 , tex_offset_y = baseY -38 , hurtbox = pat:get_frame(654,0,7).hurtbox , duration = 2 }) pat:update_frame(650,4,0, { tex_index = 276 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -18 , tex_offset_y = baseY -38 , hurtbox = pat:get_frame(654,0,7).hurtbox , duration = 16+1 }) pat:update_frame(650,4,1, { tex_index = 277 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -12 , tex_offset_y = baseY -18 , hurtbox = pat:get_frame(654,2,10).hurtbox , duration = 5}) pat:update_frame(650,4,2, { tex_index = 247 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY -14 , hurtbox = pat:get_frame(410,0,0).hurtbox , duration = 5 }) pat:update_frame(650,4,3, { tex_index = 278 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -0 , tex_offset_y = baseY -0 , hurtbox = pat:get_frame(410,0,0).hurtbox , duration = 5}) pat:get_sequence(650,3):set_looped(false) pat:remove_frame(650,3,1) pat:split_frame(650,5,1,5,5) pat:update_frame(650,5,0, { tex_index = 205 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY -62 , hurtbox = pat:get_frame(1,0,2).hurtbox}) pat:update_frame(650,5,1, { tex_index = 248 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY -34 , hurtbox = pat:get_frame(1,0,1).hurtbox}) pat:update_frame(650,5,2, { tex_index = 247 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY -14 , hurtbox = pat:get_frame(3,0,2).hurtbox }) --[[ local idx = 0 pat:update_frame(600,0,0, { tex_index = 348, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -4 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(302,0,9).hurtbox , duration = 3 }) pat:update_frame(600,0,1, { tex_index = 349, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -4 -20 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(307,0,0).hurtbox , duration = 3 }) pat:update_frame(600,0,2, { tex_index = 250, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 +50, tex_offset_y = baseY +64 , hurtbox = pat:get_frame(302,0,2).hurtbox , duration = 4 }) pat:update_frame(600,0,3, { tex_index = 250, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 +50, tex_offset_y = baseY +64 , hurtbox = pat:get_frame(302,0,2).hurtbox , duration = 4 }) pat:update_frame(600,1,0, { tex_index = 250, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 +50, tex_offset_y = baseY +64 , hurtbox = pat:get_frame(302,0,2).hurtbox , duration = 40 }) pat:split_frame(600,2,2,3,3) pat:split_frame(600,2,2,3,3) pat:update_frame(600,2,0, { tex_index = 250, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 +50, tex_offset_y = baseY +64 , hurtbox = pat:get_frame(302,0,2).hurtbox , duration = 3 }) pat:update_frame(600,2,1, { tex_index = 350, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 -20, tex_offset_y = baseY +80 , hurtbox = pat:get_frame(307,0,4).hurtbox , duration = 3 }) pat:update_frame(600,2,2, { tex_index = 351, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 -40 , tex_offset_y = baseY +82 , hurtbox = pat:get_frame(307,0,5).hurtbox , duration = 3 }) pat:update_frame(600,2,3, { tex_index = 352, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 -60 , tex_offset_y = baseY -44 , hurtbox = pat:get_frame(307,0,6).hurtbox , duration = 3 }) pat:update_frame(600,2,4, { tex_index = 353, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 -60 , tex_offset_y = baseY -44 , hurtbox = pat:get_frame(307,0,7).hurtbox , duration = 3 }) pat:split_frame(600,3,0,3,3) pat:split_frame(600,3,0,3,3) pat:split_frame(600,3,0,3,3) pat:update_frame(600,3,0, { tex_index = 250, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 +50, tex_offset_y = baseY +64 , hurtbox = pat:get_frame(307,0,1).hurtbox , duration = 3 }) pat:update_frame(600,3,1, { tex_index = 350, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 -20, tex_offset_y = baseY +80 , hurtbox = pat:get_frame(307,0,4).hurtbox , duration = 3 }) pat:update_frame(600,3,2, { tex_index = 351, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 -40 , tex_offset_y = baseY +82 , hurtbox = pat:get_frame(307,0,5).hurtbox , duration = 3 }) pat:update_frame(600,3,3, { tex_index = 352, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 -60 , tex_offset_y = baseY -44 , hurtbox = pat:get_frame(307,0,6).hurtbox , duration = 3 }) pat:update_frame(600,3,4, { tex_index = 353, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 -60 , tex_offset_y = baseY -44 , hurtbox = pat:get_frame(307,0,7).hurtbox , duration = 3 }) pat:split_frame(600,4,0,3,3) pat:split_frame(600,4,0,3,3) pat:split_frame(600,4,0,3,3) pat:update_frame(600,4,0, { tex_index = 351, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 -40 , tex_offset_y = baseY +82 , hurtbox = pat:get_frame(307,0,5).hurtbox , duration = 3 }) pat:update_frame(600,4,1, { tex_index = 352, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 -60 , tex_offset_y = baseY -44 , hurtbox = pat:get_frame(307,0,6).hurtbox , duration = 3 }) pat:update_frame(600,4,2, { tex_index = 353, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 -60 , tex_offset_y = baseY -44 , hurtbox = pat:get_frame(307,0,7).hurtbox , duration = 14 }) pat:update_frame(600,4,3, { tex_index = 349, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -4 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(307,0,0).hurtbox , duration = 3 }) pat:update_frame(600,4,4, { tex_index = 348, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -4 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(302,0,9).hurtbox , duration = 3 })]]-- for idx = 0 , 13 do pat:remove_frame(850,0,0) end pat:update_frame(850,0,0,function(frame) frame.tex_w = 0 end) for idx = 0 , 8 do pat:split_frame(850,1,0,1,1) end for idx = 0 , 10 do pat:update_frame(850,1,idx,function(frame) frame.tex_index = 117 + idx%11 frame.scale_x = 100 frame.scale_y = 100 frame.tex_offset_x = 85 frame.tex_offset_y = 69 frame.tex_w = 0 frame.tex_h = 128 frame.duration = 1 end) end pat:update_frame(850,6,0,function(frame) frame.tex_w = 0 frame.attackbox = pat:get_frame(0,0,0).attackbox end) pat:update_frame(850,7,0,function(frame) frame.tex_w = 0 frame.attackbox = pat:get_frame(0,0,0).attackbox end) pat:update_frame(850,2,0,function(frame) --frame.tex_w = 0 frame.color_r = 255 frame.color_g = 0 frame.color_b = 0 end) pat:update_frame(850,3,0,function(frame) frame.tex_index = 239 frame.scale_x = 100 frame.scale_y = 100 frame.tex_offset_x = 64 frame.tex_offset_y = 64 frame.tex_w = 0 frame.tex_h = 128 frame.duration = 1 frame.color_r = 255 frame.color_g = 255 frame.color_b = 255 end) for idx = 0 , 8 do pat:split_frame(850,4,0,1,1) end for idx = 0 , 10 do pat:update_frame(850,4,idx,function(frame) frame.tex_index = 117 + idx%11 frame.scale_x = 300 frame.scale_y = 300 frame.tex_offset_x = 85 frame.tex_offset_y = 69 frame.tex_w = 0 frame.tex_h = 128 frame.duration = 1 end) end pat:update_frame(850,8,0,function(frame) frame.tex_index = 239 frame.scale_x = 100 frame.scale_y = 100 frame.tex_offset_x = 64 frame.tex_offset_y = 64 frame.tex_w = 0 frame.tex_h = 128 frame.duration = 1 frame.color_r = 255 frame.color_g = 255 frame.color_b = 255 end) pat:update_frame(850,9,0,function(frame) frame.tex_index = 239 frame.scale_x = 100 frame.scale_y = 100 frame.tex_offset_x = 64 frame.tex_offset_y = 64 frame.tex_w = 0 frame.tex_h = 128 frame.duration = 1 frame.color_r = 255 frame.color_g = 255 frame.color_b = 255 end) pat:get_sequence(850,5):set_priority(30,0) for idx = 0 , 13 do pat:split_frame(850,5,0,1,1) end for idx = 0 , 14 do pat:update_frame(850,5,idx,function(frame) local idx2 = idx/2 frame.tex_index = 96 + idx2 if (idx2 >= 5) then frame.tex_index = 97 + idx2 end frame.scale_x = 300 frame.scale_y = 300 frame.tex_offset_x = 64 frame.tex_offset_y = 64 frame.tex_w = 128 frame.tex_h = 128 frame.duration = 1 frame.attackbox[1].x1 = -40 frame.attackbox[1].x2 = 100 frame.attackbox[1].y1 = -170 frame.attackbox[1].y2 = 140 frame.attackbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.attackbox[2].x1 = frame.attackbox[1].x2 -10 frame.attackbox[2].x2 = frame.attackbox[2].x1 +80 frame.attackbox[2].y1 = -130 frame.attackbox[2].y2 = 100 local scalemod = 100/frame.scale_x --local ymod = -10*idx + .5*idx*idx --local xmod = .2*idx*idx local ymod = 0 local xmod = -1.5*idx*idx 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.attackbox[2].y1 = frame.attackbox[2].y1 + (ymod) frame.attackbox[2].y2 = frame.attackbox[2].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) frame.attackbox[2].x1 = frame.attackbox[2].x1 + (xmod) frame.attackbox[2].x2 = frame.attackbox[2].x2 + (xmod) frame.hurtbox[1]=frame.attackbox[1] frame.launch_vector_x = 2450 frame.launch_vector_y = 1450 frame.hitstop_self = 10 frame.hitstop_enemy = 10 frame.blockstop_self = 10 frame.blockstop_enemy = 10 frame.sp_damage = 200 frame.damage = 1500 frame.chip_damage = 300 frame.proration = 850 frame.attack_level = AL_HEAVY frame.limit = 40 frame.untech = 60 frame.hit_ani_air = 74 frame.hit_ani_ground = 74 frame.combo_correction = CC_SMASH_ATTACK frame.hit_effect = 8 frame.hit_sfx = 7 set_aflag(frame,AF_COUNTER_HIT) if (idx == 14) then frame.tex_w = 0 frame.duration = 200 frame.attackbox = pat:get_frame(0,0,0).attackbox frame.hurtbox = pat:get_frame(0,0,0).attackbox end end) end end function mods.sprinkler(pat) pat:update_frame(602,0,2,{duration = 6-4}) pat:update_frame(602,0,4,{duration = 6-4}) local baseX = 76 local baseY = 195 local baseDur = 6 pat:update_frame(602,0,0, { tex_index = 247 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY -14 , hurtbox = pat:get_frame(410,0,0).hurtbox }) pat:update_frame(602,0,1, { tex_index = 240 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -16 , hurtbox = pat:get_frame(410,0,1).hurtbox }) pat:update_frame(602,0,2, { tex_index = 241 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(410,0,2).hurtbox , duration = 2}) pat:update_frame(602,0,3, { tex_index = 241 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(410,0,2).hurtbox}) pat:update_frame(602,0,4, { tex_index = 241 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(410,0,2).hurtbox , duration = 2}) pat:update_frame(602,0,5, { tex_index = 242 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(410,0,3).hurtbox}) pat:update_frame(602,0,6, { tex_index = 243 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +4 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(410,0,4).hurtbox}) pat:update_frame(602,0,7, { tex_index = 244 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +4 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(410,0,4).hurtbox}) pat:update_frame(602,0,8, { tex_index = 243 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +4 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(410,0,4).hurtbox}) pat:update_frame(602,0,9, { tex_index = 244 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +4 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(410,0,4).hurtbox}) pat:update_frame(602,0,10, { tex_index = 243 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +4 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(410,0,4).hurtbox}) pat:update_frame(602,0,11, { tex_index = 244 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +4 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(410,0,4).hurtbox}) pat:update_frame(602,0,12, { tex_index = 243 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +4 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(410,0,4).hurtbox}) pat:update_frame(602,0,13, { tex_index = 244 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +4 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(410,0,4).hurtbox}) pat:update_frame(602,0,14, { tex_index = 243 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +4 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(410,0,4).hurtbox}) pat:update_frame(602,0,15, { tex_index = 245 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(410,0,13).hurtbox}) pat:update_frame(652,0,0, { tex_index = 247 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY -14 , hurtbox = pat:get_frame(414,0,0).hurtbox }) pat:update_frame(652,0,1, { tex_index = 240 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -16 , hurtbox = pat:get_frame(414,0,1).hurtbox }) pat:update_frame(652,0,2, { tex_index = 241 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(414,0,2).hurtbox , duration = 2}) pat:update_frame(652,0,3, { tex_index = 241 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(414,0,2).hurtbox}) pat:update_frame(652,0,4, { tex_index = 241 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(414,0,2).hurtbox , duration = 2}) pat:update_frame(652,0,5, { tex_index = 242 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(414,0,3).hurtbox}) pat:update_frame(652,0,6, { tex_index = 243 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +4 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(414,0,4).hurtbox}) pat:update_frame(652,0,7, { tex_index = 244 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +4 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(414,0,4).hurtbox}) pat:update_frame(652,0,8, { tex_index = 243 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +4 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(414,0,4).hurtbox}) pat:update_frame(652,0,9, { tex_index = 244 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +4 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(414,0,4).hurtbox}) pat:update_frame(652,0,10, { tex_index = 243 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +4 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(414,0,4).hurtbox}) pat:update_frame(652,0,11, { tex_index = 244 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +4 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(414,0,4).hurtbox}) pat:update_frame(652,0,12, { tex_index = 243 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +4 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(414,0,4).hurtbox}) pat:update_frame(652,0,13, { tex_index = 244 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +4 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(414,0,4).hurtbox}) pat:update_frame(652,0,14, { tex_index = 243 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +4 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(414,0,4).hurtbox}) pat:update_frame(652,0,15, { tex_index = 245 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(414,0,13).hurtbox}) pat:split_frame(652,1,1,5,5) pat:update_frame(652,1,0, { tex_index = 205 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY -62 , hurtbox = pat:get_frame(1,0,2).hurtbox}) pat:update_frame(652,1,1, { tex_index = 248 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY -34 , hurtbox = pat:get_frame(1,0,1).hurtbox}) pat:update_frame(652,1,2, { tex_index = 247 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY -14 , hurtbox = pat:get_frame(3,0,2).hurtbox }) for idx = 0 , 1 do pat:split_frame(852,5,0,1,1) end for idx = 0 , 2 do pat:update_frame(852,5,idx,function(frame) frame.tex_w = 0 frame.attackbox[1].x1 = frame.attackbox[1].x1 - 40 - 5*idx - 50 frame.attackbox[1].x2 = frame.attackbox[1].x2 + 20 - 5*idx - 50 frame.attackbox[1].y1 = frame.attackbox[1].y1 - 60 frame.attackbox[1].y2 = frame.attackbox[1].y2 + 60 frame.hurtbox = pat:get_frame(852,5,idx).hurtbox frame.sp_damage = 10 frame.limit = 5 frame.blockstop_enemy = 3 if (idx == 2) then frame.attackbox[1]=null frame.duration = 200 end end) end pat:update_frame(852,0,0,function(frame) frame.tex_w = 0 end) for idx = 1 , 14 do pat:remove_frame(852,0,1) end for idx = 0 , 19 do pat:split_frame(852,1,0,1,1) end for idx = 0 , 20 do pat:update_frame(852,1,idx,function(frame) if (idx < 6) then frame.tex_index = 139+idx elseif (idx < 10) then frame.tex_index = 132-6+idx else frame.tex_index = 315-10+idx end frame.scale_x = 150 frame.scale_y = 150 frame.tex_offset_x = 32 frame.tex_offset_y = 104 -20 frame.tex_w = 64 frame.tex_h = 128 frame.duration = 1 end) end pat:update_frame(852,2,0,function(frame) frame.color_r = 255 frame.color_g = 0 frame.color_b = 0 end) for idx = 0 , 0 do pat:update_frame(852,3,idx,function(frame) frame.tex_index = 239 frame.scale_x = 100 frame.scale_y = 100 frame.tex_offset_x = 64 frame.tex_offset_y = 64 frame.tex_w = 128 frame.tex_h = 128 frame.duration = 1 frame.color_r = 255 frame.color_g = 255 frame.color_b = 255 end) end pat:update_frame(852,4,0,function(frame) frame.tex_w = 0 end) pat:update_frame(852,4,1,function(frame) frame.tex_w = 0 end) pat:update_frame(852,6,0,function(frame) frame.tex_w = 0 end) pat:update_frame(852,6,1,function(frame) frame.tex_w = 0 end) pat:update_frame(852,7,0,function(frame) frame.tex_w = 0 end) pat:update_frame(852,8,0,function(frame) frame.tex_index = 239 frame.scale_x = 100 frame.scale_y = 100 frame.tex_offset_x = 64 frame.tex_offset_y = 64 frame.tex_w = 128 frame.tex_h = 128 frame.duration = 1 frame.color_r = 255 frame.color_g = 255 frame.color_b = 255 end) pat:update_frame(852,9,0,function(frame) frame.tex_w = 0 end) pat:update_frame(852,10,0,function(frame) frame.tex_w = 0 end) pat:update_frame(852,11,0,function(frame) frame.tex_w = 0 end) end function mods.spin2sc(pat) local baseX = 76 local baseY = 195 local baseDur = 6 pat:update_frame(605,0,0, { tex_index = 30 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 4}) pat:update_frame(605,0,1, { tex_index = 31 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -16 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 4}) pat:update_frame(605,0,2, { tex_index = 32 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -2 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 4}) pat:update_frame(605,0,3, { tex_index = 33 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +2 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 4}) pat:update_frame(605,1,0, { tex_index = 33 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +2 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(0,0,0).hurtbox}) pat:update_frame(605,2,0, { tex_index = 33 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +2 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(0,0,0).hurtbox}) pat:update_frame(605,3,0, { tex_index = 34 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(400,2,0).hurtbox }) pat:update_frame(605,3,1, { tex_index = 34 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(400,2,0).hurtbox }) pat:update_frame(605,4,0, { tex_index = 34 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(400,2,0).hurtbox }) pat:update_frame(605,4,1, { tex_index = 34 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(400,2,0).hurtbox }) pat:update_frame(605,4,2, { tex_index = 34 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(400,2,0).hurtbox }) pat:update_frame(605,4,3, { tex_index = 34 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(400,2,0).hurtbox }) pat:update_frame(605,4,4, { tex_index = 34 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(400,2,0).hurtbox , duration = 12+4}) pat:update_frame(605,4,5, { tex_index = 32 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -2 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(0,0,0).hurtbox}) pat:update_frame(605,4,6, { tex_index = 31 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -16 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(605,4,7, { tex_index = 35 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 2}) pat:update_frame(605,4,8, { tex_index = 35 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 2}) pat:update_frame(655,0,0, { tex_index = 30 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 4}) pat:update_frame(655,0,1, { tex_index = 31 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -16 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 4}) pat:update_frame(655,0,2, { tex_index = 32 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -2 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 4}) pat:update_frame(655,0,3, { tex_index = 33 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +2 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 4}) pat:update_frame(655,1,0, { tex_index = 33 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +2 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(0,0,0).hurtbox}) pat:update_frame(655,2,0, { tex_index = 33 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +2 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(0,0,0).hurtbox}) pat:update_frame(655,3,0, { tex_index = 34 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(400,2,0).hurtbox }) pat:update_frame(655,3,1, { tex_index = 34 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(400,2,0).hurtbox }) pat:update_frame(655,4,0, { tex_index = 34 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(400,2,0).hurtbox }) pat:update_frame(655,4,1, { tex_index = 34 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(400,2,0).hurtbox }) pat:update_frame(655,4,2, { tex_index = 34 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(400,2,0).hurtbox }) pat:update_frame(655,4,3, { tex_index = 34 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(400,2,0).hurtbox }) pat:update_frame(655,4,4, { tex_index = 34 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(400,2,0).hurtbox , duration = 12+4}) pat:update_frame(655,4,5, { tex_index = 32 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -2 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(0,0,0).hurtbox}) pat:update_frame(655,4,6, { tex_index = 31 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -16 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:split_frame(655,4,6,4,2) pat:split_frame(655,4,7,2,2) pat:update_frame(655,4,7, { tex_index = 35 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 2}) pat:update_frame(655,4,8, { tex_index = 35 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 2}) pat:split_frame(655,5,1,5,5) pat:update_frame(655,5,0, { tex_index = 205 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY -62 , hurtbox = pat:get_frame(1,0,2).hurtbox}) pat:update_frame(655,5,1, { tex_index = 248 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY -34 , hurtbox = pat:get_frame(1,0,1).hurtbox}) pat:update_frame(655,5,2, { tex_index = 247 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY -14 , hurtbox = pat:get_frame(3,0,2).hurtbox }) --pat:get_sequence(655,5):set_looped(false) for idx = 0 , 3 do pat:update_frame(605,0,idx,function(frame) set_fflag(frame,FF_MELEE_INV) set_fflag(frame,FF_BULLET_INV) set_fflag(frame,FF_GRAZE) end) end pat:update_frame(605,1,0,function(frame) set_fflag(frame,FF_MELEE_INV) set_fflag(frame,FF_BULLET_INV) set_fflag(frame,FF_GRAZE) end) pat:update_frame(605,2,0,function(frame) set_fflag(frame,FF_MELEE_INV) set_fflag(frame,FF_BULLET_INV) set_fflag(frame,FF_GRAZE) end) for idx = 0 , 1 do pat:update_frame(605,3,idx,function(frame) set_fflag(frame,FF_MELEE_INV) set_fflag(frame,FF_BULLET_INV) set_fflag(frame,FF_GRAZE) end) end for idx = 0 , 0 do pat:update_frame(605,2,idx,function(frame) set_fflag(frame,FF_MELEE_INV) set_fflag(frame,FF_BULLET_INV) set_fflag(frame,FF_GRAZE) end) end for idx = 0 , 103 do pat:split_frame(855,5,0,1,1) end for idx = 0 , 104 do pat:update_frame(855,5,idx,function(frame) frame.blending_mode = 0 frame.tex_index = 62 + (idx/2)%2 frame.tex_w = 120 frame.tex_h = 120 frame.tex_offset_x = 38 frame.tex_offset_y = 29 frame.scale_x = 200 frame.scale_y = 200 frame.color_r = 255 frame.color_g = 255 frame.color_b = 255 frame.angle_z = 180 frame.attackbox[1].x1 = frame.attackbox[1].x1 - 130 frame.attackbox[1].x2 = frame.attackbox[1].x2 - 130 --[[ frame.attackbox[1].y1 = frame.attackbox[1].y1 - 30 frame.attackbox[1].y2 = frame.attackbox[1].y2 + 30]]-- frame.launch_vector_x = 1000 frame.launch_vector_y = 1500 --frame.blockstop_enemy = 10 local scalemod = -100/frame.scale_x local ymod = 0 local xmod = 350 -50*idx 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) frame.hit_sfx = pat:get_frame(801,0,0).hit_sfx frame.damage = 150 frame.chip_damage = 10 frame.limit = 2 frame.proration = 980 frame.sp_damage = 20 frame.untech = 120 if (idx == 14) then --frame.tex_w = 0 --frame.duration = 100 --frame.attackbox[1] = null end end) end pat:update_frame(855,8,0,function(frame) frame.tex_w = 0 end) pat:update_frame(855,9,0,function(frame) frame.tex_w = 0 end) end function mods.tokamak(pat) local baseX = 76 local baseY = 195 local baseDur = 6 pat:update_frame(610,0,0, { tex_index = 326 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(610,0,1, { tex_index = 327 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -18 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(610,0,2, { tex_index = 328 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -42 , tex_offset_y = baseY +6 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(610,0,3, { tex_index = 328 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -42 , tex_offset_y = baseY +6 }) pat:update_frame(610,0,4, { tex_index = 329 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -26 , tex_offset_y = baseY +12 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(610,1,0, { tex_index = 330 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -2 , tex_offset_y = baseY +0 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 3+2 }) pat:update_frame(610,1,1, { tex_index = 331 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -38 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 3+2 }) pat:update_frame(610,1,2, { tex_index = 332 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -12 , tex_offset_y = baseY -16 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 3+2 }) pat:update_frame(610,1,3, { tex_index = 333 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -24 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 3+2 }) pat:update_frame(610,1,4, { tex_index = 334 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -40 , tex_offset_y = baseY +0 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 3+2 }) pat:update_frame(610,1,5, { tex_index = 328 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -42 , tex_offset_y = baseY +6 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 3+2 }) pat:update_frame(610,2,0, { tex_index = 327 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -18 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 4-1 }) pat:update_frame(610,2,1, { tex_index = 326 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 4-1 }) pat:update_frame(610,2,2, { tex_index = 30 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 4-1 }) pat:update_frame(660,0,0, { tex_index = 326 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(660,0,1, { tex_index = 327 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -18 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(660,0,2, { tex_index = 328 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -42 , tex_offset_y = baseY +6 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(660,0,3, { tex_index = 328 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -42 , tex_offset_y = baseY +6 }) pat:update_frame(660,0,4, { tex_index = 329 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -26 , tex_offset_y = baseY +12 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(660,1,0, { tex_index = 330 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -2 , tex_offset_y = baseY +0 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 3+2 }) pat:update_frame(660,1,1, { tex_index = 331 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -38 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 3+2 }) pat:update_frame(660,1,2, { tex_index = 332 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -12 , tex_offset_y = baseY -16 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 3+2 }) pat:update_frame(660,1,3, { tex_index = 333 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -24 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 3+2 }) pat:update_frame(660,1,4, { tex_index = 334 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -40 , tex_offset_y = baseY +0 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 3+2 }) pat:update_frame(660,1,5, { tex_index = 328 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -42 , tex_offset_y = baseY +6 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 3+2 }) pat:update_frame(660,2,0, { tex_index = 327 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -18 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 4-1 }) pat:update_frame(660,2,1, { tex_index = 326 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 4-1 }) pat:update_frame(660,2,2, { tex_index = 30 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 4-1 }) pat:update_frame(857,2,0,function(frame) frame.tex_w = 0 end) pat:remove_frame(860,0,14) pat:remove_frame(860,0,13) for idx = 0 , 12 do pat:update_frame(860,0,idx,function(frame) if (idx <= 6) then frame.tex_index = 110 + idx --frame.tex_index = 101 elseif (idx == 7) then frame.tex_index = 101 else frame.tex_index = 279 + idx-8 end frame.tex_w = 0 frame.tex_h = 250 frame.tex_offset_x = 100 frame.tex_offset_y = 100 end) end pat:update_frame(860,1,0,function(frame) frame.tex_w = 0 end) pat:remove_frame(860,1,1) pat:update_frame(860,2,0,function(frame) frame.color_r = 255 frame.color_g = 0 frame.color_b = 0 end) pat:update_frame(860,3,0,function(frame) frame.tex_w = 0 end) pat:update_frame(860,4,0,function(frame) frame.tex_index = 101 frame.tex_offset_x = 128 frame.tex_offset_y = 128 frame.scale_x = 300 frame.scale_y = 300 frame.tex_w = 256 frame.tex_h = 256 frame.angle_z = 0 frame.color_r = 255 frame.color_g = 255 frame.color_b = 255 frame.duration = 2 frame.sp_damage = frame.sp_damage * 0.5 frame.sp_damage = frame.sp_damage * 0.5 frame.damage = 350 --[[ frame.attackbox[1].x1 = -260 frame.attackbox[1].x2 = -200 frame.attackbox[1].y1 = -140 frame.attackbox[1].y2 = 140 frame.attackbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.attackbox[2].x1 = 200 frame.attackbox[2].x2 = 260 frame.attackbox[2].y1 = -140 frame.attackbox[2].y2 = 140 frame.attackbox[3] = pat:get_frame(0,0,0).hurtbox[1] frame.attackbox[3].x1 = -140 frame.attackbox[3].x2 = 140 frame.attackbox[3].y1 = -260 frame.attackbox[3].y2 = -200 frame.attackbox[4] = pat:get_frame(0,0,0).hurtbox[1] frame.attackbox[4].x1 = -140 frame.attackbox[4].x2 = 140 frame.attackbox[4].y1 = 200 frame.attackbox[4].y2 = 260 frame.attackbox[5] = pat:get_frame(0,0,0).hurtbox[1] frame.attackbox[5].x1 = -200 frame.attackbox[5].x2 = -140 frame.attackbox[5].y1 = -200 frame.attackbox[5].y2 = -140 frame.attackbox[6] = pat:get_frame(0,0,0).hurtbox[1] frame.attackbox[6].x1 = 140 frame.attackbox[6].x2 = 200 frame.attackbox[6].y1 = 140 frame.attackbox[6].y2 = 200 frame.attackbox[7] = pat:get_frame(0,0,0).hurtbox[1] frame.attackbox[7].x1 = 140 frame.attackbox[7].x2 = 200 frame.attackbox[7].y1 = -200 frame.attackbox[7].y2 = -140 frame.attackbox[8] = pat:get_frame(0,0,0).hurtbox[1] frame.attackbox[8].x1 = -200 frame.attackbox[8].x2 = -140 frame.attackbox[8].y1 = 140 frame.attackbox[8].y2 = 200 ]]-- frame.attackbox[1].x1 = -250 frame.attackbox[1].x2 = -230 frame.attackbox[1].y1 = -140 frame.attackbox[1].y2 = 140 frame.attackbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.attackbox[2].x1 = 230 frame.attackbox[2].x2 = 250 frame.attackbox[2].y1 = -140 frame.attackbox[2].y2 = 140 frame.attackbox[3] = pat:get_frame(0,0,0).hurtbox[1] frame.attackbox[3].x1 = -140 frame.attackbox[3].x2 = 140 frame.attackbox[3].y1 = -250 frame.attackbox[3].y2 = -230 frame.attackbox[4] = pat:get_frame(0,0,0).hurtbox[1] frame.attackbox[4].x1 = -140 frame.attackbox[4].x2 = 140 frame.attackbox[4].y1 = 230 frame.attackbox[4].y2 = 250 frame.attackbox[5] = pat:get_frame(0,0,0).hurtbox[1] frame.attackbox[5].x1 = -230 frame.attackbox[5].x2 = -140 frame.attackbox[5].y1 = -230 frame.attackbox[5].y2 = -140 frame.attackbox[6] = pat:get_frame(0,0,0).hurtbox[1] frame.attackbox[6].x1 = 140 frame.attackbox[6].x2 = 230 frame.attackbox[6].y1 = 140 frame.attackbox[6].y2 = 230 frame.attackbox[7] = pat:get_frame(0,0,0).hurtbox[1] frame.attackbox[7].x1 = 140 frame.attackbox[7].x2 = 230 frame.attackbox[7].y1 = -230 frame.attackbox[7].y2 = -140 frame.attackbox[8] = pat:get_frame(0,0,0).hurtbox[1] frame.attackbox[8].x1 = -230 frame.attackbox[8].x2 = -140 frame.attackbox[8].y1 = 140 frame.attackbox[8].y2 = 230 for idx0 = 1 , 8 do frame.attackbox[idx0].x1 = frame.attackbox[idx0].x1*0.82 frame.attackbox[idx0].x2 = frame.attackbox[idx0].x2*0.82 frame.attackbox[idx0].y1 = frame.attackbox[idx0].y1*0.82 frame.attackbox[idx0].y2 = frame.attackbox[idx0].y2*0.82 end frame.hurtbox[1] = pat:get_frame(800,0,0).hurtbox[1] --[[ frame.hurtbox[1]=frame.attackbox[1] frame.hurtbox[2]=frame.attackbox[2] frame.hurtbox[3]=frame.attackbox[3] frame.hurtbox[4]=frame.attackbox[4] frame.hurtbox[5]=frame.attackbox[5] frame.hurtbox[6]=frame.attackbox[6] frame.hurtbox[7]=frame.attackbox[7] frame.hurtbox[8]=frame.attackbox[8] ]]-- end) for idx = 0 , 12 do pat:split_frame(860,4,0,1,1) end for idx = 1 , 13 do pat:update_frame(860,4,idx,function(frame) frame.tex_index = 101 frame.tex_offset_x = 128 frame.tex_offset_y = 128 frame.scale_x = 300 + idx * 100 frame.scale_y = 300 + idx * 100 frame.tex_w = 256 frame.tex_h = 256 frame.angle_z = 0 frame.color_r = 255 -- 255*idx/7 frame.color_g = 255 -- 255*idx/7 frame.color_b = 255 -- 255*idx/7 frame.duration = 1 end) end pat:update_frame(860,4,14,function(frame) frame.tex_index = 101 frame.tex_offset_x = 128 frame.tex_offset_y = 128 frame.scale_x = 500 frame.scale_y = 500 frame.tex_w = 0 frame.tex_h = 128 frame.angle_z = 0 frame.color_r = 0 frame.color_g = 0 frame.color_b = 0 frame.duration = 600 end) pat:update_frame(860,8,0,function(frame) frame.tex_w = 0 end) pat:update_frame(860,9,0,function(frame) frame.tex_w = 0 end) for idx = 0 , 11 do pat:split_frame(860,6,0,1,1) end for idx = 0 , 12 do pat:update_frame(860,6,idx,function(frame) frame.blending_mode = 1 frame.tex_index = 101 frame.tex_offset_x = 64 frame.tex_offset_y = 64 frame.scale_x = 200 frame.scale_y = 200 frame.tex_w = 128 frame.tex_h = 128 frame.angle_z = 0 frame.color_r = 255 * idx/12 frame.color_g = 255 * idx/12 frame.color_b = 255 * idx/12 frame.duration = 2 if (idx==0) then frame.duration = 40 end if (idx==12) then frame.duration = 40 end frame.tex_w = 0 end) end end function mods.fullscreen(pat) local baseX = 76 local baseY = 195 local baseDur = 6 pat:remove_frame(601,1,9) pat:remove_frame(601,1,8) pat:remove_frame(601,1,7) pat:remove_frame(601,1,6) pat:remove_frame(601,1,5) pat:remove_frame(601,1,4) pat:remove_frame(601,1,3) pat:remove_frame(601,1,2) pat:remove_frame(601,1,1) pat:update_frame(601,0,0, { tex_index = 30 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 4-1}) pat:update_frame(601,0,1, { tex_index = 31 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -16 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 4-1}) pat:update_frame(601,0,2, { tex_index = 32 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -2 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 4-1}) pat:update_frame(601,1,0, { tex_index = 33 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +2 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 40}) pat:update_frame(601,2,0, { tex_index = 33 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +2 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 3+3}) pat:update_frame(601,2,1, { tex_index = 34 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(400,2,0).hurtbox }) pat:update_frame(601,2,2, { tex_index = 34 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(400,2,0).hurtbox }) pat:update_frame(601,2,3, { tex_index = 34 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(400,2,0).hurtbox }) pat:update_frame(601,2,4, { tex_index = 34 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(400,2,0).hurtbox }) pat:update_frame(601,2,5, { tex_index = 34 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(400,2,0).hurtbox }) pat:update_frame(601,2,6, { tex_index = 34 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(400,2,0).hurtbox }) pat:update_frame(601,2,7, { tex_index = 34 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(400,2,0).hurtbox , duration = 4}) pat:update_frame(601,2,8, { tex_index = 32 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -2 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(0,0,0).hurtbox}) pat:update_frame(601,2,9, { tex_index = 31 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -16 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(601,2,10, { tex_index = 35 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 10-7}) pat:update_frame(601,2,11, { tex_index = 35 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 3}) pat:update_frame(851,2,0,function(frame) frame.tex_index = 200 frame.tex_w = 64 frame.tex_h = 64 frame.tex_offset_x = 32 frame.tex_offset_y = 32 frame.scale_x = 450 frame.scale_y = 450 frame.color_r = 125 frame.color_g = 125 end) pat:update_frame(851,3,0,function(frame) frame.tex_index = 200 frame.tex_w = 64 frame.tex_h = 64 frame.tex_offset_x = 32 frame.tex_offset_y = 32 frame.scale_x = 450 frame.scale_y = 450 frame.color_r = 125 frame.color_g = 125 end) pat:update_frame(851,8,0,function(frame) frame.tex_index = 200 frame.tex_w = 0 frame.tex_h = 64 frame.tex_offset_x = 32 frame.tex_offset_y = 32 frame.scale_x = 450 frame.scale_y = 450 frame.color_r = 125 frame.color_g = 125 end) pat:update_frame(851,9,0,function(frame) frame.tex_index = 200 frame.tex_w = 0 frame.tex_h = 64 frame.tex_offset_x = 32 frame.tex_offset_y = 32 frame.scale_x = 450 frame.scale_y = 450 frame.color_r = 125 frame.color_g = 125 end) for idx = 0 , 79 do pat:split_frame(851,10,0,1,1) end for idx = 0 , 80 do pat:update_frame(851,10,idx,function(frame) frame.blending_mode = 0 frame.scale_x = 1000 frame.scale_y = 1000 frame.tex_offset_x = 19 frame.tex_offset_y = 114 + 100 frame.tex_w = 128 frame.tex_h = 128 frame.duration = 1 frame.angle_z = 30 if (idx%10 < 5) then frame.tex_index = 279+idx else frame.tex_index = 96-5+idx end frame.blending_mode = 0 frame.tex_index = 73 + idx%2 frame.tex_w = 256 frame.tex_h = 256 frame.tex_offset_x = 160 frame.tex_offset_y = 120 frame.scale_x = 100 frame.scale_y = 100 frame.color_r = 125 frame.color_g = 125 frame.color_b = 125 frame.attackbox[1].x1 = frame.attackbox[1].x1 - 20 frame.attackbox[1].x2 = frame.attackbox[1].x2 - 0 frame.attackbox[1].y1 = frame.attackbox[1].y1 + 60 frame.attackbox[1].y2 = frame.attackbox[1].y2 + 60 frame.attackbox[2] = pat:get_frame(303,0,3).attackbox[1] frame.attackbox[2].x1 = frame.attackbox[1].x1 +140 frame.attackbox[2].x2 = frame.attackbox[1].x2 +140 frame.attackbox[2].y1 = frame.attackbox[1].y1 +40 frame.attackbox[2].y2 = frame.attackbox[1].y2 -40 local scalemod = 100/100 local ymod = -120 -80 local xmod = -30*idx +50*idx 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.attackbox[2].y1 = frame.attackbox[2].y1 + (ymod) frame.attackbox[2].y2 = frame.attackbox[2].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) frame.attackbox[2].x1 = frame.attackbox[2].x1 + (xmod) frame.attackbox[2].x2 = frame.attackbox[2].x2 + (xmod) frame.launch_vector_x = 1000 frame.launch_vector_y = 2450 frame.hitstop_self = 0 frame.hitstop_enemy = 0 frame.blockstop_self = 0 frame.blockstop_enemy = 10 frame.attack_level = AL_HEAVY frame.damage = 3000 frame.chip_damage = 320 frame.limit = 100 frame.hit_sfx = 4 frame.hit_effect = 3 frame.hit_ani_ground = 77 frame.hit_ani_air = 77 frame.sp_damage = 400 frame.proration = 850 --[[ if (idx == 10) then frame.duration = 2000 frame.attackbox = pat:get_frame(0,0,0).attackbox frame.tex_w = 0 end]]-- end) end pat:update_frame(851,5,0,function(frame) frame.tex_w = 0 end) pat:update_frame(851,6,0,function(frame) frame.tex_w = 0 end) pat:update_frame(851,7,0,function(frame) frame.tex_w = 0 end) for idx = 0 , 10 do pat:split_frame(851,11,0,1,1) pat:split_frame(851,12,0,1,1) pat:split_frame(851,13,0,1,1) end for idx = 0 , 11 do pat:update_frame(851,11,idx,function(frame) frame.tex_index = 94 frame.tex_w = 128 frame.tex_h = 128 frame.tex_offset_x = 64 frame.tex_offset_y = 96 + 192/idx frame.scale_x = 200 frame.scale_y = 400 local alpha = 255 - (255 * idx/11) frame.color_r = alpha frame.color_g = alpha frame.color_b = alpha if (idx == 11) then frame.duration = 600 end end) pat:update_frame(851,12,idx,function(frame) frame.tex_index = 94 frame.tex_w = 128 frame.tex_h = 128 frame.tex_offset_x = 64 frame.tex_offset_y = 96 + 192/idx frame.scale_x = 200 frame.scale_y = 400 local alpha = 255 - (255 * idx/11) frame.color_r = alpha frame.color_g = alpha frame.color_b = alpha if (idx == 11) then frame.duration = 600 end end) pat:update_frame(851,13,idx,function(frame) frame.tex_index = 94 frame.tex_w = 128 frame.tex_h = 128 frame.tex_offset_x = 64 frame.tex_offset_y = 96 + 192/idx frame.scale_x = 200 frame.scale_y = 400 local alpha = 255 - (255 * idx/11) frame.color_r = alpha frame.color_g = alpha frame.color_b = alpha if (idx == 11) then frame.duration = 600 end end) end pat:update_frame(851,12,0,function(frame) --frame.tex_w = 0 end) pat:update_frame(851,13,0,function(frame) --frame.tex_w = 0 end) pat:update_frame(851,14,0,function(frame) frame.tex_w = 0 end) end function mods.pfreeze(pat) local baseX = 76 local baseY = 195 local baseDur = 6 pat:remove_frame(604,0,13) pat:remove_frame(604,0,12) pat:remove_frame(604,0,11) pat:remove_frame(604,0,10) pat:remove_frame(604,0,9) pat:remove_frame(604,0,8) for idx = 0 , 10 do pat:remove_frame(604,2,13) end pat:update_frame(604,0,0, { tex_index = 247 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY -14 , hurtbox = pat:get_frame(410,0,0).hurtbox , duration = 3}) pat:update_frame(604,0,1, { tex_index = 240 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -16 , hurtbox = pat:get_frame(410,0,1).hurtbox , duration = 3}) pat:update_frame(604,0,2, { tex_index = 241 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(410,0,2).hurtbox , duration = 10}) pat:update_frame(604,0,3, { tex_index = 273 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +14 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(410,0,2).hurtbox , duration = 3}) pat:update_frame(604,0,4, { tex_index = 274 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -12 , tex_offset_y = baseY -0 , duration = 40})-- , hurtbox = pat:get_frame(410,0,2).hurtbox }) pat:update_frame(604,0,5, { tex_index = 274 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -12 , tex_offset_y = baseY -0 , hurtbox = pat:get_frame(410,0,4).hurtbox , duration = 2 }) pat:update_frame(604,0,6, { tex_index = 275 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -8 , hurtbox = pat:get_frame(410,0,3).hurtbox , duration = 4}) pat:update_frame(604,0,7, { tex_index = 276 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -18 , tex_offset_y = baseY -38 , hurtbox = pat:get_frame(302,0,6).hurtbox , duration = 4}) pat:update_frame(604,0,7, 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 end end) pat:update_frame(604,1,0, { tex_index = 276 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -18 , tex_offset_y = baseY -38 , hurtbox = pat:get_frame(604,0,7).hurtbox , duration = 60}) pat:update_frame(604,1,1, { tex_index = 276 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -18 , tex_offset_y = baseY -38 , hurtbox = pat:get_frame(604,0,7).hurtbox , duration = 60}) pat:update_frame(604,2,0, { tex_index = 276 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -18 , tex_offset_y = baseY -38 , hurtbox = pat:get_frame(604,0,7).hurtbox , duration = 1}) pat:update_frame(604,2,1, { tex_index = 276 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -18 , tex_offset_y = baseY -38 , hurtbox = pat:get_frame(604,0,7).hurtbox , duration = 1}) pat:update_frame(604,2,2, { tex_index = 276 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -18 , tex_offset_y = baseY -38 , hurtbox = pat:get_frame(604,0,7).hurtbox , duration = 1}) pat:update_frame(604,2,3, { tex_index = 276 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -18 , tex_offset_y = baseY -38 , hurtbox = pat:get_frame(604,0,7).hurtbox , duration = 1}) pat:update_frame(604,2,4, { tex_index = 276 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -18 , tex_offset_y = baseY -38 , hurtbox = pat:get_frame(604,0,7).hurtbox , duration = 1}) pat:update_frame(604,2,5, { tex_index = 276 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -18 , tex_offset_y = baseY -38 , hurtbox = pat:get_frame(604,0,7).hurtbox , duration = 1}) pat:update_frame(604,2,6, { tex_index = 276 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -18 , tex_offset_y = baseY -38 , hurtbox = pat:get_frame(604,0,7).hurtbox , duration = 1}) pat:update_frame(604,2,7, { tex_index = 276 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -18 , tex_offset_y = baseY -38 , hurtbox = pat:get_frame(604,0,7).hurtbox , duration = 1}) pat:update_frame(604,2,8, { tex_index = 276 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -18 , tex_offset_y = baseY -38 , hurtbox = pat:get_frame(604,0,7).hurtbox , duration = 10}) pat:update_frame(604,2,9, { tex_index = 276 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -18 , tex_offset_y = baseY -38 , hurtbox = pat:get_frame(604,0,7).hurtbox , duration = 18}) pat:update_frame(604,2,10, { tex_index = 277 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -12 , tex_offset_y = baseY -18 , hurtbox = pat:get_frame(604,0,7).hurtbox , duration = 3}) pat:update_frame(604,2,10, 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 end frame.hurtbox[2].y1 = frame.hurtbox[2].y1 - 30 end) pat:update_frame(604,2,11, { tex_index = 247 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY -14 , hurtbox = pat:get_frame(410,0,0).hurtbox , duration = 3 }) pat:update_frame(604,2,12, { tex_index = 278 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -0 , tex_offset_y = baseY -0 , hurtbox = pat:get_frame(410,0,0).hurtbox , duration = 3}) pat:update_frame(604,0,5,function(frame) unset_fflag(frame,FF_MELEE_INV) unset_fflag(frame,FF_BULLET_INV) unset_fflag(frame,FF_GRAZE) end) pat:update_frame(604,0,6,function(frame) unset_fflag(frame,FF_MELEE_INV) unset_fflag(frame,FF_BULLET_INV) unset_fflag(frame,FF_GRAZE) end) pat:update_frame(604,0,7,function(frame) unset_fflag(frame,FF_MELEE_INV) unset_fflag(frame,FF_BULLET_INV) unset_fflag(frame,FF_GRAZE) end) pat:remove_frame(654,0,13) pat:remove_frame(654,0,12) pat:remove_frame(654,0,11) pat:remove_frame(654,0,10) pat:remove_frame(654,0,9) pat:remove_frame(654,0,8) pat:update_frame(654,0,0, { tex_index = 247 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY -14 , hurtbox = pat:get_frame(410,0,0).hurtbox , duration = 3}) pat:update_frame(654,0,1, { tex_index = 240 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -16 , hurtbox = pat:get_frame(410,0,1).hurtbox , duration = 3}) pat:update_frame(654,0,2, { tex_index = 241 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(410,0,2).hurtbox , duration = 10}) pat:update_frame(654,0,3, { tex_index = 273 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +14 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(410,0,2).hurtbox , duration = 3}) pat:update_frame(654,0,4, { tex_index = 274 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -12 , tex_offset_y = baseY -0 , duration = 40})-- , hurtbox = pat:get_frame(410,0,2).hurtbox }) pat:update_frame(654,0,5, { tex_index = 274 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -12 , tex_offset_y = baseY -0 , hurtbox = pat:get_frame(410,0,4).hurtbox , duration = 2 }) pat:update_frame(654,0,6, { tex_index = 275 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -8 , hurtbox = pat:get_frame(410,0,3).hurtbox , duration = 4}) pat:update_frame(654,0,7, { tex_index = 276 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -18 , tex_offset_y = baseY -38 , hurtbox = pat:get_frame(302,0,6).hurtbox , duration = 4}) pat:update_frame(654,0,7, 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 end end) pat:update_frame(654,1,0, { tex_index = 276 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -18 , tex_offset_y = baseY -38 , hurtbox = pat:get_frame(654,0,7).hurtbox , duration = 60}) pat:update_frame(654,1,1, { tex_index = 276 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -18 , tex_offset_y = baseY -38 , hurtbox = pat:get_frame(654,0,7).hurtbox , duration = 60}) pat:update_frame(654,2,0, { tex_index = 276 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -18 , tex_offset_y = baseY -38 , hurtbox = pat:get_frame(654,0,7).hurtbox , duration = 1}) pat:update_frame(654,2,1, { tex_index = 276 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -18 , tex_offset_y = baseY -38 , hurtbox = pat:get_frame(654,0,7).hurtbox , duration = 1}) pat:update_frame(654,2,2, { tex_index = 276 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -18 , tex_offset_y = baseY -38 , hurtbox = pat:get_frame(654,0,7).hurtbox , duration = 1}) pat:update_frame(654,2,3, { tex_index = 276 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -18 , tex_offset_y = baseY -38 , hurtbox = pat:get_frame(654,0,7).hurtbox , duration = 1}) pat:update_frame(654,2,4, { tex_index = 276 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -18 , tex_offset_y = baseY -38 , hurtbox = pat:get_frame(654,0,7).hurtbox , duration = 1}) pat:update_frame(654,2,5, { tex_index = 276 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -18 , tex_offset_y = baseY -38 , hurtbox = pat:get_frame(654,0,7).hurtbox , duration = 1}) pat:update_frame(654,2,6, { tex_index = 276 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -18 , tex_offset_y = baseY -38 , hurtbox = pat:get_frame(654,0,7).hurtbox , duration = 1}) pat:update_frame(654,2,7, { tex_index = 276 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -18 , tex_offset_y = baseY -38 , hurtbox = pat:get_frame(654,0,7).hurtbox , duration = 1}) pat:update_frame(654,2,8, { tex_index = 276 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -18 , tex_offset_y = baseY -38 , hurtbox = pat:get_frame(654,0,7).hurtbox , duration = 10}) pat:update_frame(654,2,9, { tex_index = 276 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -18 , tex_offset_y = baseY -38 , hurtbox = pat:get_frame(654,0,7).hurtbox , duration = 6}) pat:update_frame(654,2,10, { tex_index = 276 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -18 , tex_offset_y = baseY -38 , hurtbox = pat:get_frame(654,0,7).hurtbox , duration = 1}) pat:update_frame(654,2,11, { tex_index = 276 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -18 , tex_offset_y = baseY -38 , hurtbox = pat:get_frame(654,0,7).hurtbox , duration = 1}) pat:update_frame(654,2,12, { tex_index = 276 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -18 , tex_offset_y = baseY -38 , hurtbox = pat:get_frame(654,0,7).hurtbox , duration = 1}) pat:update_frame(654,2,13, { tex_index = 276 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -18 , tex_offset_y = baseY -38 , hurtbox = pat:get_frame(654,0,7).hurtbox , duration = 1}) pat:update_frame(654,2,14, { tex_index = 276 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -18 , tex_offset_y = baseY -38 , hurtbox = pat:get_frame(654,0,7).hurtbox , duration = 1}) pat:update_frame(654,2,15, { tex_index = 276 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -18 , tex_offset_y = baseY -38 , hurtbox = pat:get_frame(654,0,7).hurtbox , duration = 1}) pat:update_frame(654,2,16, { tex_index = 276 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -18 , tex_offset_y = baseY -38 , hurtbox = pat:get_frame(654,0,7).hurtbox , duration = 1}) pat:update_frame(654,2,17, { tex_index = 276 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -18 , tex_offset_y = baseY -38 , hurtbox = pat:get_frame(654,0,7).hurtbox , duration = 1}) pat:update_frame(654,2,18, { tex_index = 276 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -18 , tex_offset_y = baseY -38 , hurtbox = pat:get_frame(654,0,7).hurtbox , duration = 1}) pat:update_frame(654,2,19, { tex_index = 276 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -18 , tex_offset_y = baseY -38 , hurtbox = pat:get_frame(654,0,7).hurtbox , duration = 1}) pat:update_frame(654,2,20, { tex_index = 276 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -18 , tex_offset_y = baseY -38 , hurtbox = pat:get_frame(654,0,7).hurtbox , duration = 1}) pat:update_frame(654,2,21, { tex_index = 276 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -18 , tex_offset_y = baseY -38 , hurtbox = pat:get_frame(654,0,7).hurtbox , duration = 1}) pat:update_frame(654,2,22, { tex_index = 277 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -12 , tex_offset_y = baseY -18 , hurtbox = pat:get_frame(654,0,7).hurtbox , duration = 3}) pat:update_frame(654,2,22, 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 end frame.hurtbox[2].y1 = frame.hurtbox[2].y1 - 30 end) pat:update_frame(654,2,23, { tex_index = 247 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY -14 , hurtbox = pat:get_frame(410,0,0).hurtbox , duration = 3 }) pat:update_frame(654,2,24, { tex_index = 278 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -0 , tex_offset_y = baseY -0 , hurtbox = pat:get_frame(410,0,0).hurtbox , duration = 3}) pat:update_frame(654,0,5,function(frame) unset_fflag(frame,FF_MELEE_INV) unset_fflag(frame,FF_BULLET_INV) unset_fflag(frame,FF_GRAZE) end) pat:update_frame(654,0,6,function(frame) unset_fflag(frame,FF_MELEE_INV) unset_fflag(frame,FF_BULLET_INV) unset_fflag(frame,FF_GRAZE) end) pat:update_frame(654,0,7,function(frame) unset_fflag(frame,FF_MELEE_INV) unset_fflag(frame,FF_BULLET_INV) unset_fflag(frame,FF_GRAZE) end) pat:update_frame(654,3,0, { tex_index = 211 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(9,0,0).hurtbox }) pat:update_frame(654,3,1, { tex_index = 212 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(9,0,0).hurtbox }) pat:update_frame(654,4,0, { tex_index = 205 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY -62 , hurtbox = pat:get_frame(1,0,2).hurtbox , duration = 3}) pat:update_frame(654,4,1, { tex_index = 248 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY -34 , hurtbox = pat:get_frame(1,0,1).hurtbox , duration = 4}) pat:update_frame(654,4,2, { tex_index = 247 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY -14 , hurtbox = pat:get_frame(3,0,2).hurtbox , duration = 4}) for idx = 0 , 13 do pat:remove_frame(854,0,0) end for idx = 0 , 99 do pat:split_frame(854,0,0,2,2) end for idx = 0 , 100 do if (idx%7==0) then pat:update_frame(854,0,idx, { tex_index = 266 , tex_h = 512 , tex_w = 512 , tex_offset_x = 180 , tex_offset_y = 64 }) elseif (idx%7==1) then pat:update_frame(854,0,idx, { tex_index = 267 , tex_h = 512 , tex_w = 512 , tex_offset_x = 184 , tex_offset_y = 49 }) elseif (idx%7==2) then pat:update_frame(854,0,idx, { tex_index = 268 , tex_h = 512 , tex_w = 512 , tex_offset_x = 188 , tex_offset_y = 55 }) elseif (idx%7==3) then pat:update_frame(854,0,idx, { tex_index = 269 , tex_h = 512 , tex_w = 512 , tex_offset_x = 192 , tex_offset_y = 56 }) elseif (idx%7==4) then pat:update_frame(854,0,idx, { tex_index = 270 , tex_h = 512 , tex_w = 512 , tex_offset_x = 192 , tex_offset_y = 52 }) elseif (idx%7==5) then pat:update_frame(854,0,idx, { tex_index = 271 , tex_h = 512 , tex_w = 512 , tex_offset_x = 188 , tex_offset_y = 42 }) elseif (idx%7==6) then pat:update_frame(854,0,idx, { tex_index = 272 , tex_h = 512 , tex_w = 512 , tex_offset_x = 180 , tex_offset_y = 44 }) end pat:update_frame(854,0,idx,function (frame) frame.duration = 2 frame.scale_x = 1000 frame.scale_y = 800 local scalemod = 100/frame.scale_x local scalemody = 100/frame.scale_y local ymod = 280 local xmod = 0 if (idx < 20) then frame.tex_w = 0 elseif (idx < 30) then xmod = -1200 + (idx-20)*120 elseif (idx > 60 and idx <= 80) then ymod = 280+ (idx-60)*16 local alph = 255 - (255* (idx-60)/20) frame.color_r = alph frame.color_g = alph frame.color_b = alph elseif (idx > 80) then frame.tex_w = 0 frame.duration = 20 end frame.tex_offset_y = frame.tex_offset_y - (ymod)*scalemody frame.tex_offset_x = frame.tex_offset_x - (xmod)*scalemod end) end pat:update_frame(854,7,0,function(frame) frame.tex_w = 0 --[[ frame.tex_index = 200 frame.tex_w = 64 frame.tex_h = 64 frame.tex_offset_x = 32 frame.tex_offset_y = 32 frame.scale_x = 100 frame.scale_y = 100]]-- end) pat:update_frame(854,8,0,function(frame) frame.tex_index = 239 frame.scale_x = 100 frame.scale_y = 100 frame.tex_offset_x = 64 frame.tex_offset_y = 64 frame.tex_w = 128 frame.tex_h = 128 frame.duration = 1 frame.color_r = 255 frame.color_g = 255 frame.color_b = 255 end) pat:update_frame(854,9,0,function(frame) frame.tex_index = 239 frame.scale_x = 100 frame.scale_y = 100 frame.tex_offset_x = 64 frame.tex_offset_y = 64 frame.tex_w = 128 frame.tex_h = 128 frame.duration = 1 frame.color_r = 255 frame.color_g = 255 frame.color_b = 255 end) pat:update_frame(854,10,0,function(frame) frame.tex_index = 239 frame.scale_x = 100 frame.scale_y = 100 frame.tex_offset_x = 64 frame.tex_offset_y = 64 frame.tex_w = 128 frame.tex_h = 128 frame.duration = 1 frame.color_r = 255 frame.color_g = 255 frame.color_b = 255 end) pat:update_frame(854,11,0,function(frame) frame.tex_index = 239 frame.scale_x = 100 frame.scale_y = 100 frame.tex_offset_x = 64 frame.tex_offset_y = 64 frame.tex_w = 128 frame.tex_h = 128 frame.duration = 1 frame.color_r = 255 frame.color_g = 255 frame.color_b = 255 end) pat:update_frame(854,12,0,function(frame) frame.duration = 20 frame.attackbox[1]=null frame.tex_w = 0 end) pat:update_frame(854,1,0,function(frame) frame.tex_w = 0 end) pat:update_frame(854,2,0,function(frame) frame.tex_w = 0 end) pat:update_frame(854,3,0,function(frame) frame.tex_w = 0 end) pat:update_frame(854,13,0,function(frame) frame.tex_w = 0 end) pat:update_frame(854,14,0,function(frame) frame.tex_w = 0 end) pat:update_frame(854,15,0,function(frame) frame.tex_w = 0 end) pat:update_frame(854,15,1,function(frame) frame.tex_w = 0 end) for idx = 0 , 39 do pat:split_frame(854,4,0,1,1) end for idx = 0 , 40 do pat:update_frame(854,4,idx,function(frame) frame.blending_mode = 1 frame.tex_index = 71 + (idx%8)/4 frame.tex_w = 120 frame.tex_h = 120 frame.tex_offset_x = 31 frame.tex_offset_y = 32 frame.scale_x = 180 frame.scale_y = 180 frame.duration = 1 local scalemody = 100/frame.scale_y if (idx < 2) then frame.attackbox[1].x1 = frame.attackbox[1].x1 - 1500 frame.attackbox[1].x2 = frame.attackbox[1].x2 + 1500 frame.attackbox[1].y1 = frame.attackbox[1].y1 + 200 frame.attackbox[1].y2 = frame.attackbox[1].y2 + 400 frame.sp_damage = 4 frame.damage = 100 frame.chip_damage = 10 frame.limit = 1 frame.proration = 990 frame.attack_level = AL_HEAVY frame.hit_sfx = 3 else frame.attackbox[1] = null frame.duration = 1 end local transp = idx/40 if (idx == 40) then transp = 1 frame.duration = 2000 end frame.color_r = 200 * transp frame.color_g = 200 * transp frame.color_b = 200 * transp end) end for idx = 0 , 69 do pat:split_frame(854,5,0,1,1) end for idx = 0 , 70 do pat:update_frame(854,5,idx,function(frame) frame.tex_index = 200 frame.tex_w = 64 frame.tex_h = 64 frame.tex_offset_x = 32 frame.tex_offset_y = 32 frame.scale_x = 200 + 50*idx%2 frame.scale_y = 200 + 50*idx%2 local transp = idx/20 if (idx > 20) then transp = 1 end frame.color_r = 0 + 255 * transp frame.color_g = 0 + 255 * transp frame.color_b = 0 + 255 * transp frame.attackbox[1] = null frame.duration = 2 frame.blending_mode = 0 frame.tex_index = 71 frame.tex_w = 120 frame.tex_h = 120 frame.tex_offset_x = 31 frame.tex_offset_y = 32 frame.scale_x = 180 frame.scale_y = 180 end) end --[[ for idx = 0 , 40 do pat:split_frame(854,6,0,3,3) end for idx = 0 , 42 do pat:update_frame(854,6,idx,function(frame) frame.tex_index = 200 frame.tex_w = 64 frame.tex_h = 64 frame.tex_offset_x = 32 frame.tex_offset_y = 32 frame.scale_x = 200 + 50*idx%2 frame.scale_y = 200 + 50*idx%2 if (idx > 30) then frame.duration = 1 frame.scale_x = 200 + 60*(idx-30) frame.scale_y = 200 + 60*(idx-30) end if (idx > 35) then local transp = 255 * ((7-(idx-35))/7) frame.color_r = transp frame.color_g = transp frame.color_b = transp if (idx > 39) then frame.attackbox[1].x1 = frame.attackbox[1].x1 - 40 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 if (idx > 41) then frame.attackbox[1]=null frame.color_r = 0 frame.color_g = 0 frame.color_b = 0 frame.duration = 2000 end end local scalemod = 100/frame.scale_x local ymod = 0 local xmod = 0 -- comment here 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) -- end here end) end]]-- for idx = 0 , 33 do pat:split_frame(854,6,0,1,1) end for idx = 0 , 35 do pat:update_frame(854,6,idx,function(frame) frame.tex_index = 200 frame.tex_w = 64 frame.tex_h = 64 frame.tex_offset_x = 32 frame.tex_offset_y = 32 frame.scale_x = 200 + 50*idx%2 frame.scale_y = 200 + 50*idx%2 frame.attackbox[1].x1 = frame.attackbox[1].x1 -10 frame.attackbox[1].x2 = frame.attackbox[1].x2 +10 frame.attackbox[1].y1 = frame.attackbox[1].y1 -10 frame.attackbox[1].y2 = frame.attackbox[1].y2 +10 frame.blending_mode = 0 frame.tex_index = 71 + (idx%8)/4 frame.tex_w = 120 frame.tex_h = 120 frame.tex_offset_x = 31 frame.tex_offset_y = 32 frame.scale_x = 180 frame.scale_y = 180 frame.duration = 1 frame.angle_z = frame.angle_z + idx*10 end) end end function mods.fivesc(pat) local baseX = 76 local baseY = 195 local baseDur = 6 pat:update_frame(608,0,0,{duration = 3+1}) pat:update_frame(608,0,1,{duration = 3+1}) pat:update_frame(608,0,2,{duration = 3+1}) pat:update_frame(608,0,3,{duration = 2}) pat:update_frame(608,2,0,{duration = 21}) pat:update_frame(608,2,1,{duration = 2}) for idx = 0 , 79 do pat:split_frame(608,2,2,1,1) end for idx = 0 , 74 do --theres 91, 15 more here if (idx < 46) then pat:update_frame(608,2,idx+2, { tex_index = 314 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +0 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(530,3,0).hurtbox }) else if (idx%6<3) then pat:update_frame(608,2,idx+2, { tex_index = 147 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -46 , hurtbox = pat:get_frame(201,0,1).hurtbox }) else pat:update_frame(608,2,idx+2, { tex_index = 146 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -46 , hurtbox = pat:get_frame(201,0,1).hurtbox }) end end pat:update_frame(608,2,idx+2,function(frame) frame.collision[1] = pat:get_frame(197,1,0).collision[1] frame.duration = 1 local scalemod = 100/100 if (idx < 46) then local ymod = 0 local xmod = 60*idx frame.tex_offset_y = frame.tex_offset_y - (ymod)*scalemod frame.tex_offset_x = frame.tex_offset_x - (xmod)*scalemod for idx3 = 1 , 3 do frame.hurtbox[idx3].y1 = frame.hurtbox[idx3].y1 + (ymod) -20 frame.hurtbox[idx3].y2 = frame.hurtbox[idx3].y2 + (ymod) -20 frame.hurtbox[idx3].x1 = frame.hurtbox[idx3].x1 + (xmod) -20 frame.hurtbox[idx3].x2 = frame.hurtbox[idx3].x2 + (xmod) -20 end frame.hit_sfx = 4 frame.damage = 300 frame.limit = 10 frame.proration = 950 set_fflag(frame,FF_MELEE_INV) set_fflag(frame,FF_BULLET_INV) set_fflag(frame,FF_GRAZE) else local ymod = 0 local xmod = -2000 + (2000*(idx-46)/(74-46)) * ((74-45)/(idx-45)) frame.tex_offset_y = frame.tex_offset_y - (ymod)*scalemod frame.tex_offset_x = frame.tex_offset_x - (xmod)*scalemod for idx3 = 1 , 2 do frame.hurtbox[idx3].y1 = frame.hurtbox[idx3].y1 + (ymod) -20 frame.hurtbox[idx3].y2 = frame.hurtbox[idx3].y2 + (ymod) -20 frame.hurtbox[idx3].x1 = frame.hurtbox[idx3].x1 + (xmod) -20 frame.hurtbox[idx3].x2 = frame.hurtbox[idx3].x2 + (xmod) -20 end set_fflag(frame,FF_MELEE_INV) set_fflag(frame,FF_BULLET_INV) set_fflag(frame,FF_GRAZE) end end) end for idx = 77 , 88 do -- left 3 more if (idx%2==0) then pat:update_frame(608,2,idx, { tex_index = 147 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -46 , hurtbox = pat:get_frame(201,0,1).hurtbox , duration = 3 + (idx-70)/7}) else pat:update_frame(608,2,idx, { tex_index = 146 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -46 , hurtbox = pat:get_frame(201,0,1).hurtbox , duration = 3 + (idx-70)/7}) end end pat:update_frame(608,2,89, { tex_index = 145 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -46 , hurtbox = pat:get_frame(201,0,1).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 8 }) pat:update_frame(608,2,90, { tex_index = 248 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY -34 , hurtbox = pat:get_frame(1,0,1).hurtbox , duration = 3}) pat:update_frame(608,2,91, { tex_index = 247 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY -14 , hurtbox = pat:get_frame(1,0,0).hurtbox , duration = 3 }) pat:update_frame(858,0,0,{duration = 2 , tex_w = 0}) pat:remove_frame(858,0,5) pat:remove_frame(858,0,4) pat:remove_frame(858,0,3) pat:remove_frame(858,0,2) --startup local startup = 3 --and 10 preflash and 2 after flash pat:update_frame(858,0,0,{duration = 2 + startup}) pat:update_frame(608,2,1,{duration = 2 + startup}) pat:update_frame(608,0,0, { tex_index = 247 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY -14 , hurtbox = pat:get_frame(1,0,0).hurtbox}) pat:update_frame(608,0,1, { tex_index = 249 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY -72 , hurtbox = pat:get_frame(1,0,3).hurtbox}) pat:update_frame(608,0,2, { tex_index = 249 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY -72 , hurtbox = pat:get_frame(1,0,3).hurtbox}) pat:update_frame(608,0,3, { tex_index = 248 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY -34 , hurtbox = pat:get_frame(1,0,1).hurtbox}) pat:update_frame(608,1,0, { tex_index = 202 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -20 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 3}) pat:update_frame(608,1,1, { tex_index = 202 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -20 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 3 }) pat:update_frame(608,1,2, { tex_index = 349, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -4 -20 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(307,0,0).hurtbox , duration = 2}) pat:update_frame(608,1,3, { tex_index = 349, tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -4 -20 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(307,0,0).hurtbox , duration = 2}) pat:update_frame(608,1,4, { tex_index = 310 , tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 , tex_offset_y = baseY -22 , hurtbox = pat:get_frame(530,2,1).hurtbox , duration = 2}) pat:update_frame(608,1,5, { tex_index = 310 , tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -2 , tex_offset_y = baseY -22 , hurtbox = pat:get_frame(530,2,1).hurtbox , duration = 2}) pat:update_frame(608,1,6, { tex_index = 312 , tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -8 , tex_offset_y = baseY -28 , hurtbox = pat:get_frame(530,2,2).hurtbox , duration = 2}) pat:update_frame(608,1,7, { tex_index = 312 , tex_h = 160 , tex_w = 158 , tex_offset_x = baseX -8 , tex_offset_y = baseY -28 , hurtbox = pat:get_frame(530,2,2).hurtbox , duration = 2}) pat:update_frame(608,2,0, { tex_index = 313 , tex_h = 160 , tex_w = 158 , tex_offset_x = baseX +0 , tex_offset_y = baseY -30 , hurtbox = pat:get_frame(530,2,3).hurtbox}) pat:update_frame(608,2,1, { tex_index = 313 , tex_h = 160 , tex_w = 158 , tex_offset_x = baseX +0 , tex_offset_y = baseY -30 , hurtbox = pat:get_frame(530,2,3).hurtbox}) for idx = 0 , 7 do pat:update_frame(608,1,idx,function(frame) set_fflag(frame,FF_MELEE_INV) set_fflag(frame,FF_BULLET_INV) set_fflag(frame,FF_GRAZE) end) end pat:update_frame(608,2,0,function(frame) set_fflag(frame,FF_MELEE_INV) set_fflag(frame,FF_BULLET_INV) set_fflag(frame,FF_GRAZE) end) for idx = 0 , 45 do pat:split_frame(858,0,1,1,1) end pat:update_frame(858,0,1 + 0, { tex_index = 43 , tex_h = 256 , tex_w = 256 , tex_offset_x = 89 , tex_offset_y = 120 }) pat:update_frame(858,0,1 + 1, { tex_index = 43 , tex_h = 256 , tex_w = 256 , tex_offset_x = 89 , tex_offset_y = 120 }) pat:update_frame(858,0,1 + 2, { tex_index = 44 , tex_h = 256 , tex_w = 256 , tex_offset_x = 84 , tex_offset_y = 148 }) pat:update_frame(858,0,1 + 3, { tex_index = 44 , tex_h = 256 , tex_w = 256 , tex_offset_x = 84 , tex_offset_y = 148 }) pat:update_frame(858,0,1 + 4, { tex_index = 45 , tex_h = 256 , tex_w = 256 , tex_offset_x = 84 , tex_offset_y = 165 }) pat:update_frame(858,0,1 + 5, { tex_index = 45 , tex_h = 256 , tex_w = 256 , tex_offset_x = 84 , tex_offset_y = 165 }) pat:update_frame(858,0,1 + 6, { tex_index = 46 , tex_h = 256 , tex_w = 256 , tex_offset_x = 89 , tex_offset_y = 181 }) pat:update_frame(858,0,1 + 7, { tex_index = 46 , tex_h = 256 , tex_w = 256 , tex_offset_x = 89 , tex_offset_y = 181 }) pat:update_frame(858,0,1 + 8, { tex_index = 47 , tex_h = 256 , tex_w = 256 , tex_offset_x = 91 , tex_offset_y = 190 }) pat:update_frame(858,0,1 + 9, { tex_index = 47 , tex_h = 256 , tex_w = 256 , tex_offset_x = 91 , tex_offset_y = 190 }) pat:update_frame(858,0,1 + 10, { tex_index = 48 , tex_h = 256 , tex_w = 256 , tex_offset_x = 94 , tex_offset_y = 199 }) pat:update_frame(858,0,1 + 11, { tex_index = 48 , tex_h = 256 , tex_w = 256 , tex_offset_x = 94 , tex_offset_y = 199 }) pat:update_frame(858,0,1 + 12, { tex_index = 49 , tex_h = 256 , tex_w = 256 , tex_offset_x = 98 , tex_offset_y = 203 }) pat:update_frame(858,0,1 + 13, { tex_index = 49 , tex_h = 256 , tex_w = 256 , tex_offset_x = 98 , tex_offset_y = 203 }) pat:update_frame(858,0,1 + 14, { tex_index = 50 , tex_h = 256 , tex_w = 256 , tex_offset_x = 97 , tex_offset_y = 204 }) pat:update_frame(858,0,1 + 15, { tex_index = 50 , tex_h = 256 , tex_w = 256 , tex_offset_x = 97 , tex_offset_y = 204 }) pat:update_frame(858,0,1 + 16, { tex_index = 51 , tex_h = 256 , tex_w = 256 , tex_offset_x = 92 , tex_offset_y = 205 }) pat:update_frame(858,0,1 + 17, { tex_index = 51 , tex_h = 256 , tex_w = 256 , tex_offset_x = 92 , tex_offset_y = 205 }) pat:update_frame(858,0,1 + 18, { tex_index = 52 , tex_h = 256 , tex_w = 256 , tex_offset_x = 80 , tex_offset_y = 205 }) pat:update_frame(858,0,1 + 19, { tex_index = 52 , tex_h = 256 , tex_w = 256 , tex_offset_x = 80 , tex_offset_y = 205 }) pat:update_frame(858,0,1 + 20, { tex_index = 104 , tex_h = 256 , tex_w = 256 , tex_offset_x = 73 , tex_offset_y = 205 }) pat:update_frame(858,0,1 + 21, { tex_index = 104 , tex_h = 256 , tex_w = 256 , tex_offset_x = 73 , tex_offset_y = 205 }) pat:update_frame(858,0,1 + 22, { tex_index = 105 , tex_h = 256 , tex_w = 256 , tex_offset_x = 76 , tex_offset_y = 205 }) pat:update_frame(858,0,1 + 23, { tex_index = 105 , tex_h = 256 , tex_w = 256 , tex_offset_x = 76 , tex_offset_y = 205 }) pat:update_frame(858,0,1 + 24, { tex_index = 106 , tex_h = 256 , tex_w = 256 , tex_offset_x = 78 , tex_offset_y = 203 }) pat:update_frame(858,0,1 + 25, { tex_index = 106 , tex_h = 256 , tex_w = 256 , tex_offset_x = 78 , tex_offset_y = 203 }) pat:update_frame(858,0,1 + 26, { tex_index = 107 , tex_h = 256 , tex_w = 256 , tex_offset_x = 78 , tex_offset_y = 206 }) pat:update_frame(858,0,1 + 27, { tex_index = 107 , tex_h = 256 , tex_w = 256 , tex_offset_x = 78 , tex_offset_y = 206 }) pat:update_frame(858,0,1 + 28, { tex_index = 108 , tex_h = 256 , tex_w = 256 , tex_offset_x = 78 , tex_offset_y = 205 }) pat:update_frame(858,0,1 + 29, { tex_index = 108 , tex_h = 256 , tex_w = 256 , tex_offset_x = 78 , tex_offset_y = 205 }) pat:update_frame(858,0,1 + 30, { tex_index = 109 , tex_h = 256 , tex_w = 256 , tex_offset_x = 78 , tex_offset_y = 205 }) pat:update_frame(858,0,1 + 31, { tex_index = 109 , tex_h = 256 , tex_w = 256 , tex_offset_x = 78 , tex_offset_y = 205 }) for idx = 0 , 46 do pat:update_frame(858,0,idx+1,function(frame) frame.duration = 1 if (idx < 46) then if (idx > 31) then frame.tex_w = 0 end frame.angle_z = frame.angle_z - 90 frame.scale_x = 300 frame.scale_y = 300 + idx*30 local scalemod = 100/frame.scale_x local scalemody = 100/frame.scale_y local ymod = 0 local xmod = 60*idx frame.tex_offset_y = frame.tex_offset_y - (xmod)*scalemody --frame.tex_offset_x = frame.tex_offset_x - 90*scalemod --frame.tex_offset_y = frame.tex_offset_y + 0 frame.tex_offset_x = frame.tex_offset_x - 90*scalemod for idx3 = 1 , 2 do frame.attackbox[idx3].y1 = frame.attackbox[idx3].y1 + (ymod) frame.attackbox[idx3].y2 = frame.attackbox[idx3].y2 + (ymod) frame.attackbox[idx3].x1 = frame.attackbox[idx3].x1 + (xmod) -150 frame.attackbox[idx3].x2 = frame.attackbox[idx3].x2 + (xmod) -250 end frame.attackbox[3] = null frame.attackbox[2].y1 = frame.attackbox[2].y1 + 60 + 40 frame.attackbox[2].y2 = frame.attackbox[2].y2 + 60 frame.attackbox[2].x1 = frame.attackbox[2].x1 + 80 frame.attackbox[1].x1 = frame.attackbox[1].x1 + 80 frame.attackbox[1].y1 = frame.attackbox[1].y1 + 20 frame.attackbox[1].y2 = frame.attackbox[1].y2 - 60 frame.attackbox[1].x1 = frame.attackbox[1].x1 - 100 frame.launch_vector_x = 750 frame.launch_vector_y = 3500 frame.combo_correction = CC_LIFT_ATTACK frame.attack_level = AL_SUPERHEAVY frame.hit_ani_ground = 77 frame.hit_ani_air = 77 unset_aflag(frame,AF_COUNTER_HIT) unset_aflag(frame,AF_HIT_ON_WRONGBLOCK) set_aflag(frame,AF_LOWBLOCK_OK) frame.hit_sfx = 4 frame.hit_effect = 3 frame.damage = 4400 frame.chip_damage = 1100 if (idx == 45) then frame.tex_w = 0 frame.attackbox = pat:get_frame(0,0,0).attackbox frame.duration = 600 end end end) end pat:update_frame(858,1,0,function(frame) frame.tex_index = 239 frame.scale_x = 100 frame.scale_y = 100 frame.tex_offset_x = 64 frame.tex_offset_y = 64 frame.tex_w = 128 frame.tex_h = 128 frame.duration = 1 frame.color_r = 255 frame.color_g = 255 frame.color_b = 255 end) pat:update_frame(858,2,0,function(frame) frame.tex_index = 239 frame.scale_x = 100 frame.scale_y = 100 frame.tex_offset_x = 64 frame.tex_offset_y = 64 frame.tex_w = 128 frame.tex_h = 128 frame.duration = 1 frame.color_r = 255 frame.color_g = 255 frame.color_b = 255 end) pat:update_frame(858,3,0,function(frame) frame.tex_index = 239 frame.scale_x = 100 frame.scale_y = 100 frame.tex_offset_x = 64 frame.tex_offset_y = 64 frame.tex_w = 0 frame.tex_h = 128 frame.duration = 1 frame.color_r = 255 frame.color_g = 255 frame.color_b = 255 end) pat:update_frame(858,4,0,function(frame) frame.tex_index = 239 frame.scale_x = 100 frame.scale_y = 100 frame.tex_offset_x = 64 frame.tex_offset_y = 64 frame.tex_w = 128 frame.tex_h = 128 frame.duration = 1 frame.color_r = 255 frame.color_g = 255 frame.color_b = 255 end) pat:update_frame(858,5,0,function(frame) frame.color_r = 255 frame.color_g = 125 frame.color_b = 125 end) pat:update_frame(858,6,0,function(frame) frame.tex_w = 0 end) pat:update_frame(858,6,1,function(frame) frame.tex_w = 0 end) end function mods.spinreversal(pat) local baseX = 76 local baseY = 195 local baseDur = 6 pat:update_frame(606,0,0, { tex_index = 326 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(606,0,1, { tex_index = 327 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -18 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(606,0,2, { tex_index = 328 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -42 , tex_offset_y = baseY +6 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(606,0,3, { tex_index = 328 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -42 , tex_offset_y = baseY +6 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(606,1,0, { tex_index = 328 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -42 , tex_offset_y = baseY +6 }) pat:update_frame(606,2,0, { tex_index = 328 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -42 , tex_offset_y = baseY +6 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(606,3,0, { tex_index = 329 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -26 , tex_offset_y = baseY +12 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(606,3,1, { tex_index = 330 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -2 , tex_offset_y = baseY +0 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(606,3,2, { tex_index = 331 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -38 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(606,3,3, { tex_index = 332 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -12 , tex_offset_y = baseY -16 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(606,3,4, { tex_index = 333 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -24 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(606,3,5, { tex_index = 334 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -40 , tex_offset_y = baseY +0 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:remove_frame(606,3,6) pat:split_frame(606,4,0,3,3) pat:split_frame(606,4,0,3,3) pat:split_frame(606,4,0,3,3) pat:split_frame(606,4,0,3,3) pat:update_frame(606,4,0, { tex_index = 329 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -26 , tex_offset_y = baseY +12 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(606,4,1, { tex_index = 330 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -2 , tex_offset_y = baseY +0 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(606,4,2, { tex_index = 331 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -38 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(606,4,3, { tex_index = 332 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -12 , tex_offset_y = baseY -16 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(606,4,4, { tex_index = 333 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -24 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(606,4,5, { tex_index = 334 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -40 , tex_offset_y = baseY +0 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(606,5,0, { tex_index = 329 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -26 , tex_offset_y = baseY +12 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(606,5,0, { tex_index = 330 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -2 , tex_offset_y = baseY +0 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(606,5,1, { tex_index = 331 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -38 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(606,5,2, { tex_index = 332 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -12 , tex_offset_y = baseY -16 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(606,5,3, { tex_index = 333 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -24 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(606,5,4, { tex_index = 334 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -40 , tex_offset_y = baseY +0 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(606,5,5, { tex_index = 328 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -42 , tex_offset_y = baseY +6 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(606,5,6, { tex_index = 327 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -18 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(606,5,7, { tex_index = 326 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -16 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(606,5,8, { tex_index = 30 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:remove_frame(856,0,14) pat:remove_frame(856,0,13) for idx = 0 , 12 do pat:update_frame(856,0,idx,function(frame) if (idx <= 6) then frame.tex_index = 110 + idx elseif (idx == 7) then frame.tex_index = 93 else frame.tex_index = 279 + idx-8 end frame.tex_w = 250 frame.tex_h = 250 frame.tex_offset_x = 100 frame.tex_offset_y = 100 frame.scale_x = 150 frame.scale_y = 150 end) end pat:update_frame(856,1,0,function(frame) frame.tex_w = 0 end) pat:update_frame(856,2,0,function(frame) frame.color_r = 255 frame.color_g = 0 frame.color_b = 0 end) pat:update_frame(856,3,0,function(frame) frame.color_r = 255 frame.color_g = 0 frame.color_b = 0 end) pat:update_frame(856,4,0,function(frame) frame.tex_index = 239 frame.scale_x = 100 frame.scale_y = 100 frame.tex_offset_x = 64 frame.tex_offset_y = 64 frame.tex_w = 128 frame.tex_h = 128 frame.duration = 1 frame.color_r = 255 frame.color_g = 255 frame.color_b = 255 end) pat:update_frame(856,5,0,function(frame) frame.tex_index = 239 frame.scale_x = 100 frame.scale_y = 100 frame.tex_offset_x = 64 frame.tex_offset_y = 64 frame.tex_w = 128 frame.tex_h = 128 frame.duration = 1 frame.color_r = 255 frame.color_g = 255 frame.color_b = 255 end) pat:update_frame(856,6,0,function(frame) frame.tex_index = 239 frame.scale_x = 100 frame.scale_y = 100 frame.tex_offset_x = 64 frame.tex_offset_y = 64 frame.tex_w = 128 frame.tex_h = 128 frame.duration = 1 frame.color_r = 255 frame.color_g = 255 frame.color_b = 255 end) pat:remove_frame(856,4,1) pat:remove_frame(856,5,1) pat:remove_frame(856,6,1) pat:update_frame(856,7,0,function(frame) frame.color_r = 255 frame.color_g = 100 frame.color_b = 100 end) pat:update_frame(856,8,0,function(frame) frame.tex_index = 239 frame.scale_x = 100 frame.scale_y = 100 frame.tex_offset_x = 64 frame.tex_offset_y = 64 frame.tex_w = 128 frame.tex_h = 128 frame.duration = 1 frame.color_r = 255 frame.color_g = 255 frame.color_b = 255 end) pat:update_frame(856,9,0,function(frame) frame.tex_index = 239 frame.scale_x = 100 frame.scale_y = 100 frame.tex_offset_x = 64 frame.tex_offset_y = 64 frame.tex_w = 128 frame.tex_h = 128 frame.duration = 1 frame.color_r = 255 frame.color_g = 255 frame.color_b = 255 end) pat:update_frame(856,10,0,function(frame) frame.tex_index = 239 frame.scale_x = 100 frame.scale_y = 100 frame.tex_offset_x = 64 frame.tex_offset_y = 64 frame.tex_w = 128 frame.tex_h = 128 frame.duration = 1 frame.color_r = 255 frame.color_g = 255 frame.color_b = 255 end) pat:update_frame(856,11,0,function(frame) frame.tex_index = 239 frame.scale_x = 100 frame.scale_y = 100 frame.tex_offset_x = 64 frame.tex_offset_y = 64 frame.tex_w = 128 frame.tex_h = 128 frame.duration = 1 frame.color_r = 255 frame.color_g = 255 frame.color_b = 255 end) end function mods.icegrab(pat) local baseX = 76 local baseY = 195 local baseDur = 6 pat:update_frame(550,0,0, { tex_index = 247 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY -14 , hurtbox = pat:get_frame(410,0,0).hurtbox , duration = 3}) pat:update_frame(550,0,1, { tex_index = 240 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -16 , hurtbox = pat:get_frame(410,0,1).hurtbox , duration = 3}) pat:update_frame(550,0,2, { tex_index = 241 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(410,0,2).hurtbox , duration = 3}) pat:update_frame(550,0,3, { tex_index = 273 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +14 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(410,0,2).hurtbox , duration = 2}) pat:update_frame(550,0,4, { tex_index = 274 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -12 , tex_offset_y = baseY -0 , hurtbox = pat:get_frame(410,0,4).hurtbox , duration = 20}) pat:update_frame(550,0,5, { tex_index = 274 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -12 , tex_offset_y = baseY -0 , hurtbox = pat:get_frame(410,0,4).hurtbox , duration = 2 }) pat:update_frame(550,0,6, { tex_index = 275 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -8 , hurtbox = pat:get_frame(410,0,3).hurtbox , duration = 2}) pat:update_frame(550,0,7, { tex_index = 276 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -18 , tex_offset_y = baseY -38 , hurtbox = pat:get_frame(604,0,7).hurtbox}) pat:update_frame(550,0,8, { tex_index = 276 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -18 , tex_offset_y = baseY -38 , hurtbox = pat:get_frame(604,0,7).hurtbox}) pat:update_frame(550,0,9, { tex_index = 276 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -18 , tex_offset_y = baseY -38 , hurtbox = pat:get_frame(604,0,7).hurtbox}) pat:update_frame(550,0,10, { tex_index = 276 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -18 , tex_offset_y = baseY -38 , hurtbox = pat:get_frame(604,0,7).hurtbox}) pat:update_frame(550,0,11, { tex_index = 277 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -12 , tex_offset_y = baseY -18 , hurtbox = pat:get_frame(604,2,10).hurtbox}) pat:update_frame(550,0,12, { tex_index = 247 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY -14 , hurtbox = pat:get_frame(410,0,0).hurtbox }) pat:update_frame(550,0,13, { tex_index = 278 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -0 , tex_offset_y = baseY -0 , hurtbox = pat:get_frame(410,0,3).hurtbox}) pat:update_frame(550,0,11, { tex_index = 276 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -18 , tex_offset_y = baseY -38 , hurtbox = pat:get_frame(604,0,7).hurtbox}) pat:update_frame(550,0,12, { tex_index = 276 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -18 , tex_offset_y = baseY -38 , hurtbox = pat:get_frame(604,0,7).hurtbox}) pat:update_frame(550,0,13, { tex_index = 276 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -18 , tex_offset_y = baseY -38 , hurtbox = pat:get_frame(604,0,7).hurtbox}) pat:update_frame(550,0,12, { tex_index = 277 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -12 , tex_offset_y = baseY -18 , hurtbox = pat:get_frame(604,2,10).hurtbox}) pat:update_frame(550,0,13, { tex_index = 248 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY -34 , hurtbox = pat:get_frame(1,0,1).hurtbox}) --[[ pat:update_frame(550,0,8, { tex_index = 248 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY -34 , hurtbox = pat:get_frame(1,0,1).hurtbox }) pat:update_frame(550,0,9, { tex_index = 248 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY -34 , hurtbox = pat:get_frame(1,0,1).hurtbox }) pat:update_frame(550,0,10, { tex_index = 248 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY -34 , hurtbox = pat:get_frame(1,0,1).hurtbox }) pat:update_frame(550,0,11, { tex_index = 248 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY -34 , hurtbox = pat:get_frame(1,0,1).hurtbox }) pat:update_frame(550,0,12, { tex_index = 205 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY -62 , hurtbox = pat:get_frame(1,0,2).hurtbox }) pat:update_frame(550,0,13, { tex_index = 249 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY -72 , hurtbox = pat:get_frame(1,0,3).hurtbox })]]-- pat:update_frame(550,1,0, { tex_index = 276 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -18 , tex_offset_y = baseY -38 , hurtbox = pat:get_frame(604,0,7).hurtbox}) pat:update_frame(550,1,1, { tex_index = 276 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -18 , tex_offset_y = baseY -38 , hurtbox = pat:get_frame(604,0,7).hurtbox}) pat:update_frame(550,1,2, { tex_index = 276 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -18 , tex_offset_y = baseY -38 , hurtbox = pat:get_frame(604,0,7).hurtbox}) pat:update_frame(550,1,3, { tex_index = 276 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -18 , tex_offset_y = baseY -38 , hurtbox = pat:get_frame(604,0,7).hurtbox}) pat:update_frame(550,1,4, { tex_index = 276 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -18 , tex_offset_y = baseY -38 , hurtbox = pat:get_frame(604,0,7).hurtbox}) pat:update_frame(550,1,5, { tex_index = 276 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -18 , tex_offset_y = baseY -38 , hurtbox = pat:get_frame(604,0,7).hurtbox}) pat:update_frame(550,1,6, { tex_index = 276 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -18 , tex_offset_y = baseY -38 , hurtbox = pat:get_frame(604,0,7).hurtbox}) pat:update_frame(550,2,0, { tex_index = 276 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -18 , tex_offset_y = baseY -38 , hurtbox = pat:get_frame(604,0,7).hurtbox}) pat:update_frame(550,2,1, { tex_index = 277 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -12 , tex_offset_y = baseY -18 , hurtbox = pat:get_frame(604,2,10).hurtbox}) pat:update_frame(550,2,2, { tex_index = 247 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY -14 , hurtbox = pat:get_frame(410,0,0).hurtbox }) pat:update_frame(550,2,3, { tex_index = 278 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -0 , tex_offset_y = baseY -0 , hurtbox = pat:get_frame(410,0,3).hurtbox}) pat:update_frame(550,2,4, { tex_index = 18 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -2 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(301,0,1).hurtbox}) pat:update_frame(550,2,5, { tex_index = 19 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -12 , tex_offset_y = baseY -6 , hurtbox = pat:get_frame(301,0,2).hurtbox , attackbox = pat:get_frame(300,0,0).attackbox}) pat:update_frame(550,2,6, { tex_index = 20 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +4 , tex_offset_y = baseY -6 , hurtbox = pat:get_frame(301,0,5).hurtbox , attackbox = pat:get_frame(300,0,0).attackbox}) -- fires ) pat:update_frame(550,2,7, { tex_index = 373 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +6 , tex_offset_y = baseY -8, hurtbox = pat:get_frame(301,0,5).hurtbox , attackbox = pat:get_frame(300,0,0).attackbox}) pat:update_frame(550,2,8, { tex_index = 373 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +6 , tex_offset_y = baseY -8, hurtbox = pat:get_frame(301,0,5).hurtbox , attackbox = pat:get_frame(300,0,0).attackbox}) pat:update_frame(550,2,9, { tex_index = 373 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +6 , tex_offset_y = baseY -8, hurtbox = pat:get_frame(301,0,5).hurtbox , attackbox = pat:get_frame(300,0,0).attackbox}) pat:update_frame(550,2,10, { tex_index = 373 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +6 , tex_offset_y = baseY -8, hurtbox = pat:get_frame(301,0,5).hurtbox , attackbox = pat:get_frame(300,0,0).attackbox}) pat:update_frame(550,2,11, { tex_index = 373 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +6 , tex_offset_y = baseY -8, hurtbox = pat:get_frame(301,0,5).hurtbox , attackbox = pat:get_frame(300,0,0).attackbox}) pat:update_frame(550,2,12, { tex_index = 373 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +6 , tex_offset_y = baseY -8, hurtbox = pat:get_frame(301,0,5).hurtbox , attackbox = pat:get_frame(300,0,0).attackbox}) pat:update_frame(550,2,13, { tex_index = 373 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +6 , tex_offset_y = baseY -8, hurtbox = pat:get_frame(301,0,5).hurtbox , attackbox = pat:get_frame(300,0,0).attackbox}) pat:update_frame(550,2,14, { tex_index = 373 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +6 , tex_offset_y = baseY -8, hurtbox = pat:get_frame(301,0,5).hurtbox , attackbox = pat:get_frame(300,0,0).attackbox}) pat:update_frame(550,2,15, { tex_index = 373 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +6 , tex_offset_y = baseY -8, hurtbox = pat:get_frame(301,0,5).hurtbox , attackbox = pat:get_frame(300,0,0).attackbox}) pat:update_frame(550,2,16, { tex_index = 374 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -2 , tex_offset_y = baseY -8, hurtbox = pat:get_frame(301,0,8).hurtbox , attackbox = pat:get_frame(300,0,0).attackbox}) pat:update_frame(550,2,17, { tex_index = 374 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -2 , tex_offset_y = baseY -8, hurtbox = pat:get_frame(301,0,8).hurtbox , attackbox = pat:get_frame(300,0,0).attackbox}) pat:update_frame(550,2,18, { tex_index = 1 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -4, hurtbox = pat:get_frame(301,0,9).hurtbox}) for idx = 0 , 13 do pat:update_frame(550,0,idx,{collision = pat:get_frame(0,0,0).collision}) end for idx = 0 , 11 do pat:split_frame(822,5,0,1,1) end for idx = 0 , 12 do pat:update_frame(822,5,idx,function(frame) if (idx <= 6) then frame.tex_index = 110 + idx elseif (idx == 7) then frame.tex_index = 93 else frame.tex_index = 279 + idx-8 end frame.tex_w = 250 frame.tex_h = 250 frame.tex_offset_x = 100 frame.tex_offset_y = 150 frame.scale_x = 200 frame.scale_y = 100 end) end pat:update_frame(822,0,0,function(frame) frame.damage = 350 set_aflag(frame,AF_GRAB) end) pat:update_frame(822,1,0,function(frame) frame.tex_w = 0 end) pat:remove_frame(822,1,1) pat:update_frame(822,3,0,function(frame) frame.tex_w = 0 end) pat:update_frame(822,4,0,function(frame) frame.tex_w = 0 end) pat:remove_frame(822,4,1) pat:update_frame(822,2,0,function(frame) frame.tex_index = 239 frame.scale_x = 100 frame.scale_y = 100 frame.tex_offset_x = 64 frame.tex_offset_y = 64 frame.tex_w = 128 frame.tex_h = 128 frame.duration = 1 frame.color_r = 255 frame.color_g = 255 frame.color_b = 255 end) pat:update_frame(822,8,0,function(frame) frame.tex_index = 239 frame.scale_x = 100 frame.scale_y = 100 frame.tex_offset_x = 64 frame.tex_offset_y = 64 frame.tex_w = 128 frame.tex_h = 128 frame.duration = 1 frame.color_r = 255 frame.color_g = 255 frame.color_b = 255 end) pat:update_frame(822,9,0,function(frame) frame.tex_index = 239 frame.scale_x = 100 frame.scale_y = 100 frame.tex_offset_x = 64 frame.tex_offset_y = 64 frame.tex_w = 128 frame.tex_h = 128 frame.duration = 1 frame.color_r = 255 frame.color_g = 255 frame.color_b = 255 end) end function mods.artillery(pat) for idx = 0 , 99 do pat:split_frame(826,6,0,1,1) end for idx = 0 , 100 do pat:update_frame(826,6,idx,function(frame) frame.tex_index = 200 frame.tex_w = 64 frame.tex_h = 64 frame.tex_offset_x = 32 frame.tex_offset_y = 32 frame.scale_x = 400 frame.scale_y = 800 frame.color_r = 255 frame.color_g = 255 frame.duration = 1 frame.angle_z = 0 frame.blending_mode = 0 frame.tex_index = 62 + (idx/2)%2 frame.tex_w = 120 frame.tex_h = 120 frame.tex_offset_x = 38 frame.tex_offset_y = 29 frame.scale_x = 400 frame.scale_y = 200 frame.color_r = 150 frame.color_g = 150 frame.color_b = 150 frame.angle_z = 90 frame.attackbox[1].x1 = frame.attackbox[1].x1 - 60 -20 frame.attackbox[1].x2 = frame.attackbox[1].x2 - 140 +20 frame.attackbox[1].y1 = frame.attackbox[1].y1 - 20 frame.attackbox[1].y2 = frame.attackbox[1].y2 + 20 --frame.attackbox[1] = pat:get_frame(801,0,0).attackbox[1] frame.attackbox[2] = pat:get_frame(801,0,0).attackbox[3] frame.attackbox[2].x1 = frame.attackbox[2].x1 - 20 +20 frame.attackbox[2].x2 = frame.attackbox[2].x2 - 120 -20 frame.attackbox[2].y2 = frame.attackbox[2].y2 + 120 frame.attackbox[1].x1 = frame.attackbox[1].x1 - 20 +20 frame.attackbox[1].x2 = frame.attackbox[1].x2 - 20 -20 local scalemod = 100/(frame.scale_x*.5) local scalemody = 100/(frame.scale_y*1) --local ymod = -10*idx + .5*idx*idx --local xmod = .2*idx*idx local ymod = -700 local xmod = 200 if (idx<28) then ymod = ymod + 30*idx xmod = xmod + 3*idx else ymod = ymod + 30*28 + 3*(idx-28) xmod = xmod + 3*28 + 1*(idx-28) end local alpha = 255 if (idx<6) then alpha = 0 frame.tex_w = 0 elseif (idx<12) then alpha = 255*(idx-6)/6 elseif (idx<28) then elseif (idx<34) then alpha = 255-255*(idx-28)/6 else frame.tex_w = 0 end frame.color_r = alpha frame.color_g = alpha frame.color_b = alpha frame.tex_offset_x = frame.tex_offset_x - (ymod)*scalemody frame.attackbox[1].y1 = frame.attackbox[1].y1 + (ymod) frame.attackbox[1].y2 = frame.attackbox[1].y2 + (ymod) frame.attackbox[2].y1 = frame.attackbox[2].y1 + (ymod) frame.attackbox[2].y2 = frame.attackbox[2].y2 + (ymod) frame.tex_offset_y = frame.tex_offset_y + (xmod)*scalemod frame.attackbox[1].x1 = frame.attackbox[1].x1 + (xmod) frame.attackbox[1].x2 = frame.attackbox[1].x2 + (xmod) frame.attackbox[2].x1 = frame.attackbox[2].x1 + (xmod) frame.attackbox[2].x2 = frame.attackbox[2].x2 + (xmod) frame.hurtbox[1]=frame.attackbox[1] frame.hurtbox[2]=frame.attackbox[2] if (alpha==0 or frame.tex_w==0) then frame.attackbox[2]=null frame.attackbox[1]=null frame.hurtbox[2]=null frame.hurtbox[1]=null end frame.damage = 200 frame.chip_damage = 40 frame.sp_damage = 40 frame.proration = 950 end) end pat:remove_frame(565,2,11) pat:remove_frame(565,2,10) pat:remove_frame(565,2,9) pat:remove_frame(565,2,8) pat:remove_frame(565,2,7) pat:remove_frame(565,2,6) pat:remove_frame(565,2,5) pat:remove_frame(565,2,4) local baseX = 76 local baseY = 195 local baseDur = 6 pat:split_frame(565,0,1,3,3) --pat:update_frame(565,0,0, { tex_index = 30 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 4-2}) pat:update_frame(565,0,0, { tex_index = 31 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -16 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 2}) pat:update_frame(565,0,1, { tex_index = 32 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -2 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 2 }) pat:update_frame(565,0,2, { tex_index = 33 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +2 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 2}) pat:update_frame(565,1,0, { tex_index = 34 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(400,2,0).hurtbox }) pat:update_frame(565,2,0, { tex_index = 34 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(400,2,0).hurtbox , duration = 10}) pat:update_frame(565,2,1, { tex_index = 32 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -2 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 4}) pat:update_frame(565,2,2, { tex_index = 31 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -16 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 4}) pat:update_frame(565,2,3, { tex_index = 35 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 4}) --[[ --pat:split_frame(566,0,1,3,3) --pat:split_frame(566,0,1,3,3) pat:update_frame(566,0,0, { tex_index = 30 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 4-1}) pat:update_frame(566,0,1, { tex_index = 31 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -16 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(0,0,0).hurtbox}) pat:update_frame(566,0,2, { tex_index = 32 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -2 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(566,0,3, { tex_index = 33 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +2 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(0,0,0).hurtbox}) pat:update_frame(566,1,0, { tex_index = 34 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(400,2,0).hurtbox }) pat:update_frame(566,2,0, { tex_index = 32 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -2 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 4}) pat:update_frame(566,2,1, { tex_index = 31 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -16 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 4}) pat:update_frame(566,2,2, { tex_index = 35 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 4})]]-- for idx3 = 1 , 3 do pat:update_frame(565,2,idx3,function(frame) set_fflag(frame,FF_CANCEL) if (idx3>1) then set_fflag(frame,FF_MOTION_CANCEL) end end) end pat:update_frame(826,8,0,function(frame) frame.tex_index = 200 frame.tex_w = 0 frame.tex_h = 64 frame.tex_offset_x = 32 frame.tex_offset_y = 32 frame.scale_x = 100 frame.scale_y = 100 frame.color_r = 255 frame.color_g = 255 frame.duration = 1 frame.angle_z = 0 end) pat:update_frame(826,9,0,function(frame) frame.tex_index = 200 frame.tex_w = 64 frame.tex_h = 64 frame.tex_offset_x = 32 frame.tex_offset_y = 128 frame.scale_x = 200 frame.scale_y = 200 frame.color_r = 255 frame.color_g = 255 frame.duration = 1 frame.angle_z = 0 end) end function mods.nj6a_fixes(pat) pat:update_frame(307,0,4,function(frame) frame.tex_offset_x = frame.tex_offset_x + 10 frame.tex_offset_y = frame.tex_offset_y + 10 for idx = 1 , 2 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(307,0,5,function(frame) frame.tex_offset_x = frame.tex_offset_x + 20 frame.tex_offset_y = frame.tex_offset_y + 10 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 end) pat:update_frame(307,0,6,function(frame) frame.tex_offset_x = frame.tex_offset_x + 30 frame.tex_offset_y = frame.tex_offset_y + 10 for idx = 1 , 3 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 for idx = 1 , 3 do frame.attackbox[idx].x1 = frame.attackbox[idx].x1 - 30 frame.attackbox[idx].x2 = frame.attackbox[idx].x2 - 30 frame.attackbox[idx].y1 = frame.attackbox[idx].y1 - 10 frame.attackbox[idx].y2 = frame.attackbox[idx].y2 - 10 end frame.attackbox[1] = frame.attackbox[2] frame.attackbox[2] = frame.attackbox[3] frame.attackbox[3] = null end) pat:update_frame(307,0,7,function(frame) frame.tex_offset_x = pat:get_frame(307,0,6).tex_offset_x frame.tex_offset_y = pat:get_frame(307,0,6).tex_offset_y frame.hurtbox = pat:get_frame(307,0,6).hurtbox end) end return function(pat) mods.fix_frames(pat) mods.normals(pat) mods.dashatk(pat) mods.j8a(pat) mods.systems(pat) mods.nj6a_fixes(pat) mods.zofis_5b(pat) mods.zofis_2b(pat) mods.zofis_6b(pat) mods.zofis_2c(pat) mods.zofis_214(pat) mods.fivesee(pat) mods.sixsee(pat) mods.d22(pat) mods.d236(pat) mods.d623(pat) mods.icecharge(pat) mods.footdive(pat) mods.footdivesuper(pat) mods.swords(pat) mods.swordssuper(pat) mods.icebomb(pat) --mods.laser236(pat) mods.laser236_v2(pat) mods.sprinkler(pat) mods.spin2sc(pat) mods.tokamak(pat) mods.fullscreen(pat) mods.pfreeze(pat) mods.fivesc(pat) mods.spinreversal(pat) mods.trapcard(pat) --mods.super5c(pat) mods.s2sc_gun(pat) mods.icegrab(pat) mods.artillery(pat) mods.f5a_bugfix(pat) mods.unfloat(pat) end