require("config.util") local mods = {} -- sound ID -- 9 = meteor call -- 10 = fujiyama volcano function mods.fix_frames(pat) -- double size --36 = 70 --92 = 195 local baseX = 70 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 }) pat:update_frame(0,0,1, { duration = baseDur , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +4 , tex_offset_y = baseY +2 }) pat:update_frame(0,0,2, { duration = baseDur , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY +2 }) pat:update_frame(0,0,3, { duration = baseDur , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +26 , tex_offset_y = baseY +6 }) pat:update_frame(0,0,4, { duration = baseDur , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +34 , tex_offset_y = baseY +6 }) pat:update_frame(0,0,5, { duration = baseDur , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +28 , tex_offset_y = baseY +6 }) pat:update_frame(0,0,6, { duration = baseDur , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +14 , tex_offset_y = baseY +2 }) pat:update_frame(0,0,7, { duration = baseDur , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +0 , tex_offset_y = baseY +0 }) --sit pat:remove_frame(3,0,4) pat:remove_frame(3,0,0) pat:update_frame(1,0,0, { tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +40 , tex_offset_y = baseY -8 }) pat:update_frame(1,0,1, { tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +44 , tex_offset_y = baseY -18 }) pat:update_frame(1,0,2, { tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +52 , tex_offset_y = baseY -48 }) pat:update_frame(1,0,3, { tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +54 , tex_offset_y = baseY -54 }) pat:update_frame(2,0,0, { tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +18 , tex_offset_y = baseY -56 }) pat:update_frame(3,0,0, { tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +18 , tex_offset_y = baseY -56 }) pat:update_frame(3,0,1, { tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +8 , tex_offset_y = baseY -22 , hurtbox = pat:get_frame(0,0,0).hurtbox}) pat:update_frame(3,0,1,function(frame) frame.hurtbox[1].y1 = frame.hurtbox[1].y1+20 end) pat:update_frame(3,0,2, { tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -10 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(2,0,0,function(frame) copy_sprite(frame,pat:get_frame(3,0,0)) end) -- walkFront pat:update_frame(4,0,0, { tex_index = 541 , duration = baseDur , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY +4 }) pat:update_frame(4,0,1, { tex_index = 542 , duration = baseDur , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +2 , tex_offset_y = baseY +4 }) pat:update_frame(4,0,2, { tex_index = 543 , duration = baseDur , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +20 , tex_offset_y = baseY +4 }) pat:update_frame(4,0,3, { tex_index = 544 , duration = baseDur , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +24 , tex_offset_y = baseY +2 }) pat:update_frame(4,0,4, { tex_index = 545 , duration = baseDur , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +30 , tex_offset_y = baseY +2 }) pat:update_frame(4,0,5, { tex_index = 546 , duration = baseDur , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +38 , tex_offset_y = baseY +2 }) pat:update_frame(4,0,6, { tex_index = 547 , duration = baseDur , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +22 , tex_offset_y = baseY +4 }) pat:update_frame(4,0,7, { tex_index = 548 , duration = baseDur , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +8 , tex_offset_y = baseY +2 }) -- walkBack pat:update_frame(5,0,0, { tex_index = 533 , duration = baseDur , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -18 , tex_offset_y = baseY +2 }) pat:update_frame(5,0,1, { tex_index = 534 , duration = baseDur , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -18 , tex_offset_y = baseY +2 }) pat:update_frame(5,0,2, { tex_index = 535 , duration = baseDur , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -20 , tex_offset_y = baseY +0 }) pat:update_frame(5,0,3, { tex_index = 536 , duration = baseDur , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -20 , tex_offset_y = baseY +0 }) pat:update_frame(5,0,4, { tex_index = 537 , duration = baseDur , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -18 , tex_offset_y = baseY -2 }) pat:update_frame(5,0,5, { tex_index = 538 , duration = baseDur , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -16 , tex_offset_y = baseY +0 }) pat:update_frame(5,0,6, { tex_index = 539 , duration = baseDur , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -14 , tex_offset_y = baseY +0 }) pat:update_frame(5,0,7, { tex_index = 540 , duration = baseDur , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -16 , tex_offset_y = baseY +2 }) --jump pat:update_frame(6,0,0, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -30 }) pat:update_frame(6,0,0,function (frame) frame.hurtbox[1].y1 = frame.hurtbox[1].y1 + 20 end) pat:update_frame(6,0,1, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -30 , hurtbox = pat:get_frame(6,0,0).hurtbox }) pat:update_frame(6,0,2, { tex_index = 298 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -48 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(6,1,0, { tex_index = 295 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -16 , tex_offset_y = baseY +2 }) pat:update_frame(6,1,0,function (frame) frame.hurtbox[1].y1 = frame.hurtbox[1].y1 +15 end) pat:update_frame(6,1,1, { tex_index = 295 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -16 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(6,2,0, { tex_index = 295 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -16 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(6,2,1, { tex_index = 296 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -16 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(6,2,2, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +6 , tex_offset_y = baseY +2 }) pat:update_frame(6,2,2,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 - 40 frame.hurtbox[2].y1 = frame.hurtbox[2].y1 - 0 frame.hurtbox[2].y2 = frame.hurtbox[2].y2 + 40 end) pat:update_frame(6,2,3, { tex_index = 298 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +20 , tex_offset_y = baseY +0 , hurtbox = pat:get_frame(6,2,2).hurtbox }) pat:update_frame(6,2,4, { tex_index = 300 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +40 , tex_offset_y = baseY +4 }) pat:update_frame(6,2,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 - 20 end) pat:update_frame(6,2,5, { tex_index = 301 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +46 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(6,2,4).hurtbox }) pat:remove_frame(6,2,7) pat:remove_frame(6,2,6) pat:update_frame(6,3,0, { tex_index = 300 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +40 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(6,2,4).hurtbox }) pat:update_frame(6,3,1, { tex_index = 301 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +46 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(6,2,4).hurtbox }) --jumpFront pat:update_frame(7,0,0, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -30 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(7,0,1, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -30 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(7,0,2, { tex_index = 298 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -48 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(7,1,0, { tex_index = 309 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -44 }) pat:update_frame(7,1,0,function (frame) frame.hurtbox[3].x1 = frame.hurtbox[3].x1 - 10 frame.hurtbox[3].y1 = frame.hurtbox[3].y1 + 10 frame.hurtbox[3].y2 = frame.hurtbox[3].y2 + 20 frame.hurtbox[2].y1 = frame.hurtbox[2].y1 + 10 frame.hurtbox[2].y2 = frame.hurtbox[2].y2 + 30 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 + 30 frame.hurtbox[1].y2 = frame.hurtbox[1].y2 + 30 end) pat:update_frame(7,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].y1 = frame.hurtbox[2].y1 +20 frame.hurtbox[2].y2 = frame.hurtbox[2].y2 +20 frame.hurtbox[3].y1 = frame.hurtbox[3].y1 +20 frame.hurtbox[3].y2 = frame.hurtbox[3].y2 +20 end) pat:update_frame(7,1,1, { tex_index = 310 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -20 , hurtbox = pat:get_frame(7,1,0).hurtbox }) pat:update_frame(7,2,0, { tex_index = 309 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -44 , hurtbox = pat:get_frame(7,1,0).hurtbox }) pat:update_frame(7,2,1, { tex_index = 310 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -20 , hurtbox = pat:get_frame(7,1,0).hurtbox}) pat:update_frame(7,2,2, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +6 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(6,2,2).hurtbox }) pat:update_frame(7,2,3, { tex_index = 298 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +20 , tex_offset_y = baseY +0 , hurtbox = pat:get_frame(6,2,2).hurtbox }) pat:update_frame(7,2,4, { tex_index = 311 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY +6 }) pat:update_frame(7,2,4,function (frame) frame.hurtbox[1].x1 = frame.hurtbox[1].x1 + 15 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 + 15 frame.hurtbox[2].x1 = frame.hurtbox[2].x1 + 10 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 + 10 frame.hurtbox[3].x1 = frame.hurtbox[3].x1 + 10 frame.hurtbox[3].x2 = frame.hurtbox[3].x2 + 10 frame.hurtbox[3].y1 = frame.hurtbox[3].y1 + 10 frame.hurtbox[3].y2 = frame.hurtbox[3].y2 + 20 end) pat:update_frame(7,2,5, { tex_index = 312 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +40 , tex_offset_y = baseY +6 , hurtbox = pat:get_frame(7,2,4).hurtbox }) pat:update_frame(7,2,6, { tex_index = 313 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +56 , tex_offset_y = baseY +6 , hurtbox = pat:get_frame(7,2,4).hurtbox }) pat:update_frame(7,3,0, { tex_index = 313 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +56 , tex_offset_y = baseY +6 , hurtbox = pat:get_frame(7,2,4).hurtbox }) pat:update_frame(7,3,1, { tex_index = 313 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +56 , tex_offset_y = baseY +6 , hurtbox = pat:get_frame(7,2,4).hurtbox }) --jumpBack pat:update_frame(8,0,0, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -30 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(8,0,1, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -30 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(8,0,2, { tex_index = 298 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -48 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(8,1,0, { tex_index = 303 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -18 , tex_offset_y = baseY -4 }) pat:update_frame(8,1,0,function (frame) frame.hurtbox[1].y1 = frame.hurtbox[1].y1 +15 end) pat:update_frame(8,1,1, { tex_index = 304 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -18 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(8,1,0).hurtbox }) pat:update_frame(8,2,0, { tex_index = 305 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -22 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(8,1,0).hurtbox }) pat:update_frame(8,2,1, { tex_index = 304 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -22 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(8,1,0).hurtbox }) pat:update_frame(8,2,2, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +6 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(6,2,2).hurtbox }) pat:update_frame(8,2,3, { tex_index = 298 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +20 , tex_offset_y = baseY +0 , hurtbox = pat:get_frame(6,2,2).hurtbox }) pat:update_frame(8,2,4, { tex_index = 300 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +40 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(6,2,4).hurtbox }) pat:update_frame(8,2,5, { tex_index = 301 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +46 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(6,2,4).hurtbox }) pat:remove_frame(8,2,7) pat:remove_frame(8,2,6) pat:update_frame(8,3,0, { tex_index = 300 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +40 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(6,2,4).hurtbox }) pat:update_frame(8,3,1, { tex_index = 301 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +46 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(6,2,4).hurtbox }) --air pat:update_frame(9,0,0, { tex_index = 300 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +40 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(6,2,4).hurtbox }) pat:update_frame(9,0,1, { tex_index = 301 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +46 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(6,2,4).hurtbox }) --landing pat:update_frame(10,0,0, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -30 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(10,0,1, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -30 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(10,0,2, { tex_index = 298 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -48 , hurtbox = pat:get_frame(6,0,1).hurtbox }) --hitUpper light pat:update_frame(50,0,0, { tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -12 , tex_offset_y = baseY -2 }) pat:update_frame(50,0,1, { tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -0 }) pat:update_frame(50,0,2, { tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +0 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(50,0,1).hurtbox }) --medium pat:update_frame(51,0,0, { tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -12 , tex_offset_y = baseY -2 }) pat:update_frame(51,0,1, { tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -0 }) pat:update_frame(51,0,2, { tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +0 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(50,0,1).hurtbox }) --heavy pat:update_frame(52,0,0, { tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -12 , tex_offset_y = baseY -2 }) pat:update_frame(52,0,1, { tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -0 }) pat:update_frame(52,0,2, { tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +0 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(50,0,1).hurtbox }) --hitUnder light pat:update_frame(56,0,0, { tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +30 , tex_offset_y = baseY -32 }) pat:update_frame(56,0,0,function (frame) frame.hurtbox[1].x1 = frame.hurtbox[1].x1 + 30 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 + 30 frame.hurtbox[1].y1 = frame.hurtbox[1].y1 + 10 frame.hurtbox[1].y2 = frame.hurtbox[1].y2 + 10 frame.hurtbox[2].x1 = frame.hurtbox[2].x1 + 30 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 + 30 frame.hurtbox[3].x2 = frame.hurtbox[3].x2 + 20 end) pat:update_frame(56,0,1, { tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +32 , tex_offset_y = baseY -16 , hurtbox = pat:get_frame(56,0,0).hurtbox }) pat:update_frame(56,0,2, { tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +0 , tex_offset_y = baseY +6 , hurtbox = pat:get_frame(6,0,0).hurtbox }) --medium pat:update_frame(57,0,0, { tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +30 , tex_offset_y = baseY -32 , hurtbox = pat:get_frame(56,0,0).hurtbox }) pat:update_frame(57,0,1, { tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +32 , tex_offset_y = baseY -16 , hurtbox = pat:get_frame(56,0,0).hurtbox }) pat:update_frame(57,0,2, { tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +0 , tex_offset_y = baseY +6 , hurtbox = pat:get_frame(6,0,0).hurtbox }) --heavy pat:update_frame(58,0,0, { tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +30 , tex_offset_y = baseY -32 , hurtbox = pat:get_frame(56,0,0).hurtbox }) pat:update_frame(58,0,1, { tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +32 , tex_offset_y = baseY -16 , hurtbox = pat:get_frame(56,0,0).hurtbox }) pat:update_frame(58,0,2, { tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +0 , tex_offset_y = baseY +6 , hurtbox = pat:get_frame(6,0,0).hurtbox }) --hitSit light pat:update_frame(62,0,0, { tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY -86 }) pat:update_frame(62,0,0,function (frame) frame.hurtbox[1].y1 = frame.hurtbox[1].y1 + 10 end) pat:update_frame(62,0,1, { tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY -86 , hurtbox = pat:get_frame(62,0,0).hurtbox }) pat:update_frame(62,0,2, { tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY -86 , hurtbox = pat:get_frame(62,0,0).hurtbox }) --medium pat:update_frame(63,0,0, { tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY -86 , hurtbox = pat:get_frame(62,0,0).hurtbox }) pat:update_frame(63,0,1, { tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY -86 , hurtbox = pat:get_frame(62,0,0).hurtbox }) pat:update_frame(63,0,2, { tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY -86 , hurtbox = pat:get_frame(62,0,0).hurtbox }) --heavy pat:update_frame(64,0,0, { tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY -86 , hurtbox = pat:get_frame(62,0,0).hurtbox }) pat:update_frame(64,0,1, { tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY -86 , hurtbox = pat:get_frame(62,0,0).hurtbox }) pat:update_frame(64,0,2, { tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY -86 , hurtbox = pat:get_frame(62,0,0).hurtbox }) --hitSpin pat:update_frame(53,0,0, { tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +60 , tex_offset_y = baseY -48 }) pat:update_frame(53,1,0, { tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +64 , tex_offset_y = baseY -50 }) pat:update_frame(53,1,1, { tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +14 , tex_offset_y = baseY -44 }) pat:update_frame(53,1,2, { tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +0 , tex_offset_y = baseY -52 }) pat:update_frame(53,1,3, { tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +0 , tex_offset_y = baseY -30 }) pat:update_frame(53,1,4, { tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -34 , tex_offset_y = baseY -44 }) pat:update_frame(53,1,5, { tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -48 }) pat:update_frame(53,2,0, { tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +64 , tex_offset_y = baseY -50 }) pat:update_frame(53,2,1, { tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +14 , tex_offset_y = baseY -44 }) pat:update_frame(53,2,2, { tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +0 , tex_offset_y = baseY -52 }) pat:update_frame(53,2,3, { tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +0 , tex_offset_y = baseY -30 }) pat:update_frame(53,2,4, { tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -34 , tex_offset_y = baseY -44 }) pat:update_frame(53,2,5, { tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -48 }) pat:update_frame(53,3,0, { tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -12 , tex_offset_y = baseY -2 }) pat:update_frame(53,3,1, { tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -0 }) pat:update_frame(53,3,2, { tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +0 , tex_offset_y = baseY -4 }) --mini hit air pat:update_frame(70,0,0, { tex_index = 288 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +30 , tex_offset_y = baseY -32 , hurtbox = pat:get_frame(56,0,0).hurtbox }) pat:update_frame(70,0,1, { tex_index = 289 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +32 , tex_offset_y = baseY -16 , hurtbox = pat:get_frame(56,0,0).hurtbox }) pat:update_frame(70,0,2, { tex_index = 290 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +0 , tex_offset_y = baseY +6 , hurtbox = pat:get_frame(6,0,0).hurtbox }) pat:update_frame(70,0,3, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +6 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(6,2,2).hurtbox }) pat:update_frame(70,0,4, { tex_index = 298 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +20 , tex_offset_y = baseY +0 , hurtbox = pat:get_frame(6,2,2).hurtbox }) pat:update_frame(70,1,0, { tex_index = 300 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +40 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(6,2,4).hurtbox }) pat:update_frame(70,1,1, { tex_index = 301 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +46 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(6,2,4).hurtbox }) --hit air pat:update_frame(71,0,0, { tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -14 , tex_offset_y = baseY -6 }) pat:update_frame(71,1,0, { tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY -36 }) pat:update_frame(71,1,1, { tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY -36 }) pat:update_frame(71,2,0, { tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +16 , tex_offset_y = baseY -56 }) pat:update_frame(71,2,1, { tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +8 , tex_offset_y = baseY -52 }) pat:update_frame(71,2,2, { tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +4 , tex_offset_y = baseY -42 }) pat:update_frame(71,3,0, { tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -16 }) --[[pat:update_frame(71,3,0,function (frame) frame.hurtbox[3].x1 = frame.hurtbox[3].x1 + 20 frame.hurtbox[3].x2 = frame.hurtbox[3].x2 + 20 frame.hurtbox[1].x1 = frame.hurtbox[1].x1 - 20 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 - 20 end)]]-- pat:update_frame(71,3,1, { tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -16 , hurtbox = pat:get_frame(71,3,0).hurtbox }) pat:update_frame(73,0,0, { tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -14 , tex_offset_y = baseY -6 }) pat:update_frame(73,1,0, { tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +8 , tex_offset_y = baseY -52 }) pat:update_frame(73,2,0, { tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +4 , tex_offset_y = baseY -42 }) pat:update_frame(73,3,0, { tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -16 , hurtbox = pat:get_frame(71,3,0).hurtbox }) pat:update_frame(73,3,1, { tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -16 , hurtbox = pat:get_frame(71,3,0).hurtbox }) pat:update_frame(76,0,0, { tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -14 , tex_offset_y = baseY -6 }) pat:update_frame(76,1,0, { tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY -36 }) pat:update_frame(76,1,1, { tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +16 , tex_offset_y = baseY -56 }) pat:update_frame(76,1,2, { tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +8 , tex_offset_y = baseY -52 }) pat:update_frame(76,2,0, { tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +8 , tex_offset_y = baseY -52 }) pat:update_frame(77,0,0, { tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -14 , tex_offset_y = baseY -6 }) pat:update_frame(77,0,1, { tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY -36 }) pat:update_frame(77,0,2, { tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +16 , tex_offset_y = baseY -56 }) pat:update_frame(77,1,0, { tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +8 , tex_offset_y = baseY -52 }) pat:update_frame(78,0,0, { tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -14 , tex_offset_y = baseY -6 }) pat:update_frame(78,1,0, { tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY -36 }) pat:update_frame(78,1,1, { tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY -36 }) pat:update_frame(78,2,0, { tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +16 , tex_offset_y = baseY -56 }) pat:update_frame(78,2,1, { tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +8 , tex_offset_y = baseY -52 }) pat:update_frame(78,2,2, { tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +4 , tex_offset_y = baseY -42 }) pat:update_frame(78,3,0, { tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -16 , hurtbox = pat:get_frame(71,3,0).hurtbox }) pat:update_frame(78,3,1, { tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -16 , hurtbox = pat:get_frame(71,3,0).hurtbox }) pat:update_frame(83,0,0, { tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +60 , tex_offset_y = baseY -48 }) pat:update_frame(83,0,1, { tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +64 , tex_offset_y = baseY -50 }) pat:update_frame(83,1,0, { tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +16 , tex_offset_y = baseY -56 }) pat:update_frame(83,1,1, { tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +8 , tex_offset_y = baseY -52 }) pat:update_frame(83,1,2, { tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +4 , tex_offset_y = baseY -42 }) pat:update_frame(83,2,0, { tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -16 , hurtbox = pat:get_frame(71,3,0).hurtbox }) pat:update_frame(83,2,1, { tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -16 , hurtbox = pat:get_frame(71,3,0).hurtbox }) pat:update_frame(84,0,0, { tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +30 , tex_offset_y = baseY -32 , hurtbox = pat:get_frame(56,0,0).hurtbox }) pat:update_frame(84,1,0, { tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +32 , tex_offset_y = baseY -16 }) pat:update_frame(84,1,1, { tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +0 , tex_offset_y = baseY +6 }) pat:update_frame(84,1,2, { tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +30 , tex_offset_y = baseY -32 }) pat:update_frame(85,0,0, { tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +30 , tex_offset_y = baseY -32 , hurtbox = pat:get_frame(56,0,0).hurtbox }) pat:update_frame(85,1,0, { tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +32 , tex_offset_y = baseY -16 , hurtbox = pat:get_frame(56,0,0).hurtbox }) pat:update_frame(85,1,1, { tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +0 , tex_offset_y = baseY +6 , hurtbox = pat:get_frame(56,0,0).hurtbox }) pat:update_frame(85,1,2, { tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +30 , tex_offset_y = baseY -32 , hurtbox = pat:get_frame(6,0,0).hurtbox }) pat:update_frame(86,0,0, { tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY -36 }) pat:update_frame(87,0,0, { tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY -36 }) --down pat:update_frame(89,0,0, { tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -22 , tex_offset_y = baseY -62 }) pat:update_frame(89,0,1, { tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -90 }) pat:update_frame(89,0,2, { tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +2 , tex_offset_y = baseY -106 }) pat:update_frame(89,1,0, { tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +2 , tex_offset_y = baseY -128 }) pat:update_frame(89,1,1, { tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -14 , tex_offset_y = baseY -6 }) pat:update_frame(89,1,2, { tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY -36 }) pat:update_frame(89,1,3, { tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +16 , tex_offset_y = baseY -56 }) pat:update_frame(89,2,0, { tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +8 , tex_offset_y = baseY -52 }) --down 2 pat:update_frame(96,0,0, { tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -22 +30, tex_offset_y = baseY -62 +50}) pat:update_frame(96,0,1, { tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -90 }) pat:update_frame(96,1,0, { tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +2 +30, tex_offset_y = baseY -106 +50}) pat:update_frame(96,2,0, { tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +2 , tex_offset_y = baseY -128 }) pat:update_frame(96,3,0, { tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +2 , tex_offset_y = baseY -76 }) pat:update_frame(96,3,1, { tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +2 , tex_offset_y = baseY -106 }) pat:update_frame(96,3,2, { tex_index = 254, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +2 , tex_offset_y = baseY -128 }) pat:update_frame(97,0,0, { tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -22 , tex_offset_y = baseY -62 }) pat:update_frame(97,0,1, { tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -90 }) pat:update_frame(97,1,0, { tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +2 , tex_offset_y = baseY -106 }) pat:update_frame(97,1,1, { tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +2 , tex_offset_y = baseY -128 }) pat:update_frame(97,1,2, { tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +2 , tex_offset_y = baseY -76 }) pat:update_frame(97,2,0, { tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +2 , tex_offset_y = baseY -106 }) pat:update_frame(97,3,0, { tex_index = 254, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +2 , tex_offset_y = baseY -128 }) pat:update_frame(97,3,1, { tex_index = 254, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +2 , tex_offset_y = baseY -128 }) pat:update_frame(97,3,2, { tex_index = 254, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +2 , tex_offset_y = baseY -128 }) pat:update_frame(98,0,0, { tex_index = 254, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +2 , tex_offset_y = baseY -128 }) pat:update_frame(99,0,0, { tex_index = 254, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +2 , tex_offset_y = baseY -128 }) pat:update_frame(99,1,0, { tex_index = 254, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +2 , tex_offset_y = baseY -128 }) pat:update_frame(99,2,0, { tex_index = 254, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +2 , tex_offset_y = baseY -128 }) pat:update_frame(99,3,0, { tex_index = 254, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +2 , tex_offset_y = baseY -128 }) --100 pat:update_frame(100,0,0, { tex_index = 292 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -0 }) pat:update_frame(101,0,0, { tex_index = 292 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 -6 , tex_offset_y = baseY -0 -70 }) pat:update_frame(102,0,0, { tex_index = 289 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +32 , tex_offset_y = baseY -16 }) pat:update_frame(103,0,0, { tex_index = 289 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +32 -3 , tex_offset_y = baseY -16 -70 }) pat:update_frame(104,0,0, { tex_index = 280 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY -86}) pat:update_frame(105,0,0, { tex_index = 280 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 -5 , tex_offset_y = baseY -86 -50}) pat:update_frame(106,0,0, { tex_index = 272 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +2 , tex_offset_y = baseY -128 }) pat:update_frame(107,0,0, { tex_index = 272 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +2 -16, tex_offset_y = baseY -128 -76}) pat:update_frame(108,0,0, { tex_index = 274 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +8 , tex_offset_y = baseY -52 }) pat:update_frame(109,0,0, { tex_index = 274 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +8 -17, tex_offset_y = baseY -52 -44}) pat:update_frame(110,0,0, { tex_index = 276 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -16 }) pat:update_frame(111,0,0, { tex_index = 276 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 +4, tex_offset_y = baseY -16 -29}) -- real down check here pat:update_frame(112,0,0, { tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -22 , tex_offset_y = baseY -62 }) pat:update_frame(112,0,1, { tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -90 }) pat:update_frame(112,1,0, { tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +2 , tex_offset_y = baseY -106 }) pat:update_frame(112,1,1, { tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +2 , tex_offset_y = baseY -128 }) pat:update_frame(112,1,2, { tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +2 , tex_offset_y = baseY -76 }) pat:update_frame(112,2,0, { tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +2 , tex_offset_y = baseY -106 }) pat:update_frame(112,3,0, { tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +2 , tex_offset_y = baseY -128 }) pat:update_frame(112,3,1, { tex_index = 254, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +2 , tex_offset_y = baseY -128 }) pat:update_frame(112,3,2, { tex_index = 254, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +2 , tex_offset_y = baseY -128 }) pat:update_frame(112,4,0, { tex_index = 254, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +2 , tex_offset_y = baseY -128 }) pat:update_frame(113,0,0, { tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +2 , tex_offset_y = baseY -106 }) pat:update_frame(113,1,0, { tex_index = 254, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +2 , tex_offset_y = baseY -128 }) pat:update_frame(113,1,1, { tex_index = 254, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +2 , tex_offset_y = baseY -128 }) pat:update_frame(113,1,2, { tex_index = 254, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +2 , tex_offset_y = baseY -128 }) pat:update_frame(113,2,0, { tex_index = 254, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +2 , tex_offset_y = baseY -128 }) pat:update_frame(114,0,0, { tex_index = 254, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +2 , tex_offset_y = baseY -128 }) --gc? pat:update_frame(140,0,0, { tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +60 , tex_offset_y = baseY -48 }) pat:update_frame(140,0,1, { tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +64 , tex_offset_y = baseY -50 }) pat:update_frame(140,0,2, { tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +64 , tex_offset_y = baseY -50 }) pat:update_frame(140,0,3, { tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +64 , tex_offset_y = baseY -50 }) pat:update_frame(140,0,4, { tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +64 , tex_offset_y = baseY -50 }) pat:update_frame(140,0,5, { tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +64 , tex_offset_y = baseY -50 }) pat:update_frame(140,0,6, { tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +64 , tex_offset_y = baseY -50 }) pat:update_frame(140,0,7, { tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +0 , tex_offset_y = baseY +6 }) --142 whattest -- 143 what pat:update_frame(143,0,0, { tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +60 , tex_offset_y = baseY -48 }) pat:update_frame(143,1,0, { tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +64 , tex_offset_y = baseY -50 }) pat:update_frame(143,2,0, { tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +60 , tex_offset_y = baseY -48 }) pat:update_frame(143,2,1, { tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +0 , tex_offset_y = baseY +6 }) pat:update_frame(145,0,0, { tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -14 , tex_offset_y = baseY -6 }) pat:update_frame(145,1,0, { tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY -36 }) pat:update_frame(145,1,1, { tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY -36 }) pat:update_frame(145,2,0, { tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +16 , tex_offset_y = baseY -56 }) pat:update_frame(145,2,1, { tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +8 , tex_offset_y = baseY -52 }) pat:update_frame(145,2,2, { tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +4 , tex_offset_y = baseY -42 }) pat:update_frame(145,3,0, { tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -16 , hurtbox = pat:get_frame(71,3,0).hurtbox }) pat:update_frame(145,3,1, { tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -16 , hurtbox = pat:get_frame(71,3,0).hurtbox }) --block pat:update_frame(150,0,0, { tex_index = 267 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -2 , tex_offset_y = baseY -4 }) pat:update_frame(150,0,1, { tex_index = 267 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -2 , tex_offset_y = baseY -4 }) pat:update_frame(150,0,2, { tex_index = 267 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -2 , tex_offset_y = baseY -4 }) pat:update_frame(151,0,0, { tex_index = 267 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -2 , tex_offset_y = baseY -4 }) pat:update_frame(151,0,1, { tex_index = 267 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -2 , tex_offset_y = baseY -4 }) pat:update_frame(151,0,2, { tex_index = 267 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -2 , tex_offset_y = baseY -4 }) pat:update_frame(152,0,0, { tex_index = 267 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -2 , tex_offset_y = baseY -4 }) pat:update_frame(152,0,1, { tex_index = 267 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -2 , tex_offset_y = baseY -4 }) pat:update_frame(152,0,2, { tex_index = 267 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -2 , tex_offset_y = baseY -4 }) pat:update_frame(153,0,0, { tex_index = 267 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -2 , tex_offset_y = baseY -4 }) pat:update_frame(153,0,1, { tex_index = 267 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -2 , tex_offset_y = baseY -4 }) pat:update_frame(153,0,2, { tex_index = 267 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -2 , tex_offset_y = baseY -4 }) pat:update_frame(154,0,0, { tex_index = 264 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -50 }) pat:update_frame(154,0,1, { tex_index = 264 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -50 }) pat:update_frame(154,0,2, { tex_index = 264 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -50 }) pat:update_frame(155,0,0, { tex_index = 264 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -50 }) pat:update_frame(155,0,1, { tex_index = 264 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -50 }) pat:update_frame(155,0,2, { tex_index = 264 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -50 }) pat:update_frame(156,0,0, { tex_index = 264 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -50 }) pat:update_frame(156,0,1, { tex_index = 264 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -50 }) pat:update_frame(156,0,2, { tex_index = 264 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -50 }) pat:update_frame(157,0,0, { tex_index = 264 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -50 }) pat:update_frame(157,0,1, { tex_index = 264 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -50 }) pat:update_frame(157,0,2, { tex_index = 264 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -50 }) --airblock pat:update_frame(158,0,0, { tex_index = 264 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 -10 , tex_offset_y = baseY -50 +35 }) pat:update_frame(158,0,1, { tex_index = 264 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 -10 , tex_offset_y = baseY -50 +35 }) pat:update_frame(158,0,2, { tex_index = 298 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +20 , tex_offset_y = baseY +0 , hurtbox = pat:get_frame(6,2,2).hurtbox }) --wrongblock pat:update_frame(159,0,0, { tex_index = 260 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +2 , tex_offset_y = baseY -8 }) pat:update_frame(159,0,1, { tex_index = 260 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +2 , tex_offset_y = baseY -8 }) pat:update_frame(159,0,2, { tex_index = 260 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +2 , tex_offset_y = baseY -8 }) pat:update_frame(160,0,0, { tex_index = 260 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +2 , tex_offset_y = baseY -8 }) pat:update_frame(160,0,1, { tex_index = 260 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +2 , tex_offset_y = baseY -8 }) pat:update_frame(160,0,2, { tex_index = 260 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +2 , tex_offset_y = baseY -8 }) pat:update_frame(161,0,0, { tex_index = 260 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +2 , tex_offset_y = baseY -8 }) pat:update_frame(161,0,1, { tex_index = 260 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +2 , tex_offset_y = baseY -8 }) pat:update_frame(161,0,2, { tex_index = 260 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +2 , tex_offset_y = baseY -8 }) pat:update_frame(162,0,0, { tex_index = 260 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +2 , tex_offset_y = baseY -8 }) pat:update_frame(162,0,1, { tex_index = 260 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +2 , tex_offset_y = baseY -8 }) pat:update_frame(162,0,2, { tex_index = 260 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +2 , tex_offset_y = baseY -8 }) pat:update_frame(163,0,0, { tex_index = 257 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +28 , tex_offset_y = baseY -60 }) pat:update_frame(163,0,1, { tex_index = 257 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +28 , tex_offset_y = baseY -60 }) pat:update_frame(163,0,2, { tex_index = 257 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +28 , tex_offset_y = baseY -60 }) pat:update_frame(164,0,0, { tex_index = 257 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +28 , tex_offset_y = baseY -60 }) pat:update_frame(164,0,1, { tex_index = 257 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +28 , tex_offset_y = baseY -60 }) pat:update_frame(164,0,2, { tex_index = 257 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +28 , tex_offset_y = baseY -60 }) pat:update_frame(165,0,0, { tex_index = 257 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +28 , tex_offset_y = baseY -60 }) pat:update_frame(165,0,1, { tex_index = 257 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +28 , tex_offset_y = baseY -60 }) pat:update_frame(165,0,2, { tex_index = 257 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +28 , tex_offset_y = baseY -60 }) pat:update_frame(166,0,0, { tex_index = 257 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +28 , tex_offset_y = baseY -60 }) pat:update_frame(166,0,1, { tex_index = 257 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +28 , tex_offset_y = baseY -60 }) pat:update_frame(166,0,2, { tex_index = 257 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +28 , tex_offset_y = baseY -60 }) pat:update_frame(167,0,0, { tex_index = 264 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 -10 , tex_offset_y = baseY -50 +15 }) pat:update_frame(167,0,1, { tex_index = 264 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 -10 , tex_offset_y = baseY -50 +15 }) --airtechs pat:update_frame(180,0,0, { tex_index = 309 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -44 , hurtbox = pat:get_frame(7,1,0).hurtbox }) pat:update_frame(180,0,1, { tex_index = 310 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -20 , hurtbox = pat:get_frame(7,1,0).hurtbox }) pat:update_frame(180,0,2, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -24 , hurtbox = pat:get_frame(6,2,2).hurtbox }) pat:update_frame(180,0,3, { tex_index = 298 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -18 , hurtbox = pat:get_frame(6,2,2).hurtbox }) pat:update_frame(180,0,4, { tex_index = 311 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY +6 , hurtbox = pat:get_frame(7,2,4).hurtbox }) pat:update_frame(180,0,5, { tex_index = 312 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +40 , tex_offset_y = baseY +6 , hurtbox = pat:get_frame(7,2,4).hurtbox }) pat:update_frame(180,0,6, { tex_index = 313 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +56 , tex_offset_y = baseY +6 , hurtbox = pat:get_frame(7,2,4).hurtbox }) pat:update_frame(180,0,7, { tex_index = 313 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +56 , tex_offset_y = baseY +6 , hurtbox = pat:get_frame(7,2,4).hurtbox }) pat:update_frame(180,1,0, { tex_index = 313 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +56 , tex_offset_y = baseY +6 , hurtbox = pat:get_frame(7,2,4).hurtbox }) pat:update_frame(180,1,1, { tex_index = 313 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +56 , tex_offset_y = baseY +6 , hurtbox = pat:get_frame(7,2,4).hurtbox }) --backtech pat:update_frame(181,0,0, { tex_index = 305 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -22 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(8,1,0).hurtbox }) pat:update_frame(181,0,1, { tex_index = 304 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -22 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(8,1,0).hurtbox }) pat:update_frame(181,0,2, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +6 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(6,2,2).hurtbox }) pat:update_frame(181,0,3, { tex_index = 298 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +20 , tex_offset_y = baseY +0 , hurtbox = pat:get_frame(6,2,2).hurtbox }) pat:update_frame(181,0,4, { tex_index = 300 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +40 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(6,2,4).hurtbox }) pat:update_frame(181,0,5, { tex_index = 301 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +46 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(6,2,4).hurtbox }) pat:update_frame(181,0,6, { tex_index = 301 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +46 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(6,2,4).hurtbox }) pat:update_frame(181,1,0, { tex_index = 300 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +40 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(6,2,4).hurtbox }) pat:update_frame(181,1,1, { tex_index = 301 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +46 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(6,2,4).hurtbox }) --groundtech --praise the lord im finally done with this shit --forwardtech pat:update_frame(197,0,0, { tex_index = 519 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +2 , tex_offset_y = baseY -128 }) pat:update_frame(197,0,1, { tex_index = 520 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -90 }) pat:update_frame(197,0,2, { tex_index = 521 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -44 , tex_offset_y = baseY -84 }) pat:update_frame(197,0,3, { tex_index = 522 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -28 , tex_offset_y = baseY -60 -16 }) pat:update_frame(197,0,4, { tex_index = 523 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY -58 +12 }) pat:update_frame(197,0,5, { tex_index = 298 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -48 }) pat:update_frame(197,0,6, { tex_index = 309 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -44 }) pat:update_frame(197,0,7, { tex_index = 310 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -20 }) pat:update_frame(197,0,8, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -24 }) pat:update_frame(197,0,9, { tex_index = 298 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -18 }) pat:update_frame(197,0,10, { tex_index = 311 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY +6 }) pat:split_frame(197,0,10,3,3) pat:update_frame(197,0,11, { tex_index = 312 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +40 , tex_offset_y = baseY +6 }) pat:update_frame(197,1,0, { tex_index = 313 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +56 , tex_offset_y = baseY +6 }) pat:update_frame(197,1,1, { tex_index = 313 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +56 , tex_offset_y = baseY +6 }) pat:update_frame(197,2,0, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -30 }) pat:update_frame(197,2,1, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -30 }) pat:update_frame(197,2,2, { tex_index = 298 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -48 }) pat:update_frame(197,2,3, { tex_index = 298 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -48 }) --backtech --pat:remove_frame(198,0,10) --pat:remove_frame(198,0,9) --pat:remove_frame(198,0,8) --pat:remove_frame(198,0,7) --pat:remove_frame(198,0,6) pat:update_frame(198,0,0, { tex_index = 519 , duration = 4 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +2 , tex_offset_y = baseY -128 }) pat:update_frame(198,0,1, { tex_index = 520 , duration = 4 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -90 }) pat:update_frame(198,0,2, { tex_index = 521 , duration = 4 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -44 , tex_offset_y = baseY -84 }) pat:update_frame(198,0,3, { tex_index = 522 , duration = 4 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -28 , tex_offset_y = baseY -60 -16 }) pat:update_frame(198,0,4, { tex_index = 523 , duration = 4 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY -58 +12 }) pat:update_frame(198,0,5, { tex_index = 300 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +40 , tex_offset_y = baseY +4 }) pat:update_frame(198,1,0, { tex_index = 300 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +40 , tex_offset_y = baseY +4 }) pat:update_frame(198,1,1, { tex_index = 301 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +46 , tex_offset_y = baseY +4 }) pat:update_frame(198,2,0, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -30 }) pat:update_frame(198,2,1, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -30 }) pat:update_frame(198,2,2, { tex_index = 298 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -48 }) pat:update_frame(198,2,3, { tex_index = 298 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -48 }) --notech pat:update_frame(199,0,0, { tex_index = 519 , duration = 4 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +2 , tex_offset_y = baseY -128 }) pat:update_frame(199,0,1, { tex_index = 520 , duration = 4 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -90 }) pat:update_frame(199,0,2, { tex_index = 521 , duration = 4 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -44 , tex_offset_y = baseY -84 }) pat:update_frame(199,0,3, { tex_index = 522 , duration = 4 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -28 , tex_offset_y = baseY -60 -16 }) pat:update_frame(199,0,4, { tex_index = 523 , duration = 4 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY -58 -24 }) pat:update_frame(199,0,5, { tex_index = 298 , duration = 1 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -48 }) pat:update_frame(199,0,6, { tex_index = 298 , duration = 1 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -48 }) pat:update_frame(199,0,7, { tex_index = 298 , duration = 1 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -48 }) pat:update_frame(199,0,8, { tex_index = 298 , duration = 1 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -48 }) pat:update_frame(199,0,9, { tex_index = 349 , duration = 1 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +18 , tex_offset_y = baseY -56 }) pat:update_frame(199,0,10, { tex_index = 349 , duration = 1 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +18 , tex_offset_y = baseY -56 }) pat:update_frame(199,0,11, { tex_index = 349 , duration = 1 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +18 , tex_offset_y = baseY -56 }) pat:update_frame(199,0,12, { tex_index = 349 , duration = 1 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +18 , tex_offset_y = baseY -56 }) pat:update_frame(199,0,13, { tex_index = 350 , duration = 1 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +8 , tex_offset_y = baseY -22 }) pat:update_frame(199,0,14, { tex_index = 350 , duration = 1 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +8 , tex_offset_y = baseY -22 }) pat:update_frame(199,0,15, { tex_index = 350 , duration = 1 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +8 , tex_offset_y = baseY -22 }) pat:update_frame(199,0,16, { tex_index = 350 , duration = 1 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +8 , tex_offset_y = baseY -22 }) pat:update_frame(199,0,17, { tex_index = 351 , duration = 4 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -10 }) pat:update_frame(199,0,18, { tex_index = 351 , duration = 1 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -10 }) -- dashFront pat:update_frame(200,0,0, { tex_index = 241 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +20 , tex_offset_y = baseY -50 , hurtbox = pat:get_frame(7,1,0).hurtbox }) pat:update_frame(200,0,1, { tex_index = 242 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +16 , tex_offset_y = baseY -70 , hurtbox = pat:get_frame(7,1,0).hurtbox }) pat:update_frame(200,0,1,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 + 20 frame.hurtbox[2].y2 = frame.hurtbox[2].y2 + 20 frame.hurtbox[3].y1 = frame.hurtbox[3].y1 + 20 frame.hurtbox[3].y2 = frame.hurtbox[3].y2 + 20 frame.hurtbox[1].x1 = frame.hurtbox[1].x1 - 30 end) pat:update_frame(200,0,2, { tex_index = 243 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -0 , tex_offset_y = baseY -46 , hurtbox = pat:get_frame(200,0,1).hurtbox }) pat:update_frame(200,1,0, { tex_index = 243 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -0 , tex_offset_y = baseY -46 }) pat:update_frame(200,1,0,function (frame) frame.hurtbox[1].y1 = frame.hurtbox[1].y1 + 10 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 + 10 frame.hurtbox[1].y2 = frame.hurtbox[1].y2 + 20 end) pat:update_frame(200,1,1, { tex_index = 244 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -0 , tex_offset_y = baseY -74 , hurtbox = pat:get_frame(200,1,0).hurtbox }) -- dashBack pat:update_frame(201,0,0, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -30 }) pat:update_frame(201,0,1, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -30 }) pat:update_frame(201,0,2, { tex_index = 298 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -48 }) pat:update_frame(201,1,0, { tex_index = 304 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -18 , tex_offset_y = baseY -4 }) pat:update_frame(201,1,0,function (frame) frame.hurtbox[1].x1 = frame.hurtbox[1].x1 + 10 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 + 10 frame.hurtbox[2].x1 = frame.hurtbox[2].x1 + 10 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 + 10 end) pat:update_frame(201,2,0, { tex_index = 304 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -18 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(201,1,0).hurtbox }) pat:update_frame(201,3,0, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -30 }) pat:update_frame(201,3,1, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -30 }) pat:update_frame(201,3,2, { tex_index = 298 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -48 }) -- dashStop pat:update_frame(204,0,0, { tex_index = 245 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -12 , tex_offset_y = baseY -36 , hurtbox = pat:get_frame(204,0,2).hurtbox , duration = 3 }) pat:update_frame(204,0,1, { tex_index = 245 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -12 , tex_offset_y = baseY -36 , hurtbox = pat:get_frame(204,0,2).hurtbox , duration = 3 }) pat:update_frame(204,0,2, { tex_index = 246 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY -28 , duration = 2 }) pat:update_frame(204,0,3, { tex_index = 246 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY -28 , hurtbox = pat:get_frame(204,0,2).hurtbox , duration = 2 }) -- flyFront local baseY2 = -40 local baseX2 = -30 pat:update_frame(214,0,0, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -30 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(214,0,1, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -30 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(214,0,2, { tex_index = 298 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -48 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(214,1,0, { tex_index = 242 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +baseX2 +16 , tex_offset_y = baseY +baseY2 -70 }) pat:update_frame(214,1,0,function (frame) frame.hurtbox[1].y1 = frame.hurtbox[1].y1 + 10 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 + 10 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 + 25 frame.hurtbox[2].y1 = frame.hurtbox[2].y1 + 20 end) pat:update_frame(214,2,0, { tex_index = 243 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +baseX2 -0 , tex_offset_y = baseY +baseY2 -66 }) pat:update_frame(214,2,0,function (frame) frame.hurtbox[1].y1 = frame.hurtbox[1].y1 + 15 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 + 15 frame.hurtbox[1].y1 = frame.hurtbox[1].y1 + 15 frame.hurtbox[1].y2 = frame.hurtbox[1].y2 + 20 frame.hurtbox[2].y1 = frame.hurtbox[2].y1 + 20 end) pat:update_frame(214,2,1, { tex_index = 244 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +baseX2 -0 , tex_offset_y = baseY +baseY2 -80 , hurtbox = pat:get_frame(214,2,0).hurtbox }) pat:update_frame(214,3,0, { tex_index = 242 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +baseX2 +16 , tex_offset_y = baseY +baseY2 -70 }) pat:update_frame(214,3,0,function (frame) frame.hurtbox[1].y1 = frame.hurtbox[1].y1 + 10 frame.hurtbox[1].x1 = frame.hurtbox[1].x1 - 10 frame.hurtbox[2].x1 = frame.hurtbox[2].x1 - 25 frame.hurtbox[2].y1 = frame.hurtbox[2].y1 + 20 end) pat:update_frame(214,4,0, { tex_index = 243 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +baseX2 -0 , tex_offset_y = baseY +baseY2 -66 }) pat:update_frame(214,4,0,function (frame) frame.hurtbox[1].y1 = frame.hurtbox[1].y1 + 15 frame.hurtbox[1].x1 = frame.hurtbox[1].x1 - 15 frame.hurtbox[1].y1 = frame.hurtbox[1].y1 + 15 frame.hurtbox[1].y2 = frame.hurtbox[1].y2 + 20 frame.hurtbox[2].y1 = frame.hurtbox[2].y1 + 20 end) pat:update_frame(214,4,1, { tex_index = 244 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +baseX2 -0 , tex_offset_y = baseY +baseY2 -80 , hurtbox = pat:get_frame(214,4,0).hurtbox }) pat:update_frame(214,5,0, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +baseX2 -4 , tex_offset_y = baseY +2*baseY2 -24 , hurtbox = pat:get_frame(6,2,2).hurtbox }) pat:update_frame(214,5,1, { tex_index = 298 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +baseX2 +10 , tex_offset_y = baseY +2*baseY2 -18 -6 , hurtbox = pat:get_frame(6,2,2).hurtbox }) pat:remove_frame(214,5,2) pat:update_frame(214,6,0, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +baseX2 -4 , tex_offset_y = baseY +2*baseY2 -24 , hurtbox = pat:get_frame(6,2,2).hurtbox }) pat:update_frame(214,6,1, { tex_index = 298 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +baseX2 +10 , tex_offset_y = baseY +2*baseY2 -18 -6 , hurtbox = pat:get_frame(6,2,2).hurtbox }) pat:remove_frame(214,6,2) --hardlanding pat:update_frame(215,0,0, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -30 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(215,0,1, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -30 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(215,0,2, { tex_index = 298 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -48 , hurtbox = pat:get_frame(6,0,1).hurtbox }) -- flyBack local baseY2 = -40 local baseX2 = -30 pat:update_frame(217,0,0, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -30 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(217,0,1, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -30 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(217,0,2, { tex_index = 298 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -48 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(217,1,0, { tex_index = 242 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +baseX2 +16 , tex_offset_y = baseY +baseY2 -70 , hurtbox = pat:get_frame(214,1,0).hurtbox }) pat:update_frame(217,2,0, { tex_index = 243 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +baseX2 -0 , tex_offset_y = baseY +baseY2 -66 , hurtbox = pat:get_frame(214,2,0).hurtbox }) pat:update_frame(217,2,1, { tex_index = 244 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +baseX2 -0 , tex_offset_y = baseY +baseY2 -80 , hurtbox = pat:get_frame(214,2,0).hurtbox }) pat:update_frame(217,3,0, { tex_index = 242 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +baseX2 +16 , tex_offset_y = baseY +baseY2 -70 }) pat:update_frame(217,3,0,function (frame) frame.hurtbox[1].y1 = frame.hurtbox[1].y1 + 10 frame.hurtbox[1].x1 = frame.hurtbox[1].x1 - 10 frame.hurtbox[2].x1 = frame.hurtbox[2].x1 - 25 frame.hurtbox[2].y1 = frame.hurtbox[2].y1 + 20 end) pat:update_frame(217,4,0, { tex_index = 243 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +baseX2 -0 , tex_offset_y = baseY +baseY2 -66 }) pat:update_frame(217,4,0,function (frame) frame.hurtbox[1].y1 = frame.hurtbox[1].y1 + 15 frame.hurtbox[1].x1 = frame.hurtbox[1].x1 - 15 frame.hurtbox[1].y1 = frame.hurtbox[1].y1 + 15 frame.hurtbox[1].y2 = frame.hurtbox[1].y2 + 20 frame.hurtbox[2].y1 = frame.hurtbox[2].y1 + 20 end) pat:update_frame(214,4,1, { tex_index = 244 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +baseX2 -0 , tex_offset_y = baseY +baseY2 -80 , hurtbox = pat:get_frame(214,4,0).hurtbox }) pat:update_frame(217,5,0, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +baseX2 -4 , tex_offset_y = baseY +2*baseY2 -24 , hurtbox = pat:get_frame(6,2,2).hurtbox }) pat:update_frame(217,5,1, { tex_index = 298 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +baseX2 +10 , tex_offset_y = baseY +2*baseY2 -18 -6 , hurtbox = pat:get_frame(6,2,2).hurtbox }) pat:remove_frame(217,5,2) pat:update_frame(217,6,0, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +baseX2 -4 , tex_offset_y = baseY +2*baseY2 -24 , hurtbox = pat:get_frame(6,2,2).hurtbox }) pat:update_frame(217,6,1, { tex_index = 298 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +baseX2 +10 , tex_offset_y = baseY +2*baseY2 -18 -6 , hurtbox = pat:get_frame(6,2,2).hurtbox }) pat:remove_frame(217,6,2) -- airdash local baseY2 = 46 local baseX2 = 12 pat:update_frame(202,0,0, { tex_index = 241 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +20 , tex_offset_y = baseY +baseY2 -50 , hurtbox = pat:get_frame(214,1,0).hurtbox }) pat:update_frame(202,0,1, { tex_index = 242 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +baseX2 +16 , tex_offset_y = baseY +baseY2 -70 , hurtbox = pat:get_frame(214,1,0).hurtbox }) pat:update_frame(202,0,2, { tex_index = 243 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +baseX2 -0 , tex_offset_y = baseY +baseY2 -66 , hurtbox = pat:get_frame(214,2,0).hurtbox }) pat:update_frame(202,1,0, { tex_index = 243 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +baseX2 -0 , tex_offset_y = baseY +baseY2 -66 , hurtbox = pat:get_frame(214,2,0).hurtbox }) pat:update_frame(202,1,1, { tex_index = 244 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +baseX2 -0 , tex_offset_y = baseY +baseY2 -94 , hurtbox = pat:get_frame(214,2,0).hurtbox }) pat:update_frame(202,2,0, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +6 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(6,2,2).hurtbox }) pat:update_frame(202,2,1, { tex_index = 298 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +20 , tex_offset_y = baseY +0 , hurtbox = pat:get_frame(6,2,2).hurtbox }) pat:update_frame(202,2,2, { tex_index = 311 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY +6 , hurtbox = pat:get_frame(7,2,4).hurtbox }) pat:update_frame(202,2,3, { tex_index = 312 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +40 , tex_offset_y = baseY +6 , hurtbox = pat:get_frame(7,2,4).hurtbox }) pat:update_frame(202,2,4, { tex_index = 313 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +56 , tex_offset_y = baseY +6 , hurtbox = pat:get_frame(7,2,4).hurtbox }) pat:update_frame(202,3,0, { tex_index = 313 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +56 , tex_offset_y = baseY +6 , hurtbox = pat:get_frame(7,2,4).hurtbox }) pat:remove_frame(202,2,6) pat:remove_frame(202,2,5) pat:remove_frame(202,3,1) -- airbackdash local baseY2 = 40 local baseX2 = -30 pat:update_frame(203,0,0, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -30 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(203,0,1, { tex_index = 298 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -48 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(203,0,2, { tex_index = 298 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -48 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(203,0,3, { tex_index = 303 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -18 , tex_offset_y = baseY -4 }) pat:update_frame(203,1,0, { tex_index = 304 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -18 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(8,1,0).hurtbox }) pat:update_frame(203,2,0, { tex_index = 305 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -22 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(8,1,0).hurtbox }) pat:update_frame(203,2,1, { tex_index = 304 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -22 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(8,1,0).hurtbox }) pat:update_frame(203,2,2, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +6 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(6,2,2).hurtbox }) pat:update_frame(203,2,3, { tex_index = 298 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +20 , tex_offset_y = baseY +0 , hurtbox = pat:get_frame(6,2,2).hurtbox }) pat:update_frame(203,3,0, { tex_index = 300 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +40 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(6,2,4).hurtbox }) pat:update_frame(203,3,1, { tex_index = 301 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +46 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(6,2,4).hurtbox }) --hjump pat:update_frame(208,0,0, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -30 }) pat:update_frame(208,0,1, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -30 , hurtbox = pat:get_frame(6,0,0).hurtbox }) pat:update_frame(208,0,2, { tex_index = 298 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -48 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(208,1,0, { tex_index = 295 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -16 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(208,1,1, { tex_index = 295 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -16 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(208,2,0, { tex_index = 295 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -16 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(208,2,1, { tex_index = 296 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -16 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(208,2,2, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +6 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(6,2,2).hurtbox }) pat:update_frame(208,2,3, { tex_index = 298 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +20 , tex_offset_y = baseY +0 , hurtbox = pat:get_frame(6,2,2).hurtbox }) pat:update_frame(208,2,4, { tex_index = 300 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +40 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(6,2,4).hurtbox }) pat:update_frame(208,2,5, { tex_index = 301 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +46 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(6,2,4).hurtbox }) pat:update_frame(208,3,0, { tex_index = 300 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +40 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(6,2,4).hurtbox }) pat:update_frame(208,3,1, { tex_index = 301 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +46 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(6,2,4).hurtbox }) --pat:update_frame(6,4,0, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -24 }) --pat:update_frame(6,4,1, { tex_index = 298 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -38 }) --hjumpFront pat:update_frame(209,0,0, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -30 }) pat:update_frame(209,0,1, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -30 , hurtbox = pat:get_frame(6,0,0).hurtbox }) pat:update_frame(209,0,2, { tex_index = 298 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -48 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(209,1,0, { tex_index = 309 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -44 , hurtbox = pat:get_frame(7,1,0).hurtbox }) pat:update_frame(209,1,1, { tex_index = 310 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -20 , hurtbox = pat:get_frame(7,1,0).hurtbox }) pat:update_frame(209,2,0, { tex_index = 309 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -44 , hurtbox = pat:get_frame(7,1,0).hurtbox }) pat:update_frame(209,2,1, { tex_index = 310 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -20 , hurtbox = pat:get_frame(7,1,0).hurtbox }) pat:update_frame(209,2,2, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -24 , hurtbox = pat:get_frame(6,2,2).hurtbox }) pat:update_frame(209,2,3, { tex_index = 298 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -18 , hurtbox = pat:get_frame(6,2,2).hurtbox }) pat:update_frame(209,2,4, { tex_index = 311 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY +6 , hurtbox = pat:get_frame(7,2,4).hurtbox }) pat:update_frame(209,2,5, { tex_index = 312 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +40 , tex_offset_y = baseY +6 , hurtbox = pat:get_frame(7,2,4).hurtbox }) pat:update_frame(209,2,6, { tex_index = 313 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +56 , tex_offset_y = baseY +6 , hurtbox = pat:get_frame(7,2,4).hurtbox }) pat:update_frame(209,3,0, { tex_index = 313 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +56 , tex_offset_y = baseY +6 , hurtbox = pat:get_frame(7,2,4).hurtbox }) pat:update_frame(209,3,1, { tex_index = 313 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +56 , tex_offset_y = baseY +6 , hurtbox = pat:get_frame(7,2,4).hurtbox }) --hjumpBack pat:update_frame(210,0,0, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -30 }) pat:update_frame(210,0,1, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -30 , hurtbox = pat:get_frame(6,0,0).hurtbox }) pat:update_frame(210,0,2, { tex_index = 298 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -48 , hurtbox = pat:get_frame(6,0,1).hurtbox}) pat:update_frame(210,1,0, { tex_index = 303 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -18 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(8,1,0).hurtbox }) pat:update_frame(210,1,1, { tex_index = 304 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -18 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(8,1,0).hurtbox }) pat:update_frame(210,2,0, { tex_index = 305 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -22 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(8,1,0).hurtbox }) pat:update_frame(210,2,1, { tex_index = 304 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -22 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(8,1,0).hurtbox }) pat:update_frame(210,2,2, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +6 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(6,2,2).hurtbox }) pat:update_frame(210,2,3, { tex_index = 298 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +20 , tex_offset_y = baseY +0 , hurtbox = pat:get_frame(6,2,2).hurtbox }) pat:update_frame(210,2,4, { tex_index = 300 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +40 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(6,2,4).hurtbox }) pat:update_frame(210,2,5, { tex_index = 301 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +46 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(6,2,4).hurtbox }) pat:update_frame(210,3,0, { tex_index = 300 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +40 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(6,2,4).hurtbox }) pat:update_frame(210,3,1, { tex_index = 301 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +46 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(6,2,4).hurtbox }) --6628 pat:update_frame(211,0,0, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -30 }) pat:update_frame(211,0,1, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -30 , hurtbox = pat:get_frame(6,0,0).hurtbox}) pat:update_frame(211,0,2, { tex_index = 298 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -48 , hurtbox = pat:get_frame(6,0,1).hurtbox}) pat:update_frame(211,1,0, { tex_index = 295 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -16 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(6,1,0).hurtbox}) pat:update_frame(211,1,1, { tex_index = 295 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -16 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(6,1,0).hurtbox}) pat:update_frame(211,2,0, { tex_index = 295 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -16 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(6,1,0).hurtbox}) pat:update_frame(211,2,1, { tex_index = 296 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -16 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(6,1,0).hurtbox}) pat:update_frame(211,2,2, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +6 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(6,2,2).hurtbox }) pat:update_frame(211,2,3, { tex_index = 298 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +20 , tex_offset_y = baseY +0 , hurtbox = pat:get_frame(6,2,2).hurtbox }) pat:update_frame(211,2,4, { tex_index = 300 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +40 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(6,2,4).hurtbox }) pat:update_frame(211,2,5, { tex_index = 301 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +46 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(6,2,4).hurtbox }) pat:update_frame(211,3,0, { tex_index = 300 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +40 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(6,2,4).hurtbox }) pat:update_frame(211,3,1, { tex_index = 301 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +46 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(6,2,4).hurtbox }) --dashJump pat:update_frame(212,0,0, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -30 }) pat:update_frame(212,0,1, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -30 , hurtbox = pat:get_frame(6,0,0).hurtbox }) pat:update_frame(212,0,2, { tex_index = 298 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -48 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(212,1,0, { tex_index = 309 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -44 , hurtbox = pat:get_frame(7,1,0).hurtbox }) pat:update_frame(212,1,1, { tex_index = 310 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -20 , hurtbox = pat:get_frame(7,1,0).hurtbox }) pat:update_frame(212,2,0, { tex_index = 309 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -44 , hurtbox = pat:get_frame(7,1,0).hurtbox }) pat:update_frame(212,2,1, { tex_index = 310 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -20 , hurtbox = pat:get_frame(7,1,0).hurtbox }) pat:update_frame(212,2,2, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -24 , hurtbox = pat:get_frame(6,2,2).hurtbox }) pat:update_frame(212,2,3, { tex_index = 298 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -18 , hurtbox = pat:get_frame(6,2,2).hurtbox }) pat:update_frame(212,2,4, { tex_index = 311 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY +6 , hurtbox = pat:get_frame(7,2,4).hurtbox }) pat:update_frame(212,2,5, { tex_index = 312 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +40 , tex_offset_y = baseY +6 , hurtbox = pat:get_frame(7,2,4).hurtbox }) pat:update_frame(212,2,6, { tex_index = 313 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +56 , tex_offset_y = baseY +6 , hurtbox = pat:get_frame(7,2,4).hurtbox }) pat:update_frame(212,3,0, { tex_index = 313 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +56 , tex_offset_y = baseY +6 , hurtbox = pat:get_frame(7,2,4).hurtbox }) pat:update_frame(212,3,1, { tex_index = 313 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +56 , tex_offset_y = baseY +6 , hurtbox = pat:get_frame(7,2,4).hurtbox }) --2DD pat:update_frame(220,0,0, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -30 }) pat:update_frame(220,0,1, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -30 , hurtbox = pat:get_frame(6,0,0).hurtbox }) pat:update_frame(220,0,2, { tex_index = 298 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -48 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(220,1,0, { tex_index = 295 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -16 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(220,1,1, { tex_index = 295 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -16 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(220,2,0, { tex_index = 295 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -16 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(220,2,1, { tex_index = 296 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -16 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(220,2,2, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +6 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(6,2,2).hurtbox }) pat:update_frame(220,2,3, { tex_index = 298 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +20 , tex_offset_y = baseY +0 , hurtbox = pat:get_frame(6,2,2).hurtbox }) pat:update_frame(220,2,4, { tex_index = 300 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +40 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(6,2,4).hurtbox }) pat:update_frame(220,2,5, { tex_index = 301 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +46 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(6,2,4).hurtbox }) pat:update_frame(220,3,0, { tex_index = 300 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +40 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(6,2,4).hurtbox }) pat:update_frame(220,3,1, { tex_index = 301 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +46 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(6,2,4).hurtbox }) --1DD pat:update_frame(222,0,0, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -30 }) pat:update_frame(222,0,1, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -30 , hurtbox = pat:get_frame(6,0,0).hurtbox }) pat:update_frame(222,0,2, { tex_index = 298 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -48 , hurtbox = pat:get_frame(6,0,1).hurtbox}) pat:update_frame(222,1,0, { tex_index = 303 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -18 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(8,1,0).hurtbox }) pat:update_frame(222,1,1, { tex_index = 304 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -18 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(8,1,0).hurtbox }) pat:update_frame(222,2,0, { tex_index = 305 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -22 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(8,1,0).hurtbox }) pat:update_frame(222,2,1, { tex_index = 304 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -22 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(8,1,0).hurtbox }) pat:update_frame(222,2,2, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +6 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(6,2,2).hurtbox }) pat:update_frame(222,2,3, { tex_index = 298 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +20 , tex_offset_y = baseY +0 , hurtbox = pat:get_frame(6,2,2).hurtbox }) pat:update_frame(222,2,4, { tex_index = 300 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +40 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(6,2,4).hurtbox }) pat:update_frame(222,2,5, { tex_index = 301 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +46 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(6,2,4).hurtbox }) pat:update_frame(222,3,0, { tex_index = 300 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +40 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(6,2,4).hurtbox }) pat:update_frame(222,3,1, { tex_index = 301 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +46 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(6,2,4).hurtbox }) -- 6DD pat:update_frame(223,0,0, { tex_index = 241 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +20 , tex_offset_y = baseY -50 , hurtbox = pat:get_frame(7,1,0).hurtbox }) pat:update_frame(223,0,1, { tex_index = 242 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +16 , tex_offset_y = baseY -70 , hurtbox = pat:get_frame(200,0,1).hurtbox }) pat:update_frame(223,0,2, { tex_index = 243 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -0 , tex_offset_y = baseY -46 , hurtbox = pat:get_frame(200,0,1).hurtbox }) pat:update_frame(223,1,0, { tex_index = 243 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -0 , tex_offset_y = baseY -46 , hurtbox = pat:get_frame(200,1,0).hurtbox }) pat:update_frame(223,1,1, { tex_index = 244 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -0 , tex_offset_y = baseY -74 , hurtbox = pat:get_frame(200,1,0).hurtbox }) -- 4DD pat:update_frame(224,0,0, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -30 }) pat:update_frame(224,0,1, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -30 }) pat:update_frame(224,0,2, { tex_index = 298 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -48 }) pat:update_frame(224,1,0, { tex_index = 304 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -18 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(201,1,0).hurtbox }) pat:update_frame(224,2,0, { tex_index = 304 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -18 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(201,1,0).hurtbox }) pat:update_frame(224,3,0, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -30 }) pat:update_frame(224,3,1, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -30 }) pat:update_frame(224,3,2, { tex_index = 298 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -48 }) --j4DD pat:update_frame(225,0,0, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -30 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(225,0,1, { tex_index = 298 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -48 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(225,0,2, { tex_index = 303 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -18 , tex_offset_y = baseY -4 }) pat:update_frame(225,1,0, { tex_index = 304 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -18 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(8,1,0).hurtbox }) pat:update_frame(225,2,0, { tex_index = 305 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -22 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(8,1,0).hurtbox }) pat:update_frame(225,2,1, { tex_index = 304 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -22 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(8,1,0).hurtbox }) pat:update_frame(225,2,2, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +6 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(6,2,2).hurtbox }) pat:update_frame(225,2,3, { tex_index = 298 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +20 , tex_offset_y = baseY +0 , hurtbox = pat:get_frame(6,2,2).hurtbox }) --pat:update_frame(225,3,0, { tex_index = 300 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +40 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(6,2,4).hurtbox }) --pat:update_frame(225,3,1, { tex_index = 301 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +46 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(6,2,4).hurtbox }) --j6DD local baseY2 = 46 local baseX2 = 12 pat:update_frame(226,0,0, { tex_index = 241 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +20 , tex_offset_y = baseY +baseY2 -50 , hurtbox = pat:get_frame(7,1,0).hurtbox }) pat:update_frame(226,0,1, { tex_index = 242 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +baseX2 +16 , tex_offset_y = baseY +baseY2 -70 , hurtbox = pat:get_frame(214,1,0).hurtbox }) pat:update_frame(226,0,2, { tex_index = 243 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +baseX2 -0 , tex_offset_y = baseY +baseY2 -66 , hurtbox = pat:get_frame(214,2,0).hurtbox }) pat:update_frame(226,1,0, { tex_index = 243 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +baseX2 -0 , tex_offset_y = baseY +baseY2 -66 , hurtbox = pat:get_frame(214,2,0).hurtbox }) pat:update_frame(226,1,1, { tex_index = 244 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +baseX2 -0 , tex_offset_y = baseY +baseY2 -94 , hurtbox = pat:get_frame(214,2,0).hurtbox }) pat:update_frame(226,2,0, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +6 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(6,2,2).hurtbox }) pat:update_frame(226,2,1, { tex_index = 298 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +20 , tex_offset_y = baseY +0 , hurtbox = pat:get_frame(6,2,2).hurtbox }) pat:update_frame(226,2,2, { tex_index = 300 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +40 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(6,2,4).hurtbox }) pat:update_frame(226,2,3, { tex_index = 301 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +46 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(6,2,4).hurtbox }) pat:update_frame(226,2,4, { tex_index = 300 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +40 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(6,2,4).hurtbox }) pat:update_frame(226,2,5, { tex_index = 301 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +46 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(6,2,4).hurtbox }) --pat:update_frame(226,2,2, { tex_index = 311 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY +6 , hurtbox = pat:get_frame(7,2,4).hurtbox }) --pat:update_frame(226,2,3, { tex_index = 312 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +40 , tex_offset_y = baseY +6 , hurtbox = pat:get_frame(7,2,4).hurtbox }) --pat:update_frame(226,2,4, { tex_index = 313 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +56 , tex_offset_y = baseY +6 , hurtbox = pat:get_frame(7,2,4).hurtbox }) pat:remove_frame(226,2,6) --pat:remove_frame(226,2,5) end function mods.d22_resurrection_old(pat) pat:split_frame(540,0,5,1,1) for idx = 0 , 6 do pat:update_frame(540,0,idx,function (frame) frame.blending_mode=pat:get_frame(901,2,0).blending_mode frame.duration = 6 if (idx == 5 ) then frame.duration = 4 end if (idx == 6 ) then frame.duration = 42 -10 unset_fflag(frame,FF_MOTION_CANCEL) set_fflag(frame,FF_SUPER_ARMOR) set_fflag(frame,FF_MELEE_INV) set_fflag(frame,FF_GRAZE) set_fflag(frame,FF_BULLET_INV) end end) end local baseX = 70 local baseY = 195 pat:update_frame(540,0,0, { tex_index = 490 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +14 , tex_offset_y = baseY +6 , hurtbox = pat:get_frame(6,2,2).hurtbox }) pat:update_frame(540,0,1, { tex_index = 491 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +32 , tex_offset_y = baseY -16 +8, hurtbox = pat:get_frame(56,0,0).hurtbox }) pat:update_frame(540,0,2, { tex_index = 492 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +30 , tex_offset_y = baseY -32 +15 , hurtbox = pat:get_frame(56,0,0).hurtbox }) pat:update_frame(540,0,3, { tex_index = 492 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +30 , tex_offset_y = baseY -32 +15, hurtbox = pat:get_frame(56,0,0).hurtbox }) pat:update_frame(540,0,4, { tex_index = 492 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +30 , tex_offset_y = baseY -32 +15, hurtbox = pat:get_frame(56,0,0).hurtbox }) pat:update_frame(540,0,5, { tex_index = 492 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +30 , tex_offset_y = baseY -32 +15, hurtbox = pat:get_frame(56,0,0).hurtbox }) pat:update_frame(540,0,6, { tex_index = 492 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +30 , tex_offset_y = baseY -32 +15, hurtbox = pat:get_frame(56,0,0).hurtbox }) for idx = 0 , 6 do pat:update_frame(540,0,idx,function(frame) unset_fflag(frame,FF_AIRBORNE) set_fflag(frame,FF_STANDING) end) end for idx = 0 , 2 do pat:update_frame(540,1,idx,function (frame) unset_fflag(frame,FF_MOTION_CANCEL) set_fflag(frame,FF_SUPER_ARMOR) set_fflag(frame,FF_MELEE_INV) set_fflag(frame,FF_GRAZE) set_fflag(frame,FF_BULLET_INV) end) end pat:update_frame(540,1,0, { tex_index = 492 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +30 , tex_offset_y = baseY -32 +15, hurtbox = pat:get_frame(56,0,0).hurtbox }) pat:update_frame(540,1,1, { tex_index = 492 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +30 , tex_offset_y = baseY -32 +15, hurtbox = pat:get_frame(56,0,0).hurtbox }) pat:update_frame(540,1,2, { tex_index = 492 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +30 , tex_offset_y = baseY -32 +15, hurtbox = pat:get_frame(56,0,0).hurtbox }) for idx = 0 , 0 do pat:update_frame(540,2,idx,function (frame) frame.duration = 1 frame.hurtbox[3] = null frame.hurtbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[1].x1 = frame.hurtbox[1].x1 -8040 * math.sin(45 * 3.14159/180) frame.hurtbox[1].x2 = frame.hurtbox[1].x2 -8030 * math.sin(45 * 3.14159/180) frame.hurtbox[1].y1 = frame.hurtbox[1].y1 - 200 - 8040 * math.cos(45 * 3.14159/180) frame.hurtbox[1].y2 = frame.hurtbox[1].y2 + 200 - 8030 * math.cos(45 * 3.14159/180) set_fflag(frame,FF_SUPER_ARMOR) set_fflag(frame,FF_MELEE_INV) set_fflag(frame,FF_GRAZE) end) end for idx = 0 , 0 do pat:update_frame(540,3,idx,function (frame) frame.duration = 1 frame.hurtbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[1].x1 = frame.hurtbox[1].x1 -8040 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 -8030 frame.hurtbox[1].y1 = frame.hurtbox[1].y1 - 200 frame.hurtbox[1].y2 = frame.hurtbox[1].y2 + 200 set_fflag(frame,FF_SUPER_ARMOR) set_fflag(frame,FF_MELEE_INV) set_fflag(frame,FF_GRAZE) end) end for idx = 0 , 0 do pat:update_frame(540,4,idx,function (frame) frame.duration = 1 frame.hurtbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[1].x1 = frame.hurtbox[1].x1 -8040 * math.sin(135 * 3.14159/180) frame.hurtbox[1].x2 = frame.hurtbox[1].x2 -8030 * math.sin(135 * 3.14159/180) frame.hurtbox[1].y1 = frame.hurtbox[1].y1 - 200 - 8040 * math.cos(135 * 3.14159/180) frame.hurtbox[1].y2 = frame.hurtbox[1].y2 + 200 - 8030 * math.cos(135 * 3.14159/180) set_fflag(frame,FF_SUPER_ARMOR) set_fflag(frame,FF_MELEE_INV) set_fflag(frame,FF_GRAZE) end) end pat:update_frame(540,2,4,function (frame) frame.duration = 200 end) pat:update_frame(540,3,4,function (frame) frame.duration = 200 end) pat:update_frame(540,4,3,function (frame) frame.duration = 200 end) pat:update_frame(540,5,0,function (frame) frame.duration = 200 end) local baseX = 70 local baseY = 195 pat:update_frame(540,2,0, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +6 , tex_offset_y = baseY +2 }) pat:update_frame(540,2,1, { tex_index = 298 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +20 , tex_offset_y = baseY +0 , hurtbox = pat:get_frame(6,2,2).hurtbox }) pat:update_frame(540,2,2, { tex_index = 311 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY +6 , hurtbox = pat:get_frame(7,2,4).hurtbox }) pat:update_frame(540,2,3, { tex_index = 312 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +40 , tex_offset_y = baseY +6 , hurtbox = pat:get_frame(7,2,4).hurtbox }) pat:update_frame(540,2,4, { tex_index = 313 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +56 , tex_offset_y = baseY +6 , hurtbox = pat:get_frame(7,2,4).hurtbox }) pat:update_frame(540,3,0, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +6 , tex_offset_y = baseY +2 }) pat:update_frame(540,3,1, { tex_index = 298 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +20 , tex_offset_y = baseY +0 , hurtbox = pat:get_frame(6,2,2).hurtbox }) pat:update_frame(540,3,2, { tex_index = 300 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +40 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(6,2,4).hurtbox }) pat:update_frame(540,3,3, { tex_index = 301 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +46 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(6,2,4).hurtbox }) pat:update_frame(540,3,4, { tex_index = 300 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +40 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(6,2,4).hurtbox }) pat:update_frame(540,4,0, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +6 , tex_offset_y = baseY +2 }) pat:update_frame(540,4,1, { tex_index = 298 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +20 , tex_offset_y = baseY +0 , hurtbox = pat:get_frame(6,2,2).hurtbox }) pat:update_frame(540,4,2, { tex_index = 300 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +40 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(6,2,4).hurtbox }) pat:update_frame(540,4,3, { tex_index = 301 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +46 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(6,2,4).hurtbox }) pat:update_frame(540,5,0, { tex_index = 301 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +46 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(6,2,4).hurtbox }) --pat:update_frame(540,5,0, { tex_index = 313 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +56 , tex_offset_y = baseY +6 , hurtbox = pat:get_frame(7,2,4).hurtbox }) --[[ for idx = 1 , 3 do pat:update_frame(540,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 = 1 , 3 do pat:update_frame(540,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 = 1 , 3 do pat:update_frame(540,4,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 , 115 do pat:split_frame(820,0,0,1,1) end for idx = 0 , 116 do pat:update_frame(820,0,idx,function (frame) --frame.tex_w = 0 frame.duration=1 frame.angle_z = 0 - idx*10 frame.scale_x = frame.scale_x*3 frame.scale_y = frame.scale_y*3 end) local mdl = idx%14 if (mdl == 0 or mdl == 1) then pat:update_frame(820,0,idx, { tex_index = 265 , tex_h = 150 , tex_w = 150 , tex_offset_x = 59 , tex_offset_y = 72 +40 }) elseif (mdl == 2 or mdl == 3) then pat:update_frame(820,0,idx, { tex_index = 266 , tex_h = 150 , tex_w = 150 , tex_offset_x = 63 , tex_offset_y = 68 +40 }) elseif (mdl == 4 or mdl == 5) then pat:update_frame(820,0,idx, { tex_index = 268 , tex_h = 150 , tex_w = 150 , tex_offset_x = 63 , tex_offset_y = 73 +40 }) elseif (mdl == 6 or mdl == 7) then pat:update_frame(820,0,idx, { tex_index = 269 , tex_h = 150 , tex_w = 150 , tex_offset_x = 63 , tex_offset_y = 82 +40 }) elseif (mdl == 8 or mdl == 9) then pat:update_frame(820,0,idx, { tex_index = 314 , tex_h = 150 , tex_w = 150 , tex_offset_x = 71 , tex_offset_y = 80 +40 }) elseif (mdl == 10 or mdl == 11) then pat:update_frame(820,0,idx, { tex_index = 315 , tex_h = 150 , tex_w = 150 , tex_offset_x = 53 , tex_offset_y = 89 +40 }) elseif (mdl == 12 or mdl == 13) then pat:update_frame(820,0,idx, { tex_index = 316 , tex_h = 150 , tex_w = 150 , tex_offset_x = 54 , tex_offset_y = 79 +40 }) end --pat:update_frame(820,0,3, { tex_index = 262 , tex_h = 120 , tex_w = 120 , tex_offset_x = 54 , tex_offset_y = 59 , hurtbox = pat:get_frame(6,2,2).hurtbox }) --pat:update_frame(820,0,4, { tex_index = 265 , tex_h = 120 , tex_w = 120 , tex_offset_x = 59 , tex_offset_y = 72 , hurtbox = pat:get_frame(6,2,2).hurtbox }) end --pat:split_frame(820,0,2,1,1) --pat:split_frame(820,0,3,1,1) --pat:split_frame(820,0,4,1,1) --pat:split_frame(820,0,5,1,1) --pat:split_frame(820,0,6,1,1) pat:update_frame(820,1,0,function (frame) frame.tex_w = 0 --frame.tex_offset_y = -60 end) pat:update_frame(820,2,0,function (frame) frame.color_g = 85 frame.color_b = 85 frame.tex_offset_x = frame.tex_offset_x -40 end) pat:update_frame(820,3,0,function (frame) frame.color_g = 85 frame.color_b = 85 frame.tex_offset_x = frame.tex_offset_x -40 end) pat:update_frame(820,0,0, { tex_index = 258 , tex_h = 120 , tex_w = 120 , tex_offset_x = 30 , tex_offset_y = 34 +40 }) pat:update_frame(820,0,1, { tex_index = 258 , tex_h = 120 , tex_w = 120 , tex_offset_x = 30 , tex_offset_y = 34 +40 }) pat:update_frame(820,0,2, { tex_index = 259 , tex_h = 120 , tex_w = 120 , tex_offset_x = 38 , tex_offset_y = 39 +40 }) pat:update_frame(820,0,3, { tex_index = 259 , tex_h = 120 , tex_w = 120 , tex_offset_x = 38 , tex_offset_y = 39 +40 }) pat:update_frame(820,0,4, { tex_index = 261 , tex_h = 120 , tex_w = 120 , tex_offset_x = 39 , tex_offset_y = 47 +40 }) pat:update_frame(820,0,5, { tex_index = 261 , tex_h = 120 , tex_w = 120 , tex_offset_x = 39 , tex_offset_y = 47 +40 }) pat:update_frame(820,0,6, { tex_index = 262 , tex_h = 120 , tex_w = 120 , tex_offset_x = 54 , tex_offset_y = 59 +40 }) pat:update_frame(820,0,7, { tex_index = 262 , tex_h = 120 , tex_w = 120 , tex_offset_x = 54 , tex_offset_y = 59 +40 }) pat:update_frame(820,0,8, { tex_index = 265 , tex_h = 120 , tex_w = 120 , tex_offset_x = 59 , tex_offset_y = 72 +40 }) pat:update_frame(820,0,9, { tex_index = 265 , tex_h = 120 , tex_w = 120 , tex_offset_x = 59 , tex_offset_y = 72 +40 }) --[[ pat:update_frame(820,0,71, { tex_w = 0 }) pat:update_frame(820,0,70, { tex_w = 0 }) pat:update_frame(820,0,69, { tex_w = 0 }) pat:update_frame(820,0,68, { tex_w = 0 }) pat:update_frame(820,0,67, { tex_index = 258 , tex_h = 120 , tex_w = 120 , tex_offset_x = 30 , tex_offset_y = 34 +40 }) pat:update_frame(820,0,66, { tex_index = 258 , tex_h = 120 , tex_w = 120 , tex_offset_x = 30 , tex_offset_y = 34 +40 }) pat:update_frame(820,0,65, { tex_index = 259 , tex_h = 120 , tex_w = 120 , tex_offset_x = 38 , tex_offset_y = 39 +40 }) pat:update_frame(820,0,64, { tex_index = 259 , tex_h = 120 , tex_w = 120 , tex_offset_x = 38 , tex_offset_y = 39 +40 }) pat:update_frame(820,0,63, { tex_index = 261 , tex_h = 120 , tex_w = 120 , tex_offset_x = 39 , tex_offset_y = 47 +40 }) pat:update_frame(820,0,62, { tex_index = 261 , tex_h = 120 , tex_w = 120 , tex_offset_x = 39 , tex_offset_y = 47 +40 }) pat:update_frame(820,0,61, { tex_index = 262 , tex_h = 120 , tex_w = 120 , tex_offset_x = 54 , tex_offset_y = 59 +40 }) pat:update_frame(820,0,60, { tex_index = 262 , tex_h = 120 , tex_w = 120 , tex_offset_x = 54 , tex_offset_y = 59 +40 }) pat:update_frame(820,0,59, { tex_index = 265 , tex_h = 120 , tex_w = 120 , tex_offset_x = 59 , tex_offset_y = 72 +40 }) pat:update_frame(820,0,58, { tex_index = 265 , tex_h = 120 , tex_w = 120 , tex_offset_x = 59 , tex_offset_y = 72 +40 }) pat:update_frame(820,0,0, { tex_index = 266 , tex_h = 120 , tex_w = 120 , tex_offset_x = 63 , tex_offset_y = 68 +40 , hurtbox = pat:get_frame(6,2,2).hurtbox }) pat:update_frame(820,0,1, { tex_index = 268 , tex_h = 120 , tex_w = 120 , tex_offset_x = 63 , tex_offset_y = 73 +40 , hurtbox = pat:get_frame(6,2,2).hurtbox }) pat:update_frame(820,0,2, { tex_index = 269 , tex_h = 120 , tex_w = 120 , tex_offset_x = 63 , tex_offset_y = 83 +40 , hurtbox = pat:get_frame(6,2,2).hurtbox }) ]]-- for idx = 0 , 17 do pat:update_frame(820,5,idx,function (frame) frame.color_g = 85 frame.color_b = 85 frame.tex_offset_x = frame.tex_offset_x +160 frame.scale_x = frame.scale_x * 2 * ((15+idx) / 34) frame.scale_y = frame.scale_y * 2 * ((15+idx) / 34) end) end for idx = 0 , 7 do pat:update_frame(820,4,idx,function (frame) frame.tex_w = 0 frame.attackbox[2] = null --frame.attackbox[2].x1 = frame.attackbox[2].x1-260 --frame.attackbox[2].x2 = frame.attackbox[2].x2-260 --frame.attackbox[2].y1 = 40 --frame.attackbox[2].y2 = 300 frame.attackbox[1].x1 = frame.attackbox[1].x1-260 frame.attackbox[1].x2 = frame.attackbox[1].x2 frame.attackbox[1].y1 = frame.attackbox[1].y1 + 8040 frame.attackbox[1].y2 = frame.attackbox[1].y2 + 8030 frame.damage = -1000 frame.aflags = 0x01521510 set_aflag(frame,AF_CAN_HIT_SELF) set_aflag(frame,AF_PROJECTILE) set_aflag(frame,AF_UNGRAZABLE) frame.hit_sfx = 5 frame.hit_effect = 1 frame.attack_level = AL_LIGHT frame.launch_vector_x = 0 frame.launch_vector_y = 0 frame.card_gain_hit = 100 frame.card_gain_block = 0 frame.hitstop_self = 0 frame.hitstop_enemy = 0 frame.limit = 0 frame.proration = 1000 frame.sp_damage = 0 frame.untech = 0 frame.hit_ani_air = pat:get_frame(301,0,4).hit_ani_air frame.hit_ani_ground = pat:get_frame(301,0,4).hit_ani_ground frame.combo_correction = CC_NONE end) end for idx = 0 , 7 do pat:update_frame(820,6,idx,function (frame) frame.color_g = 125 frame.color_b = 125 end) end end function mods.j8a_new(pat) --active at 10th --3f active local baseX = 70 local baseY = 195 local baseX2 = 12 local baseY2 = 10 pat:split_frame(309,0,2,2,2) pat:split_frame(309,0,2,2,2) pat:update_frame(309,0,4, { hurtbox = pat:get_frame(7,2,4).hurtbox}) pat:split_frame(309,0,0,2,2) pat:split_frame(309,0,0,2,2) pat:update_frame(309,0,0,function(frame) frame.hurtbox[2] = pat:get_frame(309,0,0).hurtbox[3] frame.hurtbox[4] = null frame.hurtbox[3] = null frame.hurtbox[2].y1 = frame.hurtbox[2].y1 - 15 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 + 30 -20 frame.hurtbox[2].x1 = frame.hurtbox[2].x1 - 20 end) pat:update_frame(309,0,2, {hurtbox = pat:get_frame(309,0,0).hurtbox}) pat:remove_frame(309,0,4) pat:split_frame(309,0,3,2,2) pat:update_frame(309,0,3, { attackbox = pat:get_frame(0,0,0).attackbox }) pat:update_frame(309,0,4, { hurtbox = pat:get_frame(309,0,1).hurtbox }) pat:split_frame(309,0,6,2,2) pat:split_frame(309,0,6,2,2) pat:split_frame(309,0,6,2,2) pat:split_frame(309,0,6,2,2) pat:update_frame(309,0,2,function(frame) frame.hurtbox[1].x2 = frame.hurtbox[1].x2 + 15 frame.hurtbox[1].y2 = frame.hurtbox[1].y2 + 15 frame.hurtbox[2] = pat:get_frame(0,0,0).attackbox[1] end) pat:update_frame(309,0,3,function(frame) frame.hurtbox[2].y1 = frame.hurtbox[2].y1 + 30 frame.hurtbox[2].y2 = frame.hurtbox[2].y2 - 20 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 + 55 frame.hurtbox[1].x1 = frame.hurtbox[2].x1 - 20 frame.hurtbox[1].x2 = frame.hurtbox[1].x1 + 60 frame.hurtbox[1].y1 = frame.hurtbox[2].y1 - 20 frame.hurtbox[1].y2 = frame.hurtbox[1].y1 + 60 frame.hurtbox[3] = pat:get_frame(0,0,0).attackbox[1] end) pat:update_frame(309,0,2,function(frame) frame.hurtbox = pat:get_frame(309,0,3).hurtbox frame.hurtbox[2].y2 = frame.hurtbox[2].y2 + 35 frame.hurtbox[2].y1 = frame.hurtbox[2].y1 + 30 end) pat:update_frame(309,0,4,function(frame) frame.hurtbox[2].x1 = frame.hurtbox[1].x1 -40 frame.hurtbox[2].x2 = frame.hurtbox[1].x2 +40 frame.hurtbox[2].y1 = frame.hurtbox[1].y1 -30 frame.hurtbox[2].y2 = frame.hurtbox[1].y2 -40 frame.hurtbox[3] = pat:get_frame(0,0,0).attackbox[1] frame.hurtbox[4] = pat:get_frame(0,0,0).attackbox[1] frame.attackbox[2].x1 = -55+10 +20 frame.attackbox[2].x2 = 55+20 frame.attackbox[2].y1 = -260 frame.attackbox[2].y2 = -180 frame.attackbox[1].x1 = 80-30 frame.attackbox[1].x2 = 80+20 frame.attackbox[1].y1 = -220 frame.attackbox[1].y2 = -160 +40 --frame.attackbox[3] = pat:get_frame(0,0,0).hurtbox[1] --frame.attackbox[3].x1 = -80+10 --frame.attackbox[3].x2 = -80+60 --frame.attackbox[3].y1 = -220 --frame.attackbox[3].y2 = -140 end) pat:update_frame(309,0,5,function(frame) frame.hurtbox = pat:get_frame(309,0,4).hurtbox end) pat:update_frame(309,0,6,function(frame) frame.hurtbox = pat:get_frame(6,2,4).hurtbox frame.hurtbox[2] = pat:get_frame(0,0,0).attackbox[1] frame.hurtbox[1].x1 = frame.hurtbox[1].x1 - 10 frame.hurtbox[1].y2 = frame.hurtbox[1].y2 + 15 end) pat:update_frame(309,0,7,function(frame) frame.hurtbox = pat:get_frame(6,2,4).hurtbox frame.hurtbox[2] = pat:get_frame(0,0,0).attackbox[1] frame.hurtbox[1].x1 = frame.hurtbox[1].x1 - 20 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 + 10 frame.hurtbox[1].y2 = frame.hurtbox[1].y2 + 5 end) pat:update_frame(309,0,8,function(frame) frame.hurtbox = pat:get_frame(6,2,4).hurtbox frame.hurtbox[2] = pat:get_frame(0,0,0).attackbox[1] frame.hurtbox[1].x1 = frame.hurtbox[1].x1 - 20 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 + 10 frame.hurtbox[1].y2 = frame.hurtbox[1].y2 + 5 end) pat:split_frame(309,0,10,2,2) pat:split_frame(309,0,10,2,2) pat:split_frame(309,0,10,2,2) pat:update_frame(309,0,0, { tex_index = 550, tex_h = 128 , tex_w = 128 , tex_offset_x = baseX +44-8 , tex_offset_y = baseY +baseY2 -32+8 , duration = 3 }) pat:update_frame(309,0,1, { tex_index = 550, tex_h = 128 , tex_w = 128 , tex_offset_x = baseX +44-8 , tex_offset_y = baseY +baseY2 -32+8 , hurtbox = pat:get_frame(309,0,0).hurtbox , duration = 2 }) pat:update_frame(309,0,2, { tex_index = 551, tex_h = 128 , tex_w = 128 , tex_offset_x = baseX +42-16 , tex_offset_y = baseY +baseY2 -58+16 , duration = 2 }) pat:update_frame(309,0,3, { tex_index = 551, tex_h = 128 , tex_w = 128 , tex_offset_x = baseX +42-16 , tex_offset_y = baseY +baseY2 -58+16 , hurtbox = pat:get_frame(309,0,2).hurtbox , duration = 2 }) pat:update_frame(309,0,4, { tex_index = 552, tex_h = 128 , tex_w = 128 , tex_offset_x = baseX +24-24 , tex_offset_y = baseY +baseY2 -4+32 , duration = 4 }) pat:update_frame(309,0,5, { tex_index = 553, tex_h = 128 , tex_w = 128 , tex_offset_x = baseX +12-24 , tex_offset_y = baseY +baseY2 -30+32 , duration = 5 }) pat:update_frame(309,0,6, { tex_index = 554, tex_h = 128 , tex_w = 128 , tex_offset_x = baseX -6-4 , tex_offset_y = baseY +baseY2 -40+32 , duration = 5 }) pat:update_frame(309,0,7, { tex_index = 555, tex_h = 128 , tex_w = 128 , tex_offset_x = baseX +4-0 , tex_offset_y = baseY +baseY2 -44+32 , duration = 5 }) pat:update_frame(309,0,8, { tex_index = 556, tex_h = 128 , tex_w = 128 , tex_offset_x = baseX +16+4 , tex_offset_y = baseY +baseY2 -36+32 , duration = 5 }) pat:update_frame(309,0,9, { tex_index = 557, tex_h = 128 , tex_w = 128 , tex_offset_x = baseX +28+8 , tex_offset_y = baseY +baseY2 -42+32 , hurtbox = pat:get_frame(6,2,4).hurtbox , duration = 5 }) pat:update_frame(309,0,10, { tex_index = 300 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +40 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(6,2,4).hurtbox , duration = 5 }) pat:update_frame(309,0,11, { tex_index = 301 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +46 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(6,2,4).hurtbox , duration = 5 }) pat:update_frame(309,0,12, { tex_index = 300 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +40 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(6,2,4).hurtbox , duration = 5 }) pat:update_frame(309,0,13, { tex_index = 301 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +46 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(6,2,4).hurtbox , duration = 5 }) end function mods.b2b(pat) -- char anim local baseX = 70 local baseY = 195 pat:update_frame(402,0,0, { tex_index = 32, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +36 , tex_offset_y = baseY -58 , hurtbox = pat:get_frame(304,0,0).hurtbox }) pat:update_frame(402,0,1, { tex_index = 32, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +36 , tex_offset_y = baseY -58 , hurtbox = pat:get_frame(304,0,0).hurtbox }) pat:update_frame(402,0,2, { tex_index = 33, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +52 , tex_offset_y = baseY -66 , hurtbox = pat:get_frame(304,0,0).hurtbox }) pat:update_frame(402,0,3, { tex_index = 33, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +52 , tex_offset_y = baseY -66 , hurtbox = pat:get_frame(304,0,0).hurtbox }) pat:update_frame(402,0,4, { tex_index = 34, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +62 , tex_offset_y = baseY -62 , hurtbox = pat:get_frame(304,0,3).hurtbox }) -- fires here pat:update_frame(402,0,5, { tex_index = 35, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +48 , tex_offset_y = baseY -60 , hurtbox = pat:get_frame(304,0,3).hurtbox , duration = 6 + 4}) pat:update_frame(402,0,6, { tex_index = 35, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +48 , tex_offset_y = baseY -60 , hurtbox = pat:get_frame(304,0,3).hurtbox }) pat:update_frame(402,0,7, { tex_index = 36, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +32 , tex_offset_y = baseY -60 , hurtbox = pat:get_frame(304,0,8).hurtbox }) pat:update_frame(402,0,8, { tex_index = 36, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +32 , tex_offset_y = baseY -60 , hurtbox = pat:get_frame(304,0,8).hurtbox }) pat:update_frame(402,0,9, { tex_index = 37, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +26 , tex_offset_y = baseY -62 , hurtbox = pat:get_frame(304,0,8).hurtbox }) pat:update_frame(402,0,10, { tex_index = 37, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +26 , tex_offset_y = baseY -62 , hurtbox = pat:get_frame(304,0,8).hurtbox }) --[[ pat:update_frame(402,0,0, { tex_index = 32, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +36 , tex_offset_y = baseY -58 }) pat:update_frame(402,0,1, { tex_index = 63, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +22 , tex_offset_y = baseY -64 , hurtbox = pat:get_frame(2,0,0).hurtbox }) pat:update_frame(402,0,2, { tex_index = 61, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +2 , tex_offset_y = baseY -16 , hurtbox = pat:get_frame(2,0,0).hurtbox }) pat:update_frame(402,0,3, { tex_index = 62, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +16 , tex_offset_y = baseY -22 , hurtbox = pat:get_frame(2,0,0).hurtbox }) pat:update_frame(402,0,4, { tex_index = 61, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +2 , tex_offset_y = baseY -16 , hurtbox = pat:get_frame(2,0,0).hurtbox }) --fires here pat:update_frame(402,0,5, { tex_index = 62, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +16 , tex_offset_y = baseY -22 , hurtbox = pat:get_frame(2,0,0).hurtbox }) pat:update_frame(402,0,6, { tex_index = 61, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +2 , tex_offset_y = baseY -16 , hurtbox = pat:get_frame(2,0,0).hurtbox }) pat:update_frame(402,0,7, { tex_index = 62, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +16 , tex_offset_y = baseY -22 , hurtbox = pat:get_frame(2,0,0).hurtbox }) pat:update_frame(402,0,8, { tex_index = 63, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +22 , tex_offset_y = baseY -64 , hurtbox = pat:get_frame(2,0,0).hurtbox }) pat:update_frame(402,0,9, { tex_index = 32, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +36 , tex_offset_y = baseY -58 }) pat:remove_frame(402,0,10)]]-- for idx = 0 , 16 do pat:split_frame(807,0,0,1,1) end --[[ pat:update_frame(807,0,0, { tex_index = 424, tex_h = 160 , tex_w = 160 , tex_offset_x = 26 , tex_offset_y = 42 }) pat:update_frame(807,0,1, { tex_index = 425, tex_h = 160 , tex_w = 160 , tex_offset_x = 40 , tex_offset_y = 60 }) pat:update_frame(807,0,2, { tex_index = 426, tex_h = 160 , tex_w = 160 , tex_offset_x = 57 , tex_offset_y = 102 }) pat:update_frame(807,0,3, { tex_index = 427, tex_h = 160 , tex_w = 160 , tex_offset_x = 73 , tex_offset_y = 110 }) pat:update_frame(807,0,4, { tex_index = 428, tex_h = 160 , tex_w = 160 , tex_offset_x = 71 , tex_offset_y = 113 }) pat:update_frame(807,0,5, { tex_index = 429, tex_h = 160 , tex_w = 160 , tex_offset_x = 74 , tex_offset_y = 116 }) pat:update_frame(807,0,6, { tex_index = 430, tex_h = 160 , tex_w = 160 , tex_offset_x = 70 , tex_offset_y = 118 }) pat:update_frame(807,0,7, { tex_index = 431, tex_h = 160 , tex_w = 160 , tex_offset_x = 81 , tex_offset_y = 117 }) pat:update_frame(807,0,8, { tex_index = 431, tex_h = 160 , tex_w = 160 , tex_offset_x = 81 , tex_offset_y = 117 })]]-- for idx = 0 , 17 do pat:update_frame(807,0,idx,function(frame) frame.scale_x = 100 frame.scale_y = 100 --frame.angle_z = -180 -40*idx frame.tex_index = 187 --frame.color_g = 85 --frame.color_b = 85 frame.damage = 600 frame.limit = 20 frame.proration = 900 frame.attack_level = AL_HEAVY frame.hitstop_enemy = 10 frame.sp_damage = 200 end) pat:update_frame(807,1,idx,function(frame) frame.scale_x = 200 frame.scale_y = 200 frame.tex_offset_x = 32 frame.tex_offset_y = 32 frame.tex_w = 64 frame.tex_h = 64 --frame.angle_z = -180 -40*idx --frame.tex_index = 187 --frame.color_g = 85 --frame.color_b = 85 end) pat:update_frame(807,2,idx,function(frame) frame.scale_x = 200 frame.scale_y = 200 frame.tex_offset_x = 32 frame.tex_offset_y = 32 frame.tex_w = 64 frame.tex_h = 64 frame.tex_index = 189 --frame.angle_z = -180 -40*idx --frame.tex_index = 187 --frame.color_g = 85 --frame.color_b = 85 end) end end function mods.d22_new(pat) local baseX = 70 local baseY = 195 local baseX2 = 12 local baseY2 = 10 pat:update_frame(540,0,2, {duration = 2}) pat:update_frame(540,0,5, {duration = 2}) pat:update_frame(540,0,0, { tex_index = 550, tex_h = 128 , tex_w = 128 , tex_offset_x = baseX +44-8 , tex_offset_y = baseY +baseY2 -32+8 , hurtbox = pat:get_frame(309,0,0).hurtbox , duration = 2 }) pat:update_frame(540,0,1, { tex_index = 550, tex_h = 128 , tex_w = 128 , tex_offset_x = baseX +44-8 , tex_offset_y = baseY +baseY2 -32+8 , hurtbox = pat:get_frame(309,0,0).hurtbox , duration = 1 }) pat:update_frame(540,0,2, { tex_index = 550, tex_h = 128 , tex_w = 128 , tex_offset_x = baseX +44-8 , tex_offset_y = baseY +baseY2 -32+8 , hurtbox = pat:get_frame(309,0,0).hurtbox , duration = 1 }) pat:update_frame(540,0,3, { tex_index = 551, tex_h = 128 , tex_w = 128 , tex_offset_x = baseX +42-16 , tex_offset_y = baseY +baseY2 -58+16 , hurtbox = pat:get_frame(309,0,2).hurtbox , duration = 2 }) pat:update_frame(540,0,4, { tex_index = 551, tex_h = 128 , tex_w = 128 , tex_offset_x = baseX +42-16 , tex_offset_y = baseY +baseY2 -58+16 , hurtbox = pat:get_frame(309,0,2).hurtbox , duration = 1 }) pat:update_frame(540,0,5, { tex_index = 551, tex_h = 128 , tex_w = 128 , tex_offset_x = baseX +42-16 , tex_offset_y = baseY +baseY2 -58+16 , hurtbox = pat:get_frame(309,0,2).hurtbox , duration = 1 }) pat:update_frame(540,1,0, { tex_index = 551, tex_h = 128 , tex_w = 128 , tex_offset_x = baseX +42-16 , tex_offset_y = baseY +baseY2 -58+16 , hurtbox = pat:get_frame(309,0,2).hurtbox }) pat:split_frame(540,3,6,1,1) pat:update_frame(540,3,0, { tex_index = 552, tex_h = 128 , tex_w = 128 , tex_offset_x = baseX +24-24 , tex_offset_y = baseY +baseY2 -4+32 , hurtbox = pat:get_frame(309,0,4).hurtbox , duration = 2 }) pat:update_frame(540,3,1, { tex_index = 552, tex_h = 128 , tex_w = 128 , tex_offset_x = baseX +24-24 , tex_offset_y = baseY +baseY2 -4+32 , hurtbox = pat:get_frame(309,0,4).hurtbox , duration = 2 }) pat:update_frame(540,3,2, { tex_index = 553, tex_h = 128 , tex_w = 128 , tex_offset_x = baseX +12-24 , tex_offset_y = baseY +baseY2 -30+32 , hurtbox = pat:get_frame(309,0,5).hurtbox , duration = 4 }) pat:update_frame(540,3,3, { tex_index = 554, tex_h = 128 , tex_w = 128 , tex_offset_x = baseX -6-4 , tex_offset_y = baseY +baseY2 -40+32 , hurtbox = pat:get_frame(309,0,6).hurtbox , duration = 4 }) pat:update_frame(540,3,4, { tex_index = 555, tex_h = 128 , tex_w = 128 , tex_offset_x = baseX +4-0 , tex_offset_y = baseY +baseY2 -44+32 , hurtbox = pat:get_frame(309,0,7).hurtbox , duration = 2 }) pat:update_frame(540,3,5, { tex_index = 555, tex_h = 128 , tex_w = 128 , tex_offset_x = baseX +4-0 , tex_offset_y = baseY +baseY2 -44+32 , hurtbox = pat:get_frame(309,0,7).hurtbox , duration = 2 }) pat:update_frame(540,3,6, { tex_index = 556, tex_h = 128 , tex_w = 128 , tex_offset_x = baseX +16+4 , tex_offset_y = baseY +baseY2 -36+32 , hurtbox = pat:get_frame(309,0,8).hurtbox , duration = 4 }) pat:update_frame(540,3,7, { tex_index = 557, tex_h = 128 , tex_w = 128 , tex_offset_x = baseX +28+8 , tex_offset_y = baseY +baseY2 -42+32 , hurtbox = pat:get_frame(309,0,9).hurtbox , duration = 40 }) for idx = 3 , 7 do pat:update_frame(540,3,idx,function(frame) unset_fflag(frame,FF_CANCEL) if (idx >= 4) then set_fflag(frame,FF_CANCEL) end if (idx >= 6) then set_fflag(frame,FF_MOTION_CANCEL) end end) end pat:get_sequence(540,3):set_priority(50,100) pat:update_frame(540,1,0,{fflags = 0x00000044}) pat:get_sequence(540,1):set_priority(50,100) for idx = 8 , 9 do pat:split_frame(820,4,7,1,1) pat:split_frame(820,6,7,1,1) end pat:update_frame(820,4,0,function(frame) frame.tex_index = 549 frame.blending_mode = 0 frame.tex_w = 32 frame.tex_h = 32 frame.scale_x = 150 frame.scale_y = 150 frame.tex_offset_x = 16 frame.tex_offset_y = 16 frame.attackbox = pat:get_frame(0,0,0).attackbox frame.hurtboxbox = pat:get_frame(0,0,0).attackbox frame.duration = 1 end) pat:update_frame(820,6,0,function(frame) frame.tex_index = 549 frame.blending_mode = 0 frame.tex_w = 32 frame.tex_h = 32 frame.scale_x = 150 frame.scale_y = 150 frame.tex_offset_x = 16 frame.tex_offset_y = 16 frame.attackbox = pat:get_frame(0,0,0).attackbox frame.hurtboxbox = pat:get_frame(0,0,0).attackbox frame.duration = 1 end) pat:update_frame(820,4,9,function(frame) frame.tex_w = 0 frame.duration = 200 frame.attackbox = pat:get_frame(0,0,0).attackbox frame.hurtboxbox = pat:get_frame(0,0,0).attackbox end) pat:update_frame(820,6,9,function(frame) frame.tex_w = 0 frame.duration = 200 frame.attackbox = pat:get_frame(0,0,0).attackbox frame.hurtboxbox = pat:get_frame(0,0,0).attackbox end) local baseFX = 0 local baseFY = 0 pat:update_frame(820,4,1, { tex_index = 432 , tex_h = 160 , tex_w = 160 , tex_offset_x = baseFX +67 , tex_offset_y = baseFY +67 }) pat:update_frame(820,4,2, { tex_index = 433 , tex_h = 160 , tex_w = 160 , tex_offset_x = baseFX +74 , tex_offset_y = baseFY +68 }) pat:update_frame(820,4,3, { tex_index = 434 , tex_h = 160 , tex_w = 160 , tex_offset_x = baseFX +67 , tex_offset_y = baseFY +72 }) pat:update_frame(820,4,4, { tex_index = 435 , tex_h = 160 , tex_w = 160 , tex_offset_x = baseFX +76 , tex_offset_y = baseFY +71 }) pat:update_frame(820,4,5, { tex_index = 436 , tex_h = 160 , tex_w = 160 , tex_offset_x = baseFX +71 , tex_offset_y = baseFY +68 }) pat:update_frame(820,4,6, { tex_index = 437 , tex_h = 160 , tex_w = 160 , tex_offset_x = baseFX +72 , tex_offset_y = baseFY +63 }) pat:update_frame(820,4,7, { tex_index = 438 , tex_h = 160 , tex_w = 160 , tex_offset_x = baseFX +70 , tex_offset_y = baseFY +71 }) pat:update_frame(820,4,8, { tex_index = 439 , tex_h = 160 , tex_w = 160 , tex_offset_x = baseFX +80 , tex_offset_y = baseFY +71 }) pat:update_frame(820,6,1, { tex_index = 432 , tex_h = 160 , tex_w = 160 , tex_offset_x = baseFX +67 , tex_offset_y = baseFY +67 }) pat:update_frame(820,6,2, { tex_index = 433 , tex_h = 160 , tex_w = 160 , tex_offset_x = baseFX +74 , tex_offset_y = baseFY +68 }) pat:update_frame(820,6,3, { tex_index = 434 , tex_h = 160 , tex_w = 160 , tex_offset_x = baseFX +67 , tex_offset_y = baseFY +72 }) pat:update_frame(820,6,4, { tex_index = 435 , tex_h = 160 , tex_w = 160 , tex_offset_x = baseFX +76 , tex_offset_y = baseFY +71 }) pat:update_frame(820,6,5, { tex_index = 436 , tex_h = 160 , tex_w = 160 , tex_offset_x = baseFX +71 , tex_offset_y = baseFY +68 }) pat:update_frame(820,6,6, { tex_index = 437 , tex_h = 160 , tex_w = 160 , tex_offset_x = baseFX +72 , tex_offset_y = baseFY +63 }) pat:update_frame(820,6,7, { tex_index = 438 , tex_h = 160 , tex_w = 160 , tex_offset_x = baseFX +70 , tex_offset_y = baseFY +71 }) pat:update_frame(820,6,8, { tex_index = 439 , tex_h = 160 , tex_w = 160 , tex_offset_x = baseFX +80 , tex_offset_y = baseFY +71 }) for idx = 1 , 8 do for idy = 4 , 6 do if (idy == 5) then else pat:update_frame(820,idy,idx,function(frame) frame.scale_x = 150 frame.scale_y = 150 frame.duration = 2 frame.damage = 700 frame.launch_vector_x = 2450 frame.launch_vector_y = 600 frame.hit_ani_air = 71 frame.hit_ani_ground = 71 frame.limit = 20 frame.untech = 60 frame.proration = 800 frame.attack_level = AL_HEAVY frame.blockstop_enemy = 10 frame.hitstop_enemy = 10 frame.attackbox[1].x1 = -70 frame.attackbox[1].x2 = 70 frame.attackbox[1].y1 = -70 frame.attackbox[1].y2 = 70 frame.sp_damage = 75 if (idy == 4) then frame.damage = 1200 frame.scale_x = 300 frame.scale_y = 300 frame.limit = 40 frame.attackbox[1].x1 = -120 frame.attackbox[1].x2 = 120 frame.attackbox[1].y1 = -120 frame.attackbox[1].y2 = 120 end frame.attackbox[2] = pat:get_frame(0,0,0).attackbox[1] frame.hit_sfx = 4 end) end end end for idx = 2 , 3 do pat:update_frame(820,idx,0,function(frame) frame.tex_w = 0 end) end for idx = 0 , 17 do pat:update_frame(820,5,idx,function(frame) frame.tex_w = 0 end) end for idx = 1 , 23 do pat:split_frame(820,4,0,1,1) end for idx = 0 , 24 do pat:update_frame(820,4,idx,{angle_z = idx*15 , scale_x = 200 , scale_y = 200}) end for idx = 1 , 27 do pat:split_frame(820,6,0,1,1) end for idx = 0 , 28 do pat:update_frame(820,6,idx,{angle_z = idx*15}) end end function mods.bullet_6c(pat) -- char anim local baseX = 70 local baseY = 195 --j6c local baseY2 = 12 pat:update_frame(415,0,0, { tex_index = 22, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +18 , tex_offset_y = baseY +baseY2 -12 , hurtbox = pat:get_frame(415,0,6).hurtbox }) pat:update_frame(415,0,0,function(frame) frame.hurtbox[2].x2=frame.hurtbox[2].x2 -60 frame.hurtbox[2].y1=frame.hurtbox[2].y1 +20 frame.hurtbox[2].y2=frame.hurtbox[2].y2 +20 frame.hurtbox[1].y2=frame.hurtbox[1].y2 +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 +10 frame.hurtbox[4].y1=frame.hurtbox[4].y1 +20 frame.hurtbox[4].y2=frame.hurtbox[4].y2 +20 end) pat:update_frame(415,0,1, { tex_index = 23, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +38 , tex_offset_y = baseY +baseY2 -14 , hurtbox = pat:get_frame(415,0,0).hurtbox }) pat:update_frame(415,0,2, { tex_index = 24, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +46 , tex_offset_y = baseY +baseY2 -18 , hurtbox = pat:get_frame(415,0,0).hurtbox }) pat:update_frame(415,0,3, { tex_index = 25, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +46 , tex_offset_y = baseY +baseY2 -20 , hurtbox = pat:get_frame(415,0,0).hurtbox }) pat:update_frame(415,0,4, { tex_index = 25, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +46 , tex_offset_y = baseY +baseY2 -20 , hurtbox = pat:get_frame(415,0,0).hurtbox }) pat:update_frame(415,0,5, { tex_index = 25, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +46 , tex_offset_y = baseY +baseY2 -20 , hurtbox = pat:get_frame(415,0,0).hurtbox }) pat:update_frame(415,0,6, { tex_index = 26, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +48 , tex_offset_y = baseY +baseY2 -22 , hurtbox = pat:get_frame(415,0,0).hurtbox , duration = 2 + 6 }) -- fires here pat:update_frame(415,0,7, { tex_index = 27, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +50 , tex_offset_y = baseY +baseY2 -20 , hurtbox = pat:get_frame(415,0,0).hurtbox }) pat:update_frame(415,0,8, { tex_index = 28, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +48 , tex_offset_y = baseY +baseY2 -18 , hurtbox = pat:get_frame(415,0,0).hurtbox }) pat:update_frame(415,0,9, { tex_index = 29, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +34 , tex_offset_y = baseY +baseY2 -20 , hurtbox = pat:get_frame(415,0,0).hurtbox }) pat:update_frame(415,0,10, { tex_index = 23, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +38 , tex_offset_y = baseY +baseY2 -14 , hurtbox = pat:get_frame(415,0,0).hurtbox }) pat:update_frame(415,0,11, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +6 , tex_offset_y = baseY +baseY2/2 +2 , hurtbox = pat:get_frame(6,2,2).hurtbox }) pat:update_frame(415,2,0, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -30 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(415,2,1, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -30 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(415,2,2, { tex_index = 298 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -48 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(411,0,7, { duration = 5 + 8}) for idx = 0 , 29 do pat:split_frame(804,0,0,1,1) end local baseY = 92/2 pat:update_frame(804,0,0, { tex_index = 130 , tex_h = 256 , tex_w = 256 , tex_offset_x = 62 , tex_offset_y = 57 +baseY }) pat:update_frame(804,0,1, { tex_index = 131 , tex_h = 256 , tex_w = 256 , tex_offset_x = 66 , tex_offset_y = 57 +baseY }) pat:update_frame(804,0,2, { tex_index = 132 , tex_h = 256 , tex_w = 256 , tex_offset_x = 70 , tex_offset_y = 59 +baseY }) pat:update_frame(804,0,3, { tex_index = 133 , tex_h = 256 , tex_w = 256 , tex_offset_x = 68 , tex_offset_y = 59 +baseY }) pat:update_frame(804,0,4, { tex_index = 134 , tex_h = 256 , tex_w = 256 , tex_offset_x = 74 , tex_offset_y = 60 +baseY }) pat:update_frame(804,0,5, { tex_index = 135 , tex_h = 256 , tex_w = 256 , tex_offset_x = 80 , tex_offset_y = 63 +baseY }) pat:update_frame(804,0,6, { tex_index = 136 , tex_h = 256 , tex_w = 256 , tex_offset_x = 84 , tex_offset_y = 66 +baseY }) pat:update_frame(804,0,7, { tex_index = 137 , tex_h = 256 , tex_w = 256 , tex_offset_x = 87 , tex_offset_y = 69 +baseY }) pat:update_frame(804,0,8, { tex_index = 138 , tex_h = 256 , tex_w = 256 , tex_offset_x = 99 , tex_offset_y = 73 +baseY }) pat:update_frame(804,0,9, { tex_index = 139 , tex_h = 256 , tex_w = 256 , tex_offset_x = 146 , tex_offset_y = 81 +baseY }) pat:update_frame(804,0,10, { tex_index = 140 , tex_h = 256 , tex_w = 256 , tex_offset_x = 139 , tex_offset_y = 81 +baseY }) pat:update_frame(804,0,11, { tex_index = 141 , tex_h = 256 , tex_w = 256 , tex_offset_x = 144 , tex_offset_y = 85 +baseY }) pat:update_frame(804,0,12, { tex_index = 142 , tex_h = 256 , tex_w = 256 , tex_offset_x = 148 , tex_offset_y = 87 +baseY }) pat:update_frame(804,0,13, { tex_index = 143 , tex_h = 256 , tex_w = 256 , tex_offset_x = 144 , tex_offset_y = 81 +baseY }) pat:update_frame(804,0,14, { tex_index = 144 , tex_h = 256 , tex_w = 256 , tex_offset_x = 150 , tex_offset_y = 85 +baseY }) pat:update_frame(804,0,15, { tex_index = 145 , tex_h = 256 , tex_w = 256 , tex_offset_x = 154 , tex_offset_y = 89 +baseY }) pat:update_frame(804,0,16, { tex_index = 146 , tex_h = 256 , tex_w = 256 , tex_offset_x = 148 , tex_offset_y = 85 +baseY }) pat:update_frame(804,0,17, { tex_index = 147 , tex_h = 256 , tex_w = 256 , tex_offset_x = 145 , tex_offset_y = 86 +baseY }) for idx = 0 , 50 do pat:update_frame(804,0,idx,function (frame) frame.hitstop_enemy = 2 frame.blending_mode=1 frame.blockstop_enemy = 10 frame.attack_level = AL_HEAVY --frame.launch_vector_x = 1000 --frame.launch_vector_y = 2250 frame.launch_vector_x = 2000 frame.launch_vector_y = 1250 frame.untech = 45 frame.hit_sfx = 4 frame.hit_effect = 4 frame.limit = 40 frame.damage = 1000 frame.proration = 800 --frame.hit_ani_air = 71 --frame.hit_ani_ground = 71 --frame.combo_correction = CC_LIFT_ATTACK frame.hit_ani_air = 74 frame.hit_ani_ground = 74 frame.combo_correction = CC_SMASH_ATTACK if (idx > 17) then copy_sprite(frame,pat:get_frame(804,0,10+(idx-17)%7)) else --frame.tex_offset_x = frame.tex_offset_x + 10*idx end end) end for idx = 0 , 50 do pat:update_frame(804,0,idx,function (frame) frame.tex_offset_x = frame.tex_offset_x + 30 + 5*(10-idx) frame.attackbox[3].x1 = frame.attackbox[3].x1 - 60 - 10*(10-idx) - 20 frame.attackbox[3].x2 = frame.attackbox[3].x2 - 60 - 10*(10-idx) + 20 frame.attackbox[1].x1 = frame.attackbox[3].x1 frame.attackbox[1].x2 = frame.attackbox[3].x2 frame.attackbox[2].x1 = frame.attackbox[2].x1 - 60 - 10*(10-idx) - 20 frame.attackbox[2].x2 = frame.attackbox[2].x2 - 60 - 10*(10-idx) + 20 frame.attackbox[2].y2 = frame.attackbox[2].y2 + 10 end) end pat:update_frame(804,1,0, { tex_index = 145 , tex_h = 256 , tex_w = 256 , tex_offset_x = 154 , tex_offset_y = 89 +baseY , scale_x = 250 }) pat:update_frame(804,1,1, { tex_index = 146 , tex_h = 256 , tex_w = 256 , tex_offset_x = 148 , tex_offset_y = 85 +baseY , scale_x = 260 }) pat:update_frame(804,1,2, { tex_index = 147 , tex_h = 256 , tex_w = 256 , tex_offset_x = 145 , tex_offset_y = 86 +baseY , scale_x = 270 }) pat:update_frame(804,1,3, { tex_index = 148 , tex_h = 256 , tex_w = 256 , tex_offset_x = 150 , tex_offset_y = 87 +baseY , scale_x = 280 }) pat:update_frame(804,1,4, { tex_index = 149 , tex_h = 256 , tex_w = 256 , tex_offset_x = 159 , tex_offset_y = 81 +baseY , scale_x = 290 }) pat:update_frame(804,1,5, { tex_index = 150 , tex_h = 256 , tex_w = 256 , tex_offset_x = 141 , tex_offset_y = 76 +baseY , scale_x = 310 }) pat:update_frame(804,1,6, { tex_index = 151 , tex_h = 256 , tex_w = 256 , tex_offset_x = 144 , tex_offset_y = 85 +baseY , scale_x = 320 }) pat:update_frame(804,1,7, { tex_index = 152 , tex_h = 256 , tex_w = 256 , tex_offset_x = 147 , tex_offset_y = 81 +baseY , scale_x = 330 }) pat:update_frame(804,1,8, { tex_index = 153 , tex_h = 256 , tex_w = 256 , tex_offset_x = 146 , tex_offset_y = 86 +baseY , scale_x = 340 }) for idx = 0 , 8 do pat:update_frame(804,1,idx,function (frame) frame.tex_offset_x = frame.tex_offset_x - 80 --frame.tex_w = 0 end) end end function mods.b_bullets(pat) -- char anim local baseX = 70 local baseY = 195 --5b pat:update_frame(400,0,0, { tex_index = 47, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +14 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(400,0,1, { tex_index = 48, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +42 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(400,0,2, { tex_index = 49, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +22 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(400,0,3, { tex_index = 50, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +24 , tex_offset_y = baseY -6 , hurtbox = pat:get_frame(0,0,0).hurtbox }) -- fires here pat:update_frame(400,0,4, { tex_index = 51, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +26 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 3 + 4 }) pat:update_frame(400,0,5, { tex_index = 52, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +48 , tex_offset_y = baseY -6 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(400,0,6, { tex_index = 53, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +32 , tex_offset_y = baseY -6 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(400,0,7, { tex_index = 54, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -6 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(400,0,8, { tex_index = 54, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -6 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(400,1,0, { tex_index = 49, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +22 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(400,1,1, { tex_index = 50, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +24 , tex_offset_y = baseY -6 , hurtbox = pat:get_frame(0,0,0).hurtbox }) -- fires here pat:update_frame(400,1,2, { tex_index = 51, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +26 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 3 + 4 }) pat:update_frame(400,1,3, { tex_index = 52, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +48 , tex_offset_y = baseY -6 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(400,1,4, { tex_index = 53, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +32 , tex_offset_y = baseY -6 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(400,1,5, { tex_index = 54, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -6 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(400,1,6, { tex_index = 54, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -6 , hurtbox = pat:get_frame(0,0,0).hurtbox }) --6b pat:update_frame(401,0,0, { tex_index = 47, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +14 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(401,0,1, { tex_index = 48, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +42 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(401,0,2, { tex_index = 49, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +22 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(401,0,3, { tex_index = 50, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +24 , tex_offset_y = baseY -6 , hurtbox = pat:get_frame(0,0,0).hurtbox }) -- fires here pat:update_frame(401,0,4, { tex_index = 51, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +26 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 3 + 4 }) pat:update_frame(401,0,5, { tex_index = 52, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +48 , tex_offset_y = baseY -6 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(401,0,6, { tex_index = 53, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +32 , tex_offset_y = baseY -6 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(401,0,7, { tex_index = 54, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -6 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(401,0,8, { tex_index = 54, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -6 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 5+1 }) pat:update_frame(401,1,0, { tex_index = 49, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +22 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(401,1,1, { tex_index = 50, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +24 , tex_offset_y = baseY -6 , hurtbox = pat:get_frame(0,0,0).hurtbox }) -- fires here pat:update_frame(401,1,2, { tex_index = 51, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +26 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 3 + 4 }) pat:update_frame(401,1,3, { tex_index = 52, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +48 , tex_offset_y = baseY -6 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(401,1,4, { tex_index = 53, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +32 , tex_offset_y = baseY -6 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(401,1,5, { tex_index = 54, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -6 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(401,1,6, { tex_index = 54, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -6 , hurtbox = pat:get_frame(0,0,0).hurtbox}) --jb pat:update_frame(404,0,0, { tex_index = 47, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +14 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(404,0,1, { tex_index = 48, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +42 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(404,0,2, { tex_index = 55, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +32 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(414,0,3).hurtbox }) pat:update_frame(404,0,3, { tex_index = 50, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +24 , tex_offset_y = baseY -6 , hurtbox = pat:get_frame(6,1,0).hurtbox }) -- fires here pat:update_frame(404,0,4, { tex_index = 51, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +26 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 3 + 4 }) pat:update_frame(404,0,5, { tex_index = 52, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +48 , tex_offset_y = baseY -6 , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(404,0,6, { tex_index = 53, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +32 , tex_offset_y = baseY -6 , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(404,0,7, { tex_index = 54, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -6 , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(404,0,8, { tex_index = 54, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -6 , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(404,1,0, { tex_index = 55, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +32 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(414,0,3).hurtbox }) pat:update_frame(404,1,1, { tex_index = 50, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +24 , tex_offset_y = baseY -6 , hurtbox = pat:get_frame(6,1,0).hurtbox }) -- fires here pat:update_frame(404,1,2, { tex_index = 51, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +26 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 3 + 4 }) pat:update_frame(404,1,3, { tex_index = 52, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +48 , tex_offset_y = baseY -6 , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(404,1,4, { tex_index = 53, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +32 , tex_offset_y = baseY -6 , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(404,1,5, { tex_index = 54, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -6 , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(404,1,6, { tex_index = 54, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -6 , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(404,2,0, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -30 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(404,2,1, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -30 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(404,2,2, { tex_index = 298 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -48 , hurtbox = pat:get_frame(0,0,0).hurtbox }) --j2b pat:update_frame(406,0,0, { tex_index = 47, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +14 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(406,0,1, { tex_index = 48, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +42 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(406,0,2, { tex_index = 55, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +32 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(414,0,3).hurtbox }) pat:update_frame(406,0,3, { tex_index = 50, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +24 , tex_offset_y = baseY -6 , hurtbox = pat:get_frame(6,1,0).hurtbox }) -- fires here pat:update_frame(406,0,4, { tex_index = 51, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +26 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 3 + 4 }) pat:update_frame(406,0,5, { tex_index = 52, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +48 , tex_offset_y = baseY -6 , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(406,0,6, { tex_index = 53, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +32 , tex_offset_y = baseY -6 , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(406,0,7, { tex_index = 54, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -6 , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(406,0,8, { tex_index = 54, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -6 , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(406,1,0, { tex_index = 55, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +32 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(414,0,3).hurtbox }) pat:update_frame(406,1,1, { tex_index = 50, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +24 , tex_offset_y = baseY -6 , hurtbox = pat:get_frame(6,1,0).hurtbox }) -- fires here pat:update_frame(406,1,2, { tex_index = 51, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +26 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 3 + 4 }) pat:update_frame(406,1,3, { tex_index = 52, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +48 , tex_offset_y = baseY -6 , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(406,1,4, { tex_index = 53, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +32 , tex_offset_y = baseY -6 , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(406,1,5, { tex_index = 54, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -6 , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(406,1,6, { tex_index = 54, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -6 , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(406,2,0, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -30 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(406,2,1, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -30 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(406,2,2, { tex_index = 298 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -48 , hurtbox = pat:get_frame(0,0,0).hurtbox }) for idx = 0 , 290 do pat:split_frame(800,0,0,1,1) end for idx = 0 , 295 do pat:update_frame(800,0,idx,function (frame) frame.hitstop_self = 5 frame.hitstop_enemy = 10 frame.blockstop_enemy = 5 frame.blockstop_self = 5 frame.attack_level = AL_MEDIUM frame.attackbox[1].x1 = frame.attackbox[1].x1 - 20 frame.attackbox[1].x2 = frame.attackbox[1].x2 - 10 frame.attackbox[1].y1 = frame.attackbox[1].y1 - 2 frame.attackbox[1].y2 = frame.attackbox[1].y2 + 2 frame.hurtbox[1] = frame.attackbox[1] frame.tex_index = 124 frame.tex_h = 120 frame.tex_w = 120 frame.tex_offset_x = 79 frame.tex_offset_y = 46 frame.scale_x = 50 frame.scale_y = 50 frame.damage = 100 frame.proration = 970 frame.limit = 5 frame.sp_damage = frame.sp_damage*1.5*0.35 frame.card_gain_hit = 20 frame.card_gain_block = 20 if (idx%8==0) then frame.scale_y = 50 end if (idx%8==1) then frame.scale_y = 40 end if (idx%8==2) then frame.scale_y = 30 end if (idx%8==3) then frame.scale_y = 20 end if (idx%8==4) then frame.scale_y = 10 end if (idx%8==5) then frame.scale_y = 20 end if (idx%8==6) then frame.scale_y = 30 end if (idx%8==7) then frame.scale_y = 40 end --set_aflag(frame,AF_COUNTER_HIT) local scalemod = .3*100/frame.scale_x --[[ local xmod = -2.5*idx 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) end for idx = 0 , 17-6 do pat:remove_frame(800,1,0) end pat:update_frame(800,1,0, { tex_index = 158, tex_h = 120 , tex_w = 120 , tex_offset_x = 62 , tex_offset_y = 32 , scale_x = 200 , scale_y = 200 }) pat:update_frame(800,1,1, { tex_index = 125, tex_h = 120 , tex_w = 120 , tex_offset_x = 85 , tex_offset_y = 38 , scale_x = 200 , scale_y = 200 }) pat:update_frame(800,1,2, { tex_index = 126, tex_h = 120 , tex_w = 120 , tex_offset_x = 80 , tex_offset_y = 38 , scale_x = 200 , scale_y = 200 }) pat:update_frame(800,1,3, { tex_index = 127, tex_h = 120 , tex_w = 120 , tex_offset_x = 81 , tex_offset_y = 38 , scale_x = 200 , scale_y = 200 }) pat:update_frame(800,1,4, { tex_index = 128, tex_h = 120 , tex_w = 120 , tex_offset_x = 74 , tex_offset_y = 38 , scale_x = 200 , scale_y = 200 }) pat:update_frame(800,1,5, { tex_index = 129, tex_h = 120 , tex_w = 120 , tex_offset_x = 70 , tex_offset_y = 37 , scale_x = 200 , scale_y = 200 }) end function mods.c_bullets(pat) --char anim local baseX = 70 local baseY = 195 pat:update_frame(410,0,0, { tex_index = 47, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +14 , tex_offset_y = baseY +4 }) pat:update_frame(410,0,1, { tex_index = 48, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +42 , tex_offset_y = baseY +2 , duration = 8-3 }) pat:update_frame(410,0,2, { tex_index = 49, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +22 , tex_offset_y = baseY -2 , duration = 3-1 }) pat:update_frame(410,0,3, { tex_index = 49, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +22 , tex_offset_y = baseY -2 , duration = 3-1 }) pat:update_frame(410,0,4, { tex_index = 50, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +24 , tex_offset_y = baseY -6 }) -- fires here pat:update_frame(410,0,5, { tex_index = 51, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +26 , tex_offset_y = baseY -4 }) pat:update_frame(410,0,6, { tex_index = 52, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +48 , tex_offset_y = baseY -6 }) pat:update_frame(410,0,7, { tex_index = 52, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +48 , tex_offset_y = baseY -6 }) pat:update_frame(410,0,8, { tex_index = 53, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +32 , tex_offset_y = baseY -6 }) pat:update_frame(410,0,9, { tex_index = 54, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -6 }) pat:update_frame(410,0,10, { tex_index = 54, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -6 }) pat:update_frame(410,1,0, { tex_index = 48, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +42 , tex_offset_y = baseY +2 , duration = 17-3 }) pat:update_frame(410,1,1, { tex_index = 49, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +22 , tex_offset_y = baseY -2 , duration = 3-1 }) pat:update_frame(410,1,2, { tex_index = 49, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +22 , tex_offset_y = baseY -2 , duration = 3-1 }) pat:update_frame(410,1,3, { tex_index = 50, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +24 , tex_offset_y = baseY -6 }) -- fires here pat:update_frame(410,1,4, { tex_index = 51, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +26 , tex_offset_y = baseY -4 }) pat:update_frame(410,1,5, { tex_index = 52, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +48 , tex_offset_y = baseY -6 }) pat:update_frame(410,1,6, { tex_index = 52, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +48 , tex_offset_y = baseY -6 }) pat:update_frame(410,1,7, { tex_index = 53, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +32 , tex_offset_y = baseY -6 }) pat:update_frame(410,1,8, { tex_index = 54, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -6 }) pat:update_frame(410,1,9, { tex_index = 54, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -6 }) --2c pat:update_frame(412,0,0, { tex_index = 47, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +14 , tex_offset_y = baseY +4 }) pat:update_frame(412,0,1, { tex_index = 48, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +42 , tex_offset_y = baseY +2 , duration = 8-3 }) pat:update_frame(412,0,2, { tex_index = 49, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +22 , tex_offset_y = baseY -2 , duration = 3-1 }) pat:update_frame(412,0,3, { tex_index = 49, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +22 , tex_offset_y = baseY -2 , duration = 3-1 }) pat:update_frame(412,0,4, { tex_index = 50, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +24 , tex_offset_y = baseY -6 }) -- fires here pat:update_frame(412,0,5, { tex_index = 51, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +26 , tex_offset_y = baseY -4 }) pat:update_frame(412,0,6, { tex_index = 52, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +48 , tex_offset_y = baseY -6 }) pat:update_frame(412,0,7, { tex_index = 52, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +48 , tex_offset_y = baseY -6 }) pat:update_frame(412,0,8, { tex_index = 53, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +32 , tex_offset_y = baseY -6 }) pat:update_frame(412,0,9, { tex_index = 54, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -6 }) pat:update_frame(412,0,10, { tex_index = 54, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -6 }) pat:update_frame(412,1,0, { tex_index = 48, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +42 , tex_offset_y = baseY +2 , duration = 17-3 }) pat:update_frame(412,1,1, { tex_index = 49, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +22 , tex_offset_y = baseY -2 , duration = 3-1 }) pat:update_frame(412,1,2, { tex_index = 49, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +22 , tex_offset_y = baseY -2 , duration = 3-1 }) pat:update_frame(412,1,3, { tex_index = 50, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +24 , tex_offset_y = baseY -6 }) -- fires here pat:update_frame(412,1,4, { tex_index = 51, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +26 , tex_offset_y = baseY -4 }) pat:update_frame(412,1,5, { tex_index = 52, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +48 , tex_offset_y = baseY -6 }) pat:update_frame(412,1,6, { tex_index = 52, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +48 , tex_offset_y = baseY -6 }) pat:update_frame(412,1,7, { tex_index = 53, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +32 , tex_offset_y = baseY -6 }) pat:update_frame(412,1,8, { tex_index = 54, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -6 }) pat:update_frame(412,1,9, { tex_index = 54, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -6 }) -- NEW pat:update_frame(410,0,0, { tex_index = 22, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +18 , tex_offset_y = baseY -12 , hurtbox = pat:get_frame(415,0,0).hurtbox }) pat:update_frame(410,0,0,function(frame) frame.hurtbox[3].y2 = frame.hurtbox[3].y2+10 frame.hurtbox[4].y2 = frame.hurtbox[4].y2+15 end) pat:update_frame(410,0,1, { tex_index = 23, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +38 , tex_offset_y = baseY -14 , hurtbox = pat:get_frame(410,0,0).hurtbox }) pat:update_frame(410,0,2, { tex_index = 24, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +46 , tex_offset_y = baseY -18 , hurtbox = pat:get_frame(410,0,0).hurtbox }) pat:update_frame(410,0,3, { tex_index = 25, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +46 , tex_offset_y = baseY -20 , hurtbox = pat:get_frame(410,0,0).hurtbox }) pat:update_frame(410,0,4, { tex_index = 26, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +48 , tex_offset_y = baseY -22 , hurtbox = pat:get_frame(410,0,0).hurtbox }) -- fires here pat:update_frame(410,0,5, { tex_index = 27, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +50 , tex_offset_y = baseY -20 , hurtbox = pat:get_frame(410,0,0).hurtbox })--, duration = 3 + 5 }) pat:update_frame(410,0,6, { tex_index = 28, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +48 , tex_offset_y = baseY -18 , hurtbox = pat:get_frame(410,0,0).hurtbox }) pat:update_frame(410,0,7, { tex_index = 29, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +34 , tex_offset_y = baseY -20 , hurtbox = pat:get_frame(410,0,0).hurtbox }) pat:update_frame(410,0,8, { tex_index = 29, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +34 , tex_offset_y = baseY -20 , hurtbox = pat:get_frame(410,0,0).hurtbox }) pat:update_frame(410,0,9, { tex_index = 23, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +38 , tex_offset_y = baseY -14 , hurtbox = pat:get_frame(410,0,0).hurtbox }) pat:update_frame(410,0,10, { tex_index = 22, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +18 , tex_offset_y = baseY -12 , hurtbox = pat:get_frame(410,0,0).hurtbox }) pat:update_frame(410,1,0, { tex_index = 23, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +38 , tex_offset_y = baseY -14 , hurtbox = pat:get_frame(410,0,0).hurtbox }) pat:update_frame(410,1,1, { tex_index = 24, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +46 , tex_offset_y = baseY -18 , hurtbox = pat:get_frame(410,0,0).hurtbox }) pat:update_frame(410,1,2, { tex_index = 25, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +46 , tex_offset_y = baseY -20 , hurtbox = pat:get_frame(410,0,0).hurtbox }) pat:update_frame(410,1,3, { tex_index = 26, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +48 , tex_offset_y = baseY -22 , hurtbox = pat:get_frame(410,0,0).hurtbox }) -- fires here pat:update_frame(410,1,4, { tex_index = 27, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +50 , tex_offset_y = baseY -20 , hurtbox = pat:get_frame(410,0,0).hurtbox })--, duration = 3 + 5 }) pat:update_frame(410,1,5, { tex_index = 28, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +48 , tex_offset_y = baseY -18 , hurtbox = pat:get_frame(410,0,0).hurtbox }) pat:update_frame(410,1,6, { tex_index = 29, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +34 , tex_offset_y = baseY -20 , hurtbox = pat:get_frame(410,0,0).hurtbox }) pat:update_frame(410,1,7, { tex_index = 29, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +34 , tex_offset_y = baseY -20 , hurtbox = pat:get_frame(410,0,0).hurtbox }) pat:update_frame(410,1,8, { tex_index = 23, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +38 , tex_offset_y = baseY -14 , hurtbox = pat:get_frame(410,0,0).hurtbox }) pat:update_frame(410,1,9, { tex_index = 22, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +18 , tex_offset_y = baseY -12 , hurtbox = pat:get_frame(410,0,0).hurtbox }) --j5c pat:update_frame(414,0,0, { tex_index = 47, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +14 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(414,0,1, { tex_index = 48, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +42 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(414,0,2, { tex_index = 48, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +42 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 4-2 }) pat:update_frame(414,0,3, { tex_index = 55, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +32 , tex_offset_y = baseY -4 }) pat:update_frame(414,0,3,function(frame) frame.hurtbox[2].x1 = frame.hurtbox[2].x1 + 50 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 + 60 end) pat:update_frame(414,0,4, { tex_index = 55, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +32 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(414,0,3).hurtbox , duration = 2-1 }) pat:update_frame(414,0,5, { tex_index = 55, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +32 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(414,0,3).hurtbox , duration = 2-1 }) pat:update_frame(414,0,6, { tex_index = 50, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +24 , tex_offset_y = baseY -6 , hurtbox = pat:get_frame(6,1,0).hurtbox }) -- fires here pat:update_frame(414,0,7, { tex_index = 51, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +26 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(414,0,8, { tex_index = 52, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +48 , tex_offset_y = baseY -6 , hurtbox = pat:get_frame(6,1,0).hurtbox })--, duration = 8 + 5 }) pat:update_frame(414,0,9, { tex_index = 53, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +32 , tex_offset_y = baseY -6 , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(414,0,10, { tex_index = 54, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -6 , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(414,0,11, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +6 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(6,2,2).hurtbox }) pat:update_frame(414,1,0, { tex_index = 55, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +32 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(414,0,3).hurtbox }) pat:update_frame(414,1,1, { tex_index = 55, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +32 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(414,0,3).hurtbox , duration = 2-1 }) pat:update_frame(414,1,2, { tex_index = 55, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +32 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(414,0,3).hurtbox , duration = 2-1 }) pat:update_frame(414,1,3, { tex_index = 50, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +24 , tex_offset_y = baseY -6 , hurtbox = pat:get_frame(6,1,0).hurtbox }) -- fires here pat:update_frame(414,1,4, { tex_index = 51, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +26 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(414,1,5, { tex_index = 52, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +48 , tex_offset_y = baseY -6 , hurtbox = pat:get_frame(6,1,0).hurtbox })--, duration = 8 + 5 }) pat:update_frame(414,1,6, { tex_index = 53, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +32 , tex_offset_y = baseY -6 , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(414,1,7, { tex_index = 54, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -6 , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(414,1,8, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +6 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(6,2,2).hurtbox }) pat:update_frame(414,2,0, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -30 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(414,2,1, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -30 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(414,2,2, { tex_index = 298 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -48 , hurtbox = pat:get_frame(6,0,1).hurtbox }) --j2c pat:update_frame(416,0,0, { tex_index = 47, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +14 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(416,0,1, { tex_index = 48, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +42 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(416,0,2, { tex_index = 48, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +42 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(416,0,3, { tex_index = 55, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +32 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(414,0,3).hurtbox , duration = 4-2 }) pat:update_frame(416,0,4, { tex_index = 55, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +32 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(414,0,3).hurtbox , duration = 2-1 }) pat:update_frame(416,0,5, { tex_index = 55, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +32 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(414,0,3).hurtbox , duration = 2-1 }) pat:update_frame(416,0,6, { tex_index = 50, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +24 , tex_offset_y = baseY -6 , hurtbox = pat:get_frame(6,1,0).hurtbox }) -- fires here pat:update_frame(416,0,7, { tex_index = 51, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +26 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(416,0,8, { tex_index = 52, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +48 , tex_offset_y = baseY -6 , hurtbox = pat:get_frame(6,1,0).hurtbox })--, duration = 8 + 5 }) pat:update_frame(416,0,9, { tex_index = 53, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +32 , tex_offset_y = baseY -6 , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(416,0,10, { tex_index = 54, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -6 , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(416,0,11, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +6 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(6,2,2).hurtbox }) pat:update_frame(416,1,0, { tex_index = 55, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +32 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(414,0,3).hurtbox }) pat:update_frame(416,1,1, { tex_index = 55, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +32 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(414,0,3).hurtbox , duration = 2-1 }) pat:update_frame(416,1,2, { tex_index = 55, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +32 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(414,0,3).hurtbox , duration = 2-1 }) pat:update_frame(416,1,3, { tex_index = 50, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +24 , tex_offset_y = baseY -6 , hurtbox = pat:get_frame(6,1,0).hurtbox }) -- fires here pat:update_frame(416,1,4, { tex_index = 51, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +26 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(416,1,5, { tex_index = 52, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +48 , tex_offset_y = baseY -6 , hurtbox = pat:get_frame(6,1,0).hurtbox })--, duration = 8 + 5 }) pat:update_frame(416,1,6, { tex_index = 53, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +32 , tex_offset_y = baseY -6 , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(416,1,7, { tex_index = 54, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -6 , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(416,1,8, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +6 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(6,2,2).hurtbox }) pat:update_frame(416,2,0, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -30 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(416,2,1, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -30 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(416,2,2, { tex_index = 298 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -48 , hurtbox = pat:get_frame(6,0,1).hurtbox }) for idx = 0 , 22 do pat:split_frame(801,0,0,1,1) pat:split_frame(801,2,0,1,1) end for idx = 0 , 23 do pat:update_frame(801,0,idx,function(frame) --frame.tex_offset_x = frame.tex_offset_x +40*idx frame.attackbox[2] = null --frame.attackbox[1].x1 = frame.attackbox[1].x1 - 60*idx --frame.attackbox[1].x2 = frame.attackbox[1].x2 - 60*idx 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.limit = 10 frame.duration=1 end) if (idx%3 == 0) then pat:update_frame(801,0,idx, { tex_index = 159, tex_h = 120 , tex_w = 120 , tex_offset_x = 40 , tex_offset_y = 48 , scale_x = 200 , scale_y = 200 }) elseif (idx%3 == 1) then pat:update_frame(801,0,idx, { tex_index = 160, tex_h = 120 , tex_w = 120 , tex_offset_x = 40 , tex_offset_y = 48 , scale_x = 200 , scale_y = 200 }) elseif (idx%3 == 2) then pat:update_frame(801,0,idx, { tex_index = 160, tex_h = 120 , tex_w = 120 , tex_offset_x = 40 , tex_offset_y = 48 , scale_x = 200 , scale_y = 200 })--pat:update_frame(801,0,idx, { tex_index = 493, tex_h = 120 , tex_w = 120 , tex_offset_x = 40 , tex_offset_y = 48 , scale_x = 200 , scale_y = 200 }) end end pat:update_frame(801,2,0, { tex_index = 240, tex_h = 120 , tex_w = 120 , tex_offset_x = 64 , tex_offset_y = 64 , scale_x = 200 , scale_y = 200 }) pat:update_frame(801,2,1, { tex_index = 240, tex_h = 120 , tex_w = 120 , tex_offset_x = 64 , tex_offset_y = 64 , scale_x = 200 , scale_y = 200 }) pat:update_frame(801,2,2, { tex_index = 240, tex_h = 120 , tex_w = 120 , tex_offset_x = 64 , tex_offset_y = 64 , scale_x = 200 , scale_y = 200 }) pat:update_frame(801,2,3, { tex_index = 154, tex_h = 120 , tex_w = 120 , tex_offset_x = 33 , tex_offset_y = 24 , scale_x = 200 , scale_y = 200 }) pat:update_frame(801,2,4, { tex_index = 155, tex_h = 120 , tex_w = 120 , tex_offset_x = 40 , tex_offset_y = 29 , scale_x = 200 , scale_y = 200 }) pat:update_frame(801,2,5, { tex_index = 156, tex_h = 120 , tex_w = 120 , tex_offset_x = 51 , tex_offset_y = 31 , scale_x = 200 , scale_y = 200 }) pat:update_frame(801,2,6, { tex_index = 157, tex_h = 120 , tex_w = 120 , tex_offset_x = 57 , tex_offset_y = 31 , scale_x = 200 , scale_y = 200 }) pat:update_frame(801,2,7, { tex_index = 158, tex_h = 120 , tex_w = 120 , tex_offset_x = 62 , tex_offset_y = 32 , scale_x = 200 , scale_y = 200 }) pat:update_frame(801,2,8, { tex_index = 125, tex_h = 120 , tex_w = 120 , tex_offset_x = 85 , tex_offset_y = 38 , scale_x = 200 , scale_y = 200 }) pat:update_frame(801,2,9, { tex_index = 126, tex_h = 120 , tex_w = 120 , tex_offset_x = 80 , tex_offset_y = 38 , scale_x = 200 , scale_y = 200 }) pat:update_frame(801,2,10, { tex_index = 127, tex_h = 120 , tex_w = 120 , tex_offset_x = 81 , tex_offset_y = 38 , scale_x = 200 , scale_y = 200 }) pat:update_frame(801,2,11, { tex_index = 128, tex_h = 120 , tex_w = 120 , tex_offset_x = 74 , tex_offset_y = 38 , scale_x = 200 , scale_y = 200 }) pat:update_frame(801,2,12, { tex_index = 129, tex_h = 120 , tex_w = 120 , tex_offset_x = 70 , tex_offset_y = 37 , scale_x = 200 , scale_y = 200 }) for idx = 0 , 23 do pat:update_frame(801,2,idx,function(frame) frame.tex_offset_x = frame.tex_offset_x +40--*idx frame.attackbox = pat:get_frame(801,0,0).attackbox frame.attackbox[1].x1 = frame.attackbox[1].x1 -60--*idx frame.attackbox[1].x2 = frame.attackbox[1].x2 -60--*idx frame.launch_vector_x = 600 frame.launch_vector_y = 800 frame.sp_damage = 50 frame.card_gain_block = 20 frame.card_gain_hit = 20 frame.combo_correction = CC_LIFT_ATTACK frame.untech = 40 if (idx < 3) then frame.attackbox[1] = null frame.tex_w = 0 end frame.limit = 10 --frame.hit_ani_ground = 0 end) end for idx = 0 , 23 do pat:update_frame(801,0,idx,function(frame) frame.fflags = pat:get_frame(800,0,0).fflags frame.hurtbox[1] = frame.attackbox[1] frame.attackbox[1] = null end) end pat:get_sequence(801,0):set_priority(20,0) pat:update_frame(801,1,0, { tex_index = 154, tex_h = 120 , tex_w = 120 , tex_offset_x = 33 , tex_offset_y = 24 , scale_x = 200 , scale_y = 200 }) pat:update_frame(801,1,1, { tex_index = 155, tex_h = 120 , tex_w = 120 , tex_offset_x = 40 , tex_offset_y = 29 , scale_x = 200 , scale_y = 200 }) pat:update_frame(801,1,2, { tex_index = 156, tex_h = 120 , tex_w = 120 , tex_offset_x = 51 , tex_offset_y = 31 , scale_x = 200 , scale_y = 200 }) pat:update_frame(801,1,3, { tex_index = 157, tex_h = 120 , tex_w = 120 , tex_offset_x = 57 , tex_offset_y = 31 , scale_x = 200 , scale_y = 200 }) pat:update_frame(801,1,4, { tex_index = 158, tex_h = 120 , tex_w = 120 , tex_offset_x = 62 , tex_offset_y = 32 , scale_x = 200 , scale_y = 200 }) pat:update_frame(801,1,5, { tex_index = 125, tex_h = 120 , tex_w = 120 , tex_offset_x = 85 , tex_offset_y = 38 , scale_x = 200 , scale_y = 200 }) pat:update_frame(801,1,6, { tex_index = 126, tex_h = 120 , tex_w = 120 , tex_offset_x = 80 , tex_offset_y = 38 , scale_x = 200 , scale_y = 200 }) pat:update_frame(801,1,7, { tex_index = 127, tex_h = 120 , tex_w = 120 , tex_offset_x = 81 , tex_offset_y = 38 , scale_x = 200 , scale_y = 200 }) pat:update_frame(801,1,8, { tex_index = 128, tex_h = 120 , tex_w = 120 , tex_offset_x = 74 , tex_offset_y = 38 , scale_x = 200 , scale_y = 200 }) pat:update_frame(801,1,9, { tex_index = 129, tex_h = 120 , tex_w = 120 , tex_offset_x = 70 , tex_offset_y = 37 , scale_x = 200 , scale_y = 200 }) pat:remove_frame(801,1,10) end function mods.d236_lv1(pat) -- char anim local baseX = 70 local baseY = 195 pat:update_frame(500,0,0, { tex_index = 56, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY -0 }) pat:update_frame(500,0,1, { tex_index = 57, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -2 , tex_offset_y = baseY +2 }) pat:update_frame(500,0,1,function(frame) frame.hurtbox[1] = pat:get_frame(500,0,0).hurtbox[1] frame.hurtbox[2].x1 = frame.hurtbox[2].x1 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 frame.hurtbox[2].y1 = frame.hurtbox[2].y1 frame.hurtbox[2].y2 = frame.hurtbox[2].y2 -90 end) pat:update_frame(500,0,2, { tex_index = 58, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +8 , tex_offset_y = baseY +6 , hurtbox = pat:get_frame(500,0,1).hurtbox }) pat:update_frame(500,0,3, { tex_index = 59, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +34 , tex_offset_y = baseY -34 , hurtbox = pat:get_frame(1,0,2).hurtbox }) pat:update_frame(500,0,4, { tex_index = 60, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +28 , tex_offset_y = baseY -76 , hurtbox = pat:get_frame(2,0,0).hurtbox }) -- fires here pat:update_frame(500,0,5, { tex_index = 60, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +28 , tex_offset_y = baseY -76 , hurtbox = pat:get_frame(2,0,0).hurtbox }) pat:update_frame(500,0,6, { tex_index = 61, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +2 , tex_offset_y = baseY -16 , hurtbox = pat:get_frame(2,0,0).hurtbox , duration = 5 + 6 }) pat:update_frame(500,0,7, { tex_index = 62, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +16 , tex_offset_y = baseY -22 , hurtbox = pat:get_frame(2,0,0).hurtbox }) pat:update_frame(500,0,8, { tex_index = 63, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +22 , tex_offset_y = baseY -64 , hurtbox = pat:get_frame(2,0,0).hurtbox }) pat:update_frame(500,0,9, { tex_index = 63, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +22 , tex_offset_y = baseY -64 , hurtbox = pat:get_frame(2,0,0).hurtbox }) pat:update_frame(500,0,10, { tex_index = 64, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +24 , tex_offset_y = baseY -36 , hurtbox = pat:get_frame(1,0,2).hurtbox }) for idx = 4 , 9 do pat:update_frame(500,0,idx,function(frame) frame.collision[1].y1 = pat:get_frame(2,0,0).collision[1].y1 end) end --j236 local baseY2 = 24 pat:update_frame(502,0,0, { tex_index = 17, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +0 , tex_offset_y = baseY +baseY2 -36 , duration = 2 + 2 }) pat:update_frame(502,0,0,function(frame) frame.hurtbox[1].x1 = frame.hurtbox[1].x1 - 40 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 + 40 frame.hurtbox[1].y1 = frame.hurtbox[1].y1 + 35 frame.hurtbox[1].y2 = frame.hurtbox[1].y2 - 20 frame.hurtbox[2].y1 = frame.hurtbox[2].y1 + 10 frame.hurtbox[2].y2 = frame.hurtbox[2].y2 - 20 frame.hurtbox[2].x1 = frame.hurtbox[2].x1 + 30 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 + 10 end) pat:update_frame(502,0,1, { tex_index = 18, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY +baseY2 -54 , hurtbox = pat:get_frame(502,0,0).hurtbox }) pat:update_frame(502,0,0,function(frame) --yes this is right --frame.hurtbox[1].x1 = frame.hurtbox[1].x1 - 40 end) pat:update_frame(502,0,2, { tex_index = 18, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY +baseY2 -54 , hurtbox = pat:get_frame(502,0,1).hurtbox }) pat:update_frame(502,0,3, { tex_index = 19, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +18 , tex_offset_y = baseY +baseY2 -54 , hurtbox = pat:get_frame(502,0,1).hurtbox }) --fires here pat:update_frame(502,0,3,function(frame) frame.hurtbox[2].x1 = frame.hurtbox[2].x1 + 30 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 + 30 end) pat:update_frame(502,0,4, { tex_index = 21, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +28 , tex_offset_y = baseY +baseY2 -28 , hurtbox = pat:get_frame(502,0,3).hurtbox }) pat:update_frame(502,0,5, { tex_index = 30, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +6 , tex_offset_y = baseY +baseY2 -12 , hurtbox = pat:get_frame(502,0,3).hurtbox , duration = 10 + 5 }) pat:update_frame(502,0,5,function(frame) frame.hurtbox[1].y1 = frame.hurtbox[1].y1 + 10 frame.hurtbox[1].y2 = frame.hurtbox[1].y2 + 15 frame.hurtbox[2].x1 = frame.hurtbox[2].x1 - 95 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 - 70 frame.hurtbox[2].y1 = frame.hurtbox[2].y1 - 30 frame.hurtbox[2].y2 = frame.hurtbox[2].y2 - 40 end) pat:update_frame(502,0,6, { tex_index = 31, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY +baseY2 -6 , hurtbox = pat:get_frame(7,2,4).hurtbox }) pat:update_frame(502,0,7, { tex_index = 31, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY +baseY2 -6 , hurtbox = pat:get_frame(7,2,4).hurtbox }) pat:update_frame(502,0,8, { tex_index = 31, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY +baseY2 -6 , hurtbox = pat:get_frame(7,2,4).hurtbox , duration = 120}) pat:update_frame(502,1,0, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -30 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(502,1,1, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -30 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(502,1,2, { tex_index = 298 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -48 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:split_frame(810,0,0,1,1) pat:update_frame(810,0,0, { tex_index = 161, tex_h = 160 , tex_w = 158 , tex_offset_x = 33 , tex_offset_y = 99 , scale_x = 300 , scale_y = 300 }) pat:update_frame(810,0,1, { tex_index = 162, tex_h = 160 , tex_w = 158 , tex_offset_x = 37 , tex_offset_y = 105 , scale_x = 300 , scale_y = 300 }) pat:update_frame(810,0,2, { tex_index = 163, tex_h = 160 , tex_w = 158 , tex_offset_x = 52 , tex_offset_y = 131 , scale_x = 300 , scale_y = 300 }) pat:update_frame(810,0,3, { tex_index = 164, tex_h = 160 , tex_w = 158 , tex_offset_x = 59 , tex_offset_y = 140 , scale_x = 300 , scale_y = 300 }) pat:update_frame(810,0,4, { tex_index = 165, tex_h = 160 , tex_w = 158 , tex_offset_x = 63 , tex_offset_y = 140 , scale_x = 300 , scale_y = 300 }) pat:update_frame(810,0,5, { tex_index = 166, tex_h = 160 , tex_w = 158 , tex_offset_x = 67 , tex_offset_y = 140 , scale_x = 300 , scale_y = 300 }) pat:update_frame(810,0,6, { tex_index = 167, tex_h = 160 , tex_w = 158 , tex_offset_x = 69 , tex_offset_y = 141 , scale_x = 300 , scale_y = 300 }) pat:update_frame(810,0,7, { tex_index = 168, tex_h = 160 , tex_w = 158 , tex_offset_x = 70 , tex_offset_y = 141 , scale_x = 300 , scale_y = 300 }) pat:update_frame(810,0,8, { tex_index = 169, tex_h = 160 , tex_w = 158 , tex_offset_x = 69 , tex_offset_y = 142 , scale_x = 300 , scale_y = 300 }) pat:update_frame(810,0,9, { tex_index = 170, tex_h = 160 , tex_w = 158 , tex_offset_x = 67 , tex_offset_y = 145 , scale_x = 300 , scale_y = 300 }) pat:update_frame(810,0,10, { tex_index = 171, tex_h = 160 , tex_w = 158 , tex_offset_x = 36 , tex_offset_y = 145 , scale_x = 300 , scale_y = 300 }) pat:update_frame(810,0,11, { tex_index = 172, tex_h = 160 , tex_w = 158 , tex_offset_x = 39 , tex_offset_y = 146 , scale_x = 300 , scale_y = 300 }) pat:update_frame(810,0,12, { tex_index = 173, tex_h = 160 , tex_w = 158 , tex_offset_x = 32 , tex_offset_y = 129 , scale_x = 300 , scale_y = 300 }) for idx = 0 , 13 do pat:update_frame(810,0,idx,function(frame) frame.tex_offset_x = frame.tex_offset_x + (6)*idx - 42 frame.blockstop_self = 10 frame.blockstop_enemy = 10 frame.hitstop_self = 10 frame.hitstop_enemy = 10 --frame.aflags = 0x00430c0e set_aflag(frame,AF_UNREFLECTABLE) frame.attackbox[1].x1 = frame.attackbox[1].x1 - 25*idx + 175 - 60 -10 frame.attackbox[1].x2 = frame.attackbox[1].x2 - 25*idx + 175 + 20 frame.attackbox[2].x1 = frame.attackbox[2].x1 - 25*idx + 175 - 20 frame.attackbox[2].x2 = frame.attackbox[2].x2 - 25*idx + 175 frame.attackbox[2].y1 = frame.attackbox[2].y1 - 200 frame.launch_vector_x = 0 frame.launch_vector_y = 2000 frame.hit_ani_air = 71 frame.hit_ani_ground = 71 frame.combo_correction = CC_LIFT_ATTACK frame.limit = 40 frame.damage = 1000 frame.chip_damage = 250 frame.proration = 850 frame.untech = 45 if (idx < 1) then frame.attackbox[2].y1 = frame.attackbox[2].y1 + 60 end if (idx < 2) then frame.attackbox[2].y1 = frame.attackbox[2].y1 + 60 end if (idx < 3) then frame.attackbox[2].y1 = frame.attackbox[2].y1 + 60 end frame.hurtbox[1]=frame.attackbox[1] frame.hurtbox[2]=frame.attackbox[2] if (idx > 10) then frame.attackbox[2] = null frame.attackbox[1] = null frame.hurtbox[2] = null frame.hurtbox[1] = null end if (idx==13) then frame.duration=120 frame.tex_w = 0 end end) end pat:update_frame(810,3,0, { tex_index = 154, tex_h = 120 , tex_w = 120 , tex_offset_x = 33 , tex_offset_y = 24 , scale_x = 200 , scale_y = 200 }) pat:update_frame(810,3,1, { tex_index = 155, tex_h = 120 , tex_w = 120 , tex_offset_x = 40 , tex_offset_y = 29 , scale_x = 200 , scale_y = 200 }) pat:update_frame(810,3,2, { tex_index = 156, tex_h = 120 , tex_w = 120 , tex_offset_x = 51 , tex_offset_y = 31 , scale_x = 200 , scale_y = 200 }) pat:update_frame(810,3,3, { tex_index = 157, tex_h = 120 , tex_w = 120 , tex_offset_x = 57 , tex_offset_y = 31 , scale_x = 200 , scale_y = 200 }) pat:update_frame(810,3,4, { tex_index = 158, tex_h = 120 , tex_w = 120 , tex_offset_x = 62 , tex_offset_y = 32 , scale_x = 200 , scale_y = 200 }) pat:update_frame(810,3,5, { tex_index = 125, tex_h = 120 , tex_w = 120 , tex_offset_x = 85 , tex_offset_y = 38 , scale_x = 200 , scale_y = 200 }) pat:update_frame(810,3,6, { tex_index = 126, tex_h = 120 , tex_w = 120 , tex_offset_x = 80 , tex_offset_y = 38 , scale_x = 200 , scale_y = 200 }) pat:update_frame(810,3,7, { tex_index = 127, tex_h = 120 , tex_w = 120 , tex_offset_x = 81 , tex_offset_y = 38 , scale_x = 200 , scale_y = 200 }) pat:update_frame(810,3,8, { tex_index = 128, tex_h = 120 , tex_w = 120 , tex_offset_x = 74 , tex_offset_y = 38 , scale_x = 200 , scale_y = 200 }) pat:update_frame(810,3,9, { tex_index = 129, tex_h = 120 , tex_w = 120 , tex_offset_x = 70 , tex_offset_y = 37 , scale_x = 200 , scale_y = 200 }) pat:remove_frame(810,3,17) pat:remove_frame(810,3,16) pat:remove_frame(810,3,15) pat:remove_frame(810,3,14) pat:remove_frame(810,3,13) pat:remove_frame(810,3,12) pat:remove_frame(810,3,11) pat:remove_frame(810,3,10) for idx = 0 , 9 do pat:update_frame(810,3,idx,function(frame) --frame.tex_w = 0 end) end for idx = 0 , 12 do pat:update_frame(810,1,idx,function(frame) frame.blockstop_enemy = 10 frame.damage = 600 frame.duration = 1 frame.attackbox[2]=null frame.attackbox[1].x1 = -20 frame.attackbox[1].x2 = 20 frame.attackbox[1].y1 = -20 frame.attackbox[1].y2 = 20 end) if (idx%3 == 0) then pat:update_frame(810,1,idx, { tex_index = 156, tex_h = 128 , tex_w = 128 , tex_offset_x = 51 , tex_offset_y = 31 , scale_x = 100 , scale_y = 100 }) elseif (idx%3 == 1) then pat:update_frame(810,1,idx, { tex_index = 157, tex_h = 128 , tex_w = 128 , tex_offset_x = 57 , tex_offset_y = 31 , scale_x = 100 , scale_y = 100 }) elseif (idx%3 == 2) then pat:update_frame(810,1,idx, { tex_index = 158, tex_h = 128 , tex_w = 128 , tex_offset_x = 62 , tex_offset_y = 32 , scale_x = 100 , scale_y = 100 }) end end end function mods.d236_lv2(pat) pat:split_frame(810,4,0,1,1) pat:update_frame(810,4,0, { tex_index = 161, tex_h = 160 , tex_w = 158 , tex_offset_x = 33 , tex_offset_y = 99 , scale_x = 300 , scale_y = 300 }) pat:update_frame(810,4,1, { tex_index = 162, tex_h = 160 , tex_w = 158 , tex_offset_x = 37 , tex_offset_y = 105 , scale_x = 300 , scale_y = 300 }) pat:update_frame(810,4,2, { tex_index = 163, tex_h = 160 , tex_w = 158 , tex_offset_x = 52 , tex_offset_y = 131 , scale_x = 300 , scale_y = 300 }) pat:update_frame(810,4,3, { tex_index = 164, tex_h = 160 , tex_w = 158 , tex_offset_x = 59 , tex_offset_y = 140 , scale_x = 300 , scale_y = 300 }) pat:update_frame(810,4,4, { tex_index = 165, tex_h = 160 , tex_w = 158 , tex_offset_x = 63 , tex_offset_y = 140 , scale_x = 300 , scale_y = 300 }) pat:update_frame(810,4,5, { tex_index = 166, tex_h = 160 , tex_w = 158 , tex_offset_x = 67 , tex_offset_y = 140 , scale_x = 300 , scale_y = 300 }) pat:update_frame(810,4,6, { tex_index = 167, tex_h = 160 , tex_w = 158 , tex_offset_x = 69 , tex_offset_y = 141 , scale_x = 300 , scale_y = 300 }) pat:update_frame(810,4,7, { tex_index = 168, tex_h = 160 , tex_w = 158 , tex_offset_x = 70 , tex_offset_y = 141 , scale_x = 300 , scale_y = 300 }) pat:update_frame(810,4,8, { tex_index = 169, tex_h = 160 , tex_w = 158 , tex_offset_x = 69 , tex_offset_y = 142 , scale_x = 300 , scale_y = 300 }) pat:update_frame(810,4,9, { tex_index = 170, tex_h = 160 , tex_w = 158 , tex_offset_x = 67 , tex_offset_y = 145 , scale_x = 300 , scale_y = 300 }) pat:update_frame(810,4,10, { tex_index = 171, tex_h = 160 , tex_w = 158 , tex_offset_x = 36 , tex_offset_y = 145 , scale_x = 300 , scale_y = 300 }) pat:update_frame(810,4,11, { tex_index = 172, tex_h = 160 , tex_w = 158 , tex_offset_x = 39 , tex_offset_y = 146 , scale_x = 300 , scale_y = 300 }) pat:update_frame(810,4,12, { tex_index = 173, tex_h = 160 , tex_w = 158 , tex_offset_x = 32 , tex_offset_y = 129 , scale_x = 300 , scale_y = 300 }) for idx = 0 , 13 do pat:update_frame(810,4,idx,function(frame) frame.tex_offset_x = frame.tex_offset_x + (6)*idx - 42 frame.blockstop_self = 10 frame.blockstop_enemy = 10 frame.hitstop_self = 10 frame.hitstop_enemy = 10 --frame.aflags = 0x00430c0e set_aflag(frame,AF_UNREFLECTABLE) frame.attackbox[1].x1 = frame.attackbox[1].x1 - 25*idx + 175 - 60 -10 frame.attackbox[1].x2 = frame.attackbox[1].x2 - 25*idx + 175 + 20 frame.attackbox[2].x1 = frame.attackbox[2].x1 - 25*idx + 175 - 20 frame.attackbox[2].x2 = frame.attackbox[2].x2 - 25*idx + 175 frame.attackbox[2].y1 = frame.attackbox[2].y1 - 200 frame.launch_vector_x = 0 frame.launch_vector_y = 2000 frame.hit_ani_air = 71 frame.hit_ani_ground = 71 frame.combo_correction = CC_LIFT_ATTACK frame.limit = 40 frame.damage = 1000 frame.chip_damage = 250 frame.proration = 850 frame.untech = 45 if (idx < 1) then frame.attackbox[2].y1 = frame.attackbox[2].y1 + 60 end if (idx < 2) then frame.attackbox[2].y1 = frame.attackbox[2].y1 + 60 end if (idx < 3) then frame.attackbox[2].y1 = frame.attackbox[2].y1 + 60 end frame.hurtbox[1]=frame.attackbox[1] frame.hurtbox[2]=frame.attackbox[2] if (idx > 10) then frame.attackbox[2] = null frame.attackbox[1] = null frame.hurtbox[2] = null frame.hurtbox[1] = null end if (idx==13) then frame.duration=120 frame.tex_w = 0 end end) end end function mods.d236_lv4(pat) pat:split_frame(810,5,0,1,1) pat:update_frame(810,5,0, { tex_index = 161, tex_h = 160 , tex_w = 158 , tex_offset_x = 33 , tex_offset_y = 99 , scale_x = 400 , scale_y = 400 }) pat:update_frame(810,5,1, { tex_index = 162, tex_h = 160 , tex_w = 158 , tex_offset_x = 37 , tex_offset_y = 105 , scale_x = 400 , scale_y = 400 }) pat:update_frame(810,5,2, { tex_index = 163, tex_h = 160 , tex_w = 158 , tex_offset_x = 52 , tex_offset_y = 131 , scale_x = 400 , scale_y = 400 }) pat:update_frame(810,5,3, { tex_index = 164, tex_h = 160 , tex_w = 158 , tex_offset_x = 59 , tex_offset_y = 140 , scale_x = 400 , scale_y = 400 }) pat:update_frame(810,5,4, { tex_index = 165, tex_h = 160 , tex_w = 158 , tex_offset_x = 63 , tex_offset_y = 140 , scale_x = 400 , scale_y = 400 }) pat:update_frame(810,5,5, { tex_index = 166, tex_h = 160 , tex_w = 158 , tex_offset_x = 67 , tex_offset_y = 140 , scale_x = 400 , scale_y = 400 }) pat:update_frame(810,5,6, { tex_index = 167, tex_h = 160 , tex_w = 158 , tex_offset_x = 69 , tex_offset_y = 141 , scale_x = 400 , scale_y = 400 }) pat:update_frame(810,5,7, { tex_index = 168, tex_h = 160 , tex_w = 158 , tex_offset_x = 70 , tex_offset_y = 141 , scale_x = 400 , scale_y = 400 }) pat:update_frame(810,5,8, { tex_index = 169, tex_h = 160 , tex_w = 158 , tex_offset_x = 69 , tex_offset_y = 142 , scale_x = 400 , scale_y = 400 }) pat:update_frame(810,5,9, { tex_index = 170, tex_h = 160 , tex_w = 158 , tex_offset_x = 67 , tex_offset_y = 145 , scale_x = 400 , scale_y = 400 }) pat:update_frame(810,5,10, { tex_index = 171, tex_h = 160 , tex_w = 158 , tex_offset_x = 36 , tex_offset_y = 145 , scale_x = 400 , scale_y = 400 }) pat:update_frame(810,5,11, { tex_index = 172, tex_h = 160 , tex_w = 158 , tex_offset_x = 39 , tex_offset_y = 146 , scale_x = 400 , scale_y = 400 }) pat:update_frame(810,5,12, { tex_index = 173, tex_h = 160 , tex_w = 158 , tex_offset_x = 32 , tex_offset_y = 129 , scale_x = 400 , scale_y = 400 }) for idx = 0 , 13 do pat:update_frame(810,5,idx,function(frame) frame.tex_offset_x = frame.tex_offset_x + (4)*idx - 28 frame.blockstop_self = 10 frame.blockstop_enemy = 10 frame.hitstop_self = 10 frame.hitstop_enemy = 10 --frame.aflags = 0x00430c0e set_aflag(frame,AF_UNREFLECTABLE) frame.attackbox[1].x1 = frame.attackbox[1].x1 - 25*idx + 175 - 80 -10 frame.attackbox[1].x2 = frame.attackbox[1].x2 - 25*idx + 175 + 40 frame.attackbox[2].x1 = frame.attackbox[2].x1 - 25*idx + 175 - 40 frame.attackbox[2].x2 = frame.attackbox[2].x2 - 25*idx + 175 + 20 frame.attackbox[2].y1 = frame.attackbox[2].y1 - 280 frame.launch_vector_x = 0 frame.launch_vector_y = 2000 frame.hit_ani_air = 71 frame.hit_ani_ground = 71 frame.combo_correction = CC_LIFT_ATTACK frame.limit = 40 frame.damage = 1000 frame.chip_damage = 250 frame.proration = 850 frame.untech = 45 if (idx < 1) then frame.attackbox[2].y1 = frame.attackbox[2].y1 + 80 end if (idx < 2) then frame.attackbox[2].y1 = frame.attackbox[2].y1 + 80 end if (idx < 3) then frame.attackbox[2].y1 = frame.attackbox[2].y1 + 80 end frame.hurtbox[1]=frame.attackbox[1] frame.hurtbox[2]=frame.attackbox[2] if (idx > 10) then frame.attackbox[2] = null frame.attackbox[1] = null frame.hurtbox[2] = null frame.hurtbox[1] = null end if (idx==13) then frame.duration=120 frame.tex_w = 0 end end) end end function mods.d236_ground(pat) pat:split_frame(810,2,0,1,1) pat:update_frame(810,2,0, { tex_index = 161, tex_h = 160 , tex_w = 158 , tex_offset_x = 33 , tex_offset_y = 99 , scale_x = 300 , scale_y = 300 }) pat:update_frame(810,2,1, { tex_index = 162, tex_h = 160 , tex_w = 158 , tex_offset_x = 37 , tex_offset_y = 105 , scale_x = 300 , scale_y = 300 }) pat:update_frame(810,2,2, { tex_index = 163, tex_h = 160 , tex_w = 158 , tex_offset_x = 52 , tex_offset_y = 131 , scale_x = 300 , scale_y = 300 }) pat:update_frame(810,2,3, { tex_index = 164, tex_h = 160 , tex_w = 158 , tex_offset_x = 59 , tex_offset_y = 140 , scale_x = 300 , scale_y = 300 }) pat:update_frame(810,2,4, { tex_index = 165, tex_h = 160 , tex_w = 158 , tex_offset_x = 63 , tex_offset_y = 140 , scale_x = 300 , scale_y = 300 }) pat:update_frame(810,2,5, { tex_index = 166, tex_h = 160 , tex_w = 158 , tex_offset_x = 67 , tex_offset_y = 140 , scale_x = 300 , scale_y = 300 }) pat:update_frame(810,2,6, { tex_index = 167, tex_h = 160 , tex_w = 158 , tex_offset_x = 69 , tex_offset_y = 141 , scale_x = 300 , scale_y = 300 }) pat:update_frame(810,2,7, { tex_index = 168, tex_h = 160 , tex_w = 158 , tex_offset_x = 70 , tex_offset_y = 141 , scale_x = 300 , scale_y = 300 }) pat:update_frame(810,2,8, { tex_index = 169, tex_h = 160 , tex_w = 158 , tex_offset_x = 69 , tex_offset_y = 142 , scale_x = 300 , scale_y = 300 }) pat:update_frame(810,2,9, { tex_index = 170, tex_h = 160 , tex_w = 158 , tex_offset_x = 67 , tex_offset_y = 145 , scale_x = 300 , scale_y = 300 }) pat:update_frame(810,2,10, { tex_index = 171, tex_h = 160 , tex_w = 158 , tex_offset_x = 36 , tex_offset_y = 145 , scale_x = 300 , scale_y = 300 }) pat:update_frame(810,2,11, { tex_index = 172, tex_h = 160 , tex_w = 158 , tex_offset_x = 39 , tex_offset_y = 146 , scale_x = 300 , scale_y = 300 }) pat:update_frame(810,2,12, { tex_index = 173, tex_h = 160 , tex_w = 158 , tex_offset_x = 32 , tex_offset_y = 129 , scale_x = 300 , scale_y = 300 }) pat:copy_sequence(501,500,1) for idx = 0 , 13 do pat:update_frame(810,2,idx,function(frame) frame.tex_offset_x = frame.tex_offset_x + (3)*idx - 21 frame.blockstop_self = 10 frame.blockstop_enemy = 10 frame.hitstop_self = 10 frame.hitstop_enemy = 10 --frame.aflags = 0x00430c0e set_aflag(frame,AF_UNREFLECTABLE) frame.attackbox[1].x1 = frame.attackbox[1].x1 - 15*idx + 90 - 60 -10 frame.attackbox[1].x2 = frame.attackbox[1].x2 - 15*idx + 90 + 20 frame.attackbox[2].x1 = frame.attackbox[2].x1 - 15*idx + 90 - 20 frame.attackbox[2].x2 = frame.attackbox[2].x2 - 15*idx + 90 frame.attackbox[2].y1 = frame.attackbox[2].y1 - 200 frame.launch_vector_x = 0 frame.launch_vector_y = 2000 frame.hit_ani_air = 71 frame.hit_ani_ground = 71 frame.combo_correction = CC_LIFT_ATTACK frame.limit = 40 frame.damage = 1000 frame.chip_damage = 250 frame.proration = 850 frame.untech = 45 if (idx < 1) then frame.attackbox[2].y1 = frame.attackbox[2].y1 + 60 end if (idx < 2) then frame.attackbox[2].y1 = frame.attackbox[2].y1 + 60 end if (idx < 3) then frame.attackbox[2].y1 = frame.attackbox[2].y1 + 60 end if (idx > 10 or idx == 0) then frame.attackbox[2] = null frame.attackbox[1] = null end if (idx==13) then frame.duration=120 frame.tex_w = 0 end end) end end function mods.d421(pat) local baseFX = 0 local baseFY = 0 pat:get_sequence(825,0):set_looped(false) pat:get_sequence(825,1):set_looped(false) pat:get_sequence(825,2):set_looped(false) pat:remove_frame(825,1,1) pat:remove_frame(825,2,4) pat:remove_frame(825,2,3) pat:remove_frame(825,2,2) pat:remove_frame(825,2,1) pat:update_frame(825,1,0,function(frame) frame.hurtbox = pat:get_frame(0,0,0).attackbox frame.attackbox = pat:get_frame(0,0,0).attackbox frame.tex_w = 0 end) pat:update_frame(825,2,0,function(frame) frame.hurtbox = pat:get_frame(0,0,0).attackbox frame.attackbox = pat:get_frame(0,0,0).attackbox frame.tex_w = 0 end) for idx = 1 , 4 do pat:remove_frame(825,0,1) end for idx = 1 , 179 do pat:split_frame(825,0,0,1,1) end for idx = 0 , 179 do if ((idx/3)%5 < 1) then pat:update_frame(825,0,idx, { tex_index = 233 , tex_h = 158 , tex_w = 160 , tex_offset_x = baseFX +48 , tex_offset_y = baseFY +88 }) elseif ((idx/3)%5 < 2) then pat:update_frame(825,0,idx, { tex_index = 234 , tex_h = 158 , tex_w = 160 , tex_offset_x = baseFX +48 , tex_offset_y = baseFY +88 }) elseif ((idx/3)%5 < 3) then pat:update_frame(825,0,idx, { tex_index = 235 , tex_h = 158 , tex_w = 160 , tex_offset_x = baseFX +36 , tex_offset_y = baseFY +32 }) elseif ((idx/3)%5 < 4) then pat:update_frame(825,0,idx, { tex_index = 236 , tex_h = 158 , tex_w = 160 , tex_offset_x = baseFX +38 , tex_offset_y = baseFY +30 }) elseif ((idx/3)%5 < 5) then pat:update_frame(825,0,idx, { tex_index = 237 , tex_h = 158 , tex_w = 160 , tex_offset_x = baseFX +40 , tex_offset_y = baseFY +26 }) end pat:update_frame(825,0,idx,function(frame) frame.scale_x = 200 frame.scale_y = 200 local scalemod = 200/frame.scale_x local xmod2 = .2*idx*idx if (xmod2 > 10*idx) then xmod2 = 10*idx end --local ymod = 210 local ymod = -100 + 10*idx if (idx < 15) then ymod = -80 + 15*idx elseif (idx < 30) then ymod = -80 + 15*15 + 7*(idx-15) else ymod = -80 + 15*15 + 7*15 end local xmod = 20*idx --frame.hurtbox = pat:get_frame(0,0,0).attackbox frame.tex_offset_y = frame.tex_offset_y - (ymod)*scalemod frame.hurtbox[1].y1 = frame.hurtbox[1].y1 + (ymod) frame.hurtbox[1].y2 = frame.hurtbox[1].y2 + (ymod) frame.tex_offset_x = frame.tex_offset_x - (xmod)*scalemod frame.hurtbox[1].x1 = frame.hurtbox[1].x1 + (xmod) frame.hurtbox[1].x2 = frame.hurtbox[1].x2 + (xmod) frame.attackbox = frame.hurtbox frame.limit = 5 frame.hitstop_enemy = 10 frame.damage = 150 frame.proration = 980 frame.hit_ani_air = 71 frame.aflags = pat:get_frame(825,1,0).aflags end) end end function mods.d421s(pat) local baseX = 70 local baseY = 195 pat:update_frame(560,0,0,{ tex_index = 494, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +0 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 3 + 7}) pat:update_frame(560,0,1,{ tex_index = 495, 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(560,0,2,{ tex_index = 495, 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(560,0,2,{ tex_index = 496, 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(560,0,3,{ tex_index = 497, 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(560,0,4,{ tex_index = 498, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +20 , tex_offset_y = baseY +6 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(560,0,5,{ tex_index = 499, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +28 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(560,0,6,{ tex_index = 500, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +22 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(560,0,7,{ tex_index = 110, 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(560,0,8,{ tex_index = 111, 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(560,0,9,{ tex_index = 111, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +0 , tex_offset_y = baseY +0 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 4 - 2}) pat:update_frame(560,0,10,{ tex_index = 111, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +0 , tex_offset_y = baseY +0 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 4 - 2 }) pat:update_frame(560,0,11,{ tex_index = 111, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +0 , tex_offset_y = baseY +0 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 4 - 2 }) pat:update_frame(560,0,12,{ tex_index = 111, 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(560,0,13,{ tex_index = 111, 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(560,0,14,{ tex_index = 111, 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(560,0,15,{ tex_index = 111, 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(560,0,16,{ tex_index = 494, 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(560,0,17,{ tex_index = 494, 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(562,0,0,{ tex_index = 494, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +0 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 3 + 7 }) pat:update_frame(562,0,1,{ tex_index = 495, 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(562,0,2,{ tex_index = 495, 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(562,0,2,{ tex_index = 496, 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(562,0,3,{ tex_index = 497, 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(562,0,4,{ tex_index = 498, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +20 , tex_offset_y = baseY +6 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(562,0,5,{ tex_index = 499, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +28 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(562,0,6,{ tex_index = 500, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +22 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(562,0,7,{ tex_index = 110, 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(562,0,8,{ tex_index = 111, 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(562,0,9,{ tex_index = 111, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +0 , tex_offset_y = baseY +0 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 4 - 2 }) pat:update_frame(562,0,10,{ tex_index = 111, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +0 , tex_offset_y = baseY +0 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 4 - 2 }) pat:update_frame(562,0,11,{ tex_index = 111, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +0 , tex_offset_y = baseY +0 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 4 - 2 }) pat:update_frame(562,0,12,{ tex_index = 111, 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(562,0,13,{ tex_index = 111, 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(562,0,14,{ tex_index = 111, 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(562,0,15,{ tex_index = 111, 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(562,0,16,{ tex_index = 494, 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(562,0,17,{ tex_index = 494, 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(562,0,18,{ tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +6 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(6,2,2).hurtbox }) pat:update_frame(562,0,19,{ tex_index = 298 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +20 , tex_offset_y = baseY +0 , hurtbox = pat:get_frame(6,2,2).hurtbox }) pat:update_frame(562,1,0, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -30 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(562,1,1, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -30 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(562,1,2, { tex_index = 298 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -48 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(561,0,0,{ tex_index = 494, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +0 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 3 + 13 + 2 }) pat:update_frame(561,0,1,{ tex_index = 495, 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(561,0,2,{ tex_index = 495, 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(561,0,2,{ tex_index = 496, 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(561,0,3,{ tex_index = 497, 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(561,0,4,{ tex_index = 498, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +20 , tex_offset_y = baseY +6 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(561,0,5,{ tex_index = 499, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +28 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(561,0,6,{ tex_index = 500, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +22 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(561,0,7,{ tex_index = 110, 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(561,0,8,{ tex_index = 111, 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(561,0,9,{ tex_index = 111, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +0 , tex_offset_y = baseY +0 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 4 - 2 }) pat:update_frame(561,0,10,{ tex_index = 111, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +0 , tex_offset_y = baseY +0 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 4 - 2 }) pat:update_frame(561,0,11,{ tex_index = 111, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +0 , tex_offset_y = baseY +0 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 4 - 2 }) pat:update_frame(561,0,12,{ tex_index = 111, 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(561,0,13,{ tex_index = 111, 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(561,0,14,{ tex_index = 111, 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(561,0,15,{ tex_index = 111, 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(561,0,16,{ tex_index = 494, 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(561,0,17,{ tex_index = 494, 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(563,0,0,{ tex_index = 494, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +0 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 3 + 13 + 2 }) pat:update_frame(563,0,1,{ tex_index = 495, 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(563,0,2,{ tex_index = 495, 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(563,0,2,{ tex_index = 496, 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(563,0,3,{ tex_index = 497, 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(563,0,4,{ tex_index = 498, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +20 , tex_offset_y = baseY +6 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(563,0,5,{ tex_index = 499, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +28 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(563,0,6,{ tex_index = 500, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +22 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(563,0,7,{ tex_index = 110, 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(563,0,8,{ tex_index = 111, 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(563,0,9,{ tex_index = 111, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +0 , tex_offset_y = baseY +0 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 4 - 2 }) pat:update_frame(563,0,10,{ tex_index = 111, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +0 , tex_offset_y = baseY +0 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 4 - 2 }) pat:update_frame(563,0,11,{ tex_index = 111, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +0 , tex_offset_y = baseY +0 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 4 - 2 }) pat:update_frame(563,0,12,{ tex_index = 111, 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(563,0,13,{ tex_index = 111, 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(563,0,14,{ tex_index = 111, 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(563,0,15,{ tex_index = 111, 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(563,0,16,{ tex_index = 494, 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(563,0,17,{ tex_index = 494, 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(563,0,18,{ tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +6 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(6,2,2).hurtbox }) pat:update_frame(563,0,19,{ tex_index = 298 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +20 , tex_offset_y = baseY +0 , hurtbox = pat:get_frame(6,2,2).hurtbox }) pat:update_frame(563,1,0, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -30 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(563,1,1, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -30 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(563,1,2, { tex_index = 298 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -48 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(571,0,0,{ tex_index = 494, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +0 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 1}) pat:update_frame(571,0,1,{ tex_index = 495, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +0 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 2}) --pat:update_frame(560,0,2,{ tex_index = 495, 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(571,0,2,{ tex_index = 496, 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(571,0,3,{ tex_index = 497, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 2}) pat:update_frame(571,0,4,{ tex_index = 498, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +20 , tex_offset_y = baseY +6 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(571,0,5,{ tex_index = 499, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +28 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(571,0,6,{ tex_index = 500, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +22 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(571,0,7,{ tex_index = 110, 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(571,0,8,{ tex_index = 111, 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(571,0,9,{ tex_index = 111, 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(571,0,10,{ tex_index = 111, 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(571,0,11,{ tex_index = 111, 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(571,0,12,{ tex_index = 111, 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(571,0,13,{ tex_index = 494, 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(573,0,0,{ tex_index = 494, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +0 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 1 }) pat:update_frame(573,0,1,{ tex_index = 495, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +0 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 2}) --pat:update_frame(560,0,2,{ tex_index = 495, 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(573,0,2,{ tex_index = 496, 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(573,0,3,{ tex_index = 497, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 2 }) pat:update_frame(573,0,4,{ tex_index = 498, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +20 , tex_offset_y = baseY +6 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(573,0,5,{ tex_index = 499, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +28 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(573,0,6,{ tex_index = 500, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +22 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(573,0,7,{ tex_index = 110, 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(573,0,8,{ tex_index = 111, 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(571,0,4,function(frame) unset_fflag(frame,FF_CANCEL) end) pat:update_frame(573,0,4,function(frame) unset_fflag(frame,FF_CANCEL) end) pat:update_frame(571,0,5,function(frame) --unset_fflag(frame,FF_CANCEL) unset_fflag(frame,FF_MOTION_CANCEL) end) pat:update_frame(573,0,5,function(frame) --unset_fflag(frame,FF_CANCEL) unset_fflag(frame,FF_MOTION_CANCEL) end) pat:update_frame(571,0,6,function(frame) --unset_fflag(frame,FF_CANCEL) unset_fflag(frame,FF_MOTION_CANCEL) end) pat:update_frame(573,0,6,function(frame) --unset_fflag(frame,FF_CANCEL) unset_fflag(frame,FF_MOTION_CANCEL) end) pat:update_frame(573,0,9,{ tex_index = 111, 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(573,0,10,{ tex_index = 111, 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(573,0,11,{ tex_index = 111, 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(573,0,12,{ tex_index = 111, 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(573,0,13,{ tex_index = 494, 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(573,0,14,{ tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +6 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(6,2,2).hurtbox }) pat:update_frame(573,0,15,{ tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +6 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(6,2,2).hurtbox }) pat:update_frame(573,0,16,{ tex_index = 298 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +20 , tex_offset_y = baseY +0 , hurtbox = pat:get_frame(6,2,2).hurtbox }) pat:update_frame(573,1,0, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -30 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(573,1,1, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -30 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(573,1,2, { tex_index = 298 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -48 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(570,0,0,{ tex_index = 490, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +14 , tex_offset_y = baseY +6 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(570,0,1,{ tex_index = 491, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +32 , tex_offset_y = baseY -16 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(570,0,2,{ tex_index = 492, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +30 , tex_offset_y = baseY -32 , hurtbox = pat:get_frame(6,2,2).hurtbox }) pat:update_frame(570,0,3,{ tex_index = 524, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +46 , tex_offset_y = baseY -6 , hurtbox = pat:get_frame(565,0,5).hurtbox }) pat:update_frame(570,0,4,{ tex_index = 525, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +42 , tex_offset_y = baseY -8 , hurtbox = pat:get_frame(565,0,5).hurtbox}) pat:update_frame(570,0,5,{ tex_index = 526, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +44 , tex_offset_y = baseY -10 , hurtbox = pat:get_frame(565,0,5).hurtbox }) pat:update_frame(570,0,6,{ tex_index = 525, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +42 , tex_offset_y = baseY -8 , hurtbox = pat:get_frame(565,0,5).hurtbox }) pat:update_frame(570,0,7,{ tex_index = 526, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +44 , tex_offset_y = baseY -10 , hurtbox = pat:get_frame(565,0,5).hurtbox }) pat:update_frame(570,0,8,{ tex_index = 525, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +42 , tex_offset_y = baseY -8 , hurtbox = pat:get_frame(565,0,5).hurtbox }) pat:update_frame(570,0,9,{ tex_index = 527, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +40 , tex_offset_y = baseY -14 , hurtbox = pat:get_frame(565,0,5).hurtbox }) pat:update_frame(570,0,10,{ tex_index = 528, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +46 , tex_offset_y = baseY -6 , hurtbox = pat:get_frame(565,0,5).hurtbox }) pat:update_frame(570,0,11,{ tex_index = 529, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +48 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(570,0,12,{ tex_index = 530, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +48 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(570,0,13,{ tex_index = 531, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +22 , tex_offset_y = baseY +6 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(570,0,14,{ tex_index = 493, 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(827,1,0, { tex_index = 155, tex_h = 120 , tex_w = 120 , tex_offset_x = 40 , tex_offset_y = 29 }) pat:update_frame(827,1,1, { tex_index = 156, tex_h = 120 , tex_w = 120 , tex_offset_x = 51 , tex_offset_y = 31 }) pat:update_frame(827,1,2, { tex_index = 157, tex_h = 120 , tex_w = 120 , tex_offset_x = 57 , tex_offset_y = 31 }) pat:update_frame(827,1,3, { tex_index = 158, tex_h = 120 , tex_w = 120 , tex_offset_x = 62 , tex_offset_y = 32 }) pat:update_frame(827,3,0, { tex_index = 155, tex_h = 120 , tex_w = 120 , tex_offset_x = 40 , tex_offset_y = 29 }) pat:update_frame(827,3,1, { tex_index = 156, tex_h = 120 , tex_w = 120 , tex_offset_x = 51 , tex_offset_y = 31 }) pat:update_frame(827,3,2, { tex_index = 157, tex_h = 120 , tex_w = 120 , tex_offset_x = 57 , tex_offset_y = 31 }) pat:update_frame(827,3,3, { tex_index = 158, tex_h = 120 , tex_w = 120 , tex_offset_x = 62 , tex_offset_y = 32 }) for idx2 = 0 , 3 do pat:update_frame(827,1,idx2,function(frame) frame.blending_mode=1 frame.hit_sfx = 2 end) pat:update_frame(827,3,idx2,function(frame) frame.blending_mode=1 frame.hit_sfx = 2 end) end]]-- end function mods.a421_pebbles(pat) --[[ pat:split_frame(827,1,0,1,1) pat:split_frame(827,1,0,1,1) pat:split_frame(827,1,0,1,1)]]-- pat:update_frame(827,1,0,{tex_w = 0}) for idx = 0 , 4 do pat:split_frame(827,0,0,1,1) end for idx = 0 , 19 do pat:update_frame(827,0,idx,function(frame) frame.tex_index = 461 frame.tex_w = 128 frame.tex_h = 128 frame.tex_offset_x = 64 frame.tex_offset_y = 64 frame.scale_x = 100 frame.scale_y = 25 frame.scale_x = frame.scale_x * idx/19 frame.color_r = 255 * (1-idx/19) frame.color_g = 255 * (1-idx/19) frame.color_b = 255 * (1-idx/19) end) end for idx = 0 , 118 do pat:split_frame(827,3,0,1,1) end for idx = 0 , 120 do pat:update_frame(827,3,idx,function(frame) --set_fflag(frame,FF_AFTER_IMAGE) --[[ frame.scale_x = frame.scale_x * 4 frame.attackbox[1].x1 = frame.attackbox[1].x1 *4 frame.attackbox[1].x2 = frame.attackbox[1].x2 *4]]-- --[[ frame.tex_index = 450 frame.blending_mode = 1 frame.tex_w = 32 frame.tex_h = 128 frame.tex_offset_x = 16 frame.tex_offset_y = 64 ]]-- frame.tex_index = 445 + (idx/2)%5 frame.tex_w = 256 frame.tex_h = 256 frame.tex_offset_x = 128 frame.tex_offset_y = 128 frame.blending_mode = 1 frame.attackbox[1].x1 = frame.attackbox[1].x1 - 150 frame.attackbox[1].x2 = frame.attackbox[1].x2 + 150 frame.attackbox[1].y1 = frame.attackbox[1].y1 - 180 frame.attackbox[1].y2 = frame.attackbox[1].y2 + 120 local scaling = 1 local idx2 = idx+1 if ( idx2 < 20) then frame.tex_w = 0 elseif (idx2 < 25) then scaling = 100* (1-(25-idx2)/5) +100 frame.color_r = frame.color_r * (scaling-100)/100 frame.color_g = frame.color_r frame.color_b = frame.color_r elseif (idx2 < 30) then scaling = 100* ((30-idx2)/5) +100 frame.color_r = frame.color_r * (scaling-100)/100 frame.color_g = frame.color_r frame.color_b = frame.color_r else scaling = 0 end frame.scale_x = frame.scale_x*scaling/100 frame.scale_y = frame.scale_y*scaling/100 --[[ if (idx < 5) then frame.scale_y = 10 elseif (idx < 10) then frame.scale_y = 10 elseif (idx < 13) then frame.scale_y = 200* (1-(13-idx)/3) +10 elseif (idx < 20) then frame.scale_y = 200 elseif (idx < 26) then frame.scale_y = 200* ((26-idx)/6) +10 elseif (idx >= 23) then frame.scale_y = 0 end]]-- local scalemod = 100/frame.scale_y 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) if (idx2 >= 25 and idx2 < 30) then else frame.attackbox[1]=null end frame.hitstop_enemy = 10 frame.blockstop_enemy = 10 frame.limit = 5 frame.proration = 950 frame.damage = 200 frame.chip_damage = 20 frame.attack_level = AL_HEAVY frame.sp_damage = frame.sp_damage*2 --frame.sp_damage = frame.sp_damage * .75 frame.hit_ani_air = 71 frame.hit_ani_ground = 71 frame.launch_vector_x = 1500 frame.launch_vector_y = 1500 set_aflag(frame,AF_HIGHBLOCK_OK) set_aflag(frame,AF_LOWBLOCK_OK) unset_aflag(frame,AF_ATTACK_LOW) unset_aflag(frame,AF_ATTACK_HIGH) frame.hit_sfx = 4 frame.hit_effect = 3 end) end end function mods.normals(pat) -- char anim local baseX = 70 local baseY = 195 --5a pat:update_frame(300,0,0, { tex_index = 0, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -0 }) pat:update_frame(300,0,1, { tex_index = 1, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(300,0,0).hurtbox }) pat:update_frame(300,0,2, { tex_index = 2, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +0 , tex_offset_y = baseY -2 }) -- fires here pat:update_frame(300,0,2,function(frame) frame.hurtbox[1]=pat:get_frame(300,0,0).hurtbox[1] frame.hurtbox[1].x1 = frame.hurtbox[1].x1 + 10 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 + 10 frame.hurtbox[2]=frame.hurtbox[4] frame.hurtbox[4]=null frame.hurtbox[3]=null frame.hurtbox[2].x1 = frame.hurtbox[2].x1 - 20 end) pat:update_frame(300,0,3, { tex_index = 3, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(300,0,2).hurtbox }) pat:update_frame(300,0,4, { tex_index = 3, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(300,0,2).hurtbox }) pat:update_frame(300,0,5, { tex_index = 0, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -0 , hurtbox = pat:get_frame(300,0,1).hurtbox }) --5aa pat:update_frame(320,0,0, { tex_index = 0, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -0 }) pat:update_frame(320,0,1, { tex_index = 1, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(300,0,0).hurtbox }) pat:update_frame(320,0,2, { tex_index = 2, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +0 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(300,0,2).hurtbox , attackbox = pat:get_frame(300,0,2).attackbox }) -- fires here pat:update_frame(320,0,3, { tex_index = 3, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(300,0,2).hurtbox }) pat:update_frame(320,0,4, { tex_index = 3, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(300,0,2).hurtbox }) pat:update_frame(320,0,5, { tex_index = 0, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -0 , hurtbox = pat:get_frame(300,0,1).hurtbox }) --2a local baseY2 = -8 local baseX2 = 6 pat:update_frame(303,0,0, { tex_index = 5, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +baseX2 +6 , tex_offset_y = baseY +baseY2 -46 }) pat:update_frame(303,0,1, { tex_index = 5, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +baseX2 +6 , tex_offset_y = baseY +baseY2 -46 }) pat:update_frame(303,0,2, { tex_index = 6, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +baseX2 +6 , tex_offset_y = baseY +baseY2 -46 , hurtbox = pat:get_frame(303,0,1).hurtbox }) pat:update_frame(303,0,3, { tex_index = 7, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +baseX2 +6 , tex_offset_y = baseY +baseY2 -48 }) -- fires here pat:update_frame(303,0,3,function(frame) frame.hurtbox[1] = pat:get_frame(303,0,1).hurtbox[1] frame.hurtbox[2] = frame.hurtbox[3] frame.hurtbox[2].y1 = frame.hurtbox[2].y1 + 40 frame.hurtbox[2].y2 = frame.hurtbox[2].y2 + 40 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 - 10 frame.hurtbox[3] = null 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 +40 frame.attackbox[2].y1 = frame.attackbox[2].y1 +40 frame.attackbox[2].y2 = frame.attackbox[2].y2 +30 frame.attackbox[2].x2 = frame.attackbox[2].x2 - 20 end) pat:update_frame(303,0,4, { tex_index = 8, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +baseX2 +6 , tex_offset_y = baseY +baseY2 -46 , hurtbox = pat:get_frame(303,0,1).hurtbox }) pat:update_frame(303,0,5, { tex_index = 6, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +baseX2 +6 , tex_offset_y = baseY +baseY2 -46 , hurtbox = pat:get_frame(303,0,1).hurtbox }) pat:update_frame(303,0,6, { tex_index = 5, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +baseX2 +6 , tex_offset_y = baseY +baseY2 -46 }) --3a pat:remove_frame(304,0,3) pat:update_frame(304,0,0, { tex_index = 348, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +54 , tex_offset_y = baseY -54 , duration = 4 }) pat:update_frame(304,0,1, { tex_index = 32, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +36 , tex_offset_y = baseY -58 , hurtbox = pat:get_frame(304,0,0).hurtbox , duration = 4 }) pat:update_frame(304,0,2, { tex_index = 33, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +52 , tex_offset_y = baseY -66 , hurtbox = pat:get_frame(304,0,0).hurtbox , duration = 6 }) pat:update_frame(304,0,3, { tex_index = 34, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +62 , tex_offset_y = baseY -62 , duration = 12}) -- fires here pat:update_frame(304,0,3,function(frame) frame.hurtbox[4]=null frame.hurtbox[3]=null frame.hurtbox[2].x1 = frame.hurtbox[2].x1 - 40 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 - 40 frame.hurtbox[2].y1 = frame.hurtbox[2].y1 + 10 frame.hurtbox[1].x1 = frame.hurtbox[1].x1 - 120 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 - 120 frame.hurtbox[1].y2 = frame.hurtbox[1].y2 + 20 frame.attackbox[1].x2 = frame.attackbox[1].x2 - 100 frame.attackbox[1].y1 = frame.attackbox[1].y1 --+ 20 frame.damage = 800 end) pat:update_frame(304,0,4, { tex_index = 35, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +48 , tex_offset_y = baseY -60 , hurtbox = pat:get_frame(304,0,3).hurtbox , duration = 2 }) pat:update_frame(304,0,5, { tex_index = 35, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +48 , tex_offset_y = baseY -60 , hurtbox = pat:get_frame(304,0,3).hurtbox , duration = 2 }) pat:update_frame(304,0,6, { tex_index = 36, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +32 , tex_offset_y = baseY -60 , hurtbox = pat:get_frame(304,0,8).hurtbox }) pat:update_frame(304,0,7, { tex_index = 37, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +26 , tex_offset_y = baseY -62 , hurtbox = pat:get_frame(304,0,8).hurtbox }) pat:update_frame(304,0,8, { tex_index = 37, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +26 , tex_offset_y = baseY -62 , hurtbox = pat:get_frame(304,0,8).hurtbox }) pat:remove_frame(304,1,3) pat:remove_frame(304,1,1) pat:update_frame(304,1,0, { tex_index = 33, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +52 , tex_offset_y = baseY -66 , hurtbox = pat:get_frame(304,0,0).hurtbox , duration = 3 , duration = 15 +2 }) pat:update_frame(304,1,1, { tex_index = 34, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +62 , tex_offset_y = baseY -62 , hurtbox = pat:get_frame(304,0,3).hurtbox , attackbox = pat:get_frame(304,0,3).attackbox , damage = 1000 , duration = 12 }) -- fires here pat:update_frame(304,1,2, { tex_index = 35, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +48 , tex_offset_y = baseY -60 , hurtbox = pat:get_frame(304,0,3).hurtbox }) pat:update_frame(304,1,3, { tex_index = 35, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +48 , tex_offset_y = baseY -60 , hurtbox = pat:get_frame(304,0,3).hurtbox }) pat:update_frame(304,1,4, { tex_index = 36, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +32 , tex_offset_y = baseY -60 , hurtbox = pat:get_frame(304,0,3).hurtbox }) pat:update_frame(304,1,5, { tex_index = 37, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +26 , tex_offset_y = baseY -62 , hurtbox = pat:get_frame(304,0,8).hurtbox }) pat:update_frame(304,1,6, { tex_index = 37, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +26 , tex_offset_y = baseY -62 , hurtbox = pat:get_frame(304,0,8).hurtbox }) --f5a pat:update_frame(301,0,0, { tex_index = 10, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +28 , tex_offset_y = baseY -4 }) pat:update_frame(301,0,1, { tex_index = 11, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +20 , tex_offset_y = baseY -4 }) pat:update_frame(301,0,2, { tex_index = 12, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +8 , tex_offset_y = baseY -14 }) pat:update_frame(301,0,3, { tex_index = 13, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +8 , tex_offset_y = baseY -20 }) -- fires here pat:update_frame(301,0,3,function(frame) frame.hurtbox[1].x1 = frame.hurtbox[1].x1 - 60 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 - 60 frame.hurtbox[1].y1 = frame.hurtbox[1].y1 + 10 frame.hurtbox[1].y2 = frame.hurtbox[1].y2 + 20 frame.hurtbox[2].y1 = frame.hurtbox[2].y1 + 20 frame.hurtbox[3].x1 = frame.hurtbox[3].x1 - 20 frame.hurtbox[4].y1 = frame.hurtbox[4].y1 + 20 frame.attackbox[3]=null frame.attackbox[2]=null frame.attackbox[1].x2 = frame.attackbox[1].x2 - 30 frame.damage = 450 frame.launch_vector_x = 800 frame.launch_vector_y = 800 end) pat:update_frame(301,0,2,function(frame) frame.hurtbox[2] = pat:get_frame(301,0,3).hurtbox[1] frame.hurtbox[1].y1 = frame.hurtbox[1].y1 + 40 end) pat:remove_frame(301,0,4) pat:split_frame(301,0,3,2,3) pat:update_frame(301,0,4, { tex_index = 14, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +8 , tex_offset_y = baseY -22 , hurtbox = pat:get_frame(301,0,3).hurtbox }) pat:update_frame(301,0,5, { tex_index = 14, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +8 , tex_offset_y = baseY -22 , hurtbox = pat:get_frame(301,0,3).hurtbox }) pat:update_frame(301,0,6, { tex_index = 15, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -14 , tex_offset_y = baseY -10 , hurtbox = pat:get_frame(301,0,3).hurtbox }) pat:update_frame(301,0,6,function(frame) frame.hurtbox[4].x2 = frame.hurtbox[4].x2 - 20 end) pat:update_frame(301,0,7, { tex_index = 16, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -18 , tex_offset_y = baseY -4 }) --66a pat:update_frame(305,0,0, { tex_index = 10, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +28 , tex_offset_y = baseY -4 }) pat:update_frame(305,0,1, { tex_index = 11, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +20 , tex_offset_y = baseY -4 }) pat:update_frame(305,0,2, { tex_index = 12, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +8 , tex_offset_y = baseY -14 , hurtbox = pat:get_frame(301,0,2).hurtbox }) pat:update_frame(305,0,3, { tex_index = 13, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +8 , tex_offset_y = baseY -20 , hurtbox = pat:get_frame(301,0,3).hurtbox , attackbox = pat:get_frame(301,0,3).attackbox , damage = 450 , launch_vector_x = 1200, launch_vector_y = 800}) -- fires here pat:remove_frame(305,0,4) pat:split_frame(305,0,3,2,3) pat:update_frame(305,0,4, { tex_index = 14, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +8 , tex_offset_y = baseY -22 , hurtbox = pat:get_frame(301,0,3).hurtbox }) pat:update_frame(305,0,5, { tex_index = 14, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +8 , tex_offset_y = baseY -22 , hurtbox = pat:get_frame(301,0,3).hurtbox }) pat:update_frame(305,0,6, { tex_index = 15, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -14 , tex_offset_y = baseY -10 , hurtbox = pat:get_frame(301,0,6).hurtbox }) pat:update_frame(305,0,7, { tex_index = 16, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -18 , tex_offset_y = baseY -4 }) --5aaa pat:update_frame(321,0,0, { tex_index = 10, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +28 , tex_offset_y = baseY -4 }) pat:update_frame(321,0,1, { tex_index = 11, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +20 , tex_offset_y = baseY -4 }) pat:update_frame(321,0,2, { tex_index = 12, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +8 , tex_offset_y = baseY -14 , hurtbox = pat:get_frame(301,0,2).hurtbox }) pat:update_frame(321,0,3, { tex_index = 13, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +8 , tex_offset_y = baseY -20 , hurtbox = pat:get_frame(301,0,3).hurtbox , attackbox = pat:get_frame(301,0,3).attackbox , damage = 450 , launch_vector_x = 800, launch_vector_y = 800}) -- fires here pat:remove_frame(321,0,4) pat:split_frame(321,0,3,2,3) pat:update_frame(321,0,4, { tex_index = 14, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +8 , tex_offset_y = baseY -22 , hurtbox = pat:get_frame(301,0,3).hurtbox }) pat:update_frame(321,0,5, { tex_index = 14, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +8 , tex_offset_y = baseY -22 , hurtbox = pat:get_frame(301,0,3).hurtbox }) pat:update_frame(321,0,6, { tex_index = 15, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -14 , tex_offset_y = baseY -10 , hurtbox = pat:get_frame(301,0,6).hurtbox }) pat:update_frame(321,0,7, { tex_index = 16, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -18 , tex_offset_y = baseY -4 }) --66b local baseY2 = -8 pat:update_frame(408,0,0, { tex_index = 174, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -48 , hurtbox = pat:get_frame(7,1,0).hurtbox }) pat:update_frame(408,0,1, { tex_index = 175, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -24 , duration = 3 - 2 , hurtbox = pat:get_frame(7,1,0).hurtbox }) pat:update_frame(408,0,2, { tex_index = 174, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -48 , hurtbox = pat:get_frame(7,1,0).hurtbox }) pat:update_frame(408,0,3, { tex_index = 175, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -24 , hurtbox = pat:get_frame(7,1,0).hurtbox }) pat:update_frame(408,0,4, { tex_index = 174, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -48 , hurtbox = pat:get_frame(7,1,0).hurtbox }) pat:update_frame(408,0,5, { tex_index = 176, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +28 , tex_offset_y = baseY +baseY2 -30 }) pat:update_frame(408,0,5,function(frame) frame.hurtbox[1].y2 = frame.hurtbox[1].y2 + 20 frame.hurtbox[2].x1 = frame.hurtbox[2].x1 - 30 frame.hurtbox[2].y1 = frame.hurtbox[2].y1 - 30 end) pat:update_frame(408,0,6, { tex_index = 177, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +32 , tex_offset_y = baseY +baseY2 -30 }) -- fires here pat:update_frame(408,0,6,function(frame) frame.hurtbox[1] = pat:get_frame(408,0,5).hurtbox[1] frame.hurtbox[2] = pat:get_frame(408,0,5).hurtbox[2] frame.hurtbox[4] = null frame.hurtbox[3].x2 = frame.hurtbox[3].x2 + 20 frame.attackbox[1] = frame.attackbox[3] frame.attackbox[3]=null frame.attackbox[2].x1 = frame.attackbox[2].x1 -50 frame.attackbox[2].x2 = frame.attackbox[2].x2 -40 frame.attackbox[1].x1 = frame.attackbox[1].x1 -10 frame.attackbox[1].x2 = frame.attackbox[1].x2 -20 frame.damage = 800 frame.proration = 800 end) pat:update_frame(408,0,7, { tex_index = 177, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +32 , tex_offset_y = baseY +baseY2 -30 , duration = 3 + 1 , hurtbox = pat:get_frame(408,0,6).hurtbox }) pat:update_frame(408,0,8, { tex_index = 177, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +32 , tex_offset_y = baseY +baseY2 -30 , hurtbox = pat:get_frame(408,0,6).hurtbox }) pat:update_frame(408,0,9, { tex_index = 178, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY +baseY2/2 -18 }) pat:update_frame(408,0,9,function(frame) frame.hurtbox[2].y2 = frame.hurtbox[2].y2 + 20 end) pat:update_frame(408,0,10, { tex_index = 179, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +6 , tex_offset_y = baseY -10 }) for idx = 1 , 6 do pat:update_frame(408,0,idx, function(frame) set_fflag(frame,FF_GRAZE) end) end --j5a local baseY2 = 46 local baseX2 = 12 pat:update_frame(306,0,0, { tex_index = 74, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +baseX2 +24 , tex_offset_y = baseY +baseY2 -48 , hurtbox = pat:get_frame(6,2,4).hurtbox }) pat:update_frame(306,0,1, { tex_index = 75, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +baseX2 +22 , tex_offset_y = baseY +baseY2 -44 , hurtbox = pat:get_frame(6,2,4).hurtbox , duration = 2 }) pat:update_frame(306,0,2, { tex_index = 76, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +baseX2 +22 , tex_offset_y = baseY +baseY2 -38 }) pat:update_frame(306,0,2, function (frame) frame.hurtbox[2]=null frame.hurtbox[1].x1 = frame.hurtbox[1].x1-10 end) pat:update_frame(306,0,3, { tex_index = 77, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +baseX2 +32 , tex_offset_y = baseY +baseY2 -40 }) -- fires here pat:update_frame(306,0,3, function (frame) frame.hurtbox[4]=null frame.hurtbox[3].y1 = frame.hurtbox[3].y1 - 30 frame.hurtbox[3].y2 = frame.hurtbox[3].y2 - 30 frame.attackbox[1].x1 = frame.attackbox[1].x1 - 15 frame.attackbox[1].x2 = frame.attackbox[1].x2 - 15 frame.attackbox[1].y1 = frame.attackbox[1].y1 - 15 frame.attackbox[1].y2 = frame.attackbox[1].y2 - 15 frame.attackbox[2].x1 = frame.attackbox[2].x1 - 15 frame.attackbox[2].x2 = frame.attackbox[2].x2 - 15 frame.attackbox[2].y1 = frame.attackbox[2].y1 - 15 frame.attackbox[2].y2 = frame.attackbox[2].y2 - 15 frame.damage = 450 frame.proration = 900 end) pat:update_frame(306,0,4, { tex_index = 77, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +baseX2 +32 , tex_offset_y = baseY +baseY2 -40 , hurtbox = pat:get_frame(306,0,3).hurtbox , attackbox = pat:get_frame(306,0,3).attackbox , damage = 450 , proration = 900}) pat:update_frame(306,0,5, { tex_index = 77, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +baseX2 +32 , tex_offset_y = baseY +baseY2 -40 , hurtbox = pat:get_frame(306,0,3).hurtbox , duration = 3+2 }) pat:update_frame(306,0,6, { tex_index = 77, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +baseX2 +32 , tex_offset_y = baseY +baseY2 -40 , hurtbox = pat:get_frame(306,0,3).hurtbox }) pat:update_frame(306,0,7, { tex_index = 77, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +baseX2 +32 , tex_offset_y = baseY +baseY2 -40 , hurtbox = pat:get_frame(306,0,3).hurtbox }) pat:update_frame(306,0,8, { tex_index = 76, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +40 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(6,2,4).hurtbox }) pat:update_frame(306,0,9, { tex_index = 301 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +46 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(6,2,4).hurtbox }) --pat:update_frame(306,0,8, { tex_index = 300 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +40 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(6,2,4).hurtbox }) --pat:update_frame(306,0,9, { tex_index = 301 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +46 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(6,2,4).hurtbox }) --pat:update_frame(306,0,8, { tex_index = 76, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +22 , tex_offset_y = baseY +baseY2 -38 }) --pat:update_frame(306,0,9, { tex_index = 75, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +22 , tex_offset_y = baseY +baseY2 -44 }) --j6a local baseY2 = 46 pat:update_frame(307,0,0, { tex_index = 39, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +14 , tex_offset_y = baseY +baseY2/2 -26 , hurtbox = pat:get_frame(307,0,1).hurtbox }) pat:update_frame(307,0,0,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+20 end) pat:update_frame(307,0,1, { tex_index = 39, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +14 , tex_offset_y = baseY +baseY2/2 -26 , hurtbox = pat:get_frame(307,0,0).hurtbox , duration = 2 + 3 }) pat:update_frame(307,0,2, { tex_index = 40, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY +baseY2 -34 , duration = 5 - 3}) pat:update_frame(307,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].x2 = frame.hurtbox[2].x2+20 frame.hurtbox[2].y1 = frame.hurtbox[2].y1-20 frame.hurtbox[2].y2 = frame.hurtbox[2].y2-20 end) pat:update_frame(307,0,3, { tex_index = 40, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY +baseY2 -34 , hurtbox = pat:get_frame(307,0,2).hurtbox }) pat:update_frame(307,0,4, { tex_index = 41, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY +baseY2 -38 , hurtbox = pat:get_frame(306,0,3).hurtbox }) -- fires here pat:update_frame(307,0,4,function(frame) frame.hurtbox[1].y2 = frame.hurtbox[1].y2 - 40 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 - 20 frame.hurtbox[3].y2 = frame.hurtbox[3].y2 - 20 frame.attackbox[1]=frame.attackbox[2] frame.attackbox[1].x2 = frame.attackbox[1].x2 - 20 frame.attackbox[1].y2 = frame.attackbox[1].y2 + 35 frame.attackbox[2]=null frame.damage = 800 frame.proration = 800 end) pat:update_frame(307,0,5, { tex_index = 42, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY +baseY2 -40 , hurtbox = pat:get_frame(307,0,4).hurtbox , attackbox = pat:get_frame(307,0,4).attackbox , damage = 800 , proration = 800 }) pat:update_frame(307,0,6, { tex_index = 42, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY +baseY2 -40 , hurtbox = pat:get_frame(307,0,4).hurtbox , attackbox = pat:get_frame(307,0,4).attackbox , damage = 800 , proration = 800 }) pat:update_frame(307,0,7, { tex_index = 42, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY +baseY2 -40 , hurtbox = pat:get_frame(307,0,4).hurtbox , attackbox = pat:get_frame(307,0,4).attackbox , damage = 800 , proration = 800 }) pat:update_frame(307,0,8, { tex_index = 42, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY +baseY2 -40 , hurtbox = pat:get_frame(307,0,4).hurtbox , duration = 5 +13 }) pat:update_frame(307,0,9, { tex_index = 43, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -12 , tex_offset_y = baseY +baseY2 -40 , hurtbox = pat:get_frame(307,0,4).hurtbox }) pat:update_frame(307,0,9,function(frame) frame.hurtbox[3]=null end) pat:update_frame(307,0,10, { tex_index = 44, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY +baseY2 -36 , hurtbox = pat:get_frame(307,0,9).hurtbox }) pat:update_frame(307,0,10,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 - 35 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 - 35 frame.hurtbox[2].y2 = frame.hurtbox[2].y2 + 10 end) pat:remove_frame(307,0,15) pat:remove_frame(307,0,14) pat:remove_frame(307,0,13) pat:remove_frame(307,0,12) pat:remove_frame(307,0,11) -- j2a pat:update_frame(308,0,0, { tex_index = 106, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +2 , tex_offset_y = baseY +baseY2 -38 }) pat:update_frame(308,0,0,function(frame) frame.hurtbox[2].y2 = frame.hurtbox[2].y2 - 50 end) pat:update_frame(308,0,1, { tex_index = 83, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +20 , tex_offset_y = baseY +baseY2 -30 }) pat:update_frame(308,0,1,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 + 20 frame.hurtbox[1].y2 = frame.hurtbox[1].y2 + 20 end) pat:update_frame(308,0,2, { tex_index = 82, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +14 , tex_offset_y = baseY +baseY2 -8 , hurtbox = pat:get_frame(308,0,1).hurtbox }) pat:update_frame(308,0,3, { tex_index = 81, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +4 , tex_offset_y = baseY +baseY2 -6 , hurtbox = pat:get_frame(308,0,1).hurtbox }) pat:update_frame(308,0,4, { tex_index = 107, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +22 , tex_offset_y = baseY +baseY2 +2 }) pat:update_frame(308,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 + 20 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 - 20 frame.hurtbox[3].y2 = frame.hurtbox[3].y2 - 20 frame.attackbox[1].y1 = frame.attackbox[1].y1 - 20 frame.attackbox[1].y2 = frame.attackbox[1].y2 - 20 end) pat:update_frame(308,1,0, { tex_index = 108, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +22 , tex_offset_y = baseY +baseY2 +14 , hurtbox = pat:get_frame(308,0,4).hurtbox , attackbox = pat:get_frame(308,0,4).attackbox }) pat:update_frame(308,1,1, { tex_index = 109, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +16 , tex_offset_y = baseY +baseY2 +18 , hurtbox = pat:get_frame(308,0,4).hurtbox , attackbox = pat:get_frame(308,0,4).attackbox }) pat:split_frame(308,2,2,2,2) pat:split_frame(308,2,0,4,4) pat:split_frame(308,2,1,2,2) pat:split_frame(308,2,0,2,2) pat:update_frame(308,2,0, { tex_index = 81, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +4 , tex_offset_y = baseY -6 , hurtbox = pat:get_frame(308,0,1).hurtbox }) pat:update_frame(308,2,0,function(frame) frame.hurtbox[1].y1 = frame.hurtbox[1].y1 + baseY2 frame.hurtbox[1].y2 = frame.hurtbox[1].y2 + baseY2 frame.hurtbox[2].y1 = frame.hurtbox[2].y1 + baseY2 frame.hurtbox[2].y2 = frame.hurtbox[2].y2 + baseY2 frame.hurtbox[3].y1 = frame.hurtbox[3].y1 + baseY2 frame.hurtbox[3].y2 = frame.hurtbox[3].y2 + baseY2 end) pat:update_frame(308,2,1, { tex_index = 82, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +14 , tex_offset_y = baseY -8 , hurtbox = pat:get_frame(308,2,0).hurtbox }) pat:update_frame(308,2,2, { tex_index = 83, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +20 , tex_offset_y = baseY -30 , hurtbox = pat:get_frame(308,2,0).hurtbox }) pat:update_frame(308,2,3, { tex_index = 84, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +22 , tex_offset_y = baseY -66 , hurtbox = pat:get_frame(308,2,0).hurtbox }) pat:update_frame(308,2,4, { tex_index = 85, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +18 , tex_offset_y = baseY -82 , hurtbox = pat:get_frame(308,2,0).hurtbox }) --pat:update_frame(308,2,5, { tex_index = 349 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +18 , tex_offset_y = baseY -56 , hurtbox = pat:get_frame(3,0,0).hurtbox , duration = 2}) pat:update_frame(308,2,5, { tex_index = 350 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +8 , tex_offset_y = baseY -22 , hurtbox = pat:get_frame(3,0,1).hurtbox , duration = 2}) pat:update_frame(308,2,6, { tex_index = 351 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -10 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 2}) -- j8a local baseY2 = 20 pat:remove_frame(309,0,9) pat:remove_frame(309,0,8) pat:remove_frame(309,0,7) pat:remove_frame(309,0,6) pat:remove_frame(309,0,3) pat:remove_frame(309,0,2) pat:remove_frame(309,0,1) pat:update_frame(309,0,0, { tex_index = 45, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +28 , tex_offset_y = baseY +baseY2 -18 , hurtbox = pat:get_frame(410,0,0).hurtbox , duration = 9 }) pat:update_frame(309,0,0,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 frame.hurtbox[3].y1 = frame.hurtbox[3].y1 - 20 frame.hurtbox[3].y2 = frame.hurtbox[3].y2 - 20 frame.hurtbox[4].y1 = frame.hurtbox[4].y1 - 20 frame.hurtbox[4].y2 = frame.hurtbox[4].y2 - 20 end) pat:update_frame(309,0,1, { tex_index = 46, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +46 , tex_offset_y = baseY +baseY2 -10 , duration = 3 }) pat:update_frame(309,0,1,function(frame) frame.hurtbox[4]=null frame.hurtbox[1].y1 = frame.hurtbox[1].y1 +20 frame.hurtbox[1].y2 = frame.hurtbox[1].y2 +20 frame.hurtbox[3].x1 = frame.hurtbox[3].x1 +40 frame.hurtbox[3].x2 = frame.hurtbox[3].x2 +40 frame.hurtbox[3].y2 = frame.hurtbox[3].y2 +10 frame.hurtbox[2].y1 = frame.hurtbox[2].y1 - 20 frame.attackbox[4]=null frame.attackbox[3]=null frame.attackbox[1].x1=frame.attackbox[1].x1+20 frame.attackbox[1].y1=frame.attackbox[1].y1+40 frame.attackbox[1].y2=frame.attackbox[1].y2+60 frame.attackbox[2].y1=frame.attackbox[2].y1+100 frame.attackbox[2].y2=frame.attackbox[2].y2+120 frame.attackbox[2].x1=frame.attackbox[2].x1+100 frame.attackbox[2].x2=frame.attackbox[2].x2+40 frame.attackbox[1].x1=frame.attackbox[1].x1-120 frame.attackbox[1].x2=frame.attackbox[1].x2-120 frame.attackbox[2].x1=frame.attackbox[2].x1-120 frame.attackbox[2].x2=frame.attackbox[2].x2-120 frame.damage = 800 frame.proration = 800 frame.launch_vector_x = 600 frame.launch_vector_y = 2000 frame.hit_ani_air = 71 frame.hit_ani_ground = 71 frame.untech = 50 frame.combo_correction = CC_LIFT_ATTACK end) --pat:update_frame(309,0,2, { tex_index = 9, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +42 , tex_offset_y = baseY +baseY2 +4 , hurtbox = pat:get_frame(309,0,1).hurtbox , duration = 38 }) pat:update_frame(309,0,2, { tex_index = 112, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +48 , tex_offset_y = baseY +baseY2 +10 -16 , hurtbox = pat:get_frame(309,0,1).hurtbox , duration = 38 }) --tex_index 9 pat:update_frame(309,0,2,function(frame) 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].y1 = frame.hurtbox[2].y1 - 20 end) --6a pat:remove_frame(302,0,4) local baseY2 = -8 pat:update_frame(302,0,0, { tex_index = 78, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +28 , tex_offset_y = baseY +baseY2 -18 , hurtbox = pat:get_frame(410,0,0).hurtbox }) pat:update_frame(302,0,0,function(frame) frame.hurtbox[2]=frame.hurtbox[3] frame.hurtbox[3]=frame.hurtbox[4] frame.hurtbox[4]=null end) pat:update_frame(302,0,1, { tex_index = 78, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +28 , tex_offset_y = baseY +baseY2 -18 , hurtbox = pat:get_frame(302,0,0).hurtbox }) pat:update_frame(302,0,2, { tex_index = 79, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +50 , tex_offset_y = baseY +baseY2 -28 , hurtbox = pat:get_frame(302,0,0).hurtbox }) pat:update_frame(302,0,3, { tex_index = 79, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +50 , tex_offset_y = baseY +baseY2 -28 , hurtbox = pat:get_frame(302,0,0).hurtbox , duration = 3 + 2 -1}) pat:update_frame(302,0,4, { tex_index = 176, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +28 -50, tex_offset_y = baseY +baseY2 -30 , hurtbox = pat:get_frame(408,0,5).hurtbox }) pat:update_frame(302,0,4,function(frame) 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 +50 end) pat:update_frame(302,0,5, { tex_index = 177, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +32 -60, tex_offset_y = baseY +baseY2 -30 , hurtbox = pat:get_frame(408,0,6).hurtbox , attackbox = pat:get_frame(408,0,6).attackbox }) -- fires here pat:update_frame(302,0,5,function(frame) frame.hurtbox[1].x1 = frame.hurtbox[1].x1 +60 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 +60 frame.hurtbox[2].x1 = frame.hurtbox[2].x1 +60 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 +60 frame.hurtbox[3].x1 = frame.hurtbox[3].x1 +60 frame.hurtbox[3].x2 = frame.hurtbox[3].x2 +60 frame.attackbox[1].x1 = frame.attackbox[1].x1 + 30 frame.attackbox[1].x2 = frame.attackbox[1].x2 + 60 frame.attackbox[2].x1 = frame.attackbox[2].x1 + 30 frame.attackbox[2].x2 = frame.attackbox[2].x2 + 60 end) pat:update_frame(302,0,5,function(frame) frame.damage = 800 frame.proration = 800 end) pat:update_frame(302,0,6, { tex_index = 177, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +32 -60, tex_offset_y = baseY +baseY2 -30 , hurtbox = pat:get_frame(302,0,5).hurtbox , duration = pat:get_frame(302,0,6).duration-1 }) pat:update_frame(302,0,7, { tex_index = 177, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +32 -60, tex_offset_y = baseY +baseY2 -30 , hurtbox = pat:get_frame(302,0,5).hurtbox }) pat:update_frame(302,0,8, { tex_index = 178, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 -40, tex_offset_y = baseY +baseY2/2 -18 , hurtbox = pat:get_frame(408,0,9).hurtbox }) pat:update_frame(302,0,8,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[3].x1 = frame.hurtbox[3].x1 +40 frame.hurtbox[3].x2 = frame.hurtbox[3].x2 +40 end) pat:update_frame(302,0,9, { tex_index = 179, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +6 -20, tex_offset_y = baseY -10 , hurtbox = pat:get_frame(408,0,10).hurtbox}) pat:update_frame(302,0,9,function(frame) frame.hurtbox[1].x1 = frame.hurtbox[1].x1 +20 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 +20 end) pat:remove_frame(302,1,1) pat:update_frame(302,1,0, { tex_index = 79, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +50 , tex_offset_y = baseY +baseY2 -28 , hurtbox = pat:get_frame(302,0,3).hurtbox , duration = 15 + 2 -1}) pat:update_frame(302,1,1, { tex_index = 176, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +28 -50, tex_offset_y = baseY +baseY2 -30 , hurtbox = pat:get_frame(302,0,3).hurtbox }) pat:update_frame(302,1,2, { tex_index = 177, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +32 -60, tex_offset_y = baseY +baseY2 -30 , hurtbox = pat:get_frame(302,0,5).hurtbox , attackbox = pat:get_frame(302,0,5).attackbox , damage = 1000 , proration = 800}) -- fires here pat:update_frame(302,1,3, { tex_index = 177, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +32 -60, tex_offset_y = baseY +baseY2 -30 , hurtbox = pat:get_frame(302,0,6).hurtbox , duration = pat:get_frame(302,1,3).duration-1 }) pat:update_frame(302,1,3,function(frame) frame.attackbox[3]=null frame.attackbox[2]=null frame.attackbox[1]=null end) pat:update_frame(302,1,4, { tex_index = 177, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +32 -60, tex_offset_y = baseY +baseY2 -30 , hurtbox = pat:get_frame(302,0,7).hurtbox }) pat:update_frame(302,1,5, { tex_index = 178, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 -40, tex_offset_y = baseY +baseY2/2 -18 , hurtbox = pat:get_frame(302,0,8).hurtbox }) pat:update_frame(302,1,6, { tex_index = 179, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +6 -20, tex_offset_y = baseY -10 , hurtbox = pat:get_frame(302,0,9).hurtbox}) -- dial A last local baseY2 = -8 pat:remove_frame(322,0,4) pat:update_frame(322,0,0, { tex_index = 78, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +28 , tex_offset_y = baseY +baseY2 -18 , hurtbox = pat:get_frame(302,0,0).hurtbox }) pat:update_frame(322,0,1, { tex_index = 78, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +28 , tex_offset_y = baseY +baseY2 -18 , hurtbox = pat:get_frame(302,0,1).hurtbox }) pat:update_frame(322,0,2, { tex_index = 79, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +50 , tex_offset_y = baseY +baseY2 -28 , hurtbox = pat:get_frame(302,0,2).hurtbox }) pat:update_frame(322,0,3, { tex_index = 79, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +50 , tex_offset_y = baseY +baseY2 -28 , hurtbox = pat:get_frame(302,0,3).hurtbox , duration = 3 + 2 -1}) pat:update_frame(322,0,4, { tex_index = 176, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +28 -50, tex_offset_y = baseY +baseY2 -30 , hurtbox = pat:get_frame(302,0,4).hurtbox }) pat:update_frame(322,0,5, { tex_index = 177, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +32 -60, tex_offset_y = baseY +baseY2 -30 , hurtbox = pat:get_frame(302,0,5).hurtbox , attackbox = pat:get_frame(302,0,5).attackbox , damage = 800 , proration = 800}) -- fires here pat:update_frame(322,0,5,function(frame) frame.attackbox[2].y1 = frame.attackbox[2].y1 - 30 end) pat:update_frame(322,0,6, { tex_index = 177, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +32 -60, tex_offset_y = baseY +baseY2 -30 , hurtbox = pat:get_frame(302,0,6).hurtbox }) pat:update_frame(322,0,7, { tex_index = 177, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +32 -60, tex_offset_y = baseY +baseY2 -30 , hurtbox = pat:get_frame(302,0,7).hurtbox }) pat:update_frame(322,0,8, { tex_index = 178, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 -40, tex_offset_y = baseY +baseY2/2 -18 , hurtbox = pat:get_frame(302,0,8).hurtbox }) pat:update_frame(322,0,9, { tex_index = 179, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +6 -20, tex_offset_y = baseY -10 , hurtbox = pat:get_frame(302,0,9).hurtbox , duration = 4 - 2 }) -- new --66c local baseY2 = 0 pat:update_frame(418,0,0, { tex_index = 180, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +18 , tex_offset_y = baseY +baseY2 -74 +8 , duration = 2 + 2}) pat:update_frame(418,0,0,function(frame) frame.hurtbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[2].x1 = frame.hurtbox[2].x1 - 0 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 - 0 frame.hurtbox[2].y1 = frame.hurtbox[2].y1 + 100 frame.hurtbox[1].x1 = frame.hurtbox[1].x1 + 40 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 + 40 frame.hurtbox[1].y1 = frame.hurtbox[1].y1 + 50 frame.hurtbox[1].y2 = frame.hurtbox[1].y2 - 30 end) pat:update_frame(418,0,1, { tex_index = 181, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +4 , tex_offset_y = baseY +baseY2 -68 +8 }) pat:update_frame(418,0,1,function(frame) frame.hurtbox = pat:get_frame(418,0,0).hurtbox frame.hurtbox[2].y1 = frame.hurtbox[2].y1 - 40 frame.hurtbox[2].y2 = frame.hurtbox[2].y2 - 40 frame.hurtbox[1].y1 = frame.hurtbox[1].y1 + 40 frame.hurtbox[1].y2 = frame.hurtbox[1].y2 + 40 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 - 20 end) pat:update_frame(418,0,2, { tex_index = 181, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +4 , tex_offset_y = baseY +baseY2 -68 +8 , hurtbox = pat:get_frame(418,0,1).hurtbox }) pat:update_frame(418,0,3, { tex_index = 182, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -58 , hurtbox = pat:get_frame(418,0,1).hurtbox , duration = 4 - 2 }) pat:update_frame(418,0,3,function(frame) frame.hurtbox[1].x1 = frame.hurtbox[1].x1 + 20 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 + 20 frame.hurtbox[2].x1 = frame.hurtbox[2].x1 + 20 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 + 20 frame.hurtbox[1].y1 = frame.hurtbox[1].y1 - 10 frame.hurtbox[1].y2 = frame.hurtbox[1].y2 - 30 frame.hurtbox[2].y1 = frame.hurtbox[2].y1 frame.hurtbox[2].y2 = frame.hurtbox[2].y2 - 50 end) pat:update_frame(418,0,4, { tex_index = 182, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -58 , hurtbox = pat:get_frame(418,0,3).hurtbox }) pat:update_frame(418,0,5, { tex_index = 183, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +0 , tex_offset_y = baseY -10 }) -- fires here pat:update_frame(418,0,5,function(frame) frame.hurtbox[4]=null frame.hurtbox[1].x2 = frame.hurtbox[1].x2 + 40 frame.hurtbox[1].y1 = frame.hurtbox[1].y1 + 90 frame.hurtbox[1].y2 = frame.hurtbox[1].y2 + 60 frame.hurtbox[3].y2 = frame.hurtbox[3].y2 + 30 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 - 20 frame.attackbox[2].x2 = frame.attackbox[2].x2 -50 frame.attackbox[2].y2 = frame.attackbox[2].y2 +60 frame.attackbox[1].x2 = frame.attackbox[1].x2 -50 frame.attackbox[1].y2 = frame.attackbox[1].y2 +60 frame.attackbox[2].y1 = frame.attackbox[2].y1 -30 frame.damage = 850 frame.hit_ani_air = 73 frame.hit_ani_ground = 73 frame.launch_vector_x = 1800 frame.launch_vector_y = -1800 unset_aflag(frame,AF_AIR_BLOCKABLE) end) pat:update_frame(418,0,6, { tex_index = 184, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -16 , tex_offset_y = baseY -70+20 , hurtbox = pat:get_frame(418,0,5).hurtbox , attackbox = pat:get_frame(418,0,5).attackbox }) pat:update_frame(418,0,6,function(frame) frame.hurtbox[1].y1 = frame.hurtbox[1].y1 + 40 frame.hurtbox[1].y2 = frame.hurtbox[1].y2 + 20 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 - 20 frame.damage = 850 frame.hit_ani_air = 73 frame.hit_ani_ground = 73 frame.launch_vector_x = 1800 frame.launch_vector_y = -1800 unset_aflag(frame,AF_AIR_BLOCKABLE) end) pat:update_frame(418,0,7, { tex_index = 184, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -16 , tex_offset_y = baseY -70+20 , hurtbox = pat:get_frame(418,0,6).hurtbox , attackbox = pat:get_frame(418,0,5).attackbox }) pat:update_frame(418,0,7,function(frame) frame.damage = 850 frame.hit_ani_air = 73 frame.hit_ani_ground = 73 frame.launch_vector_x = 1800 frame.launch_vector_y = -1800 unset_aflag(frame,AF_AIR_BLOCKABLE) end) pat:update_frame(418,0,8, { tex_index = 185, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -22 +10, tex_offset_y = baseY -62 +10 , hurtbox = pat:get_frame(418,0,6).hurtbox , attackbox = pat:get_frame(418,0,5).attackbox }) pat:update_frame(418,0,8,function(frame) frame.damage = 850 frame.hit_ani_air = 73 frame.hit_ani_ground = 73 frame.launch_vector_x = 1800 frame.launch_vector_y = -1800 unset_aflag(frame,AF_AIR_BLOCKABLE) end) pat:update_frame(418,0,9, { tex_index = 185, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -22 +10 , tex_offset_y = baseY -62 +10 , hurtbox = pat:get_frame(418,0,6).hurtbox }) pat:update_frame(418,0,10, { tex_index = 185, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -22 +10 , tex_offset_y = baseY -62 +10 , hurtbox = pat:get_frame(418,0,6).hurtbox }) pat:update_frame(418,0,11, { tex_index = 185, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -22 +10 , tex_offset_y = baseY -62 +10 , hurtbox = pat:get_frame(418,0,6).hurtbox }) pat:update_frame(418,0,12, { tex_index = 185, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -22 +10 , tex_offset_y = baseY -62 +10 , hurtbox = pat:get_frame(418,0,6).hurtbox }) pat:update_frame(418,0,13, { tex_index = 185, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -22 +10 , tex_offset_y = baseY -62 +10 , hurtbox = pat:get_frame(418,0,6).hurtbox }) pat:update_frame(418,0,14, { tex_index = 185, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -22 +10 , tex_offset_y = baseY -62 +10 , hurtbox = pat:get_frame(418,0,6).hurtbox }) pat:update_frame(418,0,15, { tex_index = 185, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -22 +10 , tex_offset_y = baseY -62 +10 , hurtbox = pat:get_frame(418,0,6).hurtbox }) pat:update_frame(418,0,16, { tex_index = 185, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -22 +10 , tex_offset_y = baseY -62 +10 , hurtbox = pat:get_frame(418,0,6).hurtbox }) pat:update_frame(418,1,0, { tex_index = 185, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -22 +10 , tex_offset_y = baseY -62 +10 }) pat:update_frame(418,1,1, { tex_index = 185, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -22 +10 , tex_offset_y = baseY -62 +10 }) pat:update_frame(418,2,0, { tex_index = 349 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +18 , tex_offset_y = baseY -56 , hurtbox = pat:get_frame(3,0,0).hurtbox , duration = 2+4}) pat:update_frame(418,2,1, { tex_index = 350 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +8 , tex_offset_y = baseY -22 , hurtbox = pat:get_frame(3,0,1).hurtbox , duration = 2}) pat:update_frame(418,2,2, { tex_index = 351 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -10 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 2}) for idx = 0 , 16 do pat:update_frame(418,0,idx,function(frame) unset_fflag(frame,FF_GRAZE) end) end for idx = 3 , 16 do pat:update_frame(418,0,idx,function(frame) frame.collision[1].y1 = frame.collision[1].y1 + 40 frame.collision[1].y2 = frame.collision[1].y2 + 40 end) end end function mods.a22_stomp(pat) -- j2a local baseX = 70 local baseY = 195 local baseY2 = 46 pat:update_frame(545,0,0, { tex_index = 106, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +2 , tex_offset_y = baseY +baseY2 -38 , hurtbox = pat:get_frame(308,0,0).hurtbox }) pat:update_frame(545,0,1, { tex_index = 83, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +20 , tex_offset_y = baseY +baseY2 -30 , hurtbox = pat:get_frame(308,0,1).hurtbox }) pat:update_frame(545,0,2, { tex_index = 82, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +14 , tex_offset_y = baseY +baseY2 -8 , hurtbox = pat:get_frame(308,0,2).hurtbox }) pat:update_frame(545,0,3, { tex_index = 81, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +4 , tex_offset_y = baseY +baseY2 -6 , hurtbox = pat:get_frame(308,0,3).hurtbox }) pat:update_frame(545,0,4, { tex_index = 107, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +22 , tex_offset_y = baseY +baseY2 +2 , hurtbox = pat:get_frame(308,0,4).hurtbox }) pat:update_frame(545,1,0, { tex_index = 108, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +22 , tex_offset_y = baseY +baseY2 +14 , hurtbox = pat:get_frame(308,0,4).hurtbox , attackbox = pat:get_frame(308,0,4).attackbox})-- , damage = 800 , proration = 850}) pat:update_frame(545,1,1, { tex_index = 109, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +16 , tex_offset_y = baseY +baseY2 +18 , hurtbox = pat:get_frame(308,0,4).hurtbox , attackbox = pat:get_frame(308,0,4).attackbox})-- , damage = 800 , proration = 850}) pat:split_frame(545,2,2,3,3) pat:split_frame(545,2,0,7,8) pat:split_frame(545,2,1,4,4) pat:split_frame(545,2,0,3,4) pat:update_frame(545,2,0, { tex_index = 81, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +4 , tex_offset_y = baseY -6 , hurtbox = pat:get_frame(308,0,1).hurtbox }) pat:update_frame(545,2,1, { tex_index = 82, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +14 , tex_offset_y = baseY -8 , hurtbox = pat:get_frame(308,2,0).hurtbox }) pat:update_frame(545,2,2, { tex_index = 83, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +20 , tex_offset_y = baseY -30 , hurtbox = pat:get_frame(308,2,0).hurtbox }) pat:update_frame(545,2,3, { tex_index = 84, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +22 , tex_offset_y = baseY -66 , hurtbox = pat:get_frame(308,2,0).hurtbox }) pat:update_frame(545,2,4, { tex_index = 85, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +18 , tex_offset_y = baseY -82 , hurtbox = pat:get_frame(308,2,0).hurtbox }) pat:update_frame(545,2,5, { tex_index = 350 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +8 , tex_offset_y = baseY -22 , hurtbox = pat:get_frame(3,0,1).hurtbox , duration = 2}) pat:update_frame(545,2,6, { tex_index = 351 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -10 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 2}) pat:update_frame(546,0,0, { tex_index = 106, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +2 , tex_offset_y = baseY +baseY2 -38 , hurtbox = pat:get_frame(308,0,0).hurtbox }) pat:update_frame(546,0,1, { tex_index = 83, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +20 , tex_offset_y = baseY +baseY2 -30 , hurtbox = pat:get_frame(308,0,1).hurtbox }) pat:update_frame(546,0,2, { tex_index = 82, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +14 , tex_offset_y = baseY +baseY2 -8 , hurtbox = pat:get_frame(308,0,2).hurtbox }) pat:update_frame(546,0,3, { tex_index = 81, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +4 , tex_offset_y = baseY +baseY2 -6 , hurtbox = pat:get_frame(308,0,3).hurtbox }) pat:update_frame(546,0,4, { tex_index = 107, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +22 , tex_offset_y = baseY +baseY2 +2 , hurtbox = pat:get_frame(308,0,4).hurtbox }) pat:update_frame(546,1,0, { tex_index = 108, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +22 , tex_offset_y = baseY +baseY2 +14 , hurtbox = pat:get_frame(308,0,4).hurtbox , attackbox = pat:get_frame(308,0,4).attackbox }) pat:update_frame(546,1,1, { tex_index = 109, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +16 , tex_offset_y = baseY +baseY2 +18 , hurtbox = pat:get_frame(308,0,4).hurtbox , attackbox = pat:get_frame(308,0,4).attackbox }) pat:split_frame(546,2,2,3,3) pat:split_frame(546,2,0,6,6) pat:split_frame(546,2,1,3,3) pat:split_frame(546,2,0,3,3) pat:update_frame(546,2,0, { tex_index = 81, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +4 , tex_offset_y = baseY -6 , hurtbox = pat:get_frame(308,0,1).hurtbox }) pat:update_frame(546,2,1, { tex_index = 82, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +14 , tex_offset_y = baseY -8 , hurtbox = pat:get_frame(308,2,0).hurtbox }) pat:update_frame(546,2,2, { tex_index = 83, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +20 , tex_offset_y = baseY -30 , hurtbox = pat:get_frame(308,2,0).hurtbox }) pat:update_frame(546,2,3, { tex_index = 84, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +22 , tex_offset_y = baseY -66 , hurtbox = pat:get_frame(308,2,0).hurtbox }) pat:update_frame(546,2,4, { tex_index = 85, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +18 , tex_offset_y = baseY -82 , hurtbox = pat:get_frame(308,2,0).hurtbox }) pat:update_frame(546,2,5, { tex_index = 350 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +8 , tex_offset_y = baseY -22 , hurtbox = pat:get_frame(3,0,1).hurtbox , duration = 2}) pat:update_frame(546,2,6, { tex_index = 351 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -10 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 2}) --[[ for idx = 0 , 7 do pat:update_frame(821,2,idx,function(frame)) frame.tex_index = 114+idx frame.tex_w = 160 frame.tex_h = 160 end) end]]-- local baseFX = -20 local baseFY = 70 pat:update_frame(821,2,0, { tex_index = 116 , tex_h = 256 , tex_w = 256 , tex_offset_x = baseFX +75 , tex_offset_y = baseFY +115 }) pat:update_frame(821,2,1, { tex_index = 117 , tex_h = 256 , tex_w = 256 , tex_offset_x = baseFX +72 , tex_offset_y = baseFY +115 , duration = 4 }) pat:update_frame(821,2,2, { tex_index = 118 , tex_h = 256 , tex_w = 256 , tex_offset_x = baseFX +76 , tex_offset_y = baseFY +114 , duration = 4 }) pat:update_frame(821,2,3, { tex_index = 117 , tex_h = 256 , tex_w = 256 , tex_offset_x = baseFX +72 , tex_offset_y = baseFY +115 , duration = 4 }) pat:update_frame(821,2,4, { tex_index = 118 , tex_h = 256 , tex_w = 256 , tex_offset_x = baseFX +76 , tex_offset_y = baseFY +114 , duration = 4 }) pat:update_frame(821,2,5, { tex_index = 117 , tex_h = 256 , tex_w = 256 , tex_offset_x = baseFX +72 , tex_offset_y = baseFY +115 , duration = 4 }) pat:update_frame(821,2,6, { tex_index = 118 , tex_h = 256 , tex_w = 256 , tex_offset_x = baseFX +76 , tex_offset_y = baseFY +114 , duration = 4 }) pat:update_frame(821,2,7, { tex_index = 117 , tex_h = 256 , tex_w = 256 , tex_offset_x = baseFX +72 , tex_offset_y = baseFY +115 , duration = 40 }) --[[ pat:update_frame(821,2,0, { tex_index = 114 , tex_h = 256 , tex_w = 256 , tex_offset_x = baseFX +64 , tex_offset_y = baseFY +115 }) pat:update_frame(821,2,1, { tex_index = 115 , tex_h = 256 , tex_w = 256 , tex_offset_x = baseFX +73 , tex_offset_y = baseFY +115 }) pat:update_frame(821,2,5, { tex_index = 119 , tex_h = 256 , tex_w = 256 , tex_offset_x = baseFX +82 , tex_offset_y = baseFY +130 }) pat:update_frame(821,2,6, { tex_index = 120 , tex_h = 256 , tex_w = 256 , tex_offset_x = baseFX +88 , tex_offset_y = baseFY +134 }) pat:update_frame(821,2,7, { tex_index = 121 , tex_h = 256 , tex_w = 256 , tex_offset_x = baseFX +91 , tex_offset_y = baseFY +134 }) ]]-- baseFX = 0 baseFY = 0 pat:update_frame(821,0,0, { tex_index = 394 , tex_h = 256 , tex_w = 256 , tex_offset_x = baseFX +28 , tex_offset_y = baseFY +25 }) pat:update_frame(821,0,1, { tex_index = 395 , tex_h = 256 , tex_w = 256 , tex_offset_x = baseFX +35 , tex_offset_y = baseFY +37 }) pat:update_frame(821,0,2, { tex_index = 396 , tex_h = 256 , tex_w = 256 , tex_offset_x = baseFX +43 , tex_offset_y = baseFY +51 }) pat:update_frame(821,0,3, { tex_index = 397 , tex_h = 256 , tex_w = 256 , tex_offset_x = baseFX +49 , tex_offset_y = baseFY +60 }) pat:update_frame(821,0,4, { tex_index = 398 , tex_h = 256 , tex_w = 256 , tex_offset_x = baseFX +55 , tex_offset_y = baseFY +65 }) pat:update_frame(821,0,5, { tex_index = 399 , tex_h = 256 , tex_w = 256 , tex_offset_x = baseFX +60 , tex_offset_y = baseFY +68 }) pat:update_frame(821,0,6, { tex_index = 400 , tex_h = 256 , tex_w = 256 , tex_offset_x = baseFX +64 , tex_offset_y = baseFY +70 }) pat:update_frame(821,0,7, { tex_index = 401 , tex_h = 256 , tex_w = 256 , tex_offset_x = baseFX +71 , tex_offset_y = baseFY +71 }) pat:update_frame(821,0,8, { tex_index = 402 , tex_h = 256 , tex_w = 256 , tex_offset_x = baseFX +76 , tex_offset_y = baseFY +71 }) pat:update_frame(821,0,9, { tex_index = 403 , tex_h = 256 , tex_w = 256 , tex_offset_x = baseFX +80 , tex_offset_y = baseFY +70 }) pat:update_frame(821,0,10, { tex_index = 404 , tex_h = 256 , tex_w = 256 , tex_offset_x = baseFX +84 , tex_offset_y = baseFY +70 }) pat:update_frame(821,0,11, { tex_index = 405 , tex_h = 256 , tex_w = 256 , tex_offset_x = baseFX +87 , tex_offset_y = baseFY +69 }) pat:update_frame(821,0,12, { tex_index = 406 , tex_h = 256 , tex_w = 256 , tex_offset_x = baseFX +91 , tex_offset_y = baseFY +68 }) pat:update_frame(821,0,13, { tex_index = 407 , tex_h = 256 , tex_w = 256 , tex_offset_x = baseFX +92 , tex_offset_y = baseFY +67 }) pat:remove_frame(821,0,14) pat:update_frame(821,7,0, { tex_index = 394 , tex_h = 256 , tex_w = 256 , tex_offset_x = baseFX +28 , tex_offset_y = baseFY +25 }) pat:update_frame(821,7,1, { tex_index = 395 , tex_h = 256 , tex_w = 256 , tex_offset_x = baseFX +35 , tex_offset_y = baseFY +37 }) pat:update_frame(821,7,2, { tex_index = 396 , tex_h = 256 , tex_w = 256 , tex_offset_x = baseFX +43 , tex_offset_y = baseFY +51 }) pat:update_frame(821,7,3, { tex_index = 397 , tex_h = 256 , tex_w = 256 , tex_offset_x = baseFX +49 , tex_offset_y = baseFY +60 }) pat:update_frame(821,7,4, { tex_index = 398 , tex_h = 256 , tex_w = 256 , tex_offset_x = baseFX +55 , tex_offset_y = baseFY +65 }) pat:update_frame(821,7,5, { tex_index = 399 , tex_h = 256 , tex_w = 256 , tex_offset_x = baseFX +60 , tex_offset_y = baseFY +68 }) pat:update_frame(821,7,6, { tex_index = 400 , tex_h = 256 , tex_w = 256 , tex_offset_x = baseFX +64 , tex_offset_y = baseFY +70 }) pat:update_frame(821,7,7, { tex_index = 401 , tex_h = 256 , tex_w = 256 , tex_offset_x = baseFX +71 , tex_offset_y = baseFY +71 }) pat:update_frame(821,7,8, { tex_index = 402 , tex_h = 256 , tex_w = 256 , tex_offset_x = baseFX +76 , tex_offset_y = baseFY +71 }) pat:update_frame(821,7,9, { tex_index = 403 , tex_h = 256 , tex_w = 256 , tex_offset_x = baseFX +80 , tex_offset_y = baseFY +70 }) pat:update_frame(821,7,10, { tex_index = 404 , tex_h = 256 , tex_w = 256 , tex_offset_x = baseFX +84 , tex_offset_y = baseFY +70 }) pat:update_frame(821,7,11, { tex_index = 405 , tex_h = 256 , tex_w = 256 , tex_offset_x = baseFX +87 , tex_offset_y = baseFY +69 }) pat:update_frame(821,7,12, { tex_index = 406 , tex_h = 256 , tex_w = 256 , tex_offset_x = baseFX +91 , tex_offset_y = baseFY +68 }) pat:update_frame(821,7,13, { tex_index = 407 , tex_h = 256 , tex_w = 256 , tex_offset_x = baseFX +92 , tex_offset_y = baseFY +67 }) pat:remove_frame(821,7,14) for idx = 0 , 13 do pat:update_frame(821,0,idx,function(frame) if (idx >= 8) then local idx2 = idx-8 frame.color_r=255*(5-idx2)/5 frame.color_g=255*(5-idx2)/5 frame.color_b=255*(5-idx2)/5 end frame.duration = 2 frame.scale_x = 100 frame.scale_y = 100 end) pat:update_frame(821,7,idx,function(frame) if (idx >= 8) then local idx2 = idx-8 frame.color_r=255*(5-idx2)/5 frame.color_g=255*(5-idx2)/5 frame.color_b=255*(5-idx2)/5 end frame.duration = 2 frame.scale_x = 150 frame.scale_y = 150 end) end for idx = 0 , 11 do pat:remove_frame(821,3,0) end for idx = 0 , 119 do pat:split_frame(821,3,0,1,1) end for idx = 0 , 120 do pat:update_frame(821,3,idx,function(frame) frame.scale_x = 50 frame.scale_y = 50 frame.tex_offset_x = 128 frame.tex_offset_y = 128 frame.tex_w = 256 frame.tex_h = 256 frame.duration = 1 if ((idx/2)%10 < 5) then frame.tex_index = 445 + (idx/2)%5 elseif ((idx/2)%10 < 6) then frame.tex_index = 445 + 4 elseif ((idx/2)%10 < 7) then frame.tex_index = 445 + 3 elseif ((idx/2)%10 < 8) then frame.tex_index = 445 + 2 elseif ((idx/2)%10 < 9) then frame.tex_index = 445 + 1 elseif ((idx/2)%10 < 10) then frame.tex_index = 445 + 0 end frame.attackbox[1].x1 = frame.attackbox[1].x1 - 60 frame.attackbox[1].x2 = frame.attackbox[1].x2 - 30 frame.attackbox[1].y1 = frame.attackbox[1].y1 + 10 frame.attackbox[1].y2 = frame.attackbox[1].y2 + 40 local scalemod = 100/frame.scale_x local ymod = -idx*25 + idx*idx*1 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] if (idx==120) then frame.tex_w = 0 frame.attackbox[1]=null frame.hurtbox[1]=null frame.duration = 200 end end) end for idx = 0, 11 do pat:remove_frame(821,4,0) end pat:update_frame(821,4,0, { tex_index = 158, tex_h = 120 , tex_w = 120 , tex_offset_x = 62 , tex_offset_y = 32+60 , scale_x = 400 , scale_y = 200 }) pat:update_frame(821,4,1, { tex_index = 125, tex_h = 120 , tex_w = 120 , tex_offset_x = 85 , tex_offset_y = 38+60 , scale_x = 400 , scale_y = 200 }) pat:update_frame(821,4,2, { tex_index = 126, tex_h = 120 , tex_w = 120 , tex_offset_x = 80 , tex_offset_y = 38+60 , scale_x = 400 , scale_y = 200 }) pat:update_frame(821,4,3, { tex_index = 127, tex_h = 120 , tex_w = 120 , tex_offset_x = 81 , tex_offset_y = 38+60 , scale_x = 400 , scale_y = 200 }) pat:update_frame(821,4,4, { tex_index = 128, tex_h = 120 , tex_w = 120 , tex_offset_x = 74 , tex_offset_y = 38+60 , scale_x = 400 , scale_y = 200 }) pat:update_frame(821,4,5, { tex_index = 129, tex_h = 120 , tex_w = 120 , tex_offset_x = 70 , tex_offset_y = 37+60 , scale_x = 400 , scale_y = 200 }) end function mods.a22_stomp_resurrection(pat) local baseX = 70 local baseY = 195 pat:update_frame(545,0,0, { tex_index = 490 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +14 , tex_offset_y = baseY +6 , hurtbox = pat:get_frame(6,2,2).hurtbox , duration = 4 }) pat:update_frame(545,0,1, { tex_index = 491 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +32 , tex_offset_y = baseY -16 +8, hurtbox = pat:get_frame(56,0,0).hurtbox , duration = 4 }) pat:update_frame(545,0,2, { tex_index = 492 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +30 , tex_offset_y = baseY -32 +15 , hurtbox = pat:get_frame(56,0,0).hurtbox , duration = 4 + 8 }) pat:update_frame(545,0,3, { tex_index = 492 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +30 , tex_offset_y = baseY -32 +15, hurtbox = pat:get_frame(56,0,0).hurtbox , fflags = 0x00007001 , duration = 60 - 8 }) pat:update_frame(545,0,4, { tex_index = 492 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +30 , tex_offset_y = baseY -32 +15, hurtbox = pat:get_frame(56,0,0).hurtbox , attackbox = pat:get_frame(0,0,0).attackbox , fflags = 0x00007001 , duration = 4 }) for idx = 2 , 4 do pat:split_frame(545,1,1,2,2) end pat:update_frame(545,1,0, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +6 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(6,2,2).hurtbox , attackbox = pat:get_frame(0,0,0).attackbox }) pat:update_frame(545,1,1, { tex_index = 298 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +20 , tex_offset_y = baseY +0 , hurtbox = pat:get_frame(6,2,2).hurtbox , attackbox = pat:get_frame(0,0,0).attackbox}) pat:update_frame(545,1,2, { tex_index = 311 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY +6 , hurtbox = pat:get_frame(7,2,4).hurtbox , attackbox = pat:get_frame(0,0,0).attackbox}) pat:update_frame(545,1,3, { tex_index = 312 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +40 , tex_offset_y = baseY +6 , hurtbox = pat:get_frame(7,2,4).hurtbox , attackbox = pat:get_frame(0,0,0).attackbox}) pat:update_frame(545,1,4, { tex_index = 313 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +56 , tex_offset_y = baseY +6 , hurtbox = pat:get_frame(7,2,4).hurtbox , attackbox = pat:get_frame(0,0,0).attackbox, duration = 600 }) pat:update_frame(545,2,0, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -30 , hurtbox = pat:get_frame(6,0,1).hurtbox , duration = 3 }) pat:update_frame(545,2,1, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -30 , hurtbox = pat:get_frame(6,0,1).hurtbox , duration = 2 }) pat:update_frame(545,2,2, { tex_index = 298 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -48 , hurtbox = pat:get_frame(6,0,1).hurtbox , duration = 4 }) pat:update_frame(546,0,0, { tex_index = 490 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +14 , tex_offset_y = baseY +6 , hurtbox = pat:get_frame(6,2,2).hurtbox , duration = 4 }) pat:update_frame(546,0,1, { tex_index = 491 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +32 , tex_offset_y = baseY -16 +8, hurtbox = pat:get_frame(56,0,0).hurtbox , duration = 4 }) pat:update_frame(546,0,2, { tex_index = 492 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +30 , tex_offset_y = baseY -32 +15 , hurtbox = pat:get_frame(56,0,0).hurtbox , duration = 4 + 8 }) pat:update_frame(546,0,3, { tex_index = 492 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +30 , tex_offset_y = baseY -32 +15, hurtbox = pat:get_frame(56,0,0).hurtbox , fflags = 0x00007001 , duration = 60 - 8 }) pat:update_frame(546,0,4, { tex_index = 492 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +30 , tex_offset_y = baseY -32 +15, hurtbox = pat:get_frame(56,0,0).hurtbox , attackbox = pat:get_frame(0,0,0).attackbox , fflags = 0x00007001 , duration = 4 }) for idx = 2 , 4 do pat:split_frame(546,1,1,2,2) end pat:update_frame(546,1,0, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +6 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(6,2,2).hurtbox , attackbox = pat:get_frame(0,0,0).attackbox }) pat:update_frame(546,1,1, { tex_index = 298 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +20 , tex_offset_y = baseY +0 , hurtbox = pat:get_frame(6,2,2).hurtbox , attackbox = pat:get_frame(0,0,0).attackbox}) pat:update_frame(546,1,2, { tex_index = 311 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY +6 , hurtbox = pat:get_frame(7,2,4).hurtbox , attackbox = pat:get_frame(0,0,0).attackbox}) pat:update_frame(546,1,3, { tex_index = 312 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +40 , tex_offset_y = baseY +6 , hurtbox = pat:get_frame(7,2,4).hurtbox , attackbox = pat:get_frame(0,0,0).attackbox}) pat:update_frame(546,1,4, { tex_index = 313 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +56 , tex_offset_y = baseY +6 , hurtbox = pat:get_frame(7,2,4).hurtbox , attackbox = pat:get_frame(0,0,0).attackbox, duration = 600 }) pat:update_frame(546,2,0, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -30 , hurtbox = pat:get_frame(6,0,1).hurtbox , duration = 3 }) pat:update_frame(546,2,1, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -30 , hurtbox = pat:get_frame(6,0,1).hurtbox , duration = 2 }) pat:update_frame(546,2,2, { tex_index = 298 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -48 , hurtbox = pat:get_frame(6,0,1).hurtbox , duration = 4 }) for idx = 8 , 70 do pat:split_frame(821,2,7,1,1) end for idx = 0 , 70 do pat:update_frame(821,2,idx,function (frame) frame.duration=1 frame.angle_z = 90 frame.scale_x = frame.scale_x*1.5 frame.scale_y = frame.scale_y*1.5 if (idx > 60) then local colors = 255-25*(idx-60) frame.color_r = colors frame.color_g = colors frame.color_b = colors end if (idx >= 70) then frame.duration = 600 end end) local mdl = idx%14 if (mdl == 0 or mdl == 1) then pat:update_frame(821,2,idx, { tex_index = 265 , tex_h = 150 , tex_w = 150 , tex_offset_x = 59 , tex_offset_y = 72 +40 }) elseif (mdl == 2 or mdl == 3) then pat:update_frame(821,2,idx, { tex_index = 266 , tex_h = 150 , tex_w = 150 , tex_offset_x = 63 , tex_offset_y = 68 +40 }) elseif (mdl == 4 or mdl == 5) then pat:update_frame(821,2,idx, { tex_index = 268 , tex_h = 150 , tex_w = 150 , tex_offset_x = 63 , tex_offset_y = 73 +40 }) elseif (mdl == 6 or mdl == 7) then pat:update_frame(821,2,idx, { tex_index = 269 , tex_h = 150 , tex_w = 150 , tex_offset_x = 63 , tex_offset_y = 82 +40 }) elseif (mdl == 8 or mdl == 9) then pat:update_frame(821,2,idx, { tex_index = 314 , tex_h = 150 , tex_w = 150 , tex_offset_x = 71 , tex_offset_y = 80 +40 }) elseif (mdl == 10 or mdl == 11) then pat:update_frame(821,2,idx, { tex_index = 315 , tex_h = 150 , tex_w = 150 , tex_offset_x = 53 , tex_offset_y = 89 +40 }) elseif (mdl == 12 or mdl == 13) then pat:update_frame(821,2,idx, { tex_index = 316 , tex_h = 150 , tex_w = 150 , tex_offset_x = 54 , tex_offset_y = 79 +40 }) end end pat:update_frame(821,2,0, { tex_index = 258 , tex_h = 120 , tex_w = 120 , tex_offset_x = 30 , tex_offset_y = 34 +40 }) pat:update_frame(821,2,1, { tex_index = 258 , tex_h = 120 , tex_w = 120 , tex_offset_x = 30 , tex_offset_y = 34 +40 }) pat:update_frame(821,2,2, { tex_index = 259 , tex_h = 120 , tex_w = 120 , tex_offset_x = 38 , tex_offset_y = 39 +40 }) pat:update_frame(821,2,3, { tex_index = 259 , tex_h = 120 , tex_w = 120 , tex_offset_x = 38 , tex_offset_y = 39 +40 }) pat:update_frame(821,2,4, { tex_index = 261 , tex_h = 120 , tex_w = 120 , tex_offset_x = 39 , tex_offset_y = 47 +40 }) pat:update_frame(821,2,5, { tex_index = 261 , tex_h = 120 , tex_w = 120 , tex_offset_x = 39 , tex_offset_y = 47 +40 }) pat:update_frame(821,2,6, { tex_index = 262 , tex_h = 120 , tex_w = 120 , tex_offset_x = 54 , tex_offset_y = 59 +40 }) pat:update_frame(821,2,7, { tex_index = 262 , tex_h = 120 , tex_w = 120 , tex_offset_x = 54 , tex_offset_y = 59 +40 }) pat:update_frame(821,2,8, { tex_index = 265 , tex_h = 120 , tex_w = 120 , tex_offset_x = 59 , tex_offset_y = 72 +40 }) pat:update_frame(821,2,9, { tex_index = 265 , tex_h = 120 , tex_w = 120 , tex_offset_x = 59 , tex_offset_y = 72 +40 }) for idx = 0 , 14 do pat:update_frame(821,0,idx,function(frame) frame.attackbox = pat:get_frame(0,0,0).attackbox end) pat:update_frame(821,7,idx,function(frame) frame.attackbox = pat:get_frame(0,0,0).attackbox end) end end function mods.d214(pat) for idx = 0 , 2 do pat:update_frame(522,1,idx,function(frame) --frame.attackbox[2] = null --frame.attackbox[1] = null --frame.collision[1]=null end) end local baseX = 70 local baseY = 195 local baseY2 = 46 pat:update_frame(520,0,0, { tex_index = 39, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +14 , tex_offset_y = baseY +baseY2/2 -26 , hurtbox = pat:get_frame(307,0,0).hurtbox , duration = 2 }) pat:update_frame(520,0,1, { tex_index = 39, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +14 , tex_offset_y = baseY +baseY2/2 -26 , hurtbox = pat:get_frame(307,0,0).hurtbox , duration = 2 }) pat:update_frame(520,0,2, { tex_index = 39, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +14 , tex_offset_y = baseY +baseY2/2 -26 , hurtbox = pat:get_frame(307,0,0).hurtbox , duration = 2 }) pat:update_frame(520,0,3, { tex_index = 40, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY +baseY2 -34 , hurtbox = pat:get_frame(307,0,3).hurtbox , duration = 2 }) pat:update_frame(520,0,4, { tex_index = 40, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY +baseY2 -34 , hurtbox = pat:get_frame(307,0,3).hurtbox , duration = 2 }) pat:update_frame(520,0,5, { tex_index = 40, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY +baseY2 -34 , hurtbox = pat:get_frame(307,0,3).hurtbox , duration = 2 }) pat:update_frame(520,0,6, { tex_index = 41, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY +baseY2 -38 , hurtbox = pat:get_frame(307,0,4).hurtbox , duration = 3 }) -- fires here pat:update_frame(520,1,0, { tex_index = 42, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY +baseY2 -40 , hurtbox = pat:get_frame(307,0,4).hurtbox , duration = 2 }) -- fires here pat:update_frame(520,1,0,function(frame) frame.attackbox[1].x1 = frame.attackbox[1].x1 + 60 frame.attackbox[1].x2 = frame.attackbox[1].x2 + 60 frame.attackbox[2].x1 = frame.attackbox[2].x1 + 60 frame.attackbox[2].x2 = frame.attackbox[2].x2 + 60 frame.attackbox[2].y1 = frame.attackbox[2].y1 - 60 frame.attackbox[2].y2 = frame.attackbox[2].y2 + 60 frame.attackbox[1].y1 = frame.attackbox[1].y1 - 20 frame.attackbox[1].y2 = frame.attackbox[1].y2 + 20 end) pat:update_frame(520,1,1, { tex_index = 42, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY +baseY2 -40 , hurtbox = pat:get_frame(307,0,4).hurtbox , attackbox = pat:get_frame(520,1,0).attackbox }) -- fires here pat:update_frame(520,1,2, { tex_index = 42, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY +baseY2 -40 , hurtbox = pat:get_frame(307,0,4).hurtbox , attackbox = pat:get_frame(520,1,0).attackbox }) -- fires here --jumpBack pat:update_frame(520,2,0, { tex_index = 303 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -18 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(8,1,1).hurtbox }) pat:update_frame(520,2,1, { tex_index = 304 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -18 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(8,1,0).hurtbox }) pat:update_frame(520,2,2, { tex_index = 305 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -22 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(8,1,0).hurtbox }) pat:update_frame(520,2,3, { tex_index = 298 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +20 , tex_offset_y = baseY +0 , hurtbox = pat:get_frame(6,2,2).hurtbox }) pat:update_frame(520,3,0, { tex_index = 300 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +40 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(6,2,4).hurtbox }) pat:update_frame(520,3,1, { tex_index = 301 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +46 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(6,2,4).hurtbox }) pat:update_frame(520,4,0, { tex_index = 42, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY +baseY2 -40 , hurtbox = pat:get_frame(307,0,4).hurtbox }) -- fires here pat:update_frame(520,4,1, { tex_index = 43, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -12 , tex_offset_y = baseY +baseY2 -40 , hurtbox = pat:get_frame(307,0,9).hurtbox }) pat:update_frame(520,4,2, { tex_index = 43, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -12 , tex_offset_y = baseY +baseY2*.75 -40 , hurtbox = pat:get_frame(307,0,9).hurtbox }) pat:update_frame(520,4,3, { tex_index = 43, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -12 , tex_offset_y = baseY +baseY2*.5 -40 , hurtbox = pat:get_frame(307,0,9).hurtbox }) pat:update_frame(520,4,4, { tex_index = 44, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY +baseY2*.25 -36 , hurtbox = pat:get_frame(307,0,10).hurtbox }) pat:update_frame(520,4,5, { tex_index = 44, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY -36 , hurtbox = pat:get_frame(307,0,10).hurtbox }) pat:update_frame(520,4,6, { tex_index = 44, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY -36 , hurtbox = pat:get_frame(307,0,10).hurtbox }) pat:update_frame(520,5,0, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -30 , hurtbox = pat:get_frame(6,0,1).hurtbox , duration = 2 + 5 }) pat:update_frame(520,5,1, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -30 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(520,5,2, { tex_index = 298 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -48 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(521,0,0, { tex_index = 39, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +14 , tex_offset_y = baseY +baseY2/2 -26 , hurtbox = pat:get_frame(307,0,0).hurtbox , duration = 2 }) pat:update_frame(521,0,1, { tex_index = 39, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +14 , tex_offset_y = baseY +baseY2/2 -26 , hurtbox = pat:get_frame(307,0,0).hurtbox , duration = 2 }) pat:update_frame(521,0,2, { tex_index = 39, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +14 , tex_offset_y = baseY +baseY2/2 -26 , hurtbox = pat:get_frame(307,0,0).hurtbox , duration = 2 }) pat:update_frame(521,0,3, { tex_index = 40, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY +baseY2/2 -34 , hurtbox = pat:get_frame(307,0,3).hurtbox , duration = 2 }) pat:update_frame(521,0,4, { tex_index = 40, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY +baseY2/2 -34 , hurtbox = pat:get_frame(307,0,3).hurtbox , duration = 2 }) pat:update_frame(521,0,5, { tex_index = 40, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY +baseY2/2 -34 , hurtbox = pat:get_frame(307,0,3).hurtbox , duration = 2 }) pat:update_frame(521,0,6, { tex_index = 41, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY +baseY2 -38 , hurtbox = pat:get_frame(307,0,4).hurtbox , duration = 3 }) -- fires here pat:update_frame(521,0,6,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-20 frame.hurtbox[2].x2 = frame.hurtbox[2].x2-20 frame.hurtbox[2].y1 = frame.hurtbox[2].y1-20 frame.hurtbox[3].x1 = frame.hurtbox[3].x1-40 frame.hurtbox[3].x2 = frame.hurtbox[3].x2-40 frame.hurtbox[3].y1 = frame.hurtbox[3].y1-40 frame.hurtbox[3].y2 = frame.hurtbox[3].y2-20 end) pat:update_frame(521,1,0, { tex_index = 42, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY +baseY2 -40 , hurtbox = pat:get_frame(521,0,6).hurtbox }) -- fires here pat:update_frame(521,1,0,function(frame) frame.attackbox[1].x1 = frame.attackbox[1].x1 + 30 frame.attackbox[1].x2 = frame.attackbox[1].x2 + 30 frame.attackbox[2].x1 = frame.attackbox[2].x1 + 30 frame.attackbox[2].x2 = frame.attackbox[2].x2 + 30 frame.attackbox[2].y1 = frame.attackbox[2].y1 - 50 frame.attackbox[2].y2 = frame.attackbox[2].y2 - 50 frame.attackbox[1].y1 = frame.attackbox[1].y1 - 50 frame.attackbox[1].y2 = frame.attackbox[1].y2 - 50 end) pat:update_frame(521,1,1, { tex_index = 42, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY +baseY2 -40 , hurtbox = pat:get_frame(521,0,6).hurtbox , attackbox = pat:get_frame(521,1,0).attackbox }) -- fires here pat:update_frame(521,1,2, { tex_index = 42, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY +baseY2 -40 , hurtbox = pat:get_frame(521,0,6).hurtbox , attackbox = pat:get_frame(521,1,0).attackbox }) -- fires here pat:update_frame(521,0,6,function(frame) frame.tex_offset_x = frame.tex_offset_x -65 frame.tex_offset_y = frame.tex_offset_y -115 end) for idx = 0 , 2 do pat:update_frame(521,1,idx,function(frame) frame.tex_offset_x = frame.tex_offset_x -65 frame.tex_offset_y = frame.tex_offset_y -115 end) end --jumpBack pat:update_frame(521,2,0, { tex_index = 303 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -18 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(8,1,1).hurtbox }) pat:update_frame(521,2,1, { tex_index = 304 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -18 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(8,1,0).hurtbox }) pat:update_frame(521,2,2, { tex_index = 305 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -22 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(8,1,0).hurtbox }) pat:update_frame(521,2,3, { tex_index = 298 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +20 , tex_offset_y = baseY +0 , hurtbox = pat:get_frame(6,2,2).hurtbox }) pat:update_frame(521,3,0, { tex_index = 300 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +40 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(6,2,4).hurtbox }) pat:update_frame(521,3,1, { tex_index = 301 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +46 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(6,2,4).hurtbox }) pat:update_frame(521,4,0, { tex_index = 43, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -12 , tex_offset_y = baseY +baseY2 -40 , hurtbox = pat:get_frame(307,0,9).hurtbox }) pat:update_frame(521,4,1, { tex_index = 43, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -12 , tex_offset_y = baseY +baseY2 -40 , hurtbox = pat:get_frame(307,0,9).hurtbox }) pat:update_frame(521,4,2, { tex_index = 44, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY +baseY2 -36 , hurtbox = pat:get_frame(307,0,10).hurtbox }) pat:update_frame(521,4,3, { tex_index = 44, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY +baseY2 -36 , hurtbox = pat:get_frame(307,0,10).hurtbox }) pat:remove_frame(521,4,6) pat:remove_frame(521,4,5) pat:remove_frame(521,4,4) pat:update_frame(521,5,0, { tex_index = 300 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +40 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(6,2,4).hurtbox }) pat:update_frame(521,5,1, { tex_index = 301 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +46 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(6,2,4).hurtbox }) pat:update_frame(521,6,0, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -30 , hurtbox = pat:get_frame(6,0,1).hurtbox , duration = 2 + 5 }) pat:update_frame(521,6,1, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -30 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(521,6,2, { tex_index = 298 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -48 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(522,0,0, { tex_index = 39, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +14 , tex_offset_y = baseY +baseY2/2 -26 , hurtbox = pat:get_frame(307,0,0).hurtbox , duration = 2 }) pat:update_frame(522,0,1, { tex_index = 39, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +14 , tex_offset_y = baseY +baseY2/2 -26 , hurtbox = pat:get_frame(307,0,0).hurtbox , duration = 2 }) pat:update_frame(522,0,2, { tex_index = 39, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +14 , tex_offset_y = baseY +baseY2/2 -26 , hurtbox = pat:get_frame(307,0,0).hurtbox , duration = 2 }) pat:update_frame(522,0,3, { tex_index = 40, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY +baseY2 -34 , hurtbox = pat:get_frame(307,0,3).hurtbox , duration = 2 }) pat:update_frame(522,0,4, { tex_index = 40, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY +baseY2 -34 , hurtbox = pat:get_frame(307,0,3).hurtbox , duration = 2 }) pat:update_frame(522,0,5, { tex_index = 40, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY +baseY2 -34 , hurtbox = pat:get_frame(307,0,3).hurtbox , duration = 1 }) pat:update_frame(522,0,6, { tex_index = 40, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY +baseY2 -34 , hurtbox = pat:get_frame(307,0,3).hurtbox , duration = 1 }) pat:update_frame(522,0,7, { tex_index = 41, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY +baseY2 -38 , hurtbox = pat:get_frame(307,0,4).hurtbox , duration = 3 }) -- fires here pat:update_frame(522,1,0, { tex_index = 42, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY +baseY2 -40 , hurtbox = pat:get_frame(307,0,4).hurtbox }) -- fires here pat:update_frame(522,1,0,function(frame) frame.attackbox[1].x1 = frame.attackbox[1].x1 + 60 frame.attackbox[1].x2 = frame.attackbox[1].x2 + 60 frame.attackbox[2].x1 = frame.attackbox[2].x1 + 60 frame.attackbox[2].x2 = frame.attackbox[2].x2 + 60 frame.attackbox[2].y1 = frame.attackbox[2].y1 - 60 frame.attackbox[2].y2 = frame.attackbox[2].y2 + 60 frame.attackbox[1].y1 = frame.attackbox[1].y1 - 20 frame.attackbox[1].y2 = frame.attackbox[1].y2 + 20 end) pat:update_frame(522,1,1, { tex_index = 42, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY +baseY2 -40 , hurtbox = pat:get_frame(307,0,4).hurtbox , attackbox = pat:get_frame(522,1,0).attackbox }) -- fires here pat:update_frame(522,1,2, { tex_index = 42, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY +baseY2 -40 , hurtbox = pat:get_frame(307,0,4).hurtbox , attackbox = pat:get_frame(522,1,0).attackbox }) -- fires here pat:update_frame(522,2,0, { tex_index = 303 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -18 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(8,1,1).hurtbox }) pat:update_frame(522,2,1, { tex_index = 304 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -18 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(8,1,0).hurtbox }) pat:update_frame(522,2,2, { tex_index = 305 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -22 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(8,1,0).hurtbox }) pat:update_frame(522,2,3, { tex_index = 298 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +20 , tex_offset_y = baseY +0 , hurtbox = pat:get_frame(6,2,2).hurtbox }) pat:update_frame(522,3,0, { tex_index = 300 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +40 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(6,2,4).hurtbox }) pat:update_frame(522,3,1, { tex_index = 301 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +46 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(6,2,4).hurtbox }) pat:update_frame(522,4,0, { tex_index = 43, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -12 , tex_offset_y = baseY +baseY2 -40 , hurtbox = pat:get_frame(307,0,9).hurtbox }) pat:update_frame(522,4,1, { tex_index = 43, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -12 , tex_offset_y = baseY +baseY2 -40 , hurtbox = pat:get_frame(307,0,9).hurtbox }) pat:update_frame(522,4,2, { tex_index = 44, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY +baseY2 -36 , hurtbox = pat:get_frame(307,0,10).hurtbox }) pat:update_frame(522,4,3, { tex_index = 44, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY +baseY2 -36 , hurtbox = pat:get_frame(307,0,10).hurtbox }) pat:remove_frame(522,4,6) pat:remove_frame(522,4,5) pat:remove_frame(522,4,4) pat:update_frame(522,5,0, { tex_index = 300 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +40 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(6,2,4).hurtbox }) pat:update_frame(522,5,1, { tex_index = 301 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +46 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(6,2,4).hurtbox }) pat:update_frame(522,6,0, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -30 , hurtbox = pat:get_frame(6,0,1).hurtbox , duration = 2 + 5 }) pat:update_frame(522,6,1, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -30 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(522,6,2, { tex_index = 298 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -48 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(523,0,0, { tex_index = 39, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +14 , tex_offset_y = baseY +baseY2/2 -26 , hurtbox = pat:get_frame(307,0,0).hurtbox , duration = 2 }) pat:update_frame(523,0,1, { tex_index = 39, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +14 , tex_offset_y = baseY +baseY2/2 -26 , hurtbox = pat:get_frame(307,0,0).hurtbox , duration = 2 }) pat:update_frame(523,0,2, { tex_index = 39, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +14 , tex_offset_y = baseY +baseY2/2 -26 , hurtbox = pat:get_frame(307,0,0).hurtbox , duration = 2 }) pat:update_frame(523,0,3, { tex_index = 40, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY +baseY2 -34 , hurtbox = pat:get_frame(307,0,3).hurtbox , duration = 2 }) pat:update_frame(523,0,4, { tex_index = 40, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY +baseY2 -34 , hurtbox = pat:get_frame(307,0,3).hurtbox , duration = 2 }) pat:update_frame(523,0,5, { tex_index = 40, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY +baseY2 -34 , hurtbox = pat:get_frame(307,0,3).hurtbox , duration = 1 }) pat:update_frame(523,0,6, { tex_index = 40, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY +baseY2 -34 , hurtbox = pat:get_frame(307,0,3).hurtbox , duration = 1 }) pat:update_frame(523,0,7, { tex_index = 41, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY +baseY2 -38 , hurtbox = pat:get_frame(307,0,4).hurtbox , duration = 3 }) -- fires here pat:update_frame(523,0,7,function(frame) frame.hurtbox[2].x1 = frame.hurtbox[2].x1-40 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-20 frame.hurtbox[3].x1 = frame.hurtbox[3].x1-60 frame.hurtbox[3].x2 = frame.hurtbox[3].x2-40 frame.hurtbox[3].y1 = frame.hurtbox[3].y1--+20 frame.hurtbox[3].y2 = frame.hurtbox[3].y2+40 end) pat:update_frame(523,1,0, { tex_index = 42, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 +10 , tex_offset_y = baseY +baseY2 -40 -10 , hurtbox = pat:get_frame(523,0,7).hurtbox }) -- fires here pat:update_frame(523,1,1, { tex_index = 42, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 +10 , tex_offset_y = baseY +baseY2 -40 -10 , hurtbox = pat:get_frame(523,0,7).hurtbox }) -- fires here pat:update_frame(523,1,2, { tex_index = 42, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 +10 , tex_offset_y = baseY +baseY2 -40 -10 , hurtbox = pat:get_frame(523,0,7).hurtbox }) -- fires here pat:update_frame(523,0,7,function(frame) frame.tex_offset_x = frame.tex_offset_x frame.tex_offset_y = frame.tex_offset_y -115 end) for idx = 0 , 2 do pat:update_frame(523,1,idx,function(frame) frame.tex_offset_x = frame.tex_offset_x frame.tex_offset_y = frame.tex_offset_y -115 frame.attackbox[1].x1 = frame.attackbox[1].x1 + 30 frame.attackbox[1].x2 = frame.attackbox[1].x2 + 30 frame.attackbox[2].x1 = frame.attackbox[2].x1 + 30 -20 frame.attackbox[2].x2 = frame.attackbox[2].x2 + 30 frame.attackbox[2].y1 = frame.attackbox[2].y1 + 10 frame.attackbox[2].y2 = frame.attackbox[2].y2 + 40 frame.attackbox[1].y1 = frame.attackbox[1].y1 + 30 frame.attackbox[1].y2 = frame.attackbox[1].y2 + 30 end) end pat:update_frame(523,2,0, { tex_index = 303 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -18 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(8,1,1).hurtbox }) pat:update_frame(523,2,1, { tex_index = 304 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -18 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(8,1,0).hurtbox }) pat:update_frame(523,2,2, { tex_index = 305 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -22 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(8,1,0).hurtbox }) pat:update_frame(523,2,3, { tex_index = 298 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +20 , tex_offset_y = baseY +0 , hurtbox = pat:get_frame(6,2,2).hurtbox }) pat:update_frame(523,3,0, { tex_index = 300 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +40 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(6,2,4).hurtbox }) pat:update_frame(523,3,1, { tex_index = 301 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +46 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(6,2,4).hurtbox }) pat:update_frame(523,4,0, { tex_index = 43, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -12 , tex_offset_y = baseY +baseY2 -40 , hurtbox = pat:get_frame(307,0,9).hurtbox }) pat:update_frame(523,4,1, { tex_index = 43, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -12 , tex_offset_y = baseY +baseY2 -40 , hurtbox = pat:get_frame(307,0,9).hurtbox }) pat:update_frame(523,4,2, { tex_index = 44, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY +baseY2 -36 , hurtbox = pat:get_frame(307,0,10).hurtbox }) pat:update_frame(523,4,3, { tex_index = 44, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY +baseY2 -36 , hurtbox = pat:get_frame(307,0,10).hurtbox }) pat:remove_frame(523,4,6) pat:remove_frame(523,4,5) pat:remove_frame(523,4,4) pat:update_frame(523,5,0, { tex_index = 300 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +40 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(6,2,4).hurtbox }) pat:update_frame(523,5,1, { tex_index = 301 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +46 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(6,2,4).hurtbox }) pat:update_frame(523,6,0, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -30 , hurtbox = pat:get_frame(6,0,1).hurtbox , duration = 2 + 5 }) pat:update_frame(523,6,1, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -30 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(523,6,2, { tex_index = 298 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -48 , hurtbox = pat:get_frame(6,0,1).hurtbox }) --pat:update_frame(307,0,3, { tex_index = 42, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY +baseY2 -40 , hurtbox = pat:get_frame(307,0,5).hurtbox , attackbox = pat:get_frame(307,0,5).attackbox }) --pat:update_frame(307,0,3, { tex_index = 42, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY +baseY2 -40 , hurtbox = pat:get_frame(307,0,6).hurtbox , attackbox = pat:get_frame(307,0,6).attackbox }) --pat:update_frame(307,0,7, { tex_index = 42, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY +baseY2 -40 , hurtbox = pat:get_frame(307,0,7).hurtbox , attackbox = pat:get_frame(307,0,7).attackbox }) --pat:update_frame(307,0,8, { tex_index = 42, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY +baseY2 -40 , hurtbox = pat:get_frame(307,0,8).hurtbox }) --pat:update_frame(307,0,9, { tex_index = 43, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -12 , tex_offset_y = baseY +baseY2 -40 , hurtbox = pat:get_frame(307,0,9).hurtbox }) --pat:update_frame(307,0,10, { tex_index = 44, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY +baseY2 -36 , hurtbox = pat:get_frame(307,0,10).hurtbox }) for idx2 = 0 , 3 do for idx = 0 , 2 do pat:update_frame(520+idx2,1,idx,function(frame) frame.damage = 2000 frame.limit = 100 frame.chip_damage = 0--600 set_aflag(frame,AF_CAN_HIT_SELF) set_fflag(frame,FF_GUARD_POINT) unset_aflag(frame,AF_COUNTER_HIT) unset_fflag(frame,FF_GRAZE) frame.hitstop_enemy = 2 frame.hitstop_self = 2 frame.blockstop_enemy = 2 frame.blockstop_self = 2 frame.hit_sfx = 4 if (idx2 == 0) then frame.launch_vector_x = 2500 frame.launch_vector_y = 1250 frame.hit_ani_air = 74 frame.hit_ani_ground = 74 frame.combo_correction = CC_SMASH_ATTACK end if (idx2 == 1) then frame.launch_vector_x = 1250 frame.launch_vector_y = 2450 frame.hit_ani_air = 77 frame.hit_ani_ground = 77 frame.combo_correction = CC_SMASH_ATTACK end if (idx2 == 2) then frame.launch_vector_x = 2500 frame.launch_vector_y = 1250 frame.hit_ani_air = 74 frame.hit_ani_ground = 74 frame.combo_correction = CC_SMASH_ATTACK end if (idx2 == 3) then frame.launch_vector_x = 2450 frame.launch_vector_y = -2450 frame.hit_ani_air = 88 frame.hit_ani_ground = 88 frame.combo_correction = CC_SMASH_ATTACK end end) end end for idx2 = 0 , 3 do n = 7 if (idx2<2) then n = 6 end for idx = 0 , n do pat:update_frame(520+idx2,0,idx,function(frame) unset_fflag(frame,FF_GRAZE) if (idx2<2) then frame.hurtbox[2].y2 = 0 end end) end end pat:get_sequence(520,1):set_looped(false) pat:remove_frame(520,1,2) pat:remove_frame(520,1,1) pat:get_sequence(521,1):set_looped(false) pat:remove_frame(521,1,2) pat:remove_frame(521,1,1) pat:get_sequence(522,1):set_looped(false) pat:remove_frame(522,1,2) pat:remove_frame(522,1,1) pat:get_sequence(523,1):set_looped(false) pat:remove_frame(523,1,2) pat:remove_frame(523,1,1) pat:update_frame(520,0,6,function(frame) set_fflag(frame,FF_GUARD_POINT) end) pat:update_frame(521,0,6,function(frame) set_fflag(frame,FF_GUARD_POINT) end) pat:update_frame(522,0,7,function(frame) set_fflag(frame,FF_GUARD_POINT) end) pat:update_frame(523,0,7,function(frame) set_fflag(frame,FF_GUARD_POINT) end) pat:update_frame(815,2,0, { tex_index = 89, tex_offset_x = 80, tex_offset_y = 83}) pat:update_frame(815,2,1, { tex_index = 90, tex_offset_x = 81, tex_offset_y = 84}) pat:update_frame(815,2,2, { tex_index = 91, tex_offset_x = 82, tex_offset_y = 85}) pat:update_frame(815,2,3, { tex_index = 92, tex_offset_x = 83, tex_offset_y = 87}) pat:update_frame(815,2,4, { tex_index = 93, tex_offset_x = 85, tex_offset_y = 88}) pat:update_frame(815,2,5, { tex_index = 94, tex_offset_x = 86, tex_offset_y = 90}) pat:update_frame(815,2,6, { tex_index = 95, tex_offset_x = 87, tex_offset_y = 92}) pat:update_frame(815,2,7, { tex_index = 96, tex_offset_x = 88, tex_offset_y = 93}) pat:update_frame(815,2,8, { tex_index = 97, tex_offset_x = 88, tex_offset_y = 94}) pat:update_frame(815,2,9, { tex_index = 98, tex_offset_x = 91, tex_offset_y = 96}) pat:update_frame(815,2,10, { tex_index = 99, tex_offset_x = 94, tex_offset_y = 99}) pat:update_frame(815,2,11, { tex_index = 100, tex_offset_x = 98, tex_offset_y = 102}) pat:update_frame(815,2,12, { tex_index = 101, tex_offset_x = 102, tex_offset_y = 105}) pat:update_frame(815,2,13, { tex_index = 102, tex_offset_x = 105, tex_offset_y = 107}) pat:update_frame(815,2,14, { tex_index = 103, tex_offset_x = 108, tex_offset_y = 110}) --spell pat:update_frame(862,2,0, { tex_index = 89, tex_offset_x = 80, tex_offset_y = 83}) pat:update_frame(862,2,1, { tex_index = 90, tex_offset_x = 81, tex_offset_y = 84}) pat:update_frame(862,2,2, { tex_index = 91, tex_offset_x = 82, tex_offset_y = 85}) pat:update_frame(862,2,3, { tex_index = 92, tex_offset_x = 83, tex_offset_y = 87}) pat:update_frame(862,2,4, { tex_index = 93, tex_offset_x = 85, tex_offset_y = 88}) pat:update_frame(862,2,5, { tex_index = 94, tex_offset_x = 86, tex_offset_y = 90}) pat:update_frame(862,2,6, { tex_index = 95, tex_offset_x = 87, tex_offset_y = 92}) pat:update_frame(862,2,7, { tex_index = 96, tex_offset_x = 88, tex_offset_y = 93}) pat:update_frame(862,2,8, { tex_index = 97, tex_offset_x = 88, tex_offset_y = 94}) pat:update_frame(862,2,9, { tex_index = 98, tex_offset_x = 91, tex_offset_y = 96}) pat:update_frame(862,2,10, { tex_index = 99, tex_offset_x = 94, tex_offset_y = 99}) pat:update_frame(862,2,11, { tex_index = 100, tex_offset_x = 98, tex_offset_y = 102}) pat:update_frame(862,2,12, { tex_index = 101, tex_offset_x = 102, tex_offset_y = 105}) pat:update_frame(862,2,13, { tex_index = 102, tex_offset_x = 105, tex_offset_y = 107}) pat:update_frame(862,2,14, { tex_index = 103, tex_offset_x = 108, tex_offset_y = 110}) pat:remove_frame(815,1,15) pat:remove_frame(862,1,15) for idx = 0 , 6 do --[[ pat:update_frame(815,0,idx,function(frame) --eff frame.tex_index = 86+idx%3 frame.tex_offset_x = 138-40 frame.tex_offset_y = 128 frame.tex_w = 256 frame.tex_h = 256 frame.scale_x = 150 frame.scale_y = 150 frame.color_r = 255/(7-idx) frame.color_g = 255/(7-idx) frame.color_b = 255/(7-idx) end)]]-- pat:update_frame(862,0,idx,function(frame) --eff frame.tex_index = 86+idx%3 frame.tex_offset_x = 138 frame.tex_offset_y = 128 frame.tex_w = 256 frame.tex_h = 256 frame.scale_x = 90 frame.scale_y = 120 frame.color_r = 255/(7-idx) frame.color_g = 255/(7-idx) frame.color_b = 255/(7-idx) end) end for idx = 0 , 14 do local idx2 = idx --[[ pat:update_frame(815,1,idx,function(frame) --eff frame.tex_index = 86+idx%3 frame.tex_offset_x = 138-40 frame.tex_offset_y = 128 frame.tex_w = 256 frame.tex_h = 256 frame.scale_x = 150 frame.scale_y = 150 end)]]-- pat:update_frame(862,1,idx,function(frame) --eff frame.tex_index = 86+idx%3 frame.tex_offset_x = 138 frame.tex_offset_y = 128 frame.tex_w = 256 frame.tex_h = 256 frame.scale_x = 90 frame.scale_y = 120 end) --[[ pat:update_frame(815,2,idx,function(frame) --destruction eff frame.tex_w = 256 frame.tex_h = 256 frame.scale_x = 250 frame.scale_y = 250 frame.tex_offset_x = frame.tex_offset_x-20 end)]]-- pat:update_frame(862,2,idx,function(frame) --destruction eff frame.tex_w = 256 frame.tex_h = 256 frame.scale_x = 150 frame.scale_y = 200 frame.duration = 2 frame.tex_offset_x = frame.tex_offset_x-20 end) end pat:split_frame(815,0,0,1,1) pat:split_frame(815,0,0,1,1) for idx = 9 , 14 do pat:remove_frame(815,2,9) end for idx = 0 , 8 do pat:update_frame(815,0,idx,function(frame) --eff frame.tex_index = 423+idx frame.tex_offset_x = -10 frame.tex_offset_y = 64 frame.tex_w = 128 frame.tex_h = 128 frame.scale_x = 300 frame.scale_y = 300 frame.color_r = 255 frame.color_g = 255 frame.color_b = 255 if (frame.tex_index < 424) then frame.tex_index = 462 end frame.duration = 1 end) pat:update_frame(815,2,idx,function(frame) --eff frame.tex_index = 423+idx frame.tex_offset_x = -10 frame.tex_offset_y = 64 frame.tex_w = 128 frame.tex_h = 128 frame.scale_x = 300 frame.scale_y = 300 frame.color_r = 255 frame.color_g = 255 frame.color_b = 255 if (frame.tex_index < 424) then frame.tex_index = 462 end frame.duration = 1 end) end end function mods.a214(pat) local baseX = 70 local baseY = 195 local baseY2 = 46 pat:update_frame(525,0,0, { tex_index = 39, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +14 , tex_offset_y = baseY +baseY2/2 -26 , hurtbox = pat:get_frame(307,0,0).hurtbox }) pat:update_frame(525,0,1, { tex_index = 39, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +14 , tex_offset_y = baseY +baseY2/2 -26 , hurtbox = pat:get_frame(307,0,0).hurtbox }) pat:update_frame(525,0,2, { tex_index = 39, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +14 , tex_offset_y = baseY +baseY2/2 -26 , hurtbox = pat:get_frame(307,0,0).hurtbox }) pat:update_frame(525,0,3, { tex_index = 40, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY +baseY2 -34 , hurtbox = pat:get_frame(307,0,3).hurtbox }) pat:update_frame(525,0,4, { tex_index = 40, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY +baseY2 -34 , hurtbox = pat:get_frame(307,0,3).hurtbox }) pat:update_frame(525,0,5, { tex_index = 40, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY +baseY2 -34 , hurtbox = pat:get_frame(307,0,3).hurtbox }) pat:update_frame(525,1,0, { tex_index = 42, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY +baseY2 -40 , hurtbox = pat:get_frame(520,1,0).hurtbox , attackbox = pat:get_frame(520,1,0).attackbox }) -- fires here pat:update_frame(525,1,0,function(frame) frame.attackbox[1].x1 = frame.attackbox[1].x1 - 30 frame.attackbox[1].x2 = frame.attackbox[1].x2 - 30 frame.attackbox[2].x1 = frame.attackbox[2].x1 - 30 frame.attackbox[2].x2 = frame.attackbox[2].x2 - 30 frame.attackbox[1].y1 = frame.attackbox[1].y1 + 60 frame.attackbox[1].y2 = frame.attackbox[1].y2 - 60 frame.attackbox[2].y1 = frame.attackbox[2].y1 + 30 frame.attackbox[2].y2 = frame.attackbox[2].y2 - 30 end) pat:update_frame(525,1,1, { tex_index = 42, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY +baseY2 -40 , hurtbox = pat:get_frame(520,1,0).hurtbox , attackbox = pat:get_frame(525,1,0).attackbox }) -- fires here pat:update_frame(525,1,2, { tex_index = 42, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY +baseY2 -40 , hurtbox = pat:get_frame(520,1,0).hurtbox , attackbox = pat:get_frame(525,1,0).attackbox }) -- fires here pat:update_frame(525,2,0, { tex_index = 42, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY +baseY2 -40 , hurtbox = pat:get_frame(520,1,0).hurtbox , attackbox = pat:get_frame(525,1,0).attackbox }) -- fires here pat:update_frame(525,2,1, { tex_index = 42, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY +baseY2 -40 , hurtbox = pat:get_frame(520,1,0).hurtbox , attackbox = pat:get_frame(525,1,0).attackbox }) -- fires here pat:update_frame(525,2,2, { tex_index = 42, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY +baseY2 -40 , hurtbox = pat:get_frame(520,1,0).hurtbox , attackbox = pat:get_frame(525,1,0).attackbox }) -- fires here pat:update_frame(525,3,0, { tex_index = 42, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY +baseY2 -40 , hurtbox = pat:get_frame(307,0,4).hurtbox }) pat:update_frame(525,3,1, { tex_index = 43, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -12 , tex_offset_y = baseY +baseY2 -40 , hurtbox = pat:get_frame(307,0,9).hurtbox }) pat:update_frame(525,3,2, { tex_index = 43, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -12 , tex_offset_y = baseY +baseY2*.75 -40 , hurtbox = pat:get_frame(307,0,9).hurtbox }) pat:update_frame(525,3,3, { tex_index = 43, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -12 , tex_offset_y = baseY +baseY2*.5 -40 , hurtbox = pat:get_frame(307,0,9).hurtbox }) pat:update_frame(525,3,4, { tex_index = 44, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY +baseY2*.25 -36 , hurtbox = pat:get_frame(307,0,10).hurtbox }) pat:update_frame(525,3,5, { tex_index = 44, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY -36 , hurtbox = pat:get_frame(307,0,10).hurtbox }) pat:update_frame(525,3,6, { tex_index = 44, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY -36 , hurtbox = pat:get_frame(307,0,10).hurtbox }) pat:update_frame(525,4,0, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -30 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(525,4,1, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -30 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(525,4,2, { tex_index = 298 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -48 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(526,0,0, { tex_index = 39, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +14 , tex_offset_y = baseY +baseY2/2 -26 , hurtbox = pat:get_frame(307,0,0).hurtbox }) pat:update_frame(526,0,1, { tex_index = 39, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +14 , tex_offset_y = baseY +baseY2/2 -26 , hurtbox = pat:get_frame(307,0,0).hurtbox }) pat:update_frame(526,0,2, { tex_index = 39, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +14 , tex_offset_y = baseY +baseY2/2 -26 , hurtbox = pat:get_frame(307,0,0).hurtbox }) pat:update_frame(526,0,3, { tex_index = 40, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY +baseY2 -34 , hurtbox = pat:get_frame(307,0,3).hurtbox }) pat:update_frame(526,0,4, { tex_index = 40, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY +baseY2 -34 , hurtbox = pat:get_frame(307,0,3).hurtbox }) pat:update_frame(526,0,5, { tex_index = 40, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY +baseY2 -34 , hurtbox = pat:get_frame(307,0,3).hurtbox }) pat:update_frame(526,1,0, { tex_index = 42, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY +baseY2 -40 , hurtbox = pat:get_frame(521,1,0).hurtbox , attackbox = pat:get_frame(521,1,0).attackbox }) -- fires here pat:update_frame(526,1,1, { tex_index = 42, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY +baseY2 -40 , hurtbox = pat:get_frame(521,1,0).hurtbox , attackbox = pat:get_frame(521,1,0).attackbox }) -- fires here pat:update_frame(526,1,2, { tex_index = 42, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY +baseY2 -40 , hurtbox = pat:get_frame(521,1,0).hurtbox , attackbox = pat:get_frame(521,1,0).attackbox }) -- fires here pat:update_frame(526,2,0, { tex_index = 42, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY +baseY2 -40 , hurtbox = pat:get_frame(521,1,0).hurtbox , attackbox = pat:get_frame(521,1,0).attackbox }) -- fires here pat:update_frame(526,2,1, { tex_index = 42, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY +baseY2 -40 , hurtbox = pat:get_frame(521,1,0).hurtbox , attackbox = pat:get_frame(521,1,0).attackbox }) -- fires here pat:update_frame(526,2,2, { tex_index = 42, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY +baseY2 -40 , hurtbox = pat:get_frame(521,1,0).hurtbox , attackbox = pat:get_frame(521,1,0).attackbox }) -- fires here pat:update_frame(526,0,5,function(frame) frame.tex_offset_x = frame.tex_offset_x -65 frame.tex_offset_y = frame.tex_offset_y -115 end) for idx = 0 , 2 do pat:update_frame(526,1,idx,function(frame) frame.tex_offset_x = frame.tex_offset_x -65 frame.tex_offset_y = frame.tex_offset_y -115 end) pat:update_frame(526,2,idx,function(frame) frame.tex_offset_x = frame.tex_offset_x -65 frame.tex_offset_y = frame.tex_offset_y -115 end) end pat:update_frame(526,3,0, { tex_index = 42, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY +baseY2 -40 , hurtbox = pat:get_frame(307,0,4).hurtbox }) pat:update_frame(526,3,1, { tex_index = 43, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -12 , tex_offset_y = baseY +baseY2 -40 , hurtbox = pat:get_frame(307,0,9).hurtbox }) pat:update_frame(526,3,2, { tex_index = 43, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -12 , tex_offset_y = baseY +baseY2*.75 -40 , hurtbox = pat:get_frame(307,0,9).hurtbox }) pat:update_frame(526,3,3, { tex_index = 43, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -12 , tex_offset_y = baseY +baseY2*.5 -40 , hurtbox = pat:get_frame(307,0,9).hurtbox }) pat:update_frame(526,3,4, { tex_index = 44, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY +baseY2*.25 -36 , hurtbox = pat:get_frame(307,0,10).hurtbox }) pat:update_frame(526,3,5, { tex_index = 44, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY -36 , hurtbox = pat:get_frame(307,0,10).hurtbox }) pat:update_frame(526,3,6, { tex_index = 44, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY -36 , hurtbox = pat:get_frame(307,0,10).hurtbox }) pat:update_frame(526,4,0, { tex_index = 300 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +40 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(6,2,4).hurtbox }) pat:update_frame(526,4,1, { tex_index = 301 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +46 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(6,2,4).hurtbox }) pat:update_frame(526,5,0, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -30 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(526,5,1, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -30 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(526,5,2, { tex_index = 298 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -48 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(527,0,0, { tex_index = 39, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +14 , tex_offset_y = baseY +baseY2/2 -26 , hurtbox = pat:get_frame(307,0,0).hurtbox }) pat:update_frame(527,0,1, { tex_index = 39, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +14 , tex_offset_y = baseY +baseY2/2 -26 , hurtbox = pat:get_frame(307,0,0).hurtbox }) pat:update_frame(527,0,2, { tex_index = 39, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +14 , tex_offset_y = baseY +baseY2/2 -26 , hurtbox = pat:get_frame(307,0,0).hurtbox }) pat:update_frame(527,0,3, { tex_index = 40, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY +baseY2 -34 , hurtbox = pat:get_frame(307,0,3).hurtbox }) pat:update_frame(527,0,4, { tex_index = 40, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY +baseY2 -34 , hurtbox = pat:get_frame(307,0,3).hurtbox }) pat:update_frame(527,0,5, { tex_index = 40, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY +baseY2 -34 , hurtbox = pat:get_frame(307,0,3).hurtbox }) pat:update_frame(527,0,6, { tex_index = 40, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY +baseY2 -34 , hurtbox = pat:get_frame(307,0,3).hurtbox }) pat:update_frame(527,1,0, { tex_index = 42, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY +baseY2 -40 , hurtbox = pat:get_frame(520,1,0).hurtbox , attackbox = pat:get_frame(525,1,0).attackbox }) -- fires here pat:update_frame(527,1,1, { tex_index = 42, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY +baseY2 -40 , hurtbox = pat:get_frame(520,1,0).hurtbox , attackbox = pat:get_frame(525,1,0).attackbox }) -- fires here pat:update_frame(527,1,2, { tex_index = 42, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY +baseY2 -40 , hurtbox = pat:get_frame(520,1,0).hurtbox , attackbox = pat:get_frame(525,1,0).attackbox }) -- fires here pat:update_frame(527,2,0, { tex_index = 42, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY +baseY2 -40 , hurtbox = pat:get_frame(520,1,0).hurtbox , attackbox = pat:get_frame(525,1,0).attackbox }) -- fires here pat:update_frame(527,2,1, { tex_index = 42, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY +baseY2 -40 , hurtbox = pat:get_frame(520,1,0).hurtbox , attackbox = pat:get_frame(525,1,0).attackbox }) -- fires here pat:update_frame(527,2,2, { tex_index = 42, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY +baseY2 -40 , hurtbox = pat:get_frame(520,1,0).hurtbox , attackbox = pat:get_frame(525,1,0).attackbox }) -- fires here pat:update_frame(527,3,0, { tex_index = 42, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY +baseY2 -40 , hurtbox = pat:get_frame(307,0,4).hurtbox }) pat:update_frame(527,3,1, { tex_index = 43, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -12 , tex_offset_y = baseY +baseY2 -40 , hurtbox = pat:get_frame(307,0,9).hurtbox }) pat:update_frame(527,3,2, { tex_index = 43, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -12 , tex_offset_y = baseY +baseY2*.75 -40 , hurtbox = pat:get_frame(307,0,9).hurtbox }) pat:update_frame(527,3,3, { tex_index = 43, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -12 , tex_offset_y = baseY +baseY2*.5 -40 , hurtbox = pat:get_frame(307,0,9).hurtbox }) pat:update_frame(527,3,4, { tex_index = 44, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY +baseY2*.25 -36 , hurtbox = pat:get_frame(307,0,10).hurtbox }) pat:update_frame(527,3,5, { tex_index = 44, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY -36 , hurtbox = pat:get_frame(307,0,10).hurtbox }) pat:update_frame(527,3,6, { tex_index = 44, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY -36 , hurtbox = pat:get_frame(307,0,10).hurtbox }) pat:update_frame(527,4,0, { tex_index = 300 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +40 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(6,2,4).hurtbox }) pat:update_frame(527,4,1, { tex_index = 301 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +46 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(6,2,4).hurtbox }) pat:update_frame(527,5,0, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -30 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(527,5,1, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -30 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(527,5,2, { tex_index = 298 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -48 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(528,0,0, { tex_index = 39, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +14 , tex_offset_y = baseY +baseY2/2 -26 , hurtbox = pat:get_frame(307,0,0).hurtbox }) pat:update_frame(528,0,1, { tex_index = 39, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +14 , tex_offset_y = baseY +baseY2/2 -26 , hurtbox = pat:get_frame(307,0,0).hurtbox }) pat:update_frame(528,0,2, { tex_index = 39, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +14 , tex_offset_y = baseY +baseY2/2 -26 , hurtbox = pat:get_frame(307,0,0).hurtbox }) pat:update_frame(528,0,3, { tex_index = 40, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY +baseY2 -34 , hurtbox = pat:get_frame(307,0,3).hurtbox }) pat:update_frame(528,0,4, { tex_index = 40, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY +baseY2 -34 , hurtbox = pat:get_frame(307,0,3).hurtbox }) pat:update_frame(528,0,5, { tex_index = 40, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY +baseY2 -34 , hurtbox = pat:get_frame(307,0,3).hurtbox }) pat:update_frame(528,0,6, { tex_index = 40, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY +baseY2 -34 , hurtbox = pat:get_frame(307,0,3).hurtbox }) pat:update_frame(528,1,0, { tex_index = 42, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY +baseY2 -40 , hurtbox = pat:get_frame(523,0,7).hurtbox }) -- fires here pat:update_frame(528,1,1, { tex_index = 42, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY +baseY2 -40 , hurtbox = pat:get_frame(523,0,7).hurtbox }) -- fires here pat:update_frame(528,1,2, { tex_index = 42, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY +baseY2 -40 , hurtbox = pat:get_frame(523,0,7).hurtbox }) -- fires here pat:update_frame(528,2,0, { tex_index = 42, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY +baseY2 -40 , hurtbox = pat:get_frame(523,0,7).hurtbox }) -- fires here pat:update_frame(528,2,1, { tex_index = 42, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY +baseY2 -40 , hurtbox = pat:get_frame(523,0,7).hurtbox }) -- fires here pat:update_frame(528,2,2, { tex_index = 42, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY +baseY2 -40 , hurtbox = pat:get_frame(523,0,7).hurtbox }) -- fires here pat:update_frame(528,0,6,function(frame) frame.tex_offset_x = frame.tex_offset_x frame.tex_offset_y = frame.tex_offset_y -115 end) for idx = 0 , 2 do pat:update_frame(528,1,idx,function(frame) frame.tex_offset_x = frame.tex_offset_x frame.tex_offset_y = frame.tex_offset_y -115 end) pat:update_frame(528,2,idx,function(frame) frame.tex_offset_x = frame.tex_offset_x frame.tex_offset_y = frame.tex_offset_y -115 end) end pat:update_frame(528,3,0, { tex_index = 42, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY +baseY2 -40 , hurtbox = pat:get_frame(307,0,4).hurtbox }) pat:update_frame(528,3,1, { tex_index = 43, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -12 , tex_offset_y = baseY +baseY2 -40 , hurtbox = pat:get_frame(307,0,9).hurtbox }) pat:update_frame(528,3,2, { tex_index = 43, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -12 , tex_offset_y = baseY +baseY2*.75 -40 , hurtbox = pat:get_frame(307,0,9).hurtbox }) pat:update_frame(528,3,3, { tex_index = 43, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -12 , tex_offset_y = baseY +baseY2*.5 -40 , hurtbox = pat:get_frame(307,0,9).hurtbox }) pat:update_frame(528,3,4, { tex_index = 44, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY +baseY2*.25 -36 , hurtbox = pat:get_frame(307,0,10).hurtbox }) pat:update_frame(528,3,5, { tex_index = 44, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY -36 , hurtbox = pat:get_frame(307,0,10).hurtbox }) pat:update_frame(528,3,6, { tex_index = 44, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY -36 , hurtbox = pat:get_frame(307,0,10).hurtbox }) pat:update_frame(528,4,0, { tex_index = 300 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +40 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(6,2,4).hurtbox }) pat:update_frame(528,4,1, { tex_index = 301 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +46 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(6,2,4).hurtbox }) pat:update_frame(528,5,0, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -30 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(528,5,1, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -30 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(528,5,2, { tex_index = 298 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -48 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(529,0,1, { tex_index = 39, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +14 , tex_offset_y = baseY +baseY2/2 -26 , hurtbox = pat:get_frame(307,0,0).hurtbox }) pat:update_frame(529,0,2, { tex_index = 39, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +14 , tex_offset_y = baseY +baseY2/2 -26 , hurtbox = pat:get_frame(307,0,0).hurtbox }) pat:update_frame(529,0,3, { tex_index = 40, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY +baseY2 -34 , hurtbox = pat:get_frame(307,0,3).hurtbox }) pat:update_frame(529,0,4, { tex_index = 40, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY +baseY2 -34 , hurtbox = pat:get_frame(307,0,3).hurtbox }) pat:update_frame(529,1,0, { tex_index = 40, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY +baseY2 -34 , hurtbox = pat:get_frame(307,0,3).hurtbox }) pat:update_frame(529,2,0, { tex_index = 42, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY +baseY2 -40 , hurtbox = pat:get_frame(520,1,0).hurtbox , attackbox = pat:get_frame(520,1,0).attackbox }) -- fires here pat:update_frame(529,2,1, { tex_index = 42, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY +baseY2 -40 , hurtbox = pat:get_frame(520,1,0).hurtbox , attackbox = pat:get_frame(520,1,0).attackbox }) -- fires here pat:update_frame(529,2,2, { tex_index = 42, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY +baseY2 -40 , hurtbox = pat:get_frame(520,1,0).hurtbox , attackbox = pat:get_frame(520,1,0).attackbox }) -- fires here pat:update_frame(529,3,0, { tex_index = 42, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY +baseY2 -40 , hurtbox = pat:get_frame(520,1,0).hurtbox }) pat:update_frame(529,3,1, { tex_index = 42, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY +baseY2 -40 , hurtbox = pat:get_frame(520,1,0).hurtbox }) pat:update_frame(529,3,2, { tex_index = 42, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY +baseY2 -40 , hurtbox = pat:get_frame(520,1,0).hurtbox }) pat:update_frame(529,4,0, { tex_index = 40, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY +baseY2 -34 , hurtbox = pat:get_frame(307,0,3).hurtbox }) pat:update_frame(529,5,0, { tex_index = 42, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY +baseY2 -40 , hurtbox = pat:get_frame(521,1,0).hurtbox , attackbox = pat:get_frame(521,1,0).attackbox }) -- fires here pat:update_frame(529,5,1, { tex_index = 42, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY +baseY2 -40 , hurtbox = pat:get_frame(521,1,0).hurtbox , attackbox = pat:get_frame(521,1,0).attackbox }) -- fires here pat:update_frame(529,5,2, { tex_index = 42, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY +baseY2 -40 , hurtbox = pat:get_frame(521,1,0).hurtbox , attackbox = pat:get_frame(521,1,0).attackbox }) -- fires here pat:update_frame(529,6,0, { tex_index = 42, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY +baseY2 -40 , hurtbox = pat:get_frame(521,1,0).hurtbox }) -- fires here pat:update_frame(529,6,1, { tex_index = 42, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY +baseY2 -40 , hurtbox = pat:get_frame(521,1,0).hurtbox }) -- fires here pat:update_frame(529,6,2, { tex_index = 42, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY +baseY2 -40 , hurtbox = pat:get_frame(521,1,0).hurtbox }) -- fires here pat:update_frame(529,4,0,function(frame) frame.tex_offset_x = frame.tex_offset_x -65 frame.tex_offset_y = frame.tex_offset_y -115 end) for idx = 0 , 2 do pat:update_frame(529,5,idx,function(frame) frame.tex_offset_x = frame.tex_offset_x -65 frame.tex_offset_y = frame.tex_offset_y -115 end) pat:update_frame(529,6,idx,function(frame) frame.tex_offset_x = frame.tex_offset_x -65 frame.tex_offset_y = frame.tex_offset_y -115 end) end pat:update_frame(529,7,0, { tex_index = 40, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY +baseY2 -34 , hurtbox = pat:get_frame(307,0,3).hurtbox }) pat:update_frame(529,8,0, { tex_index = 42, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY +baseY2 -40 , hurtbox = pat:get_frame(523,0,7).hurtbox }) -- fires here pat:update_frame(529,8,1, { tex_index = 42, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY +baseY2 -40 , hurtbox = pat:get_frame(523,0,7).hurtbox }) -- fires here pat:update_frame(529,8,2, { tex_index = 42, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY +baseY2 -40 , hurtbox = pat:get_frame(523,0,7).hurtbox }) -- fires here pat:update_frame(529,9,0, { tex_index = 42, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY +baseY2 -40 , hurtbox = pat:get_frame(523,0,7).hurtbox }) -- fires here pat:update_frame(529,9,1, { tex_index = 42, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY +baseY2 -40 , hurtbox = pat:get_frame(523,0,7).hurtbox }) -- fires here pat:update_frame(529,9,2, { tex_index = 42, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY +baseY2 -40 , hurtbox = pat:get_frame(523,0,7).hurtbox }) -- fires here pat:update_frame(529,7,0,function(frame) frame.tex_offset_x = frame.tex_offset_x frame.tex_offset_y = frame.tex_offset_y -115 end) for idx = 0 , 2 do pat:update_frame(529,8,idx,function(frame) frame.tex_offset_x = frame.tex_offset_x frame.tex_offset_y = frame.tex_offset_y -115 end) pat:update_frame(529,9,idx,function(frame) frame.tex_offset_x = frame.tex_offset_x frame.tex_offset_y = frame.tex_offset_y -115 end) end pat:update_frame(529,10,0, { tex_index = 40, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY +baseY2 -34 , hurtbox = pat:get_frame(307,0,3).hurtbox }) pat:update_frame(529,11,0, { tex_index = 42, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY +baseY2 -40 , hurtbox = pat:get_frame(523,0,7).hurtbox }) -- fires here pat:update_frame(529,11,0,function(frame) frame.hurtbox[3].x1 = frame.hurtbox[3].x1 - 70 frame.hurtbox[3].x2 = frame.hurtbox[3].x2 - 70 end) pat:update_frame(529,10,0,function(frame) frame.hurtbox = pat:get_frame(529,11,0).hurtbox frame.hurtbox[1] = frame.hurtbox[3] frame.hurtbox[3] = null frame.hurtbox[1].x1 = frame.hurtbox[1].x1 -20 end) pat:update_frame(529,11,1, { tex_index = 42, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY +baseY2 -40 , hurtbox = pat:get_frame(529,11,0).hurtbox }) -- fires here pat:update_frame(529,11,2, { tex_index = 42, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY +baseY2 -40 , hurtbox = pat:get_frame(529,11,0).hurtbox }) -- fires here pat:update_frame(529,12,0, { tex_index = 42, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY +baseY2 -40 , hurtbox = pat:get_frame(529,11,0).hurtbox }) -- fires here pat:update_frame(529,12,1, { tex_index = 42, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY +baseY2 -40 , hurtbox = pat:get_frame(529,11,0).hurtbox }) -- fires here pat:update_frame(529,12,2, { tex_index = 42, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY +baseY2 -40 , hurtbox = pat:get_frame(529,11,0).hurtbox }) -- fires here pat:update_frame(529,10,0,function(frame) frame.tex_offset_x = frame.tex_offset_x -65 frame.tex_offset_y = frame.tex_offset_y -140 end) for idx = 0 , 2 do pat:update_frame(529,11,idx,function(frame) frame.tex_offset_x = frame.tex_offset_x -65 frame.tex_offset_y = frame.tex_offset_y -140 end) pat:update_frame(529,12,idx,function(frame) frame.tex_offset_x = frame.tex_offset_x -65 frame.tex_offset_y = frame.tex_offset_y -140 end) end pat:update_frame(529,13,0, { tex_index = 40, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY +baseY2 -34 , hurtbox = pat:get_frame(307,0,3).hurtbox }) pat:update_frame(529,14,0, { tex_index = 42, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY +baseY2 -40 , hurtbox = pat:get_frame(523,0,7).hurtbox }) -- fires here pat:update_frame(529,14,0,function(frame) frame.hurtbox[1].x1 = frame.hurtbox[1].x1 + 60 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 + 60 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 frame.hurtbox[3].x2 = frame.hurtbox[3].x2 - 20 frame.hurtbox[3].y2 = frame.hurtbox[3].y2 + 20 end) pat:update_frame(529,13,0,function(frame) frame.hurtbox = pat:get_frame(529,14,0).hurtbox frame.hurtbox[3]=null frame.hurtbox[2].y2 = frame.hurtbox[2].y2 + 30 frame.hurtbox[1].y2 = frame.hurtbox[1].y2 + 20 end) pat:update_frame(529,14,1, { tex_index = 42, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY +baseY2 -40 , hurtbox = pat:get_frame(529,14,0).hurtbox }) -- fires here pat:update_frame(529,14,2, { tex_index = 42, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY +baseY2 -40 , hurtbox = pat:get_frame(529,14,0).hurtbox }) -- fires here pat:update_frame(529,15,0, { tex_index = 42, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY +baseY2 -40 , hurtbox = pat:get_frame(529,14,0).hurtbox }) -- fires here pat:update_frame(529,15,1, { tex_index = 42, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY +baseY2 -40 , hurtbox = pat:get_frame(529,14,0).hurtbox }) -- fires here pat:update_frame(529,15,2, { tex_index = 42, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY +baseY2 -40 , hurtbox = pat:get_frame(529,14,0).hurtbox }) -- fires here pat:update_frame(529,13,0,function(frame) frame.tex_offset_x = frame.tex_offset_x +35 frame.tex_offset_y = frame.tex_offset_y -140 end) for idx = 0 , 2 do pat:update_frame(529,14,idx,function(frame) frame.tex_offset_x = frame.tex_offset_x +35 frame.tex_offset_y = frame.tex_offset_y -140 end) pat:update_frame(529,15,idx,function(frame) frame.tex_offset_x = frame.tex_offset_x +35 frame.tex_offset_y = frame.tex_offset_y -140 end) end pat:update_frame(529,16,0, { tex_index = 42, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY +baseY2 -40 , hurtbox = pat:get_frame(307,0,4).hurtbox }) pat:update_frame(529,16,1, { tex_index = 43, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -12 , tex_offset_y = baseY +baseY2 -40 , hurtbox = pat:get_frame(307,0,9).hurtbox }) pat:update_frame(529,16,2, { tex_index = 43, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -12 , tex_offset_y = baseY +baseY2*.75 -40 , hurtbox = pat:get_frame(307,0,9).hurtbox }) pat:update_frame(529,16,3, { tex_index = 43, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -12 , tex_offset_y = baseY +baseY2*.5 -40 , hurtbox = pat:get_frame(307,0,9).hurtbox }) pat:update_frame(529,16,4, { tex_index = 44, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY +baseY2*.25 -36 , hurtbox = pat:get_frame(307,0,10).hurtbox }) pat:update_frame(529,16,5, { tex_index = 44, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY -36 , hurtbox = pat:get_frame(307,0,10).hurtbox }) pat:update_frame(529,16,6, { tex_index = 44, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY -36 , hurtbox = pat:get_frame(307,0,10).hurtbox }) pat:remove_frame(529,16,8) pat:remove_frame(529,16,7) pat:update_frame(529,17,0, { tex_index = 42, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY +baseY2 -40 , hurtbox = pat:get_frame(307,0,4).hurtbox }) pat:update_frame(529,17,1, { tex_index = 43, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -12 , tex_offset_y = baseY +baseY2 -40 , hurtbox = pat:get_frame(307,0,9).hurtbox }) pat:update_frame(529,17,2, { tex_index = 43, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -12 , tex_offset_y = baseY +baseY2*.75 -40 , hurtbox = pat:get_frame(307,0,9).hurtbox }) pat:update_frame(529,17,3, { tex_index = 43, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -12 , tex_offset_y = baseY +baseY2*.5 -40 , hurtbox = pat:get_frame(307,0,9).hurtbox }) pat:update_frame(529,17,4, { tex_index = 44, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY +baseY2*.25 -36 , hurtbox = pat:get_frame(307,0,10).hurtbox }) pat:update_frame(529,17,5, { tex_index = 44, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY -36 , hurtbox = pat:get_frame(307,0,10).hurtbox }) pat:update_frame(529,17,6, { tex_index = 44, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY -36 , hurtbox = pat:get_frame(307,0,10).hurtbox }) pat:update_frame(529,18,0, { tex_index = 300 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +40 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(6,2,4).hurtbox }) pat:update_frame(529,18,1, { tex_index = 301 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +46 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(6,2,4).hurtbox }) pat:update_frame(529,19,0, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -30 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(529,19,1, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -30 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(529,19,2, { tex_index = 298 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -48 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(816,2,0, { tex_index = 89, tex_offset_x = 80, tex_offset_y = 83}) pat:update_frame(816,2,1, { tex_index = 90, tex_offset_x = 81, tex_offset_y = 84}) pat:update_frame(816,2,2, { tex_index = 91, tex_offset_x = 82, tex_offset_y = 85}) pat:update_frame(816,2,3, { tex_index = 92, tex_offset_x = 83, tex_offset_y = 87}) pat:update_frame(816,2,4, { tex_index = 93, tex_offset_x = 85, tex_offset_y = 88}) pat:update_frame(816,2,5, { tex_index = 94, tex_offset_x = 86, tex_offset_y = 90}) pat:update_frame(816,2,6, { tex_index = 95, tex_offset_x = 87, tex_offset_y = 92}) pat:update_frame(816,2,7, { tex_index = 96, tex_offset_x = 88, tex_offset_y = 93}) pat:update_frame(816,2,8, { tex_index = 97, tex_offset_x = 88, tex_offset_y = 94}) pat:update_frame(816,2,9, { tex_index = 98, tex_offset_x = 91, tex_offset_y = 96}) pat:update_frame(816,2,10, { tex_index = 99, tex_offset_x = 94, tex_offset_y = 99}) pat:update_frame(816,2,11, { tex_index = 100, tex_offset_x = 98, tex_offset_y = 102}) pat:update_frame(816,2,12, { tex_index = 101, tex_offset_x = 102, tex_offset_y = 105}) pat:update_frame(816,2,13, { tex_index = 102, tex_offset_x = 105, tex_offset_y = 107}) pat:update_frame(816,2,14, { tex_index = 103, tex_offset_x = 108, tex_offset_y = 110}) pat:remove_frame(816,1,15) for idx = 0 , 6 do pat:update_frame(816,0,idx,function(frame) --eff frame.tex_index = 86+idx%3 frame.tex_offset_x = 138-40 frame.tex_offset_y = 128 frame.tex_w = 256 frame.tex_h = 256 frame.scale_x = 150 frame.scale_y = 150 frame.color_r = 255/(7-idx) frame.color_g = 255/(7-idx) frame.color_b = 255/(7-idx) end) end for idx = 0 , 14 do local idx2 = idx pat:update_frame(816,1,idx,function(frame) --eff frame.tex_index = 86+idx%3 frame.tex_offset_x = 138-40 frame.tex_offset_y = 128 frame.tex_w = 256 frame.tex_h = 256 frame.scale_x = 150 frame.scale_y = 150 end) pat:update_frame(816,2,idx,function(frame) --destruction eff frame.tex_w = 256 frame.tex_h = 256 frame.scale_x = 250 frame.scale_y = 250 frame.tex_offset_x = frame.tex_offset_x-20 end) end end function mods.a22_drum(pat) local baseX = 70 local baseY = 195 local baseY2 = 46 --hjumpFront pat:update_frame(550,0,0, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -30 , hurtbox = pat:get_frame(6,0,0).hurtbox }) pat:update_frame(550,0,1, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -30 , hurtbox = pat:get_frame(6,0,0).hurtbox }) pat:update_frame(550,0,2, { tex_index = 298 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -48 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(550,1,0, { tex_index = 309 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -44 , hurtbox = pat:get_frame(7,1,0).hurtbox }) pat:update_frame(550,1,1, { tex_index = 310 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -20 , hurtbox = pat:get_frame(7,1,0).hurtbox }) pat:update_frame(550,1,2, { tex_index = 309 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -44 , hurtbox = pat:get_frame(7,1,0).hurtbox }) pat:update_frame(550,1,3, { tex_index = 310 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -20 , hurtbox = pat:get_frame(7,1,0).hurtbox }) pat:update_frame(550,1,4, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -24 , hurtbox = pat:get_frame(6,2,2).hurtbox }) pat:update_frame(550,1,5, { tex_index = 298 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -18 , hurtbox = pat:get_frame(6,2,2).hurtbox }) pat:update_frame(550,1,6, { tex_index = 311 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY +6 , hurtbox = pat:get_frame(7,2,4).hurtbox }) pat:update_frame(550,2,0, { tex_index = 312 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +40 , tex_offset_y = baseY +6 , hurtbox = pat:get_frame(7,2,4).hurtbox }) pat:update_frame(550,2,1, { tex_index = 313 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +56 , tex_offset_y = baseY +6 , hurtbox = pat:get_frame(7,2,4).hurtbox }) pat:update_frame(550,3,0, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -24 , hurtbox = pat:get_frame(6,2,2).hurtbox }) pat:update_frame(550,4,0, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -24 , hurtbox = pat:get_frame(6,2,2).hurtbox }) pat:update_frame(550,4,1, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -24 , hurtbox = pat:get_frame(6,2,2).hurtbox }) pat:update_frame(550,4,2, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -24 , hurtbox = pat:get_frame(6,2,2).hurtbox }) pat:update_frame(550,4,3, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -24 , hurtbox = pat:get_frame(6,2,2).hurtbox }) pat:update_frame(550,4,4, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -24 , hurtbox = pat:get_frame(6,2,2).hurtbox }) pat:update_frame(550,4,5, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -24 , hurtbox = pat:get_frame(6,2,2).hurtbox }) pat:update_frame(550,5,0, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -30 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(550,5,1, { tex_index = 298 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -48 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(550,5,2, { tex_index = 303 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -18 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(8,1,0).hurtbox }) pat:update_frame(550,5,3, { tex_index = 305 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -22 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(8,1,0).hurtbox }) pat:update_frame(550,5,4, { tex_index = 304 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -22 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(8,1,0).hurtbox }) pat:update_frame(550,5,5, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +6 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(6,2,2).hurtbox }) pat:update_frame(550,5,6, { tex_index = 298 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +20 , tex_offset_y = baseY +0 , hurtbox = pat:get_frame(6,2,2).hurtbox }) pat:update_frame(550,6,0, { tex_index = 300 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +40 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(6,2,4).hurtbox }) pat:update_frame(550,6,1, { tex_index = 301 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +46 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(6,2,4).hurtbox }) pat:update_frame(550,7,0, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -30 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(550,7,1, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -30 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(550,7,2, { tex_index = 298 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -48 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(552,0,0, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -30 , hurtbox = pat:get_frame(6,0,0).hurtbox }) pat:update_frame(552,0,1, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -30 , hurtbox = pat:get_frame(6,0,0).hurtbox }) pat:update_frame(552,0,2, { tex_index = 298 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -48 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(552,1,0, { tex_index = 309 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -44 , hurtbox = pat:get_frame(7,1,0).hurtbox }) pat:update_frame(552,1,1, { tex_index = 310 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -20 , hurtbox = pat:get_frame(7,1,0).hurtbox }) pat:update_frame(552,1,2, { tex_index = 309 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -44 , hurtbox = pat:get_frame(7,1,0).hurtbox }) pat:update_frame(552,1,3, { tex_index = 310 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -20 , hurtbox = pat:get_frame(7,1,0).hurtbox }) pat:update_frame(552,1,4, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -24 , hurtbox = pat:get_frame(6,2,2).hurtbox }) pat:update_frame(552,1,5, { tex_index = 298 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -18 , hurtbox = pat:get_frame(6,2,2).hurtbox }) pat:update_frame(552,1,6, { tex_index = 311 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY +6 , hurtbox = pat:get_frame(7,2,4).hurtbox }) pat:update_frame(552,2,0, { tex_index = 312 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +40 , tex_offset_y = baseY +6 , hurtbox = pat:get_frame(7,2,4).hurtbox }) pat:update_frame(552,2,1, { tex_index = 313 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +56 , tex_offset_y = baseY +6 , hurtbox = pat:get_frame(7,2,4).hurtbox }) pat:update_frame(552,3,0, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -24 , hurtbox = pat:get_frame(6,2,2).hurtbox }) pat:update_frame(552,4,0, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -24 , hurtbox = pat:get_frame(6,2,2).hurtbox }) pat:update_frame(552,4,1, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -24 , hurtbox = pat:get_frame(6,2,2).hurtbox }) pat:update_frame(552,4,2, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -24 , hurtbox = pat:get_frame(6,2,2).hurtbox }) pat:update_frame(552,4,3, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -24 , hurtbox = pat:get_frame(6,2,2).hurtbox }) pat:update_frame(552,4,4, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -24 , hurtbox = pat:get_frame(6,2,2).hurtbox }) pat:update_frame(552,4,5, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -24 , hurtbox = pat:get_frame(6,2,2).hurtbox }) pat:update_frame(552,5,0, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -30 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(552,5,1, { tex_index = 298 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -48 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(552,5,2, { tex_index = 303 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -18 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(8,1,0).hurtbox }) pat:update_frame(552,5,3, { tex_index = 305 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -22 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(8,1,0).hurtbox }) pat:update_frame(552,5,4, { tex_index = 304 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -22 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(8,1,0).hurtbox }) pat:update_frame(552,5,5, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +6 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(6,2,2).hurtbox }) pat:update_frame(552,5,6, { tex_index = 298 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +20 , tex_offset_y = baseY +0 , hurtbox = pat:get_frame(6,2,2).hurtbox }) pat:update_frame(552,6,0, { tex_index = 300 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +40 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(6,2,4).hurtbox }) pat:update_frame(552,6,1, { tex_index = 301 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +46 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(6,2,4).hurtbox }) pat:update_frame(552,7,0, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -30 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(552,7,1, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -30 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(552,7,2, { tex_index = 298 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -48 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(554,0,0, { tex_index = 106, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +2 , tex_offset_y = baseY +baseY2 -38 , hurtbox = pat:get_frame(308,0,0).hurtbox }) pat:update_frame(554,0,1, { tex_index = 83, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +20 , tex_offset_y = baseY +baseY2 -30 , hurtbox = pat:get_frame(308,0,1).hurtbox }) pat:update_frame(554,0,2, { tex_index = 82, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +14 , tex_offset_y = baseY +baseY2 -8 , hurtbox = pat:get_frame(308,0,2).hurtbox }) pat:update_frame(554,0,3, { tex_index = 81, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +4 , tex_offset_y = baseY +baseY2 -6 , hurtbox = pat:get_frame(308,0,3).hurtbox }) pat:update_frame(554,0,4, { tex_index = 107, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +22 , tex_offset_y = baseY +baseY2 +2 , hurtbox = pat:get_frame(308,0,4).hurtbox , attackbox = pat:get_frame(308,0,4).attackbox}) pat:update_frame(554,1,0, { tex_index = 108, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +22 , tex_offset_y = baseY +baseY2 +14 , hurtbox = pat:get_frame(308,0,4).hurtbox , attackbox = pat:get_frame(308,0,4).attackbox})-- , damage = 800 , proration = 850}) pat:update_frame(554,1,1, { tex_index = 109, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +16 , tex_offset_y = baseY +baseY2 +18 , hurtbox = pat:get_frame(308,0,4).hurtbox , attackbox = pat:get_frame(308,0,4).attackbox})-- , damage = 800 , proration = 850}) pat:update_frame(554,2,0, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -30 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(554,2,1, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -30 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(554,2,2, { tex_index = 298 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -48 , hurtbox = pat:get_frame(6,0,1).hurtbox }) --pat:update_frame(554,3,0, { tex_index = , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +28 , tex_offset_y = baseY +baseY2 -18 , hurtbox = pat:get_frame(309,0,0).hurtbox , duration = 9}) for idx = 0 , 9 do pat:update_frame(554,3,idx,function(frame) frame.tex_index = pat:get_frame(309,0,idx).tex_index frame.tex_w = pat:get_frame(309,0,idx).tex_w frame.tex_h = pat:get_frame(309,0,idx).tex_h frame.tex_offset_x = pat:get_frame(309,0,idx).tex_offset_x frame.tex_offset_y = pat:get_frame(309,0,idx).tex_offset_y frame.hurtbox = pat:get_frame(309,0,idx).hurtbox frame.duration = pat:get_frame(309,0,idx).duration if (idx == 9) then frame.duration = 9999 end end) end pat:update_frame(554,3,4, { attackbox = pat:get_frame(309,0,4).attackbox }) pat:update_frame(554,3,4,function(frame) frame.attackbox[1].y2 = frame.attackbox[1].y2 + 40 end) pat:update_frame(554,4,0, { tex_index = 300 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +40 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(6,2,4).hurtbox }) pat:update_frame(554,4,1, { tex_index = 301 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +46 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(6,2,4).hurtbox }) pat:update_frame(554,5,0, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -30 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(554,5,1, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -30 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(554,5,2, { tex_index = 298 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -48 , hurtbox = pat:get_frame(6,0,1).hurtbox }) local baseY2 = 24 pat:update_frame(554,6,0, { tex_index = 17, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +0 , tex_offset_y = baseY +baseY2 -36 , hurtbox = pat:get_frame(502,0,0).hurtbox }) pat:update_frame(554,6,1, { tex_index = 18, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY +baseY2 -54 , hurtbox = pat:get_frame(502,0,1).hurtbox }) pat:update_frame(554,6,2, { tex_index = 18, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY +baseY2 -54 , hurtbox = pat:get_frame(502,0,2).hurtbox }) pat:update_frame(554,6,3, { tex_index = 19, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +18 , tex_offset_y = baseY +baseY2 -54 , hurtbox = pat:get_frame(502,0,3).hurtbox }) --fires here pat:update_frame(554,6,4, { tex_index = 21, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +28 , tex_offset_y = baseY +baseY2 -28 , hurtbox = pat:get_frame(502,0,4).hurtbox }) pat:update_frame(554,6,5, { tex_index = 30, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +6 , tex_offset_y = baseY +baseY2 -12 , hurtbox = pat:get_frame(502,0,5).hurtbox }) pat:update_frame(554,6,6, { tex_index = 31, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY +baseY2 -6 , hurtbox = pat:get_frame(502,0,6).hurtbox }) pat:update_frame(554,6,7, { tex_index = 31, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY +baseY2 -6 , hurtbox = pat:get_frame(502,0,7).hurtbox }) pat:update_frame(554,6,8, { tex_index = 31, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -8 , tex_offset_y = baseY +baseY2 -6 , hurtbox = pat:get_frame(502,0,8).hurtbox }) for idx = 0,7 do pat:update_frame(822,0,idx,function(frame) frame.color_g = 85 frame.color_b = 85 end) end pat:update_frame(822,2,0,function(frame) frame.color_g = 85 frame.color_b = 85 end) end function mods.a236_gale(pat) -- char anim local baseX = 70 local baseY = 195 --5b pat:update_frame(505,0,0, { tex_index = 47, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +14 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(505,0,1, { tex_index = 48, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +42 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(505,0,2, { tex_index = 48, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +42 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(505,0,3, { tex_index = 49, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +22 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(6,0,1).hurtbox , duration = 2 + 5 }) pat:update_frame(505,0,4, { tex_index = 50, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +24 , tex_offset_y = baseY -6 , hurtbox = pat:get_frame(6,0,1).hurtbox }) -- fires here pat:update_frame(505,0,5, { tex_index = 51, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +26 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(6,0,1).hurtbox , duration = 3 + 1 }) pat:update_frame(505,0,6, { tex_index = 52, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +48 , tex_offset_y = baseY -6 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(505,0,7, { tex_index = 52, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +48 , tex_offset_y = baseY -6 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(505,0,8, { tex_index = 53, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +32 , tex_offset_y = baseY -6 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(505,0,9, { tex_index = 54, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -6 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(505,0,10, { tex_index = 54, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -6 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(505,1,0, { tex_index = 48, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +42 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(505,1,1, { tex_index = 48, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +42 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(505,1,2, { tex_index = 49, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +22 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(6,0,1).hurtbox , duration = 2 + 5 }) pat:update_frame(505,1,3, { tex_index = 50, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +24 , tex_offset_y = baseY -6 , hurtbox = pat:get_frame(6,0,1).hurtbox }) -- fires here pat:update_frame(505,1,4, { tex_index = 51, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +26 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(6,0,1).hurtbox , duration = 3 + 1 }) pat:update_frame(505,1,5, { tex_index = 52, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +48 , tex_offset_y = baseY -6 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(505,1,6, { tex_index = 52, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +48 , tex_offset_y = baseY -6 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(505,1,7, { tex_index = 53, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +32 , tex_offset_y = baseY -6 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(505,1,8, { tex_index = 54, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -6 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(505,1,9, { tex_index = 54, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -6 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(506,0,0, { tex_index = 47, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +14 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(506,0,1, { tex_index = 48, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +42 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(506,0,2, { tex_index = 48, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +42 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(506,0,3, { tex_index = 49, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +22 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(6,0,1).hurtbox , duration = 2 + 5 }) pat:update_frame(506,0,4, { tex_index = 50, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +24 , tex_offset_y = baseY -6 , hurtbox = pat:get_frame(6,0,1).hurtbox }) -- fires here pat:update_frame(506,0,5, { tex_index = 51, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +26 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(6,0,1).hurtbox , duration = 3 + 1 }) pat:update_frame(506,0,6, { tex_index = 52, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +48 , tex_offset_y = baseY -6 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(506,0,7, { tex_index = 52, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +48 , tex_offset_y = baseY -6 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(506,0,8, { tex_index = 53, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +32 , tex_offset_y = baseY -6 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(506,0,9, { tex_index = 54, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -6 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(506,0,10, { tex_index = 54, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -6 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(506,1,0, { tex_index = 48, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +42 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(506,1,1, { tex_index = 48, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +42 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(506,1,2, { tex_index = 49, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +22 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(6,0,1).hurtbox , duration = 2 + 5 }) pat:update_frame(506,1,3, { tex_index = 50, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +24 , tex_offset_y = baseY -6 , hurtbox = pat:get_frame(6,0,1).hurtbox }) -- fires here pat:update_frame(506,1,4, { tex_index = 51, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +26 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(6,0,1).hurtbox , duration = 3 + 1 }) pat:update_frame(506,1,5, { tex_index = 52, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +48 , tex_offset_y = baseY -6 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(506,1,6, { tex_index = 52, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +48 , tex_offset_y = baseY -6 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(506,1,7, { tex_index = 53, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +32 , tex_offset_y = baseY -6 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(506,1,8, { tex_index = 54, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -6 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(506,1,9, { tex_index = 54, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -6 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(507,0,0, { tex_index = 47, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +14 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(507,0,1, { tex_index = 48, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +42 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(507,0,2, { tex_index = 48, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +42 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(507,0,3, { tex_index = 55, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +32 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(414,0,3).hurtbox , duration = 2 + 5 }) pat:update_frame(507,0,4, { tex_index = 50, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +24 , tex_offset_y = baseY -6 , hurtbox = pat:get_frame(6,0,1).hurtbox }) -- fires here pat:update_frame(507,0,5, { tex_index = 51, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +26 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(6,0,1).hurtbox , duration = 3 + 1 }) pat:update_frame(507,0,6, { tex_index = 52, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +48 , tex_offset_y = baseY -6 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(507,0,7, { tex_index = 52, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +48 , tex_offset_y = baseY -6 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(507,0,8, { tex_index = 53, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +32 , tex_offset_y = baseY -6 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(507,0,9, { tex_index = 54, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -6 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(507,0,10, { tex_index = 54, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -6 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(507,1,0, { tex_index = 48, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +42 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(507,1,1, { tex_index = 48, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +42 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(507,1,2, { tex_index = 55, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +32 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(414,0,3).hurtbox , duration = 2 + 5 }) pat:update_frame(507,1,3, { tex_index = 50, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +24 , tex_offset_y = baseY -6 , hurtbox = pat:get_frame(6,0,1).hurtbox }) -- fires here pat:update_frame(507,1,4, { tex_index = 51, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +26 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(6,0,1).hurtbox , duration = 3 + 1 }) pat:update_frame(507,1,5, { tex_index = 52, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +48 , tex_offset_y = baseY -6 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(507,1,6, { tex_index = 52, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +48 , tex_offset_y = baseY -6 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(507,1,7, { tex_index = 53, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +32 , tex_offset_y = baseY -6 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(507,1,8, { tex_index = 54, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -6 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(507,1,9, { tex_index = 54, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -6 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(507,2,0, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -30 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(507,2,1, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -30 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(507,2,2, { tex_index = 298 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -48 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(508,0,0, { tex_index = 47, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +14 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(508,0,1, { tex_index = 48, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +42 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(508,0,2, { tex_index = 48, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +42 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(508,0,3, { tex_index = 55, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +32 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(414,0,3).hurtbox , duration = 2 + 5 }) pat:update_frame(508,0,4, { tex_index = 50, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +24 , tex_offset_y = baseY -6 , hurtbox = pat:get_frame(6,0,1).hurtbox }) -- fires here pat:update_frame(508,0,5, { tex_index = 51, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +26 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(6,0,1).hurtbox , duration = 3 + 1 }) pat:update_frame(508,0,6, { tex_index = 52, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +48 , tex_offset_y = baseY -6 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(508,0,7, { tex_index = 52, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +48 , tex_offset_y = baseY -6 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(508,0,8, { tex_index = 53, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +32 , tex_offset_y = baseY -6 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(508,0,9, { tex_index = 54, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -6 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(508,0,10, { tex_index = 54, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -6 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(508,1,0, { tex_index = 48, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +42 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(508,1,1, { tex_index = 48, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +42 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(508,1,2, { tex_index = 55, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +32 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(414,0,3).hurtbox , duration = 2 + 5 }) pat:update_frame(508,1,3, { tex_index = 50, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +24 , tex_offset_y = baseY -6 , hurtbox = pat:get_frame(6,0,1).hurtbox }) -- fires here pat:update_frame(508,1,4, { tex_index = 51, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +26 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(6,0,1).hurtbox , duration = 3 + 1 }) pat:update_frame(508,1,5, { tex_index = 52, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +48 , tex_offset_y = baseY -6 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(508,1,6, { tex_index = 52, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +48 , tex_offset_y = baseY -6 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(508,1,7, { tex_index = 53, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +32 , tex_offset_y = baseY -6 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(508,1,8, { tex_index = 54, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -6 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(508,1,9, { tex_index = 54, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -6 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(508,2,0, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -30 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(508,2,1, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -30 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(508,2,2, { tex_index = 298 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -48 , hurtbox = pat:get_frame(6,0,1).hurtbox }) for idx = 0 , 22 do pat:split_frame(811,0,0,1,1) pat:split_frame(811,2,0,1,1) end pat:remove_frame(811,0,0) for idx = 0 , 23 do pat:update_frame(811,0,idx,function(frame) --frame.tex_offset_x = frame.tex_offset_x +40*idx frame.attackbox[2] = null --frame.attackbox[1].x1 = frame.attackbox[1].x1 - 60*idx --frame.attackbox[1].x2 = frame.attackbox[1].x2 - 60*idx frame.attackbox[1].x1 = frame.attackbox[1].x1 - 20 frame.attackbox[1].x2 = frame.attackbox[1].x2 + 10 frame.attackbox[1].y1 = frame.attackbox[1].y1 + 15 frame.attackbox[1].y2 = frame.attackbox[1].y2 - 15 frame.limit = 10 frame.duration=1 end) if (idx%3 == 0) then pat:update_frame(811,0,idx, { tex_index = 159, tex_h = 120 , tex_w = 120 , tex_offset_x = 40 , tex_offset_y = 48 , scale_x = 200 , scale_y = 200 }) elseif (idx%3 == 1) then pat:update_frame(811,0,idx, { tex_index = 160, tex_h = 120 , tex_w = 120 , tex_offset_x = 40 , tex_offset_y = 48 , scale_x = 200 , scale_y = 200 }) elseif (idx%3 == 2) then pat:update_frame(811,0,idx, { tex_index = 160, tex_h = 120 , tex_w = 120 , tex_offset_x = 40 , tex_offset_y = 48 , scale_x = 200 , scale_y = 200 })--pat:update_frame(801,0,idx, { tex_index = 493, tex_h = 120 , tex_w = 120 , tex_offset_x = 40 , tex_offset_y = 48 , scale_x = 200 , scale_y = 200 }) end end pat:update_frame(811,2,0, { tex_index = 240, tex_h = 120 , tex_w = 120 , tex_offset_x = 64 , tex_offset_y = 64 , scale_x = 200 , scale_y = 200 }) pat:update_frame(811,2,1, { tex_index = 240, tex_h = 120 , tex_w = 120 , tex_offset_x = 64 , tex_offset_y = 64 , scale_x = 200 , scale_y = 200 }) pat:update_frame(811,2,2, { tex_index = 240, tex_h = 120 , tex_w = 120 , tex_offset_x = 64 , tex_offset_y = 64 , scale_x = 200 , scale_y = 200 }) pat:update_frame(811,2,3, { tex_index = 154, tex_h = 120 , tex_w = 120 , tex_offset_x = 33 , tex_offset_y = 24 , scale_x = 200 , scale_y = 200 }) pat:update_frame(811,2,4, { tex_index = 155, tex_h = 120 , tex_w = 120 , tex_offset_x = 40 , tex_offset_y = 29 , scale_x = 200 , scale_y = 200 }) pat:update_frame(811,2,5, { tex_index = 156, tex_h = 120 , tex_w = 120 , tex_offset_x = 51 , tex_offset_y = 31 , scale_x = 200 , scale_y = 200 }) pat:update_frame(811,2,6, { tex_index = 157, tex_h = 120 , tex_w = 120 , tex_offset_x = 57 , tex_offset_y = 31 , scale_x = 200 , scale_y = 200 }) pat:update_frame(811,2,7, { tex_index = 158, tex_h = 120 , tex_w = 120 , tex_offset_x = 62 , tex_offset_y = 32 , scale_x = 200 , scale_y = 200 }) pat:update_frame(811,2,8, { tex_index = 125, tex_h = 120 , tex_w = 120 , tex_offset_x = 85 , tex_offset_y = 38 , scale_x = 200 , scale_y = 200 }) pat:update_frame(811,2,9, { tex_index = 126, tex_h = 120 , tex_w = 120 , tex_offset_x = 80 , tex_offset_y = 38 , scale_x = 200 , scale_y = 200 }) pat:update_frame(811,2,10, { tex_index = 127, tex_h = 120 , tex_w = 120 , tex_offset_x = 81 , tex_offset_y = 38 , scale_x = 200 , scale_y = 200 }) pat:update_frame(811,2,11, { tex_index = 128, tex_h = 120 , tex_w = 120 , tex_offset_x = 74 , tex_offset_y = 38 , scale_x = 200 , scale_y = 200 }) pat:update_frame(811,2,12, { tex_index = 129, tex_h = 120 , tex_w = 120 , tex_offset_x = 70 , tex_offset_y = 37 , scale_x = 200 , scale_y = 200 }) for idx = 0 , 23 do pat:update_frame(811,2,idx,function(frame) --frame.tex_offset_x = frame.tex_offset_x +40--*idx frame.attackbox = pat:get_frame(811,0,0).attackbox --frame.attackbox[1].x1 = frame.attackbox[1].x1 -60--*idx --frame.attackbox[1].x2 = frame.attackbox[1].x2 -60--*idx frame.launch_vector_x = 600 frame.launch_vector_y = 800 frame.sp_damage = 15 frame.card_gain_block = 10 frame.card_gain_hit = 10 frame.combo_correction = CC_LIFT_ATTACK frame.untech = 40 if (idx < 3) then frame.attackbox[1] = null frame.tex_w = 0 end frame.damage = 80 frame.proration = 990 frame.chip_damage = 0 frame.limit = 2 frame.hitstop_enemy = 2 frame.hitstop_self = 0 frame.blockstop_enemy = 2 frame.blockstop_self = 0 --frame.hit_ani_ground = 0 frame.hit_sfx = 9 frame.hit_effect = 1 end) end for idx = 0 , 23 do pat:update_frame(811,0,idx,function(frame) frame.attackbox[1] = null end) end pat:update_frame(811,1,0, { tex_index = 154, tex_h = 120 , tex_w = 120 , tex_offset_x = 33 , tex_offset_y = 24 , scale_x = 200 , scale_y = 200 }) pat:update_frame(811,1,1, { tex_index = 155, tex_h = 120 , tex_w = 120 , tex_offset_x = 40 , tex_offset_y = 29 , scale_x = 200 , scale_y = 200 }) pat:update_frame(811,1,2, { tex_index = 156, tex_h = 120 , tex_w = 120 , tex_offset_x = 51 , tex_offset_y = 31 , scale_x = 200 , scale_y = 200 }) pat:update_frame(811,1,3, { tex_index = 157, tex_h = 120 , tex_w = 120 , tex_offset_x = 57 , tex_offset_y = 31 , scale_x = 200 , scale_y = 200 }) pat:update_frame(811,1,4, { tex_index = 158, tex_h = 120 , tex_w = 120 , tex_offset_x = 62 , tex_offset_y = 32 , scale_x = 200 , scale_y = 200 }) pat:update_frame(811,1,5, { tex_index = 125, tex_h = 120 , tex_w = 120 , tex_offset_x = 85 , tex_offset_y = 38 , scale_x = 200 , scale_y = 200 }) pat:update_frame(811,1,6, { tex_index = 126, tex_h = 120 , tex_w = 120 , tex_offset_x = 80 , tex_offset_y = 38 , scale_x = 200 , scale_y = 200 }) pat:update_frame(811,1,7, { tex_index = 127, tex_h = 120 , tex_w = 120 , tex_offset_x = 81 , tex_offset_y = 38 , scale_x = 200 , scale_y = 200 }) pat:update_frame(811,1,8, { tex_index = 128, tex_h = 120 , tex_w = 120 , tex_offset_x = 74 , tex_offset_y = 38 , scale_x = 200 , scale_y = 200 }) pat:update_frame(811,1,9, { tex_index = 129, tex_h = 120 , tex_w = 120 , tex_offset_x = 70 , tex_offset_y = 37 , scale_x = 200 , scale_y = 200 }) pat:remove_frame(811,1,10) end function mods.a214_crossup(pat) pat:update_frame(530,1,0,function (frame) frame.duration=2 frame.collision[1] = pat:get_frame(9,0,0).collision[1] end) pat:update_frame(531,1,0,function (frame) frame.duration=2 frame.collision[1] = pat:get_frame(9,0,0).collision[1] end) pat:update_frame(532,1,0,function (frame) frame.duration=2 frame.collision[1] = pat:get_frame(9,0,0).collision[1] end) pat:update_frame(533,1,0,function (frame) --frame.duration=2 --frame.collision[1] = pat:get_frame(9,0,0).collision[1] end) for idx = 0 , 2 do pat:update_frame(530,2,idx,function (frame) frame.collision[1] = pat:get_frame(9,0,0).collision[1] end) pat:update_frame(531,2,idx,function (frame) frame.collision[1] = pat:get_frame(9,0,0).collision[1] end) pat:update_frame(532,2,idx,function (frame) frame.collision[1] = pat:get_frame(9,0,0).collision[1] end) pat:update_frame(533,2,idx,function (frame) --frame.collision[1] = pat:get_frame(9,0,0).collision[1] end) end local baseX = 70 local baseY = 195 local baseY2 = -8 pat:update_frame(530,0,0, { tex_index = 78, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +28 , tex_offset_y = baseY +baseY2 -18 , hurtbox = pat:get_frame(302,0,0).hurtbox }) pat:update_frame(530,0,1, { tex_index = 78, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +28 , tex_offset_y = baseY +baseY2 -18 , hurtbox = pat:get_frame(302,0,1).hurtbox }) pat:update_frame(530,0,2, { tex_index = 79, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +50 , tex_offset_y = baseY +baseY2 -28 , hurtbox = pat:get_frame(302,0,2).hurtbox , duration = 3 - 2 }) pat:update_frame(530,0,3, { tex_index = 79, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +50 , tex_offset_y = baseY +baseY2 -28 , hurtbox = pat:get_frame(302,0,3).hurtbox , duration = 4 - 3 }) pat:update_frame(530,0,4, { tex_index = 79, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +50 , tex_offset_y = baseY +baseY2 -28 , hurtbox = pat:get_frame(302,0,3).hurtbox }) pat:update_frame(530,0,5, { tex_index = 309 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -44 , hurtbox = pat:get_frame(7,1,0).hurtbox }) pat:update_frame(530,1,0, { tex_index = 310 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -20 , hurtbox = pat:get_frame(7,1,0).hurtbox , duration = 2}) pat:remove_frame(530,2,8) local baseY2 = 24 pat:update_frame(530,2,0, { tex_index = 17, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +0 , tex_offset_y = baseY +baseY2 -36 , hurtbox = pat:get_frame(502,0,0).hurtbox }) pat:update_frame(530,2,1, { tex_index = 17, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +0 , tex_offset_y = baseY +baseY2 -36 , hurtbox = pat:get_frame(502,0,0).hurtbox }) pat:update_frame(530,2,2, { tex_index = 18, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY +baseY2 -54 , hurtbox = pat:get_frame(502,0,1).hurtbox }) pat:update_frame(530,2,3, { tex_index = 18, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY +baseY2 -54 , hurtbox = pat:get_frame(502,0,1).hurtbox }) pat:update_frame(530,2,4, { tex_index = 18, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY +baseY2 -54 , hurtbox = pat:get_frame(502,0,1).hurtbox }) pat:update_frame(530,2,5, { tex_index = 442, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +34 , tex_offset_y = baseY +baseY2 -36 }) pat:update_frame(530,2,5,function(frame) frame.hurtbox[4].y1=frame.hurtbox[4].y1 + 60 frame.hurtbox[4].y2=frame.hurtbox[4].y2 + 60 frame.hurtbox[3].y1=frame.hurtbox[3].y1 + 80 frame.hurtbox[3].y2=frame.hurtbox[3].y2 + 80 frame.hurtbox[2].x1=frame.hurtbox[2].x1 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[1].x1=frame.hurtbox[1].x1 + 20 frame.hurtbox[1].x2=frame.hurtbox[1].x2 + 20 end) pat:update_frame(530,2,6, { tex_index = 443, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +34 , tex_offset_y = baseY +baseY2 -48 , hurtbox = pat:get_frame(530,2,5).hurtbox }) pat:update_frame(530,2,7, { tex_index = 442, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +34 , tex_offset_y = baseY +baseY2 -36 , hurtbox = pat:get_frame(530,2,5).hurtbox }) pat:update_frame(530,2,8, { tex_index = 443, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +34 , tex_offset_y = baseY +baseY2 -48 , hurtbox = pat:get_frame(530,2,5).hurtbox }) pat:update_frame(530,2,9, { tex_index = 442, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +34 , tex_offset_y = baseY +baseY2 -36 , hurtbox = pat:get_frame(530,2,5).hurtbox }) pat:update_frame(530,1,0,function(frame) frame.collision[1].y2 = 0 end) for idx = 0 , 9 do pat:update_frame(530,2,idx,function(frame) frame.collision[1].y2 = 0 end) end pat:update_frame(530,3,0, { tex_index = 443, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +34 , tex_offset_y = baseY +baseY2 -48 , hurtbox = pat:get_frame(530,2,5).hurtbox }) pat:update_frame(530,3,1, { tex_index = 442, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +34 , tex_offset_y = baseY +baseY2 -36 , hurtbox = pat:get_frame(530,2,5).hurtbox }) pat:update_frame(530,4,0, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -30 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(530,4,1, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -30 , hurtbox = pat:get_frame(6,0,1).hurtbox , duration = 4 }) pat:update_frame(530,4,2, { tex_index = 298 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -48 , hurtbox = pat:get_frame(6,0,1).hurtbox }) --- local baseY2 = -8 pat:update_frame(531,0,0, { tex_index = 78, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +28 , tex_offset_y = baseY +baseY2 -18 , hurtbox = pat:get_frame(302,0,0).hurtbox }) pat:update_frame(531,0,1, { tex_index = 78, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +28 , tex_offset_y = baseY +baseY2 -18 , hurtbox = pat:get_frame(302,0,1).hurtbox }) pat:update_frame(531,0,2, { tex_index = 79, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +50 , tex_offset_y = baseY +baseY2 -28 , hurtbox = pat:get_frame(302,0,2).hurtbox , duration = 3 - 2 +2 }) pat:update_frame(531,0,3, { tex_index = 79, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +50 , tex_offset_y = baseY +baseY2 -28 , hurtbox = pat:get_frame(302,0,3).hurtbox , duration = 4 - 3 +2 }) pat:update_frame(531,0,4, { tex_index = 79, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +50 , tex_offset_y = baseY +baseY2 -28 , hurtbox = pat:get_frame(302,0,3).hurtbox }) pat:update_frame(531,0,5, { tex_index = 309 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -44 , hurtbox = pat:get_frame(7,1,0).hurtbox }) pat:update_frame(531,1,0, { tex_index = 310 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -20 , hurtbox = pat:get_frame(7,1,0).hurtbox , duration = 2 }) pat:remove_frame(531,2,8) local baseY2 = 24 pat:update_frame(531,2,0, { tex_index = 17, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +0 , tex_offset_y = baseY +baseY2 -36 , hurtbox = pat:get_frame(502,0,0).hurtbox }) pat:update_frame(531,2,1, { tex_index = 17, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +0 , tex_offset_y = baseY +baseY2 -36 , hurtbox = pat:get_frame(502,0,0).hurtbox }) pat:update_frame(531,2,2, { tex_index = 18, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY +baseY2 -54 , hurtbox = pat:get_frame(502,0,1).hurtbox }) pat:update_frame(531,2,3, { tex_index = 18, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY +baseY2 -54 , hurtbox = pat:get_frame(502,0,1).hurtbox }) pat:update_frame(531,2,4, { tex_index = 18, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY +baseY2 -54 , hurtbox = pat:get_frame(502,0,1).hurtbox , fflags = pat:get_frame(531,2,3).fflags }) pat:update_frame(531,2,5, { tex_index = 442, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +34 , tex_offset_y = baseY +baseY2 -36 , hurtbox = pat:get_frame(530,2,5).hurtbox }) pat:update_frame(531,2,6, { tex_index = 443, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +34 , tex_offset_y = baseY +baseY2 -48 , hurtbox = pat:get_frame(530,2,5).hurtbox }) pat:update_frame(531,2,7, { tex_index = 442, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +34 , tex_offset_y = baseY +baseY2 -36 , hurtbox = pat:get_frame(530,2,5).hurtbox }) pat:update_frame(531,2,8, { tex_index = 443, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +34 , tex_offset_y = baseY +baseY2 -48 , hurtbox = pat:get_frame(530,2,5).hurtbox }) pat:update_frame(531,2,9, { tex_index = 442, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +34 , tex_offset_y = baseY +baseY2 -36 , hurtbox = pat:get_frame(530,2,5).hurtbox }) pat:update_frame(531,1,0,function(frame) frame.collision[1].y2 = 0 end) for idx = 0 , 9 do pat:update_frame(531,2,idx,function(frame) frame.collision[1].y2 = 0 end) end pat:update_frame(531,3,0, { tex_index = 443, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +34 , tex_offset_y = baseY +baseY2 -48 , hurtbox = pat:get_frame(530,2,5).hurtbox }) pat:update_frame(531,3,1, { tex_index = 442, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +34 , tex_offset_y = baseY +baseY2 -36 , hurtbox = pat:get_frame(530,2,5).hurtbox }) pat:update_frame(531,4,0, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -30 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(531,4,1, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -30 , hurtbox = pat:get_frame(6,0,1).hurtbox , duration = 4 }) pat:update_frame(531,4,2, { tex_index = 298 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -48 , hurtbox = pat:get_frame(6,0,1).hurtbox }) --- local baseY2 = 46 local baseX2 = 12 pat:update_frame(532,0,0, { tex_index = 241 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +20 , tex_offset_y = baseY +baseY2 -50 , hurtbox = pat:get_frame(7,1,0).hurtbox }) pat:update_frame(532,0,1, { tex_index = 242 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +baseX2 +16 , tex_offset_y = baseY +baseY2 -70 , hurtbox = pat:get_frame(214,1,0).hurtbox }) pat:update_frame(532,0,2, { tex_index = 242 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +baseX2 +16 , tex_offset_y = baseY +baseY2 -70 , hurtbox = pat:get_frame(214,1,0).hurtbox , duration = 3 - 2 +2 }) pat:update_frame(532,0,3, { tex_index = 243 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +baseX2 -0 , tex_offset_y = baseY +baseY2 -66 , hurtbox = pat:get_frame(214,2,0).hurtbox , duration = 4 - 3 +2 }) pat:update_frame(532,0,4, { tex_index = 243 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +baseX2 -0 , tex_offset_y = baseY +baseY2 -66 , hurtbox = pat:get_frame(214,2,0).hurtbox }) pat:update_frame(532,0,5, { tex_index = 309 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -44 , hurtbox = pat:get_frame(7,1,0).hurtbox }) pat:update_frame(532,0,6, { tex_index = 309 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -44 , hurtbox = pat:get_frame(7,1,0).hurtbox }) pat:update_frame(532,1,0, { tex_index = 310 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -20 , hurtbox = pat:get_frame(7,1,0).hurtbox , duration = 2 }) pat:remove_frame(532,2,11) pat:remove_frame(532,2,7) local baseY2 = 24 pat:update_frame(532,2,0, { tex_index = 17, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +0 , tex_offset_y = baseY +baseY2 -36 , hurtbox = pat:get_frame(502,0,0).hurtbox }) pat:update_frame(532,2,1, { tex_index = 17, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +0 , tex_offset_y = baseY +baseY2 -36 , hurtbox = pat:get_frame(502,0,0).hurtbox }) pat:update_frame(532,2,2, { tex_index = 18, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY +baseY2 -54 , hurtbox = pat:get_frame(502,0,1).hurtbox }) pat:update_frame(532,2,3, { tex_index = 18, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY +baseY2 -54 , hurtbox = pat:get_frame(502,0,1).hurtbox }) pat:update_frame(532,2,4, { tex_index = 18, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY +baseY2 -54 , hurtbox = pat:get_frame(502,0,1).hurtbox , fflags = pat:get_frame(532,2,3).fflags }) pat:update_frame(532,2,5, { tex_index = 442, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +34 , tex_offset_y = baseY +baseY2 -36 , hurtbox = pat:get_frame(530,2,5).hurtbox }) pat:update_frame(532,2,6, { tex_index = 443, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +34 , tex_offset_y = baseY +baseY2 -48 , hurtbox = pat:get_frame(530,2,5).hurtbox }) pat:update_frame(532,2,7, { tex_index = 442, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +34 , tex_offset_y = baseY +baseY2 -36 , hurtbox = pat:get_frame(530,2,5).hurtbox }) pat:update_frame(532,2,8, { tex_index = 443, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +34 , tex_offset_y = baseY +baseY2 -48 , hurtbox = pat:get_frame(530,2,5).hurtbox }) pat:update_frame(532,2,9, { tex_index = 442, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +34 , tex_offset_y = baseY +baseY2 -36 , hurtbox = pat:get_frame(530,2,5).hurtbox }) pat:update_frame(532,3,0, { tex_index = 443, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +34 , tex_offset_y = baseY +baseY2 -48 , hurtbox = pat:get_frame(530,2,5).hurtbox }) pat:update_frame(532,3,1, { tex_index = 442, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +34 , tex_offset_y = baseY +baseY2 -36 , hurtbox = pat:get_frame(530,2,5).hurtbox }) pat:update_frame(532,4,0, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -30 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(532,4,1, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -30 , hurtbox = pat:get_frame(6,0,1).hurtbox , duration = 4+6 }) pat:update_frame(532,4,2, { tex_index = 298 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -48 , hurtbox = pat:get_frame(6,0,1).hurtbox }) --- for idx = 0 , 5 do pat:update_frame(530,0,idx,function(frame) --unset_fflag(frame,FF_GRAZE) end) pat:update_frame(531,0,idx,function(frame) --unset_fflag(frame,FF_GRAZE) end) pat:update_frame(532,0,idx,function(frame) --unset_fflag(frame,FF_GRAZE) end) pat:update_frame(530,2,idx,function(frame) --unset_fflag(frame,FF_GRAZE) end) pat:update_frame(531,2,idx,function(frame) --unset_fflag(frame,FF_GRAZE) end) pat:update_frame(532,2,idx,function(frame) --unset_fflag(frame,FF_GRAZE) end) end pat:update_frame(532,0,6,function(frame) --unset_fflag(frame,FF_GRAZE) end) pat:update_frame(530,1,0,function(frame) --unset_fflag(frame,FF_GRAZE) end) pat:update_frame(531,1,0,function(frame) --unset_fflag(frame,FF_GRAZE) end) pat:update_frame(532,1,0,function(frame) --unset_fflag(frame,FF_GRAZE) end) for idx = 0 , 9 do --[[ pat:update_frame(530,2,idx,function(frame) unset_fflag(frame,FF_CANCEL) end) pat:update_frame(531,2,idx,function(frame) unset_fflag(frame,FF_CANCEL) end) pat:update_frame(532,2,idx,function(frame) unset_fflag(frame,FF_CANCEL) end) ]]-- end for idx = 5 , 9 do --[[ pat:update_frame(530,2,idx,function(frame) set_fflag(frame,FF_GUARD_CANCEL) end) pat:update_frame(531,2,idx,function(frame) set_fflag(frame,FF_GUARD_CANCEL) end) pat:update_frame(532,2,idx,function(frame) set_fflag(frame,FF_GUARD_CANCEL) end) ]]-- end local baseFX = 0 local baseFY = 0 pat:update_frame(817,0,0, { tex_index = 432 , tex_h = 160 , tex_w = 160 , tex_offset_x = baseFX +67 , tex_offset_y = baseFY +67 }) pat:update_frame(817,0,1, { tex_index = 433 , tex_h = 160 , tex_w = 160 , tex_offset_x = baseFX +74 , tex_offset_y = baseFY +68 }) pat:update_frame(817,0,2, { tex_index = 434 , tex_h = 160 , tex_w = 160 , tex_offset_x = baseFX +67 , tex_offset_y = baseFY +72 }) pat:update_frame(817,0,3, { tex_index = 435 , tex_h = 160 , tex_w = 160 , tex_offset_x = baseFX +76 , tex_offset_y = baseFY +71 }) pat:update_frame(817,0,4, { tex_index = 436 , tex_h = 160 , tex_w = 160 , tex_offset_x = baseFX +71 , tex_offset_y = baseFY +68 }) pat:update_frame(817,0,5, { tex_index = 437 , tex_h = 160 , tex_w = 160 , tex_offset_x = baseFX +72 , tex_offset_y = baseFY +63 }) pat:update_frame(817,0,6, { tex_index = 438 , tex_h = 160 , tex_w = 160 , tex_offset_x = baseFX +70 , tex_offset_y = baseFY +71 }) pat:update_frame(817,0,7, { tex_index = 439 , tex_h = 160 , tex_w = 160 , tex_offset_x = baseFX +80 , tex_offset_y = baseFY +71 }) pat:update_frame(817,1,0, {tex_w = 0}) for idx = 0 , 7 do pat:update_frame(817,0,idx,function(frame) frame.limit = 40 frame.damage = 1300 frame.chip_damage = 260 frame.proration = 800 --frame.chip_damage = 250 frame.attackbox[2]=null frame.attackbox[1].x1 = frame.attackbox[1].x1 - 160 -30*idx - 10 frame.attackbox[1].x2 = frame.attackbox[1].x2 - 120 -30*idx + 10 frame.attackbox[1].y1 = frame.attackbox[1].y1 + 100 frame.attackbox[1].y2 = frame.attackbox[1].y2 + 100 --frame.attackbox[1].y1 = frame.attackbox[1].y1 +80 + idx*10 --frame.attackbox[1].y2 = frame.attackbox[1].y2 - (85-idx)*10 frame.blockstop_self = 10 frame.blockstop_enemy = 10 frame.hitstop_self = 10 frame.hitstop_enemy= 10 frame.hit_sfx = 4 frame.hit_effect = 4 frame.attack_level = AL_HEAVY frame.scale_x = 200 frame.scale_y = 200 frame.sp_damage = 100 unset_aflag(frame,AF_PROJECTILE) --set_aflag(frame,AF_UNGRAZABLE) set_aflag(frame,AF_ATTACK_HIGH) set_aflag(frame,AF_ATTACK_AIR) unset_aflag(frame,AF_LOWBLOCK_OK) frame.launch_vector_x = 2450 frame.launch_vector_y = -2000 frame.tex_offset_y = frame.tex_offset_y +15*idx +80 frame.tex_offset_x = frame.tex_offset_x +50 end) end pat:split_frame(817,0,7,1,1) pat:update_frame(817,0,8,function(frame) frame.duration = 500 frame.tex_w = 0 frame.attackbox[1]=null end) for idx = 0 , 7 do pat:update_frame(817,3,idx,function(frame) frame.tex_w = 0 frame.attackbox[2]=null frame.attackbox[1]=null end) end end function mods.a214_rekka(pat) -- char anim local baseX = 70 local baseY = 195 local baseY2 = 10 local universalStop = 5 --601 to 605 is wasted for idz = 0 , 3 do pat:update_frame(525+idz,0,0, { tex_index = 10, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +28 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(301,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) pat:update_frame(525+idz,0,1, { tex_index = 10, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +28 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(301,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) pat:update_frame(525+idz,0,2, { tex_index = 11, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +20 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(301,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) pat:update_frame(525+idz,0,3, { tex_index = 11, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +20 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(301,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) pat:update_frame(525+idz,0,4, { tex_index = 53, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +32 , tex_offset_y = baseY -6 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) if(idz==1) then pat:update_frame(525+idz,0,5, { data_format = 0 , blending_mode = 0 , color_a = 255, color_r = 255, color_g = 255, color_b = 255 , scale_x = 100, scale_y = 100, angle_x = 0, angle_y = 0, angle_z = 0 }) end pat:update_frame(525+idz,0,5, { tex_index = 53, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +32 , tex_offset_y = baseY -6 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) --pat:update_frame(525,0,2, { tex_index = 605, tex_h = 128 , tex_w = 128 , tex_offset_x = baseX +10 , tex_offset_y = baseY -18 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 4 }) if (idz > 1) then pat:remove_frame(525+idz,0,6) end for idw = 0 , 5 do pat:update_frame(525+idz,0,idw,function(frame) if (idz > 1) then frame.collision = pat:get_frame(9,0,0).collision if (idw > 3) then frame.hurtbox[1].y2 = frame.hurtbox[1].y2 - 10 end else frame.collision = pat:get_frame(0,0,0).collision end end) end pat:split_frame(525+idz,1,2,1,1) pat:split_frame(525+idz,1,2,1,1) pat:split_frame(525+idz,1,2,1,1) pat:split_frame(525+idz,1,2,1,1) if (idz==1 or idz==3) then for idw = 0 , 5 do pat:update_frame(525+idz,1,idw, { data_format = 0 , blending_mode = 0 , color_a = 255, color_r = 255, color_g = 255, color_b = 255 , scale_x = 100, scale_y = 100, angle_x = 0, angle_y = 0, angle_z = 0 }) end end pat:update_frame(525+idz,1,0, { tex_index = 601, tex_h = 128 , tex_w = 128 , tex_offset_x = baseX +10, tex_offset_y = baseY -12 , hurtbox = pat:get_frame(0,0,0).hurtbox , attackbox = pat:get_frame(0,0,0).attackbox , duration = 4 }) pat:update_frame(525+idz,1,1, { tex_index = 602, tex_h = 128 , tex_w = 128 , tex_offset_x = baseX +0 , tex_offset_y = baseY -10 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 4 }) pat:update_frame(525+idz,1,1,function(frame) frame.hurtbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[2].x1 = frame.hurtbox[2].x1 + 40 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 + 40 frame.hurtbox[2].y1 = frame.hurtbox[2].y1 + 40 frame.hurtbox[2].y2 = frame.hurtbox[2].y2 - 20 frame.attackbox[2].y1 = frame.attackbox[2].y1 - 45 frame.attackbox[2].y2 = frame.attackbox[2].y2 - 25 frame.attackbox[1].y1 = frame.attackbox[1].y1 - 45 frame.attackbox[1].y2 = frame.attackbox[1].y2 + 5 unset_fflag(frame,FF_CANCEL) unset_fflag(frame,FF_MOTION_CANCEL) set_aflag(frame,AF_PROJECTILE) end) pat:update_frame(525+idz,1,1, { attackbox = pat:get_frame(525,1,1).attackbox }) pat:update_frame(525+idz,1,2, { tex_index = 603, tex_h = 128 , tex_w = 128 , tex_offset_x = baseX +2 , tex_offset_y = baseY -10 , hurtbox = pat:get_frame(0,0,0).hurtbox , attackbox = pat:get_frame(525,1,2).attackbox , duration = 4 }) pat:update_frame(525+idz,1,2,function(frame) frame.hurtbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[2].x1 = frame.hurtbox[2].x1 + 45 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 + 45 frame.hurtbox[2].y1 = frame.hurtbox[2].y1 + 0 frame.hurtbox[2].y2 = frame.hurtbox[2].y2 - 20 frame.hurtbox[1].y1 = frame.hurtbox[1].y1 + 40 frame.attackbox[2].y1 = frame.attackbox[2].y1 - 45 frame.attackbox[2].y2 = frame.attackbox[2].y2 - 25 frame.attackbox[1].y1 = frame.attackbox[1].y1 - 45 frame.attackbox[1].y2 = frame.attackbox[1].y2 + 5 frame.attackbox[2].x2 = frame.attackbox[2].x2 + 20 frame.attackbox[1].x2 = frame.attackbox[1].x2 + 80 unset_fflag(frame,FF_CANCEL) unset_fflag(frame,FF_MOTION_CANCEL) set_aflag(frame,AF_PROJECTILE) end) pat:update_frame(525+idz,1,2, { attackbox = pat:get_frame(525,1,2).attackbox }) pat:update_frame(525+idz,1,3, { tex_index = 604, tex_h = 128 , tex_w = 128 , tex_offset_x = baseX +10 , tex_offset_y = baseY -10 , hurtbox = pat:get_frame(0,0,0).hurtbox , attackbox = pat:get_frame(0,0,0).attackbox , duration = 4 }) pat:update_frame(525+idz,1,3,function(frame) frame.hurtbox[2] = pat:get_frame(0,0,0).hurtbox[1] 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 + 0 frame.hurtbox[2].y2 = frame.hurtbox[2].y2 - 40 frame.hurtbox[1].x1 = frame.hurtbox[1].x1 - 20 frame.hurtbox[1].y1 = frame.hurtbox[1].y1 + 55 frame.hurtbox[1].y2 = frame.hurtbox[1].y2 - 20 set_fflag(frame,FF_CANCEL) set_fflag(frame,FF_MOTION_CANCEL) set_aflag(frame,AF_PROJECTILE) end) pat:update_frame(525+idz,1,4, { tex_index = 311 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(7,2,4).hurtbox , attackbox = pat:get_frame(0,0,0).attackbox , duration = 4 }) pat:update_frame(525+idz,1,4,function(frame) frame.hurtbox[3].y2 = 0 frame.hurtbox[3].x1 = frame.hurtbox[3].x1 - 20 set_fflag(frame,FF_CANCEL) set_fflag(frame,FF_MOTION_CANCEL) set_aflag(frame,AF_PROJECTILE) end) pat:update_frame(525+idz,1,5, { tex_index = 312 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +40 , tex_offset_y = baseY -8 , hurtbox = pat:get_frame(7,2,4).hurtbox , attackbox = pat:get_frame(0,0,0).attackbox , duration = 28 }) pat:update_frame(525+idz,1,5,function(frame) frame.hurtbox[3].y2 = 0 frame.hurtbox[3].x1 = frame.hurtbox[3].x1 - 20 set_fflag(frame,FF_CANCEL) set_fflag(frame,FF_MOTION_CANCEL) set_aflag(frame,AF_PROJECTILE) end) for idw = 0 , 5 do pat:update_frame(525+idz,1,idw,function(frame) if (idz > 1) then frame.collision = pat:get_frame(9,0,0).collision else frame.collision = pat:get_frame(0,0,0).collision end end) end for idw = 1 , 2 do pat:update_frame(525+idz,1,idw,function(frame) frame.hitstop_enemy = universalStop frame.hitstop_self = 0 frame.blockstop_enemy = universalStop frame.blockstop_self = 0 frame.damage = 400 frame.sp_damage = 50 frame.chip_damage = 40 frame.hit_ani_ground = 0 frame.hit_ani_air = 71 frame.untech = 45 frame.limit = 20 frame.launch_vector_x = 600 frame.launch_vector_y = 1000 frame.attack_level = AL_HEAVY frame.combo_correction = CC_NONE end) end pat:update_frame(525+idz,3,0, { tex_index = 312 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +40 , tex_offset_y = baseY -8 , hurtbox = pat:get_frame(525+idz,1,5).hurtbox , duration = 1 }) pat:update_frame(525+idz,3,1, { tex_index = 312 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +40 , tex_offset_y = baseY -8 , hurtbox = pat:get_frame(525+idz,1,5).hurtbox , duration = 1 }) pat:update_frame(525+idz,3,2, { tex_index = 312 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +40 , tex_offset_y = baseY -8 , hurtbox = pat:get_frame(525+idz,1,5).hurtbox , duration = 1 }) pat:update_frame(525+idz,3,3, { tex_index = 312 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +40 , tex_offset_y = baseY -8 , hurtbox = pat:get_frame(525+idz,1,5).hurtbox , duration = 1 }) pat:update_frame(525+idz,3,4, { tex_index = 312 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +40 , tex_offset_y = baseY -8 , hurtbox = pat:get_frame(525+idz,1,5).hurtbox , duration = 1 }) pat:update_frame(525+idz,3,5, { tex_index = 312 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +40 , tex_offset_y = baseY -8 , hurtbox = pat:get_frame(525+idz,1,5).hurtbox , duration = 1 }) pat:update_frame(525+idz,3,6, { tex_index = 312 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +40 , tex_offset_y = baseY -8 , hurtbox = pat:get_frame(525+idz,1,5).hurtbox , duration = 1 }) pat:update_frame(525+idz,4,0, { tex_index = 311 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(525+idz,1,4).hurtbox , duration = 2 }) pat:update_frame(525+idz,4,1, { tex_index = 311 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(525+idz,1,4).hurtbox , duration = 1 }) if (idz > 0) then pat:update_frame(525+idz,5,0, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -30 , hurtbox = pat:get_frame(6,0,1).hurtbox , duration = 4 }) pat:update_frame(525+idz,5,1, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -30 , hurtbox = pat:get_frame(6,0,1).hurtbox , duration = 2 }) pat:update_frame(525+idz,5,2, { tex_index = 298 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -48 , hurtbox = pat:get_frame(6,0,1).hurtbox , duration = 2 }) else pat:update_frame(525+idz,4,2, { tex_index = 311 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(7,2,4).hurtbox , duration = 1 }) end end pat:get_sequence(526,4):set_looped(false) pat:remove_frame(529,0,4) pat:remove_frame(529,0,3) pat:remove_frame(529,0,2) pat:remove_frame(529,0,1) pat:update_frame(529,0,0, { tex_index = 47, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +14 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(6,0,1).hurtbox , duration = 1 }) pat:update_frame(529,1,0, { tex_index = 47, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +14 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(6,0,1).hurtbox }) for idx = 3 , 4 do pat:split_frame(529,2,2,1,1) end --pat:update_frame(529,2,0, { tex_index = 47, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +14 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(6,0,1).hurtbox , attackbox = pat:get_frame(0,0,0).attackbox }) --pat:update_frame(529,2,1, { tex_index = 48, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +42 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(6,0,1).hurtbox , attackbox = pat:get_frame(0,0,0).attackbox }) pat:update_frame(529,2,0, { tex_index = 49, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +22 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(6,0,1).hurtbox , attackbox = pat:get_frame(0,0,0).attackbox }) pat:update_frame(529,2,1, { tex_index = 50, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +24 , tex_offset_y = baseY -6 , hurtbox = pat:get_frame(6,0,1).hurtbox }) -- fires here pat:update_frame(529,2,1,function(frame) frame.attackbox[1].x2 = frame.attackbox[1].x2 + 60 frame.attackbox[1].y1 = frame.attackbox[1].y1 - 60 frame.attackbox[2].x2 = frame.attackbox[2].x2 + 60 end) pat:update_frame(529,2,2, { tex_index = 51, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +26 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(6,0,1).hurtbox , attackbox = pat:get_frame(529,2,1).attackbox , duration = 3 + 4 }) pat:update_frame(529,2,3, { tex_index = 52, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +48 , tex_offset_y = baseY -6 , hurtbox = pat:get_frame(6,0,1).hurtbox , attackbox = pat:get_frame(0,0,0).attackbox }) pat:update_frame(529,2,4, { tex_index = 53, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +32 , tex_offset_y = baseY -6 , hurtbox = pat:get_frame(6,0,1).hurtbox , attackbox = pat:get_frame(0,0,0).attackbox , duration = 100 }) for idw = 3 , 4 do pat:update_frame(529,2,idw,function(frame) set_fflag(frame,FF_CANCEL) set_fflag(frame,FF_MOTION_CANCEL) set_aflag(frame,AF_PROJECTILE) end) end for idw = 0 , 2 do pat:update_frame(529,2,idw,function(frame) unset_fflag(frame,FF_CANCEL) unset_fflag(frame,FF_MOTION_CANCEL) set_aflag(frame,AF_PROJECTILE) end) end for idw = 1 , 2 do pat:update_frame(529,2,idw,function(frame) frame.hitstop_enemy = universalStop frame.hitstop_self = 0 frame.blockstop_enemy = universalStop frame.blockstop_self = 0 frame.damage = 400 frame.sp_damage = 50 frame.chip_damage = 40 frame.hit_ani_ground = 0 frame.hit_ani_air = 71 frame.untech = 45 frame.limit = 20 frame.launch_vector_x = 600 frame.launch_vector_y = 1000 frame.attack_level = AL_HEAVY frame.combo_correction = CC_NONE end) end pat:update_frame(529,3,0, { tex_index = 53, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +32 , tex_offset_y = baseY -6 , hurtbox = pat:get_frame(6,0,1).hurtbox , duration = 1 }) pat:update_frame(529,3,1, { tex_index = 53, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +32 , tex_offset_y = baseY -6 , hurtbox = pat:get_frame(6,0,1).hurtbox , duration = 1 }) pat:update_frame(529,3,2, { tex_index = 53, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +32 , tex_offset_y = baseY -6 , hurtbox = pat:get_frame(6,0,1).hurtbox , duration = 1 }) for idx = 4 , 8 do pat:remove_frame(529,16,4) end pat:update_frame(529,16,0, { tex_index = 54, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -6 , hurtbox = pat:get_frame(6,0,1).hurtbox , duration = 1 }) pat:update_frame(529,16,1, { tex_index = 54, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -6 , hurtbox = pat:get_frame(6,0,1).hurtbox , duration = 1 }) pat:update_frame(529,16,2, { tex_index = 54, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -6 , hurtbox = pat:get_frame(6,0,1).hurtbox , duration = 1 }) pat:update_frame(529,16,3, { tex_index = 54, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -6 , tex_offset_y = baseY -6 , hurtbox = pat:get_frame(6,0,1).hurtbox , duration = 1 }) pat:update_frame(529,19,0, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -30 , hurtbox = pat:get_frame(6,0,1).hurtbox , duration = 4 }) pat:update_frame(529,19,1, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -30 , hurtbox = pat:get_frame(6,0,1).hurtbox , duration = 2 }) pat:update_frame(529,19,2, { tex_index = 298 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -48 , hurtbox = pat:get_frame(6,0,1).hurtbox , duration = 2 }) for idx = 3 , 5 do pat:split_frame(529,11,2,1,1) end for idx = 0 , 5 do pat:update_frame(529,11,idx, { data_format = 0 , blending_mode = 0 , color_a = 255, color_r = 255, color_g = 255, color_b = 255 , scale_x = 100, scale_y = 100, angle_x = 0, angle_y = 0, angle_z = 0 }) pat:update_frame(529,11,idx,{scale_x = 200 , scale_y = 200}) end pat:update_frame(529,10,0, { data_format = 0 , blending_mode = 0 , color_a = 255, color_r = 255, color_g = 255, color_b = 255 , scale_x = 100, scale_y = 100, angle_x = 0, angle_y = 0, angle_z = 0 }) pat:split_frame(529,10,0,1,1) pat:update_frame(529,11,0,function(frame) frame.scale_x = 200 frame.scale_y = 200 end) --pat:update_frame(529,10,0,{ duration = 10}) pat:update_frame(529,10,0, { tex_index = 550, tex_h = 128 , tex_w = 128 , tex_offset_x = baseX +44-8 , tex_offset_y = baseY +baseY2 -32+8 , hurtbox = pat:get_frame(309,0,0).hurtbox , attackbox = pat:get_frame(309,0,0).attackbox , duration = 5 }) pat:update_frame(529,10,1, { tex_index = 551, tex_h = 128 , tex_w = 128 , tex_offset_x = baseX +42-16 , tex_offset_y = baseY +baseY2 -58+16 , hurtbox = pat:get_frame(309,0,2).hurtbox , attackbox = pat:get_frame(309,0,2).attackbox , duration = 5 }) --pat:update_frame(529,11,0, { tex_index = 550, tex_h = 128 , tex_w = 128 , tex_offset_x = baseX +44-8 , tex_offset_y = baseY +baseY2 -32+8 , hurtbox = pat:get_frame(309,0,0).hurtbox , attackbox = pat:get_frame(309,0,0).attackbox , duration = 2 }) --pat:update_frame(529,11,1, { tex_index = 551, tex_h = 128 , tex_w = 128 , tex_offset_x = baseX +42-16 , tex_offset_y = baseY +baseY2 -58+16 , hurtbox = pat:get_frame(309,0,2).hurtbox , attackbox = pat:get_frame(309,0,2).attackbox , duration = 2 }) pat:update_frame(529,11,0, { tex_index = 552, tex_h = 128 , tex_w = 128 , tex_offset_x = baseX +24-24 , tex_offset_y = baseY +baseY2 -4+32 , hurtbox = pat:get_frame(309,0,4).hurtbox , attackbox = pat:get_frame(309,0,4).attackbox , duration = 4 }) pat:update_frame(529,11,0,function(frame) frame.attackbox[1].y1 = frame.attackbox[1].y1 - 15 frame.attackbox[1].y2 = frame.attackbox[1].y2 + 45 frame.attackbox[2].y1 = frame.attackbox[2].y1 - 15 frame.attackbox[1].x2 = frame.attackbox[1].x2 + 60 frame.attackbox[2].x2 = frame.attackbox[2].x2 + 60 end) pat:update_frame(529,11,1, { tex_index = 553, tex_h = 128 , tex_w = 128 , tex_offset_x = baseX +12-24 , tex_offset_y = baseY +baseY2 -30+32 , hurtbox = pat:get_frame(309,0,5).hurtbox , attackbox = pat:get_frame(529,11,0).attackbox , duration = 4 }) pat:update_frame(529,11,2, { tex_index = 554, tex_h = 128 , tex_w = 128 , tex_offset_x = baseX -6-4 , tex_offset_y = baseY +baseY2 -40+32 , hurtbox = pat:get_frame(309,0,6).hurtbox , attackbox = pat:get_frame(309,0,6).attackbox , duration = 4 }) pat:update_frame(529,11,3, { tex_index = 555, tex_h = 128 , tex_w = 128 , tex_offset_x = baseX +4-0 , tex_offset_y = baseY +baseY2 -44+32 , hurtbox = pat:get_frame(309,0,7).hurtbox , attackbox = pat:get_frame(309,0,7).attackbox , duration = 4 }) pat:update_frame(529,11,4, { tex_index = 556, tex_h = 128 , tex_w = 128 , tex_offset_x = baseX +16+4 , tex_offset_y = baseY +baseY2 -36+32 , hurtbox = pat:get_frame(309,0,8).hurtbox , attackbox = pat:get_frame(309,0,8).attackbox , duration = 16 }) --pat:update_frame(529,11,5, { tex_index = 557, tex_h = 128 , tex_w = 128 , tex_offset_x = baseX +28+8 , tex_offset_y = baseY +baseY2 -42+32 , hurtbox = pat:get_frame(309,0,9).hurtbox , attackbox = pat:get_frame(309,0,9).attackbox , duration = 4 }) for idw = 0 , 4 do pat:update_frame(529,11,idw,function(frame) set_aflag(frame,AF_PROJECTILE) end) end for idw = 0 , 1 do pat:update_frame(529,11,idw,function(frame) frame.hitstop_enemy = universalStop frame.hitstop_self = 0 frame.blockstop_enemy = universalStop frame.blockstop_self = 0 frame.damage = 800 frame.sp_damage = 100 frame.chip_damage = 40 frame.hit_ani_ground = 71 frame.hit_ani_air = 71 frame.untech = 60 frame.limit = 40 frame.launch_vector_x = 900 frame.launch_vector_y = 1450 frame.attack_level = AL_HEAVY frame.combo_correction = CC_LIFT_ATTACK end) end pat:remove_frame(529,12,2) pat:update_frame(529,12,0, { data_format = 0 , blending_mode = 0 , color_a = 255, color_r = 255, color_g = 255, color_b = 255 , scale_x = 100, scale_y = 100, angle_x = 0, angle_y = 0, angle_z = 0 }) pat:update_frame(529,12,1, { data_format = 0 , blending_mode = 0 , color_a = 255, color_r = 255, color_g = 255, color_b = 255 , scale_x = 100, scale_y = 100, angle_x = 0, angle_y = 0, angle_z = 0 }) pat:update_frame(529,12,0, { tex_index = 300 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +40 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(6,2,4).hurtbox , duration = 5 }) pat:update_frame(529,12,1, { tex_index = 301 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +46 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(6,2,4).hurtbox , duration = 5 }) pat:update_frame(529,12,0, { tex_index = 557, tex_h = 128 , tex_w = 128 , tex_offset_x = baseX +28+8 , tex_offset_y = baseY +baseY2 -42+32 , hurtbox = pat:get_frame(309,0,9).hurtbox , attackbox = pat:get_frame(309,0,9).attackbox , collision = pat:get_frame(9,0,0).collision , duration = 4 }) pat:update_frame(529,12,1, { tex_index = 557, tex_h = 128 , tex_w = 128 , tex_offset_x = baseX +28+8 , tex_offset_y = baseY +baseY2 -42+32 , hurtbox = pat:get_frame(309,0,9).hurtbox , attackbox = pat:get_frame(309,0,9).attackbox , collision = pat:get_frame(9,0,0).collision , duration = 4 }) for idx = 2 , 6 do pat:remove_frame(529,17,2) end pat:update_frame(529,17,0, { tex_index = 300 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +40 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(6,2,4).hurtbox , duration = 5 }) pat:update_frame(529,17,1, { tex_index = 301 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +46 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(6,2,4).hurtbox , duration = 5 }) --pat:update_frame(529,17,0, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +6 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(6,2,2).hurtbox , duration = 3 }) pat:update_frame(529,17,0, { tex_index = 298 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +20 , tex_offset_y = baseY +0+8 , hurtbox = pat:get_frame(6,2,3).hurtbox , duration = 3 }) pat:update_frame(529,17,1, { tex_index = 298 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +20 , tex_offset_y = baseY +0+8 , hurtbox = pat:get_frame(6,2,3).hurtbox , duration = 2 }) pat:update_frame(529,18,0, { tex_index = 300 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +40 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(6,2,4).hurtbox , duration = 5 }) pat:update_frame(529,18,1, { tex_index = 301 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +46 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(6,2,4).hurtbox , duration = 5 }) pat:update_frame(529,1,0,{ duration = 6}) for idx = 0 , 15 do pat:update_frame(816,1,idx,function(frame) frame.tex_index = 591+4 frame.tex_w = 192 frame.tex_h = 128 frame.tex_offset_x = 96 frame.tex_offset_y = 64 frame.scale_x = 0 frame.scale_y = 100 frame.duration = 1 end) end for idx = 0 , 14 do pat:update_frame(816,2,idx,function(frame) frame.tex_index = 591+3 frame.tex_w = 192 frame.tex_h = 128 frame.tex_offset_x = 96 frame.tex_offset_y = 64 frame.scale_x = 0 frame.scale_y = 300 frame.duration = 1 end) end for idx = 7 , 37 do pat:split_frame(816,0,6,1,1) end pat:update_frame(816,0,0,function(frame) frame.tex_w = 0 frame.duration = 14 end) for idx = 1 , 10 do pat:update_frame(816,0,idx,function(frame) frame.tex_index = 591+9 - (idx-1) frame.tex_w = 192 frame.tex_h = 128 frame.tex_offset_x = 48 frame.tex_offset_y = 64 frame.scale_x = 400 frame.scale_y = -300 frame.duration = 1 end) end pat:update_frame(816,0,11,{tex_w = 0 , duration = 1}) pat:update_frame(816,0,12,{tex_w = 0 , duration = 1}) pat:update_frame(816,0,13,{tex_w = 0 , duration = 10}) for idx = 14 , 23 do pat:update_frame(816,0,idx,function(frame) frame.tex_index = 591+9 - (idx-14) frame.tex_w = 192 frame.tex_h = 128 frame.tex_offset_x = 128 frame.tex_offset_y = 88 frame.scale_x = -300 frame.scale_y = 300 frame.angle_z = 330 frame.duration = 1 end) end pat:update_frame(816,0,24,{tex_w = 0 , duration = 1}) pat:update_frame(816,0,25,{tex_w = 0 , duration = 1}) pat:update_frame(816,0,26,{tex_w = 0 , duration = 10}) for idx = 27 , 36 do pat:update_frame(816,0,idx,function(frame) frame.tex_index = 591+9 - (idx-27) frame.tex_w = 192 frame.tex_h = 128 frame.tex_offset_x = 16 frame.tex_offset_y = 16 frame.scale_x = -300 frame.scale_y = -400 frame.angle_z = 60 frame.duration = 1 end) end pat:update_frame(816,0,37,{tex_w = 0 , duration = 1}) end function mods.a236_maple(pat) local baseX = 70 local baseY = 195 pat:update_frame(510,0,0,{ tex_index = 494, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +0 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 4 - 2 }) pat:update_frame(510,0,1,{ tex_index = 495, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +0 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 8 - 6 }) pat:update_frame(510,0,2,{ tex_index = 496, 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(510,0,3,{ tex_index = 497, 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(510,0,4,{ tex_index = 498, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +20 , tex_offset_y = baseY +6 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(510,0,5,{ tex_index = 499, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +28 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 3 - 1 + 4}) pat:update_frame(510,0,6,{ tex_index = 500, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +22 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(510,0,7,{ tex_index = 110, 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(510,0,8,{ tex_index = 111, 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(510,0,9,{ tex_index = 111, 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(510,0,10,{ tex_index = 494, 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(510,0,11,{ tex_index = 494, 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(511,0,0,{ tex_index = 494, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +0 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 5 - 2 }) pat:update_frame(511,0,1,{ tex_index = 495, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +0 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 10 - 6 }) pat:update_frame(511,0,2,{ tex_index = 496, 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(511,0,3,{ tex_index = 497, 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(511,0,4,{ tex_index = 498, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +20 , tex_offset_y = baseY +6 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(511,0,5,{ tex_index = 499, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +28 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 3 - 1 + 4}) pat:update_frame(511,0,6,{ tex_index = 500, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +22 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(511,0,7,{ tex_index = 110, 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(511,0,8,{ tex_index = 111, 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(511,0,9,{ tex_index = 111, 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(511,0,10,{ tex_index = 494, 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(511,0,11,{ tex_index = 494, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +0 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(0,0,0).hurtbox }) --[[ for idx = 0 , 9 do pat:update_frame(812,0,idx,function(frame) frame.color_g = 125 frame.color_b = 125 end) pat:update_frame(812,1,idx,function(frame) frame.color_g = 125 frame.color_b = 125 end) end ]]-- pat:remove_frame(812,0,9) pat:remove_frame(812,0,8) pat:remove_frame(812,0,7) pat:remove_frame(812,0,6) pat:remove_frame(812,0,5) pat:remove_frame(812,0,4) pat:remove_frame(812,0,3) pat:remove_frame(812,0,2) pat:remove_frame(812,0,1) pat:remove_frame(812,1,9) pat:remove_frame(812,1,8) pat:remove_frame(812,1,7) pat:remove_frame(812,1,6) pat:remove_frame(812,1,5) pat:remove_frame(812,1,4) pat:remove_frame(812,1,3) pat:remove_frame(812,1,2) pat:remove_frame(812,1,1) pat:update_frame(812,1,0,{tex_w = 0 }) for idx = 0 , 28 do pat:split_frame(812,0,0,1,1) end for idx = 0 , 29 do pat:update_frame(812,0,idx,function(frame) frame.tex_index = 124 frame.tex_h = 120 frame.tex_w = 120 frame.tex_offset_x = 79 frame.tex_offset_y = 46 frame.scale_x = 100 frame.scale_y = 100 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 +20 frame.damage = 220 frame.chip_damage = 22 frame.sp_damage = 100 frame.proration = 970 frame.untech = 45 frame.hitstop_enemy = 0 frame.hitstop_self = 10 frame.blockstop_enemy = 0 frame.blockstop_self = 0 frame.attack_level = AL_HEAVY frame.combo_correction = CC_NONE frame.hit_ani_air = 71 frame.hit_ani_ground = 71 frame.launch_vector_x = 600 frame.launch_vector_y = 1200 end) end pat:update_frame(812,0,20, { tex_index = 158, tex_h = 120 , tex_w = 120 , tex_offset_x = 62 , tex_offset_y = 32 , scale_x = 100 , scale_y = 100 }) pat:update_frame(812,0,21, { tex_index = 125, tex_h = 120 , tex_w = 120 , tex_offset_x = 85 , tex_offset_y = 38 , scale_x = 100 , scale_y = 100 }) pat:update_frame(812,0,22, { tex_index = 126, tex_h = 120 , tex_w = 120 , tex_offset_x = 80 , tex_offset_y = 38 , scale_x = 100 , scale_y = 100 }) pat:update_frame(812,0,23, { tex_index = 127, tex_h = 120 , tex_w = 120 , tex_offset_x = 81 , tex_offset_y = 38 , scale_x = 100 , scale_y = 100 }) pat:update_frame(812,0,24, { tex_index = 128, tex_h = 120 , tex_w = 120 , tex_offset_x = 74 , tex_offset_y = 38 , scale_x = 100 , scale_y = 100 }) pat:update_frame(812,0,25, { tex_index = 129, tex_h = 120 , tex_w = 120 , tex_offset_x = 70 , tex_offset_y = 37 , scale_x = 100 , scale_y = 100 }) pat:update_frame(812,0,26, { tex_w = 0 , duration = 100 }) for idx = 0 , 9 do pat:update_frame(812,0,idx,function(frame) frame.color_r = 255*idx/9 frame.color_g = 255*idx/9 frame.color_b = 255*idx/9 frame.attackbox[1]=null end) end for idx = 10 , 29 do local idx2 = idx-10 if (idx > 19) then idx2 = 10 end pat:update_frame(812,0,idx,function(frame) frame.attackbox[1].x1=frame.attackbox[1].x1 + 60*idx2 frame.attackbox[1].x2=frame.attackbox[1].x2 + 60*idx2 frame.tex_offset_x = frame.tex_offset_x -48*idx2 end) end for idx = 20 , 29 do local idx2 = idx-20 pat:update_frame(812,0,idx,function(frame) --frame.color_r = 255*(4-idx2)/4 --frame.color_g = 255*(4-idx2)/4 --frame.color_b = 255*(4-idx2)/4 frame.attackbox[1]=null end) end end function mods.s5sc_resurrection(pat) pat:split_frame(603,0,5,1,1) for idx = 0 , 5 do pat:update_frame(603,0,idx,function (frame) frame.duration = 2 if (idx == 5 ) then --frame.duration = 42 unset_fflag(frame,FF_MOTION_CANCEL) set_fflag(frame,FF_SUPER_ARMOR) set_fflag(frame,FF_MELEE_INV) set_fflag(frame,FF_GRAZE) set_fflag(frame,FF_BULLET_INV) end end) end local baseX = 70 local baseY = 195 pat:update_frame(603,0,0, { tex_index = 490 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +14 , tex_offset_y = baseY +6 , hurtbox = pat:get_frame(6,2,2).hurtbox }) pat:update_frame(603,0,1, { tex_index = 491 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +32 , tex_offset_y = baseY -16 +8, hurtbox = pat:get_frame(56,0,0).hurtbox }) pat:update_frame(603,0,2, { tex_index = 492 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +30 , tex_offset_y = baseY -32 +15 , hurtbox = pat:get_frame(56,0,0).hurtbox }) pat:update_frame(603,0,3, { tex_index = 492 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +30 , tex_offset_y = baseY -32 +15, hurtbox = pat:get_frame(56,0,0).hurtbox }) pat:update_frame(603,0,4, { tex_index = 492 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +30 , tex_offset_y = baseY -32 +15, hurtbox = pat:get_frame(56,0,0).hurtbox }) pat:update_frame(603,0,5, { tex_index = 492 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +30 , tex_offset_y = baseY -32 +15, hurtbox = pat:get_frame(56,0,0).hurtbox }) for idx = 0 , 2 do pat:update_frame(603,1,idx,function (frame) unset_fflag(frame,FF_MOTION_CANCEL) set_fflag(frame,FF_SUPER_ARMOR) set_fflag(frame,FF_MELEE_INV) set_fflag(frame,FF_GRAZE) set_fflag(frame,FF_BULLET_INV) end) end for idx = 0 , 2 do pat:update_frame(603,2,idx,function (frame) frame.duration = 1 unset_fflag(frame,FF_MOTION_CANCEL) set_fflag(frame,FF_SUPER_ARMOR) set_fflag(frame,FF_MELEE_INV) set_fflag(frame,FF_GRAZE) set_fflag(frame,FF_BULLET_INV) end) end pat:update_frame(603,1,0, { tex_index = 492 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +30 , tex_offset_y = baseY -32 +15 }) pat:update_frame(603,1,1, { tex_index = 492 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +30 , tex_offset_y = baseY -32 +15 }) pat:update_frame(603,1,2, { tex_index = 492 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +30 , tex_offset_y = baseY -32 +15 }) pat:update_frame(603,2,0, { tex_index = 492 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +30 , tex_offset_y = baseY -32 +15, hurtbox = pat:get_frame(56,0,0).hurtbox }) pat:update_frame(603,2,1, { tex_index = 492 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +30 , tex_offset_y = baseY -32 +15, hurtbox = pat:get_frame(56,0,0).hurtbox }) pat:update_frame(603,2,2, { tex_index = 492 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +30 , tex_offset_y = baseY -32 +15, hurtbox = pat:get_frame(56,0,0).hurtbox }) for idx = 0 , 0 do pat:update_frame(603,3,idx,function (frame) frame.duration = 1 frame.hurtbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[1].x1 = frame.hurtbox[1].x1 -8040 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 -8030 frame.hurtbox[1].y1 = frame.hurtbox[1].y1 - 200 frame.hurtbox[1].y2 = frame.hurtbox[1].y2 + 200 set_fflag(frame,FF_SUPER_ARMOR) set_fflag(frame,FF_MELEE_INV) set_fflag(frame,FF_GRAZE) end) end for idx = 1 , 6 do pat:update_frame(603,3,6,function (frame) --frame.duration = 40 end) end local baseX = 70 local baseY = 195 pat:update_frame(603,3,0, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +6 , tex_offset_y = baseY +2 }) pat:update_frame(603,3,1, { tex_index = 298 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +20 , tex_offset_y = baseY +0 , hurtbox = pat:get_frame(6,2,2).hurtbox }) pat:update_frame(603,3,2, { tex_index = 300 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +40 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(6,2,4).hurtbox }) pat:update_frame(603,3,3, { tex_index = 301 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +46 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(6,2,4).hurtbox }) pat:update_frame(603,3,4, { tex_index = 300 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +40 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(6,2,4).hurtbox }) pat:update_frame(603,3,5, { tex_index = 301 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +46 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(6,2,4).hurtbox }) pat:update_frame(603,3,6, { tex_index = 300 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +40 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(6,2,4).hurtbox }) for idx = 0 , 200 do pat:split_frame(603,3,6,4,4) pat:split_frame(603,3,6,4,4) pat:update_frame(603,3,7, { tex_index = 301 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +46 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(6,2,4).hurtbox }) pat:update_frame(603,3,8, { tex_index = 300 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +40 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(6,2,4).hurtbox }) end for idx = 0 , 115 do pat:split_frame(853,0,0,1,1) pat:split_frame(853,1,0,1,1) end for idx = 0 , 116 do pat:update_frame(853,1,idx,function (frame) --frame.tex_w = 0 frame.duration=1 frame.angle_z = -80 - idx*10 frame.scale_x = frame.scale_x*2 frame.scale_y = frame.scale_y*2 end) pat:update_frame(853,0,idx,function (frame) --frame.tex_w = 0 frame.duration=1 frame.angle_z = 0 - idx*10 frame.scale_x = frame.scale_x*3 frame.scale_y = frame.scale_y*3 end) local mdl = idx%14 if (mdl == 0 or mdl == 1) then pat:update_frame(853,0,idx, { tex_index = 265 , tex_h = 150 , tex_w = 150 , tex_offset_x = 59 , tex_offset_y = 72 +40 }) elseif (mdl == 2 or mdl == 3) then pat:update_frame(853,0,idx, { tex_index = 266 , tex_h = 150 , tex_w = 150 , tex_offset_x = 63 , tex_offset_y = 68 +40 }) elseif (mdl == 4 or mdl == 5) then pat:update_frame(853,0,idx, { tex_index = 268 , tex_h = 150 , tex_w = 150 , tex_offset_x = 63 , tex_offset_y = 73 +40 }) elseif (mdl == 6 or mdl == 7) then pat:update_frame(853,0,idx, { tex_index = 269 , tex_h = 150 , tex_w = 150 , tex_offset_x = 63 , tex_offset_y = 82 +40 }) elseif (mdl == 8 or mdl == 9) then pat:update_frame(853,0,idx, { tex_index = 314 , tex_h = 150 , tex_w = 150 , tex_offset_x = 71 , tex_offset_y = 80 +40 }) elseif (mdl == 10 or mdl == 11) then pat:update_frame(853,0,idx, { tex_index = 315 , tex_h = 150 , tex_w = 150 , tex_offset_x = 53 , tex_offset_y = 89 +40 }) elseif (mdl == 12 or mdl == 13) then pat:update_frame(853,0,idx, { tex_index = 316 , tex_h = 150 , tex_w = 150 , tex_offset_x = 54 , tex_offset_y = 79 +40 }) end if (mdl == 0 or mdl == 1) then pat:update_frame(853,1,idx, { tex_index = 265 , tex_h = 150 , tex_w = 150 , tex_offset_x = 59 , tex_offset_y = 72 +40 }) elseif (mdl == 2 or mdl == 3) then pat:update_frame(853,1,idx, { tex_index = 266 , tex_h = 150 , tex_w = 150 , tex_offset_x = 63 , tex_offset_y = 68 +40 }) elseif (mdl == 4 or mdl == 5) then pat:update_frame(853,1,idx, { tex_index = 268 , tex_h = 150 , tex_w = 150 , tex_offset_x = 63 , tex_offset_y = 73 +40 }) elseif (mdl == 6 or mdl == 7) then pat:update_frame(853,1,idx, { tex_index = 269 , tex_h = 150 , tex_w = 150 , tex_offset_x = 63 , tex_offset_y = 82 +40 }) elseif (mdl == 8 or mdl == 9) then pat:update_frame(853,1,idx, { tex_index = 314 , tex_h = 150 , tex_w = 150 , tex_offset_x = 71 , tex_offset_y = 80 +40 }) elseif (mdl == 10 or mdl == 11) then pat:update_frame(853,1,idx, { tex_index = 315 , tex_h = 150 , tex_w = 150 , tex_offset_x = 53 , tex_offset_y = 89 +40 }) elseif (mdl == 12 or mdl == 13) then pat:update_frame(853,1,idx, { tex_index = 316 , tex_h = 150 , tex_w = 150 , tex_offset_x = 54 , tex_offset_y = 79 +40 }) end end pat:update_frame(853,1,0,function (frame) --frame.tex_w = 0 end) pat:update_frame(853,2,0,function (frame) frame.color_g = 85 frame.color_b = 85 frame.tex_offset_x = frame.tex_offset_x -40 frame.scale_x = frame.scale_x * 2 frame.scale_y = frame.scale_y * 2 end) pat:update_frame(853,3,0,function (frame) frame.color_g = 85 frame.color_b = 85 frame.tex_offset_x = frame.tex_offset_x -40 frame.scale_x = frame.scale_x * 2 frame.scale_y = frame.scale_y * 2 end) pat:update_frame(853,0,0, { tex_index = 258 , tex_h = 120 , tex_w = 120 , tex_offset_x = 30 , tex_offset_y = 34 +40 }) pat:update_frame(853,0,1, { tex_index = 258 , tex_h = 120 , tex_w = 120 , tex_offset_x = 30 , tex_offset_y = 34 +40 }) pat:update_frame(853,0,2, { tex_index = 259 , tex_h = 120 , tex_w = 120 , tex_offset_x = 38 , tex_offset_y = 39 +40 }) pat:update_frame(853,0,3, { tex_index = 259 , tex_h = 120 , tex_w = 120 , tex_offset_x = 38 , tex_offset_y = 39 +40 }) pat:update_frame(853,0,4, { tex_index = 261 , tex_h = 120 , tex_w = 120 , tex_offset_x = 39 , tex_offset_y = 47 +40 }) pat:update_frame(853,0,5, { tex_index = 261 , tex_h = 120 , tex_w = 120 , tex_offset_x = 39 , tex_offset_y = 47 +40 }) pat:update_frame(853,0,6, { tex_index = 262 , tex_h = 120 , tex_w = 120 , tex_offset_x = 54 , tex_offset_y = 59 +40 }) pat:update_frame(853,0,7, { tex_index = 262 , tex_h = 120 , tex_w = 120 , tex_offset_x = 54 , tex_offset_y = 59 +40 }) pat:update_frame(853,0,8, { tex_index = 265 , tex_h = 120 , tex_w = 120 , tex_offset_x = 59 , tex_offset_y = 72 +40 }) pat:update_frame(853,0,9, { tex_index = 265 , tex_h = 120 , tex_w = 120 , tex_offset_x = 59 , tex_offset_y = 72 +40 }) for idx = 0 , 17 do pat:update_frame(853,5,idx,function (frame) frame.color_g = 85 frame.color_b = 85 frame.tex_offset_x = frame.tex_offset_x +160 frame.scale_x = frame.scale_x * 2 * ((15+idx) / 34) frame.scale_y = frame.scale_y * 2 * ((15+idx) / 34) end) end for idx = 0 , 0 do pat:update_frame(853,9,idx,function (frame) frame.tex_w = 0 frame.attackbox[2] = null frame.attackbox[1].y1 = frame.attackbox[1].y1-160 frame.attackbox[1].y2 = frame.attackbox[1].y2 frame.attackbox[1].x1 = frame.attackbox[1].x1 - 8040 frame.attackbox[1].x2 = frame.attackbox[1].x2 - 8030 frame.damage = -3000 frame.aflags = 0x01521510 set_aflag(frame,AF_CAN_HIT_SELF) set_aflag(frame,AF_PROJECTILE) set_aflag(frame,AF_UNGRAZABLE) frame.hit_sfx = 5 frame.hit_effect = 1 frame.attack_level = AL_LIGHT frame.launch_vector_x = 0 frame.launch_vector_y = 0 frame.card_gain_hit = 100 frame.card_gain_block = 0 frame.hitstop_self = 0 frame.hitstop_enemy = 0 frame.limit = 0 frame.proration = 1000 frame.sp_damage = 0 frame.untech = 0 frame.hit_ani_air = pat:get_frame(301,0,4).hit_ani_air frame.hit_ani_ground = pat:get_frame(301,0,4).hit_ani_ground frame.combo_correction = CC_NONE frame.tex_offset_y = frame.tex_offset_y + 40 end) end for idx = 1 , 9 do pat:update_frame(853,9,idx,function (frame) frame.limit = 40 frame.proration = 800 frame.damage = 800 frame.launch_vector_x = 2450 frame.launch_vector_y = 1250 frame.attackbox[1].y1 = frame.attackbox[1].y1 - 120 frame.attackbox[1].y2 = frame.attackbox[1].y2 - 20 frame.tex_offset_y = frame.tex_offset_y + 40 frame.hit_ani_air = 74 frame.hit_ani_ground = 74 frame.combo_correction = CC_SMASH_ATTACK frame.attack_level = AL_HEAVY frame.color_g = 125 frame.color_b = 125 frame.blockstop_enemy = 0 unset_aflag(frame,AF_CAN_HIT_SELF) set_aflag(frame,AF_PROJECTILE) unset_aflag(frame,AF_UNGRAZABLE) end) end for idx = 0 , 9 do pat:update_frame(853,10,idx,function (frame) frame.color_g = 125 frame.color_b = 125 end) pat:update_frame(853,14,idx,function (frame) frame.color_g = 125 frame.color_b = 125 end) end for idx = 0 , 14 do pat:update_frame(853,8,idx,function (frame) frame.limit = 0 frame.limit = 0 frame.color_g = 125 frame.color_b = 125 --frame.tex_offset_y = frame.tex_offset_y + 60 end) pat:update_frame(853,13,idx,function (frame) frame.limit = 0 frame.color_g = 125 frame.color_b = 125 end) end pat:split_frame(853,12,0,1,200) pat:update_frame(853,12,0,function (frame) frame.color_g = 125 frame.color_b = 125 frame.limit = 40 frame.proration = 800 frame.damage = 800 frame.chip_damage = 200 frame.launch_vector_x = 2450 frame.launch_vector_y = 1250 frame.attackbox[1].y1 = frame.attackbox[1].y1 - 120 frame.attackbox[1].y2 = frame.attackbox[1].y2 - 20 frame.tex_offset_y = frame.tex_offset_y + 40 frame.hit_ani_air = 74 frame.hit_ani_ground = 74 frame.combo_correction = CC_SMASH_ATTACK frame.attack_level = AL_HEAVY frame.blockstop_enemy = 0 end) pat:update_frame(853,12,1,function (frame) frame.attackbox[1]=null end) end function mods.s5sc_volcano(pat) local baseX = 70 local baseY = 195 pat:update_frame(601,0,3,function(frame) frame.duration=35 end) pat:update_frame(601,0,2,function(frame) --frame.duration=5 end) pat:update_frame(601,0,1,function(frame) frame.duration=3+3 end) pat:update_frame(601,0,0, { tex_index = 78, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +28 , tex_offset_y = baseY -8 -18 , hurtbox = pat:get_frame(302,0,0).hurtbox }) pat:update_frame(601,0,1, { tex_index = 78, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +28 , tex_offset_y = baseY -8 -18 , hurtbox = pat:get_frame(302,0,0).hurtbox }) pat:update_frame(601,0,2, { tex_index = 79, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +50 , tex_offset_y = baseY -8 -28 , hurtbox = pat:get_frame(302,0,0).hurtbox }) pat:update_frame(601,0,3, { tex_index = 79, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +50 , tex_offset_y = baseY -8 -28 }) --, hurtbox = pat:get_frame(302,0,0).hurtbox }) pat:update_frame(601,0,4, { tex_index = 79, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +50 , tex_offset_y = baseY -8 -28 , hurtbox = pat:get_frame(302,0,0).hurtbox }) for idx = 0 , 2 do pat:update_frame(601,1,idx, { tex_index = 490 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +14 , tex_offset_y = baseY +6 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(601,2,idx, { tex_index = 490 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +14 , tex_offset_y = baseY +6 , hurtbox = pat:get_frame(0,0,0).hurtbox }) end pat:update_frame(601,3,0, { tex_index = 490 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +14 , tex_offset_y = baseY +6 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(601,3,1, { tex_index = 290 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +0 , tex_offset_y = baseY +6 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(601,3,2, { tex_index = 290 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +0 , tex_offset_y = baseY +6 , hurtbox = pat:get_frame(0,0,0).hurtbox }) -- 4-7 ~ 12f for idx = 0 , 74 do pat:split_frame(601,0,4,1,1) end for idx = 4 , 82 do pat:update_frame(601,0,idx,function(frame) frame.duration=1 end) if (idx <= 13) then pat:update_frame(601,0,idx, { tex_index = 79, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +50 , tex_offset_y = baseY -8 -28 , hurtbox = pat:get_frame(302,0,0).hurtbox }) elseif (idx > 13 and idx <= 16) then pat:update_frame(601,0,idx, { tex_index = 78, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +28 , tex_offset_y = baseY -8 -18 , hurtbox = pat:get_frame(302,0,0).hurtbox }) elseif (idx > 16 and idx <= 19) then pat:update_frame(601,0,idx, { tex_index = pat:get_frame(309,0,3).tex_index, tex_h = pat:get_frame(309,0,3).tex_h , tex_w = pat:get_frame(309,0,3).tex_w , tex_offset_x = pat:get_frame(309,0,3).tex_offset_x , tex_offset_y = pat:get_frame(309,0,3).tex_offset_y -50 , hurtbox = pat:get_frame(309,0,3).hurtbox }) elseif (idx > 19 and idx <= 22) then pat:update_frame(601,0,idx, { tex_index = pat:get_frame(309,0,4).tex_index, tex_h = pat:get_frame(309,0,4).tex_h , tex_w = pat:get_frame(309,0,4).tex_w , tex_offset_x = pat:get_frame(309,0,4).tex_offset_x , tex_offset_y = pat:get_frame(309,0,4).tex_offset_y -40 , hurtbox = pat:get_frame(309,0,4).hurtbox }) elseif (idx > 22 and idx <= 25) then pat:update_frame(601,0,idx, { tex_index = pat:get_frame(309,0,5).tex_index, tex_h = pat:get_frame(309,0,5).tex_h , tex_w = pat:get_frame(309,0,5).tex_w , tex_offset_x = pat:get_frame(309,0,5).tex_offset_x , tex_offset_y = pat:get_frame(309,0,5).tex_offset_y -30 , hurtbox = pat:get_frame(309,0,5).hurtbox }) elseif (idx > 25 and idx <= 28) then pat:update_frame(601,0,idx, { tex_index = pat:get_frame(309,0,6).tex_index, tex_h = pat:get_frame(309,0,6).tex_h , tex_w = pat:get_frame(309,0,6).tex_w , tex_offset_x = pat:get_frame(309,0,6).tex_offset_x , tex_offset_y = pat:get_frame(309,0,6).tex_offset_y -30 , hurtbox = pat:get_frame(309,0,6).hurtbox }) elseif (idx > 28 and idx <= 31) then pat:update_frame(601,0,idx, { tex_index = pat:get_frame(309,0,7).tex_index, tex_h = pat:get_frame(309,0,7).tex_h , tex_w = pat:get_frame(309,0,7).tex_w , tex_offset_x = pat:get_frame(309,0,7).tex_offset_x , tex_offset_y = pat:get_frame(309,0,7).tex_offset_y -40 , hurtbox = pat:get_frame(309,0,7).hurtbox }) elseif (idx > 31 and idx <= 34) then pat:update_frame(601,0,idx, { tex_index = pat:get_frame(309,0,8).tex_index, tex_h = pat:get_frame(309,0,8).tex_h , tex_w = pat:get_frame(309,0,8).tex_w , tex_offset_x = pat:get_frame(309,0,8).tex_offset_x , tex_offset_y = pat:get_frame(309,0,8).tex_offset_y -50 , hurtbox = pat:get_frame(309,0,8).hurtbox }) elseif (idx > 34 and idx <= 36) then pat:update_frame(601,0,idx, { tex_index = 298 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -48 , hurtbox = pat:get_frame(6,0,1).hurtbox }) elseif (idx > 36 and idx <= 39) then pat:update_frame(601,0,idx, { tex_index = 295 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -16 , tex_offset_y = baseY +(idx-36)*32 +2 , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(601,0,idx,function(frame) frame.hurtbox[1].y1 = frame.hurtbox[1].y1 - 32*(idx-36) frame.hurtbox[1].y2 = frame.hurtbox[1].y2 - 32*(idx-36) frame.hurtbox[2].y1 = frame.hurtbox[2].y1 - 32*(idx-36) frame.hurtbox[2].y2 = frame.hurtbox[2].y2 - 32*(idx-36) frame.collision[1].y1 = frame.collision[1].y1 -32*(idx-36) frame.collision[1].y2 = frame.collision[1].y2 -32*(idx-36) end) elseif (idx > 39 and idx <= 42) then pat:update_frame(601,0,idx, { tex_index = 295 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -16 , tex_offset_y = baseY +96 +(idx-39)*24 +2 , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(601,0,idx,function(frame) frame.hurtbox[1].y1 = frame.hurtbox[1].y1 -96 - 24*(idx-39) frame.hurtbox[1].y2 = frame.hurtbox[1].y2 -96 - 24*(idx-39) frame.hurtbox[2].y1 = frame.hurtbox[2].y1 -96 - 24*(idx-39) frame.hurtbox[2].y2 = frame.hurtbox[2].y2 -96 - 24*(idx-39) frame.collision[1].y1 = frame.collision[1].y1 -96 - 24*(idx-39) frame.collision[1].y2 = frame.collision[1].y2 -96 - 24*(idx-39) end) elseif (idx > 42 and idx <= 45) then --pat:update_frame(601,0,idx, { tex_index = 40, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY +168 +(idx-36)*16 -34 , hurtbox = pat:get_frame(307,0,2).hurtbox }) pat:update_frame(601,0,idx, { tex_index = 39, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +14 , tex_offset_y = baseY +168 +(idx-42)*16 -26 , hurtbox = pat:get_frame(307,0,0).hurtbox}) pat:update_frame(601,0,idx,function(frame) frame.hurtbox[1].y1 = frame.hurtbox[1].y1 -168 - 16*(idx-42) frame.hurtbox[1].y2 = frame.hurtbox[1].y2 -168 - 16*(idx-42) frame.hurtbox[2].y1 = frame.hurtbox[2].y1 -168 - 16*(idx-42) frame.hurtbox[2].y2 = frame.hurtbox[2].y2 -168 - 16*(idx-42) frame.collision[1].y1 = frame.collision[1].y1 -168 - 16*(idx-42) frame.collision[1].y2 = frame.collision[1].y2 -168 - 16*(idx-42) end) elseif (idx > 45 and idx <= 48) then pat:update_frame(601,0,idx, { tex_index = 40, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY +216 +(idx-45)*8 -34 , hurtbox = pat:get_frame(307,0,2).hurtbox }) pat:update_frame(601,0,idx,function(frame) frame.hurtbox[1].y1 = frame.hurtbox[1].y1 -216 - 8*(idx-45) frame.hurtbox[1].y2 = frame.hurtbox[1].y2 -216 - 8*(idx-45) frame.hurtbox[2].y1 = frame.hurtbox[2].y1 -216 - 8*(idx-45) frame.hurtbox[2].y2 = frame.hurtbox[2].y2 -216 - 8*(idx-45) frame.collision[1].y1 = frame.collision[1].y1 -216 - 8*(idx-45) frame.collision[1].y2 = frame.collision[1].y2 -216 - 8*(idx-45) end) elseif (idx > 48 and idx <= 62) then pat:update_frame(601,0,idx, { tex_index = 40, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY +(48-36)*20 -34 , hurtbox = pat:get_frame(307,0,2).hurtbox }) pat:update_frame(601,0,idx,function(frame) frame.hurtbox[1].y1 = frame.hurtbox[1].y1 -240 frame.hurtbox[1].y2 = frame.hurtbox[1].y2 -240 frame.hurtbox[2].y1 = frame.hurtbox[2].y1 -240 frame.hurtbox[2].y2 = frame.hurtbox[2].y2 -240 frame.collision[1].y1 = frame.collision[1].y1 -240 frame.collision[1].y2 = frame.collision[1].y2 -240 end) elseif (idx > 62 and idx <= 70) then pat:update_frame(601,0,idx, { tex_index = 42, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY +(70-idx)*30 -38 , hurtbox = pat:get_frame(523,0,7).hurtbox }) pat:update_frame(601,0,idx,function(frame) frame.hurtbox[1].y1 = frame.hurtbox[1].y1 -30*(70-idx) frame.hurtbox[1].y2 = frame.hurtbox[1].y2 -30*(70-idx) frame.hurtbox[2].y1 = frame.hurtbox[2].y1 -30*(70-idx) frame.hurtbox[2].y2 = frame.hurtbox[2].y2 -30*(70-idx) frame.hurtbox[3].y1 = frame.hurtbox[3].y1 -30*(70-idx) frame.hurtbox[3].y2 = frame.hurtbox[3].y2 -30*(70-idx) frame.collision[1].y1 = frame.collision[1].y1 -30*(70-idx) frame.collision[1].y2 = frame.collision[1].y2 -30*(70-idx) end) elseif (idx > 70 and idx <= 82) then pat:update_frame(601,0,idx, { tex_index = 42, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY -30 -38 , hurtbox = pat:get_frame(523,0,7).hurtbox }) end end pat:remove_frame(601,0,6) pat:remove_frame(601,0,6) pat:remove_frame(601,0,6) pat:remove_frame(601,0,6) pat:remove_frame(601,0,6) pat:remove_frame(601,0,6) pat:remove_frame(601,0,6) pat:remove_frame(601,0,6) -- don't ask me what are these for idx = 4 , 8 do pat:update_frame(601,0,idx,function(frame) frame.hurtbox = pat:get_frame(601,0,3).hurtbox end) end for idx = 0,140 do pat:split_frame(851,1,0,1,1) end local fireStart = 56 for idx = 0 , 164 do pat:update_frame(851,1,idx,function(frame) frame.attackbox[3]=null frame.attackbox[2]=null if (idx>0 and idx =fireStart) then frame.damage = 600 set_aflag(frame,AF_PROJECTILE) set_aflag(frame,AF_DRAINS_ON_GRAZE) frame.sp_damage = frame.sp_damage*.25 --frame.blockstop_enemy = 5 frame.limit = 2 --pat:update_frame(810,0,10, { tex_index = 171, tex_h = 160 , tex_w = 158 , tex_offset_x = 36 , tex_offset_y = 145 , scale_x = 300 , scale_y = 300 }) --pat:update_frame(810,0,11, { tex_index = 172, tex_h = 160 , tex_w = 158 , tex_offset_x = 39 , tex_offset_y = 146 , scale_x = 300 , scale_y = 300 }) --pat:update_frame(810,0,12, { tex_index = 173, tex_h = 160 , tex_w = 158 , tex_offset_x = 32 , tex_offset_y = 129 , scale_x = 300 , scale_y = 300 }) end end end) end for idx = 0 , 164 do if (idx >= fireStart) then if (idx-fireStart == 0) then pat:update_frame(851,1,idx, { tex_index = 161, tex_h = 160 , tex_w = 158 , tex_offset_x = 33 , tex_offset_y = 99 , scale_x = 800 , scale_y = 800 }) elseif (idx-fireStart == 1) then pat:update_frame(851,1,idx, { tex_index = 162, tex_h = 160 , tex_w = 158 , tex_offset_x = 37 , tex_offset_y = 105 , scale_x = 800 , scale_y = 800 }) elseif (idx-fireStart == 2) then pat:update_frame(851,1,idx, { tex_index = 163, tex_h = 160 , tex_w = 158 , tex_offset_x = 52 , tex_offset_y = 131 , scale_x = 800 , scale_y = 800 }) elseif (idx-fireStart == 3) then pat:update_frame(851,1,idx, { tex_index = 164, tex_h = 160 , tex_w = 158 , tex_offset_x = 59 , tex_offset_y = 140 , scale_x = 800 , scale_y = 800 }) elseif (idx-fireStart == 4) then pat:update_frame(851,1,idx, { tex_index = 165, tex_h = 160 , tex_w = 158 , tex_offset_x = 63 , tex_offset_y = 140 , scale_x = 800 , scale_y = 800 }) elseif ((idx-fireStart)%6 == 0) then pat:update_frame(851,1,idx, { tex_index = 166, tex_h = 160 , tex_w = 158 , tex_offset_x = 67 , tex_offset_y = 140 , scale_x = 800 , scale_y = 800 }) elseif ((idx-fireStart)%6 == 1) then pat:update_frame(851,1,idx, { tex_index = 167, tex_h = 160 , tex_w = 158 , tex_offset_x = 69 , tex_offset_y = 141 , scale_x = 800 , scale_y = 800 }) elseif ((idx-fireStart)%6 == 2) then pat:update_frame(851,1,idx, { tex_index = 168, tex_h = 160 , tex_w = 158 , tex_offset_x = 70 , tex_offset_y = 141 , scale_x = 800 , scale_y = 800 }) elseif ((idx-fireStart)%6 == 3) then pat:update_frame(851,1,idx, { tex_index = 169, tex_h = 160 , tex_w = 158 , tex_offset_x = 69 , tex_offset_y = 142 , scale_x = 800 , scale_y = 800 }) elseif ((idx-fireStart)%6 == 4) then pat:update_frame(851,1,idx, { tex_index = 170, tex_h = 160 , tex_w = 158 , tex_offset_x = 67 , tex_offset_y = 145 , scale_x = 800 , scale_y = 800 }) elseif ((idx-fireStart)%6 == 5) then pat:update_frame(851,1,idx, { tex_index = 168, tex_h = 160 , tex_w = 158 , tex_offset_x = 70 , tex_offset_y = 141 , scale_x = 800 , scale_y = 800 }) end end --pat:update_frame(851,1,idx, {tex_w=0 }) end pat:update_frame(851,2,0, { tex_index = 166, tex_h = 160 , tex_w = 158 , tex_offset_x = 67 , tex_offset_y = 140 , scale_x = 800 , scale_y = 800 }) pat:update_frame(851,2,1, { tex_index = 167, tex_h = 160 , tex_w = 158 , tex_offset_x = 69 , tex_offset_y = 141 , scale_x = 800 , scale_y = 800 }) pat:update_frame(851,2,2, { tex_index = 168, tex_h = 160 , tex_w = 158 , tex_offset_x = 70 , tex_offset_y = 141 , scale_x = 800 , scale_y = 800 }) pat:update_frame(851,2,3, { tex_index = 169, tex_h = 160 , tex_w = 158 , tex_offset_x = 69 , tex_offset_y = 142 , scale_x = 800 , scale_y = 800 }) pat:update_frame(851,2,4, { tex_index = 170, tex_h = 160 , tex_w = 158 , tex_offset_x = 67 , tex_offset_y = 145 , scale_x = 800 , scale_y = 800 }) pat:update_frame(851,2,5, { tex_index = 171, tex_h = 160 , tex_w = 158 , tex_offset_x = 36 , tex_offset_y = 145 , scale_x = 800 , scale_y = 800 }) pat:update_frame(851,2,6, { tex_index = 172, tex_h = 160 , tex_w = 158 , tex_offset_x = 39 , tex_offset_y = 146 , scale_x = 800 , scale_y = 800 }) pat:update_frame(851,2,7, { tex_index = 173, tex_h = 160 , tex_w = 158 , tex_offset_x = 32 , tex_offset_y = 129 , scale_x = 800 , scale_y = 800 }) pat:remove_frame(851,2,9) pat:remove_frame(851,2,8) -- for idx = 0 , 0 do pat:update_frame(851,0,idx,function(frame) --frame.attackbox = pat:get_frame(851,1,0).attackbox frame.aflags = pat:get_frame(851,1,0).aflags frame.fflags = pat:get_frame(851,1,0).fflags frame.untech = 6000 frame.launch_vector_x = 0 frame.launch_vector_y = 1500 frame.blockstop_self = 0 frame.blockstop_enemy = 0 frame.hitstop_self = 0 frame.hitstop_enemy = 0 frame.combo_correction = CC_LIFT_ATTACK frame.tex_w = 0 frame.duration=3 -- this is delay before spell box end) end pat:remove_frame(851,0,4) pat:remove_frame(851,0,3) pat:remove_frame(851,0,2) pat:remove_frame(851,0,1)--]]-- end function mods.s4sc_tornado(pat) local baseX = 70 local baseY = 195 pat:split_frame(601,0,3,2,2) pat:split_frame(601,0,3,2,2) pat:split_frame(601,0,3,2,2) pat:split_frame(601,0,3,2,2) pat:split_frame(601,0,3,2,2) pat:split_frame(601,0,3,2,2) pat:split_frame(601,0,3,2,2) pat:remove_frame(601,0,14) pat:update_frame(601,0,0, { tex_index = 10, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +28 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 4 }) pat:update_frame(601,0,1, { tex_index = 11, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +20 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 3 }) pat:update_frame(601,0,2, { tex_index = 11, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +20 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 3 }) pat:update_frame(601,0,3, { tex_index = 588, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +0 , tex_offset_y = baseY -10 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 6 }) pat:update_frame(601,0,4, { tex_index = 589, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +2 , tex_offset_y = baseY -10 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 6 }) pat:update_frame(601,0,5, { tex_index = 590, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -10 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 6 }) pat:update_frame(601,0,6, { tex_index = 11, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +20 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 6 }) pat:update_frame(601,0,7, { tex_index = 588, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +0 , tex_offset_y = baseY -10 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 4 }) pat:update_frame(601,0,8, { tex_index = 589, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +2 , tex_offset_y = baseY -10 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 4 }) pat:update_frame(601,0,9, { tex_index = 590, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -10 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 4 }) pat:update_frame(601,0,10, { tex_index = 11, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +20 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 4 }) pat:update_frame(601,0,11, { tex_index = 588, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +0 , tex_offset_y = baseY -10 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 4 }) pat:update_frame(601,0,12, { tex_index = 589, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +2 , tex_offset_y = baseY -10 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 4 }) pat:update_frame(601,0,13, { tex_index = 590, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -10 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 4 }) pat:split_frame(601,1,2,4,4) pat:update_frame(601,1,0, { tex_index = 588, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +0 , tex_offset_y = baseY -10 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 4 }) pat:update_frame(601,1,1, { tex_index = 589, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +2 , tex_offset_y = baseY -10 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 4 }) pat:update_frame(601,1,2, { tex_index = 590, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -10 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 4 }) pat:update_frame(601,1,3, { tex_index = 11, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +20 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 4 }) pat:split_frame(601,2,0,2,2) pat:split_frame(601,2,0,2,2) pat:update_frame(601,2,0, { tex_index = 81, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +4 , tex_offset_y = baseY -6 , hurtbox = pat:get_frame(308,2,0).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 4 }) pat:update_frame(601,2,1, { tex_index = 82, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +14 , tex_offset_y = baseY -8 , hurtbox = pat:get_frame(308,2,0).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 4 }) pat:update_frame(601,2,2, { tex_index = 83, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +20 , tex_offset_y = baseY -30 , hurtbox = pat:get_frame(308,2,0).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 4 }) pat:update_frame(601,2,3, { tex_index = 84, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +22 , tex_offset_y = baseY -66 , hurtbox = pat:get_frame(308,2,0).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 4 }) pat:update_frame(601,2,4, { tex_index = 85, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +18 , tex_offset_y = baseY -82 , hurtbox = pat:get_frame(308,2,0).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 120 }) pat:update_frame(601,3,0, { tex_index = 350, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +8 , tex_offset_y = baseY -22 , hurtbox = pat:get_frame(3,0,1).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 3 }) pat:update_frame(601,3,1, { tex_index = 350, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +8 , tex_offset_y = baseY -22 , hurtbox = pat:get_frame(3,0,1).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 2 }) pat:update_frame(601,3,2, { tex_index = 351, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -10 , hurtbox = pat:get_frame(3,0,2).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 5 }) for idx = 0 , 4 do pat:update_frame(851,0,idx,function(frame) frame.tex_index = 587-idx frame.tex_w = 128 frame.tex_h = 128 frame.tex_offset_x = 72 frame.tex_offset_y = 120 frame.scale_x = 600 frame.scale_y = 600 end) end for idx = 0 , 23 do pat:update_frame(851,1,idx,function(frame) frame.tex_index = 558 + idx frame.tex_w = 128 frame.tex_h = 128 frame.tex_offset_x = 72 frame.tex_offset_y = 120 frame.scale_x = 600 frame.scale_y = 600 frame.attackbox[3].y1 = frame.attackbox[3].y2 - 240 frame.attackbox[2].y1 = frame.attackbox[3].y2 - 260 frame.attackbox[1].y1 = frame.attackbox[3].y2 - 280 end) end for idx = 0 , 9 do pat:update_frame(851,2,idx,function(frame) frame.tex_index = 587-9+idx frame.tex_w = 128 frame.tex_h = 128 frame.tex_offset_x = 72 frame.tex_offset_y = 120 frame.scale_x = 600 frame.scale_y = 600 end) end end function mods.s3sc_dash(pat) local baseX = 70 local baseY = 195 local baseY2 = 46 -- spell pat:update_frame(612,0,0, { tex_index = 39, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +14 , tex_offset_y = baseY +baseY2/2 -26 , hurtbox = pat:get_frame(307,0,0).hurtbox , duration = 2 , fflags = 0x0007041 }) pat:update_frame(612,0,1, { tex_index = 39, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +14 , tex_offset_y = baseY +baseY2/2 -26 , hurtbox = pat:get_frame(307,0,0).hurtbox , duration = 2 , fflags = 0x0007041 }) pat:update_frame(612,0,2, { tex_index = 39, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +14 , tex_offset_y = baseY +baseY2/2 -26 , hurtbox = pat:get_frame(307,0,0).hurtbox , duration = 2 , fflags = 0x0007041 }) pat:update_frame(612,0,3, { tex_index = 40, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY +baseY2 -34 , duration = 40 }) pat:update_frame(612,0,4, { tex_index = 40, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY +baseY2 -34 , hurtbox = pat:get_frame(307,0,3).hurtbox , duration = 4 , fflags = 0x0007041 }) pat:update_frame(612,0,5, { tex_index = 40, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY +baseY2 -34 , hurtbox = pat:get_frame(307,0,3).hurtbox , duration = 4 , fflags = 0x0007041 }) pat:update_frame(612,0,6, { tex_index = 41, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY +baseY2 -38 , hurtbox = pat:get_frame(307,0,4).hurtbox , duration = 3 , fflags = 0x0007041 }) -- fires here pat:update_frame(612,1,0, { tex_index = 42, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY +baseY2 -40 , hurtbox = pat:get_frame(307,0,4).hurtbox }) -- fires here pat:update_frame(612,1,0,function(frame) frame.attackbox[1].y2 = frame.attackbox[1].y2 -20 frame.attackbox[2].y2 = frame.attackbox[2].y2 -20 frame.attackbox[1].x2 = frame.attackbox[1].x2 + 60 frame.attackbox[2].x2 = frame.attackbox[2].x2 + 60 frame.attackbox[1].y1 = frame.attackbox[1].y1 - 40 frame.attackbox[2].y1 = frame.attackbox[2].y1 - 40 frame.attackbox[1].y2 = frame.attackbox[1].y2 + 40 frame.attackbox[2].y2 = frame.attackbox[2].y2 + 40 frame.attackbox[1].x1 = frame.attackbox[1].x1 + 50 frame.attackbox[2].x1 = frame.attackbox[2].x1 + 50 end) pat:update_frame(612,1,1, { tex_index = 42, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY +baseY2 -40 , hurtbox = pat:get_frame(307,0,4).hurtbox , attackbox = pat:get_frame(612,1,0).attackbox }) -- fires here pat:update_frame(612,1,2, { tex_index = 42, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY +baseY2 -40 , hurtbox = pat:get_frame(307,0,4).hurtbox , attackbox = pat:get_frame(612,1,0).attackbox }) -- fires here pat:get_sequence(612,1):set_looped(false) pat:remove_frame(612,1,2) pat:remove_frame(612,1,1) pat:update_frame(612,2,0, { tex_index = 303 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -18 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(8,1,1).hurtbox }) pat:update_frame(612,2,1, { tex_index = 304 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -18 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(8,1,0).hurtbox }) pat:update_frame(612,2,2, { tex_index = 305 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -22 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(8,1,0).hurtbox }) pat:update_frame(612,2,3, { tex_index = 298 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +20 , tex_offset_y = baseY +0 , hurtbox = pat:get_frame(6,2,2).hurtbox }) pat:update_frame(612,3,0, { tex_index = 300 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +40 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(6,2,4).hurtbox }) pat:update_frame(612,3,1, { tex_index = 301 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +46 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(6,2,4).hurtbox }) pat:update_frame(612,4,0, { tex_index = 43, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -12 , tex_offset_y = baseY +baseY2 -40 , hurtbox = pat:get_frame(307,0,9).hurtbox }) pat:update_frame(612,4,1, { tex_index = 43, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -12 , tex_offset_y = baseY +baseY2 -40 , hurtbox = pat:get_frame(307,0,9).hurtbox }) pat:update_frame(612,4,2, { tex_index = 44, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY +baseY2 -36 , hurtbox = pat:get_frame(307,0,10).hurtbox }) pat:update_frame(612,4,3, { tex_index = 44, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY +baseY2 -36 , hurtbox = pat:get_frame(307,0,10).hurtbox }) pat:remove_frame(612,4,6) pat:remove_frame(612,4,5) pat:remove_frame(612,4,4) pat:update_frame(612,5,0, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -30 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(612,5,1, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -30 , duration = 20 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(612,5,2, { tex_index = 298 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -48 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(662,0,0, { tex_index = 39, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +14 , tex_offset_y = baseY +baseY2/2 -26 , hurtbox = pat:get_frame(307,0,0).hurtbox , duration = 2 , fflags = 0x0007004 }) pat:update_frame(662,0,1, { tex_index = 39, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +14 , tex_offset_y = baseY +baseY2/2 -26 , hurtbox = pat:get_frame(307,0,0).hurtbox , duration = 2 , fflags = 0x0007004 }) pat:update_frame(662,0,2, { tex_index = 39, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +14 , tex_offset_y = baseY +baseY2/2 -26 , hurtbox = pat:get_frame(307,0,0).hurtbox , duration = 2 , fflags = 0x0007004 }) pat:update_frame(662,0,3, { tex_index = 40, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY +baseY2 -34 , duration = 40 })-- , hurtbox = pat:get_frame(307,0,3).hurtbox }) pat:update_frame(662,0,4, { tex_index = 40, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY +baseY2 -34 , hurtbox = pat:get_frame(307,0,3).hurtbox , duration = 8 , fflags = 0x0007004 }) pat:update_frame(662,0,5, { tex_index = 40, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY +baseY2 -34 , hurtbox = pat:get_frame(307,0,3).hurtbox , duration = 8 , fflags = 0x0007004 }) pat:update_frame(662,0,6, { tex_index = 41, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY +baseY2 -38 , hurtbox = pat:get_frame(307,0,4).hurtbox , duration = 1 , fflags = 0x0007004 }) -- fires here pat:update_frame(662,0,7, { tex_index = 41, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY +baseY2 -38 , hurtbox = pat:get_frame(307,0,4).hurtbox , duration = 2 , fflags = 0x0007004 }) -- fires here pat:update_frame(662,1,0, { tex_index = 42, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY +baseY2 -40 , hurtbox = pat:get_frame(307,0,4).hurtbox }) -- fires here pat:update_frame(662,1,0,function(frame) frame.attackbox[1].y2 = frame.attackbox[1].y2 -20 frame.attackbox[2].y2 = frame.attackbox[2].y2 -20 frame.attackbox[1].x2 = frame.attackbox[1].x2 + 60 frame.attackbox[2].x2 = frame.attackbox[2].x2 + 60 frame.attackbox[1].y1 = frame.attackbox[1].y1 - 40 frame.attackbox[2].y1 = frame.attackbox[2].y1 - 40 frame.attackbox[1].y2 = frame.attackbox[1].y2 + 40 frame.attackbox[2].y2 = frame.attackbox[2].y2 + 40 frame.attackbox[1].x1 = frame.attackbox[1].x1 + 50 frame.attackbox[2].x1 = frame.attackbox[2].x1 + 50 end) pat:update_frame(662,1,1, { tex_index = 42, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY +baseY2 -40 , hurtbox = pat:get_frame(307,0,4).hurtbox , attackbox = pat:get_frame(662,1,0).attackbox }) -- fires here pat:update_frame(662,1,2, { tex_index = 42, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -10 , tex_offset_y = baseY +baseY2 -40 , hurtbox = pat:get_frame(307,0,4).hurtbox , attackbox = pat:get_frame(662,1,0).attackbox }) -- fires here pat:get_sequence(662,1):set_looped(false) pat:remove_frame(662,1,2) pat:remove_frame(662,1,1) pat:update_frame(662,2,0, { tex_index = 303 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -18 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(8,1,1).hurtbox }) pat:update_frame(662,2,1, { tex_index = 304 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -18 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(8,1,0).hurtbox }) pat:update_frame(662,2,2, { tex_index = 305 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -22 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(8,1,0).hurtbox }) pat:update_frame(662,2,3, { tex_index = 298 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +20 , tex_offset_y = baseY +0 , hurtbox = pat:get_frame(6,2,2).hurtbox }) pat:update_frame(662,3,0, { tex_index = 300 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +40 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(6,2,4).hurtbox }) pat:update_frame(662,3,1, { tex_index = 301 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +46 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(6,2,4).hurtbox }) pat:update_frame(662,4,0, { tex_index = 43, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -12 , tex_offset_y = baseY +baseY2 -40 , hurtbox = pat:get_frame(307,0,9).hurtbox }) pat:update_frame(662,4,1, { tex_index = 43, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -12 , tex_offset_y = baseY +baseY2 -40 , hurtbox = pat:get_frame(307,0,9).hurtbox }) pat:update_frame(662,4,2, { tex_index = 44, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY +baseY2 -36 , hurtbox = pat:get_frame(307,0,10).hurtbox }) pat:update_frame(662,4,3, { tex_index = 44, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY +baseY2 -36 , hurtbox = pat:get_frame(307,0,10).hurtbox }) pat:remove_frame(662,4,6) pat:remove_frame(662,4,5) pat:remove_frame(662,4,4) pat:update_frame(662,5,0, { tex_index = 300 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +40 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(6,2,4).hurtbox }) pat:update_frame(662,5,1, { tex_index = 301 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +46 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(6,2,4).hurtbox }) pat:update_frame(662,6,0, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -30 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(662,6,1, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -30 , duration = 20 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(662,6,2, { tex_index = 298 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -48 , hurtbox = pat:get_frame(6,0,1).hurtbox }) for idx = 0 , 0 do pat:update_frame(612,1,idx,function(frame) frame.damage = 4000 frame.limit = 100 frame.chip_damage = 1200 set_aflag(frame,AF_CAN_HIT_SELF) set_fflag(frame,FF_GUARD_POINT) unset_aflag(frame,AF_COUNTER_HIT) unset_fflag(frame,FF_GRAZE) frame.hitstop_enemy = 2 frame.hitstop_self = 2 frame.blockstop_enemy = 2 frame.blockstop_self = 2 frame.hit_sfx = 4 frame.launch_vector_x = 4500 frame.launch_vector_y = 1250 frame.hit_ani_air = 74 frame.hit_ani_ground = 74 frame.combo_correction = CC_SMASH_ATTACK end) end for idx = 0 , 0 do pat:update_frame(662,1,idx,function(frame) frame.damage = 3600 frame.limit = 100 frame.chip_damage = 1200 set_aflag(frame,AF_CAN_HIT_SELF) set_fflag(frame,FF_GUARD_POINT) set_aflag(frame,AF_COUNTER_HIT) unset_fflag(frame,FF_GRAZE) frame.hitstop_enemy = 2 frame.hitstop_self = 2 frame.blockstop_enemy = 2 frame.blockstop_self = 2 frame.hit_sfx = 4 frame.launch_vector_x = 4500 frame.launch_vector_y = 1250 frame.hit_ani_air = 74 frame.hit_ani_ground = 74 frame.combo_correction = CC_SMASH_ATTACK end) end end function mods.s4sc_rockstorm(pat) for idx = 0 , 2 do pat:split_frame(852,2,0,2,2) pat:split_frame(852,3,0,2,2) end for idx = 2 , 3 do pat:update_frame(852,idx,0, { tex_index = 155, tex_h = 120 , tex_w = 120 , tex_offset_x = 40 , tex_offset_y = 29 }) pat:update_frame(852,idx,1, { tex_index = 156, tex_h = 120 , tex_w = 120 , tex_offset_x = 51 , tex_offset_y = 31 }) pat:update_frame(852,idx,2, { tex_index = 157, tex_h = 120 , tex_w = 120 , tex_offset_x = 57 , tex_offset_y = 31 }) pat:update_frame(852,idx,3, { tex_index = 158, tex_h = 120 , tex_w = 120 , tex_offset_x = 62 , tex_offset_y = 32 }) for idx2 = 0 , 3 do pat:update_frame(852,idx,idx2,function(frame) frame.blending_mode=1 frame.hit_sfx = 2 frame.hurtbox = pat:get_frame(0,0,0).attackbox frame.attackbox = pat:get_frame(0,0,0).attackbox frame.tex_w = 0 end) end end local baseX = 70 local baseY = 195 pat:update_frame(602,0,0,{ tex_index = 494, 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(602,0,1,{ tex_index = 495, 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(602,0,2,{ tex_index = 495, 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(602,0,2,{ tex_index = 496, 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(602,0,3,{ tex_index = 497, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(0,0,0).hurtbox }) --, hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(602,0,4,{ tex_index = 498, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +20 , tex_offset_y = baseY +6 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 30 }) pat:update_frame(602,0,5,{ tex_index = 498, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +20 , tex_offset_y = baseY +6 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 13 }) pat:update_frame(602,0,6,{ tex_index = 499, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +28 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(602,0,7,{ tex_index = 500, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +22 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(602,0,8,{ tex_index = 110, 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(602,1,0,{ tex_index = 111, 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(602,1,1,{ tex_index = 111, 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(602,1,2,{ tex_index = 111, 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(602,2,0,{ tex_index = 111, 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(602,2,1,{ tex_index = 494, 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(602,2,2,{ tex_index = 494, 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(602,0,3,function(frame) set_fflag(frame,FF_GRAZE) set_fflag(frame,FF_MELEE_INV) set_fflag(frame,FF_BULLET_INV) end) end function mods.sickles(pat) local baseX = 70 local baseY = 195 for idx = 0 , 0 do pat:update_frame(611,0,18,{duration = 2 - 1}) pat:update_frame(611,0,0,{ tex_index = 490, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +14 , tex_offset_y = baseY +6 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(611,0,1,{ tex_index = 491, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +32 , tex_offset_y = baseY -16 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(611,0,2,{ tex_index = 492, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +30 , tex_offset_y = baseY -32 }) pat:update_frame(611,0,3,{ tex_index = 524, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +46 , tex_offset_y = baseY -6 , hurtbox = pat:get_frame(611,0,5).hurtbox }) pat:update_frame(611,0,3,function(frame) frame.hurtbox[1].y2 = frame.hurtbox[1].y2 +20 end) pat:update_frame(611,0,4,{ tex_index = 525, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +42 , tex_offset_y = baseY -8 , hurtbox = pat:get_frame(611,0,3).hurtbox}) pat:update_frame(611,0,5,{ tex_index = 526, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +44 , tex_offset_y = baseY -10 , hurtbox = pat:get_frame(611,0,3).hurtbox }) pat:update_frame(611,0,6,{ tex_index = 525, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +42 , tex_offset_y = baseY -8 , hurtbox = pat:get_frame(611,0,3).hurtbox }) pat:update_frame(611,0,7,{ tex_index = 526, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +44 , tex_offset_y = baseY -10 , hurtbox = pat:get_frame(611,0,3).hurtbox }) pat:update_frame(611,0,8,{ tex_index = 525, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +42 , tex_offset_y = baseY -8 , hurtbox = pat:get_frame(611,0,3).hurtbox }) pat:update_frame(611,0,9,{ tex_index = 526, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +44 , tex_offset_y = baseY -10 , hurtbox = pat:get_frame(611,0,3).hurtbox }) pat:update_frame(611,0,10,{ tex_index = 525, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +42 , tex_offset_y = baseY -8 , hurtbox = pat:get_frame(611,0,3).hurtbox }) pat:update_frame(611,0,11,{ tex_index = 526, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +44 , tex_offset_y = baseY -10 , hurtbox = pat:get_frame(611,0,3).hurtbox }) pat:update_frame(611,0,12,{ tex_index = 526, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +44 , tex_offset_y = baseY -10 , hurtbox = pat:get_frame(611,0,3).hurtbox }) pat:update_frame(611,0,13,{ tex_index = 527, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +40 , tex_offset_y = baseY -14 , hurtbox = pat:get_frame(611,0,3).hurtbox }) pat:update_frame(611,0,14,{ tex_index = 528, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +46 , tex_offset_y = baseY -6 , hurtbox = pat:get_frame(611,0,3).hurtbox }) pat:update_frame(611,0,15,{ tex_index = 529, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +48 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(611,0,16,{ tex_index = 530, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +48 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(611,0,17,{ tex_index = 531, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +22 , tex_offset_y = baseY +6 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(611,0,18,{ tex_index = 493, 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:remove_frame(611,0,13) pat:remove_frame(611,0,12) pat:remove_frame(611,0,11) pat:remove_frame(611,0,10) pat:remove_frame(611,0,9) pat:remove_frame(611,0,8) pat:remove_frame(611,0,7) pat:remove_frame(611,0,6) pat:split_frame(611,0,5,2,3) pat:split_frame(611,0,5,3,3) pat:split_frame(611,0,5,3,3) pat:split_frame(611,0,5,3,3) pat:split_frame(611,0,5,3,3) pat:split_frame(611,0,5,3,3) pat:split_frame(611,0,5,3,3) pat:update_frame(611,0,6,{ tex_index = 526, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +44 , tex_offset_y = baseY -10 , hurtbox = pat:get_frame(611,0,3).hurtbox }) pat:update_frame(611,0,7,{ tex_index = 525, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +42 , tex_offset_y = baseY -8 , hurtbox = pat:get_frame(611,0,3).hurtbox }) pat:update_frame(611,0,8,{ tex_index = 526, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +44 , tex_offset_y = baseY -10 , hurtbox = pat:get_frame(611,0,3).hurtbox }) pat:update_frame(611,0,9,{ tex_index = 525, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +42 , tex_offset_y = baseY -8 , hurtbox = pat:get_frame(611,0,3).hurtbox }) pat:update_frame(611,0,10,{ tex_index = 526, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +44 , tex_offset_y = baseY -10 , hurtbox = pat:get_frame(611,0,3).hurtbox }) pat:update_frame(611,0,11,{ tex_index = 525, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +42 , tex_offset_y = baseY -8 , hurtbox = pat:get_frame(611,0,3).hurtbox }) pat:update_frame(611,0,12,{ tex_index = 527, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +40 , tex_offset_y = baseY -14 , hurtbox = pat:get_frame(611,0,3).hurtbox , duration = 10}) pat:update_frame(661,0,0,{ tex_index = 490, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +14 , tex_offset_y = baseY +6 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(661,0,1,{ tex_index = 491, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +32 , tex_offset_y = baseY -16 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(661,0,2,{ tex_index = 492, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +30 , tex_offset_y = baseY -32 }) pat:update_frame(661,0,3,{ tex_index = 524, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +46 , tex_offset_y = baseY -6 , hurtbox = pat:get_frame(611,0,3).hurtbox }) pat:update_frame(661,0,4,{ tex_index = 525, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +42 , tex_offset_y = baseY -8 , hurtbox = pat:get_frame(611,0,3).hurtbox }) pat:update_frame(661,0,5,{ tex_index = 526, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +44 , tex_offset_y = baseY -10 , hurtbox = pat:get_frame(611,0,3).hurtbox }) pat:update_frame(661,0,6,{ tex_index = 525, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +42 , tex_offset_y = baseY -8 , hurtbox = pat:get_frame(611,0,3).hurtbox }) pat:update_frame(661,0,7,{ tex_index = 526, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +44 , tex_offset_y = baseY -10 , hurtbox = pat:get_frame(611,0,3).hurtbox }) pat:update_frame(661,0,8,{ tex_index = 525, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +42 , tex_offset_y = baseY -8 , hurtbox = pat:get_frame(611,0,3).hurtbox }) pat:update_frame(661,0,9,{ tex_index = 527, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +40 , tex_offset_y = baseY -14 , hurtbox = pat:get_frame(611,0,3).hurtbox }) pat:update_frame(661,0,10,{ tex_index = 528, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +46 , tex_offset_y = baseY -6 , hurtbox = pat:get_frame(611,0,3).hurtbox }) pat:update_frame(661,0,11,{ tex_index = 529, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +48 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(661,0,12,{ tex_index = 530, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +48 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(661,0,13,{ tex_index = 531, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +22 , tex_offset_y = baseY +6 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(661,0,14,{ tex_index = 493, 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(661,0,15,{ tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +6 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(6,2,2).hurtbox }) pat:update_frame(661,0,16,{ tex_index = 298 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +20 , tex_offset_y = baseY +0 , hurtbox = pat:get_frame(6,2,2).hurtbox }) pat:remove_frame(661,0,13) pat:remove_frame(661,0,12) pat:remove_frame(661,0,11) pat:remove_frame(661,0,10) pat:remove_frame(661,0,9) pat:remove_frame(661,0,8) pat:remove_frame(661,0,7) pat:remove_frame(661,0,6) pat:split_frame(661,0,5,2,3) pat:split_frame(661,0,5,3,3) pat:split_frame(661,0,5,3,3) pat:split_frame(661,0,5,3,3) pat:split_frame(661,0,5,3,3) pat:split_frame(661,0,5,3,3) pat:split_frame(661,0,5,3,3) pat:update_frame(661,0,6,{ tex_index = 526, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +44 , tex_offset_y = baseY -10 , hurtbox = pat:get_frame(611,0,3).hurtbox }) pat:update_frame(661,0,7,{ tex_index = 525, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +42 , tex_offset_y = baseY -8 , hurtbox = pat:get_frame(611,0,3).hurtbox }) pat:update_frame(661,0,8,{ tex_index = 527, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +40 , tex_offset_y = baseY -14 , hurtbox = pat:get_frame(611,0,3).hurtbox }) pat:update_frame(661,0,9,{ tex_index = 528, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +46 , tex_offset_y = baseY -6 , hurtbox = pat:get_frame(611,0,3).hurtbox , duration = 10}) pat:update_frame(661,0,10,{ tex_index = 529, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +48 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(661,0,11,{ tex_index = 530, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +48 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(661,0,12,{ tex_index = 531, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +22 , tex_offset_y = baseY +6 , hurtbox = pat:get_frame(0,0,0).hurtbox }) end for idx = 0 , 0 do pat:update_frame(565,0,18,{duration = 2 - 1}) pat:update_frame(565,0,0,{ tex_index = 490, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +14 , tex_offset_y = baseY +6 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(565,0,1,{ tex_index = 491, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +32 , tex_offset_y = baseY -16 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(565,0,2,{ tex_index = 492, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +30 , tex_offset_y = baseY -32 , hurtbox = pat:get_frame(6,2,2).hurtbox }) pat:update_frame(565,0,3,{ tex_index = 524, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +46 , tex_offset_y = baseY -6 , hurtbox = pat:get_frame(565,0,5).hurtbox }) pat:update_frame(565,0,3,function(frame) frame.hurtbox[1].y2 = frame.hurtbox[1].y2 + 30 end) pat:update_frame(565,0,4,{ tex_index = 525, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +42 , tex_offset_y = baseY -8 , hurtbox = pat:get_frame(565,0,3).hurtbox}) pat:update_frame(565,0,5,{ tex_index = 526, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +44 , tex_offset_y = baseY -10 , hurtbox = pat:get_frame(565,0,3).hurtbox }) pat:update_frame(565,0,6,{ tex_index = 525, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +42 , tex_offset_y = baseY -8 , hurtbox = pat:get_frame(565,0,3).hurtbox }) pat:update_frame(565,0,7,{ tex_index = 526, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +44 , tex_offset_y = baseY -10 , hurtbox = pat:get_frame(565,0,3).hurtbox }) pat:update_frame(565,0,8,{ tex_index = 525, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +42 , tex_offset_y = baseY -8 , hurtbox = pat:get_frame(565,0,3).hurtbox }) pat:update_frame(565,0,9,{ tex_index = 526, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +44 , tex_offset_y = baseY -10 , hurtbox = pat:get_frame(565,0,3).hurtbox }) pat:update_frame(565,0,10,{ tex_index = 525, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +42 , tex_offset_y = baseY -8 , hurtbox = pat:get_frame(565,0,3).hurtbox }) pat:update_frame(565,0,11,{ tex_index = 526, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +44 , tex_offset_y = baseY -10 , hurtbox = pat:get_frame(565,0,3).hurtbox }) pat:update_frame(565,0,12,{ tex_index = 526, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +44 , tex_offset_y = baseY -10 , hurtbox = pat:get_frame(565,0,3).hurtbox }) pat:update_frame(565,0,13,{ tex_index = 527, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +40 , tex_offset_y = baseY -14 , hurtbox = pat:get_frame(565,0,3).hurtbox }) pat:update_frame(565,0,14,{ tex_index = 528, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +46 , tex_offset_y = baseY -6 , hurtbox = pat:get_frame(565,0,3).hurtbox }) pat:update_frame(565,0,15,{ tex_index = 529, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +48 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(565,0,16,{ tex_index = 530, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +48 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(565,0,17,{ tex_index = 531, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +22 , tex_offset_y = baseY +6 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(565,0,18,{ tex_index = 493, 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:remove_frame(565,0,13) pat:remove_frame(565,0,12) pat:remove_frame(565,0,11) pat:remove_frame(565,0,10) pat:remove_frame(565,0,9) pat:remove_frame(565,0,8) pat:remove_frame(565,0,7) pat:remove_frame(565,0,6) pat:split_frame(565,0,5,2,3) pat:split_frame(565,0,5,3,3) pat:split_frame(565,0,5,3,3) pat:split_frame(565,0,5,3,3) pat:split_frame(565,0,5,3,3) pat:split_frame(565,0,5,3,3) pat:split_frame(565,0,5,3,3) pat:update_frame(565,0,6,{ tex_index = 526, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +44 , tex_offset_y = baseY -10 , hurtbox = pat:get_frame(565,0,3).hurtbox }) pat:update_frame(565,0,7,{ tex_index = 525, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +42 , tex_offset_y = baseY -8 , hurtbox = pat:get_frame(565,0,3).hurtbox }) pat:update_frame(565,0,8,{ tex_index = 526, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +44 , tex_offset_y = baseY -10 , hurtbox = pat:get_frame(565,0,3).hurtbox }) pat:update_frame(565,0,9,{ tex_index = 525, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +42 , tex_offset_y = baseY -8 , hurtbox = pat:get_frame(565,0,3).hurtbox }) pat:update_frame(565,0,10,{ tex_index = 526, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +44 , tex_offset_y = baseY -10 , hurtbox = pat:get_frame(565,0,3).hurtbox }) pat:update_frame(565,0,11,{ tex_index = 525, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +42 , tex_offset_y = baseY -8 , hurtbox = pat:get_frame(565,0,3).hurtbox }) pat:update_frame(565,0,12,{ tex_index = 527, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +40 , tex_offset_y = baseY -14 , hurtbox = pat:get_frame(565,0,3).hurtbox }) pat:update_frame(567,0,0,{ tex_index = 490, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +14 , tex_offset_y = baseY +6 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(567,0,1,{ tex_index = 491, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +32 , tex_offset_y = baseY -16 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(567,0,2,{ tex_index = 492, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +30 , tex_offset_y = baseY -32 , hurtbox = pat:get_frame(6,2,2).hurtbox }) pat:update_frame(567,0,3,{ tex_index = 524, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +46 , tex_offset_y = baseY -6 , hurtbox = pat:get_frame(565,0,3).hurtbox }) pat:update_frame(567,0,4,{ tex_index = 525, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +42 , tex_offset_y = baseY -8 , hurtbox = pat:get_frame(565,0,3).hurtbox }) pat:update_frame(567,0,5,{ tex_index = 526, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +44 , tex_offset_y = baseY -10 , hurtbox = pat:get_frame(565,0,3).hurtbox }) pat:update_frame(567,0,6,{ tex_index = 525, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +42 , tex_offset_y = baseY -8 , hurtbox = pat:get_frame(565,0,3).hurtbox }) pat:update_frame(567,0,7,{ tex_index = 526, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +44 , tex_offset_y = baseY -10 , hurtbox = pat:get_frame(565,0,3).hurtbox }) pat:update_frame(567,0,8,{ tex_index = 525, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +42 , tex_offset_y = baseY -8 , hurtbox = pat:get_frame(565,0,3).hurtbox }) pat:update_frame(567,0,9,{ tex_index = 527, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +40 , tex_offset_y = baseY -14 , hurtbox = pat:get_frame(565,0,3).hurtbox }) pat:update_frame(567,0,10,{ tex_index = 528, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +46 , tex_offset_y = baseY -6 , hurtbox = pat:get_frame(565,0,3).hurtbox }) pat:update_frame(567,0,11,{ tex_index = 529, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +48 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(567,0,12,{ tex_index = 530, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +48 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(567,0,13,{ tex_index = 531, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +22 , tex_offset_y = baseY +6 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(567,0,14,{ tex_index = 493, 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(567,0,15,{ tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +6 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(6,2,2).hurtbox }) pat:update_frame(567,0,16,{ tex_index = 298 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +20 , tex_offset_y = baseY +0 , hurtbox = pat:get_frame(6,2,2).hurtbox }) pat:remove_frame(567,0,13) pat:remove_frame(567,0,12) pat:remove_frame(567,0,11) pat:remove_frame(567,0,10) pat:remove_frame(567,0,9) pat:remove_frame(567,0,8) pat:remove_frame(567,0,7) pat:remove_frame(567,0,6) pat:split_frame(567,0,5,2,3) pat:split_frame(567,0,5,3,3) pat:split_frame(567,0,5,3,3) pat:split_frame(567,0,5,3,3) pat:split_frame(567,0,5,3,3) pat:split_frame(567,0,5,3,3) pat:split_frame(567,0,5,3,3) pat:update_frame(567,0,6,{ tex_index = 526, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +44 , tex_offset_y = baseY -10 , hurtbox = pat:get_frame(565,0,3).hurtbox }) pat:update_frame(567,0,7,{ tex_index = 525, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +42 , tex_offset_y = baseY -8 , hurtbox = pat:get_frame(565,0,3).hurtbox }) pat:update_frame(567,0,8,{ tex_index = 527, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +40 , tex_offset_y = baseY -14 , hurtbox = pat:get_frame(565,0,3).hurtbox }) pat:update_frame(567,0,9,{ tex_index = 528, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +46 , tex_offset_y = baseY -6 , hurtbox = pat:get_frame(565,0,3).hurtbox }) pat:update_frame(567,0,10,{ tex_index = 529, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +48 , tex_offset_y = baseY -4 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(567,0,11,{ tex_index = 530, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +48 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(567,0,12,{ tex_index = 531, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +22 , tex_offset_y = baseY +6 , hurtbox = pat:get_frame(0,0,0).hurtbox }) end --[[ for idx = 12 , 17 do pat:update_frame(565,0,idx,function(frame) set_fflag(frame,FF_CANCEL) set_fflag(frame,FF_MOTION_CANCEL) set_fflag(frame,FF_GUARD_CANCEL) set_fflag(frame,FF_ATTACK_CANCEL) end) end for idx = 12 , 15 do pat:update_frame(567,0,idx,function(frame) set_fflag(frame,FF_CANCEL) set_fflag(frame,FF_MOTION_CANCEL) set_fflag(frame,FF_GUARD_CANCEL) set_fflag(frame,FF_ATTACK_CANCEL) end) end]]-- pat:update_frame(861,0,0,function(frame) end) pat:update_frame(826,0,0,function(frame) end) local baseFX = 0 local baseFY = 0 for idx = 0 , 599 do pat:split_frame(826,0,0,1,1) pat:split_frame(861,0,0,1,1) end for idx = 0 , 600 do if ((idx/3)%5 < 1) then pat:update_frame(826,0,idx, { tex_index = 451 , tex_h = 248 , tex_w = 204 , tex_offset_x = baseFX +96 , tex_offset_y = baseFY +176 }) pat:update_frame(861,0,idx, { tex_index = 456 , tex_h = 248 , tex_w = 204 , tex_offset_x = baseFX +96 , tex_offset_y = baseFY +176 }) elseif ((idx/3)%5 < 2) then pat:update_frame(826,0,idx, { tex_index = 452 , tex_h = 244 , tex_w = 204 , tex_offset_x = baseFX +96 , tex_offset_y = baseFY +176 }) pat:update_frame(861,0,idx, { tex_index = 457 , tex_h = 244 , tex_w = 204 , tex_offset_x = baseFX +96 , tex_offset_y = baseFY +176 }) elseif ((idx/3)%5 < 3) then pat:update_frame(826,0,idx, { tex_index = 453 , tex_h = 208 , tex_w = 168 , tex_offset_x = baseFX +72 , tex_offset_y = baseFY +64 }) pat:update_frame(861,0,idx, { tex_index = 458 , tex_h = 208 , tex_w = 168 , tex_offset_x = baseFX +72 , tex_offset_y = baseFY +64 }) elseif ((idx/3)%5 < 4) then pat:update_frame(826,0,idx, { tex_index = 454 , tex_h = 216 , tex_w = 172 , tex_offset_x = baseFX +76 , tex_offset_y = baseFY +60 }) pat:update_frame(861,0,idx, { tex_index = 459 , tex_h = 216 , tex_w = 172 , tex_offset_x = baseFX +76 , tex_offset_y = baseFY +60 }) elseif ((idx/3)%5 < 5) then pat:update_frame(826,0,idx, { tex_index = 455 , tex_h = 180 , tex_w = 184 , tex_offset_x = baseFX +80 , tex_offset_y = baseFY +52 }) pat:update_frame(861,0,idx, { tex_index = 460 , tex_h = 180 , tex_w = 184 , tex_offset_x = baseFX +80 , tex_offset_y = baseFY +52 }) end pat:update_frame(826,0,idx,function(frame) local ymod = -50 local xmod = 2*idx frame.attackbox[1].x1 = frame.attackbox[1].x1 +70 frame.attackbox[1].y1 = frame.attackbox[1].y1 +70 frame.attackbox[1].x2 = frame.attackbox[1].x2 -30 frame.attackbox[1].y2 = frame.attackbox[1].y2 -30 frame.tex_offset_y = frame.tex_offset_y - (ymod)*4 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)*4 frame.attackbox[1].x1 = frame.attackbox[1].x1 + (xmod) frame.attackbox[1].x2 = frame.attackbox[1].x2 + (xmod) frame.damage = 400 frame.chip_damage = 100 frame.launch_vector_x = 650 frame.launch_vector_y = 1250 frame.hit_ani_air = 74 frame.hit_ani_ground = 74 frame.limit = 10 frame.sp_damage = 100 frame.hitstop_enemy = 10 frame.blockstop_enemy = 5 frame.combo_correction = CC_SMASH_ATTACK frame.proration = 950 frame.attack_level = AL_HEAVY frame.hit_sfx = 4 frame.hit_effect = 3 set_aflag(frame,AF_COUNTER_HIT) end) pat:update_frame(861,0,idx,function(frame) frame.tex_w = frame.tex_w*2 frame.tex_h = frame.tex_h*2 frame.tex_offset_x = frame.tex_offset_x*2 frame.tex_offset_y = frame.tex_offset_y*2 local ymod = -50 local xmod = 2*idx frame.attackbox[1].x1 = frame.attackbox[1].x1 +60 -0 frame.attackbox[1].y1 = frame.attackbox[1].y1 +60 -0 frame.attackbox[1].x2 = frame.attackbox[1].x2 -20 +60 frame.attackbox[1].y2 = frame.attackbox[1].y2 -20 +60 frame.tex_offset_y = frame.tex_offset_y - (ymod)*4 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)*4 frame.attackbox[1].x1 = frame.attackbox[1].x1 + (xmod) frame.attackbox[1].x2 = frame.attackbox[1].x2 + (xmod) frame.damage = 200 frame.chip_damage = 50 frame.launch_vector_x = 650 frame.launch_vector_y = 1250 frame.hit_ani_air = 74 frame.hit_ani_ground = 74 frame.limit = 10 frame.sp_damage = 20 frame.hitstop_enemy = 10 frame.blockstop_enemy = 0 frame.combo_correction = CC_SMASH_ATTACK frame.proration = 950 frame.attack_level = AL_HEAVY frame.hit_sfx = 4 frame.hit_effect = 3 set_aflag(frame,AF_COUNTER_HIT) end) end for idx = 0 , 17 do pat:update_frame(861,1,idx,function(frame) frame.tex_w = 0 frame.scale_x = 0 frame.scale_y = 0 frame.color_g = 0 frame.color_b = 0 end) pat:update_frame(861,1,idx, { tex_index = 187, tex_h = 0 , tex_w = 0 , tex_offset_x = 64 , tex_offset_y = 64 , scale_x = 0 , scale_y = 0 }) pat:update_frame(826,1,idx,function(frame) frame.tex_w = 0 frame.scale_x = 0 frame.scale_y = 0 frame.color_g = 0 frame.color_b = 0 frame.color_r = 0 end) pat:update_frame(826,1,idx, { tex_index = 187, tex_h = 0 , tex_w = 0 , tex_offset_x = 64 , tex_offset_y = 64 , scale_x = 0 , scale_y = 0 }) end end function mods.system_cards(pat) local baseX = 70 local baseY = 195 pat:update_frame(690,0,0,{ tex_index = 478, 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 = 479, 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(690,0,2,{ tex_index = 479, 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(690,0,3,{ tex_index = 480, 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(690,0,4,{ tex_index = 481, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +22 , tex_offset_y = baseY +6 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(690,0,5,{ tex_index = 482, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +32 , tex_offset_y = baseY +6 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(690,1,0,{ tex_index = 483, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +20 , tex_offset_y = baseY +6 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(690,1,1,{ tex_index = 484, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +44 , tex_offset_y = baseY +8 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(690,1,2,{ tex_index = 485, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +48 , tex_offset_y = baseY +12 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(690,1,3,{ tex_index = 486, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +46 , tex_offset_y = baseY +8 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(690,1,4,{ tex_index = 484, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +44 , tex_offset_y = baseY +8 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(690,1,5,{ tex_index = 485, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +48 , tex_offset_y = baseY +12 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(690,1,6,{ tex_index = 485, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +48 , tex_offset_y = baseY +12 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(690,1,7,{ tex_index = 486, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +46 , tex_offset_y = baseY +8 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(690,1,8,{ tex_index = 487, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +36 , tex_offset_y = baseY +6 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(690,1,9,{ tex_index = 488, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +20 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(690,1,10,{ tex_index = 489, 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(691,0,0,{ tex_index = 478, 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 = 479, 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(691,0,2,{ tex_index = 479, 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(691,0,3,{ tex_index = 480, 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(691,0,4,{ tex_index = 481, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +22 , tex_offset_y = baseY +6 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(691,0,5,{ tex_index = 482, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +32 , tex_offset_y = baseY +6 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(691,1,0,{ tex_index = 483, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +20 , tex_offset_y = baseY +6 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(691,1,1,{ tex_index = 484, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +44 , tex_offset_y = baseY +8 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(691,1,2,{ tex_index = 485, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +48 , tex_offset_y = baseY +12 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(691,1,3,{ tex_index = 486, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +46 , tex_offset_y = baseY +8 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(691,1,4,{ tex_index = 484, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +44 , tex_offset_y = baseY +8 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(691,1,5,{ tex_index = 485, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +48 , tex_offset_y = baseY +12 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(691,1,6,{ tex_index = 485, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +48 , tex_offset_y = baseY +12 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(691,1,7,{ tex_index = 486, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +46 , tex_offset_y = baseY +8 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(691,1,8,{ tex_index = 487, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +36 , tex_offset_y = baseY +6 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(691,1,9,{ tex_index = 488, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +20 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(691,1,10,{ tex_index = 489, 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(692,0,0,{ tex_index = 478, 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 = 479, 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(692,0,2,{ tex_index = 479, 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(692,0,3,{ tex_index = 480, 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(692,0,4,{ tex_index = 481, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +22 , tex_offset_y = baseY +6 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(692,0,5,{ tex_index = 482, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +32 , tex_offset_y = baseY +6 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(692,0,6,{ tex_index = 483, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +20 , tex_offset_y = baseY +6 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(692,0,7,{ tex_index = 484, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +44 , tex_offset_y = baseY +8 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(692,1,0,{ tex_index = 484, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +44 , tex_offset_y = baseY +8 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(692,1,1,{ tex_index = 485, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +48 , tex_offset_y = baseY +12 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(692,1,2,{ tex_index = 486, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +46 , tex_offset_y = baseY +8 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(692,2,0,{ tex_index = 486, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +46 , tex_offset_y = baseY +8 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(692,2,1,{ tex_index = 487, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +36 , tex_offset_y = baseY +6 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(692,2,2,{ tex_index = 488, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +20 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(692,2,3,{ tex_index = 489, 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(695,0,0,{ tex_index = 478, 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 = 479, 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(695,0,2,{ tex_index = 479, 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(695,0,3,{ tex_index = 480, 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(695,0,4,{ tex_index = 481, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +22 , tex_offset_y = baseY +6 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(695,0,5,{ tex_index = 482, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +32 , tex_offset_y = baseY +6 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(695,0,6,{ tex_index = 483, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +20 , tex_offset_y = baseY +6 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(695,0,7,{ tex_index = 484, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +44 , tex_offset_y = baseY +8 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(695,0,8,{ tex_index = 485, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +48 , tex_offset_y = baseY +12 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(695,0,9,{ tex_index = 486, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +46 , tex_offset_y = baseY +8 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(695,0,10,{ tex_index = 484, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +44 , tex_offset_y = baseY +8 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(695,0,11,{ tex_index = 485, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +48 , tex_offset_y = baseY +12 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(695,0,12,{ tex_index = 486, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +46 , tex_offset_y = baseY +8 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(695,0,13,{ tex_index = 484, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +44 , tex_offset_y = baseY +8 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(695,0,14,{ tex_index = 485, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +48 , tex_offset_y = baseY +12 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(695,0,15,{ tex_index = 485, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +48 , tex_offset_y = baseY +12 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(695,0,16,{ tex_index = 486, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +46 , tex_offset_y = baseY +8 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(695,0,17,{ tex_index = 487, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +36 , tex_offset_y = baseY +6 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(695,0,18,{ tex_index = 488, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +20 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(695,0,19,{ tex_index = 489, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +4 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(0,0,0).hurtbox }) local baseY2 = -8 pat:update_frame(696,0,0, { tex_index = 78, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +28 , tex_offset_y = baseY +baseY2 -18 , hurtbox = pat:get_frame(302,0,0).hurtbox }) pat:update_frame(696,0,1, { tex_index = 79, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +50 , tex_offset_y = baseY +baseY2 -28 , hurtbox = pat:get_frame(302,0,2).hurtbox }) pat:update_frame(696,0,2, { tex_index = 79, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +50 , tex_offset_y = baseY +baseY2 -28 , hurtbox = pat:get_frame(302,0,3).hurtbox }) pat:update_frame(696,0,3, { tex_index = 176, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +28 -50, tex_offset_y = baseY +baseY2 -30 , hurtbox = pat:get_frame(302,0,4).hurtbox }) pat:update_frame(696,0,4, { tex_index = 177, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +32 -60, tex_offset_y = baseY +baseY2 -30 , hurtbox = pat:get_frame(302,0,5).hurtbox , attackbox = pat:get_frame(302,0,5).attackbox}) -- fires here pat:update_frame(696,0,5, { tex_index = 177, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +32 -60, tex_offset_y = baseY +baseY2 -30 , hurtbox = pat:get_frame(302,0,6).hurtbox }) pat:update_frame(696,0,6, { tex_index = 177, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +32 -60, tex_offset_y = baseY +baseY2 -30 , hurtbox = pat:get_frame(302,0,6).hurtbox }) pat:update_frame(696,0,7, { tex_index = 177, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +32 -60, tex_offset_y = baseY +baseY2 -30 , hurtbox = pat:get_frame(302,0,7).hurtbox }) pat:update_frame(696,0,8, { tex_index = 178, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 -40, tex_offset_y = baseY +baseY2/2 -18 , hurtbox = pat:get_frame(302,0,8).hurtbox }) pat:update_frame(696,0,9, { tex_index = 179, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +6 -20, tex_offset_y = baseY -10 , hurtbox = pat:get_frame(302,0,9).hurtbox }) local baseY2 = -8 pat:update_frame(697,0,0, { tex_index = 78, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +28 , tex_offset_y = baseY +baseY2 -18 , hurtbox = pat:get_frame(302,0,0).hurtbox }) pat:update_frame(697,1,0, { tex_index = 79, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +50 , tex_offset_y = baseY +baseY2 -28 , hurtbox = pat:get_frame(302,0,2).hurtbox }) pat:update_frame(697,2,0, { tex_index = 79, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +50 , tex_offset_y = baseY +baseY2 -28 , hurtbox = pat:get_frame(302,0,3).hurtbox }) pat:update_frame(697,2,1, { tex_index = 176, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +28 -50, tex_offset_y = baseY +baseY2 -30 , hurtbox = pat:get_frame(302,0,4).hurtbox }) pat:update_frame(697,3,0, { tex_index = 177, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +32 -60, tex_offset_y = baseY +baseY2 -30 , hurtbox = pat:get_frame(302,0,5).hurtbox , attackbox = pat:get_frame(302,0,5).attackbox}) -- fires here pat:update_frame(697,3,1, { tex_index = 177, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +32 -60, tex_offset_y = baseY +baseY2 -30 , hurtbox = pat:get_frame(302,0,6).hurtbox }) pat:update_frame(697,3,2, { tex_index = 177, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +32 -60, tex_offset_y = baseY +baseY2 -30 , hurtbox = pat:get_frame(302,0,6).hurtbox }) pat:update_frame(697,4,0, { tex_index = 177, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +32 -60, tex_offset_y = baseY +baseY2 -30 , hurtbox = pat:get_frame(302,0,7).hurtbox }) pat:update_frame(697,4,1, { tex_index = 178, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 -40, tex_offset_y = baseY +baseY2/2 -18 , hurtbox = pat:get_frame(302,0,8).hurtbox }) pat:update_frame(697,4,2, { tex_index = 179, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +6 -20, tex_offset_y = baseY -10 , hurtbox = pat:get_frame(302,0,9).hurtbox }) local baseY2 = -8 pat:update_frame(698,0,0, { tex_index = 78, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +28 , tex_offset_y = baseY +baseY2 -18 , hurtbox = pat:get_frame(302,0,0).hurtbox }) pat:update_frame(698,0,1, { tex_index = 79, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +50 , tex_offset_y = baseY +baseY2 -28 , hurtbox = pat:get_frame(302,0,2).hurtbox }) pat:update_frame(698,1,0, { tex_index = 79, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +50 , tex_offset_y = baseY +baseY2 -28 , hurtbox = pat:get_frame(302,0,3).hurtbox }) pat:update_frame(698,1,1, { tex_index = 176, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +28 -50, tex_offset_y = baseY +baseY2 -30 , hurtbox = pat:get_frame(302,0,4).hurtbox }) pat:update_frame(698,2,0, { tex_index = 177, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +32 -60, tex_offset_y = baseY +baseY2 -30 , hurtbox = pat:get_frame(302,0,5).hurtbox , attackbox = pat:get_frame(302,0,5).attackbox}) -- fires here pat:update_frame(698,2,1, { tex_index = 177, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +32 -60, tex_offset_y = baseY +baseY2 -30 , hurtbox = pat:get_frame(302,0,6).hurtbox }) pat:update_frame(698,2,2, { tex_index = 177, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +32 -60, tex_offset_y = baseY +baseY2 -30 , hurtbox = pat:get_frame(302,0,6).hurtbox }) pat:update_frame(698,3,0, { tex_index = 177, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +32 -60, tex_offset_y = baseY +baseY2 -30 , hurtbox = pat:get_frame(302,0,7).hurtbox }) pat:update_frame(698,3,1, { tex_index = 178, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 -40, tex_offset_y = baseY +baseY2/2 -18 , hurtbox = pat:get_frame(302,0,8).hurtbox }) pat:update_frame(698,3,2, { tex_index = 179, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +6 -20, tex_offset_y = baseY -10 , hurtbox = pat:get_frame(302,0,9).hurtbox }) end function mods.s4sc_daymare(pat) local baseX = 70 local baseY = 195 pat:update_frame(608,0,0,{ tex_index = 494, 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(608,0,1,{ tex_index = 495, 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(602,0,2,{ tex_index = 495, 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(608,0,2,{ tex_index = 496, 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(608,0,3,{ tex_index = 497, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(0,0,0).hurtbox}) --, hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(608,0,4,{ tex_index = 498, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +20 , tex_offset_y = baseY +6 }) pat:update_frame(608,0,5,{ tex_index = 499, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +28 , tex_offset_y = baseY +4 }) pat:update_frame(608,0,6,{ tex_index = 500, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +22 , tex_offset_y = baseY +4 }) pat:update_frame(608,0,7,{ tex_index = 110, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY +2 }) pat:update_frame(608,0,8,{ tex_index = 111, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +0 , tex_offset_y = baseY +0 }) pat:update_frame(608,0,9,{ tex_index = 111, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +0 , tex_offset_y = baseY +0 }) pat:update_frame(608,0,10,{ tex_index = 111, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +0 , tex_offset_y = baseY +0 }) pat:update_frame(608,0,11,{ tex_index = 111, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +0 , tex_offset_y = baseY +0 }) pat:update_frame(608,0,12,{ tex_index = 111, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +0 , tex_offset_y = baseY +0 }) pat:update_frame(608,0,13,{ tex_index = 111, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +0 , tex_offset_y = baseY +0 }) pat:update_frame(608,1,0,{ tex_index = 111, 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(608,1,1,{ tex_index = 111, 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(608,2,0,{ tex_index = 111, 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(608,2,1,{ tex_index = 111, 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(608,2,2,{ tex_index = 111, 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(608,2,3,{ tex_index = 111, 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(608,2,4,{ tex_index = 494, 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(608,2,5,{ tex_index = 494, 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(608,2,6,{ tex_index = 494, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +0 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(0,0,0).hurtbox }) local baseY = 195 pat:update_frame(658,0,0,{ tex_index = 494, 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(658,0,1,{ tex_index = 495, 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(602,0,2,{ tex_index = 495, 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(658,0,2,{ tex_index = 496, 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(658,0,3,{ tex_index = 497, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(0,0,0).hurtbox}) --, hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(658,0,4,{ tex_index = 498, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +20 , tex_offset_y = baseY +6 }) pat:update_frame(658,0,5,{ tex_index = 499, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +28 , tex_offset_y = baseY +4 }) pat:update_frame(658,0,6,{ tex_index = 500, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +22 , tex_offset_y = baseY +4 }) pat:update_frame(658,0,7,{ tex_index = 110, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY +2 }) pat:update_frame(658,0,8,{ tex_index = 111, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +0 , tex_offset_y = baseY +0 }) pat:update_frame(658,0,9,{ tex_index = 111, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +0 , tex_offset_y = baseY +0 }) pat:update_frame(658,0,10,{ tex_index = 111, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +0 , tex_offset_y = baseY +0 }) pat:update_frame(658,0,11,{ tex_index = 111, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +0 , tex_offset_y = baseY +0 }) pat:update_frame(658,0,12,{ tex_index = 111, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +0 , tex_offset_y = baseY +0 }) pat:update_frame(658,0,13,{ tex_index = 111, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +0 , tex_offset_y = baseY +0 }) pat:update_frame(658,1,0,{ tex_index = 111, 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(658,1,1,{ tex_index = 111, 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(658,2,0,{ tex_index = 111, 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(658,2,1,{ tex_index = 111, 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(658,2,2,{ tex_index = 111, 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(658,2,3,{ tex_index = 111, 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(658,2,4,{ tex_index = 494, 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(658,2,5,{ tex_index = 494, 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(658,2,6,{ tex_index = 494, 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:remove_frame(658,2,9) pat:remove_frame(658,2,8) pat:remove_frame(658,2,7) pat:update_frame(658,3,0, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -30 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(658,3,1, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -30 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(658,3,2, { tex_index = 298 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -48 , hurtbox = pat:get_frame(6,0,1).hurtbox }) end function mods.s5sc_volcano_new(pat) local baseX = 70 local baseY = 195 local baseY2 = -8 pat:update_frame(608,0,0,{ tex_index = 494, 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(608,0,1,{ tex_index = 495, 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(602,0,2,{ tex_index = 495, 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(608,0,2,{ tex_index = 496, 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(608,0,3,{ tex_index = 497, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(0,0,0).hurtbox}) --, hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(608,0,4,{ tex_index = 498, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +20 , tex_offset_y = baseY +6 }) pat:update_frame(608,0,5,{ tex_index = 499, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +28 , tex_offset_y = baseY +4 }) pat:update_frame(608,0,6,{ tex_index = 500, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +22 , tex_offset_y = baseY +4 }) pat:update_frame(608,0,7,{ tex_index = 110, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY +2 }) pat:update_frame(608,0,8,{ tex_index = 111, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +0 , tex_offset_y = baseY +0 }) pat:update_frame(608,0,9,{ tex_index = 111, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +0 , tex_offset_y = baseY +0 }) pat:update_frame(608,0,10,{ tex_index = 111, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +0 , tex_offset_y = baseY +0 }) pat:update_frame(608,0,11,{ tex_index = 111, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +0 , tex_offset_y = baseY +0 }) pat:update_frame(608,0,12,{ tex_index = 111, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +0 , tex_offset_y = baseY +0 }) pat:update_frame(608,0,13,{ tex_index = 111, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +0 , tex_offset_y = baseY +0 }) pat:update_frame(608,1,0,{ tex_index = 111, 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(608,1,1,{ tex_index = 111, 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(608,2,0,{ tex_index = 111, 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(608,2,1,{ tex_index = 111, 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(608,2,2,{ tex_index = 111, 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(608,2,3,{ tex_index = 111, 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(608,2,4,{ tex_index = 494, 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(608,2,5,{ tex_index = 494, 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(608,2,6,{ tex_index = 494, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +0 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(0,0,0).hurtbox }) local baseX = 70 local baseY = 195 local baseX2 = 12 local baseY2 = 10 pat:update_frame(608,0,0, { tex_index = 550, tex_h = 128 , tex_w = 128 , tex_offset_x = baseX +44-8 , tex_offset_y = baseY +baseY2 -32+0 , hurtbox = pat:get_frame(309,0,0).hurtbox , duration = 5 }) pat:update_frame(608,0,1, { tex_index = 551, tex_h = 128 , tex_w = 128 , tex_offset_x = baseX +42-16 , tex_offset_y = baseY +baseY2 -58+8 , hurtbox = pat:get_frame(309,0,2).hurtbox , collision = pat:get_frame(9,0,0).collision , fflags = pat:get_frame(608,0,0).fflags , duration = 4 }) pat:update_frame(608,0,2, { tex_index = 552, tex_h = 128 , tex_w = 128 , tex_offset_x = baseX +24-24 , tex_offset_y = baseY +baseY2 -4+16 , hurtbox = pat:get_frame(309,0,4).hurtbox , collision = pat:get_frame(9,0,0).collision , fflags = pat:get_frame(608,0,0).fflags , duration = 4 }) pat:update_frame(608,0,3, { tex_index = 553, tex_h = 128 , tex_w = 128 , tex_offset_x = baseX +12-24 , tex_offset_y = baseY +baseY2 -30+16 , hurtbox = pat:get_frame(309,0,5).hurtbox , collision = pat:get_frame(9,0,0).collision , fflags = pat:get_frame(608,0,0).fflags , duration = 4 }) pat:update_frame(608,0,4, { tex_index = 554, tex_h = 128 , tex_w = 128 , tex_offset_x = baseX -6-4 , tex_offset_y = baseY +baseY2 -40+16 , hurtbox = pat:get_frame(309,0,6).hurtbox , collision = pat:get_frame(9,0,0).collision , fflags = pat:get_frame(608,0,0).fflags , duration = 4 }) pat:update_frame(608,0,5, { tex_index = 555, tex_h = 128 , tex_w = 128 , tex_offset_x = baseX +4-0 , tex_offset_y = baseY +baseY2 -44+8 , hurtbox = pat:get_frame(309,0,7).hurtbox , collision = pat:get_frame(9,0,0).collision , fflags = pat:get_frame(608,0,0).fflags , duration = 4 }) pat:update_frame(608,0,6, { tex_index = 556, tex_h = 128 , tex_w = 128 , tex_offset_x = baseX +16+4 , tex_offset_y = baseY +baseY2 -36+0 , hurtbox = pat:get_frame(309,0,8).hurtbox , collision = pat:get_frame(9,0,0).collision , fflags = pat:get_frame(608,0,0).fflags , duration = 4 }) pat:update_frame(608,0,7, { tex_index = 556, tex_h = 128 , tex_w = 128 , tex_offset_x = baseX +16+4 , tex_offset_y = baseY +baseY2 -36+0 , hurtbox = pat:get_frame(309,0,8).hurtbox , collision = pat:get_frame(9,0,0).collision , fflags = pat:get_frame(608,0,0).fflags , duration = 1 }) pat:update_frame(608,0,8, { tex_index = 556, tex_h = 128 , tex_w = 128 , tex_offset_x = baseX +16+4 , tex_offset_y = baseY +baseY2 -36+0 , hurtbox = pat:get_frame(309,0,8).hurtbox , collision = pat:get_frame(9,0,0).collision , fflags = pat:get_frame(608,0,0).fflags , duration = 1 }) pat:update_frame(608,0,9, { tex_index = 556, tex_h = 128 , tex_w = 128 , tex_offset_x = baseX +16+4 , tex_offset_y = baseY +baseY2 -36+0 , hurtbox = pat:get_frame(309,0,8).hurtbox , collision = pat:get_frame(9,0,0).collision , fflags = pat:get_frame(608,0,0).fflags , duration = 1 }) pat:update_frame(608,0,10, { tex_index = 556, tex_h = 128 , tex_w = 128 , tex_offset_x = baseX +16+4 , tex_offset_y = baseY +baseY2 -36+0 , hurtbox = pat:get_frame(309,0,8).hurtbox , collision = pat:get_frame(9,0,0).collision , fflags = pat:get_frame(608,0,0).fflags , duration = 1 }) --pat:update_frame(608,0,7, { tex_index = 557, tex_h = 128 , tex_w = 128 , tex_offset_x = baseX +28+8 , tex_offset_y = baseY +baseY2 -42+32 , hurtbox = pat:get_frame(309,0,9).hurtbox , duration = 2 }) --pat:update_frame(608,0,8, { tex_index = 557, tex_h = 128 , tex_w = 128 , tex_offset_x = baseX +28+8 , tex_offset_y = baseY +baseY2 -42+32 , hurtbox = pat:get_frame(309,0,9).hurtbox , duration = 1 }) --pat:update_frame(608,0,9, { tex_index = 557, tex_h = 128 , tex_w = 128 , tex_offset_x = baseX +28+8 , tex_offset_y = baseY +baseY2 -42+32 , hurtbox = pat:get_frame(309,0,9).hurtbox , duration = 3 }) --pat:update_frame(608,0,10, { tex_index = 557, tex_h = 128 , tex_w = 128 , tex_offset_x = baseX +28+8 , tex_offset_y = baseY +baseY2 -42+32 , hurtbox = pat:get_frame(309,0,9).hurtbox , duration = 3 }) pat:update_frame(608,0,11, { tex_index = 17, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +0 , tex_offset_y = baseY +baseY2 -36 , duration = 40 }) for idx = 0 , 11 do pat:update_frame(608,0,idx,function(frame) unset_fflag(frame,FF_AIRBORNE) end) end pat:update_frame(608,0,2,function(frame) frame.attackbox = pat:get_frame(0,0,0).hurtbox frame.attackbox[1].x1 = -60 frame.attackbox[1].x2 = 120 frame.attackbox[1].y1 = frame.attackbox[1].y1 + 100 frame.damage = 1000 frame.chip_damage = 250 frame.untech = 6000 frame.aflags = 0x0000700e frame.fflags = 0x00c00444 frame.limit = 0 frame.combo_correction = CC_LIFT_ATTACK frame.hit_ani_ground = 77 frame.hit_ani_air = 77 frame.proration = 930 frame.sp_damage = 200 frame.attack_level = AL_SUPERHEAVY frame.card_gain_hit = 0 frame.card_gain_block = 0 frame.launch_vector_x = -0 frame.launch_vector_y = 2000 frame.hit_sfx = pat:get_frame(307,0,4).hit_sfx frame.hit_effect = pat:get_frame(307,0,4).hit_effect frame.unknown_9 = 100 frame.hitstop_self = 10 frame.hitstop_enemy = 10 frame.blockstop_self = 10 frame.blockstop_enemy = 10 end) pat:update_frame(608,0,3,function(frame) frame.attackbox = pat:get_frame(0,0,0).hurtbox frame.attackbox[1].x1 = -60 frame.attackbox[1].x2 = 120 frame.damage = 1000 frame.chip_damage = 250 frame.untech = 6000 frame.aflags = 0x0000700e frame.fflags = 0x00c00444 frame.limit = 0 frame.combo_correction = CC_LIFT_ATTACK frame.hit_ani_ground = 77 frame.hit_ani_air = 77 frame.proration = 930 frame.sp_damage = 200 frame.attack_level = AL_SUPERHEAVY frame.card_gain_hit = 0 frame.card_gain_block = 0 frame.launch_vector_x = -0 frame.launch_vector_y = 1250 frame.hit_sfx = pat:get_frame(307,0,4).hit_sfx frame.hit_effect = pat:get_frame(307,0,4).hit_effect frame.unknown_9 = 100 frame.hitstop_self = 10 frame.hitstop_enemy = 10 frame.blockstop_self = 10 frame.blockstop_enemy = 10 end) local baseY = 195 pat:update_frame(658,0,0,{ tex_index = 494, 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(658,0,1,{ tex_index = 495, 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(602,0,2,{ tex_index = 495, 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(658,0,2,{ tex_index = 496, 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(658,0,3,{ tex_index = 497, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(0,0,0).hurtbox}) --, hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:remove_frame(658,0,3) pat:split_frame(658,0,5,3,3) pat:update_frame(658,0,0, { tex_index = 17, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +0 , tex_offset_y = baseY +baseY2 -36 , duration = 3 }) pat:update_frame(658,0,1, { tex_index = 17, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +0 , tex_offset_y = baseY +baseY2 -36 , duration = 3 }) pat:update_frame(658,0,2, { tex_index = 17, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +0 , tex_offset_y = baseY +baseY2 -36 , duration = 3 }) pat:update_frame(658,0,3, { tex_index = 18, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY +baseY2 -54 , duration = 40 }) pat:update_frame(658,0,4, { tex_index = 18, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY +baseY2 -54 , duration = 3 }) pat:update_frame(658,0,5, { tex_index = 442, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +34 , tex_offset_y = baseY +baseY2 -36 , duration = 3 }) pat:update_frame(658,0,5,function(frame) frame.attackbox = pat:get_frame(0,0,0).hurtbox frame.attackbox[1].x1 = 60 frame.attackbox[1].x2 = 120 frame.attackbox[1].y1 = -40 frame.attackbox[1].y2 = 20 end) pat:update_frame(658,0,6, { tex_index = 443, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +34 , tex_offset_y = baseY +baseY2 -48 , hurtbox = pat:get_frame(658,0,5).hurtbox , attackbox = pat:get_frame(658,0,5).attackbox , duration = 3 }) pat:update_frame(658,0,7, { tex_index = 442, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +34 , tex_offset_y = baseY +baseY2 -36 , hurtbox = pat:get_frame(658,0,5).hurtbox , attackbox = pat:get_frame(658,0,5).attackbox , duration = 3 }) pat:update_frame(658,0,8, { tex_index = 443, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +34 , tex_offset_y = baseY +baseY2 -48 , hurtbox = pat:get_frame(658,0,5).hurtbox , attackbox = pat:get_frame(658,0,5).attackbox , duration = 3 }) pat:update_frame(658,0,9, { tex_index = 442, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +34 , tex_offset_y = baseY +baseY2 -36 , hurtbox = pat:get_frame(658,0,5).hurtbox , attackbox = pat:get_frame(658,0,5).attackbox , duration = 3 }) pat:update_frame(658,0,10, { tex_index = 443, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +34 , tex_offset_y = baseY +baseY2 -48 , hurtbox = pat:get_frame(658,0,5).hurtbox , attackbox = pat:get_frame(658,0,5).attackbox , duration = 3 }) pat:update_frame(658,0,11, { tex_index = 442, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +34 , tex_offset_y = baseY +baseY2 -36 , hurtbox = pat:get_frame(658,0,5).hurtbox , attackbox = pat:get_frame(658,0,5).attackbox , duration = 3 }) pat:update_frame(658,0,12, { tex_index = 443, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +34 , tex_offset_y = baseY +baseY2 -48 , hurtbox = pat:get_frame(658,0,5).hurtbox , attackbox = pat:get_frame(658,0,5).attackbox , duration = 3 }) pat:update_frame(658,0,13, { tex_index = 442, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +34 , tex_offset_y = baseY +baseY2 -36 , hurtbox = pat:get_frame(658,0,5).hurtbox , attackbox = pat:get_frame(658,0,5).attackbox , duration = 600 }) for idx = 5 , 13 do pat:update_frame(658,0,idx,function(frame) frame.damage = 1000 frame.chip_damage = 250 frame.untech = 6000 frame.aflags = 0x0000700e --frame.fflags = pat:get_frame(800,0,0).fflags frame.fflags = 0x00c00444 frame.limit = 0 frame.combo_correction = CC_SMASH_ATTACK frame.hit_ani_air = 88 frame.hit_ani_ground = 88 frame.proration = 930 frame.sp_damage = 5 frame.attack_level = AL_HEAVY frame.card_gain_hit = 20 frame.card_gain_block = 20 frame.launch_vector_x = 2300 frame.launch_vector_y = -1500 frame.hit_sfx = 3 frame.hit_effect = 3 frame.unknown_9 = 100 frame.hitstop_self = 10 frame.hitstop_enemy = 10 frame.blockstop_self = 10 frame.blockstop_enemy = 10 end) end pat:update_frame(658,1,0, { tex_index = 442, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +34 , tex_offset_y = baseY +baseY2 -36 , hurtbox = pat:get_frame(658,0,5).hurtbox }) pat:update_frame(658,1,1, { tex_index = 443, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +34 , tex_offset_y = baseY +baseY2 -48 , hurtbox = pat:get_frame(658,0,5).hurtbox }) pat:update_frame(658,2,0, { tex_index = 490 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +14 , tex_offset_y = baseY +6 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 80 , fflags = 0x00000001 }) pat:update_frame(658,2,1, { tex_index = 290 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +0 , tex_offset_y = baseY +6 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 6 , fflags = 0x00000001 }) pat:remove_frame(658,2,9) pat:remove_frame(658,2,8) pat:remove_frame(658,2,7) pat:remove_frame(658,2,6) pat:remove_frame(658,2,5) pat:remove_frame(658,2,4) pat:remove_frame(658,2,3) pat:remove_frame(658,2,2) pat:update_frame(658,3,0, { tex_index = 442, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +34 , tex_offset_y = baseY +baseY2 -36 , hurtbox = pat:get_frame(658,0,5).hurtbox , duration = 10, fflags = 0x00000001 }) pat:update_frame(658,3,1, { tex_index = 490 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +14 , tex_offset_y = baseY +6 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 100, fflags = 0x00000001 }) pat:update_frame(658,3,2, { tex_index = 290 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +0 , tex_offset_y = baseY +6 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 100, fflags = 0x00000001 }) for idx = 0 , 1 do pat:update_frame(658,3,idx,function(frame) set_fflag(frame,FF_MELEE_INV) set_fflag(frame,FF_BULLET_INV) end) end for idx = 0 , 4 do pat:update_frame(858,2,idx,function(frame) frame.tex_w = 0 frame.attackbox = pat:get_frame(0,0,0).attackbox frame.hurtbox = pat:get_frame(0,0,0).attackbox end) end for idx = 2 , 12 do pat:split_frame(858,1,0,1,1) end local fireStart = 0 for idx = 0 , 12 do pat:add_particle_info(858,1,idx) pat:update_frame(858,1,idx,function(frame) frame.blending_mode = 1 frame.fflags = 0x00000000 frame.aflags = 0x0002150f frame.hurtbox = pat:get_frame(0,0,0).attackbox frame.attackbox = pat:get_frame(0,0,0).attackbox if (idx= fireStart) then if ((idx-fireStart)%6 == 0) then pat:update_frame(858,1,idx, { tex_index = 166, tex_h = 160 , tex_w = 158 , tex_offset_x = 67 , tex_offset_y = 140 , scale_x = 600 , scale_y = 600 }) elseif ((idx-fireStart)%6 == 1) then pat:update_frame(858,1,idx, { tex_index = 167, tex_h = 160 , tex_w = 158 , tex_offset_x = 69 , tex_offset_y = 141 , scale_x = 500 , scale_y = 500 }) elseif ((idx-fireStart)%6 == 2) then pat:update_frame(858,1,idx, { tex_index = 168, tex_h = 160 , tex_w = 158 , tex_offset_x = 70 , tex_offset_y = 141 , scale_x = 450 , scale_y = 450 }) elseif ((idx-fireStart)%6 == 3) then pat:update_frame(858,1,idx, { tex_index = 169, tex_h = 160 , tex_w = 158 , tex_offset_x = 69 , tex_offset_y = 142 , scale_x = 400 , scale_y = 400 }) elseif ((idx-fireStart)%6 == 4) then pat:update_frame(858,1,idx, { tex_index = 170, tex_h = 160 , tex_w = 158 , tex_offset_x = 67 , tex_offset_y = 145 , scale_x = 350 , scale_y = 350 }) elseif ((idx-fireStart)%6 == 5) then pat:update_frame(858,1,idx, { tex_index = 168, tex_h = 160 , tex_w = 158 , tex_offset_x = 70 , tex_offset_y = 141 , scale_x = 300 , scale_y = 300 }) elseif (idx-fireStart == 0) then pat:update_frame(858,1,idx, { tex_index = 161, tex_h = 160 , tex_w = 158 , tex_offset_x = 33 , tex_offset_y = 99 , scale_x = 250 , scale_y = 250 }) elseif (idx-fireStart == 1) then pat:update_frame(858,1,idx, { tex_index = 162, tex_h = 160 , tex_w = 158 , tex_offset_x = 37 , tex_offset_y = 105 , scale_x = 200 , scale_y = 200 }) elseif (idx-fireStart == 2) then pat:update_frame(858,1,idx, { tex_index = 163, tex_h = 160 , tex_w = 158 , tex_offset_x = 52 , tex_offset_y = 131 , scale_x = 400 , scale_y = 400 }) elseif (idx-fireStart == 3) then pat:update_frame(858,1,idx, { tex_index = 164, tex_h = 160 , tex_w = 158 , tex_offset_x = 59 , tex_offset_y = 140 , scale_x = 200 , scale_y = 200 }) elseif (idx-fireStart == 4) then pat:update_frame(858,1,idx, { tex_index = 165, tex_h = 160 , tex_w = 158 , tex_offset_x = 63 , tex_offset_y = 140 , scale_x = 400 , scale_y = 400 }) end end end --[[ pat:update_frame(858,2,0, { tex_index = 166, tex_h = 160 , tex_w = 158 , tex_offset_x = 67 , tex_offset_y = 140 , scale_x = 800 , scale_y = 800 }) pat:update_frame(858,2,1, { tex_index = 167, tex_h = 160 , tex_w = 158 , tex_offset_x = 69 , tex_offset_y = 141 , scale_x = 800 , scale_y = 800 }) pat:update_frame(858,2,2, { tex_index = 168, tex_h = 160 , tex_w = 158 , tex_offset_x = 70 , tex_offset_y = 141 , scale_x = 800 , scale_y = 800 }) pat:update_frame(858,2,3, { tex_index = 169, tex_h = 160 , tex_w = 158 , tex_offset_x = 69 , tex_offset_y = 142 , scale_x = 800 , scale_y = 800 }) pat:update_frame(858,2,4, { tex_index = 170, tex_h = 160 , tex_w = 158 , tex_offset_x = 67 , tex_offset_y = 145 , scale_x = 800 , scale_y = 800 }) pat:update_frame(858,2,5, { tex_index = 171, tex_h = 160 , tex_w = 158 , tex_offset_x = 36 , tex_offset_y = 145 , scale_x = 800 , scale_y = 800 }) pat:update_frame(858,2,6, { tex_index = 172, tex_h = 160 , tex_w = 158 , tex_offset_x = 39 , tex_offset_y = 146 , scale_x = 800 , scale_y = 800 }) pat:update_frame(858,2,7, { tex_index = 173, tex_h = 160 , tex_w = 158 , tex_offset_x = 32 , tex_offset_y = 129 , scale_x = 800 , scale_y = 800 }) pat:remove_frame(858,2,9) pat:remove_frame(858,2,8) ]]-- end function mods.s2sc_haste(pat) local baseX = 70 local baseY = 195 pat:update_frame(607,0,0,{ tex_index = 494, 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(607,0,1,{ tex_index = 495, 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(602,0,2,{ tex_index = 495, 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(607,0,2,{ tex_index = 496, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +6 , tex_offset_y = baseY -2 }) pat:update_frame(607,0,3,{ tex_index = 497, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(0,0,0).hurtbox}) --, hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(607,0,4,{ tex_index = 498, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +20 , tex_offset_y = baseY +6 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(607,0,5,{ tex_index = 499, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +28 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(607,0,6,{ tex_index = 500, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +22 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(607,0,7,{ tex_index = 110, 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(607,0,8,{ tex_index = 111, 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(607,0,9,{ tex_index = 111, 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(607,0,10,{ tex_index = 111, 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(607,0,11,{ tex_index = 111, 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(607,0,12,{ tex_index = 111, 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(607,0,13,{ tex_index = 111, 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(607,0,14,{ tex_index = 111, 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(607,0,15,{ tex_index = 111, 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(607,0,16,{ tex_index = 494, 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(607,0,17,{ tex_index = 494, 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(607,0,18,{ tex_index = 494, 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:remove_frame(607,0,13) pat:remove_frame(607,0,12) pat:remove_frame(607,0,11) pat:remove_frame(607,0,10) pat:remove_frame(607,0,9) pat:remove_frame(607,0,8) pat:remove_frame(607,0,7) pat:remove_frame(607,0,6) pat:split_frame(607,0,5,2,3) pat:split_frame(607,0,5,3,3) pat:split_frame(607,0,5,3,3) pat:split_frame(607,0,5,3,3) pat:split_frame(607,0,5,3,3) pat:split_frame(607,0,5,3,3) pat:split_frame(607,0,5,3,3) pat:update_frame(607,0,6,{ tex_index = 500, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +22 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(607,0,7,{ tex_index = 110, 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(607,0,8,{ tex_index = 111, 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(607,0,9,{ tex_index = 111, 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(607,0,10,{ tex_index = 111, 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(607,0,11,{ tex_index = 111, 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(607,0,12,{ tex_index = 111, 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:split_frame(657,0,16,2,2) pat:split_frame(657,0,16,2,2) pat:update_frame(657,0,0,{ tex_index = 494, 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(657,0,1,{ tex_index = 495, 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(602,0,2,{ tex_index = 495, 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(657,0,2,{ tex_index = 496, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +6 , tex_offset_y = baseY -2 }) pat:update_frame(657,0,3,{ tex_index = 497, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(0,0,0).hurtbox}) --, hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(657,0,4,{ tex_index = 498, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +20 , tex_offset_y = baseY +6 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(657,0,5,{ tex_index = 499, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +28 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(657,0,6,{ tex_index = 500, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +22 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(657,0,7,{ tex_index = 110, 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(657,0,8,{ tex_index = 111, 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(657,0,9,{ tex_index = 111, 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(657,0,10,{ tex_index = 111, 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(657,0,11,{ tex_index = 111, 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(657,0,12,{ tex_index = 111, 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(657,0,13,{ tex_index = 111, 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(657,0,14,{ tex_index = 111, 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(657,0,15,{ tex_index = 111, 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(657,0,16,{ tex_index = 494, 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(657,0,17,{ tex_index = 494, 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(657,0,18,{ tex_index = 494, 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:remove_frame(657,0,13) pat:remove_frame(657,0,12) pat:remove_frame(657,0,11) pat:remove_frame(657,0,10) pat:remove_frame(657,0,9) pat:remove_frame(657,0,8) pat:remove_frame(657,0,7) pat:remove_frame(657,0,6) pat:split_frame(657,0,5,2,3) pat:split_frame(657,0,5,3,3) pat:split_frame(657,0,5,3,3) pat:split_frame(657,0,5,3,3) pat:split_frame(657,0,5,3,3) pat:split_frame(657,0,5,3,3) pat:split_frame(657,0,5,3,3) pat:update_frame(657,0,6,{ tex_index = 500, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +22 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(657,0,7,{ tex_index = 110, 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(657,0,8,{ tex_index = 111, 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(657,0,9,{ tex_index = 111, 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(657,0,10,{ tex_index = 111, 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(657,0,11,{ tex_index = 111, 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(657,0,12,{ tex_index = 111, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +0 , tex_offset_y = baseY +0 , hurtbox = pat:get_frame(0,0,0).hurtbox }) local baseFX = 0 local baseFY = 40 --pat:update_frame(857,0,0, { tex_index = 116 , tex_h = 256 , tex_w = 256 , tex_offset_x = baseFX +75 , tex_offset_y = baseFY +115 }) pat:update_frame(857,0,0, { tex_index = 118 , tex_h = 256 , tex_w = 256 , tex_offset_x = baseFX +76 , tex_offset_y = baseFY +114 }) pat:update_frame(857,0,1, { tex_index = 117 , tex_h = 256 , tex_w = 256 , tex_offset_x = baseFX +72 , tex_offset_y = baseFY +115 }) pat:update_frame(857,0,2, { tex_index = 118 , tex_h = 256 , tex_w = 256 , tex_offset_x = baseFX +76 , tex_offset_y = baseFY +114 }) pat:update_frame(857,0,3, { tex_index = 117 , tex_h = 256 , tex_w = 256 , tex_offset_x = baseFX +72 , tex_offset_y = baseFY +115 }) pat:update_frame(857,0,4, { tex_index = 118 , tex_h = 256 , tex_w = 256 , tex_offset_x = baseFX +76 , tex_offset_y = baseFY +114 }) pat:update_frame(857,0,5, { tex_index = 117 , tex_h = 256 , tex_w = 256 , tex_offset_x = baseFX +72 , tex_offset_y = baseFY +115 }) pat:update_frame(857,0,6, { tex_index = 118 , tex_h = 256 , tex_w = 256 , tex_offset_x = baseFX +76 , tex_offset_y = baseFY +114 }) pat:update_frame(857,0,7, { tex_index = 117 , tex_h = 256 , tex_w = 256 , tex_offset_x = baseFX +72 , tex_offset_y = baseFY +115 }) pat:update_frame(857,0,8, { tex_index = 118 , tex_h = 256 , tex_w = 256 , tex_offset_x = baseFX +76 , tex_offset_y = baseFY +114 }) pat:update_frame(857,0,9, { tex_index = 117 , tex_h = 256 , tex_w = 256 , tex_offset_x = baseFX +72 , tex_offset_y = baseFY +115 }) pat:get_sequence(857,0):set_priority(30,0) for idx = 0 , 9 do pat:update_frame(857,0,idx,function(frame) frame.fflags = pat:get_frame(800,0,0).fflags frame.aflags = pat:get_frame(800,0,0).aflags frame.duration = 4 frame.scale_x = 200 frame.scale_y = 200 frame.hurtbox = pat:get_frame(0,0,0).hurtbox frame.hurtbox[1].x1 = -200 frame.hurtbox[1].x2 = 200 frame.hurtbox[1].y1 = -200 frame.hurtbox[1].y2 = 200 end) end end function mods.s2sc_cyclone(pat) local baseX = 70 local baseY = 195 pat:update_frame(605,0,0, { tex_index = 22, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +18 , tex_offset_y = baseY -12 , hurtbox = pat:get_frame(410,0,0).hurtbox }) pat:update_frame(605,0,1, { tex_index = 23, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +38 , tex_offset_y = baseY -14 , hurtbox = pat:get_frame(410,0,0).hurtbox }) pat:update_frame(605,0,2, { tex_index = 24, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +46 , tex_offset_y = baseY -18 , hurtbox = pat:get_frame(410,0,0).hurtbox }) pat:update_frame(605,0,3, { tex_index = 25, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +46 , tex_offset_y = baseY -20 , hurtbox = pat:get_frame(410,0,0).hurtbox }) pat:update_frame(605,0,4, { tex_index = 25, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +46 , tex_offset_y = baseY -20 , hurtbox = pat:get_frame(410,0,0).hurtbox }) pat:update_frame(605,0,5, { tex_index = 25, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +46 , tex_offset_y = baseY -20 , hurtbox = pat:get_frame(410,0,0).hurtbox }) pat:update_frame(605,0,6, { tex_index = 26, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +48 , tex_offset_y = baseY -22 , hurtbox = pat:get_frame(410,0,0).hurtbox }) -- fires here pat:update_frame(605,0,7, { tex_index = 27, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +50 , tex_offset_y = baseY -20 , hurtbox = pat:get_frame(410,0,0).hurtbox }) pat:update_frame(605,0,8, { tex_index = 28, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +48 , tex_offset_y = baseY -18 , hurtbox = pat:get_frame(410,0,0).hurtbox })--, duration = 26-4 }) pat:update_frame(605,0,9, { tex_index = 29, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +34 , tex_offset_y = baseY -20 , hurtbox = pat:get_frame(410,0,0).hurtbox }) pat:update_frame(605,0,10, { tex_index = 23, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +38 , tex_offset_y = baseY -14 , hurtbox = pat:get_frame(410,0,0).hurtbox }) --pat:update_frame(410,0,10, { tex_index = 22, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +18 , tex_offset_y = baseY -12 , hurtbox = pat:get_frame(410,0,0).hurtbox }) local baseY2 = -8 pat:update_frame(605,0,0, { tex_index = 78, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +28 , tex_offset_y = baseY +baseY2 -18 , hurtbox = pat:get_frame(302,0,0).hurtbox }) pat:update_frame(605,0,1, { tex_index = 78, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +28 , tex_offset_y = baseY +baseY2 -18 , hurtbox = pat:get_frame(302,0,1).hurtbox }) pat:update_frame(605,0,2, { tex_index = 79, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +50 , tex_offset_y = baseY +baseY2 -28 , hurtbox = pat:get_frame(302,0,2).hurtbox , duration = 3 + 3 }) pat:update_frame(605,0,3, { tex_index = 79, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +50 , tex_offset_y = baseY +baseY2 -28 , hurtbox = pat:get_frame(302,0,3).hurtbox }) pat:update_frame(605,0,4, { tex_index = 79, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +50 , tex_offset_y = baseY +baseY2 -28 , hurtbox = pat:get_frame(302,0,3).hurtbox }) pat:update_frame(605,0,5, { tex_index = 176, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +28 -50, tex_offset_y = baseY +baseY2 -30 , hurtbox = pat:get_frame(302,0,4).hurtbox }) pat:update_frame(605,0,6, { tex_index = 177, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +32 -60, tex_offset_y = baseY +baseY2 -30 , hurtbox = pat:get_frame(302,0,5).hurtbox }) -- fires here pat:update_frame(605,0,7, { tex_index = 177, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +32 -60, tex_offset_y = baseY +baseY2 -30 , hurtbox = pat:get_frame(302,0,6).hurtbox }) pat:update_frame(605,0,8, { tex_index = 177, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +32 -60, tex_offset_y = baseY +baseY2 -30 , hurtbox = pat:get_frame(302,0,7).hurtbox }) pat:update_frame(605,0,9, { tex_index = 178, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 -40, tex_offset_y = baseY +baseY2/2 -18 , hurtbox = pat:get_frame(302,0,8).hurtbox }) pat:update_frame(605,0,10, { tex_index = 179, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +6 -20, tex_offset_y = baseY -10 , hurtbox = pat:get_frame(302,0,9).hurtbox }) -- new local baseX = 0 local baseY = -35 for idx = 0 , 7 do if (idx%6==0) then pat:update_frame(855,0,idx, { tex_index = 418, tex_h = 320 , tex_w = 320 , tex_offset_x = baseX +150 , tex_offset_y = baseY +270 }) elseif (idx%6==1) then pat:update_frame(855,0,idx, { tex_index = 419, tex_h = 320 , tex_w = 320 , tex_offset_x = baseX +148 , tex_offset_y = baseY +270 }) elseif (idx%6==2) then pat:update_frame(855,0,idx, { tex_index = 420, tex_h = 320 , tex_w = 320 , tex_offset_x = baseX +147 , tex_offset_y = baseY +246 }) elseif (idx%6==3) then pat:update_frame(855,0,idx, { tex_index = 421, tex_h = 320 , tex_w = 320 , tex_offset_x = baseX +146 , tex_offset_y = baseY +238 }) elseif (idx%6==4) then pat:update_frame(855,0,idx, { tex_index = 422, tex_h = 320 , tex_w = 320 , tex_offset_x = baseX +150 , tex_offset_y = baseY +262 }) elseif (idx%6==5) then pat:update_frame(855,0,idx, { tex_index = 423, tex_h = 320 , tex_w = 320 , tex_offset_x = baseX +150 , tex_offset_y = baseY +244 }) end pat:update_frame(855,0,idx,function(frame) frame.angle_z = 270 frame.scale_x = 50*idx/7 end) end pat:remove_frame(855,0,7) pat:remove_frame(855,0,6) pat:remove_frame(855,0,5) pat:remove_frame(855,0,3) pat:remove_frame(855,0,2) pat:remove_frame(855,0,1) for idx = 0 , 120 do pat:split_frame(855,1,0,1,1) end for idx = 0 , 121 +16 do if (idx%6==0) then pat:update_frame(855,1,idx, { tex_index = 418, tex_h = 320 , tex_w = 320 , tex_offset_x = baseX +150 , tex_offset_y = baseY +270 }) elseif (idx%6==1) then pat:update_frame(855,1,idx, { tex_index = 419, tex_h = 320 , tex_w = 320 , tex_offset_x = baseX +148 , tex_offset_y = baseY +270 }) elseif (idx%6==2) then pat:update_frame(855,1,idx, { tex_index = 420, tex_h = 320 , tex_w = 320 , tex_offset_x = baseX +147 , tex_offset_y = baseY +246 }) elseif (idx%6==3) then pat:update_frame(855,1,idx, { tex_index = 421, tex_h = 320 , tex_w = 320 , tex_offset_x = baseX +146 , tex_offset_y = baseY +238 }) elseif (idx%6==4) then pat:update_frame(855,1,idx, { tex_index = 422, tex_h = 320 , tex_w = 320 , tex_offset_x = baseX +150 , tex_offset_y = baseY +262 }) elseif (idx%6==5) then pat:update_frame(855,1,idx, { tex_index = 423, tex_h = 320 , tex_w = 320 , tex_offset_x = baseX +150 , tex_offset_y = baseY +244 }) end pat:update_frame(855,1,idx,function(frame) frame.angle_z = 270 frame.scale_x = 50 frame.attackbox[1].x1 = frame.attackbox[1].x1 - 0 frame.attackbox[1].x2 = frame.attackbox[1].x2 - 0 frame.attackbox[1].y1 = frame.attackbox[1].y1 + 50 frame.attackbox[1].y2 = frame.attackbox[1].y2 - 50 frame.attackbox[2].x1 = frame.attackbox[2].x1 - 0 frame.attackbox[2].x2 = frame.attackbox[2].x2 - 0 frame.attackbox[3].x1 = frame.attackbox[3].x1 - 0 frame.attackbox[3].x2 = frame.attackbox[3].x2 - 0 frame.damage = frame.damage * 0.5 frame.chip_damage = frame.chip_damage * 0.5 frame.sp_damage = frame.sp_damage *.5 frame.blockstop_self = 0 frame.blockstop_enemy = 5 frame.hitstop_self = 0 frame.hitstop_enemy = 5 frame.combo_correction = CC_SMASH_ATTACK frame.hit_ani_air = 74 frame.hit_ani_ground = 74 if (idx < 4) then unset_aflag(frame,AF_PROJECTILE) frame.hit_sfx = 4 frame.hit_effect = 7 frame.damage = 1200 frame.chip_damage = 300 frame.sp_damage = 200 frame.blockstop_self = 10 frame.blockstop_enemy = 15 frame.hitstop_self = 10 frame.hitstop_enemy = 15 end if (idx > 16) then frame.attackbox = pat:get_frame(0,0,0).attackbox frame.scale_x = frame.scale_x * (21-idx)/10 unset_fflag(frame,FF_COUNTER_HIT) if (idx >= 21) then frame.scale_x = 0 end end end) end --[[ frame.scale_x = frame.scale_x*2 frame.scale_y = frame.scale_y*2 frame.angle_x = frame.angle_x + 180 local scalemod = 50/frame.scale_x local ymod = 0 local xmod = 100 - 30*idx frame.attackbox[3]=null frame.attackbox[2]=null frame.attackbox[1].x1 = frame.attackbox[1].x1 - 100 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 > 2) then --frame.attackbox[1]=null end frame.damage = frame.damage * 1.5 frame.chip_damage = frame.chip_damage * 1.5 frame.blockstop_self = 5 frame.blockstop_enemy = 10 frame.hitstop_self = 5 frame.hitstop_enemy = 10 frame.combo_correction = CC_SMASH_ATTACK frame.hit_ani_air = 74 frame.hit_ani_ground = 74 frame.launch_vector_x = 2500 frame.launch_vector_y = 600 frame.hit_sfx = 4 frame.hit_effect = 3 ]]-- for idx = 0 , 15 do if (idx%6==0) then pat:update_frame(855,2,idx, { tex_index = 418, tex_h = 320 , tex_w = 320 , tex_offset_x = baseX +150 , tex_offset_y = baseY +270 }) elseif (idx%6==1) then pat:update_frame(855,2,idx, { tex_index = 419, tex_h = 320 , tex_w = 320 , tex_offset_x = baseX +148 , tex_offset_y = baseY +270 }) elseif (idx%6==2) then pat:update_frame(855,2,idx, { tex_index = 420, tex_h = 320 , tex_w = 320 , tex_offset_x = baseX +147 , tex_offset_y = baseY +246 }) elseif (idx%6==3) then pat:update_frame(855,2,idx, { tex_index = 421, tex_h = 320 , tex_w = 320 , tex_offset_x = baseX +146 , tex_offset_y = baseY +238 }) elseif (idx%6==4) then pat:update_frame(855,2,idx, { tex_index = 422, tex_h = 320 , tex_w = 320 , tex_offset_x = baseX +150 , tex_offset_y = baseY +262 }) elseif (idx%6==5) then pat:update_frame(855,2,idx, { tex_index = 423, tex_h = 320 , tex_w = 320 , tex_offset_x = baseX +150 , tex_offset_y = baseY +244 }) end pat:update_frame(855,2,idx,function(frame) frame.angle_z = 270 frame.scale_x = 50*(15-idx)/15 end) end end function mods.s3sc_tornado(pat) local baseX = 70 local baseY = 195 pat:update_frame(600,0,0, { tex_index = 408, 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(600,0,1, { tex_index = 410, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 2 }) pat:update_frame(600,0,2, { tex_index = 412, 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 = 2}) --pat:update_frame(600,0,3, { tex_index = 413, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +30 , tex_offset_y = baseY -8}) pat:update_frame(600,0,3, { tex_index = 414, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +34 , tex_offset_y = baseY -6}) --pat:update_frame(600,0,4, { tex_index = 414, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +34 , tex_offset_y = baseY -6 , hurtbox = pat:get_frame(6,2,2).hurtbox }) pat:update_frame(600,0,4, { tex_index = 415, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +36 , tex_offset_y = baseY -8 , hurtbox = pat:get_frame(0,0,0).hurtbox, duration = 1 }) pat:update_frame(600,0,5, { tex_index = 415, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +36 , tex_offset_y = baseY -8 , hurtbox = pat:get_frame(0,0,0).hurtbox, duration = 1 }) pat:update_frame(600,0,6, { tex_index = 416, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +38 , tex_offset_y = baseY -6 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 1 }) pat:update_frame(600,0,7, { tex_index = 416, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +38 , tex_offset_y = baseY -6 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 1 }) pat:update_frame(600,1,0, { tex_index = 417, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +30 , tex_offset_y = baseY -8 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 1}) pat:update_frame(600,1,1, { tex_index = 417, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +30 , tex_offset_y = baseY -8 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 1}) pat:update_frame(600,1,2, { tex_index = 417, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +30 , tex_offset_y = baseY -8 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 1}) pat:update_frame(600,2,0, { tex_index = 411, 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 = 2}) pat:update_frame(600,2,1, { tex_index = 409, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +2 , tex_offset_y = baseY +6 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 2}) pat:update_frame(600,2,2, { tex_index = 408, 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(850,0,4, {duration = 60} ) pat:update_frame(850,0,0, {tex_w = 0} ) pat:update_frame(850,0,1, {tex_w = 0} ) pat:update_frame(850,0,2, {tex_w = 0} ) pat:update_frame(850,0,3, {tex_w = 0} ) pat:update_frame(850,0,4, {tex_w = 0} ) for idx = 0 , 65 + 20 do pat:split_frame(850,1,0,1,1) end local baseX = 60 local baseY = 0 for idx = 0 , 89 + 20 do pat:update_frame(850,1,idx,function(frame) frame.sp_damage = 200 frame.limit = 20 frame.damage = 1000 frame.proration = 900 frame.chip_damage = 250 frame.attackbox[1].x1 = frame.attackbox[1].x1 - 0 frame.attackbox[1].x2 = frame.attackbox[1].x2 + 40 frame.attackbox[1].y1 = frame.attackbox[1].y1 +80 + idx*10 frame.attackbox[1].y2 = frame.attackbox[1].y2 - (85-idx)*10 frame.blockstop_self = 15 frame.blockstop_enemy = 15 frame.hitstop_self = 15 frame.hitstop_enemy= 15 frame.hit_sfx = 4 frame.hit_effect = 4 frame.attack_level = AL_SUPERHEAVY frame.scale_x = 200 frame.scale_y = 100 baseX = 0 baseY = (87-idx)*5 end) if (idx%6==0) then pat:update_frame(850,1,idx, { tex_index = 418, tex_h = 320 , tex_w = 320 , tex_offset_x = baseX +150 , tex_offset_y = baseY +270 }) elseif (idx%6==1) then pat:update_frame(850,1,idx, { tex_index = 419, tex_h = 320 , tex_w = 320 , tex_offset_x = baseX +148 , tex_offset_y = baseY +270 }) elseif (idx%6==2) then pat:update_frame(850,1,idx, { tex_index = 420, tex_h = 320 , tex_w = 320 , tex_offset_x = baseX +147 , tex_offset_y = baseY +246 }) elseif (idx%6==3) then pat:update_frame(850,1,idx, { tex_index = 421, tex_h = 320 , tex_w = 320 , tex_offset_x = baseX +146 , tex_offset_y = baseY +238 }) elseif (idx%6==4) then pat:update_frame(850,1,idx, { tex_index = 422, tex_h = 320 , tex_w = 320 , tex_offset_x = baseX +150 , tex_offset_y = baseY +262 }) elseif (idx%6==5) then pat:update_frame(850,1,idx, { tex_index = 423, tex_h = 320 , tex_w = 320 , tex_offset_x = baseX +150 , tex_offset_y = baseY +244 }) end end local baseFX = 0 local baseFY = 0--[[ pat:update_frame(850,1,82, { tex_index = 394 , tex_h = 256 , tex_w = 256 , tex_offset_x = baseFX +28 , tex_offset_y = baseFY +25 , scale_x = 300 , scale_y = 150}) pat:update_frame(850,1,83, { tex_index = 395 , tex_h = 256 , tex_w = 256 , tex_offset_x = baseFX +35 , tex_offset_y = baseFY +37 , scale_x = 300 , scale_y = 150 }) pat:update_frame(850,1,84, { tex_index = 396 , tex_h = 256 , tex_w = 256 , tex_offset_x = baseFX +43 , tex_offset_y = baseFY +51 , scale_x = 300 , scale_y = 150 }) pat:update_frame(850,1,85, { tex_index = 397 , tex_h = 256 , tex_w = 256 , tex_offset_x = baseFX +49 , tex_offset_y = baseFY +60 , scale_x = 300 , scale_y = 150 }) pat:update_frame(850,1,86, { tex_index = 398 , tex_h = 256 , tex_w = 256 , tex_offset_x = baseFX +55 , tex_offset_y = baseFY +65 , scale_x = 300 , scale_y = 150 }) pat:update_frame(850,1,87, { tex_index = 399 , tex_h = 256 , tex_w = 256 , tex_offset_x = baseFX +60 , tex_offset_y = baseFY +68 , scale_x = 300 , scale_y = 150 }) pat:update_frame(850,1,88, { tex_index = 400 , tex_h = 256 , tex_w = 256 , tex_offset_x = baseFX +64 , tex_offset_y = baseFY +70 , scale_x = 300 , scale_y = 150 }) pat:update_frame(850,1,89, { tex_index = 401 , tex_h = 256 , tex_w = 256 , tex_offset_x = baseFX +71 , tex_offset_y = baseFY +71 , scale_x = 300 , scale_y = 150 })]]-- pat:split_frame(850,2,0,1,1) pat:split_frame(850,2,0,1,1) pat:split_frame(850,2,0,1,1) pat:split_frame(850,2,0,1,1) pat:update_frame(850,2,0, { tex_index = 394 , tex_h = 256 , tex_w = 256 , tex_offset_x = baseFX +28 , tex_offset_y = baseFY +25 }) pat:update_frame(850,2,1, { tex_index = 395 , tex_h = 256 , tex_w = 256 , tex_offset_x = baseFX +35 , tex_offset_y = baseFY +37 }) pat:update_frame(850,2,2, { tex_index = 396 , tex_h = 256 , tex_w = 256 , tex_offset_x = baseFX +43 , tex_offset_y = baseFY +51 }) pat:update_frame(850,2,3, { tex_index = 397 , tex_h = 256 , tex_w = 256 , tex_offset_x = baseFX +49 , tex_offset_y = baseFY +60 }) pat:update_frame(850,2,4, { tex_index = 398 , tex_h = 256 , tex_w = 256 , tex_offset_x = baseFX +55 , tex_offset_y = baseFY +65 }) pat:update_frame(850,2,5, { tex_index = 399 , tex_h = 256 , tex_w = 256 , tex_offset_x = baseFX +60 , tex_offset_y = baseFY +68 }) pat:update_frame(850,2,6, { tex_index = 400 , tex_h = 256 , tex_w = 256 , tex_offset_x = baseFX +64 , tex_offset_y = baseFY +70 }) pat:update_frame(850,2,7, { tex_index = 401 , tex_h = 256 , tex_w = 256 , tex_offset_x = baseFX +71 , tex_offset_y = baseFY +71 }) pat:update_frame(850,2,8, { tex_index = 402 , tex_h = 256 , tex_w = 256 , tex_offset_x = baseFX +76 , tex_offset_y = baseFY +71 }) pat:update_frame(850,2,9, { tex_index = 403 , tex_h = 256 , tex_w = 256 , tex_offset_x = baseFX +80 , tex_offset_y = baseFY +70 }) pat:update_frame(850,2,10, { tex_index = 404 , tex_h = 256 , tex_w = 256 , tex_offset_x = baseFX +84 , tex_offset_y = baseFY +70 }) pat:update_frame(850,2,11, { tex_index = 405 , tex_h = 256 , tex_w = 256 , tex_offset_x = baseFX +87 , tex_offset_y = baseFY +69 }) pat:update_frame(850,2,12, { tex_index = 406 , tex_h = 256 , tex_w = 256 , tex_offset_x = baseFX +91 , tex_offset_y = baseFY +68 }) pat:update_frame(850,2,13, { tex_index = 407 , tex_h = 256 , tex_w = 256 , tex_offset_x = baseFX +92 , tex_offset_y = baseFY +67 }) for idx = 0 , 13 do pat:update_frame(850,2,idx,function(frame) if (idx >= 8) then local idx2 = idx-8 frame.color_r=255*(5-idx2)/5 frame.color_g=255*(5-idx2)/5 frame.color_b=255*(5-idx2)/5 end frame.duration = 2 frame.scale_x = 400 frame.scale_y = 200 end) end baseFX = 0 for idx = 0 , 13 do if (idx%6==0) then pat:update_frame(850,2,idx, { tex_index = 418, tex_h = 320 , tex_w = 320 , tex_offset_x = baseFX +150 , tex_offset_y = baseFY +270 }) elseif (idx%6==1) then pat:update_frame(850,2,idx, { tex_index = 419, tex_h = 320 , tex_w = 320 , tex_offset_x = baseFX +148 , tex_offset_y = baseFY +270 }) elseif (idx%6==2) then pat:update_frame(850,2,idx, { tex_index = 420, tex_h = 320 , tex_w = 320 , tex_offset_x = baseFX +147 , tex_offset_y = baseFY +246 }) elseif (idx%6==3) then pat:update_frame(850,2,idx, { tex_index = 421, tex_h = 320 , tex_w = 320 , tex_offset_x = baseFX +146 , tex_offset_y = baseFY +238 }) elseif (idx%6==4) then pat:update_frame(850,2,idx, { tex_index = 422, tex_h = 320 , tex_w = 320 , tex_offset_x = baseFX +150 , tex_offset_y = baseFY +262 }) elseif (idx%6==5) then pat:update_frame(850,2,idx, { tex_index = 423, tex_h = 320 , tex_w = 320 , tex_offset_x = baseFX +150 , tex_offset_y = baseFY +244 }) end pat:update_frame(850,2,idx,function(frame) frame.scale_x = 200 frame.scale_y = 100 --frame.scale_x = frame.scale_x * ((10+idx*2)/10) frame.scale_y = frame.scale_y * ((10+idx*2)/10) end) end end function mods.possession(pat) local baseX = 70 local baseY = 195 local baseY2 = -8 pat:update_frame(606,0,0, { tex_index = 78, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +28 , tex_offset_y = baseY +baseY2 -18 , hurtbox = pat:get_frame(302,0,0).hurtbox }) pat:update_frame(606,0,1, { tex_index = 78, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +28 , tex_offset_y = baseY +baseY2 -18 , hurtbox = pat:get_frame(302,0,1).hurtbox }) pat:update_frame(606,0,2, { tex_index = 79, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +50 , tex_offset_y = baseY +baseY2 -28 , hurtbox = pat:get_frame(302,0,2).hurtbox }) pat:update_frame(606,0,3, { tex_index = 79, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +50 , tex_offset_y = baseY +baseY2 -28 , hurtbox = pat:get_frame(302,0,3).hurtbox }) pat:update_frame(606,0,4, { tex_index = 79, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +50 , tex_offset_y = baseY +baseY2 -28 }) pat:update_frame(606,0,5, { tex_index = 79, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +50 , tex_offset_y = baseY +baseY2 -28 , hurtbox = pat:get_frame(302,0,3).hurtbox }) pat:update_frame(606,0,6, { tex_index = 309 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -44 , hurtbox = pat:get_frame(7,1,0).hurtbox }) pat:update_frame(606,1,0, { tex_index = 310 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -20 , hurtbox = pat:get_frame(7,1,0).hurtbox }) pat:update_frame(606,1,1, { tex_index = 310 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -20 , hurtbox = pat:get_frame(7,1,0).hurtbox }) pat:update_frame(606,2,0, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +6 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(6,2,2).hurtbox }) pat:update_frame(606,2,1, { tex_index = 298 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +20 , tex_offset_y = baseY +0 , hurtbox = pat:get_frame(6,2,2).hurtbox }) pat:remove_frame(606,2,6) pat:remove_frame(606,2,5) pat:remove_frame(606,2,4) pat:remove_frame(606,2,3) pat:remove_frame(606,2,2) pat:update_frame(606,3,0, { tex_index = 313 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +56 , tex_offset_y = baseY +6 , hurtbox = pat:get_frame(7,2,4).hurtbox }) pat:update_frame(606,3,1, { tex_index = 313 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +56 , tex_offset_y = baseY +6 , hurtbox = pat:get_frame(7,2,4).hurtbox }) pat:update_frame(606,4,0, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -30 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(606,4,1, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -30 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(606,4,2, { tex_index = 298 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -48 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(606,8,0, { tex_index = 313 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +56 , tex_offset_y = baseY +6 , hurtbox = pat:get_frame(7,2,4).hurtbox }) pat:update_frame(606,8,1, { tex_index = 313 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +56 , tex_offset_y = baseY +6 , hurtbox = pat:get_frame(7,2,4).hurtbox }) pat:update_frame(606,9,0, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -30 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(606,9,1, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -30 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(606,9,2, { tex_index = 298 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -48 , hurtbox = pat:get_frame(6,0,1).hurtbox }) --pat:update_frame(856,4,0, { tex_index = 313 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +56 , tex_offset_y = baseY +6 , scale_x = 400, scale_y = 400, duration = 60 }) pat:update_frame(856,0,0,{tex_w = 0}) for idx = 0 , 14 do pat:update_frame(856,6,idx,function(frame) frame.tex_index=444 frame.color_r=165 * (14-idx)/14 frame.color_g=165 * (14-idx)/14 frame.color_b=165 * (14-idx)/14 frame.tex_offset_x = 80 frame.tex_offset_y = 80 frame.tex_w = 160 frame.tex_h = 160 frame.scale_x = 100 frame.scale_y = 100 if (idx==0) then frame.hit_ani_ground = 0 frame.hit_ani_air = 70 frame.untech = 20 frame.attack_level = AL_HEAVY frame.proration = 900 frame.combo_correction = CC_NONE frame.sp_damage = frame.sp_damage*2 end end) end pat:update_frame(606,0,5,{ duration = 24}) pat:update_frame(606,1,0,{ damage = 400 , proration = 800 , untech = 25 , attack_level = AL_LIGHT , hit_ani_ground = 0 , hit_ani_air = 70 , launch_vector_x = 500, launch_vector_y = 500}) pat:update_frame(606,1,1,{ damage = 400 , proration = 800 , untech = 25 , attack_level = AL_LIGHT , hit_ani_ground = 0 , hit_ani_air = 70 , launch_vector_x = 500, launch_vector_y = 500}) --pat:update_frame(991,0,0, {tex_w = 0}) for idx = 1 , 3 do for idx2 = 0 , 2 do if (idx2==2 and idx ~=1) then else pat:update_frame(856,idx,idx2,function(frame) frame.limit = 0 frame.damage = 300 frame.chip_damage = 75 frame.proration = 1000 frame.untech = 25 frame.attack_level = AL_LIGHT frame.hit_ani_ground = 0 frame.hit_ani_air = 70 frame.hitstop_enemy = 0 frame.hitstop_self = 0 frame.launch_vector_x = 0 frame.launch_vector_y = 500 set_aflag(frame,AF_UNGRAZABLE) set_aflag(frame,AF_GROUND_UNBLOCKABLE) unset_aflag(frame,AF_AIR_BLOCKABLE) unset_aflag(frame,AF_COUNTER_HIT) end) end end end pat:update_frame(856,4,0,function(frame) frame.limit = 100 frame.damage = 2000 frame.proration = 1000 frame.untech = 6000 frame.attack_level = AL_LIGHT frame.hitstop_enemy = 0 frame.launch_vector_x = 0 frame.launch_vector_y = 3500 set_aflag(frame,AF_UNGRAZABLE) set_aflag(frame,AF_GROUND_UNBLOCKABLE) unset_aflag(frame,AF_AIR_BLOCKABLE) unset_aflag(frame,AF_COUNTER_HIT) end) local baseFX = 0 local baseFY = 0 for idx = 0 , 2 do pat:update_frame(856,1,idx,function(frame) frame.tex_w = 0 frame.attackbox[1]=null end) end for idx = 0 , 1 do pat:update_frame(856,2,idx,function(frame) frame.tex_w = 0 frame.attackbox[1]=null end) end pat:split_frame(856,3,0,1,1) for idx = 0 , 2 do pat:update_frame(856,3,idx,function(frame) --eff frame.attackbox[1].x1 = frame.attackbox[1].x1 + 200 frame.attackbox[1].y1 = frame.attackbox[1].y1 - 60 frame.tex_index = 86+idx frame.tex_offset_x = 138 frame.tex_offset_y = 128 frame.tex_w = 256 frame.tex_h = 256 frame.scale_x = 150 frame.scale_y = 400 frame.color_r = 165 frame.color_g = 165 frame.color_b = 165 frame.duration=2 end) end end function mods.possession_swr(pat) local baseX = 70 local baseY = 195 local baseY2 = -8 pat:update_frame(606,0,0, { tex_index = 78, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +28 , tex_offset_y = baseY +baseY2 -18 , hurtbox = pat:get_frame(302,0,0).hurtbox }) pat:update_frame(606,0,1, { tex_index = 78, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +28 , tex_offset_y = baseY +baseY2 -18 , hurtbox = pat:get_frame(302,0,1).hurtbox }) pat:update_frame(606,0,2, { tex_index = 79, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +50 , tex_offset_y = baseY +baseY2 -28 , hurtbox = pat:get_frame(302,0,2).hurtbox }) pat:update_frame(606,0,3, { tex_index = 79, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +50 , tex_offset_y = baseY +baseY2 -28 , hurtbox = pat:get_frame(302,0,3).hurtbox }) pat:update_frame(606,0,4, { tex_index = 79, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +50 , tex_offset_y = baseY +baseY2 -28 }) pat:update_frame(606,0,5, { tex_index = 79, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +50 , tex_offset_y = baseY +baseY2 -28 , hurtbox = pat:get_frame(302,0,3).hurtbox }) pat:update_frame(606,0,6, { tex_index = 309 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -44 , hurtbox = pat:get_frame(7,1,0).hurtbox }) pat:update_frame(606,1,0, { tex_index = 310 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -20 , hurtbox = pat:get_frame(7,1,0).hurtbox }) pat:update_frame(606,1,1, { tex_index = 310 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -20 , hurtbox = pat:get_frame(7,1,0).hurtbox }) pat:update_frame(606,2,0, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +6 , tex_offset_y = baseY +2 , hurtbox = pat:get_frame(6,2,2).hurtbox }) pat:update_frame(606,2,1, { tex_index = 298 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +20 , tex_offset_y = baseY +0 , hurtbox = pat:get_frame(6,2,2).hurtbox }) pat:remove_frame(606,2,6) pat:remove_frame(606,2,5) pat:remove_frame(606,2,4) pat:remove_frame(606,2,3) pat:remove_frame(606,2,2) pat:update_frame(606,3,0, { tex_index = 313 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +56 , tex_offset_y = baseY +6 , hurtbox = pat:get_frame(7,2,4).hurtbox }) pat:update_frame(606,3,1, { tex_index = 313 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +56 , tex_offset_y = baseY +6 , hurtbox = pat:get_frame(7,2,4).hurtbox }) pat:update_frame(606,4,0, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -30 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(606,4,1, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -30 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(606,4,2, { tex_index = 298 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -48 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(606,8,0, { tex_index = 313 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +56 , tex_offset_y = baseY +6 , hurtbox = pat:get_frame(7,2,4).hurtbox }) pat:update_frame(606,8,1, { tex_index = 313 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +56 , tex_offset_y = baseY +6 , hurtbox = pat:get_frame(7,2,4).hurtbox }) pat:update_frame(606,9,0, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -30 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(606,9,1, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -30 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(606,9,2, { tex_index = 298 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -48 , hurtbox = pat:get_frame(6,0,1).hurtbox }) --pat:update_frame(856,4,0, { tex_index = 313 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +56 , tex_offset_y = baseY +6 , scale_x = 400, scale_y = 400, duration = 60 }) pat:update_frame(856,0,0,{tex_w = 0}) for idx = 0 , 14 do pat:update_frame(856,6,idx,function(frame) frame.tex_index=444 frame.color_r=165 * (14-idx)/14 frame.color_g=165 * (14-idx)/14 frame.color_b=165 * (14-idx)/14 frame.tex_offset_x = 80 frame.tex_offset_y = 80 frame.tex_w = 160 frame.tex_h = 160 frame.scale_x = 100 frame.scale_y = 100 frame.attackbox = pat:get_frame(0,0,0).attackbox if (idx==0) then frame.hit_ani_ground = 0 frame.hit_ani_air = 70 frame.untech = 20 frame.attack_level = AL_HEAVY frame.proration = 900 frame.combo_correction = CC_NONE frame.sp_damage = frame.sp_damage*2 end end) end --pat:update_frame(606,0,5,{ duration = 24}) --pat:update_frame(606,1,0,{ damage = 400 , proration = 800 , untech = 25 , attack_level = AL_LIGHT , hit_ani_ground = 0 , hit_ani_air = 70 , launch_vector_x = 500, launch_vector_y = 500}) --pat:update_frame(606,1,1,{ damage = 400 , proration = 800 , untech = 25 , attack_level = AL_LIGHT , hit_ani_ground = 0 , hit_ani_air = 70 , launch_vector_x = 500, launch_vector_y = 500}) pat:update_frame(606,1,0,{launch_vector_y = 3000}) pat:update_frame(606,1,1,{launch_vector_y = 3000}) pat:update_frame(991,0,0, {tex_w = 0}) for idx = 1 , 3 do for idx2 = 0 , 2 do if (idx2==2 and idx ~=1) then else pat:update_frame(856,idx,idx2,function(frame) end) end end end local baseFX = 0 local baseFY = 0 for idx = 0 , 2 do pat:update_frame(856,1,idx,function(frame) frame.tex_w = 0 frame.attackbox[1].x1 = frame.attackbox[1].x1 + 200 frame.attackbox[1].y1 = frame.attackbox[1].y1 - 60 end) end for idx = 0 , 1 do pat:update_frame(856,2,idx,function(frame) frame.tex_w = 0 frame.attackbox[1] = null end) end pat:split_frame(856,3,0,1,1) for idx = 0 , 2 do pat:update_frame(856,3,idx,function(frame) --eff frame.attackbox[1].x1 = frame.attackbox[1].x1 + 200 frame.attackbox[1].y1 = frame.attackbox[1].y1 - 60 frame.tex_index = 86+idx frame.tex_offset_x = 138 frame.tex_offset_y = 128 frame.tex_w = 256 frame.tex_h = 256 frame.scale_x = 150 frame.scale_y = 400 frame.color_r = 165 frame.color_g = 165 frame.color_b = 165 frame.duration=2 frame.damage = 200 frame.proration = 980 frame.chip_damage = 20 end) end end function mods.possession_phoenix(pat) local baseX = 70 local baseY = 195 local baseY2 = -8 pat:remove_frame(606,0,6) pat:split_frame(606,0,4,1,1) pat:split_frame(606,0,4,1,1) pat:split_frame(606,0,4,1,1) pat:split_frame(606,0,4,1,1) pat:update_frame(606,0,0,{ tex_index = 494, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +0 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 4 }) pat:update_frame(606,0,1,{ tex_index = 495, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +0 , tex_offset_y = baseY -2 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 4 }) pat:update_frame(606,0,2,{ tex_index = 496, 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 = 24 }) pat:update_frame(606,0,3,{ tex_index = 497, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY +4 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 4 }) --, hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(606,0,4,{ tex_index = 498, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +20 , tex_offset_y = baseY +6 , duration = 4 }) pat:update_frame(606,0,5,{ tex_index = 499, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +28 , tex_offset_y = baseY +4 , duration = 4 }) pat:update_frame(606,0,6,{ tex_index = 500, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +22 , tex_offset_y = baseY +4 , duration = 4 }) pat:update_frame(606,0,7,{ tex_index = 110, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +12 , tex_offset_y = baseY +2 , duration = 4 }) pat:update_frame(606,0,8,{ tex_index = 111, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +0 , tex_offset_y = baseY +0 , duration = 24 }) pat:update_frame(606,0,9,{ tex_index = 111, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +0 , tex_offset_y = baseY +0 , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 10 }) pat:update_frame(606,1,0,{ tex_index = 111, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +0 , tex_offset_y = baseY +0 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 1 , attackbox = pat:get_frame(0,0,0).attackbox }) pat:update_frame(606,1,1,{ tex_index = 111, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +0 , tex_offset_y = baseY +0 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 1 , attackbox = pat:get_frame(0,0,0).attackbox }) pat:update_frame(606,2,0,{ tex_index = 111, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +0 , tex_offset_y = baseY +0 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 1 }) pat:update_frame(606,2,1,{ tex_index = 111, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +0 , tex_offset_y = baseY +0 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 1 }) pat:update_frame(606,3,0,{ tex_index = 111, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +0 , tex_offset_y = baseY +0 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 1 }) pat:update_frame(606,3,1,{ tex_index = 111, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +0 , tex_offset_y = baseY +0 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 1 }) pat:remove_frame(606,2,6) pat:remove_frame(606,2,5) pat:remove_frame(606,2,4) pat:remove_frame(606,2,3) pat:remove_frame(606,2,2) pat:update_frame(606,4,0,{ tex_index = 111, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +0 , tex_offset_y = baseY +0 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 10 }) pat:update_frame(606,4,1,{ tex_index = 111, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +0 , tex_offset_y = baseY +0 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 10 }) pat:remove_frame(606,4,2) pat:update_frame(606,8,0, { tex_index = 313 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +56 , tex_offset_y = baseY +6 , hurtbox = pat:get_frame(7,2,4).hurtbox }) pat:update_frame(606,8,1, { tex_index = 313 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +56 , tex_offset_y = baseY +6 , hurtbox = pat:get_frame(7,2,4).hurtbox }) pat:update_frame(606,9,0, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -30 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(606,9,1, { tex_index = 297 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX -4 , tex_offset_y = baseY -30 , hurtbox = pat:get_frame(6,0,1).hurtbox }) pat:update_frame(606,9,2, { tex_index = 298 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +10 , tex_offset_y = baseY -48 , hurtbox = pat:get_frame(6,0,1).hurtbox }) --pat:update_frame(856,4,0, { tex_index = 313 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +56 , tex_offset_y = baseY +6 , scale_x = 400, scale_y = 400, duration = 60 }) pat:update_frame(856,0,0,{tex_w = 0}) for idx = 1 , 14 do pat:remove_frame(856,6,1) end for idx = 1 , 179 do pat:split_frame(856,6,0,3,3) end for idx = 0 , 179 do pat:update_frame(856,6,idx,function(frame) frame.tex_index=200 + idx%3 frame.color_r=175 + idx%5 * 20 frame.color_g=175 + idx%5 * 20 frame.color_b=175 + idx%5 * 20 --[[ if (idx%30 >= 25) then frame.color_g = 0 frame.color_b = 0 elseif (idx%30 >= 20) then frame.color_g = frame.color_g * 0.5 frame.color_b = frame.color_b * 0.5 end]]-- frame.color_g = frame.color_g * (30-(idx%30))/30 frame.color_b = frame.color_b * (30-(idx%30))/30 frame.tex_offset_x = 256 frame.tex_offset_y = 168 frame.tex_w = 512 frame.tex_h = 256 frame.scale_x = 80 frame.scale_y = 80 frame.duration = 4 if (idx%30 == 29) then frame.duration = 5 end frame.attackbox = pat:get_frame(0,0,0).attackbox if (idx<5) then frame.color_r=(idx+1)*50 frame.color_g=(idx+1)*50 frame.color_b=(idx+1)*50 end --[[ if (idx%60 < 40) then frame.color_r = frame.color_r * .5 frame.color_g = frame.color_g * .5 frame.color_b = frame.color_b * .5 end]]-- end) end --pat:update_frame(606,0,5,{ duration = 24}) --pat:update_frame(606,1,0,{ damage = 400 , proration = 800 , untech = 25 , attack_level = AL_LIGHT , hit_ani_ground = 0 , hit_ani_air = 70 , launch_vector_x = 500, launch_vector_y = 500}) --pat:update_frame(606,1,1,{ damage = 400 , proration = 800 , untech = 25 , attack_level = AL_LIGHT , hit_ani_ground = 0 , hit_ani_air = 70 , launch_vector_x = 500, launch_vector_y = 500}) pat:update_frame(606,1,0,{launch_vector_y = 3000}) pat:update_frame(606,1,1,{launch_vector_y = 3000}) pat:add_particle_info(856,1,0) pat:get_sequence(856,1):set_priority(20,0) --pat:get_sequence(856,1):set_looped(false) --pat:get_sequence(856,2):set_looped(false) pat:remove_frame(856,1,2) pat:remove_frame(856,1,1) for idx = 1 , 31 do pat:split_frame(856,1,0,1,1) end for idx = 0 , 31 do pat:update_frame(856,1,idx,function(frame) frame.blending_mode = 1 frame.tex_index=200 frame.color_r= 255 - 8*idx frame.color_g= 255 - 8*idx frame.color_b= 255 - 8*idx frame.tex_offset_x = 256 frame.tex_offset_y = 168 frame.tex_w = 512 frame.tex_h = 256 frame.scale_x = 80 + idx*5 frame.scale_y = 80 + idx*5 frame.attackbox[1].x1 = -80 frame.attackbox[1].x2 = 80 frame.attackbox[1].y1 = -240 frame.attackbox[1].y2 = 40 frame.duration = 1 if (idx==31) then frame.duration = 30 frame.attackbox = pat:get_frame(0,0,0).attackbox frame.tex_w = 0 elseif (idx>20) then frame.attackbox = pat:get_frame(0,0,0).attackbox end frame.damage = 2000 frame.chip_damage = 500 frame.untech = 120 frame.aflags = 0x0142140e frame.fflags = 0x00400000 frame.limit = 100 frame.combo_correction = CC_LIFT_ATTACK frame.hit_ani_air = 77 frame.hit_ani_ground = 77 frame.proration = 800 frame.sp_damage = 200 frame.attack_level = AL_HEAVY frame.launch_vector_x = 0 frame.launch_vector_y = 2500 frame.hit_sfx = 8 frame.hit_effect = 8 frame.hitstop_self = 0 frame.hitstop_enemy = 16 frame.blockstop_self = 0 frame.blockstop_enemy = 10 set_aflag(frame,AF_UNREFLECTABLE) unset_aflag(frame,AF_COUNTER_HIT) end) end pat:update_frame(856,2,0,{ duration = 0 , tex_w = 0 , attackbox = pat:get_frame(0,0,0).attackbox}) pat:update_frame(856,3,0,{ duration = 0 , tex_w = 0 , attackbox = pat:get_frame(0,0,0).attackbox}) pat:update_frame(856,2,1,{ duration = 0 , tex_w = 0 , attackbox = pat:get_frame(0,0,0).attackbox}) pat:update_frame(856,3,1,{ duration = 0 , tex_w = 0 , attackbox = pat:get_frame(0,0,0).attackbox}) pat:update_frame(991,0,0, {tex_w = 0}) end function mods.fix_6a_and_3a_parameters(pat) pat:update_frame(302, 1, 4, { damage = 800 }) pat:update_frame(304, 1, 2, { damage = 800 }) end function mods.cancel_priority_j2a(pat) pat:get_sequence(308, 0):set_priority(20, 50) pat:get_sequence(308, 1):set_priority(20, 50) pat:get_sequence(308, 2):set_priority(20, 50) end function mods.hit_parameters_2b(pat) for frame = 0, 17 do pat:update_frame(807, 0, 0, { hit_ani_ground = 72, hitstop_enemy = 10, hitstop_self = 10, launch_vector_x = -10, launch_vector_y = 850 }) end end function mods.tengu_pebble_motion_cancel(pat) pat:update_frame(570, 0, 9, set_motion_cancel) pat:update_frame(570, 0, 10, set_motion_cancel) end function mods.tengu_pebble_object_parameters(pat, sp_damage) for idx = 0, 1 do pat:update_frame(827, 3, idx, { sp_damage = sp_damage, }) end end function mods.wakeup_new(pat) local baseX = 70 local baseY = 195 pat:remove_frame(197,0,11) for idx = 0 , 10 do dur = 3 if (idx < 7) then dur = 2 end pat:update_frame(197,0,idx, { tex_index = 254, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +2 , tex_offset_y = baseY -128 , duration = dur }) pat:update_frame(198,0,idx, { tex_index = 254, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +2 , tex_offset_y = baseY -128 , duration = dur }) pat:update_frame(199,0,idx, { tex_index = 254, tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +2 , tex_offset_y = baseY -128 , duration = dur }) --pat:update_frame(197,0,idx, { tex_index = 519 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +2 , tex_offset_y = baseY -128 , duration = dur }) --pat:update_frame(198,0,idx, { tex_index = 519 , tex_h = 120 , tex_w = 120 , tex_offset_x = baseX +2 , tex_offset_y = baseY -128 , duration = dur }) end pat:update_frame(197,0,4,function(frame) frame.duration = 10 frame.tex_w = 0 frame.collision = pat:get_frame(100,0,0).collision end) pat:update_frame(198,0,4,function(frame) frame.duration = 10 frame.tex_w = 0 frame.collision = pat:get_frame(100,0,0).collision end) pat:update_frame(199,0,4,function(frame) frame.duration = 10 frame.tex_w = 0 frame.collision = pat:get_frame(100,0,0).collision end) for idx = 1 , 1 do pat:update_frame(197,2,idx,function(frame) frame.duration = 7 end) pat:update_frame(198,2,idx,function(frame) frame.duration = 7 end) end for idx = 16 , 16 do pat:update_frame(199,0,idx,function(frame) frame.duration = 7 end) end for idx = 5 , 10 do pat:update_frame(197,0,idx,function(frame) frame.tex_w = 0 frame.collision = pat:get_frame(100,0,0).collision end) pat:update_frame(198,0,idx,function(frame) frame.tex_w = 0 frame.collision = pat:get_frame(100,0,0).collision end) pat:update_frame(199,0,idx,function(frame) frame.tex_w = 0 frame.collision = pat:get_frame(100,0,0).collision end) end for idx = 0 , 1 do pat:update_frame(197,1,idx,function(frame) frame.tex_w = 0 frame.collision = pat:get_frame(100,0,0).collision end) pat:update_frame(198,1,idx,function(frame) frame.tex_w = 0 frame.collision = pat:get_frame(100,0,0).collision end) pat:update_frame(199,0,11+idx,function(frame) frame.tex_w = 0 frame.duration = 1 frame.collision = pat:get_frame(100,0,0).collision end) end for idx = 0 , 0 do pat:update_frame(197,2,idx,function(frame) frame.tex_w = 0 frame.duration = 17 frame.collision = pat:get_frame(100,0,0).collision end) pat:update_frame(198,2,idx,function(frame) frame.tex_w = 0 frame.duration = 17 frame.collision = pat:get_frame(100,0,0).collision end) end for idx = 13 , 15 do pat:update_frame(199,0,idx,function(frame) frame.tex_w = 0 frame.duration = 2 frame.collision = pat:get_frame(100,0,0).collision end) end pat:split_frame(197,2,1,2,2) pat:split_frame(198,2,1,2,2) pat:split_frame(199,0,16,2,2) pat:update_frame(197,2,1,{tex_w = 0 , collision = pat:get_frame(100,0,0).collision }) pat:update_frame(198,2,1,{tex_w = 0 , collision = pat:get_frame(100,0,0).collision }) pat:update_frame(199,0,16,{tex_w = 0 , collision = pat:get_frame(100,0,0).collision }) pat:update_frame(197,2,2,{duration = 2 +11 , tex_w = 0 , collision = pat:get_frame(100,0,0).collision }) pat:update_frame(198,2,2,{duration = 2 +11 , tex_w = 0 , collision = pat:get_frame(100,0,0).collision }) pat:update_frame(199,0,17,{duration = 2 +11 , tex_w = 0 , collision = pat:get_frame(100,0,0).collision }) for idx = 15 , 46 do pat:split_frame(990,0,14,1,1) end pat:update_frame(990,0,16, { tex_index = 89, tex_offset_x = 80, tex_offset_y = 83}) pat:update_frame(990,0,17, { tex_index = 90, tex_offset_x = 81, tex_offset_y = 84}) pat:update_frame(990,0,18, { tex_index = 91, tex_offset_x = 82, tex_offset_y = 85}) pat:update_frame(990,0,19, { tex_index = 92, tex_offset_x = 83, tex_offset_y = 87}) pat:update_frame(990,0,20, { tex_index = 93, tex_offset_x = 85, tex_offset_y = 88}) pat:update_frame(990,0,21, { tex_index = 94, tex_offset_x = 86, tex_offset_y = 90}) pat:update_frame(990,0,22, { tex_index = 95, tex_offset_x = 87, tex_offset_y = 92}) pat:update_frame(990,0,23, { tex_index = 96, tex_offset_x = 88, tex_offset_y = 93}) pat:update_frame(990,0,24, { tex_index = 97, tex_offset_x = 88, tex_offset_y = 94}) pat:update_frame(990,0,25, { tex_index = 98, tex_offset_x = 91, tex_offset_y = 96}) pat:update_frame(990,0,26, { tex_index = 99, tex_offset_x = 94, tex_offset_y = 99}) pat:update_frame(990,0,27, { tex_index = 100, tex_offset_x = 98, tex_offset_y = 102}) pat:update_frame(990,0,28, { tex_index = 101, tex_offset_x = 102, tex_offset_y = 105}) pat:update_frame(990,0,29, { tex_index = 102, tex_offset_x = 105, tex_offset_y = 107}) pat:update_frame(990,0,30, { tex_index = 103, tex_offset_x = 108, tex_offset_y = 110}) --pat:update_frame(990,0,47, { tex_index = 103, tex_offset_x = 108, tex_offset_y = 110 , tex_w = 0 , duration = 30}) pat:update_frame(990,0,46, { tex_index = 89, tex_offset_x = 80, tex_offset_y = 83}) pat:update_frame(990,0,45, { tex_index = 90, tex_offset_x = 81, tex_offset_y = 84}) pat:update_frame(990,0,44, { tex_index = 91, tex_offset_x = 82, tex_offset_y = 85}) pat:update_frame(990,0,43, { tex_index = 92, tex_offset_x = 83, tex_offset_y = 87}) pat:update_frame(990,0,42, { tex_index = 93, tex_offset_x = 85, tex_offset_y = 88}) pat:update_frame(990,0,41, { tex_index = 94, tex_offset_x = 86, tex_offset_y = 90}) pat:update_frame(990,0,40, { tex_index = 95, tex_offset_x = 87, tex_offset_y = 92}) pat:update_frame(990,0,39, { tex_index = 96, tex_offset_x = 88, tex_offset_y = 93}) pat:update_frame(990,0,38, { tex_index = 97, tex_offset_x = 88, tex_offset_y = 94}) pat:update_frame(990,0,37, { tex_index = 98, tex_offset_x = 91, tex_offset_y = 96}) pat:update_frame(990,0,36, { tex_index = 99, tex_offset_x = 94, tex_offset_y = 99}) pat:update_frame(990,0,35, { tex_index = 100, tex_offset_x = 98, tex_offset_y = 102}) pat:update_frame(990,0,34, { tex_index = 101, tex_offset_x = 102, tex_offset_y = 105}) pat:update_frame(990,0,33, { tex_index = 102, tex_offset_x = 105, tex_offset_y = 107}) pat:update_frame(990,0,32, { tex_index = 103, tex_offset_x = 108, tex_offset_y = 110}) for idx = 31 , 46 do pat:split_frame(990,0,77-idx,1,1) end for idx = 0 , 15 do pat:update_frame(990,0,15+idx,function(frame) frame.tex_w = 256 frame.tex_h = 256 frame.scale_x = 50+idx*30 frame.scale_y = 50+idx*20 local alpha = (15-idx)*17 frame.color_r = alpha frame.color_g = alpha frame.color_b = alpha frame.tex_offset_y = frame.tex_offset_y + 30 end) end for idx = 0 , 31 do pat:update_frame(990,0,31+idx,function(frame) frame.tex_w = 256 frame.tex_h = 256 frame.scale_x = 50+(31-idx)*15 frame.scale_y = 50+(31-idx)*10 local alpha = 255 if (idx>20) then alpha = (31-idx)*25 end frame.color_r = alpha frame.color_g = alpha frame.color_b = alpha frame.tex_offset_y = frame.tex_offset_y + 30 frame.duration = 1 end) end pat:update_frame(990,0,15, { tex_index = 89, tex_offset_x = 80, tex_offset_y = 83 , tex_w = 0 , collision = pat:get_frame(100,0,0).collision }) pat:update_frame(990,0,31, { tex_index = 103, tex_offset_x = 108, tex_offset_y = 110 , tex_w = 0 , collision = pat:get_frame(100,0,0).collision , duration = 12}) end return function(pat) mods.fix_frames(pat) --mods.d22_resurrection_old(pat) mods.s5sc_resurrection(pat) mods.bullet_6c(pat) --before C mods.c_bullets(pat) mods.b_bullets(pat) --after C mods.d236_lv1(pat) mods.d236_lv2(pat) mods.d236_lv4(pat) mods.d236_ground(pat) mods.normals(pat) mods.b2b(pat) --mods.a22_stomp(pat) mods.d214(pat) mods.d421(pat) --mods.a214(pat) mods.a236_maple(pat) mods.a236_gale(pat) mods.sickles(pat) mods.d421s(pat) mods.a421_pebbles(pat) mods.s3sc_dash(pat) mods.s4sc_rockstorm(pat) mods.s4sc_daymare(pat) mods.s2sc_haste(pat) mods.s2sc_cyclone(pat) mods.s3sc_tornado(pat) mods.a214_crossup(pat) mods.system_cards(pat) mods.possession_phoenix(pat) mods.cancel_priority_j2a(pat) mods.wakeup_new(pat) mods.j8a_new(pat) --mods.s5sc_volcano(pat) mods.s5sc_volcano_new(pat) mods.s4sc_tornado(pat) mods.a22_drum(pat) mods.a22_stomp_resurrection(pat) mods.d22_new(pat) mods.a214_rekka(pat) end