require("config.util") local mods = {} function mods.fix_frames(pat) local baseX = 112 local baseY = 256 local baseW = 128 local baseH = 128 local baseDur = 6 --stand pat:update_frame(0,0,0, { tex_index = 607 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = baseDur }) pat:update_frame(0,0,0,function(frame) frame.hurtbox[1].y1 = frame.hurtbox[1].y1 + 20 frame.collision[1].y1 = frame.collision[1].y1 + 15 end) pat:update_frame(0,0,1, { tex_index = 608 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = baseDur , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(0,0,2, { tex_index = 609 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = baseDur , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(0,0,3, { tex_index = 610 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = baseDur , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(0,0,4, { tex_index = 607 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = baseDur , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(0,0,5, { tex_index = 608 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = baseDur , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(0,0,6, { tex_index = 609 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = baseDur , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(0,0,7, { tex_index = 610 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = baseDur , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(0,0,8, { tex_index = 611 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = baseDur , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(0,0,9, { tex_index = 612 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = baseDur , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(0,0,10, { tex_index = 613 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = baseDur , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(0,0,11, { tex_index = 614 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = baseDur , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(0,0,12, { tex_index = 615 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = baseDur , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(0,0,13, { tex_index = 616 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = baseDur , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(0,0,14, { tex_index = 617 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = baseDur , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) for idx = 15 , 23 do pat:remove_frame(0,0,15) end pat:split_frame(1,0,2,4,4) pat:update_frame(1,0,0, { tex_index = 503 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(1,0,1, { tex_index = 504 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(1,0,2, { tex_index = 505 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 }) pat:update_frame(1,0,3, { tex_index = 506 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 }) pat:update_frame(1,0,4, { tex_index = 618 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 }) pat:split_frame(2,0,0,4,4) pat:split_frame(2,0,0,4,4) pat:split_frame(2,0,0,4,4) pat:update_frame(2,0,0, { tex_index = 619 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 50 }) pat:update_frame(2,0,1, { tex_index = 620 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 }) pat:update_frame(2,0,2, { tex_index = 621 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 50 }) pat:update_frame(2,0,3, { tex_index = 620 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 }) pat:split_frame(3,0,0,4,4) pat:split_frame(3,0,0,4,4) pat:update_frame(3,0,0, { tex_index = 618 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 }) pat:update_frame(3,0,1, { tex_index = 506 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 }) pat:update_frame(3,0,2, { tex_index = 505 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 }) pat:update_frame(3,0,3, { tex_index = 504 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(3,0,4, { tex_index = 503 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) baseDur = 6 pat:update_frame(4,0,0, { tex_index = 649 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = baseDur }) pat:update_frame(4,0,1, { tex_index = 650 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = baseDur }) pat:update_frame(4,0,2, { tex_index = 651 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = baseDur }) pat:update_frame(4,0,3, { tex_index = 652 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = baseDur }) pat:update_frame(4,0,4, { tex_index = 653 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = baseDur }) pat:update_frame(4,0,5, { tex_index = 654 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = baseDur }) pat:update_frame(4,0,6, { tex_index = 655 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = baseDur }) pat:update_frame(4,0,7, { tex_index = 656 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = baseDur }) pat:update_frame(5,0,0, { tex_index = 641 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = baseDur }) pat:update_frame(5,0,1, { tex_index = 642 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = baseDur }) pat:update_frame(5,0,2, { tex_index = 643 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = baseDur }) pat:update_frame(5,0,3, { tex_index = 644 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = baseDur }) pat:update_frame(5,0,4, { tex_index = 645 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = baseDur }) pat:update_frame(5,0,5, { tex_index = 646 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = baseDur }) pat:update_frame(5,0,6, { tex_index = 647 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = baseDur }) pat:update_frame(5,0,7, { tex_index = 648 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = baseDur }) pat:split_frame(6,0,0,2,2) pat:update_frame(6,0,0, { tex_index = 505 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(1,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3}) pat:update_frame(6,0,1, { tex_index = 387 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2}) pat:update_frame(6,1,0, { tex_index = 388 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 1 }) pat:update_frame(6,1,0,function(frame) frame.hurtbox[1].y1 = frame.hurtbox[1].y1 + 25 frame.hurtbox[1].y2 = frame.hurtbox[1].y2 + 10 end) pat:update_frame(6,1,1, { tex_index = 388 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 4 }) pat:update_frame(6,1,2, { tex_index = 391 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:update_frame(6,1,3, { tex_index = 388 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:update_frame(6,1,4, { tex_index = 391 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:update_frame(6,1,5, { tex_index = 388 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:update_frame(6,2,0, { tex_index = 389 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:update_frame(6,2,1, { tex_index = 390 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:update_frame(6,2,2, { tex_index = 389 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:update_frame(6,2,3, { tex_index = 390 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:update_frame(6,2,4, { tex_index = 389 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:update_frame(6,2,5, { tex_index = 390 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:update_frame(6,3,0, { tex_index = 391 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:update_frame(6,3,1, { tex_index = 388 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:split_frame(7,0,0,2,2) pat:update_frame(7,0,0, { tex_index = 505 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(1,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3}) pat:update_frame(7,0,1, { tex_index = 387 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2}) pat:update_frame(7,1,0, { tex_index = 388 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 1 }) pat:update_frame(7,1,1, { tex_index = 388 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 4 }) pat:update_frame(7,1,2, { tex_index = 391 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:update_frame(7,1,3, { tex_index = 388 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:update_frame(7,1,4, { tex_index = 391 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:update_frame(7,1,5, { tex_index = 388 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:update_frame(7,2,0, { tex_index = 389 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:update_frame(7,2,1, { tex_index = 390 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:update_frame(7,2,2, { tex_index = 389 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:update_frame(7,2,3, { tex_index = 390 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:update_frame(7,2,4, { tex_index = 389 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:update_frame(7,2,5, { tex_index = 390 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:update_frame(7,3,0, { tex_index = 391 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:update_frame(7,3,1, { tex_index = 388 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:split_frame(8,0,0,2,2) pat:update_frame(8,0,0, { tex_index = 505 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(1,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3}) pat:update_frame(8,0,1, { tex_index = 387 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2}) pat:update_frame(8,1,0, { tex_index = 388 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 1 }) pat:update_frame(8,1,1, { tex_index = 388 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 4 }) pat:update_frame(8,1,2, { tex_index = 391 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:update_frame(8,1,3, { tex_index = 388 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:update_frame(8,1,4, { tex_index = 391 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:update_frame(8,1,5, { tex_index = 388 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:update_frame(8,2,0, { tex_index = 389 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:update_frame(8,2,1, { tex_index = 390 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:update_frame(8,2,2, { tex_index = 389 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:update_frame(8,2,3, { tex_index = 390 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:update_frame(8,2,4, { tex_index = 389 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:update_frame(8,2,5, { tex_index = 390 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:update_frame(8,3,0, { tex_index = 391 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:update_frame(8,3,1, { tex_index = 388 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:update_frame(9,0,0, { tex_index = 391 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:update_frame(9,0,1, { tex_index = 388 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:remove_frame(10,0,1) pat:split_frame(10,0,0,4,4) pat:split_frame(10,0,0,4,4) pat:split_frame(10,0,0,4,4) pat:update_frame(10,0,0, { tex_index = 618 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(1,0,4).hurtbox , collision = pat:get_frame(3,0,0).collision , duration = 3 }) pat:update_frame(10,0,1, { tex_index = 506 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(1,0,3).hurtbox , collision = pat:get_frame(3,0,1).collision , duration = 3 }) pat:update_frame(10,0,2, { tex_index = 505 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(1,0,2).hurtbox , collision = pat:get_frame(3,0,2).collision , duration = 3 }) pat:update_frame(10,0,3, { tex_index = 504 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(3,0,3).collision , duration = 3 }) pat:update_frame(10,0,4, { tex_index = 503 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(3,0,4).collision , duration = 3 }) pat:split_frame(200,0,1,2,2) pat:update_frame(200,0,0, { tex_index = 327 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+32 , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(200,0,1, { tex_index = 328 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+32 , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(200,0,2, { tex_index = 329 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+20 , tex_offset_y = baseY , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(200,0,2,function(frame) frame.hurtbox[1].y1 = frame.hurtbox[1].y1 + 20 frame.hurtbox[1].y2 = frame.hurtbox[1].y2 + 20 frame.hurtbox[1].x1 = frame.hurtbox[1].x1 + 0 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 + 15 frame.hurtbox[2].x1 = frame.hurtbox[2].x1 + 15 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 + 35 frame.hurtbox[3].x1 = frame.hurtbox[3].x1 + 30 frame.hurtbox[3].x2 = frame.hurtbox[3].x2 + 40 end) pat:remove_frame(200,1,2) pat:update_frame(200,1,0, { tex_index = 330 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+20 , tex_offset_y = baseY , hurtbox = pat:get_frame(200,0,2).hurtbox , collision = pat:get_frame(200,1,0).collision , duration = 4 }) pat:update_frame(200,1,0,function(frame) frame.collision[1].y1 = frame.collision[1].y1 + 15 end) pat:update_frame(200,1,1, { tex_index = 622 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+20 , tex_offset_y = baseY , hurtbox = pat:get_frame(200,0,2).hurtbox , collision = pat:get_frame(200,1,0).collision , duration = 4 }) pat:update_frame(204,0,0, { tex_index = 623 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+32 , tex_offset_y = baseY , hurtbox = pat:get_frame(200,0,0).hurtbox , collision = pat:get_frame(200,1,0).collision , fflags = 0x00000431 , duration = 6 }) pat:update_frame(204,0,1, { tex_index = 624 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+32 , tex_offset_y = baseY , hurtbox = pat:get_frame(200,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000431 , duration = 6 }) pat:split_frame(201,0,0,4,3) pat:update_frame(201,0,0, { tex_index = 322 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+16 , tex_offset_y = baseY , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(201,0,0,function(frame) frame.hurtbox[1] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[2] = pat:get_frame(0,0,1).hurtbox[1] frame.hurtbox[1].y2 = - 60 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].y2 - 80 end) pat:update_frame(201,0,1, { tex_index = 323 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+16 , tex_offset_y = baseY , hurtbox = pat:get_frame(201,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(201,0,1,function(frame) frame.hurtbox[1].x1 = frame.hurtbox[1].x1 - 20 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 - 30 frame.hurtbox[1].y1 = frame.hurtbox[1].y1 + 5 frame.hurtbox[1].y2 = - 60 frame.hurtbox[2].x1 = frame.hurtbox[2].x1 + 0 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 + 0 end) pat:update_frame(201,0,2, { tex_index = 324 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+16 , tex_offset_y = baseY , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(201,0,2,function(frame) frame.hurtbox[1].y1 = pat:get_frame(201,0,1).hurtbox[1].y1 + 5 frame.hurtbox[1].y2 = frame.hurtbox[1].y2 + 30 frame.hurtbox[1].x1 = frame.hurtbox[1].x1 - 30 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 - 25 frame.hurtbox[2].x1 = frame.hurtbox[2].x1 - 15 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 - 25 frame.hurtbox[3].x1 = frame.hurtbox[3].x1 + 0 frame.hurtbox[3].x2 = frame.hurtbox[3].x2 + 0 end) pat:remove_frame(201,1,2) pat:update_frame(201,1,0, { tex_index = 325 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+16 , tex_offset_y = baseY , hurtbox = pat:get_frame(201,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = pat:get_frame(201,2,0).fflags }) pat:update_frame(201,1,1, { tex_index = 326 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+16 , tex_offset_y = baseY , hurtbox = pat:get_frame(201,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = pat:get_frame(201,2,0).fflags }) pat:remove_frame(201,2,2) pat:update_frame(201,2,0, { tex_index = 325 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+16 , tex_offset_y = baseY , hurtbox = pat:get_frame(201,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(201,2,1, { tex_index = 326 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+16 , tex_offset_y = baseY , hurtbox = pat:get_frame(201,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:split_frame(201,3,0,3,4) pat:update_frame(201,3,0, { tex_index = 324 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+16 , tex_offset_y = baseY , hurtbox = pat:get_frame(201,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(201,3,1, { tex_index = 323 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+16 , tex_offset_y = baseY , hurtbox = pat:get_frame(201,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(201,3,2, { tex_index = 322 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+16 , tex_offset_y = baseY , hurtbox = pat:get_frame(201,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) --highjump 8 pat:split_frame(208,0,0,2,2) pat:update_frame(208,0,0, { tex_index = 505 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(1,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3}) pat:update_frame(208,0,1, { tex_index = 387 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2}) pat:update_frame(208,1,0, { tex_index = 388 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 1 }) pat:update_frame(208,1,1, { tex_index = 388 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:update_frame(208,1,2, { tex_index = 391 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:update_frame(208,1,3, { tex_index = 388 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:update_frame(208,1,4, { tex_index = 391 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:update_frame(208,1,5, { tex_index = 388 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:update_frame(208,2,0, { tex_index = 389 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:update_frame(208,2,1, { tex_index = 390 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:update_frame(208,2,2, { tex_index = 389 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:update_frame(208,2,3, { tex_index = 390 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:update_frame(208,2,4, { tex_index = 389 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:update_frame(208,2,5, { tex_index = 390 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:update_frame(208,3,0, { tex_index = 391 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:update_frame(208,3,1, { tex_index = 388 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) --hj9 pat:split_frame(209,0,0,2,2) pat:update_frame(209,0,0, { tex_index = 505 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(1,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3}) pat:update_frame(209,0,1, { tex_index = 387 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2}) pat:update_frame(209,1,0, { tex_index = 388 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 1 }) pat:update_frame(209,1,1, { tex_index = 388 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:update_frame(209,1,2, { tex_index = 391 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:update_frame(209,1,3, { tex_index = 388 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:update_frame(209,1,4, { tex_index = 391 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:update_frame(209,1,5, { tex_index = 388 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:update_frame(209,2,0, { tex_index = 389 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:update_frame(209,2,1, { tex_index = 390 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:update_frame(209,2,2, { tex_index = 389 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:update_frame(209,2,3, { tex_index = 390 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:update_frame(209,2,4, { tex_index = 389 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:update_frame(209,2,5, { tex_index = 390 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:update_frame(209,3,0, { tex_index = 391 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:update_frame(209,3,1, { tex_index = 388 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) --hj7 pat:split_frame(210,0,0,2,2) pat:update_frame(210,0,0, { tex_index = 505 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(1,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3}) pat:update_frame(210,0,1, { tex_index = 387 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2}) pat:update_frame(210,1,0, { tex_index = 388 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 1 }) pat:update_frame(210,1,1, { tex_index = 388 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:update_frame(210,1,2, { tex_index = 391 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:update_frame(210,1,3, { tex_index = 388 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:update_frame(210,1,4, { tex_index = 391 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:update_frame(210,1,5, { tex_index = 388 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:update_frame(210,2,0, { tex_index = 389 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:update_frame(210,2,1, { tex_index = 390 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:update_frame(210,2,2, { tex_index = 389 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:update_frame(210,2,3, { tex_index = 390 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:update_frame(210,2,4, { tex_index = 389 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:update_frame(210,2,5, { tex_index = 390 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:update_frame(210,3,0, { tex_index = 391 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:update_frame(210,3,1, { tex_index = 388 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) --6628 pat:split_frame(211,0,0,2,2) pat:update_frame(211,0,0, { tex_index = 505 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(1,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3}) pat:update_frame(211,0,1, { tex_index = 387 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2}) pat:update_frame(211,1,0, { tex_index = 388 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 1 }) pat:update_frame(211,1,1, { tex_index = 388 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:update_frame(211,1,2, { tex_index = 391 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:update_frame(211,1,3, { tex_index = 388 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:update_frame(211,1,4, { tex_index = 391 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:update_frame(211,1,5, { tex_index = 388 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:update_frame(211,2,0, { tex_index = 389 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:update_frame(211,2,1, { tex_index = 390 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:update_frame(211,2,2, { tex_index = 389 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:update_frame(211,2,3, { tex_index = 390 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:update_frame(211,2,4, { tex_index = 389 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:update_frame(211,2,5, { tex_index = 390 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:update_frame(211,3,0, { tex_index = 391 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:update_frame(211,3,1, { tex_index = 388 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) --6629 pat:split_frame(212,0,0,2,2) pat:update_frame(212,0,0, { tex_index = 505 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(1,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3}) pat:update_frame(212,0,1, { tex_index = 387 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2}) pat:update_frame(212,1,0, { tex_index = 388 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 1 }) pat:update_frame(212,1,1, { tex_index = 388 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:update_frame(212,1,2, { tex_index = 391 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:update_frame(212,1,3, { tex_index = 388 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:update_frame(212,1,4, { tex_index = 391 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:update_frame(212,1,5, { tex_index = 388 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:update_frame(212,2,0, { tex_index = 389 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:update_frame(212,2,1, { tex_index = 390 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:update_frame(212,2,2, { tex_index = 389 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:update_frame(212,2,3, { tex_index = 390 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:update_frame(212,2,4, { tex_index = 389 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:update_frame(212,2,5, { tex_index = 390 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:update_frame(212,3,0, { tex_index = 391 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:update_frame(212,3,1, { tex_index = 388 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) --airdash pat:remove_frame(202,0,4) pat:update_frame(202,0,0, { tex_index = 625 , tex_w = baseW , tex_h = baseH , tex_offset_x = 256-(baseX) , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 1 }) pat:update_frame(202,0,1, { tex_index = 625 , tex_w = baseW , tex_h = baseH , tex_offset_x = 256-(baseX) , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 2 }) pat:update_frame(202,0,2, { tex_index = 626 , tex_w = baseW , tex_h = baseH , tex_offset_x = 256-(baseX) , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 1 }) pat:update_frame(202,0,3, { tex_index = 626 , tex_w = baseW , tex_h = baseH , tex_offset_x = 256-(baseX) , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 2 }) --pat:update_frame(202,0,4, { tex_index = 622 , tex_w = baseW , tex_h = baseH , tex_offset_x = 256-baseX , tex_offset_y = baseY+6 , duration = 3 }) pat:update_frame(202,1,0, { tex_index = 330 , tex_w = baseW , tex_h = baseH , tex_offset_x = 256-(baseX+12) , tex_offset_y = baseY+6 , hurtbox = pat:get_frame(200,0,2).hurtbox , duration = 4 , fflags = 0x00000404 }) pat:update_frame(202,1,0,function(frame) for idx = 1 , 3 do frame.hurtbox[idx].y1 = frame.hurtbox[idx].y1 - 6 frame.hurtbox[idx].y2 = frame.hurtbox[idx].y2 - 6 end frame.hurtbox[3].y2 = frame.hurtbox[3].y2 - 20 end) pat:update_frame(202,1,1, { tex_index = 622 , tex_w = baseW , tex_h = baseH , tex_offset_x = 256-(baseX+12) , tex_offset_y = baseY+6 , hurtbox = pat:get_frame(202,1,0).hurtbox , duration = 4 }) pat:update_frame(202,1,2, { tex_index = 330 , tex_w = baseW , tex_h = baseH , tex_offset_x = 256-(baseX+12) , tex_offset_y = baseY+6 , hurtbox = pat:get_frame(202,1,0).hurtbox , duration = 4 }) pat:update_frame(202,1,3, { tex_index = 622 , tex_w = baseW , tex_h = baseH , tex_offset_x = 256-(baseX+12) , tex_offset_y = baseY+6 , hurtbox = pat:get_frame(202,1,0).hurtbox , duration = 4 }) pat:update_frame(202,2,0, { tex_index = 330 , tex_w = baseW , tex_h = baseH , tex_offset_x = 256-(baseX+12) , tex_offset_y = baseY+6 , hurtbox = pat:get_frame(202,1,0).hurtbox , duration = 5 }) pat:update_frame(202,2,1, { tex_index = 622 , tex_w = baseW , tex_h = baseH , tex_offset_x = 256-(baseX+12) , tex_offset_y = baseY+6 , hurtbox = pat:get_frame(202,1,0).hurtbox , duration = 5 }) pat:update_frame(202,2,2, { tex_index = 626 , tex_w = baseW , tex_h = baseH , tex_offset_x = 256-(baseX) , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 4 }) pat:update_frame(202,2,3, { tex_index = 625 , tex_w = baseW , tex_h = baseH , tex_offset_x = 256-(baseX) , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 4 }) pat:update_frame(202,3,0, { tex_index = 391 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:update_frame(202,3,1, { tex_index = 388 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) --airbackdash pat:remove_frame(203,0,6) pat:update_frame(203,0,0, { tex_index = 322 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+6 , hurtbox = pat:get_frame(201,0,0).hurtbox , duration = 2 }) pat:update_frame(203,0,0,function(frame) for idx = 1 , 2 do frame.hurtbox[idx].y1 = frame.hurtbox[idx].y1 - 6 frame.hurtbox[idx].y2 = frame.hurtbox[idx].y2 - 6 frame.hurtbox[idx].x1 = frame.hurtbox[idx].x1 + 16 frame.hurtbox[idx].x2 = frame.hurtbox[idx].x2 + 16 end frame.hurtbox[2].y2 = frame.hurtbox[2].y2 - 20 end) pat:update_frame(203,0,1, { tex_index = 322 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+6 , hurtbox = pat:get_frame(203,0,0).hurtbox , duration = 1 }) pat:update_frame(203,0,2, { tex_index = 323 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+6 , hurtbox = pat:get_frame(201,0,1).hurtbox , duration = 2 }) pat:update_frame(203,0,2,function(frame) for idx = 1 , 2 do frame.hurtbox[idx].y1 = frame.hurtbox[idx].y1 - 6 frame.hurtbox[idx].y2 = frame.hurtbox[idx].y2 - 6 frame.hurtbox[idx].x1 = frame.hurtbox[idx].x1 + 16 frame.hurtbox[idx].x2 = frame.hurtbox[idx].x2 + 16 end frame.hurtbox[2].y2 = frame.hurtbox[2].y2 - 20 end) pat:update_frame(203,0,3, { tex_index = 323 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+6 , hurtbox = pat:get_frame(203,0,2).hurtbox , duration = 1 }) pat:update_frame(203,0,4, { tex_index = 323 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+6 , hurtbox = pat:get_frame(203,0,2).hurtbox , duration = 1 }) pat:update_frame(203,0,5, { tex_index = 324 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+6 , hurtbox = pat:get_frame(201,0,2).hurtbox , duration = 3 }) pat:update_frame(203,0,5,function(frame) for idx = 1 , 3 do frame.hurtbox[idx].y1 = frame.hurtbox[idx].y1 - 6 frame.hurtbox[idx].y2 = frame.hurtbox[idx].y2 - 6 frame.hurtbox[idx].x1 = frame.hurtbox[idx].x1 + 16 frame.hurtbox[idx].x2 = frame.hurtbox[idx].x2 + 16 end frame.hurtbox[3].y2 = frame.hurtbox[3].y2 - 20 end) pat:remove_frame(201,2,2) pat:update_frame(203,1,0, { tex_index = 325 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+6 , hurtbox = pat:get_frame(203,0,5).hurtbox }) pat:update_frame(203,1,1, { tex_index = 326 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+6 , hurtbox = pat:get_frame(203,0,5).hurtbox }) pat:update_frame(203,2,0, { tex_index = 325 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+6 , hurtbox = pat:get_frame(203,0,5).hurtbox }) pat:update_frame(203,2,1, { tex_index = 324 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+6 , hurtbox = pat:get_frame(203,0,5).hurtbox }) pat:update_frame(203,2,2, { tex_index = 323 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+6 , hurtbox = pat:get_frame(203,0,2).hurtbox }) pat:update_frame(203,2,3, { tex_index = 322 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+6 , hurtbox = pat:get_frame(203,0,0).hurtbox }) pat:update_frame(203,3,0, { tex_index = 391 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:update_frame(203,3,1, { tex_index = 388 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:update_frame(214,0,0, { tex_index = 625 , tex_w = baseW , tex_h = baseH , tex_offset_x = 256-(baseX) , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 1 }) pat:update_frame(214,0,1, { tex_index = 625 , tex_w = baseW , tex_h = baseH , tex_offset_x = 256-(baseX) , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 2+1 }) pat:update_frame(214,0,2, { tex_index = 626 , tex_w = baseW , tex_h = baseH , tex_offset_x = 256-(baseX) , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 1 }) pat:update_frame(214,0,3, { tex_index = 626 , tex_w = baseW , tex_h = baseH , tex_offset_x = 256-(baseX) , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 2+1 }) pat:update_frame(214,1,0, { tex_index = 622 , tex_w = baseW , tex_h = baseH , tex_offset_x = 256-(baseX+12) , tex_offset_y = baseY+6 , hurtbox = pat:get_frame(202,1,0).hurtbox , duration = 2+2 }) pat:remove_frame(214,2,2) pat:update_frame(214,2,0, { tex_index = 330 , tex_w = baseW , tex_h = baseH , tex_offset_x = 256-(baseX+12) , tex_offset_y = baseY+6 , hurtbox = pat:get_frame(202,1,0).hurtbox , duration = 4 }) pat:update_frame(214,2,1, { tex_index = 622 , tex_w = baseW , tex_h = baseH , tex_offset_x = 256-(baseX+12) , tex_offset_y = baseY+6 , hurtbox = pat:get_frame(202,1,0).hurtbox , duration = 4 }) pat:update_frame(214,5,0, { tex_index = 626 , tex_w = baseW , tex_h = baseH , tex_offset_x = 256-(baseX) , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:update_frame(214,5,1, { tex_index = 625 , tex_w = baseW , tex_h = baseH , tex_offset_x = 256-(baseX) , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:update_frame(214,3,0, { tex_index = 622 , tex_w = baseW , tex_h = baseH , tex_offset_x = (256-(baseX+12))/2 , tex_offset_y = baseY/2 , hurtbox = pat:get_frame(202,1,0).hurtbox , duration = 2+2 }) pat:update_frame(214,3,0,function(frame) for idx = 1 , 3 do local x1 = frame.hurtbox[idx].x1 local x2 = frame.hurtbox[idx].x2 frame.hurtbox[idx].x1 = x2 * -1 frame.hurtbox[idx].x2 = x1 * -1 end end) pat:remove_frame(214,4,2) pat:update_frame(214,4,0, { tex_index = 330 , tex_w = baseW , tex_h = baseH , tex_offset_x = (256-(baseX+12))/2 , tex_offset_y = baseY/2 , hurtbox = pat:get_frame(214,3,0).hurtbox , duration = 4 }) pat:update_frame(214,4,1, { tex_index = 622 , tex_w = baseW , tex_h = baseH , tex_offset_x = (256-(baseX+12))/2 , tex_offset_y = baseY/2 , hurtbox = pat:get_frame(214,3,0).hurtbox , duration = 4 }) pat:remove_frame(214,6,0) pat:split_frame(214,6,0,2,2) pat:update_frame(214,6,0, { tex_index = 626 , tex_w = baseW , tex_h = baseH , tex_offset_x = 256-(baseX) , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:update_frame(214,6,1, { tex_index = 625 , tex_w = baseW , tex_h = baseH , tex_offset_x = 256-(baseX) , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) --the formula is wrong but whatever pat:update_frame(217,0,0, { tex_index = 625 , tex_w = baseW , tex_h = baseH , tex_offset_x = 256-(baseX) , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 1 }) pat:update_frame(217,0,1, { tex_index = 625 , tex_w = baseW , tex_h = baseH , tex_offset_x = 256-(baseX) , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 2+1 }) pat:update_frame(217,0,2, { tex_index = 626 , tex_w = baseW , tex_h = baseH , tex_offset_x = 256-(baseX) , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 1 }) pat:update_frame(217,0,3, { tex_index = 626 , tex_w = baseW , tex_h = baseH , tex_offset_x = 256-(baseX) , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 2+1 }) pat:update_frame(217,1,0, { tex_index = 622 , tex_w = baseW , tex_h = baseH , tex_offset_x = 256-(baseX+12) , tex_offset_y = baseY+6 , hurtbox = pat:get_frame(202,1,0).hurtbox , duration = 2+2 }) pat:remove_frame(217,2,2) pat:update_frame(217,2,0, { tex_index = 330 , tex_w = baseW , tex_h = baseH , tex_offset_x = 256-(baseX+12) , tex_offset_y = baseY+6 , hurtbox = pat:get_frame(202,1,0).hurtbox , duration = 4 }) pat:update_frame(217,2,1, { tex_index = 622 , tex_w = baseW , tex_h = baseH , tex_offset_x = 256-(baseX+12) , tex_offset_y = baseY+6 , hurtbox = pat:get_frame(202,1,0).hurtbox , duration = 4 }) pat:update_frame(217,5,0, { tex_index = 626 , tex_w = baseW , tex_h = baseH , tex_offset_x = 256-(baseX) , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:update_frame(217,5,1, { tex_index = 625 , tex_w = baseW , tex_h = baseH , tex_offset_x = 256-(baseX) , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:update_frame(217,3,0, { tex_index = 622 , tex_w = baseW , tex_h = baseH , tex_offset_x = (256-(baseX+12))/2 , tex_offset_y = baseY/2 , hurtbox = pat:get_frame(214,3,0).hurtbox , duration = 2+2 }) pat:remove_frame(217,4,2) pat:update_frame(217,4,0, { tex_index = 330 , tex_w = baseW , tex_h = baseH , tex_offset_x = (256-(baseX+12))/2 , tex_offset_y = baseY/2 , hurtbox = pat:get_frame(214,3,0).hurtbox , duration = 4 }) pat:update_frame(217,4,1, { tex_index = 622 , tex_w = baseW , tex_h = baseH , tex_offset_x = (256-(baseX+12))/2 , tex_offset_y = baseY/2 , hurtbox = pat:get_frame(214,3,0).hurtbox , duration = 4 }) pat:remove_frame(217,6,0) pat:split_frame(217,6,0,2,2) pat:update_frame(217,6,0, { tex_index = 626 , tex_w = baseW , tex_h = baseH , tex_offset_x = 256-(baseX) , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:update_frame(217,6,1, { tex_index = 625 , tex_w = baseW , tex_h = baseH , tex_offset_x = 256-(baseX) , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) --hardland pat:update_frame(215,0,0, { tex_index = 618 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(1,0,4).hurtbox , collision = pat:get_frame(3,0,0).collision , duration = 3 }) pat:update_frame(215,0,1, { tex_index = 506 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(1,0,3).hurtbox , collision = pat:get_frame(3,0,1).collision , duration = 3 }) pat:update_frame(215,0,2, { tex_index = 505 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(1,0,2).hurtbox , collision = pat:get_frame(3,0,2).collision , duration = 6 }) pat:update_frame(215,0,3, { tex_index = 504 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(3,0,3).collision , duration = 3 }) pat:update_frame(215,0,4, { tex_index = 503 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(3,0,4).collision , duration = 3 }) --2DD pat:split_frame(220,0,0,2,2) pat:update_frame(220,0,0, { tex_index = 505 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(1,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 5}) pat:update_frame(220,0,1, { tex_index = 387 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 5}) pat:update_frame(220,1,0, { tex_index = 388 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 1 }) pat:update_frame(220,1,1, { tex_index = 388 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 4 }) pat:update_frame(220,1,2, { tex_index = 391 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:update_frame(220,1,3, { tex_index = 388 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:update_frame(220,1,4, { tex_index = 391 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:update_frame(220,1,5, { tex_index = 388 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:update_frame(220,2,0, { tex_index = 389 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:update_frame(220,2,1, { tex_index = 390 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:update_frame(220,2,2, { tex_index = 389 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:update_frame(220,2,3, { tex_index = 390 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:update_frame(220,2,4, { tex_index = 389 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:update_frame(220,2,5, { tex_index = 390 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:update_frame(220,3,0, { tex_index = 391 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:update_frame(220,3,1, { tex_index = 388 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) --1DD pat:split_frame(222,0,0,2,2) pat:update_frame(222,0,0, { tex_index = 505 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(1,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 5}) pat:update_frame(222,0,1, { tex_index = 387 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 5}) pat:update_frame(222,1,0, { tex_index = 388 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 1 }) pat:update_frame(222,1,1, { tex_index = 388 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 4 }) pat:update_frame(222,1,2, { tex_index = 391 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:update_frame(222,1,3, { tex_index = 388 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:update_frame(222,1,4, { tex_index = 391 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:update_frame(222,1,5, { tex_index = 388 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:update_frame(222,2,0, { tex_index = 389 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:update_frame(222,2,1, { tex_index = 390 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:update_frame(222,2,2, { tex_index = 389 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:update_frame(222,2,3, { tex_index = 390 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:update_frame(222,2,4, { tex_index = 389 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:update_frame(222,2,5, { tex_index = 390 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:update_frame(222,3,0, { tex_index = 391 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:update_frame(222,3,1, { tex_index = 388 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) --6DD pat:split_frame(223,0,1,2,2) pat:update_frame(223,0,0, { tex_index = 327 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+32 , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(223,0,1, { tex_index = 328 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+32 , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(223,0,2, { tex_index = 329 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+20 , tex_offset_y = baseY , hurtbox = pat:get_frame(200,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:remove_frame(223,1,2) pat:update_frame(223,1,0, { tex_index = 330 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+20 , tex_offset_y = baseY , hurtbox = pat:get_frame(200,0,2).hurtbox , collision = pat:get_frame(200,1,0).collision , duration = 4 }) pat:update_frame(223,1,1, { tex_index = 622 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+20 , tex_offset_y = baseY , hurtbox = pat:get_frame(200,0,2).hurtbox , collision = pat:get_frame(200,1,0).collision , duration = 4 }) --4DD pat:split_frame(224,0,0,4,3) pat:update_frame(224,0,0, { tex_index = 322 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+16 , tex_offset_y = baseY , hurtbox = pat:get_frame(201,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(224,0,1, { tex_index = 323 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+16 , tex_offset_y = baseY , hurtbox = pat:get_frame(201,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(224,0,2, { tex_index = 324 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+16 , tex_offset_y = baseY , hurtbox = pat:get_frame(201,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(224,1,0, { tex_index = 326 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+16 , tex_offset_y = baseY , hurtbox = pat:get_frame(201,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:remove_frame(224,2,2) pat:update_frame(224,2,0, { tex_index = 325 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+16 , tex_offset_y = baseY , hurtbox = pat:get_frame(201,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(224,2,1, { tex_index = 326 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+16 , tex_offset_y = baseY , hurtbox = pat:get_frame(201,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:split_frame(224,3,0,3,4) pat:update_frame(224,3,0, { tex_index = 324 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+16 , tex_offset_y = baseY , hurtbox = pat:get_frame(201,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(224,3,1, { tex_index = 323 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+16 , tex_offset_y = baseY , hurtbox = pat:get_frame(201,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(224,3,2, { tex_index = 322 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+16 , tex_offset_y = baseY , hurtbox = pat:get_frame(201,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) --j4DD pat:update_frame(225,0,0, { tex_index = 322 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+6 , hurtbox = pat:get_frame(203,0,0).hurtbox , duration = 3 }) pat:update_frame(225,0,1, { tex_index = 323 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+6 , hurtbox = pat:get_frame(203,0,2).hurtbox , duration = 2 }) pat:update_frame(225,0,2, { tex_index = 323 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+6 , hurtbox = pat:get_frame(203,0,2).hurtbox , duration = 1 }) pat:update_frame(225,1,0, { tex_index = 324 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+6 , hurtbox = pat:get_frame(203,0,5).hurtbox , duration = 2 }) pat:update_frame(225,1,1, { tex_index = 324 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+6 , hurtbox = pat:get_frame(203,0,5).hurtbox , duration = 1 }) pat:update_frame(225,2,0, { tex_index = 325 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+6 , hurtbox = pat:get_frame(203,0,5).hurtbox , duration = 4 }) pat:update_frame(225,2,1, { tex_index = 326 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+6 , hurtbox = pat:get_frame(203,0,5).hurtbox , duration = 4 }) pat:update_frame(225,2,2, { tex_index = 325 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+6 , hurtbox = pat:get_frame(203,0,5).hurtbox , duration = 4 }) pat:update_frame(225,2,3, { tex_index = 324 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+6 , hurtbox = pat:get_frame(203,0,5).hurtbox , fflags = pat:get_frame(225,2,4).fflags , duration = 4 }) pat:update_frame(225,2,4, { tex_index = 323 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+6 , hurtbox = pat:get_frame(203,0,2).hurtbox , duration = 4 }) pat:update_frame(225,2,5, { tex_index = 322 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+6 , hurtbox = pat:get_frame(203,0,0).hurtbox , duration = 4 }) --j6DD pat:remove_frame(226,0,4) pat:update_frame(226,0,0, { tex_index = 625 , tex_w = baseW , tex_h = baseH , tex_offset_x = 256-(baseX) , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 1 }) pat:update_frame(226,0,1, { tex_index = 625 , tex_w = baseW , tex_h = baseH , tex_offset_x = 256-(baseX) , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 2 }) pat:update_frame(226,0,2, { tex_index = 626 , tex_w = baseW , tex_h = baseH , tex_offset_x = 256-(baseX) , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 1 }) pat:update_frame(226,0,3, { tex_index = 626 , tex_w = baseW , tex_h = baseH , tex_offset_x = 256-(baseX) , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 2 }) --pat:update_frame(202,0,4, { tex_index = 622 , tex_w = baseW , tex_h = baseH , tex_offset_x = 256-baseX , tex_offset_y = baseY+6 , duration = 3 }) pat:update_frame(226,1,0, { tex_index = 330 , tex_w = baseW , tex_h = baseH , tex_offset_x = 256-(baseX+12) , tex_offset_y = baseY+6 , hurtbox = pat:get_frame(202,1,0).hurtbox , duration = 3 }) pat:update_frame(226,1,1, { tex_index = 622 , tex_w = baseW , tex_h = baseH , tex_offset_x = 256-(baseX+12) , tex_offset_y = baseY+6 , hurtbox = pat:get_frame(202,1,0).hurtbox , duration = 4 }) pat:update_frame(226,1,2, { tex_index = 330 , tex_w = baseW , tex_h = baseH , tex_offset_x = 256-(baseX+12) , tex_offset_y = baseY+6 , hurtbox = pat:get_frame(202,1,0).hurtbox , duration = 4 }) pat:update_frame(226,1,3, { tex_index = 622 , tex_w = baseW , tex_h = baseH , tex_offset_x = 256-(baseX+12) , tex_offset_y = baseY+6 , hurtbox = pat:get_frame(202,1,0).hurtbox , duration = 4 }) pat:update_frame(226,2,0, { tex_index = 626 , tex_w = baseW , tex_h = baseH , tex_offset_x = 256-(baseX) , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 4 }) pat:update_frame(226,2,1, { tex_index = 625 , tex_w = baseW , tex_h = baseH , tex_offset_x = 256-(baseX) , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 4 }) --hit pat:update_frame(50,0,0, { tex_index = 383 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , collision = pat:get_frame(0,0,0).collision , duration = 6 }) pat:update_frame(50,0,0,function(frame) frame.hurtbox[2].x2 = frame.hurtbox[2].x2 - 25 frame.hurtbox[2].y1 = frame.hurtbox[2].y1 + 20 frame.hurtbox[3] = frame.hurtbox[4] frame.hurtbox[4]=null frame.hurtbox[3].x1 = frame.hurtbox[3].x1 - 25 end) pat:update_frame(50,0,1, { tex_index = 384 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(50,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(50,0,2, { tex_index = 385 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , collision = pat:get_frame(0,0,0).collision , duration = 2 }) pat:update_frame(50,0,2,function(frame) frame.hurtbox[1].y1 = frame.hurtbox[1].y1 + 20 frame.hurtbox[1].y2 = frame.hurtbox[1].y2 + 20 frame.hurtbox[3].y1 = frame.hurtbox[3].y1 + 20 frame.hurtbox[2].y1 = frame.hurtbox[2].y1 + 20 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 - 15 end) pat:update_frame(51,0,0, { tex_index = 383 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(50,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 12 }) pat:update_frame(51,0,1, { tex_index = 384 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(50,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(51,0,2, { tex_index = 385 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(50,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) pat:update_frame(52,0,0, { tex_index = 383 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(50,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 18 }) pat:update_frame(52,0,1, { tex_index = 384 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(50,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 5 }) pat:update_frame(52,0,2, { tex_index = 385 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(50,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) --reel pat:update_frame(53,0,0, { tex_index = 381 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(53,1,0, { tex_index = 374 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(53,1,1, { tex_index = 375 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(53,1,2, { tex_index = 376 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(53,1,3, { tex_index = 377 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(53,1,4, { tex_index = 378 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(53,1,5, { tex_index = 379 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(53,2,0, { tex_index = 374 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(53,2,1, { tex_index = 375 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(53,2,2, { tex_index = 376 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(53,2,3, { tex_index = 377 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(53,2,4, { tex_index = 378 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(53,2,5, { tex_index = 379 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(53,3,0, { tex_index = 383 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(53,3,1, { tex_index = 384 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(53,3,2, { tex_index = 385 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , collision = pat:get_frame(0,0,0).collision , duration = 3 }) --hitunder pat:remove_frame(56,0,3) pat:update_frame(56,0,0, { tex_index = 380 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(50,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 6 }) pat:update_frame(56,0,0,function(frame) frame.hurtbox[1].x1 = frame.hurtbox[1].x1 + 25 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 + 25 frame.hurtbox[2].x1 = frame.hurtbox[2].x1 - 0 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 - 0 end) pat:update_frame(56,0,1, { tex_index = 381 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(56,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(56,0,2, { tex_index = 382 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(56,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) pat:remove_frame(57,0,4) pat:remove_frame(57,0,3) pat:update_frame(57,0,0, { tex_index = 380 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(56,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 12 }) pat:update_frame(57,0,1, { tex_index = 381 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(56,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(57,0,2, { tex_index = 382 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(56,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) pat:remove_frame(58,0,6) pat:remove_frame(58,0,5) pat:remove_frame(58,0,4) pat:remove_frame(58,0,3) pat:update_frame(58,0,0, { tex_index = 380 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(56,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 18 }) pat:update_frame(58,0,1, { tex_index = 381 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(56,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 5 }) pat:update_frame(58,0,2, { tex_index = 382 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(56,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) --hitsit pat:update_frame(62,0,0, { tex_index = 371 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , collision = pat:get_frame(2,0,0).collision , duration = 6 }) pat:update_frame(62,0,0,function(frame) frame.hurtbox[1].y1 = frame.hurtbox[1].y1 - 5 frame.hurtbox[1].y2 = frame.hurtbox[1].y2 - 5 frame.hurtbox[1].x1 = frame.hurtbox[1].x1 + 45 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 + 45 frame.hurtbox[2].y1 = frame.hurtbox[2].y1 + 15 end) pat:update_frame(62,0,1, { tex_index = 372 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(62,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 3 }) pat:update_frame(62,0,2, { tex_index = 373 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(62,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 2 }) pat:update_frame(63,0,0, { tex_index = 371 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(62,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 12 }) pat:update_frame(63,0,1, { tex_index = 372 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(62,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 4 }) pat:update_frame(63,0,2, { tex_index = 373 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(62,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 2 }) pat:update_frame(64,0,0, { tex_index = 371 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(62,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 18 }) pat:update_frame(64,0,1, { tex_index = 372 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(62,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 5 }) pat:update_frame(64,0,2, { tex_index = 373 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(62,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 2 }) --hitair pat:update_frame(70,0,0, { tex_index = 380 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+6 , hurtbox = pat:get_frame(56,0,0).hurtbox , duration = 12 }) pat:update_frame(70,0,0,function(frame) for idx = 1 , 3 do frame.hurtbox[idx].y1 = frame.hurtbox[idx].y1 - 6 frame.hurtbox[idx].y2 = frame.hurtbox[idx].y2 - 6 end end) pat:update_frame(70,0,1, { tex_index = 381 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+6 , hurtbox = pat:get_frame(70,0,0).hurtbox , duration = 4 }) pat:update_frame(70,0,2, { tex_index = 382 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+6 , hurtbox = pat:get_frame(70,0,0).hurtbox , duration = 2 }) pat:update_frame(70,0,3, { tex_index = 389 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:update_frame(70,1,0, { tex_index = 391 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:update_frame(70,1,1, { tex_index = 388 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:update_frame(71,0,0, { tex_index = 363 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+6 , hurtbox = pat:get_frame(56,0,0).hurtbox , duration = 2 }) --0 pat:update_frame(71,0,0,function(frame) for idx = 1 , 3 do frame.hurtbox[idx].y1 = frame.hurtbox[idx].y1 - 6 frame.hurtbox[idx].y2 = frame.hurtbox[idx].y2 - 6 end end) pat:update_frame(71,1,0, { tex_index = 364 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-24 , hurtbox = pat:get_frame(50,0,0).hurtbox }) --1 pat:update_frame(71,1,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 frame.hurtbox[3].x1 = frame.hurtbox[3].x1 + 40 frame.hurtbox[3].x2 = frame.hurtbox[3].x2 + 20 end) pat:update_frame(71,2,0, { tex_index = 365 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-24 }) --2 pat:update_frame(71,2,0,function(frame) frame.hurtbox[1].y1 = frame.hurtbox[1].y1 + 40 frame.hurtbox[1].y2 = frame.hurtbox[1].y2 + 40 frame.hurtbox[2].y1 = frame.hurtbox[2].y1 + 30 frame.hurtbox[2].y2 = frame.hurtbox[2].y2 + 30 frame.hurtbox[3].y2 = frame.hurtbox[3].y2 - 15 end) pat:update_frame(71,2,1, { tex_index = 366 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-24 }) --3 pat:update_frame(71,2,1,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 + 25 frame.hurtbox[2].y2 = frame.hurtbox[2].y2 - 5 end) pat:update_frame(71,2,2, { tex_index = 367 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-24 }) --4 pat:update_frame(71,2,2,function(frame) frame.hurtbox[3].y1 = frame.hurtbox[3].y1 + 10 frame.hurtbox[3].y2 = frame.hurtbox[3].y2 + 10 frame.hurtbox[2].x1 = frame.hurtbox[2].x1 + 20 frame.hurtbox[2].y1 = frame.hurtbox[2].y1 + 20 frame.hurtbox[2].y2 = frame.hurtbox[2].y2 - 10 end) pat:update_frame(71,2,3, { tex_index = 368 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-24 }) --5 pat:update_frame(71,2,3,function(frame) frame.hurtbox[1].x1 = frame.hurtbox[1].x1 - 25 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 - 25 frame.hurtbox[2].x1 = frame.hurtbox[2].x1 + 10 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 - 25 frame.hurtbox[3].x1 = frame.hurtbox[3].x1 + 30 frame.hurtbox[3].x2 = frame.hurtbox[3].x2 + 30 frame.hurtbox[3].y1 = frame.hurtbox[3].y1 + 25 frame.hurtbox[3].y2 = frame.hurtbox[3].y2 + 10 end) pat:update_frame(71,3,0, { tex_index = 369 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-24 }) --6 pat:update_frame(71,3,0,function(frame) frame.hurtbox[1].x1 = frame.hurtbox[1].x1 + 25 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 + 25 frame.hurtbox[2].x1 = frame.hurtbox[2].x1 + 30 frame.hurtbox[3].x1 = frame.hurtbox[3].x1 + 5 frame.hurtbox[3].y1 = frame.hurtbox[3].y1 + 5 end) pat:update_frame(71,3,1, { tex_index = 370 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-24 , hurtbox = pat:get_frame(71,3,0).hurtbox }) --7 --[[ pat:update_frame(71,0,0, { tex_index = 363 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+6 , hurtbox = pat:get_frame(71,0,0).hurtbox }) --0 pat:update_frame(71,1,0, { tex_index = 364 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-24 , hurtbox = pat:get_frame(71,1,0).hurtbox }) --1 pat:update_frame(71,2,0, { tex_index = 365 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-24 , hurtbox = pat:get_frame(71,2,0).hurtbox }) --2 pat:update_frame(71,2,1, { tex_index = 366 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-24 , hurtbox = pat:get_frame(71,2,1).hurtbox }) --3 pat:update_frame(71,2,2, { tex_index = 367 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-24 , hurtbox = pat:get_frame(71,2,2).hurtbox }) --4 pat:update_frame(71,2,3, { tex_index = 368 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-24 , hurtbox = pat:get_frame(71,2,3).hurtbox }) --5 pat:update_frame(71,3,0, { tex_index = 369 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-24 , hurtbox = pat:get_frame(71,3,0).hurtbox }) --6 pat:update_frame(71,3,1, { tex_index = 370 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-24 , hurtbox = pat:get_frame(71,3,0).hurtbox }) --7 ]]-- pat:update_frame(73,0,0, { tex_index = 363 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+6 , hurtbox = pat:get_frame(71,0,0).hurtbox }) --0 pat:update_frame(73,1,0, { tex_index = 366 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-24 , hurtbox = pat:get_frame(71,2,1).hurtbox }) --3 pat:update_frame(73,2,0, { tex_index = 367 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-24 , hurtbox = pat:get_frame(71,2,2).hurtbox }) --4 pat:update_frame(73,3,0, { tex_index = 369 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-24 , hurtbox = pat:get_frame(71,3,0).hurtbox }) --6 pat:update_frame(73,3,1, { tex_index = 370 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-24 , hurtbox = pat:get_frame(71,3,0).hurtbox }) --7 pat:update_frame(76,0,0, { tex_index = 363 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+6 , hurtbox = pat:get_frame(71,0,0).hurtbox }) --0 pat:update_frame(76,1,0, { tex_index = 364 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-24 , hurtbox = pat:get_frame(71,1,0).hurtbox }) --1 pat:update_frame(76,1,1, { tex_index = 365 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-24 , hurtbox = pat:get_frame(71,2,0).hurtbox }) --2 pat:update_frame(76,2,0, { tex_index = 366 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-24 , hurtbox = pat:get_frame(71,2,1).hurtbox }) --3 pat:update_frame(77,0,0, { tex_index = 363 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+6 , hurtbox = pat:get_frame(71,0,0).hurtbox }) --0 pat:update_frame(77,0,1, { tex_index = 364 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-24 , hurtbox = pat:get_frame(71,1,0).hurtbox }) --1 pat:update_frame(77,0,2, { tex_index = 365 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-24 , hurtbox = pat:get_frame(71,2,0).hurtbox }) --2 pat:update_frame(77,1,0, { tex_index = 366 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-24 , hurtbox = pat:get_frame(71,2,1).hurtbox }) --3 pat:update_frame(78,0,0, { tex_index = 363 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+6 , hurtbox = pat:get_frame(71,0,0).hurtbox }) --0 pat:update_frame(78,1,0, { tex_index = 364 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-24 , hurtbox = pat:get_frame(71,1,0).hurtbox }) --1 pat:update_frame(78,2,0, { tex_index = 365 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-24 , hurtbox = pat:get_frame(71,2,0).hurtbox }) --2 pat:update_frame(78,2,1, { tex_index = 366 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-24 , hurtbox = pat:get_frame(71,2,1).hurtbox }) --3 pat:update_frame(78,2,2, { tex_index = 367 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-24 , hurtbox = pat:get_frame(71,2,2).hurtbox }) --4 pat:update_frame(78,2,3, { tex_index = 368 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-24 , hurtbox = pat:get_frame(71,2,3).hurtbox }) --5 pat:update_frame(78,3,0, { tex_index = 369 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-24 , hurtbox = pat:get_frame(71,3,0).hurtbox }) --6 pat:update_frame(78,3,1, { tex_index = 370 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-24 , hurtbox = pat:get_frame(71,3,0).hurtbox }) --7 pat:update_frame(83,0,0, { tex_index = 363 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+6 , hurtbox = pat:get_frame(71,0,0).hurtbox }) --0 pat:update_frame(83,0,1, { tex_index = 320 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+20 , tex_offset_y = baseY , hurtbox = pat:get_frame(71,0,0).hurtbox }) pat:update_frame(83,0,1,function(frame) --[[ frame.hurtbox[1].x1 = frame.hurtbox[1].x1 - 30 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 - 20 frame.hurtbox[2].x1 = frame.hurtbox[2].x1 - 20 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 - 10]]-- end) pat:update_frame(83,0,2, { tex_index = 320 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+20 , tex_offset_y = baseY , hurtbox = pat:get_frame(83,0,1).hurtbox }) pat:update_frame(83,0,3, { tex_index = 320 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+20 , tex_offset_y = baseY , hurtbox = pat:get_frame(83,0,1).hurtbox }) pat:update_frame(83,0,4, { tex_index = 320 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+20 , tex_offset_y = baseY , hurtbox = pat:get_frame(83,0,1).hurtbox }) pat:update_frame(83,0,5, { tex_index = 320 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+20 , tex_offset_y = baseY , hurtbox = pat:get_frame(83,0,1).hurtbox }) pat:update_frame(83,0,6, { tex_index = 320 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+20 , tex_offset_y = baseY , hurtbox = pat:get_frame(83,0,1).hurtbox }) pat:update_frame(83,0,7, { tex_index = 320 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+20 , tex_offset_y = baseY , hurtbox = pat:get_frame(83,0,1).hurtbox }) pat:update_frame(83,0,8, { tex_index = 320 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+20 , tex_offset_y = baseY , hurtbox = pat:get_frame(83,0,1).hurtbox }) pat:update_frame(83,0,9, { tex_index = 320 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+20 , tex_offset_y = baseY , hurtbox = pat:get_frame(83,0,1).hurtbox }) pat:update_frame(83,0,10, { tex_index = 320 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+20 , tex_offset_y = baseY , hurtbox = pat:get_frame(83,0,1).hurtbox }) pat:update_frame(83,0,11, { tex_index = 320 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+20 , tex_offset_y = baseY , hurtbox = pat:get_frame(83,0,1).hurtbox }) pat:update_frame(83,0,12, { tex_index = 320 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+20 , tex_offset_y = baseY , hurtbox = pat:get_frame(83,0,1).hurtbox }) pat:update_frame(83,1,0, { tex_index = 365 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-24 , hurtbox = pat:get_frame(71,2,0).hurtbox }) --2 pat:update_frame(83,1,1, { tex_index = 366 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-24 , hurtbox = pat:get_frame(71,2,1).hurtbox }) --3 pat:update_frame(83,1,2, { tex_index = 367 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-24 , hurtbox = pat:get_frame(71,2,2).hurtbox }) --4 pat:update_frame(83,1,3, { tex_index = 368 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-24 , hurtbox = pat:get_frame(71,2,3).hurtbox }) --5 pat:update_frame(83,2,0, { tex_index = 369 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-24 , hurtbox = pat:get_frame(71,3,0).hurtbox }) --6 pat:update_frame(83,2,1, { tex_index = 370 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-24 , hurtbox = pat:get_frame(71,3,0).hurtbox }) --7 pat:update_frame(84,0,0, { tex_index = 380 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(56,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(84,1,0, { tex_index = 383 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(50,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(84,1,1, { tex_index = 384 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(50,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(84,1,2, { tex_index = 385 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(50,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(85,0,0, { tex_index = 380 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(56,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(85,1,0, { tex_index = 383 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(50,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(85,1,1, { tex_index = 384 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(50,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(85,1,2, { tex_index = 385 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(50,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(86,0,0, { tex_index = 365 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-24 , hurtbox = pat:get_frame(71,2,0).hurtbox }) --2 pat:update_frame(87,0,0, { tex_index = 365 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-24 , hurtbox = pat:get_frame(71,2,0).hurtbox }) --2 local baseY2 = 180 pat:update_frame(89,0,0, { tex_index = 331 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY2 }) --0x pat:update_frame(89,0,0,function(frame) frame.hurtbox[2]=null end) pat:update_frame(89,0,1, { tex_index = 332 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY2 }) --1x pat:update_frame(89,0,1,function(frame) frame.hurtbox[2]=null end) pat:update_frame(89,0,2, { tex_index = 333 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY2 }) --2x pat:update_frame(89,0,2,function(frame) frame.hurtbox[2]=null end) pat:update_frame(89,1,0, { tex_index = 365 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-24 , hurtbox = pat:get_frame(71,2,0).hurtbox }) --2 pat:update_frame(89,2,0, { tex_index = 366 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-24 , hurtbox = pat:get_frame(71,2,1).hurtbox }) --3 pat:update_frame(96,0,0, { tex_index = 331 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY2 }) --0x pat:update_frame(96,0,1, { tex_index = 332 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY2 }) --1x pat:update_frame(96,1,0, { tex_index = 333 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY2 }) --2x pat:update_frame(96,1,1, { tex_index = 334 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY2 }) --3x pat:update_frame(96,2,0, { tex_index = 335 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY2 }) --4x pat:update_frame(96,3,0, { tex_index = 336 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY2 }) --5x pat:update_frame(96,3,1, { tex_index = 337 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY2 }) --6x pat:update_frame(97,0,0, { tex_index = 331 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY2 }) --0x pat:update_frame(97,0,1, { tex_index = 332 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY2 }) --1x pat:update_frame(97,1,0, { tex_index = 333 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY2 }) --2x pat:update_frame(97,1,1, { tex_index = 334 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY2 }) --3x pat:update_frame(97,2,0, { tex_index = 335 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY2 }) --4x pat:update_frame(97,3,0, { tex_index = 336 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY2 }) --5x pat:update_frame(97,3,1, { tex_index = 337 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY2 }) --6x pat:update_frame(98,0,0, { tex_index = 337 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY2 }) --6x pat:update_frame(99,0,0, { tex_index = 337 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY2 }) --6x pat:update_frame(99,1,0, { tex_index = 337 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY2 }) --6x pat:update_frame(99,2,0, { tex_index = 337 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY2 }) --6x pat:update_frame(99,3,0, { tex_index = 337 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY2 }) --6x pat:update_frame(100,0,0, { tex_index = 385 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY }) pat:update_frame(101,0,0, { tex_index = 385 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-11 , tex_offset_y = baseY-70 }) pat:update_frame(102,0,0, { tex_index = 382 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY }) pat:update_frame(103,0,0, { tex_index = 382 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+3 , tex_offset_y = baseY-70 }) pat:update_frame(104,0,0, { tex_index = 373 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY }) pat:update_frame(105,0,0, { tex_index = 373 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-15 , tex_offset_y = baseY-43 }) pat:update_frame(106,0,0, { tex_index = 364 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-24 }) --1 pat:update_frame(107,0,0, { tex_index = 364 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-2 , tex_offset_y = baseY-24-82 }) --1 pat:update_frame(108,0,0, { tex_index = 366 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-24 }) --3 pat:update_frame(109,0,0, { tex_index = 366 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-18 , tex_offset_y = baseY-24-53 }) --3 pat:update_frame(110,0,0, { tex_index = 369 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-24 }) --6 pat:update_frame(111,0,0, { tex_index = 369 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-24-24 }) --6 pat:update_frame(112,0,0, { tex_index = 331 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY2 }) --0x pat:update_frame(112,0,1, { tex_index = 332 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY2 }) --1x pat:update_frame(112,1,0, { tex_index = 333 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY2 }) --2x pat:update_frame(112,1,1, { tex_index = 334 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY2 }) --3x pat:update_frame(112,2,0, { tex_index = 335 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY2 }) --4x pat:update_frame(112,3,0, { tex_index = 336 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY2 }) --5x pat:update_frame(112,3,1, { tex_index = 337 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY2 }) --6x pat:update_frame(112,4,0, { tex_index = 337 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY2 }) --6x pat:update_frame(113,0,0, { tex_index = 335 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY2 }) --4x pat:update_frame(113,1,0, { tex_index = 336 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY2 }) --5x pat:update_frame(113,1,1, { tex_index = 337 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY2 }) --6x pat:update_frame(113,2,0, { tex_index = 337 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY2 }) --6x pat:update_frame(114,0,0, { tex_index = 337 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY2 }) --6x pat:update_frame(140,0,0, { tex_index = 363 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+6 , hurtbox = pat:get_frame(71,0,0).hurtbox }) --0 pat:update_frame(140,0,1, { tex_index = 320 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+20 , tex_offset_y = baseY , hurtbox = pat:get_frame(83,0,1).hurtbox }) pat:update_frame(140,0,2, { tex_index = 320 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+20 , tex_offset_y = baseY , hurtbox = pat:get_frame(83,0,1).hurtbox }) pat:update_frame(140,0,3, { tex_index = 320 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+20 , tex_offset_y = baseY , hurtbox = pat:get_frame(83,0,1).hurtbox }) pat:update_frame(140,0,4, { tex_index = 320 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+20 , tex_offset_y = baseY , hurtbox = pat:get_frame(83,0,1).hurtbox }) pat:update_frame(140,0,5, { tex_index = 320 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+20 , tex_offset_y = baseY , hurtbox = pat:get_frame(83,0,1).hurtbox }) pat:update_frame(140,0,6, { tex_index = 320 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+20 , tex_offset_y = baseY , hurtbox = pat:get_frame(83,0,1).hurtbox }) pat:update_frame(140,0,7, { tex_index = 363 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+6 , hurtbox = pat:get_frame(71,0,0).hurtbox }) --0 pat:update_frame(143,0,0, { tex_index = 363 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+6 , hurtbox = pat:get_frame(71,0,0).hurtbox }) --0 pat:update_frame(143,1,0, { tex_index = 320 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+20 , tex_offset_y = baseY , hurtbox = pat:get_frame(83,0,1).hurtbox }) pat:update_frame(143,1,1, { tex_index = 320 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+20 , tex_offset_y = baseY , hurtbox = pat:get_frame(83,0,1).hurtbox }) pat:update_frame(143,2,0, { tex_index = 363 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+6 , hurtbox = pat:get_frame(71,0,0).hurtbox }) --0 pat:update_frame(145,0,0, { tex_index = 363 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+6 , hurtbox = pat:get_frame(71,0,0).hurtbox }) --0 pat:update_frame(145,1,0, { tex_index = 364 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-24 , hurtbox = pat:get_frame(71,1,0).hurtbox }) --1 pat:update_frame(145,2,0, { tex_index = 365 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-24 , hurtbox = pat:get_frame(71,2,0).hurtbox }) --2 pat:update_frame(145,2,1, { tex_index = 366 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-24 , hurtbox = pat:get_frame(71,2,1).hurtbox }) --3 pat:update_frame(145,2,2, { tex_index = 367 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-24 , hurtbox = pat:get_frame(71,2,2).hurtbox }) --4 pat:update_frame(145,2,3, { tex_index = 368 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-24 , hurtbox = pat:get_frame(71,2,3).hurtbox }) --5 pat:update_frame(145,3,0, { tex_index = 369 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-24 , hurtbox = pat:get_frame(71,3,0).hurtbox }) --6 pat:update_frame(145,3,1, { tex_index = 370 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-24 , hurtbox = pat:get_frame(71,3,0).hurtbox }) --7 pat:update_frame(149,0,0, { tex_index = 363 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+6 , hurtbox = pat:get_frame(71,0,0).hurtbox }) --0 pat:update_frame(149,1,0, { tex_index = 366 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-24 , hurtbox = pat:get_frame(71,2,1).hurtbox }) --3 --guardUpper pat:update_frame(150,0,0, { tex_index = 359 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 6 }) pat:update_frame(150,0,1, { tex_index = 360 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) pat:update_frame(150,0,2, { tex_index = 361 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) pat:remove_frame(151,0,3) pat:update_frame(151,0,0, { tex_index = 359 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 12 }) pat:update_frame(151,0,1, { tex_index = 360 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) pat:update_frame(151,0,2, { tex_index = 361 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) pat:remove_frame(152,0,7) pat:remove_frame(152,0,6) pat:remove_frame(152,0,5) pat:remove_frame(152,0,4) pat:remove_frame(152,0,3) pat:update_frame(152,0,0, { tex_index = 359 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 18 }) pat:update_frame(152,0,1, { tex_index = 360 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) pat:update_frame(152,0,2, { tex_index = 361 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) pat:remove_frame(153,0,10) pat:remove_frame(153,0,9) pat:remove_frame(153,0,8) pat:remove_frame(153,0,7) pat:remove_frame(153,0,6) pat:remove_frame(153,0,5) pat:remove_frame(153,0,4) pat:remove_frame(153,0,3) pat:update_frame(153,0,0, { tex_index = 359 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 24 }) pat:update_frame(153,0,1, { tex_index = 360 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) pat:update_frame(153,0,2, { tex_index = 361 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) --guardUnder pat:remove_frame(154,0,3) pat:update_frame(154,0,0, { tex_index = 355 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(2,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 6 }) pat:update_frame(154,0,1, { tex_index = 355 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(2,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 2 }) pat:update_frame(154,0,2, { tex_index = 355 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(2,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 2 }) pat:remove_frame(155,0,3) pat:update_frame(155,0,0, { tex_index = 355 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(2,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 12 }) pat:update_frame(155,0,1, { tex_index = 355 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(2,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 2 }) pat:update_frame(155,0,2, { tex_index = 355 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(2,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 2 }) pat:remove_frame(156,0,7) pat:remove_frame(156,0,6) pat:remove_frame(156,0,5) pat:remove_frame(156,0,4) pat:remove_frame(156,0,3) pat:update_frame(156,0,0, { tex_index = 355 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(2,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 18 }) pat:update_frame(156,0,1, { tex_index = 355 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(2,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 2 }) pat:update_frame(156,0,2, { tex_index = 355 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(2,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 2 }) pat:remove_frame(157,0,10) pat:remove_frame(157,0,9) pat:remove_frame(157,0,8) pat:remove_frame(157,0,7) pat:remove_frame(157,0,6) pat:remove_frame(157,0,5) pat:remove_frame(157,0,4) pat:remove_frame(157,0,3) pat:update_frame(157,0,0, { tex_index = 355 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(2,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 24 }) pat:update_frame(157,0,1, { tex_index = 355 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(2,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 2 }) pat:update_frame(157,0,2, { tex_index = 355 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(2,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 2 }) --guardAir pat:remove_frame(158,0,4) pat:update_frame(158,0,0, { tex_index = 359 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision , duration = 8 }) pat:update_frame(158,0,1, { tex_index = 360 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision , duration = 4 }) pat:update_frame(158,0,2, { tex_index = 361 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision , duration = 4 }) pat:update_frame(158,0,3, { tex_index = 390 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision , duration = 4 }) --guardBUpper pat:update_frame(159,0,0, { tex_index = 343 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 8 }) pat:update_frame(159,0,1, { tex_index = 343 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) pat:update_frame(159,0,2, { tex_index = 344 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) pat:update_frame(160,0,0, { tex_index = 343 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 16 }) pat:update_frame(160,0,1, { tex_index = 343 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) pat:update_frame(160,0,2, { tex_index = 344 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) pat:update_frame(161,0,0, { tex_index = 343 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 24 }) pat:update_frame(161,0,1, { tex_index = 343 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) pat:update_frame(161,0,2, { tex_index = 344 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) pat:update_frame(162,0,0, { tex_index = 343 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 28 }) pat:update_frame(162,0,1, { tex_index = 343 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) pat:update_frame(162,0,2, { tex_index = 344 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) --guardBUnder pat:update_frame(163,0,0, { tex_index = 341 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(2,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 8 }) pat:update_frame(163,0,1, { tex_index = 341 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(2,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 2 }) pat:update_frame(163,0,2, { tex_index = 341 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(2,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 2 }) pat:update_frame(164,0,0, { tex_index = 341 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(2,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 16 }) pat:update_frame(164,0,1, { tex_index = 341 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(2,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 2 }) pat:update_frame(164,0,2, { tex_index = 341 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(2,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 2 }) pat:update_frame(165,0,0, { tex_index = 341 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(2,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 24 }) pat:update_frame(165,0,1, { tex_index = 341 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(2,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 2 }) pat:update_frame(165,0,2, { tex_index = 341 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(2,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 2 }) pat:update_frame(166,0,0, { tex_index = 341 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(2,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 28 }) pat:update_frame(166,0,1, { tex_index = 341 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(2,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 2 }) pat:update_frame(166,0,2, { tex_index = 341 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(2,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 2 }) --airtech 9 pat:update_frame(180,0,0, { tex_index = 387 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(180,0,1, { tex_index = 388 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(180,0,2, { tex_index = 391 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(180,0,3, { tex_index = 388 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(180,0,4, { tex_index = 391 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(180,0,5, { tex_index = 388 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(180,0,6, { tex_index = 389 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(180,0,7, { tex_index = 390 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(180,0,8, { tex_index = 389 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(180,0,9, { tex_index = 390 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(180,1,0, { tex_index = 391 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(180,1,1, { tex_index = 388 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox }) --airtech 7 pat:update_frame(181,0,0, { tex_index = 387 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(181,0,1, { tex_index = 388 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(181,0,2, { tex_index = 391 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(181,0,3, { tex_index = 388 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(181,0,4, { tex_index = 391 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(181,0,5, { tex_index = 388 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(181,0,6, { tex_index = 389 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(181,0,7, { tex_index = 390 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(181,0,8, { tex_index = 389 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(181,0,9, { tex_index = 390 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(181,1,0, { tex_index = 391 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(181,1,1, { tex_index = 388 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(198,0,0, { tex_index = 331 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY2 }) --0x pat:update_frame(198,0,1, { tex_index = 335 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY2 }) --4x pat:update_frame(198,1,0, { tex_index = 631 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY2 }) pat:update_frame(198,1,1, { tex_index = 631 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY2 }) pat:update_frame(198,1,2, { tex_index = 631 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY2 }) pat:update_frame(198,1,3, { tex_index = 631 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY2 }) pat:update_frame(198,1,4, { tex_index = 631 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY2 }) pat:remove_frame(198,1,7) pat:remove_frame(198,1,6) pat:remove_frame(198,1,5) pat:split_frame(198,2,0,2,2) pat:split_frame(198,2,0,2,2) pat:split_frame(198,2,0,2,2) pat:split_frame(198,2,0,2,2) pat:update_frame(198,2,0, { tex_index = 618 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , collision = pat:get_frame(198,1,0).collision , duration = 4 }) pat:update_frame(198,2,1, { tex_index = 506 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , collision = pat:get_frame(198,1,0).collision , duration = 4 }) pat:update_frame(198,2,2, { tex_index = 505 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , collision = pat:get_frame(198,1,0).collision , duration = 4 }) pat:update_frame(198,2,3, { tex_index = 504 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(198,2,4, { tex_index = 503 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(198,2,5, { tex_index = 607 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , collision = pat:get_frame(0,0,0).collision , duration = 1 }) pat:split_frame(199,0,0,2,2) pat:update_frame(199,0,0, { tex_index = 618 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , collision = pat:get_frame(4,0,0).collision , duration = 5 }) pat:update_frame(199,0,1, { tex_index = 506 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , collision = pat:get_frame(4,0,1).collision , duration = 5 }) pat:update_frame(199,0,2, { tex_index = 505 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , collision = pat:get_frame(4,0,2).collision , duration = 5 }) pat:update_frame(199,0,3, { tex_index = 504 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , collision = pat:get_frame(0,0,0).collision , duration = 5 }) pat:update_frame(199,0,4, { tex_index = 503 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , collision = pat:get_frame(0,0,0).collision , duration = 5 }) pat:update_frame(199,0,5, { tex_index = 607 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , collision = pat:get_frame(0,0,0).collision , duration = 1 }) end function mods.fix_etc(pat) pat:split_frame(990,1,0,2,2) pat:split_frame(990,1,0,2,2) pat:split_frame(990,1,0,2,2) pat:split_frame(990,1,0,2,2) pat:update_frame(990,1,0,{tex_index = 409 , tex_w = 32 , tex_h = 32 , tex_offset_x = 16 , tex_offset_y = 16 , duration = 4 , scale_x = 200 , scale_y = 200 , blending_mode = 1}) pat:update_frame(990,1,1,{tex_index = 410 , tex_w = 32 , tex_h = 32 , tex_offset_x = 16 , tex_offset_y = 16 , duration = 4 , scale_x = 200 , scale_y = 200 , blending_mode = 1}) pat:update_frame(990,1,2,{tex_index = 411 , tex_w = 32 , tex_h = 32 , tex_offset_x = 16 , tex_offset_y = 16 , duration = 4 , scale_x = 200 , scale_y = 200 , blending_mode = 1}) pat:update_frame(990,1,3,{tex_index = 412 , tex_w = 32 , tex_h = 32 , tex_offset_x = 16 , tex_offset_y = 16 , duration = 4 , scale_x = 200 , scale_y = 200 , blending_mode = 1}) pat:update_frame(990,1,4,{tex_index = 413 , tex_w = 32 , tex_h = 32 , tex_offset_x = 16 , tex_offset_y = 16 , duration = 4 , scale_x = 200 , scale_y = 200 , blending_mode = 1}) pat:update_frame(990,1,5,{tex_index = 414 , tex_w = 32 , tex_h = 32 , tex_offset_x = 16 , tex_offset_y = 16 , duration = 4 , scale_x = 200 , scale_y = 200 , blending_mode = 1}) --pat:update_frame(991,0,0,{tex_w = 0}) pat:update_frame(992,0,0,{tex_w = 0}) -- orbiting sprite and B bullet effect --pat:update_frame(993,0,0,{tex_w = 0}) --pat:update_frame(994,0,0,{tex_w = 0}) pat:update_frame(970,2,0,{tex_w = 0}) pat:update_frame(970,3,0,{tex_w = 0}) pat:update_frame(970,4,0,{tex_w = 0}) pat:update_frame(970,5,0,{tex_w = 0}) pat:update_frame(910,6,0,{tex_w = 0}) pat:update_frame(910,7,0,{tex_w = 0}) for idx = 0 , 9 do pat:update_frame(998,0,idx,{tex_index = 405 , tex_w = 0}) end end function mods.nf5a(pat) local baseX = 90 local baseY = 256 local baseW = 128 local baseH = 128 pat:update_frame(301,0,0, { tex_index = 7 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 7 }) pat:update_frame(301,0,0,function(frame) frame.hurtbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[1].x1 = frame.hurtbox[1].x1 + 10 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 + 10 frame.hurtbox[2].y1 = frame.hurtbox[2].y2 - 40 frame.hurtbox[2].x1 = frame.hurtbox[2].x1 - 10 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 + 10 end) pat:update_frame(301,0,1, { tex_index = 8 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , tex_offset_y = baseY , hurtbox = pat:get_frame(301,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(301,0,1,function(frame) frame.hurtbox[1].y1 = frame.hurtbox[1].y1 + 10 frame.hurtbox[1].x1 = frame.hurtbox[1].x1 + 10 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 + 10 frame.hurtbox[2].y1 = frame.hurtbox[2].y1 - 20 frame.hurtbox[2].x1 = frame.hurtbox[2].x1 - 20 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 + 20 end) pat:update_frame(301,0,2, { tex_index = 9 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(301,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(301,0,2,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 + 60 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 + 60 end) pat:update_frame(301,0,3, { tex_index = 9 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(301,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) pat:update_frame(301,0,4, { tex_index = 10 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(301,0,4,function(frame) frame.attackbox[1]=frame.attackbox[2] frame.attackbox[2]=null frame.attackbox[1].x1 = frame.attackbox[1].x1 + 30 frame.attackbox[1].y2 = frame.attackbox[1].y2 - 25 frame.hurtbox[1].x1 = frame.hurtbox[1].x1 - 35 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 - 35 frame.hurtbox[1].y1 = frame.hurtbox[1].y1 - 30 frame.hurtbox[1].y2 = frame.hurtbox[1].y2 - 30 frame.hurtbox[2].x1 = frame.hurtbox[2].x1 + 40 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 + 80 frame.hurtbox[2].y2 = frame.hurtbox[2].y2 - 40 frame.hurtbox[3].y1 = frame.hurtbox[3].y1 - 40 frame.hurtbox[3].x1 = frame.hurtbox[3].x1 + 60 frame.hurtbox[3].x2 = frame.hurtbox[3].x2 - 15 frame.hurtbox[4]=null frame.limit = 0 frame.damage = 850 frame.proration = 850 frame.hit_ani_ground = 0 frame.combo_correction = CC_NONE end) pat:update_frame(301,0,5, { tex_index = 10 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(301,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 10 }) pat:update_frame(301,0,6, { tex_index = 11 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(301,0,6,function(frame) frame.hurtbox[1].x1 = frame.hurtbox[1].x1 + 20 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 + 20 end) pat:update_frame(301,0,7, { tex_index = 12 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(301,0,6).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(301,0,8, { tex_index = 13 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(301,0,6).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:remove_frame(301,0,9) pat:remove_frame(301,0,3) pat:update_frame(301,1,0, { tex_index = 8 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , tex_offset_y = baseY , hurtbox = pat:get_frame(301,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 15 }) pat:update_frame(301,1,1, { tex_index = 9 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(301,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(301,1,2, { tex_index = 9 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(301,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) pat:update_frame(301,1,3, { tex_index = 10 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(301,0,3).hurtbox , attackbox = pat:get_frame(301,0,3).attackbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(301,1,3,function(frame) frame.limit = 0 frame.damage = 1000 frame.proration = 850 frame.hit_ani_ground = 0 frame.combo_correction = CC_NONE end) pat:update_frame(301,1,4, { tex_index = 10 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(301,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 10 }) pat:update_frame(301,1,5, { tex_index = 11 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(301,0,5).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(301,1,6, { tex_index = 12 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(301,0,6).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(301,1,7, { tex_index = 13 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(301,0,7).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:remove_frame(301,1,8) pat:remove_frame(301,1,2) end function mods.f5a_fix(pat) pat:update_frame(301,0,3,{duration=3}) pat:update_frame(301,1,2,{duration=3}) pat:split_frame(301,0,2,2,1) pat:split_frame(301,1,1,2,1) end function mods.n2a(pat) local baseX = 112 local baseY = 256 local baseW = 128 local baseH = 160 pat:update_frame(303,0,0, { tex_index = 17 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(2,0,0).hurtbox , duration = 3 }) pat:update_frame(303,0,1, { tex_index = 18 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(2,0,0).hurtbox , duration = 3 }) pat:update_frame(303,0,2, { tex_index = 19 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(2,0,0).hurtbox , duration = 3 }) pat:update_frame(303,0,2,function(frame) frame.hurtbox[2] = pat:get_frame(2,0,0).hurtbox[1] 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 + 50 frame.hurtbox[2].y2 = frame.hurtbox[2].y1 + 40 end) pat:update_frame(303,0,3, { tex_index = 20 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(303,0,2).hurtbox , duration = 3 }) pat:update_frame(303,0,3,function(frame) frame.attackbox[1].y1 = frame.attackbox[1].y1 - 40 frame.attackbox[1].y2 = frame.attackbox[1].y2 - 40 frame.attackbox[1].x1 = frame.attackbox[1].x1 - 25 frame.attackbox[1].x2 = frame.attackbox[1].x2 - 35 + 5 frame.hit_ani_ground = 0 frame.attack_level = AL_MEDIUM frame.damage = 600 frame.untech = 30 frame.proration = 900 frame.launch_vector_x = 750 frame.launch_vector_y = 1500 frame.card_gain_hit = 80 frame.card_gain_block = 60 end) pat:remove_frame(303,0,4) pat:split_frame(303,0,3,1,1) pat:update_frame(303,0,4, { tex_index = 21 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(303,0,2).hurtbox , attackbox = pat:get_frame(0,0,0).attackbox , duration = 3 }) pat:update_frame(303,0,5, { tex_index = 22 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(303,0,2).hurtbox , duration = 3+3 }) pat:update_frame(303,0,6, { tex_index = 22 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(303,0,2).hurtbox , duration = 3 }) pat:update_frame(303,0,7, { tex_index = 23 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(303,0,2).hurtbox , duration = 3 }) pat:update_frame(303,0,8, { tex_index = 24 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(2,0,0).hurtbox , duration = 3 }) end function mods.n6a(pat) local baseX = 70 local baseY = 256 local baseW = 128 local baseH = 128 --pat:update_frame(302,0,0, { tex_index = 73 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(302,0,0, { tex_index = 74 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 5 }) pat:update_frame(302,0,1, { tex_index = 75 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 5 }) pat:update_frame(302,0,1,function(frame) frame.hurtbox[1].x1 = frame.hurtbox[1].x1 + 10 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 + 10 frame.hurtbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[2].x2 = frame.hurtbox[1].x2 + 10 frame.hurtbox[2].x1 = frame.hurtbox[1].x1 frame.hurtbox[2].y1 = frame.hurtbox[1].y2 - 60 end) --pat:update_frame(302,0,3, { tex_index = 76 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , collision = pat:get_frame(0,0,0).collision , duration = 2 }) --pat:update_frame(302,0,4, { tex_index = 77 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , collision = pat:get_frame(0,0,0).collision , duration = 2 }) pat:update_frame(302,0,2, { tex_index = 78 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 5 }) pat:update_frame(302,0,2,function(frame) frame.hurtbox[1].x1 = frame.hurtbox[1].x1 + 20 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 + 20 end) pat:update_frame(302,0,3, { tex_index = 79 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , collision = pat:get_frame(0,0,0).collision , duration = 5 }) pat:update_frame(302,0,3,function(frame) frame.hurtbox[3].y1 = frame.hurtbox[3].y1 - 30 frame.hurtbox[3].x2 = frame.hurtbox[3].x2 + 5 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 + 20 frame.hurtbox[2].x1 = frame.hurtbox[2].x1 + 5 frame.hurtbox[1].x1 = frame.hurtbox[1].x1 - 10 end) pat:update_frame(302,0,4, { tex_index = 80 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(302,0,4,function(frame) frame.hurtbox[3].x2 = frame.hurtbox[3].x2 - 20 frame.hurtbox[3].y1 = frame.hurtbox[3].y1 - 20 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 + 20 frame.hurtbox[2].x1 = frame.hurtbox[2].x1 + 15 frame.hurtbox[2].y2 = frame.hurtbox[2].y2 - 35 frame.attackbox[2].x1 = frame.attackbox[2].x1 + 10 frame.attackbox[2].x2 = frame.attackbox[2].x2 + 60 frame.attackbox[2].y1 = frame.attackbox[2].y1 - 150 frame.attackbox[2].y2 = frame.attackbox[2].y2 - 140 frame.attackbox[1].x1 = frame.attackbox[1].x1 + 100 frame.attackbox[1].x2 = frame.attackbox[1].x2 + 20 frame.attackbox[1].y1 = frame.attackbox[1].y1 - 150 frame.attackbox[1].y2 = frame.attackbox[1].y2 - 40 --frame.attackbox[1].x1 = frame.attackbox[1].x1 + 20 frame.attackbox[2].x1 = frame.attackbox[2].x1 + 40 frame.damage = 1000 frame.proration = 800 frame.hit_ani_air = 88 frame.hit_ani_ground = 88 frame.launch_vector_x = 1800 frame.launch_vector_y = -1800 frame.combo_correction = CC_SMASH_ATTACK set_aflag(frame,AF_ATTACK_HIGH) set_aflag(frame,AF_HIGHBLOCK_OK) unset_aflag(frame,AF_ATTACK_LOW) unset_aflag(frame,AF_LOWBLOCK_OK) end) pat:update_frame(302,0,5, { tex_index = 81 , tex_w = 2*baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(302,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(302,0,6, { tex_index = 401 , tex_w = 2*baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(302,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(302,0,7, { tex_index = 402 , tex_w = 2*baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(302,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 10 +3 }) pat:update_frame(302,0,8, { tex_index = 403 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(302,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(302,0,9, { tex_index = 321 , tex_w = baseW , tex_h = baseH , tex_offset_x = 112 , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:remove_frame(302,0,10) pat:update_frame(302,1,0, { tex_index = 78 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(302,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 15 }) pat:update_frame(302,1,1, { tex_index = 79 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(302,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 5 }) pat:update_frame(302,1,2, { tex_index = 80 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(302,0,4).hurtbox , attackbox = pat:get_frame(302,0,4).attackbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(302,1,2,function(frame) frame.damage = 1200 frame.proration = 800 frame.hit_ani_air = 88 frame.hit_ani_ground = 88 frame.launch_vector_x = 2450 frame.launch_vector_y = -2450 frame.combo_correction = CC_SMASH_ATTACK set_aflag(frame,AF_ATTACK_HIGH) set_aflag(frame,AF_HIGHBLOCK_OK) unset_aflag(frame,AF_ATTACK_LOW) unset_aflag(frame,AF_LOWBLOCK_OK) end) pat:update_frame(302,1,3, { tex_index = 81 , tex_w = 2*baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(302,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(302,1,4, { tex_index = 401 , tex_w = 2*baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(302,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(302,1,5, { tex_index = 402 , tex_w = 2*baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(302,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 10 }) pat:update_frame(302,1,6, { tex_index = 403 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(302,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(302,1,7, { tex_index = 321 , tex_w = baseW , tex_h = baseH , tex_offset_x = 112 , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:remove_frame(302,1,8) end function mods.n3a(pat) local baseX = 112 local baseY = 256 local baseW = 128 local baseH = 128 local baseX2 = -90 pat:remove_frame(304,0,13) pat:update_frame(304,0,0, { tex_index = 33 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(304,0,1, { tex_index = 34 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX +baseX2/2 , tex_offset_y = baseY , hurtbox = pat:get_frame(301,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 +2 }) pat:update_frame(304,0,1,function(frame) for idx = 1, 2 do frame.hurtbox[idx].x1 = frame.hurtbox[idx].x1 - baseX2/4 frame.hurtbox[idx].x2 = frame.hurtbox[idx].x2 - baseX2/4 end end) pat:update_frame(304,0,2, { tex_index = 35 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX +baseX2 , tex_offset_y = baseY , hurtbox = pat:get_frame(301,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 9 -2 -1 }) pat:update_frame(304,0,2,function(frame) for idx = 1, 2 do frame.hurtbox[idx].x1 = frame.hurtbox[idx].x1 - baseX2/2 frame.hurtbox[idx].x2 = frame.hurtbox[idx].x2 - baseX2/2 end end) pat:update_frame(304,0,3, { tex_index = 36 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX +baseX2 , tex_offset_y = baseY , hurtbox = pat:get_frame(304,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(304,0,3,function(frame) frame.hurtbox[1].y1 = frame.hurtbox[1].y1 + 20 frame.hurtbox[1].y2 = frame.hurtbox[1].y2 - 50 frame.hurtbox[3] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[3].y1 = frame.hurtbox[1].y2 - 40 frame.hurtbox[3].y2 = frame.hurtbox[2].y1 + 20 frame.hurtbox[3].x1 = frame.hurtbox[1].x1 + 20 frame.hurtbox[3].x2 = frame.hurtbox[1].x2 + 20 frame.hurtbox[2].x1 = frame.hurtbox[2].x1 + 60 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 + 90 frame.attackbox[3]=null frame.attackbox[2].x1 = 40 frame.attackbox[2].x2 = 160 frame.attackbox[2].y1 = -60 frame.attackbox[2].y2 = 0 frame.attackbox[1].x1 = 40 frame.attackbox[1].x2 = 200 frame.attackbox[1].y1 = -30 frame.attackbox[1].y2 = 0 frame.damage = 1000 frame.launch_vector_x = 500 --250 frame.launch_vector_y = 1050 --1750 1050 77 77 frame.combo_correction = CC_LIFT_ATTACK frame.hit_ani_air = 77 frame.hit_ani_ground = 77 frame.untech = 45 unset_aflag(frame,AF_ATTACK_HIGH) unset_aflag(frame,AF_HIGHBLOCK_OK) set_aflag(frame,AF_ATTACK_LOW) set_aflag(frame,AF_LOWBLOCK_OK) end) pat:update_frame(304,0,4, { tex_index = 37 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX +baseX2 , tex_offset_y = baseY , hurtbox = pat:get_frame(304,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(304,0,4,function(frame) frame.hurtbox[1].x1 = frame.hurtbox[1].x1 - 20 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 - 20 frame.attackbox = pat:get_frame(0,0,0).attackbox frame.fflags = pat:get_frame(304,0,5).fflags end) pat:update_frame(304,0,5, { tex_index = 38 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX +baseX2 , tex_offset_y = baseY , hurtbox = pat:get_frame(304,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(304,0,6, { tex_index = 39 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX +baseX2 , tex_offset_y = baseY , hurtbox = pat:get_frame(304,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(304,0,7, { tex_index = 40 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX +baseX2 , tex_offset_y = baseY , hurtbox = pat:get_frame(304,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(304,0,8, { tex_index = 39 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX +baseX2 , tex_offset_y = baseY , hurtbox = pat:get_frame(304,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(304,0,9, { tex_index = 41 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX +baseX2 , tex_offset_y = baseY , hurtbox = pat:get_frame(304,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(304,0,10, { tex_index = 325 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-60 , tex_offset_y = baseY , hurtbox = pat:get_frame(201,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(304,0,10,function(frame) for idx = 1, 3 do frame.hurtbox[idx].x1 = frame.hurtbox[idx].x1 + 60 +16 frame.hurtbox[idx].x2 = frame.hurtbox[idx].x2 + 60 +16 end end) pat:update_frame(304,0,11, { tex_index = 323 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-30 , tex_offset_y = baseY , hurtbox = pat:get_frame(201,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(304,0,11,function(frame) for idx = 1 , 2 do frame.hurtbox[idx].x1 = frame.hurtbox[idx].x1 + 30 +16 frame.hurtbox[idx].x2 = frame.hurtbox[idx].x2 + 30 +16 end end) pat:update_frame(304,0,12, { tex_index = 322 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-0 , tex_offset_y = baseY , hurtbox = pat:get_frame(201,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(304,0,12,function(frame) for idx = 1 , 2 do frame.hurtbox[idx].x1 = frame.hurtbox[idx].x1 + 16 frame.hurtbox[idx].x2 = frame.hurtbox[idx].x2 + 16 end end) --pat:remove_frame(304,1,11) pat:update_frame(304,1,0, { tex_index = 35 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX +baseX2 , tex_offset_y = baseY , hurtbox = pat:get_frame(304,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 15 }) pat:update_frame(304,1,1, { tex_index = 35 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX +baseX2 , tex_offset_y = baseY , hurtbox = pat:get_frame(304,0,2).hurtbox , attackbox = pat:get_frame(0,0,0).attackbox , collision = pat:get_frame(0,0,0).collision , duration = 6 }) pat:update_frame(304,1,2, { tex_index = 36 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX +baseX2 , tex_offset_y = baseY , hurtbox = pat:get_frame(304,0,3).hurtbox , attackbox = pat:get_frame(304,0,3).attackbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(304,1,2,function(frame) frame.damage = 1200 frame.proration = 800 frame.launch_vector_x = 500 --250 frame.launch_vector_y = 2500 --1750 77 77 frame.combo_correction = CC_LIFT_ATTACK frame.hit_ani_air = 77 frame.hit_ani_ground = 77 frame.untech = 60 unset_aflag(frame,AF_ATTACK_HIGH) unset_aflag(frame,AF_HIGHBLOCK_OK) set_aflag(frame,AF_ATTACK_LOW) set_aflag(frame,AF_LOWBLOCK_OK) end) pat:update_frame(304,1,3, { tex_index = 37 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX +baseX2 , tex_offset_y = baseY , hurtbox = pat:get_frame(304,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(304,1,4, { tex_index = 38 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX +baseX2 , tex_offset_y = baseY , hurtbox = pat:get_frame(304,0,5).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(304,1,5, { tex_index = 39 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX +baseX2 , tex_offset_y = baseY , hurtbox = pat:get_frame(304,0,6).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(304,1,6, { tex_index = 40 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX +baseX2 , tex_offset_y = baseY , hurtbox = pat:get_frame(304,0,7).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(304,1,7, { tex_index = 39 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX +baseX2 , tex_offset_y = baseY , hurtbox = pat:get_frame(304,0,8).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(304,1,8, { tex_index = 41 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX +baseX2 , tex_offset_y = baseY , hurtbox = pat:get_frame(304,0,9).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(304,1,9, { tex_index = 325 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-60 , tex_offset_y = baseY , hurtbox = pat:get_frame(304,0,10).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(304,1,10, { tex_index = 323 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-30 , tex_offset_y = baseY , hurtbox = pat:get_frame(304,0,11).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(304,1,11, { tex_index = 322 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-0 , tex_offset_y = baseY , hurtbox = pat:get_frame(304,0,12).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) end function mods.n5a(pat) local baseX = 112 local baseY = 256 local baseW = 128 local baseH = 128 pat:split_frame(300,0,0,2,2) pat:split_frame(300,0,0,2,2) pat:update_frame(300,0,0, { tex_index = 607 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) pat:update_frame(300,0,1, { tex_index = 607 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) pat:update_frame(300,0,2, { tex_index = 1 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , attackbox = pat:get_frame(0,0,0).attackbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(300,0,2,function(frame) frame.hurtbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[2].x1 = frame.hurtbox[1].x1 + 30 frame.hurtbox[2].x2 = frame.hurtbox[1].x2 + 35 frame.hurtbox[2].y1 = frame.hurtbox[1].y1 + 40 frame.hurtbox[2].y2 = frame.hurtbox[1].y1 + 80 end) pat:update_frame(300,0,3, { tex_index = 2 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(300,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(300,0,3,function(frame) frame.attackbox[1].x1 = frame.hurtbox[2].x1 + 10 frame.attackbox[1].x2 = frame.hurtbox[2].x2 + 25 frame.attackbox[1].y1 = frame.hurtbox[2].y1 - 5 frame.attackbox[1].y2 = frame.hurtbox[2].y2 + 5 frame.attackbox[3]=null frame.attackbox[2]=null frame.attack_level = AL_MEDIUM set_aflag(frame,AF_AIR_BLOCKABLE) set_aflag(frame,AF_HIGHBLOCK_OK) set_aflag(frame,AF_LOWBLOCK_OK) frame.damage = 600 frame.untech = 30 frame.card_gain_hit = 80 frame.card_gain_block = 60 end) pat:update_frame(300,0,4, { tex_index = 3 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(300,0,2).hurtbox , attackbox = pat:get_frame(300,0,3).attackbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(300,0,4,function(frame) frame.attack_level = AL_MEDIUM set_aflag(frame,AF_AIR_BLOCKABLE) set_aflag(frame,AF_HIGHBLOCK_OK) set_aflag(frame,AF_LOWBLOCK_OK) frame.damage = 600 frame.untech = 30 frame.card_gain_hit = 80 frame.card_gain_block = 60 end) pat:update_frame(300,0,5, { tex_index = 2 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(300,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(300,0,6, { tex_index = 3 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(300,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 8 }) pat:update_frame(300,0,7, { tex_index = 4 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:split_frame(330,0,0,2,2) pat:split_frame(330,0,0,2,2) pat:update_frame(330,0,0, { tex_index = 607 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) pat:update_frame(330,0,1, { tex_index = 607 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) pat:update_frame(330,0,2, { tex_index = 1 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(300,0,2).hurtbox , attackbox = pat:get_frame(0,0,0).attackbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(330,0,3, { tex_index = 2 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(300,0,2).hurtbox , attackbox = pat:get_frame(300,0,3).attackbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(330,0,3,function(frame) frame.attack_level = AL_MEDIUM set_aflag(frame,AF_AIR_BLOCKABLE) set_aflag(frame,AF_HIGHBLOCK_OK) set_aflag(frame,AF_LOWBLOCK_OK) frame.damage = 600 frame.untech = 30 end) pat:update_frame(330,0,4, { tex_index = 3 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(300,0,2).hurtbox , attackbox = pat:get_frame(300,0,3).attackbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(330,0,4,function(frame) frame.attack_level = AL_MEDIUM set_aflag(frame,AF_AIR_BLOCKABLE) set_aflag(frame,AF_HIGHBLOCK_OK) set_aflag(frame,AF_LOWBLOCK_OK) frame.damage = 600 frame.untech = 30 end) pat:update_frame(330,0,5, { tex_index = 2 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(300,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(330,0,6, { tex_index = 3 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(300,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 8 }) pat:update_frame(330,0,7, { tex_index = 4 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) end function mods.n5aa(pat) local baseX = 90 local baseY = 256 local baseW = 128 local baseH = 128 pat:update_frame(320,0,0, { tex_index = 7 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(301,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 7 }) pat:update_frame(320,0,1, { tex_index = 8 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , tex_offset_y = baseY , hurtbox = pat:get_frame(301,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(320,0,2, { tex_index = 9 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(301,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 1 }) pat:update_frame(320,0,3, { tex_index = 9 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(301,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) pat:update_frame(320,0,4, { tex_index = 10 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(301,0,3).hurtbox , attackbox = pat:get_frame(301,0,3).attackbox , collision = pat:get_frame(0,0,0).collision , damage = 500 , duration = 3 }) pat:update_frame(320,0,5, { tex_index = 10 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(301,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 11+4 }) pat:update_frame(320,0,6, { tex_index = 11 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(301,0,5).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(320,0,7, { tex_index = 12 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(301,0,6).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(320,0,8, { tex_index = 13 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(301,0,7).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:remove_frame(320,0,9) end function mods.n5aaa(pat) local baseX = 112 local baseY = 256 local baseW = 128 local baseH = 128 pat:update_frame(321,0,0, { tex_index = 5 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(321,0,0,function(frame) frame.hurtbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[2].y1 = frame.hurtbox[1].y1 + 40 frame.hurtbox[2].y2 = frame.hurtbox[2].y1 + 40 end) pat:update_frame(321,0,1, { tex_index = 5 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(321,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) pat:update_frame(321,0,2, { tex_index = 5 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(321,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) pat:update_frame(321,0,3, { tex_index = 6 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , collision = pat:get_frame(0,0,0).collision , duration = 8 }) pat:update_frame(321,0,3,function(frame) frame.hurtbox[1].y1 = pat:get_frame(0,0,0).hurtbox[1].y1 frame.hurtbox[1].x1 = frame.hurtbox[1].x1 + 25 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 + 25 frame.hurtbox[1].y2 = frame.hurtbox[1].y2 - 20 frame.hurtbox[3].x1 = frame.hurtbox[3].x1 - 20 frame.hurtbox[3].x2 = frame.hurtbox[3].x2 - 20 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 + 15 end) pat:update_frame(321,0,4, { tex_index = 14 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(321,0,4,function(frame) for idx = 1 , 3 do frame.hurtbox[idx].x1 = frame.hurtbox[idx].x1 - 20 frame.hurtbox[idx].x2 = frame.hurtbox[idx].x2 - 20 end frame.hurtbox[3].x2 = frame.hurtbox[3].x2 - 20 frame.attackbox[2]=null frame.attackbox[1].x2 = frame.attackbox[1].x2 - 40 frame.attackbox[1].y1 = -110 frame.attackbox[1].y2 = -50 frame.hit_ani_ground = 0 frame.launch_vector_x = 2450 frame.launch_vector_y = 1200 frame.hit_ani_air = 71 frame.damage = 700 frame.proration = 800 set_aflag(frame,AF_ATTACK_HIGH) set_aflag(frame,AF_HIGHBLOCK_OK) unset_aflag(frame,AF_ATTACK_LOW) unset_aflag(frame,AF_LOWBLOCK_OK) frame.combo_correction = CC_NONE end) pat:update_frame(321,0,5, { tex_index = 15 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(321,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(321,0,6, { tex_index = 16 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(321,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(321,0,7, { tex_index = 632 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(321,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 11 }) pat:update_frame(321,0,8, { tex_index = 633 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(321,0,8,function(frame) frame.hurtbox[1].x1 = frame.hurtbox[1].x1 + 10 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 + 10 end) pat:update_frame(321,0,9, { tex_index = 634 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:remove_frame(321,0,10) end function mods.n5aaaa(pat) local baseX = 70 local baseY = 256 local baseW = 128 local baseH = 128 pat:split_frame(322,0,0,2,2) pat:split_frame(322,0,0,2,2) pat:update_frame(322,0,0, { tex_index = 73 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(302,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(322,0,1, { tex_index = 74 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(302,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(322,0,2, { tex_index = 75 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(302,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) pat:update_frame(322,0,3, { tex_index = 76 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(302,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) pat:update_frame(322,0,4, { tex_index = 77 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(302,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) pat:update_frame(322,0,5, { tex_index = 78 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(302,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) pat:update_frame(322,0,6, { tex_index = 79 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(302,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) pat:update_frame(322,0,7, { tex_index = 80 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(302,0,4).hurtbox , attackbox = pat:get_frame(302,0,4).attackbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(322,0,7,function(frame) frame.damage = 1100 frame.untech = 60 frame.hit_ani_air = 88 frame.hit_ani_ground = 88 frame.launch_vector_x = 1800 frame.launch_vector_y = -1800 frame.combo_correction = CC_SMASH_ATTACK set_aflag(frame,AF_ATTACK_HIGH) set_aflag(frame,AF_HIGHBLOCK_OK) unset_aflag(frame,AF_ATTACK_LOW) unset_aflag(frame,AF_LOWBLOCK_OK) end) pat:update_frame(322,0,8, { tex_index = 81 , tex_w = 2*baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(302,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(322,0,9, { tex_index = 401 , tex_w = 2*baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(302,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(322,0,10, { tex_index = 402 , tex_w = 2*baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(302,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 10 }) pat:update_frame(322,0,11, { tex_index = 403 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(302,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(322,0,12, { tex_index = 321 , tex_w = baseW , tex_h = baseH , tex_offset_x = 112 , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:remove_frame(322,0,17) pat:remove_frame(322,0,16) pat:remove_frame(322,0,15) pat:remove_frame(322,0,14) pat:remove_frame(322,0,13) end function mods.nj5a(pat) local baseX = 112 local baseY = 256-32 local baseW = 256 local baseH = 128 pat:remove_frame(306,0,4) pat:split_frame(306,0,3,2,2) pat:update_frame(306,0,0, { tex_index = 25 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(214,1,0).hurtbox , duration = 3 }) pat:update_frame(306,0,1, { tex_index = 26 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(306,0,0).hurtbox , duration = 3 }) pat:update_frame(306,0,2, { tex_index = 27 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(306,0,0).hurtbox , duration = 3 }) pat:update_frame(306,0,2,function(frame) frame.hurtbox[1].y1 = frame.hurtbox[1].y1 - 10 frame.hurtbox[1].y2 = frame.hurtbox[1].y2 - 10 frame.hurtbox[1].x1 = frame.hurtbox[1].x1 + 30 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 + 30 frame.hurtbox[2].x1 = frame.hurtbox[2].x1 + 15 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 + 15 end) pat:update_frame(306,0,3, { tex_index = 28 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(301,0,3).hurtbox , attackbox = pat:get_frame(301,0,3).attackbox , duration = 3 }) pat:update_frame(306,0,3,function(frame) frame.hurtbox[1].x1 = frame.hurtbox[1].x1 + 25 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 + 25 frame.hurtbox[2].y1 = frame.hurtbox[2].y1 - 5 frame.hurtbox[2].x1 = frame.hurtbox[2].x1 - 10 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 - 20 frame.hurtbox[3].x1 = frame.hurtbox[3].x1 - 20 frame.hurtbox[3].x2 = frame.hurtbox[3].x2 - 20 frame.hurtbox[3].y2 = frame.hurtbox[3].y2 - 20 frame.attackbox[1].x2 = frame.attackbox[1].x2 - 25 frame.attackbox[1].y2 = frame.attackbox[1].y2 + 15 frame.attackbox[1].y1 = frame.attackbox[1].y1 - 10 frame.attackbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.attackbox[2].x1 = frame.attackbox[1].x1 frame.attackbox[2].x2 = frame.attackbox[1].x2 - 20 frame.attackbox[2].y1 = frame.attackbox[1].y1 - 0 frame.attackbox[2].y2 = frame.attackbox[1].y2 + 15 frame.damage = 550 frame.proration = 900 --frame.launch_vector_x = 600 --frame.launch_vector_y = 1200 end) pat:update_frame(306,0,4, { tex_index = 29 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(306,0,3).hurtbox , duration = 3 }) pat:update_frame(306,0,4,function(frame) frame.hurtbox[1].x1 = frame.hurtbox[1].x1 - 25 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 - 25 frame.hurtbox[1].y1 = frame.hurtbox[1].y1 - 5 frame.hurtbox[1].y2 = frame.hurtbox[1].y2 - 5 frame.hurtbox[2].y1 = frame.hurtbox[2].y1 - 5 frame.hurtbox[2].x1 = frame.hurtbox[2].x1 - 20 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 - 0 --frame.attackbox = pat:get_frame(306,0,3).attackbox frame.attackbox = pat:get_frame(0,0,0).attackbox frame.damage = 550 frame.proration = 900 frame.fflags = pat:get_frame(306,0,5).fflags --frame.launch_vector_x = 600 --frame.launch_vector_y = 1200 end) pat:update_frame(306,0,5, { tex_index = 30 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 14 }) pat:update_frame(306,0,6, { tex_index = 31 , tex_w = 128 , tex_h = 176 , tex_offset_x = baseX-8 , tex_offset_y = baseY+64 , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 4 }) pat:update_frame(306,0,7, { tex_index = 388 , tex_w = 128 , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = 256 , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 3 }) --pat:update_frame(306,0,7, { tex_index = 13 , tex_w = 128 , tex_h = 176 , tex_offset_x = baseX , tex_offset_y = baseY+64 , hurtbox = pat:get_frame(301,0,8).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:remove_frame(306,0,12) pat:remove_frame(306,0,11) pat:remove_frame(306,0,10) pat:remove_frame(306,0,9) pat:remove_frame(306,0,8) for idx = 0 , 7 do pat:update_frame(848,1,idx,{tex_w = 0}) end end function mods.nj6a(pat) local baseX = 90 local baseY = 256+6 local baseW = 128 local baseH = 128 pat:update_frame(307,0,0, { tex_index = 7 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(301,0,0).hurtbox , duration = 10 }) pat:update_frame(307,0,0,function(frame) for idx = 1 , 2 do frame.hurtbox[idx].y1 = frame.hurtbox[idx].y1 - 6 frame.hurtbox[idx].y2 = frame.hurtbox[idx].y2 - 26 end end) pat:update_frame(307,0,1, { tex_index = 8 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(301,0,1).hurtbox , duration = 3 }) pat:update_frame(307,0,1,function(frame) for idx = 1 , 2 do frame.hurtbox[idx].y1 = frame.hurtbox[idx].y1 - 6 frame.hurtbox[idx].y2 = frame.hurtbox[idx].y2 - 26 end end) pat:update_frame(307,0,2, { tex_index = 9 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(301,0,2).hurtbox , duration = 3 }) pat:update_frame(307,0,2,function(frame) for idx = 1 , 2 do frame.hurtbox[idx].y1 = frame.hurtbox[idx].y1 - 6 frame.hurtbox[idx].y2 = frame.hurtbox[idx].y2 - 26 end end) pat:update_frame(307,1,0, { tex_index = 10 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(301,0,3).hurtbox , attackbox = pat:get_frame(301,0,3).attackbox , duration = 1 }) pat:update_frame(307,1,0,function(frame) for idx = 1 , 3 do frame.hurtbox[idx].y1 = frame.hurtbox[idx].y1 - 6 frame.hurtbox[idx].y2 = frame.hurtbox[idx].y2 - 6 end frame.hurtbox[3].y2 = frame.hurtbox[3].y2 - 20 frame.attackbox[1].y1 = frame.attackbox[1].y1 - 6 frame.attackbox[1].y2 = frame.attackbox[1].y2 - 6 frame.attackbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.attackbox[2].x1 = frame.attackbox[1].x1 - 5 frame.attackbox[2].x2 = frame.attackbox[1].x1 + 45 frame.attackbox[2].y1 = frame.attackbox[1].y2 - 10 frame.attackbox[2].y2 = frame.attackbox[1].y2 + 20 end) pat:update_frame(307,1,1, { tex_index = 10 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(307,1,0).hurtbox , attackbox = pat:get_frame(307,1,0).attackbox , duration = 1 }) pat:update_frame(307,1,2, { tex_index = 10 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(307,1,0).hurtbox , attackbox = pat:get_frame(307,1,0).attackbox , duration = 1 }) pat:update_frame(307,1,3, { tex_index = 10 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(307,1,0).hurtbox , attackbox = pat:get_frame(307,1,0).attackbox , duration = 1 }) pat:update_frame(307,1,4, { tex_index = 10 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(307,1,0).hurtbox , attackbox = pat:get_frame(307,1,0).attackbox , duration = 1 }) pat:update_frame(307,1,5, { tex_index = 10 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(307,1,0).hurtbox , attackbox = pat:get_frame(307,1,0).attackbox , duration = 4 }) pat:update_frame(307,1,6, { tex_index = 10 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(307,1,0).hurtbox , attackbox = pat:get_frame(0,0,0).attackbox , duration = 3 }) pat:update_frame(307,2,0, { tex_index = 11 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:update_frame(307,2,1, { tex_index = 12 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:update_frame(307,2,2, { tex_index = 13 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) for idx = 0 , 5 do pat:update_frame(307,1,idx,{damage = 1000}) end pat:update_frame(307,3,0, { tex_index = 505 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(1,0,2).hurtbox , collision = pat:get_frame(3,0,2).collision }) pat:update_frame(307,3,1, { tex_index = 504 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(3,0,3).collision }) for idx = 0 , 5 do pat:update_frame(307,1,idx,function(frame) frame.hit_ani_ground = 74 frame.hit_ani_air = 74 end) end for idx = 0 , 5 do pat:update_frame(848,3,idx,{tex_w = 0}) end end function mods.n66a(pat) local baseX = 112 local baseY = 256 local baseW = 128 local baseH = 128 pat:split_frame(305,0,9,2,2) pat:split_frame(305,0,0,2,2) pat:split_frame(305,0,0,2,2) pat:split_frame(305,0,0,2,2) pat:split_frame(305,0,0,2,2) pat:update_frame(305,0,0, { tex_index = 51 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(305,0,1, { tex_index = 52 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(305,0,2, { tex_index = 53 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(305,0,2,function(frame) frame.hurtbox[1].y1 = frame.hurtbox[1].y1 + 20 end) pat:update_frame(305,0,3, { tex_index = 54 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(305,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) pat:update_frame(305,0,3,function(frame) frame.hurtbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[2].x1 = frame.hurtbox[1].x1 - 20 frame.hurtbox[2].x2 = frame.hurtbox[1].x2 + 20 frame.hurtbox[2].y1 = frame.hurtbox[1].y1 + 45 frame.hurtbox[2].y2 = frame.hurtbox[2].y1 + 35 end) pat:update_frame(305,0,4, { tex_index = 55 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(305,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) pat:update_frame(305,0,4,function(frame) frame.hurtbox[1].x1 = frame.hurtbox[1].x1 + 30 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 + 20 frame.hurtbox[1].y2 = frame.hurtbox[1].y2 - 50 frame.hurtbox[3] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[3].x1 = frame.hurtbox[1].x1 - 50 frame.hurtbox[3].x2 = frame.hurtbox[1].x2 + 10 frame.hurtbox[3].y1 = -60 frame.hurtbox[3].y2 = 0 frame.hurtbox[2].y1 = frame.hurtbox[2].y1 - 20 frame.hurtbox[2].x1 = frame.hurtbox[2].x1 + 20 end) --pat:update_frame(305,0,5, { tex_index = 56 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 }) pat:update_frame(305,0,5, { tex_index = 57 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , collision = pat:get_frame(0,0,0).collision , duration = 2 }) pat:update_frame(305,0,5,function(frame) frame.hurtbox[1].y1 = pat:get_frame(0,0,0).hurtbox[1].y1 frame.hurtbox[1].x1 = frame.hurtbox[1].x1 - 20 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 - 20 frame.hurtbox[1].y2 = frame.hurtbox[1].y1 + 50 frame.hurtbox[2].y1 = frame.hurtbox[2].y1 + 20 frame.hurtbox[2].y2 = frame.hurtbox[2].y2 + 20 frame.hurtbox[2].x1 = frame.hurtbox[2].x1 - 10 frame.hurtbox[3].y1 = frame.hurtbox[3].y1 + 20 frame.hurtbox[3].x1 = frame.hurtbox[3].x1 + 20 end) pat:update_frame(305,0,6, { tex_index = 58 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(305,0,5).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(305,0,6,function(frame) for idx = 1 , 3 do frame.hurtbox[idx].x1 = frame.hurtbox[idx].x1 - 10 frame.hurtbox[idx].x2 = frame.hurtbox[idx].x2 - 10 end end) pat:update_frame(305,0,7, { tex_index = 59 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(305,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 5 }) pat:update_frame(305,0,7,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(305,0,8, { tex_index = 499 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , collision = pat:get_frame(0,0,0).collision , duration = 3 })--damage pat:update_frame(305,0,8,function(frame) frame.hurtbox[4]=null frame.attackbox[1].y1 = frame.attackbox[1].y1 - 30 frame.attackbox[1].x1 = frame.attackbox[1].x1 - 10 frame.attackbox[1].x2 = frame.attackbox[1].x2 - 90 frame.attackbox[2].y1 = frame.attackbox[2].y1 - 20 frame.attackbox[2].y2 = frame.attackbox[2].y2 - 20 + 40 frame.attackbox[2].x1 = frame.attackbox[2].x1 + 20 frame.attackbox[2].x2 = frame.attackbox[2].x2 - 30 frame.damage = 1200 frame.proration = 800 frame.limit = 40 frame.combo_correction = CC_SMASH_ATTACK frame.card_gain_hit = 120 frame.card_gain_block = 80 frame.untech = 60 frame.launch_vector_x = 1500 frame.launch_vector_y = -3000 frame.hit_ani_air = 88 frame.hit_ani_ground = 88 frame.hit_sfx = pat:get_frame(301,0,3).hit_sfx end) pat:update_frame(305,0,9, { tex_index = 500 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(305,0,8).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(305,0,10, { tex_index = 501 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(305,0,8).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(305,0,10,function(frame) for idx = 1 , 3 do frame.hurtbox[idx].x1 = frame.hurtbox[idx].x1 + 10 frame.hurtbox[idx].x2 = frame.hurtbox[idx].x2 + 10 end end) pat:update_frame(305,0,11, { tex_index = 502 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(305,0,10).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 8-1 -1 }) pat:update_frame(305,0,11,function(frame) for idx = 1 , 3 do frame.hurtbox[idx].x1 = frame.hurtbox[idx].x1 + 10 frame.hurtbox[idx].x2 = frame.hurtbox[idx].x2 + 10 end end) pat:update_frame(305,0,12, { tex_index = 633 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(305,0,12,function(frame) frame.hurtbox[1].x1 = frame.hurtbox[1].x1 + 10 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 + 10 end) pat:update_frame(305,0,13, { tex_index = 634 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3-1 }) pat:update_frame(305,0,14, { tex_index = 32 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) end function mods.n66b(pat) local baseX = 112 local baseY = 256-32 local baseW = 256 local baseH = 128 pat:remove_frame(408,1,0) pat:update_frame(408,0,0, { tex_index = 25 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(214,1,0).hurtbox , duration = 3 }) pat:update_frame(408,0,1, { tex_index = 26 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(306,0,0).hurtbox , duration = 3 }) pat:update_frame(408,0,2, { tex_index = 27 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(306,0,2).hurtbox , duration = 3 }) pat:update_frame(408,1,0, { tex_index = 28 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(306,0,3).hurtbox , attackbox = pat:get_frame(306,0,3).attackbox , duration = 3 }) pat:update_frame(408,1,0,function(frame) frame.damage = 900 end) pat:update_frame(408,1,1, { tex_index = 29 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(306,0,4).hurtbox , duration = 2 }) pat:update_frame(408,1,2, { tex_index = 30 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 2 }) pat:update_frame(408,1,3, { tex_index = 31 , tex_w = 128 , tex_h = 176 , tex_offset_x = baseX-8 , tex_offset_y = baseY+64 , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 2 }) --pat:update_frame(306,0,7, { tex_index = 13 , tex_w = 128 , tex_h = 176 , tex_offset_x = baseX , tex_offset_y = baseY+64 , hurtbox = pat:get_frame(301,0,8).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:remove_frame(408,1,7) pat:remove_frame(408,1,6) pat:remove_frame(408,1,5) pat:remove_frame(408,1,4) baseY = 256 baseW = 128 pat:update_frame(408,2,0, { tex_index = 391 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:update_frame(408,2,1, { tex_index = 388 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:split_frame(408,3,0,4,4) pat:split_frame(408,3,0,4,4) pat:update_frame(408,3,0, { tex_index = 618 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(1,0,4).hurtbox , collision = pat:get_frame(3,0,0).collision , duration = 3 }) pat:update_frame(408,3,1, { tex_index = 506 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(1,0,3).hurtbox , collision = pat:get_frame(3,0,1).collision , duration = 3 }) pat:update_frame(408,3,2, { tex_index = 505 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(1,0,2).hurtbox , collision = pat:get_frame(3,0,2).collision , duration = 3 }) pat:update_frame(408,3,3, { tex_index = 504 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(3,0,3).collision , duration = 3 }) pat:update_frame(408,3,4, { tex_index = 503 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(3,0,4).collision , duration = 3 }) for idx = 0 , 2 do pat:update_frame(408,0,0,function(frame) unset_fflag(frame,FF_GRAZE) end) end pat:update_frame(408,1,0,function(frame) unset_fflag(frame,FF_GRAZE) end) end function mods.n66c(pat) local baseX = 112 local baseY = 256 local baseW = 128 local baseH = 128 pat:split_frame(418,0,0,2,2) pat:split_frame(418,0,0,2,2) pat:split_frame(418,0,0,2,2) pat:remove_frame(418,1,5) pat:remove_frame(418,1,4) pat:remove_frame(418,1,3) pat:remove_frame(418,1,2) pat:split_frame(418,1,0,2,2) pat:split_frame(418,1,0,2,2) pat:split_frame(418,1,0,2,2) pat:split_frame(418,1,0,2,2) pat:split_frame(418,1,0,2,2) pat:split_frame(418,1,0,2,2) pat:split_frame(418,1,0,2,2) pat:update_frame(418,0,0, { tex_index = 42 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 3 }) pat:update_frame(418,0,1, { tex_index = 43 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 3 }) pat:update_frame(418,0,2, { tex_index = 44 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 3 }) pat:update_frame(418,0,3, { tex_index = 45 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 3 }) pat:update_frame(418,0,4, { tex_index = 46 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 3 }) pat:update_frame(418,0,5, { tex_index = 47 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 3 }) baseX = 128 pat:update_frame(418,1,0, { tex_index = 48 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 2 }) pat:update_frame(418,1,0,function(frame) frame.attackbox = pat:get_frame(0,0,0).hurtbox frame.attackbox[1].x1 = -60 frame.attackbox[1].x2 = 60 frame.attackbox[1].y1 = -190 frame.attackbox[1].y2 = -70 frame.attackbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.attackbox[2].x1 = frame.attackbox[1].x1 - 20 frame.attackbox[2].x2 = frame.attackbox[1].x2 + 20 frame.attackbox[2].y1 = frame.attackbox[1].y1 + 20 frame.attackbox[2].y2 = frame.attackbox[1].y2 - 20 frame.attackbox[3] = pat:get_frame(0,0,0).hurtbox[1] frame.attackbox[3].x1 = frame.attackbox[1].x1 + 20 frame.attackbox[3].x2 = frame.attackbox[1].x2 - 20 frame.attackbox[3].y1 = frame.attackbox[1].y1 - 20 frame.attackbox[3].y2 = frame.attackbox[1].y2 + 20 end) pat:update_frame(418,1,1, { tex_index = 49 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , attackbox = pat:get_frame(418,1,0).attackbox , duration = 2 }) pat:update_frame(418,1,2, { tex_index = 50 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , attackbox = pat:get_frame(418,1,0).attackbox , duration = 2 }) pat:update_frame(418,1,3, { tex_index = 537 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , attackbox = pat:get_frame(418,1,0).attackbox , duration = 2 }) pat:update_frame(418,1,4, { tex_index = 538 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , attackbox = pat:get_frame(418,1,0).attackbox , duration = 2 }) pat:update_frame(418,1,5, { tex_index = 539 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , attackbox = pat:get_frame(418,1,0).attackbox , duration = 2 }) pat:update_frame(418,1,6, { tex_index = 540 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , attackbox = pat:get_frame(418,1,0).attackbox , duration = 2 }) pat:update_frame(418,1,7, { tex_index = 541 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , attackbox = pat:get_frame(418,1,0).attackbox , duration = 2 }) pat:update_frame(418,1,8, { tex_index = 48 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , attackbox = pat:get_frame(418,1,0).attackbox , duration = 2 }) pat:update_frame(418,1,9, { tex_index = 49 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , attackbox = pat:get_frame(418,1,0).attackbox , duration = 2 }) pat:update_frame(418,1,10, { tex_index = 50 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , attackbox = pat:get_frame(418,1,0).attackbox , duration = 2 }) pat:update_frame(418,1,11, { tex_index = 537 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , attackbox = pat:get_frame(418,1,0).attackbox , duration = 2 }) baseX = 112 pat:update_frame(418,1,12, { tex_index = 44 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+6 , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 3 }) pat:update_frame(418,1,13, { tex_index = 43 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+6 , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 3 }) pat:update_frame(418,1,14, { tex_index = 42 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+6 , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 3 }) pat:update_frame(418,2,0, { tex_index = 391 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:update_frame(418,2,1, { tex_index = 388 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:split_frame(418,3,0,2,2) pat:split_frame(418,3,0,2,2) pat:update_frame(418,3,0, { tex_index = 618 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(1,0,4).hurtbox , collision = pat:get_frame(3,0,0).collision , duration = 3 }) pat:update_frame(418,3,1, { tex_index = 506 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(1,0,3).hurtbox , collision = pat:get_frame(3,0,1).collision , duration = 3 }) pat:update_frame(418,3,2, { tex_index = 505 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(1,0,2).hurtbox , collision = pat:get_frame(3,0,2).collision , duration = 3 }) pat:update_frame(418,3,3, { tex_index = 504 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(3,0,3).collision , duration = 3 }) pat:update_frame(418,3,4, { tex_index = 503 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(3,0,4).collision , duration = 3 }) for idx = 0 , 11 do pat:update_frame(418,1,idx,function(frame) frame.limit = 20 frame.damage = 800 frame.proration = 850 frame.card_gain_hit = 80 frame.card_gain_block = 60 set_fflag(frame,FF_GRAZE) set_aflag(frame,AF_AIR_BLOCKABLE) end) end for idx = 1 , 5 do pat:update_frame(418,0,idx,function(frame) set_fflag(frame,FF_GRAZE) end) end end function mods.nj8a(pat) local baseX = 112 local baseY = 256+6 local baseW = 128 local baseH = 128 pat:split_frame(309,0,4,2,2) pat:split_frame(309,0,4,2,2) pat:split_frame(309,0,4,2,2) pat:split_frame(309,0,4,2,2) pat:split_frame(309,0,4,2,2) pat:split_frame(309,0,4,2,2) pat:update_frame(309,0,0, { tex_index = 42 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 4 }) pat:update_frame(309,0,1, { tex_index = 43 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 7 }) pat:update_frame(309,0,2, { tex_index = 44 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 4 }) baseX = 128 baseY = 256 pat:update_frame(309,0,3, { tex_index = 48 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , attackbox = pat:get_frame(418,1,0).attackbox , duration = 2 }) pat:update_frame(309,0,4, { tex_index = 49 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , attackbox = pat:get_frame(418,1,0).attackbox , duration = 2 }) pat:update_frame(309,0,5, { tex_index = 50 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , attackbox = pat:get_frame(418,1,0).attackbox , duration = 2 }) pat:update_frame(309,0,6, { tex_index = 537 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , attackbox = pat:get_frame(418,1,0).attackbox , duration = 2 }) pat:update_frame(309,0,7, { tex_index = 48 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , attackbox = pat:get_frame(418,1,0).attackbox , duration = 2 }) pat:update_frame(309,0,8, { tex_index = 49 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , attackbox = pat:get_frame(418,1,0).attackbox , duration = 2 }) pat:update_frame(309,0,9, { tex_index = 50 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , attackbox = pat:get_frame(418,1,0).attackbox , duration = 2 }) pat:update_frame(309,0,10, { tex_index = 537 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , attackbox = pat:get_frame(418,1,0).attackbox , duration = 2 }) baseX = 112 baseY = 256+6 pat:update_frame(309,0,11, { tex_index = 44 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:update_frame(309,0,12, { tex_index = 43 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:update_frame(309,0,13, { tex_index = 42 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:split_frame(309,0,14,1,1) pat:update_frame(309,0,14, { tex_index = 388 , tex_w = 128 , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = 256 , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:update_frame(309,0,15, { tex_index = 390 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 6 }) for idx = 3 , 10 do pat:update_frame(309,0,idx,function(frame) frame.damage = 1000 end) end end function mods.nj2a(pat) local baseX = 112 local baseY = 256-32+6 local baseW = 128 local baseH = 128 pat:remove_frame(308,1,6) pat:remove_frame(308,2,2) pat:split_frame(308,0,3,2,2) pat:remove_frame(308,1,0) pat:split_frame(308,1,0,2,2) pat:update_frame(308,0,0, { tex_index = 62 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 4 }) pat:update_frame(308,0,1, { tex_index = 63 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 4 }) pat:update_frame(308,0,1,function(frame) frame.hurtbox[1].y2 = frame.hurtbox[1].y2 - 20 frame.hurtbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[2].y2 = frame.hurtbox[1].y2 + 30 frame.hurtbox[2].y1 = frame.hurtbox[2].y2 - 40 frame.hurtbox[2].x1 = frame.hurtbox[1].x1 + 20 frame.hurtbox[2].x2 = frame.hurtbox[1].x2 + 20 end) pat:update_frame(308,0,2, { tex_index = 64 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(308,0,1).hurtbox , duration = 3 }) pat:update_frame(308,0,3, { tex_index = 65 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(308,0,1).hurtbox , duration = 2 }) pat:update_frame(308,0,3,function(frame) frame.hurtbox[1].x1 = frame.hurtbox[1].x1 - 10 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 - 10 frame.hurtbox[2].x1 = frame.hurtbox[2].x1 - 10 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 - 5 end) pat:update_frame(308,0,4, { tex_index = 66 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(308,0,3).hurtbox , duration = 2 }) pat:update_frame(308,1,0, { tex_index = 67 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 2 }) pat:update_frame(308,1,0,function(frame) frame.hurtbox[1].x1 = frame.hurtbox[1].x1 - 25 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 - 25 frame.hurtbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[2].x1 = frame.hurtbox[1].x1 - 20 frame.hurtbox[2].x2 = frame.hurtbox[1].x2 + 20 frame.hurtbox[2].y2 = frame.hurtbox[1].y2 + 15 frame.hurtbox[2].y1 = frame.hurtbox[2].y2 - 40 frame.hurtbox[1].y2 = frame.hurtbox[1].y2 - 20 frame.damage = 1000 frame.proration = 800 frame.hit_ani_air = 74 frame.hit_ani_ground = 74 frame.launch_vector_x = 2450 frame.launch_vector_y = 1500 frame.combo_correction = CC_SMASH_ATTACK end) pat:update_frame(308,1,1, { tex_index = 68 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(308,1,0).hurtbox , duration = 2 }) pat:update_frame(308,1,1,function(frame) frame.attackbox[2].x1 = frame.attackbox[2].x1 - 80 frame.attackbox[1].x1 = frame.attackbox[1].x1 - 50 frame.attackbox[1].x2 = frame.attackbox[1].x2 - 10 frame.attackbox[2].x2 = frame.attackbox[2].x2 - 50 frame.attackbox[3].x2 = frame.attackbox[3].x2 - 20 frame.attackbox[1].y2 = frame.attackbox[1].y2 - 0 frame.attackbox[2].y2 = frame.attackbox[2].y2 - 20 frame.attackbox[3].y2 = frame.attackbox[3].y2 - 20 frame.attackbox[3].x1 = frame.attackbox[3].x1 - 20 frame.attackbox[2].y1 = frame.attackbox[2].y1 - 40 frame.attackbox[1].x2 = frame.attackbox[1].x2 + 25 frame.attackbox[2].x2 = frame.attackbox[2].x2 + 25 frame.attackbox[3].x2 = frame.attackbox[3].x2 + 25 frame.attackbox[1].y2 = frame.attackbox[1].y2 + 10 frame.attackbox[2].y2 = frame.attackbox[2].y2 + 10 frame.attackbox[3].y2 = frame.attackbox[3].y2 + 10 frame.damage = 1000 frame.proration = 800 frame.hit_ani_air = 74 frame.hit_ani_ground = 74 frame.launch_vector_x = 2450 frame.launch_vector_y = 1400 frame.combo_correction = CC_SMASH_ATTACK end) pat:update_frame(308,1,0,{attackbox = pat:get_frame(308,1,1).attackbox}) --pat:update_frame(308,1,3, { tex_index = 69 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(308,1,2, { tex_index = 70 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(308,1,0).hurtbox , attackbox = pat:get_frame(0,0,0).attackbox , fflags = 0x00000024 , duration = 3 }) pat:update_frame(308,1,2,function(frame) frame.hurtbox[1].x1 = frame.hurtbox[1].x1 + 25 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 + 25 frame.hurtbox[2].x1 = frame.hurtbox[2].x1 + 25 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 + 25 end) pat:update_frame(308,1,3, { tex_index = 71 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(308,1,2).hurtbox , duration = 3 }) pat:update_frame(308,1,4, { tex_index = 72 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(308,1,2).hurtbox , duration = 3 }) pat:update_frame(308,1,5, { tex_index = 82 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(308,1,2).hurtbox , duration = 13 }) pat:update_frame(308,2,0, { tex_index = 83 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 3 }) pat:update_frame(308,2,1, { tex_index = 84 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 3 }) pat:remove_frame(308,4,2) pat:remove_frame(308,4,1) pat:remove_frame(308,5,1) pat:remove_frame(308,6,7) pat:remove_frame(308,6,6) pat:remove_frame(308,6,5) pat:split_frame(308,3,2,2,2) pat:split_frame(308,3,2,2,2) pat:update_frame(308,3,0, { tex_index = 64 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(308,0,2).hurtbox , duration = 10 }) pat:update_frame(308,3,1, { tex_index = 65 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(308,0,3).hurtbox , duration = 2 }) pat:update_frame(308,3,2, { tex_index = 66 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(308,0,3).hurtbox , duration = 2 }) pat:update_frame(308,3,3, { tex_index = 67 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(308,1,0).hurtbox , duration = 2 }) pat:update_frame(308,3,4, { tex_index = 68 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(308,1,0).hurtbox , duration = 2 }) pat:update_frame(308,4,0, { tex_index = 69 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(308,1,0).hurtbox , attackbox = pat:get_frame(308,1,1).attackbox , duration = 3 }) pat:update_frame(308,4,0,function(frame) frame.attackbox[1].x1 = frame.attackbox[1].x1 - 40 frame.attackbox[2].x1 = frame.attackbox[2].x1 - 0 frame.attackbox[3].x1 = frame.attackbox[3].x1 - 100 frame.attackbox[1].y1 = frame.attackbox[1].y1 - 20 frame.attackbox[2].y1 = frame.attackbox[2].y1 - 20 frame.attackbox[3].y1 = frame.attackbox[3].y1 - 20 frame.attackbox[4] = pat:get_frame(0,0,0).hurtbox[1] frame.attackbox[4].x1 = frame.attackbox[3].x1 + 10 frame.attackbox[4].x2 = frame.attackbox[3].x1 + 60 frame.attackbox[4].y1 = frame.attackbox[3].y1 - 30 frame.attackbox[4].y2 = frame.attackbox[3].y1 + 10 for idx = 1 , 4 do frame.attackbox[idx].x1 = frame.attackbox[idx].x1 - 40 frame.attackbox[idx].x2 = frame.attackbox[idx].x2 + 40 frame.attackbox[idx].y1 = frame.attackbox[idx].y1 - 20 frame.attackbox[idx].y2 = frame.attackbox[idx].y2 + 0 end frame.damage = 1300 frame.proration = 800 frame.attack_level = AL_SUPERHEAVY frame.sp_damage = 200 frame.card_gain_hit = 120 frame.card_gain_block = 80 frame.hit_ani_air = 74 frame.hit_ani_ground = 74 frame.launch_vector_x = 3000 frame.launch_vector_y = 1000 frame.combo_correction = CC_SMASH_ATTACK end) pat:update_frame(308,5,0, { tex_index = 70 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(308,1,2).hurtbox , duration = 3 }) pat:update_frame(308,6,0, { tex_index = 71 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(308,1,2).hurtbox , duration = 3 }) pat:update_frame(308,6,1, { tex_index = 72 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(308,1,2).hurtbox , duration = 3 }) pat:update_frame(308,6,2, { tex_index = 82 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(308,1,2).hurtbox , duration = 13 }) pat:update_frame(308,6,3, { tex_index = 83 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 3 }) pat:update_frame(308,6,4, { tex_index = 84 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 3 }) for idx = 1 , 15 do pat:remove_frame(848,4,1) end pat:update_frame(848,4,0,{tex_w = 0 , attackbox = pat:get_frame(0,0,0).attackbox }) for idx = 0 , 12 do pat:split_frame(848,4,0,2,2) end for idx = 0 , 13 do pat:update_frame(848,4,idx,function(frame) frame.duration = 1 frame.tex_index = 88 + idx%7 frame.tex_w = 128 frame.tex_h = 64 frame.tex_offset_x = 64 frame.tex_offset_y = 64 frame.angle_z = 20 local alpha = 255-idx*18 frame.color_r = alpha frame.color_g = alpha frame.color_b = alpha frame.scale_x = 200 + idx*25 frame.scale_y = 200 + idx*25 end) end end function mods.b5b(pat) local baseX = 112 local baseY = 256 local baseW = 128 local baseH = 128 pat:update_frame(400,0,0, { tex_index = 438 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(400,0,1, { tex_index = 439 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(400,0,2, { tex_index = 440 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(400,0,3, { tex_index = 441 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(400,0,4, { tex_index = 442 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 1}) pat:update_frame(400,0,4,function(frame) frame.hurtbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[2].y1 = frame.hurtbox[1].y1 + 25 frame.hurtbox[2].y2 = frame.hurtbox[2].y1 + 50 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 + 30 frame.hurtbox[2].x1 = frame.hurtbox[2].x1 + 30 end) pat:update_frame(400,0,5, { tex_index = 442 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(400,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 1}) pat:update_frame(400,0,6, { tex_index = 442 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(400,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 1}) pat:update_frame(400,0,7, { tex_index = 443 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(400,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000041 }) pat:update_frame(400,0,7,function(frame) frame.hurtbox[2].y1 = frame.hurtbox[2].y1 + 10 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 + 10 end) pat:update_frame(400,0,8, { tex_index = 444 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(400,0,7).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(400,0,9, { tex_index = 443 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(400,0,7).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(400,0,10, { tex_index = 444 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(400,0,7).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(400,0,11, { tex_index = 442 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(400,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(400,0,12, { tex_index = 441 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(400,0,13, { tex_index = 440 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(400,0,14, { tex_index = 439 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(400,0,15, { tex_index = 438 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(400,1,0, { tex_index = 442 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(400,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(400,1,1, { tex_index = 442 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(400,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(400,2,0, { tex_index = 442 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(400,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 1}) pat:update_frame(400,2,1, { tex_index = 442 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(400,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 1}) pat:update_frame(400,2,2, { tex_index = 442 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(400,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 1}) pat:update_frame(400,2,3, { tex_index = 443 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(400,0,7).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000041 }) pat:update_frame(400,2,4, { tex_index = 444 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(400,0,7).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(400,2,5, { tex_index = 443 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(400,0,7).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(400,2,6, { tex_index = 444 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(400,0,7).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(400,2,7, { tex_index = 442 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(400,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(400,2,8, { tex_index = 441 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(400,2,9, { tex_index = 440 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(400,2,10, { tex_index = 439 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(400,2,11, { tex_index = 438 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) baseY = 256+6 pat:update_frame(404,0,0, { tex_index = 438 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(404,0,1, { tex_index = 439 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(404,0,2, { tex_index = 440 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(404,0,3, { tex_index = 441 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(404,0,4, { tex_index = 442 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(400,0,4).hurtbox , duration = 1}) pat:update_frame(404,0,4,function(frame) for idx = 1 , 2 do frame.hurtbox[idx].y1 = frame.hurtbox[idx].y1 - 6 frame.hurtbox[idx].y2 = frame.hurtbox[idx].y2 - 6 end frame.hurtbox[1].y2 = frame.hurtbox[1].y2 - 20 end) pat:update_frame(404,0,5, { tex_index = 442 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,4).hurtbox , duration = 1}) pat:update_frame(404,0,6, { tex_index = 442 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,4).hurtbox , duration = 1}) pat:update_frame(404,0,7, { tex_index = 443 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(400,0,7).hurtbox , fflags = 0x00000044 }) pat:update_frame(404,0,7,function(frame) for idx = 1 , 2 do frame.hurtbox[idx].y1 = frame.hurtbox[idx].y1 - 6 frame.hurtbox[idx].y2 = frame.hurtbox[idx].y2 - 6 end frame.hurtbox[1].y2 = frame.hurtbox[1].y2 - 20 end) pat:update_frame(404,0,8, { tex_index = 444 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,7).hurtbox }) pat:update_frame(404,0,9, { tex_index = 443 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,7).hurtbox }) pat:update_frame(404,0,10, { tex_index = 444 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,7).hurtbox }) pat:update_frame(404,0,11, { tex_index = 442 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,4).hurtbox }) pat:update_frame(404,0,12, { tex_index = 441 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(404,0,13, { tex_index = 440 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(404,0,14, { tex_index = 439 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(404,0,15, { tex_index = 438 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(404,1,0, { tex_index = 442 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,4).hurtbox }) pat:update_frame(404,1,1, { tex_index = 442 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,4).hurtbox }) pat:update_frame(404,2,0, { tex_index = 442 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,4).hurtbox , duration = 1}) pat:update_frame(404,2,1, { tex_index = 442 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,4).hurtbox , duration = 1}) pat:update_frame(404,2,2, { tex_index = 442 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,4).hurtbox , duration = 1}) pat:update_frame(404,2,3, { tex_index = 443 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,7).hurtbox , fflags = 0x00000044 }) pat:update_frame(404,2,4, { tex_index = 444 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,7).hurtbox }) pat:update_frame(404,2,5, { tex_index = 443 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,7).hurtbox }) pat:update_frame(404,2,6, { tex_index = 444 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,7).hurtbox }) pat:update_frame(404,2,7, { tex_index = 442 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,4).hurtbox }) pat:update_frame(404,2,8, { tex_index = 441 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(404,2,9, { tex_index = 440 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(404,2,10, { tex_index = 439 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(404,2,11, { tex_index = 438 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox }) baseY=256 pat:split_frame(404,3,0,2,2) pat:split_frame(404,3,0,2,2) pat:update_frame(404,3,0, { tex_index = 618 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(1,0,4).hurtbox , collision = pat:get_frame(3,0,0).collision , duration = 3 }) pat:update_frame(404,3,1, { tex_index = 506 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(1,0,3).hurtbox , collision = pat:get_frame(3,0,1).collision , duration = 3 }) pat:update_frame(404,3,2, { tex_index = 505 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(1,0,2).hurtbox , collision = pat:get_frame(3,0,2).collision , duration = 3 }) pat:update_frame(404,3,3, { tex_index = 504 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(3,0,3).collision , duration = 3 }) pat:update_frame(404,3,4, { tex_index = 503 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(3,0,4).collision , duration = 3 }) for idx = 7 , 13 do pat:update_frame(400,0,idx,function(frame) frame.extra1 = { [1] = "28" , [2] = "-51" , [3] = "0", [4] = "0" , [5] = "96", [6] = "-100"} end) end for idx = 3 , 9 do pat:update_frame(400,2,idx,function(frame) frame.extra1 = { [1] = "28" , [2] = "-51" , [3] = "0", [4] = "0" , [5] = "96", [6] = "-100"} end) end for idx = 7 , 13 do pat:update_frame(404,0,idx,function(frame) frame.extra1 = { [1] = "28" , [2] = "-57" , [3] = "0", [4] = "0" , [5] = "96", [6] = "-108"} end) end for idx = 3 , 9 do pat:update_frame(404,2,idx,function(frame) frame.extra1 = { [1] = "28" , [2] = "-57" , [3] = "0", [4] = "0" , [5] = "96", [6] = "-108"} end) end baseY=256+6 pat:update_frame(406,0,0, { tex_index = 438 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(406,0,1, { tex_index = 439 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(406,0,2, { tex_index = 440 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(406,0,3, { tex_index = 441 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(406,0,4, { tex_index = 442 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(400,0,4).hurtbox , duration = 1}) pat:update_frame(406,0,4,function(frame) for idx = 1 , 2 do frame.hurtbox[idx].y1 = frame.hurtbox[idx].y1 - 6 frame.hurtbox[idx].y2 = frame.hurtbox[idx].y2 - 6 end frame.hurtbox[2].y2 = frame.hurtbox[2].y2 - 20 end) pat:update_frame(406,0,5, { tex_index = 442 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,4).hurtbox , duration = 1}) pat:update_frame(406,0,6, { tex_index = 442 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,4).hurtbox , duration = 1}) pat:update_frame(406,0,7, { tex_index = 445 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,7).hurtbox , fflags = 0x00000044 }) pat:update_frame(406,0,7,function(frame) frame.hurtbox[2].y2 = frame.hurtbox[2].y2 + 20 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 - 10 end) pat:update_frame(406,0,8, { tex_index = 446 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(406,0,7).hurtbox }) pat:update_frame(406,0,9, { tex_index = 445 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(406,0,7).hurtbox }) pat:update_frame(406,0,10, { tex_index = 446 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(406,0,7).hurtbox }) pat:update_frame(406,0,11, { tex_index = 445 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(406,0,7).hurtbox }) pat:update_frame(406,0,12, { tex_index = 441 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(406,0,13, { tex_index = 440 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(406,0,14, { tex_index = 439 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(406,0,15, { tex_index = 438 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(406,1,0, { tex_index = 442 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,4).hurtbox }) pat:update_frame(406,1,1, { tex_index = 442 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,4).hurtbox }) pat:update_frame(406,2,0, { tex_index = 442 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,4).hurtbox , duration = 1}) pat:update_frame(406,2,1, { tex_index = 442 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,4).hurtbox , duration = 1}) pat:update_frame(406,2,2, { tex_index = 442 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,4).hurtbox , duration = 1}) pat:update_frame(406,2,3, { tex_index = 445 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(406,0,7).hurtbox , fflags = 0x00000044 }) pat:update_frame(406,2,4, { tex_index = 446 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(406,0,7).hurtbox }) pat:update_frame(406,2,5, { tex_index = 445 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(406,0,7).hurtbox }) pat:update_frame(406,2,6, { tex_index = 446 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(406,0,7).hurtbox }) pat:update_frame(406,2,7, { tex_index = 445 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(406,0,7).hurtbox }) pat:update_frame(406,2,8, { tex_index = 441 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(406,2,9, { tex_index = 440 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(406,2,10, { tex_index = 439 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(406,2,11, { tex_index = 438 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox }) baseY=256 pat:split_frame(406,3,0,2,2) pat:split_frame(406,3,0,2,2) pat:update_frame(406,3,0, { tex_index = 618 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(1,0,4).hurtbox , collision = pat:get_frame(3,0,0).collision , duration = 3 }) pat:update_frame(406,3,1, { tex_index = 506 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(1,0,3).hurtbox , collision = pat:get_frame(3,0,1).collision , duration = 3 }) pat:update_frame(406,3,2, { tex_index = 505 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(1,0,2).hurtbox , collision = pat:get_frame(3,0,2).collision , duration = 3 }) pat:update_frame(406,3,3, { tex_index = 504 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(3,0,3).collision , duration = 3 }) pat:update_frame(406,3,4, { tex_index = 503 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(3,0,4).collision , duration = 3 }) for idx = 0 , 11 do pat:update_frame(800,4,idx,function(frame) frame.tex_index = 416 frame.tex_w = 256 frame.tex_h = 32 frame.tex_offset_x = 200 frame.tex_offset_y = 16 frame.scale_x = 30 frame.scale_y = 50 frame.damage = 150 frame.sp_damage = 40 frame.hitstop_enemy = 10 frame.blockstop_enemy = 2 frame.proration = 950 end) end pat:remove_frame(800,1,2) pat:update_frame(800,2,0,{tex_w = 0}) pat:update_frame(800,3,0,{tex_w = 0}) for idx = 0 , 1 do pat:update_frame(800,0,idx,{tex_w = 0}) pat:update_frame(800,1,idx,{tex_w = 0}) pat:update_frame(800,5,idx,{tex_w = 0}) pat:update_frame(800,7,idx,{tex_w = 0}) end for idx = 3 , 17 do pat:split_frame(800,6,0,1,1) end for idx = 0 , 17 do pat:update_frame(800,6,idx,{tex_index = 415 , tex_w = 32 , tex_h = 32 , tex_offset_x = 16 , tex_offset_y = 16 , duration = 4 , scale_x = 200 , scale_y = 200 , blending_mode = 0 , angle_z = 10*idx , duration = 1}) end end function mods.b2b(pat) local baseX = 112 local baseY = 256 local baseW = 128 local baseH = 160 pat:update_frame(402,0,0, { tex_index = 454 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(2,0,0).hurtbox , duration = 3 }) pat:update_frame(402,0,1, { tex_index = 454 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(2,0,0).hurtbox , duration = 3 }) pat:update_frame(402,0,2, { tex_index = 455 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(2,0,0).hurtbox , duration = 3 }) pat:update_frame(402,0,3, { tex_index = 455 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(2,0,0).hurtbox , duration = 3 }) pat:update_frame(402,0,4, { tex_index = 456 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(2,0,0).hurtbox , duration = 3 }) pat:update_frame(402,0,5, { tex_index = 456 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(2,0,0).hurtbox , duration = 3 }) pat:update_frame(402,0,6, { tex_index = 457 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(2,0,0).hurtbox , fflags = 0x00000042 }) pat:update_frame(402,0,7, { tex_index = 458 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(2,0,0).hurtbox }) pat:update_frame(402,0,8, { tex_index = 458 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(2,0,0).hurtbox }) pat:update_frame(402,0,9, { tex_index = 458 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(2,0,0).hurtbox }) pat:update_frame(402,0,10, { tex_index = 458 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(2,0,0).hurtbox }) pat:update_frame(402,0,11, { tex_index = 458 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(2,0,0).hurtbox }) pat:update_frame(402,0,12, { tex_index = 458 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(2,0,0).hurtbox }) pat:update_frame(402,0,13, { tex_index = 458 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(2,0,0).hurtbox }) pat:update_frame(402,0,14, { tex_index = 459 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(2,0,0).hurtbox }) pat:update_frame(402,0,15, { tex_index = 454 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(2,0,0).hurtbox }) pat:update_frame(402,1,0, { tex_index = 456 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(2,0,0).hurtbox , duration = 3 }) pat:update_frame(402,1,1, { tex_index = 456 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(2,0,0).hurtbox , duration = 3 }) pat:update_frame(402,2,0, { tex_index = 456 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(2,0,0).hurtbox , duration = 3 }) pat:update_frame(402,2,1, { tex_index = 457 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(2,0,0).hurtbox , fflags = 0x00000042 }) pat:update_frame(402,2,2, { tex_index = 458 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(2,0,0).hurtbox }) pat:update_frame(402,2,3, { tex_index = 458 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(2,0,0).hurtbox }) pat:update_frame(402,2,4, { tex_index = 458 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(2,0,0).hurtbox }) pat:update_frame(402,2,5, { tex_index = 458 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(2,0,0).hurtbox }) pat:update_frame(402,2,6, { tex_index = 458 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(2,0,0).hurtbox }) pat:update_frame(402,2,7, { tex_index = 458 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(2,0,0).hurtbox }) pat:update_frame(402,2,8, { tex_index = 458 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(2,0,0).hurtbox }) pat:update_frame(402,2,9, { tex_index = 459 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(2,0,0).hurtbox }) pat:update_frame(402,2,10, { tex_index = 454 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(2,0,0).hurtbox }) end function mods.b6b(pat) local baseX = 112 local baseY = 256 local baseW = 128 local baseH = 128 pat:update_frame(401,0,0, { tex_index = 447 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(401,0,1, { tex_index = 447 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(401,0,2, { tex_index = 448 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(401,0,3, { tex_index = 448 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(401,0,4, { tex_index = 449 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(401,0,5, { tex_index = 449 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(401,0,6, { tex_index = 450 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(401,0,7, { tex_index = 451 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(401,0,8, { tex_index = 451 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(401,0,9, { tex_index = 451 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(401,0,10, { tex_index = 451 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(401,0,11, { tex_index = 451 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(401,0,12, { tex_index = 451 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(401,0,13, { tex_index = 451 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(401,0,14, { tex_index = 452 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(401,0,15, { tex_index = 447 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) baseY = 256+6 pat:update_frame(405,0,0, { tex_index = 447 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 3 }) pat:update_frame(405,0,1, { tex_index = 447 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 3 }) pat:update_frame(405,0,2, { tex_index = 448 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 3 }) pat:update_frame(405,0,3, { tex_index = 448 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 3 }) pat:update_frame(405,0,4, { tex_index = 449 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 3 }) pat:update_frame(405,0,5, { tex_index = 449 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 3 }) pat:update_frame(405,0,6, { tex_index = 450 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(405,0,7, { tex_index = 451 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(405,0,8, { tex_index = 451 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(405,0,9, { tex_index = 451 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(405,0,10, { tex_index = 451 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(405,0,11, { tex_index = 451 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(405,0,12, { tex_index = 451 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(405,0,13, { tex_index = 451 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(405,0,14, { tex_index = 452 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(405,0,15, { tex_index = 447 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox }) baseY=256 pat:split_frame(405,3,0,2,2) pat:split_frame(405,3,0,2,2) pat:update_frame(405,3,0, { tex_index = 618 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(1,0,4).hurtbox , collision = pat:get_frame(3,0,0).collision , duration = 3 }) pat:update_frame(405,3,1, { tex_index = 506 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(1,0,3).hurtbox , collision = pat:get_frame(3,0,1).collision , duration = 3 }) pat:update_frame(405,3,2, { tex_index = 505 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(1,0,2).hurtbox , collision = pat:get_frame(3,0,2).collision , duration = 3 }) pat:update_frame(405,3,3, { tex_index = 504 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(3,0,3).collision , duration = 3 }) pat:update_frame(405,3,4, { tex_index = 503 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(3,0,4).collision , duration = 3 }) --242f pat:update_frame(991,0,0,{tex_w = 0 }) pat:remove_frame(801,0,1) pat:remove_frame(801,1,2) pat:remove_frame(801,1,1) pat:update_frame(801,0,0,{tex_w = 0 , attackbox = pat:get_frame(0,0,0).attackbox }) pat:update_frame(801,1,0,{tex_w = 0}) pat:update_frame(801,2,0,{tex_w = 0}) pat:update_frame(801,3,0,{tex_w = 0}) pat:get_sequence(801,4):set_priority(20,0) pat:get_sequence(801,5):set_priority(20,0) for idx = 0 , 240+40 do pat:split_frame(801,4,0,1,1) end for idx = 0 , 241+40 do pat:update_frame(801,4,idx,function(frame) frame.tex_index = 127 + idx%10 frame.tex_w = 64 frame.tex_h = 64 frame.tex_offset_x = 32 frame.tex_offset_y = 32 local scal = 200 if (idx < 120) then scal = 160 elseif (idx < 240) then scal = 240 elseif (idx < 360) then scal = 320 else scal = 400 end scal = 200-- + idx*1.5 if (scal > 400) then scal = 400 end frame.scale_x = scal frame.scale_y = scal local ymod = 0 local xmod = -200 --2*idx if (idx > 220 and idx <= 224) then xmod = xmod + (idx-220)*4 ymod = (idx-220)*-8 frame.tex_index = 137 + idx-221 frame.tex_w = 1024 frame.tex_h = 128 frame.tex_offset_x = 32 frame.tex_offset_y = 64 frame.scale_x = 200 frame.scale_y = 200 end if (idx > 236+40 and idx <= 240+40) then xmod = xmod + (idx-220)*4 ymod = (idx-220)*-8 frame.tex_index = 137 + ((240+40)-idx) frame.tex_w = 1024 frame.tex_h = 128 frame.tex_offset_x = 32 frame.tex_offset_y = 64 frame.scale_x = 200 frame.scale_y = 200 end if (idx == 241+40) then xmod = xmod-- + (idx-220)*4 ymod = (idx-220)*-8 frame.scale_x = 200 frame.scale_y = 0 --frame.tex_w = 0 frame.duration = 300 end if (idx > 224 and idx <= 236+40) then xmod = xmod + (idx-220)*4 ymod = (idx-220)*-8 frame.tex_index = 141 + idx%4 frame.tex_w = 1024 frame.tex_h = 128 frame.tex_offset_x = 32 frame.tex_offset_y = 64 frame.scale_x = 200 frame.scale_y = 200 frame.attackbox[1].x1 = 0 frame.attackbox[1].x2 = 4000 frame.attackbox[1].y1 = -40 frame.attackbox[1].y2 = 40 frame.damage = 80 frame.limit = 2 frame.proration = 980 frame.attack_level = AL_HEAVY frame.blockstop_enemy = 4 frame.hitstop_enemy = 10 frame.sp_damage = 10 frame.hit_ani_ground = 74 frame.hit_ani_air = 74 frame.launch_vector_x = 3000 frame.launch_vector_y = 1500 frame.untech = 60 set_aflag(frame,AF_COUNTER_HIT) frame.hit_sfx = 9 frame.hit_effect = 7 else frame.attackbox = pat:get_frame(0,0,0).attackbox end xmod = 0 ymod = 0 local scalemod = 100/frame.scale_x frame.tex_offset_y = frame.tex_offset_y - (ymod)*scalemod frame.tex_offset_x = frame.tex_offset_x - (xmod)*scalemod if (idx>224 and idx <= 236+40) then frame.attackbox[1].x1 = frame.attackbox[1].x1 + (xmod) frame.attackbox[1].x2 = frame.attackbox[1].x2 + (xmod) frame.attackbox[1].y1 = frame.attackbox[1].y1 + (ymod) frame.attackbox[1].y2 = frame.attackbox[1].y2 + (ymod) end if (idx <= 230+40) then local color alpha = idx + 25 if (alpha > 255) then alpha = 255 end frame.color_r = alpha frame.color_g = alpha frame.color_b = 255 else local color alpha = (idx-(230+40))*25 if (alpha > 255) then alpha = 255 end frame.color_r = 255-alpha frame.color_g = 255-alpha frame.color_b = 255-alpha end end) end for idx = 0 , 240+40 do pat:split_frame(801,5,0,1,1) end for idx = 0 , 241+40 do pat:update_frame(801,5,idx,function(frame) frame.tex_index = 127 + idx%10 frame.tex_w = 64 frame.tex_h = 64 frame.tex_offset_x = 32 frame.tex_offset_y = 32 local scal = 200 if (idx < 120) then scal = 160 elseif (idx < 240) then scal = 240 elseif (idx < 360) then scal = 320 else scal = 400 end scal = 200-- + idx*1.5 if (scal > 400) then scal = 400 end frame.scale_x = scal frame.scale_y = scal local ymod = 0 local xmod = -200 --2*idx if (idx > 220 and idx <= 224) then xmod = xmod + (idx-220)*-4 ymod = (idx-220)*-8 frame.tex_index = 137 + idx-221 frame.tex_w = 1024 frame.tex_h = 128 frame.tex_offset_x = 32 frame.tex_offset_y = 64 frame.scale_x = 200 frame.scale_y = 200 end if (idx > 236+40 and idx <= 240+40) then xmod = xmod + (idx-220)*-4 ymod = (idx-220)*-8 frame.tex_index = 137 + ((240+40)-idx) frame.tex_w = 1024 frame.tex_h = 128 frame.tex_offset_x = 32 frame.tex_offset_y = 64 frame.scale_x = 200 frame.scale_y = 200 end if (idx == 241+40) then xmod = xmod-- + (idx-220)*4 ymod = (idx-220)*-8 frame.scale_x = 200 frame.scale_y = 0 --frame.tex_w = 0 frame.duration = 300 end if (idx > 224 and idx <= 236+40) then xmod = xmod + (idx-220)*-4 ymod = (idx-220)*-8 frame.tex_index = 141 + idx%4 frame.tex_w = 1024 frame.tex_h = 128 frame.tex_offset_x = 32 frame.tex_offset_y = 64 frame.scale_x = 200 frame.scale_y = 200 frame.attackbox[1].x1 = 0 frame.attackbox[1].x2 = 4000 frame.attackbox[1].y1 = -40 frame.attackbox[1].y2 = 40 frame.damage = 80 frame.limit = 2 frame.proration = 980 frame.attack_level = AL_HEAVY frame.blockstop_enemy = 4 frame.hitstop_enemy = 10 frame.sp_damage = 10 frame.hit_ani_ground = 74 frame.hit_ani_air = 74 frame.launch_vector_x = 3000 frame.launch_vector_y = 1500 frame.untech = 60 set_aflag(frame,AF_COUNTER_HIT) frame.hit_sfx = 9 frame.hit_effect = 7 else frame.attackbox = pat:get_frame(0,0,0).attackbox end xmod = 0 ymod = 0 local scalemod = 100/frame.scale_x frame.tex_offset_y = frame.tex_offset_y - (ymod)*scalemod frame.tex_offset_x = frame.tex_offset_x - (xmod)*scalemod if (idx>224 and idx <= 236+40) then frame.attackbox[1].x1 = frame.attackbox[1].x1 + (xmod) frame.attackbox[1].x2 = frame.attackbox[1].x2 + (xmod) frame.attackbox[1].y1 = frame.attackbox[1].y1 + (ymod) frame.attackbox[1].y2 = frame.attackbox[1].y2 + (ymod) end if (idx <= 230+40) then local color alpha = idx + 25 if (alpha > 255) then alpha = 255 end frame.color_r = alpha frame.color_g = alpha frame.color_b = 255 else local color alpha = (idx-(230+40))*25 if (alpha > 255) then alpha = 255 end frame.color_r = 255-alpha frame.color_g = 255-alpha frame.color_b = 255-alpha end end) end end function mods.b5c(pat) local baseX = 112+256 local baseY = 256 local baseW = 256 local baseH = 128 pat:remove_frame(410,0,15) pat:remove_frame(410,0,14) pat:remove_frame(410,0,13) pat:update_frame(410,0,0, { tex_index = 464 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(410,0,1, { tex_index = 465 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(410,0,2, { tex_index = 466 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(410,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(410,0,2,function(frame) frame.hurtbox[2].x1 = frame.hurtbox[2].x1 + 20 frame.hurtbox[3].x1 = frame.hurtbox[3].x1 - 10 frame.hurtbox[3].x2 = frame.hurtbox[1].x2 frame.hurtbox[3].y2 = 0 frame.hurtbox[4] = pat:get_frame(400,0,7).hurtbox[2] end) pat:update_frame(410,0,3, { tex_index = 467 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(410,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(410,0,3,function(frame) frame.hurtbox[4].x2 = frame.hurtbox[4].x2 + 20 end) pat:update_frame(410,0,4, { tex_index = 468 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(410,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(410,0,5, { tex_index = 469 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(410,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(410,0,6, { tex_index = 470 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(410,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(410,0,7, { tex_index = 471 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(410,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 6 }) pat:update_frame(410,0,8, { tex_index = 472 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(410,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 6 }) pat:update_frame(410,0,9, { tex_index = 460 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(410,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) pat:update_frame(410,0,10, { tex_index = 461 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(410,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(410,0,11, { tex_index = 462 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(410,0,12, { tex_index = 463 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:remove_frame(410,1,14) pat:remove_frame(410,1,13) pat:remove_frame(410,1,12) pat:update_frame(410,1,0, { tex_index = 468 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(410,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(410,1,1, { tex_index = 468 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(410,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(410,1,2, { tex_index = 468 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(410,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(410,1,3, { tex_index = 468 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(410,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(410,1,4, { tex_index = 469 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(410,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(410,1,5, { tex_index = 470 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(410,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(410,1,6, { tex_index = 471 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(410,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 6 }) pat:update_frame(410,1,7, { tex_index = 472 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(410,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 6 }) pat:update_frame(410,1,8, { tex_index = 460 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(410,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 10 }) pat:update_frame(410,1,9, { tex_index = 461 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(410,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(410,1,10, { tex_index = 462 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(410,1,11, { tex_index = 463 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) baseY = 256+6 pat:update_frame(414,0,0, { tex_index = 464 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 4 }) pat:update_frame(414,0,1, { tex_index = 465 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 4 }) pat:update_frame(414,0,2, { tex_index = 466 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(410,0,2).hurtbox , duration = 4 }) pat:update_frame(414,0,2,function(frame) for idx = 1 , 4 do frame.hurtbox[idx].y1 = frame.hurtbox[idx].y1 - 6 frame.hurtbox[idx].y2 = frame.hurtbox[idx].y2 - 6 end frame.hurtbox[3].y2 = frame.hurtbox[3].y2 - 20 end) pat:update_frame(414,0,3, { tex_index = 467 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(410,0,3).hurtbox , duration = 4 }) pat:update_frame(414,0,3,function(frame) for idx = 1 , 4 do frame.hurtbox[idx].y1 = frame.hurtbox[idx].y1 - 6 frame.hurtbox[idx].y2 = frame.hurtbox[idx].y2 - 6 end frame.hurtbox[3].y2 = frame.hurtbox[3].y2 - 20 end) pat:update_frame(414,0,4, { tex_index = 468 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(414,0,3).hurtbox , duration = 4 }) pat:update_frame(414,0,5, { tex_index = 469 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(414,0,3).hurtbox , duration = 4 }) pat:update_frame(414,0,6, { tex_index = 470 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(414,0,3).hurtbox , duration = 4 }) pat:update_frame(414,0,7, { tex_index = 471 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(414,0,3).hurtbox , duration = 6 }) pat:update_frame(414,0,8, { tex_index = 472 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(414,0,3).hurtbox , duration = 6 }) pat:update_frame(414,0,9, { tex_index = 460 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(414,0,3).hurtbox , duration = 4 }) pat:update_frame(414,0,10, { tex_index = 460 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(414,0,3).hurtbox , duration = 4 }) pat:update_frame(414,0,11, { tex_index = 460 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(414,0,3).hurtbox , duration = 2 }) pat:update_frame(414,0,12, { tex_index = 461 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(414,0,2).hurtbox , duration = 4 }) pat:update_frame(414,0,13, { tex_index = 462 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 4 }) pat:update_frame(414,0,14, { tex_index = 463 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 4 }) pat:update_frame(414,0,15, { tex_index = 391 , tex_w = 128 , tex_h = baseH , tex_offset_x = 112 , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 4 }) pat:update_frame(414,0,16, { tex_index = 388 , tex_w = 128 , tex_h = baseH , tex_offset_x = 112 , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 4 }) pat:update_frame(414,1,0, { tex_index = 468 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(414,0,3).hurtbox , duration = 4 }) pat:update_frame(414,1,1, { tex_index = 468 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(414,0,3).hurtbox , duration = 4 }) pat:update_frame(414,1,2, { tex_index = 468 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(414,0,3).hurtbox , duration = 4 }) pat:update_frame(414,1,3, { tex_index = 468 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(414,0,3).hurtbox , duration = 4 }) pat:update_frame(414,1,4, { tex_index = 469 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(414,0,3).hurtbox , duration = 4 }) pat:update_frame(414,1,5, { tex_index = 470 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(414,0,3).hurtbox , duration = 4 }) pat:update_frame(414,1,6, { tex_index = 471 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(414,0,3).hurtbox , duration = 6 }) pat:update_frame(414,1,7, { tex_index = 472 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(414,0,3).hurtbox , duration = 6 }) pat:update_frame(414,1,8, { tex_index = 460 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(414,0,3).hurtbox , duration = 4 }) pat:update_frame(414,1,9, { tex_index = 460 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(414,0,3).hurtbox , duration = 4 }) pat:update_frame(414,1,10, { tex_index = 460 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(414,0,3).hurtbox , duration = 2 }) pat:update_frame(414,1,11, { tex_index = 461 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(414,0,2).hurtbox , duration = 4 }) pat:update_frame(414,1,12, { tex_index = 462 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 4 }) pat:update_frame(414,1,13, { tex_index = 463 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 4 }) pat:update_frame(414,1,14, { tex_index = 391 , tex_w = 128 , tex_h = baseH , tex_offset_x = 112 , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 4 }) pat:update_frame(414,1,15, { tex_index = 388 , tex_w = 128 , tex_h = baseH , tex_offset_x = 112 , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 4 }) baseX = 112 baseY = 256 baseW = 128 baseH = 128 pat:split_frame(414,2,0,2,2) pat:split_frame(414,2,0,2,2) pat:update_frame(414,2,0, { tex_index = 618 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(1,0,4).hurtbox , collision = pat:get_frame(3,0,0).collision , duration = 3 }) pat:update_frame(414,2,1, { tex_index = 506 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(1,0,3).hurtbox , collision = pat:get_frame(3,0,1).collision , duration = 3 }) pat:update_frame(414,2,2, { tex_index = 505 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(1,0,2).hurtbox , collision = pat:get_frame(3,0,2).collision , duration = 3 }) pat:update_frame(414,2,3, { tex_index = 504 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(3,0,3).collision , duration = 3 }) pat:update_frame(414,2,4, { tex_index = 503 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(3,0,4).collision , duration = 3 }) pat:get_sequence(802,0):set_looped(false) pat:update_frame(802,1,0,{tex_w = 0}) pat:update_frame(802,2,0,{tex_w = 0}) pat:update_frame(802,2,1,{tex_w = 0}) pat:update_frame(802,3,0,{tex_w = 0}) pat:update_frame(802,3,1,{tex_w = 0}) pat:update_frame(802,4,0,{tex_w = 0}) pat:update_frame(802,4,1,{tex_w = 0}) pat:update_frame(802,5,0,{tex_w = 0}) pat:update_frame(802,5,1,{tex_w = 0}) for idx = 0 , 7 do pat:split_frame(802,6,0,1,1) end for idx = 0 , 9 do pat:update_frame(802,6,idx,function(frame) frame.tex_index = 101 frame.duration = 1 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 = 100 end) end --[[ for idx = 0 , 79 do pat:split_frame(802,0,0,1,1) end for idx = 0 , 99 do pat:update_frame(802,0,idx,function(frame) frame.tex_index = 308 + idx%10 frame.duration = 1 frame.tex_w = 128 frame.tex_h = 128 frame.tex_offset_x = 90 frame.tex_offset_y = 64 frame.scale_x = 450 frame.scale_y = 150 frame.blockstop_self = 2 frame.hitstop_self = 2 frame.attackbox[4]=null frame.attackbox[1].y1 = frame.attackbox[1].y1/2 frame.attackbox[1].y2 = frame.attackbox[1].y2/2 frame.attackbox[3].x2 = frame.attackbox[3].x2 + 20 for idx = 1 , 3 do frame.attackbox[idx].y1 = frame.attackbox[idx].y1/2 frame.attackbox[idx].y2 = frame.attackbox[idx].y2/2 end local scalemod = 100/frame.scale_x local ymod = 0 local xmod = 15*idx frame.tex_offset_y = frame.tex_offset_y - (ymod)*scalemod frame.tex_offset_x = frame.tex_offset_x - (xmod)*scalemod for idx = 1 , 3 do frame.attackbox[idx].y1 = frame.attackbox[idx].y1 + (ymod) frame.attackbox[idx].y2 = frame.attackbox[idx].y2 + (ymod) frame.attackbox[idx].x1 = frame.attackbox[idx].x1 + (xmod) frame.attackbox[idx].x2 = frame.attackbox[idx].x2 + (xmod) end --set_aflag(frame,AF_UNREFLECTABLE) end) end]]-- end function mods.b5c_new(pat) local baseX = 112+256 local baseY = 256 local baseW = 256 local baseH = 128 pat:remove_frame(410,0,15) pat:remove_frame(410,0,14) pat:remove_frame(410,0,13) pat:update_frame(410,0,0, { tex_index = 464 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(410,0,1, { tex_index = 465 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(410,0,2, { tex_index = 466 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(410,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(410,0,2,function(frame) frame.hurtbox[2].x1 = frame.hurtbox[2].x1 + 20 frame.hurtbox[3].x1 = frame.hurtbox[3].x1 - 10 frame.hurtbox[3].x2 = frame.hurtbox[1].x2 frame.hurtbox[3].y2 = 0 frame.hurtbox[4] = pat:get_frame(400,0,7).hurtbox[2] end) pat:update_frame(410,0,3, { tex_index = 467 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(410,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(410,0,3,function(frame) frame.hurtbox[4].x2 = frame.hurtbox[4].x2 + 20 end) pat:update_frame(410,0,4, { tex_index = 468 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(410,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(410,0,5, { tex_index = 469 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(410,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(410,0,6, { tex_index = 470 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(410,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(410,0,7, { tex_index = 471 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(410,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 6 }) pat:update_frame(410,0,8, { tex_index = 472 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(410,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 6 }) pat:update_frame(410,0,9, { tex_index = 460 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(410,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) pat:update_frame(410,0,10, { tex_index = 461 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(410,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(410,0,11, { tex_index = 462 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(410,0,12, { tex_index = 463 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:remove_frame(410,1,14) pat:remove_frame(410,1,13) pat:remove_frame(410,1,12) pat:update_frame(410,1,0, { tex_index = 468 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(410,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(410,1,1, { tex_index = 468 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(410,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(410,1,2, { tex_index = 468 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(410,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(410,1,3, { tex_index = 468 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(410,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(410,1,4, { tex_index = 469 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(410,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(410,1,5, { tex_index = 470 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(410,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(410,1,6, { tex_index = 471 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(410,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 6 }) pat:update_frame(410,1,7, { tex_index = 472 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(410,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 6 }) pat:update_frame(410,1,8, { tex_index = 460 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(410,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 10 }) pat:update_frame(410,1,9, { tex_index = 461 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(410,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(410,1,10, { tex_index = 462 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(410,1,11, { tex_index = 463 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) baseY = 256+6 pat:update_frame(414,0,0, { tex_index = 464 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 4 }) pat:update_frame(414,0,1, { tex_index = 465 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 4 }) pat:update_frame(414,0,2, { tex_index = 466 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(410,0,2).hurtbox , duration = 4 }) pat:update_frame(414,0,2,function(frame) for idx = 1 , 4 do frame.hurtbox[idx].y1 = frame.hurtbox[idx].y1 - 6 frame.hurtbox[idx].y2 = frame.hurtbox[idx].y2 - 6 end frame.hurtbox[3].y2 = frame.hurtbox[3].y2 - 20 end) pat:update_frame(414,0,3, { tex_index = 467 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(410,0,3).hurtbox , duration = 4 }) pat:update_frame(414,0,3,function(frame) for idx = 1 , 4 do frame.hurtbox[idx].y1 = frame.hurtbox[idx].y1 - 6 frame.hurtbox[idx].y2 = frame.hurtbox[idx].y2 - 6 end frame.hurtbox[3].y2 = frame.hurtbox[3].y2 - 20 end) pat:update_frame(414,0,4, { tex_index = 468 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(414,0,3).hurtbox , duration = 4 }) pat:update_frame(414,0,5, { tex_index = 469 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(414,0,3).hurtbox , duration = 4 }) pat:update_frame(414,0,6, { tex_index = 470 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(414,0,3).hurtbox , duration = 4 }) pat:update_frame(414,0,7, { tex_index = 471 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(414,0,3).hurtbox , duration = 6 }) pat:update_frame(414,0,8, { tex_index = 472 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(414,0,3).hurtbox , duration = 6 }) pat:update_frame(414,0,9, { tex_index = 460 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(414,0,3).hurtbox , duration = 4 }) pat:update_frame(414,0,10, { tex_index = 460 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(414,0,3).hurtbox , duration = 4 }) pat:update_frame(414,0,11, { tex_index = 460 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(414,0,3).hurtbox , duration = 2 }) pat:update_frame(414,0,12, { tex_index = 461 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(414,0,2).hurtbox , duration = 4 }) pat:update_frame(414,0,13, { tex_index = 462 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 4 }) pat:update_frame(414,0,14, { tex_index = 463 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 4 }) pat:update_frame(414,0,15, { tex_index = 391 , tex_w = 128 , tex_h = baseH , tex_offset_x = 112 , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 4 }) pat:update_frame(414,0,16, { tex_index = 388 , tex_w = 128 , tex_h = baseH , tex_offset_x = 112 , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 4 }) pat:update_frame(414,1,0, { tex_index = 468 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(414,0,3).hurtbox , duration = 4 }) pat:update_frame(414,1,1, { tex_index = 468 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(414,0,3).hurtbox , duration = 4 }) pat:update_frame(414,1,2, { tex_index = 468 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(414,0,3).hurtbox , duration = 4 }) pat:update_frame(414,1,3, { tex_index = 468 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(414,0,3).hurtbox , duration = 4 }) pat:update_frame(414,1,4, { tex_index = 469 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(414,0,3).hurtbox , duration = 4 }) pat:update_frame(414,1,5, { tex_index = 470 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(414,0,3).hurtbox , duration = 4 }) pat:update_frame(414,1,6, { tex_index = 471 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(414,0,3).hurtbox , duration = 6 }) pat:update_frame(414,1,7, { tex_index = 472 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(414,0,3).hurtbox , duration = 6 }) pat:update_frame(414,1,8, { tex_index = 460 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(414,0,3).hurtbox , duration = 4 }) pat:update_frame(414,1,9, { tex_index = 460 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(414,0,3).hurtbox , duration = 4 }) pat:update_frame(414,1,10, { tex_index = 460 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(414,0,3).hurtbox , duration = 2 }) pat:update_frame(414,1,11, { tex_index = 461 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(414,0,2).hurtbox , duration = 4 }) pat:update_frame(414,1,12, { tex_index = 462 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 4 }) pat:update_frame(414,1,13, { tex_index = 463 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 4 }) pat:update_frame(414,1,14, { tex_index = 391 , tex_w = 128 , tex_h = baseH , tex_offset_x = 112 , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 4 }) pat:update_frame(414,1,15, { tex_index = 388 , tex_w = 128 , tex_h = baseH , tex_offset_x = 112 , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 4 }) baseX = 112 baseY = 256 baseW = 128 baseH = 128 pat:split_frame(414,2,0,2,2) pat:split_frame(414,2,0,2,2) pat:update_frame(414,2,0, { tex_index = 618 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(1,0,4).hurtbox , collision = pat:get_frame(3,0,0).collision , duration = 3 }) pat:update_frame(414,2,1, { tex_index = 506 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(1,0,3).hurtbox , collision = pat:get_frame(3,0,1).collision , duration = 3 }) pat:update_frame(414,2,2, { tex_index = 505 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(1,0,2).hurtbox , collision = pat:get_frame(3,0,2).collision , duration = 3 }) pat:update_frame(414,2,3, { tex_index = 504 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(3,0,3).collision , duration = 3 }) pat:update_frame(414,2,4, { tex_index = 503 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(3,0,4).collision , duration = 3 }) pat:get_sequence(802,0):set_looped(false) pat:update_frame(802,1,0,{tex_w = 0}) pat:update_frame(802,2,0,{tex_w = 0}) pat:update_frame(802,2,1,{tex_w = 0}) pat:update_frame(802,3,0,{tex_w = 0}) pat:update_frame(802,3,1,{tex_w = 0}) pat:update_frame(802,4,0,{tex_w = 0}) pat:update_frame(802,4,1,{tex_w = 0}) pat:update_frame(802,5,0,{tex_w = 0}) pat:update_frame(802,5,1,{tex_w = 0}) for idx = 0 , 7 do pat:split_frame(802,6,0,1,1) end for idx = 0 , 9 do pat:update_frame(802,6,idx,function(frame) frame.tex_index = 101 frame.duration = 1 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 = 100 end) end for idx = 2 , 260 do pat:split_frame(802,5,1,1,1) end for idx = 0 , 260 do pat:update_frame(802,5,idx,function(frame) frame.tex_index = 345 + idx%10 frame.blending_mode = 1 frame.duration = 1 frame.tex_w = 64 frame.tex_h = 64 frame.tex_offset_x = 32 frame.tex_offset_y = 32 local scal = 200 if (idx < 120) then scal = 160 elseif (idx < 240) then scal = 240 elseif (idx < 360) then scal = 320 else scal = 400 end scal = 100+idx if (scal >= 240) then scal = 240 end if (idx >= 220) then local tid = idx- 220 frame.tex_index = 190 frame.tex_w = 128 frame.tex_h = 128 frame.tex_offset_x = 64 frame.tex_offset_y = 64 scal = 900*(1-(1/(1 + tid*.1))) end frame.scale_x = scal frame.scale_y = scal if (idx >= 250) then local alpha = 250 - (idx-250) * 25 frame.color_r = alpha frame.color_g = alpha frame.color_b = alpha elseif (idx >= 0) then local alpha = idx+50 if (alpha > 255) then alpha = 255 end frame.color_r = 255 frame.color_g = 255-alpha frame.color_b = 255-alpha end if (idx == 260) then frame.tex_w = 0 frame.duration = 100 end local ymod = 200 - idx*10 local xmod = 0 if (ymod < 0) then ymod = 0 end local scalemod = 100/frame.scale_x frame.tex_offset_y = frame.tex_offset_y - (ymod)*scalemod end) end for idx = 20, 260 do pat:split_frame(802,0,0,1,1) end for idx = 0 , 260 do pat:update_frame(802,0,idx,function(frame) frame.tex_index = 184 frame.duration = 1 frame.tex_w = 128 frame.tex_h = 128 frame.tex_offset_x = 64 frame.tex_offset_y = 64 if (idx < 220) then frame.tex_w = 0 end local tid = idx- 220 local scal = 150 + tid * 10 frame.scale_x = scal * 1.2 frame.scale_y = scal * 1.2 local ymod = 0 local xmod = 0 local scalemod = 100/frame.scale_x if (idx < 220 or idx > 250) then frame.attackbox = pat:get_frame(0,0,0).attackbox else for idy = 1 , 4 do frame.attackbox[idy].x1 = frame.attackbox[idy].x1 * scal/200 frame.attackbox[idy].x2 = frame.attackbox[idy].x2 * scal/200 frame.attackbox[idy].y1 = frame.attackbox[idy].y1 * scal/200 frame.attackbox[idy].y2 = frame.attackbox[idy].y2 * scal/200 end frame.hitstop_enemy = 10 frame.blockstop_enemy = 10 frame.blockstop_self = 5 frame.hitstop_self = 5 end if (idx >= 250) then local alpha = 250 - (idx-250) * 25 frame.color_r = alpha frame.color_g = alpha frame.color_b = alpha end frame.damage = 600 frame.proration = 900 --frame.limit = 5 set_aflag(frame,AF_UNREFLECTABLE) end) end end function mods.b5c_new_animation(pat) local baseX = 112 local baseY = 256 local baseW = 128 local baseH = 128 pat:update_frame(410,0,0, { tex_index = 447 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(410,0,1, { tex_index = 447 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(410,0,2, { tex_index = 448 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(410,0,3, { tex_index = 448 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(410,0,4, { tex_index = 449 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(410,0,5, { tex_index = 449 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(410,0,6, { tex_index = 450 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(410,0,7, { tex_index = 451 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(410,0,8, { tex_index = 451 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(410,0,9, { tex_index = 451 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(410,0,10, { tex_index = 451 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(410,0,11, { tex_index = 452 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(410,0,12, { tex_index = 447 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) baseY = 256+6 pat:update_frame(414,0,0, { tex_index = 447 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(414,0,1, { tex_index = 447 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(414,0,2, { tex_index = 448 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(414,0,3, { tex_index = 448 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(414,0,4, { tex_index = 449 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(414,0,5, { tex_index = 449 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(414,0,6, { tex_index = 450 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(414,0,7, { tex_index = 451 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(414,0,8, { tex_index = 451 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(414,0,9, { tex_index = 451 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(414,0,10, { tex_index = 451 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(414,0,11, { tex_index = 451 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(414,0,12, { tex_index = 451 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(414,0,13, { tex_index = 451 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(414,0,14, { tex_index = 451 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(414,0,15, { tex_index = 452 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(414,0,16, { tex_index = 447 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox }) end function mods.b6c(pat) local baseX = 112 local baseY = 256 local baseW = 128 local baseH = 128 pat:update_frame(411,0,0, { tex_index = 473 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+28 , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(411,0,1, { tex_index = 474 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+28 , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(411,0,2, { tex_index = 475 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+28 , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(411,0,3, { tex_index = 476 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+20 , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(411,0,3,function(frame) frame.hurtbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[1].x1 = frame.hurtbox[1].x1 + 20 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 + 20 frame.hurtbox[2].y1 = frame.hurtbox[2].y2 - 40 frame.hurtbox[3] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[3].x1 = frame.hurtbox[3].x1 + 40 frame.hurtbox[3].x2 = frame.hurtbox[3].x2 + 40 frame.hurtbox[3].y1 = frame.hurtbox[1].y1 + 50 frame.hurtbox[3].y2 = frame.hurtbox[3].y1 + 50 end) pat:update_frame(411,0,4, { tex_index = 477 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+10 , tex_offset_y = baseY , hurtbox = pat:get_frame(411,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(411,0,4,function(frame) frame.hurtbox[3].x1 = frame.hurtbox[3].x1 + 25 frame.hurtbox[3].x2 = frame.hurtbox[3].x2 + 25 frame.hurtbox[3].y2 = frame.hurtbox[3].y2 - 20 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 + 30 end) pat:update_frame(411,0,5, { tex_index = 478 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(411,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(411,0,5,function(frame) frame.hurtbox[1] = pat:get_frame(0,0,0).hurtbox[1] end) pat:update_frame(411,0,6, { tex_index = 479 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(411,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(411,0,6,function(frame) frame.hurtbox[1] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[3].x1 = frame.hurtbox[3].x1 - 20 frame.hurtbox[3].y1 = frame.hurtbox[3].y1 - 20 frame.hurtbox[2]=frame.hurtbox[3] frame.hurtbox[3]=null end) pat:update_frame(411,0,7, { tex_index = 480 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(411,0,6).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(411,0,8, { tex_index = 479 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(411,0,6).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(411,0,9, { tex_index = 480 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(411,0,6).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(411,0,10, { tex_index = 479 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(411,0,6).hurtbox , collision = pat:get_frame(0,0,0).collision})-- , fflags = 0x00200061 }) pat:update_frame(411,0,11, { tex_index = 480 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(411,0,6).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00200061 }) pat:update_frame(411,0,12, { tex_index = 479 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(411,0,6).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(411,0,13, { tex_index = 480 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(411,0,6).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(411,0,14, { tex_index = 479 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(411,0,6).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(411,0,15, { tex_index = 480 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(411,0,6).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(411,0,16, { tex_index = 479 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(411,0,6).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(411,0,17, { tex_index = 480 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(411,0,6).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(411,0,18, { tex_index = 481 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(411,0,6).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 6 }) pat:remove_frame(411,0,19) baseY = 256+6 pat:update_frame(415,0,0, { tex_index = 473 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+28 , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(415,0,0,function(frame) frame.hurtbox[1].y1 = frame.hurtbox[1].y1 - 6 frame.hurtbox[1].y2 = frame.hurtbox[1].y2 - 20 end) pat:update_frame(415,0,1, { tex_index = 474 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+28 , tex_offset_y = baseY , hurtbox = pat:get_frame(415,0,0).hurtbox }) pat:update_frame(415,0,2, { tex_index = 475 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+28 , tex_offset_y = baseY , hurtbox = pat:get_frame(415,0,0).hurtbox }) pat:update_frame(415,0,3, { tex_index = 476 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+20 , tex_offset_y = baseY , hurtbox = pat:get_frame(411,0,3).hurtbox }) pat:update_frame(415,0,3,function(frame) for idx = 1 , 3 do frame.hurtbox[idx].y1 = frame.hurtbox[idx].y1 - 6 end frame.hurtbox[1].y2 = frame.hurtbox[1].y2 - 20 frame.hurtbox[2].y2 = frame.hurtbox[2].y2 - 20 end) pat:update_frame(415,0,4, { tex_index = 477 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+10 , tex_offset_y = baseY , hurtbox = pat:get_frame(411,0,4).hurtbox }) pat:update_frame(415,0,4,function(frame) for idx = 1 , 3 do frame.hurtbox[idx].y1 = frame.hurtbox[idx].y1 - 6 end frame.hurtbox[1].y2 = frame.hurtbox[1].y2 - 20 frame.hurtbox[2].y2 = frame.hurtbox[2].y2 - 20 end) pat:update_frame(415,0,5, { tex_index = 478 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(411,0,5).hurtbox }) pat:update_frame(415,0,5,function(frame) for idx = 1 , 3 do frame.hurtbox[idx].y1 = frame.hurtbox[idx].y1 - 6 end frame.hurtbox[1].y2 = frame.hurtbox[1].y2 - 20 frame.hurtbox[2].y2 = frame.hurtbox[2].y2 - 20 end) pat:update_frame(415,0,6, { tex_index = 479 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(411,0,6).hurtbox }) pat:update_frame(415,0,6,function(frame) for idx = 1 , 2 do frame.hurtbox[idx].y1 = frame.hurtbox[idx].y1 - 6 end frame.hurtbox[1].y2 = frame.hurtbox[1].y2 - 20 end) pat:update_frame(415,0,7, { tex_index = 480 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(415,0,6).hurtbox }) pat:update_frame(415,0,8, { tex_index = 479 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(415,0,6).hurtbox }) pat:update_frame(415,0,9, { tex_index = 480 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(415,0,6).hurtbox }) pat:update_frame(415,0,10, { tex_index = 479 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(415,0,6).hurtbox})-- , fflags = 0x00200064 }) pat:update_frame(415,0,11, { tex_index = 480 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(415,0,6).hurtbox , fflags = 0x00200064 }) pat:update_frame(415,0,12, { tex_index = 479 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(415,0,6).hurtbox }) pat:update_frame(415,0,13, { tex_index = 480 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(415,0,6).hurtbox }) pat:update_frame(415,0,14, { tex_index = 479 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(415,0,6).hurtbox }) pat:update_frame(415,0,15, { tex_index = 480 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(415,0,6).hurtbox }) pat:update_frame(415,0,16, { tex_index = 479 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(415,0,6).hurtbox }) pat:update_frame(415,0,17, { tex_index = 480 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(415,0,6).hurtbox }) pat:update_frame(415,0,18, { tex_index = 481 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(415,0,6).hurtbox , duration = 6 }) pat:remove_frame(415,0,19) baseY = 256 pat:split_frame(415,3,0,2,2) pat:split_frame(415,3,0,2,2) pat:update_frame(415,3,0, { tex_index = 618 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(1,0,4).hurtbox , collision = pat:get_frame(3,0,0).collision , duration = 3 }) pat:update_frame(415,3,1, { tex_index = 506 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(1,0,3).hurtbox , collision = pat:get_frame(3,0,1).collision , duration = 3 }) pat:update_frame(415,3,2, { tex_index = 505 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(1,0,2).hurtbox , collision = pat:get_frame(3,0,2).collision , duration = 3 }) pat:update_frame(415,3,3, { tex_index = 504 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(3,0,3).collision , duration = 3 }) pat:update_frame(415,3,4, { tex_index = 503 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(3,0,4).collision , duration = 3 }) baseY=256+6 pat:update_frame(416,0,0, { tex_index = 473 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+28 , tex_offset_y = baseY , hurtbox = pat:get_frame(415,0,0).hurtbox }) pat:update_frame(416,0,1, { tex_index = 474 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+28 , tex_offset_y = baseY , hurtbox = pat:get_frame(415,0,0).hurtbox }) pat:update_frame(416,0,2, { tex_index = 475 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+28 , tex_offset_y = baseY , hurtbox = pat:get_frame(415,0,0).hurtbox }) pat:update_frame(416,0,3, { tex_index = 476 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+20 , tex_offset_y = baseY , hurtbox = pat:get_frame(415,0,3).hurtbox }) pat:update_frame(416,0,4, { tex_index = 477 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+10 , tex_offset_y = baseY , hurtbox = pat:get_frame(415,0,4).hurtbox }) baseH = 160 pat:update_frame(416,0,5, { tex_index = 485 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(415,0,6).hurtbox }) pat:update_frame(416,0,6, { tex_index = 484 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(415,0,6).hurtbox }) pat:update_frame(416,0,6,function(frame) frame.hurtbox[2].y2 = frame.hurtbox[2].y2 + 20 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 - 20 end) pat:update_frame(416,0,7, { tex_index = 485 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(416,0,6).hurtbox }) pat:update_frame(416,0,8, { tex_index = 484 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(416,0,6).hurtbox }) pat:update_frame(416,0,9, { tex_index = 485 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(416,0,6).hurtbox }) pat:update_frame(416,0,10, { tex_index = 484 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(416,0,6).hurtbox})-- , fflags = 0x00200064 }) pat:update_frame(416,0,11, { tex_index = 485 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(416,0,6).hurtbox , fflags = 0x00200064 }) pat:update_frame(416,0,12, { tex_index = 484 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(416,0,6).hurtbox }) pat:update_frame(416,0,13, { tex_index = 485 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(416,0,6).hurtbox }) pat:update_frame(416,0,14, { tex_index = 484 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(416,0,6).hurtbox }) pat:update_frame(416,0,15, { tex_index = 485 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(416,0,6).hurtbox }) pat:update_frame(416,0,16, { tex_index = 484 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(416,0,6).hurtbox }) pat:update_frame(416,0,17, { tex_index = 485 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(416,0,6).hurtbox }) baseH = 128 pat:update_frame(416,0,18, { tex_index = 481 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(415,0,6).hurtbox , duration = 6 }) pat:remove_frame(416,0,19) baseY=256 pat:split_frame(416,3,0,2,2) pat:split_frame(416,3,0,2,2) pat:update_frame(416,3,0, { tex_index = 618 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(1,0,4).hurtbox , collision = pat:get_frame(3,0,0).collision , duration = 3 }) pat:update_frame(416,3,1, { tex_index = 506 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(1,0,3).hurtbox , collision = pat:get_frame(3,0,1).collision , duration = 3 }) pat:update_frame(416,3,2, { tex_index = 505 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(1,0,2).hurtbox , collision = pat:get_frame(3,0,2).collision , duration = 3 }) pat:update_frame(416,3,3, { tex_index = 504 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(3,0,3).collision , duration = 3 }) pat:update_frame(416,3,4, { tex_index = 503 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(3,0,4).collision , duration = 3 }) pat:update_frame(803,1,0,{damage = 150 , combo_correction = CC_LIFT_ATTACK}) end function mods.b2c(pat) local baseX = 112 local baseY = 256 local baseW = 128 local baseH = 160 pat:update_frame(412,0,0, { tex_index = 491 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(2,0,0).hurtbox })--, duration = 3 - 1 }) pat:update_frame(412,0,1, { tex_index = 492 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(2,0,0).hurtbox }) pat:update_frame(412,0,2, { tex_index = 493 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(2,0,0).hurtbox }) pat:update_frame(412,0,3, { tex_index = 494 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(2,0,0).hurtbox }) pat:update_frame(412,0,4, { tex_index = 495 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(2,0,0).hurtbox }) pat:update_frame(412,0,4,function(frame) frame.hurtbox[2] = pat:get_frame(2,0,0).hurtbox[1] 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 + 50 frame.hurtbox[2].y2 = frame.hurtbox[2].y1 + 40 end) pat:update_frame(412,0,5, { tex_index = 497 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(412,0,4).hurtbox , duration = 2+2 }) pat:update_frame(412,0,5,function(frame) frame.hurtbox[2].y1 = frame.hurtbox[2].y1 - 40 end) pat:update_frame(412,0,6, { tex_index = 496 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(412,0,5).hurtbox }) pat:update_frame(412,0,7, { tex_index = 497 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(412,0,5).hurtbox }) pat:update_frame(412,0,8, { tex_index = 496 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(412,0,5).hurtbox }) pat:update_frame(412,0,9, { tex_index = 497 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(412,0,5).hurtbox }) pat:update_frame(412,0,10, { tex_index = 496 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(412,0,5).hurtbox})-- , fflags = 0x00200062 }) pat:update_frame(412,0,11, { tex_index = 497 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(412,0,5).hurtbox , fflags = 0x00200062 }) pat:update_frame(412,0,12, { tex_index = 496 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(412,0,5).hurtbox }) pat:update_frame(412,0,13, { tex_index = 497 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(412,0,5).hurtbox }) pat:update_frame(412,0,14, { tex_index = 496 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(412,0,5).hurtbox }) pat:update_frame(412,0,15, { tex_index = 497 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(412,0,5).hurtbox }) pat:update_frame(412,0,16, { tex_index = 496 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(412,0,5).hurtbox }) pat:update_frame(412,0,17, { tex_index = 498 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(412,0,5).hurtbox , duration = 6 }) pat:remove_frame(412,0,18) end function mods.systems(pat) local baseX = 112 local baseY = 256 local baseW = 128 local baseH = 128 pat:update_frame(690,0,0, { tex_index = 542 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(690,0,1, { tex_index = 543 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(690,0,2, { tex_index = 544 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(690,0,3, { tex_index = 545 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(690,1,0, { tex_index = 546 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(690,1,1, { tex_index = 547 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(690,1,2, { tex_index = 548 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(690,1,3, { tex_index = 549 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(690,1,4, { tex_index = 546 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(690,1,5, { tex_index = 547 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(690,1,6, { tex_index = 548 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(690,1,7, { tex_index = 549 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(690,1,8, { tex_index = 546 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(690,1,9, { tex_index = 547 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(690,1,10, { tex_index = 548 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(690,1,11, { tex_index = 550 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(691,0,0, { tex_index = 542 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(691,0,1, { tex_index = 543 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(691,0,2, { tex_index = 544 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(691,0,3, { tex_index = 545 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(691,1,0, { tex_index = 546 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(691,1,1, { tex_index = 547 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(691,1,2, { tex_index = 548 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(691,1,3, { tex_index = 549 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(691,1,4, { tex_index = 546 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(691,1,5, { tex_index = 547 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(691,1,6, { tex_index = 548 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(691,1,7, { tex_index = 549 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(691,1,8, { tex_index = 546 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(691,1,9, { tex_index = 547 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(691,1,10, { tex_index = 548 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(691,1,11, { tex_index = 550 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(692,0,0, { tex_index = 542 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(692,0,1, { tex_index = 543 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(692,0,2, { tex_index = 544 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(692,0,3, { tex_index = 545 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(692,1,0, { tex_index = 546 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(692,1,1, { tex_index = 547 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(692,1,2, { tex_index = 548 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(692,1,3, { tex_index = 549 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(692,2,0, { tex_index = 546 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(692,2,1, { tex_index = 547 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(692,2,2, { tex_index = 548 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(692,2,3, { tex_index = 549 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(692,2,4, { tex_index = 550 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(695,0,0, { tex_index = 542 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(695,0,1, { tex_index = 543 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(695,0,2, { tex_index = 544 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(695,0,3, { tex_index = 545 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(695,0,4, { tex_index = 546 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(695,0,5, { tex_index = 546 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(695,0,6, { tex_index = 547 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(695,0,7, { tex_index = 548 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(695,0,8, { tex_index = 549 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(695,0,9, { tex_index = 546 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(695,0,10, { tex_index = 547 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(695,0,11, { tex_index = 548 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(695,0,12, { tex_index = 549 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(695,0,13, { tex_index = 546 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(695,0,14, { tex_index = 547 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(695,0,15, { tex_index = 548 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(695,0,16, { tex_index = 550 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(696,0,0, { tex_index = 5 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(321,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(696,0,1, { tex_index = 5 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(321,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(696,0,2, { tex_index = 5 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(321,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(696,0,3, { tex_index = 6 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(321,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(696,0,4, { tex_index = 14 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(321,0,4).hurtbox , attackbox = pat:get_frame(321,0,4).attackbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(696,0,5, { tex_index = 15 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(321,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(696,0,6, { tex_index = 16 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(321,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(696,0,7, { tex_index = 632 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(321,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(696,0,8, { tex_index = 632 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(321,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(696,0,9, { tex_index = 632 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(321,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(696,0,10, { tex_index = 632 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(321,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(696,0,11, { tex_index = 633 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(321,0,8).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(696,0,12, { tex_index = 634 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(697,0,0, { tex_index = 5 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(321,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(697,1,0, { tex_index = 5 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(321,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(697,2,0, { tex_index = 5 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(321,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(697,2,1, { tex_index = 6 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(321,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(697,3,0, { tex_index = 14 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(321,0,4).hurtbox , attackbox = pat:get_frame(321,0,4).attackbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(697,3,1, { tex_index = 15 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(321,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(697,3,2, { tex_index = 16 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(321,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(697,3,3, { tex_index = 632 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(321,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(697,3,4, { tex_index = 632 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(321,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(697,3,5, { tex_index = 632 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(321,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(697,4,0, { tex_index = 633 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(321,0,8).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(697,4,1, { tex_index = 634 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(698,0,0, { tex_index = 5 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(321,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(698,0,1, { tex_index = 5 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(321,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(698,1,0, { tex_index = 5 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(321,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(698,1,1, { tex_index = 6 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(321,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(698,2,0, { tex_index = 14 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(321,0,4).hurtbox , attackbox = pat:get_frame(321,0,4).attackbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(698,2,1, { tex_index = 15 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(321,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(698,2,2, { tex_index = 16 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(321,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(698,2,3, { tex_index = 632 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(321,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(698,3,0, { tex_index = 633 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(321,0,8).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(698,3,1, { tex_index = 634 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) end function mods.d236(pat) local baseX = 112 local baseY = 256 local baseW = 128 local baseH = 128 pat:remove_frame(520,0,6) pat:remove_frame(520,0,5) pat:remove_frame(520,0,4) pat:remove_frame(520,0,3) pat:update_frame(520,0,0, { tex_index = 507 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 5 }) pat:update_frame(520,0,1, { tex_index = 508 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 5 }) pat:update_frame(520,0,2, { tex_index = 509 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 5 }) pat:update_frame(520,1,0, { tex_index = 510 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 1 , fflags = 0x00000041 }) pat:update_frame(520,1,1, { tex_index = 510 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 , fflags = 0x00000041 }) pat:update_frame(520,1,2, { tex_index = 510 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 , fflags = 0x00000041 }) pat:update_frame(520,1,3, { tex_index = 511 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 1 , fflags = 0x00000041 }) pat:update_frame(520,1,4, { tex_index = 511 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 , fflags = 0x00000041 }) pat:update_frame(520,1,5, { tex_index = 511 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 , fflags = 0x00000041 }) pat:update_frame(520,1,6, { tex_index = 512 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 , fflags = 0x00000041 }) pat:update_frame(520,1,7, { tex_index = 512 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2+10 }) pat:update_frame(520,2,0, { tex_index = 513 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 1 , fflags = 0x00000021 }) pat:update_frame(520,2,1, { tex_index = 513 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 1 , fflags = 0x00000021 }) pat:update_frame(520,2,2, { tex_index = 513 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 , fflags = 0x00000021 }) pat:update_frame(520,2,3, { tex_index = 514 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 6+10 , fflags = 0x00000021 }) pat:update_frame(520,3,0, { tex_index = 515 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) pat:update_frame(520,3,1, { tex_index = 515 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 1 }) pat:update_frame(520,3,2, { tex_index = 515 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 1 }) pat:update_frame(520,3,3, { tex_index = 515 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 1 }) pat:update_frame(520,3,4, { tex_index = 516 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(520,3,5, { tex_index = 516 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 1 }) pat:update_frame(520,3,6, { tex_index = 516 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 1 }) pat:remove_frame(521,0,6) pat:remove_frame(521,0,5) pat:remove_frame(521,0,4) pat:remove_frame(521,0,3) pat:update_frame(521,0,0, { tex_index = 507 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 5 }) pat:update_frame(521,0,1, { tex_index = 508 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 5 }) pat:update_frame(521,0,2, { tex_index = 509 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 5 }) pat:update_frame(521,1,0, { tex_index = 510 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 1 , fflags = 0x00000041 }) pat:update_frame(521,1,1, { tex_index = 510 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 , fflags = 0x00000041 }) pat:update_frame(521,1,2, { tex_index = 510 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 , fflags = 0x00000041 }) pat:update_frame(521,1,3, { tex_index = 511 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 1 , fflags = 0x00000041 }) pat:update_frame(521,1,4, { tex_index = 511 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 , fflags = 0x00000041 }) pat:update_frame(521,1,5, { tex_index = 511 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 , fflags = 0x00000041 }) pat:update_frame(521,1,6, { tex_index = 512 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 , fflags = 0x00000041 }) pat:update_frame(521,1,7, { tex_index = 512 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2+10 }) pat:update_frame(521,2,0, { tex_index = 513 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 1 , fflags = 0x00000021 }) pat:update_frame(521,2,1, { tex_index = 513 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 1 , fflags = 0x00000021 }) pat:update_frame(521,2,2, { tex_index = 513 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 , fflags = 0x00000021 }) pat:update_frame(521,2,3, { tex_index = 514 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 6+10 , fflags = 0x00000021 }) pat:update_frame(521,3,0, { tex_index = 515 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) pat:update_frame(521,3,1, { tex_index = 515 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 1 }) pat:update_frame(521,3,2, { tex_index = 515 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 1 }) pat:update_frame(521,3,3, { tex_index = 515 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 1 }) pat:update_frame(521,3,4, { tex_index = 516 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(521,3,5, { tex_index = 516 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 1 }) pat:update_frame(521,3,6, { tex_index = 516 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 1 }) baseY = 256+6 pat:remove_frame(523,0,6) pat:remove_frame(523,0,5) pat:remove_frame(523,0,4) pat:remove_frame(523,0,3) pat:update_frame(523,0,0, { tex_index = 507 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:update_frame(523,0,1, { tex_index = 508 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:update_frame(523,0,2, { tex_index = 509 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:update_frame(523,1,0, { tex_index = 510 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 1 , fflags = 0x00000044 }) pat:update_frame(523,1,1, { tex_index = 510 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 2 , fflags = 0x00000044 }) pat:update_frame(523,1,2, { tex_index = 510 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 2 , fflags = 0x00000044 }) pat:update_frame(523,1,3, { tex_index = 511 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 1 , fflags = 0x00000044 }) pat:update_frame(523,1,4, { tex_index = 511 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 2 , fflags = 0x00000044 }) pat:update_frame(523,1,5, { tex_index = 511 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 2 , fflags = 0x00000044 }) pat:update_frame(523,1,6, { tex_index = 512 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 3 , fflags = 0x00000044 }) pat:update_frame(523,1,7, { tex_index = 512 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 2+10 }) pat:update_frame(523,2,0, { tex_index = 513 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 1 , fflags = 0x00000024 }) pat:update_frame(523,2,1, { tex_index = 513 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 1 , fflags = 0x00000024 }) pat:update_frame(523,2,2, { tex_index = 513 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 4 , fflags = 0x00000024 }) pat:update_frame(523,2,3, { tex_index = 514 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 6+10 , fflags = 0x00000024 }) pat:update_frame(523,3,0, { tex_index = 515 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 2 }) pat:update_frame(523,3,1, { tex_index = 515 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 1 }) pat:update_frame(523,3,2, { tex_index = 515 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 1 }) pat:update_frame(523,3,3, { tex_index = 515 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 1 }) pat:update_frame(523,3,4, { tex_index = 516 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 3 }) pat:update_frame(523,3,5, { tex_index = 516 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 1 }) pat:update_frame(523,3,6, { tex_index = 516 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 1 }) baseY=256 pat:split_frame(523,9,0,2,2) pat:split_frame(523,9,0,2,2) pat:split_frame(523,9,0,2,2) pat:update_frame(523,9,0, { tex_index = 618 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(1,0,4).hurtbox , collision = pat:get_frame(3,0,0).collision , duration = 3 }) pat:update_frame(523,9,1, { tex_index = 506 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(1,0,3).hurtbox , collision = pat:get_frame(3,0,1).collision , duration = 3 }) pat:update_frame(523,9,2, { tex_index = 505 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(1,0,2).hurtbox , collision = pat:get_frame(3,0,2).collision , duration = 3 }) pat:update_frame(523,9,3, { tex_index = 504 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(3,0,3).collision , duration = 3 }) pat:update_frame(523,9,4, { tex_index = 503 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(3,0,4).collision , duration = 3 }) pat:update_frame(803,3,0,{tex_index = 103 , tex_offset_x = 8 , tex_offset_y = 8 , tex_w = 16 , tex_h = 16 , scale_x = 200 , scale_y = 200}) pat:update_frame(803,3,1,{tex_index = 103 , tex_offset_x = 8 , tex_offset_y = 8 , tex_w = 16 , tex_h = 16 , scale_x = 200 , scale_y = 200}) pat:update_frame(815,0,0,{tex_w = 0}) pat:update_frame(815,0,1,{tex_w = 0}) pat:update_frame(815,1,0,{tex_index = 240 , tex_offset_x = 0 , tex_offset_y = 0 , tex_w = 0 , tex_h = 0}) pat:update_frame(815,2,0,{tex_w = 0}) pat:update_frame(815,2,1,{tex_w = 0}) pat:update_frame(815,3,0,{tex_index = 241 , tex_offset_x = 32 , tex_offset_y = 32 , tex_w = 64 , tex_h = 64}) pat:update_frame(815,3,1,{tex_index = 241 , tex_offset_x = 32 , tex_offset_y = 32 , tex_w = 64 , tex_h = 64}) pat:update_frame(815,3,0,{tex_w = 0}) pat:update_frame(815,3,1,{tex_w = 0}) pat:update_frame(815,4,0,{tex_w = 0}) pat:update_frame(815,4,1,{tex_w = 0}) pat:update_frame(815,5,0,{tex_index = 240 , tex_offset_x = 0 , tex_offset_y = 0 , tex_w = 0 , tex_h = 0}) pat:update_frame(815,6,0,{tex_w = 0}) pat:update_frame(815,6,1,{tex_w = 0}) pat:update_frame(815,8,0,{color_r = 0 , color_b = 0 , color_g = 255 }) pat:update_frame(815,8,1,{color_r = 0 , color_b = 0 , color_g = 255 }) pat:update_frame(821,8,0,{color_r = 0 , color_b = 0 , color_g = 255 }) pat:update_frame(821,9,0,{color_r = 0 , color_g = 255 , color_b = 0}) pat:update_frame(821,12,0,{color_r = 0 , color_b = 0 , color_g = 255 }) pat:update_frame(821,12,1,{color_r = 0 , color_b = 0 , color_g = 255 }) for idx = 2 , 20 do pat:remove_frame(815,7,2) end pat:remove_frame(815,7,0) for idx = 0 , 8 do pat:split_frame(815,7,0,60,60) end for idx = 0 , 9 do pat:update_frame(815,7,idx,function(frame) frame.tex_index = 223 + idx-1 frame.blending_mode = 1 frame.tex_w = 128 frame.tex_h = 128 frame.tex_offset_x = 64 + 64 frame.tex_offset_y = 128 frame.duration = 60 if (idx==0)then frame.tex_w = 0 frame.duration = 1 end local scal = 200 local scal2 = 1 for idx2 = 0 , idx do scal2 = scal2 + 0.6 end scal2 = scal2 - 0.6 scal = 100--scal / scal2 frame.scale_x = scal frame.scale_y = scal if (idx ~= 7) then frame.attackbox = pat:get_frame(0,0,0).attackbox end end) end idx1=8 while (idx1>=0) do for idx = 0 , 58 do pat:split_frame(815,7,idx1,1,1) end idx1=idx1-1 end for idx = 0 , 60*9 -1 +1 do pat:update_frame(815,7,idx,function(frame) frame.scale_x = 20000/(idx+100) frame.scale_y = 20000/(idx+100) frame.fflags = pat:get_frame(815,7,0).fflags frame.aflags = pat:get_frame(815,7,0).aflags end) end for idx = 0 , 8 do pat:split_frame(815,7,540,1,1) end local scal3 = pat:get_frame(815,7,540).scale_x for idx = 540 , 549 do pat:update_frame(815,7,idx,function(frame) frame.scale_x = scal3 * (10-(idx-540))/10 frame.scale_y = scal3 * (10-(idx-540))/10 end) end for idx = 0 , 20 do --pat:split_frame(815,7,420,1,1) end for idx = 0 , 20 do pat:update_frame(815,7,420+idx,function(frame) frame.attackbox = pat:get_frame(0,0,0).attackbox end) pat:update_frame(815,7,460+idx,function(frame) frame.attackbox = pat:get_frame(0,0,0).attackbox end) pat:update_frame(815,7,440+idx,function(frame) if (idx == 0) then frame.duration = 1 frame.attackbox = pat:get_frame(0,0,0).attackbox elseif (idx > 0 and idx <= 4) then frame.blending_mode = 1 frame.tex_index = 232-1 + idx frame.tex_h = 1024 frame.tex_offset_y = 1024 frame.duration = 1 frame.attackbox = pat:get_frame(0,0,0).attackbox elseif (idx > 4 and idx <= 17) then frame.blending_mode = 1 frame.tex_index = 236 + idx%4 frame.tex_h = 1024 frame.tex_offset_y = 1024 frame.duration = 1 frame.attackbox[1].x1 = -70 frame.attackbox[1].x2 = 70 frame.attackbox[1].y1 = -2000 frame.attackbox[1].y2 = -140 frame.attackbox[2].x1 = -40 frame.attackbox[2].x2 = 40 frame.attackbox[2].y1 = -280 frame.attackbox[2].y2 = -70 local xmod = -128 frame.attackbox[1].x1 = frame.attackbox[1].x1 + (xmod) frame.attackbox[1].x2 = frame.attackbox[1].x2 + (xmod) frame.damage = 1250 frame.limit = 40 frame.proration = 800 frame.attack_level = AL_HEAVY frame.blockstop_enemy = 10 frame.hitstop_enemy = 10 frame.sp_damage = 300 frame.hit_ani_ground = 74 frame.hit_ani_air = 74 frame.launch_vector_x = 0 frame.launch_vector_y = 2000 frame.untech = 60 set_aflag(frame,AF_COUNTER_HIT) frame.hit_sfx = 9 frame.hit_effect = 7 set_aflag(frame,AF_AIR_BLOCKABLE) elseif (idx > 17 and idx <= 20) then frame.blending_mode = 1 frame.tex_index = 232-1 + (21-idx) frame.tex_h = 1024 frame.tex_offset_y = 1024 frame.duration = 1 frame.attackbox = pat:get_frame(0,0,0).attackbox elseif (idx == 21) then frame.duration = 1 frame.attackbox = pat:get_frame(0,0,0).attackbox end end) end for idx = 2 , 19 do pat:remove_frame(815,9,2) end pat:remove_frame(815,9,0) for idx = 0 , 8 do pat:split_frame(815,9,0,60,60) end for idx = 0 , 9 do pat:update_frame(815,9,idx,function(frame) frame.tex_index = 223 + idx-1 frame.blending_mode = 1 frame.tex_w = 128 frame.tex_h = 128 frame.tex_offset_x = 64+64 frame.tex_offset_y = 128 frame.duration = 60 if (idx==0)then frame.tex_w = 0 frame.duration = 1 end local scal = 200 local scal2 = 1 for idx2 = 0 , idx do scal2 = scal2 + 0.6 end scal2 = scal2 - 0.6 scal = 100--scal / scal2 frame.scale_x = scal frame.scale_y = scal if (idx ~= 7) then frame.attackbox = pat:get_frame(0,0,0).attackbox end end) end idx1=8 while (idx1>=0) do for idx = 0 , 58 do pat:split_frame(815,9,idx1,1,1) end idx1=idx1-1 end for idx = 0 , 60*9 -1 +1 do pat:update_frame(815,9,idx,function(frame) frame.scale_x = 20000/(idx+100) frame.scale_y = 20000/(idx+100) end) end for idx = 0 , 8 do pat:split_frame(815,9,540,1,1) end local scal3 = pat:get_frame(815,9,540).scale_x for idx = 540 , 549 do pat:update_frame(815,9,idx,function(frame) frame.scale_x = scal3 * (10-(idx-540))/10 frame.scale_y = scal3 * (10-(idx-540))/10 end) end for idx = 0 , 20 do --pat:split_frame(815,9,7,1,1) end for idx = 0 , 20 do pat:update_frame(815,9,420+idx,function(frame) frame.attackbox = pat:get_frame(0,0,0).attackbox end) pat:update_frame(815,9,460+idx,function(frame) frame.attackbox = pat:get_frame(0,0,0).attackbox end) pat:update_frame(815,9,440+idx,function(frame) if (idx == 0) then frame.duration = 1 frame.attackbox = pat:get_frame(0,0,0).attackbox elseif (idx > 0 and idx <= 4) then frame.blending_mode = 1 frame.tex_index = 232-1 + idx frame.tex_h = 1024 frame.tex_offset_y = 1024 frame.duration = 1 frame.attackbox = pat:get_frame(0,0,0).attackbox elseif (idx > 4 and idx <= 17) then frame.blending_mode = 1 frame.tex_index = 236 + idx%4 frame.tex_h = 1024 frame.tex_offset_y = 1024 frame.duration = 1 frame.attackbox[1].x1 = -70 frame.attackbox[1].x2 = 70 frame.attackbox[1].y1 = -2000 frame.attackbox[1].y2 = -140 frame.attackbox[2].x1 = -40 frame.attackbox[2].x2 = 40 frame.attackbox[2].y1 = -280 frame.attackbox[2].y2 = -70 local xmod = -128 frame.attackbox[1].x1 = frame.attackbox[1].x1 + (xmod) frame.attackbox[1].x2 = frame.attackbox[1].x2 + (xmod) frame.damage = 1250 frame.limit = 40 frame.proration = 800 frame.attack_level = AL_HEAVY frame.blockstop_enemy = 10 frame.hitstop_enemy = 10 frame.sp_damage = 300 frame.hit_ani_ground = 74 frame.hit_ani_air = 74 frame.launch_vector_x = 0 frame.launch_vector_y = 2000 frame.untech = 60 set_aflag(frame,AF_COUNTER_HIT) frame.hit_sfx = 9 frame.hit_effect = 7 unset_aflag(frame,AF_AIR_BLOCKABLE) elseif (idx > 17 and idx <= 20) then frame.blending_mode = 1 frame.tex_index = 232-1 + (21-idx) frame.tex_h = 1024 frame.tex_offset_y = 1024 frame.duration = 1 frame.attackbox = pat:get_frame(0,0,0).attackbox elseif (idx == 21) then frame.duration = 1 frame.attackbox = pat:get_frame(0,0,0).attackbox end end) end end function mods.d236_old(pat) local baseX = 112 local baseY = 256 local baseW = 128 local baseH = 128 pat:remove_frame(520,0,6) pat:remove_frame(520,0,5) pat:remove_frame(520,0,4) pat:remove_frame(520,0,3) pat:remove_frame(520,0,2) pat:update_frame(520,0,0, { tex_index = 507 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(520,0,1, { tex_index = 508 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(520,1,0, { tex_index = 509 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 , fflags = 0x00000041 }) pat:update_frame(520,1,1, { tex_index = 510 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 , fflags = 0x00000041 }) pat:update_frame(520,1,2, { tex_index = 510 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 , fflags = 0x00000041 }) pat:update_frame(520,1,3, { tex_index = 511 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 1 }) pat:update_frame(520,1,4, { tex_index = 511 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) pat:update_frame(520,1,5, { tex_index = 511 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) pat:update_frame(520,1,6, { tex_index = 512 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(520,1,7, { tex_index = 512 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) pat:update_frame(520,2,0, { tex_index = 513 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 1 })--, fflags = 0x00000021 }) pat:update_frame(520,2,1, { tex_index = 513 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 1 })--, fflags = 0x00000021 }) pat:update_frame(520,2,2, { tex_index = 513 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 })--, fflags = 0x00000021 }) pat:update_frame(520,2,3, { tex_index = 514 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 6 , fflags = 0x00000021 }) pat:update_frame(520,3,0, { tex_index = 515 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) pat:update_frame(520,3,1, { tex_index = 515 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 1 }) pat:update_frame(520,3,2, { tex_index = 515 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 1 }) pat:update_frame(520,3,3, { tex_index = 515 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 1 }) pat:update_frame(520,3,4, { tex_index = 516 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(520,3,5, { tex_index = 516 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 1 }) pat:update_frame(520,3,6, { tex_index = 516 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 1 }) pat:remove_frame(521,0,6) pat:remove_frame(521,0,5) pat:remove_frame(521,0,4) pat:remove_frame(521,0,3) pat:remove_frame(521,0,2) pat:update_frame(521,0,0, { tex_index = 507 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(521,0,1, { tex_index = 508 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(521,1,0, { tex_index = 509 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 , fflags = 0x00000041 }) pat:update_frame(521,1,1, { tex_index = 510 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 , fflags = 0x00000041 }) pat:update_frame(521,1,2, { tex_index = 510 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 , fflags = 0x00000041 }) pat:update_frame(521,1,3, { tex_index = 511 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 1 }) pat:update_frame(521,1,4, { tex_index = 511 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) pat:update_frame(521,1,5, { tex_index = 511 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) pat:update_frame(521,1,6, { tex_index = 512 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(521,1,7, { tex_index = 512 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) pat:update_frame(521,2,0, { tex_index = 513 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 1 })--, fflags = 0x00000021 }) pat:update_frame(521,2,1, { tex_index = 513 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 1 })--, fflags = 0x00000021 }) pat:update_frame(521,2,2, { tex_index = 513 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 })--, fflags = 0x00000021 }) pat:update_frame(521,2,3, { tex_index = 514 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 6 , fflags = 0x00000021 }) pat:update_frame(521,3,0, { tex_index = 515 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) pat:update_frame(521,3,1, { tex_index = 515 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 1 }) pat:update_frame(521,3,2, { tex_index = 515 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 1 }) pat:update_frame(521,3,3, { tex_index = 515 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 1 }) pat:update_frame(521,3,4, { tex_index = 516 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(521,3,5, { tex_index = 516 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 1 }) pat:update_frame(521,3,6, { tex_index = 516 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 1 }) baseY = 256+6 pat:remove_frame(523,0,6) pat:remove_frame(523,0,5) pat:remove_frame(523,0,4) pat:remove_frame(523,0,3) pat:remove_frame(523,0,2) pat:update_frame(523,0,0, { tex_index = 507 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 3 }) pat:update_frame(523,0,1, { tex_index = 508 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 3 }) pat:update_frame(523,1,0, { tex_index = 509 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 3 , fflags = 0x00000044 }) pat:update_frame(523,1,1, { tex_index = 510 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 3 , fflags = 0x00000044 }) pat:update_frame(523,1,2, { tex_index = 510 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 2 , fflags = 0x00000044 }) pat:update_frame(523,1,3, { tex_index = 511 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 1 }) pat:update_frame(523,1,4, { tex_index = 511 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 2 }) pat:update_frame(523,1,5, { tex_index = 511 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 2 }) pat:update_frame(523,1,6, { tex_index = 512 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 3 }) pat:update_frame(523,1,7, { tex_index = 512 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 2 }) pat:update_frame(523,2,0, { tex_index = 513 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 1 })--, fflags = 0x00000024 }) pat:update_frame(523,2,1, { tex_index = 513 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 1 })--, fflags = 0x00000024 }) pat:update_frame(523,2,2, { tex_index = 513 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 4 })--, fflags = 0x00000024 }) pat:update_frame(523,2,3, { tex_index = 514 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 6 , fflags = 0x00000024 }) pat:update_frame(523,3,0, { tex_index = 515 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 2 }) pat:update_frame(523,3,1, { tex_index = 515 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 1 }) pat:update_frame(523,3,2, { tex_index = 515 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 1 }) pat:update_frame(523,3,3, { tex_index = 515 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 1 }) pat:update_frame(523,3,4, { tex_index = 516 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 3 }) pat:update_frame(523,3,5, { tex_index = 516 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 1 }) pat:update_frame(523,3,6, { tex_index = 516 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 1 }) baseY=256 pat:split_frame(523,9,0,2,2) pat:split_frame(523,9,0,2,2) pat:split_frame(523,9,0,2,2) pat:update_frame(523,9,0, { tex_index = 618 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(1,0,4).hurtbox , collision = pat:get_frame(3,0,0).collision , duration = 3 }) pat:update_frame(523,9,1, { tex_index = 506 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(1,0,3).hurtbox , collision = pat:get_frame(3,0,1).collision , duration = 3 }) pat:update_frame(523,9,2, { tex_index = 505 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(1,0,2).hurtbox , collision = pat:get_frame(3,0,2).collision , duration = 3 }) pat:update_frame(523,9,3, { tex_index = 504 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(3,0,3).collision , duration = 3 }) pat:update_frame(523,9,4, { tex_index = 503 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(3,0,4).collision , duration = 3 }) pat:update_frame(803,3,0,{tex_index = 103 , tex_offset_x = 8 , tex_offset_y = 8 , tex_w = 16 , tex_h = 16 , scale_x = 200 , scale_y = 200}) pat:update_frame(803,3,1,{tex_index = 103 , tex_offset_x = 8 , tex_offset_y = 8 , tex_w = 16 , tex_h = 16 , scale_x = 200 , scale_y = 200}) pat:update_frame(815,0,0,{tex_w = 0}) pat:update_frame(815,0,1,{tex_w = 0}) pat:update_frame(815,1,0,{tex_index = 240 , tex_offset_x = 0 , tex_offset_y = 0 , tex_w = 0 , tex_h = 0}) pat:update_frame(815,2,0,{tex_w = 0}) pat:update_frame(815,2,1,{tex_w = 0}) pat:update_frame(815,3,0,{tex_index = 241 , tex_offset_x = 32 , tex_offset_y = 32 , tex_w = 64 , tex_h = 64}) pat:update_frame(815,3,1,{tex_index = 241 , tex_offset_x = 32 , tex_offset_y = 32 , tex_w = 64 , tex_h = 64}) pat:update_frame(815,3,0,{tex_w = 0}) pat:update_frame(815,3,1,{tex_w = 0}) pat:update_frame(815,4,0,{tex_w = 0}) pat:update_frame(815,4,1,{tex_w = 0}) pat:update_frame(815,5,0,{tex_index = 240 , tex_offset_x = 0 , tex_offset_y = 0 , tex_w = 0 , tex_h = 0}) pat:update_frame(815,6,0,{tex_w = 0}) pat:update_frame(815,6,1,{tex_w = 0}) pat:update_frame(815,8,0,{color_r = 0 , color_b = 0 , color_g = 255 }) pat:update_frame(815,8,1,{color_r = 0 , color_b = 0 , color_g = 255 }) pat:update_frame(821,8,0,{color_r = 0 , color_b = 0 , color_g = 255 }) pat:update_frame(821,9,0,{color_r = 0 , color_g = 255 , color_b = 0}) pat:update_frame(821,12,0,{color_r = 0 , color_b = 0 , color_g = 255 }) pat:update_frame(821,12,1,{color_r = 0 , color_b = 0 , color_g = 255 }) for idx = 2 , 20 do pat:remove_frame(815,7,2) end pat:remove_frame(815,7,0) for idx = 1 , 38 do pat:split_frame(815,7,0,10,10) end for idx = 0 , 38 do pat:update_frame(815,7,idx,function(frame) frame.tex_index = 223 + (idx/6) frame.blending_mode = 1 frame.tex_w = 128 frame.tex_h = 128 frame.tex_offset_x = 64 frame.tex_offset_y = 128 frame.duration = 10 local scal = 200 frame.scale_x = scal frame.scale_y = scal if (idx < 37 or idx > 37) then frame.attackbox = pat:get_frame(0,0,0).attackbox end if (idx == 38) then frame.tex_index = 223 + 7 end end) end for idx = 0 , 8 do pat:split_frame(815,7,38,1,1) end local scal3 = pat:get_frame(815,7,38).scale_x for idx = 38 , 47 do pat:update_frame(815,7,idx,function(frame) frame.scale_x = scal3 * (10-(idx-38))/10 frame.scale_y = scal3 * (10-(idx-38))/10 end) end for idx = 0 , 20+40 do pat:split_frame(815,7,37,1,1) end for idx = 0 , 21+40 do pat:update_frame(815,7,37+idx,function(frame) if (idx == 0) then frame.duration = 20 frame.attackbox = pat:get_frame(0,0,0).attackbox elseif (idx > 0 and idx <= 4) then frame.blending_mode = 1 frame.tex_index = 232-1 + idx frame.tex_h = 1024 frame.tex_offset_y = 1024 frame.duration = 1 frame.attackbox = pat:get_frame(0,0,0).attackbox elseif (idx > 4 and idx <= 17+40) then frame.blending_mode = 1 frame.tex_index = 236 + idx%4 frame.tex_h = 1024 frame.tex_offset_y = 1024 frame.duration = 1 frame.attackbox[1].x1 = -70 frame.attackbox[1].x2 = 70 frame.attackbox[1].y1 = -2000 frame.attackbox[1].y2 = -140 frame.attackbox[2].x1 = -40 frame.attackbox[2].x2 = 40 frame.attackbox[2].y1 = -280 frame.attackbox[2].y2 = -70 frame.damage = 350 frame.chip_damage = 35 frame.limit = 10 frame.proration = 950 frame.attack_level = AL_HEAVY frame.blockstop_enemy = 10 frame.hitstop_enemy = 10 frame.sp_damage = 30 frame.hit_ani_ground = 74 frame.hit_ani_air = 74 frame.launch_vector_x = 0 frame.launch_vector_y = 2000 frame.untech = 60 set_aflag(frame,AF_COUNTER_HIT) frame.hit_sfx = 9 frame.hit_effect = 7 set_aflag(frame,AF_AIR_BLOCKABLE) elseif (idx > 17+40 and idx <= 20+40) then frame.blending_mode = 1 frame.tex_index = 232-1 + (21+40-idx) frame.tex_h = 1024 frame.tex_offset_y = 1024 frame.duration = 1 frame.attackbox = pat:get_frame(0,0,0).attackbox elseif (idx == 21+40) then frame.duration = 1 frame.attackbox = pat:get_frame(0,0,0).attackbox end end) end for idx = 2 , 19 do pat:remove_frame(815,9,2) end pat:remove_frame(815,9,0) for idx = 1 , 38 do pat:split_frame(815,9,0,10,10) end for idx = 0 , 38 do pat:update_frame(815,9,idx,function(frame) frame.tex_index = 223 + (idx/6) frame.blending_mode = 1 frame.tex_w = 128 frame.tex_h = 128 frame.tex_offset_x = 64 frame.tex_offset_y = 128 frame.duration = 10 local scal = 200 frame.scale_x = scal frame.scale_y = scal if (idx < 37 or idx > 37) then frame.attackbox = pat:get_frame(0,0,0).attackbox end if (idx == 38) then frame.tex_index = 223 + 7 end end) end for idx = 0 , 8 do pat:split_frame(815,9,38,1,1) end local scal3 = pat:get_frame(815,9,38).scale_x for idx = 38 , 47 do pat:update_frame(815,9,idx,function(frame) frame.scale_x = scal3 * (10-(idx-38))/10 frame.scale_y = scal3 * (10-(idx-38))/10 end) end for idx = 0 , 20+40 do pat:split_frame(815,9,37,1,1) end for idx = 0 , 21+40 do pat:update_frame(815,9,37+idx,function(frame) if (idx == 0) then frame.duration = 20 frame.attackbox = pat:get_frame(0,0,0).attackbox elseif (idx > 0 and idx <= 4) then frame.blending_mode = 1 frame.tex_index = 232-1 + idx frame.tex_h = 1024 frame.tex_offset_y = 1024 frame.duration = 1 frame.attackbox = pat:get_frame(0,0,0).attackbox elseif (idx > 4 and idx <= 17+40) then frame.blending_mode = 1 frame.tex_index = 236 + idx%4 frame.tex_h = 1024 frame.tex_offset_y = 1024 frame.duration = 1 frame.attackbox[1].x1 = -70 frame.attackbox[1].x2 = 70 frame.attackbox[1].y1 = -2000 frame.attackbox[1].y2 = -140 frame.attackbox[2].x1 = -40 frame.attackbox[2].x2 = 40 frame.attackbox[2].y1 = -280 frame.attackbox[2].y2 = -70 frame.damage = 350 frame.chip_damage = 35 frame.limit = 10 frame.proration = 950 frame.attack_level = AL_HEAVY frame.blockstop_enemy = 10 frame.hitstop_enemy = 10 frame.sp_damage = 30 frame.hit_ani_ground = 74 frame.hit_ani_air = 74 frame.launch_vector_x = 0 frame.launch_vector_y = 2000 frame.untech = 60 set_aflag(frame,AF_COUNTER_HIT) frame.hit_sfx = 9 frame.hit_effect = 7 set_aflag(frame,AF_AIR_BLOCKABLE) elseif (idx > 17+40 and idx <= 20+40) then frame.blending_mode = 1 frame.tex_index = 232-1 + (21+40-idx) frame.tex_h = 1024 frame.tex_offset_y = 1024 frame.duration = 1 frame.attackbox = pat:get_frame(0,0,0).attackbox elseif (idx == 21+40) then frame.duration = 1 frame.attackbox = pat:get_frame(0,0,0).attackbox end end) end end function mods.d214(pat) local baseX = 112 local baseY = 288 local baseW = 128 local baseH = 176 pat:split_frame(560,0,0,3,3) pat:split_frame(560,0,0,3,3) pat:update_frame(560,0,0, { tex_index = 562 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) pat:update_frame(560,0,1, { tex_index = 563 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) pat:update_frame(560,0,1,function(frame) frame.hurtbox[1].y1 = frame.hurtbox[1].y1 + 25 end) pat:update_frame(560,0,2, { tex_index = 564 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) pat:update_frame(560,0,3, { tex_index = 565 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) baseY = 256 pat:update_frame(560,1,0, { tex_index = 566 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(203,0,5).hurtbox , duration = 4 }) pat:update_frame(560,1,0,function(frame) for idx = 1 , 3 do end end) pat:update_frame(560,1,1, { tex_index = 567 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(560,1,0).hurtbox , duration = 4 }) pat:update_frame(560,2,0, { tex_index = 566 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(560,1,0).hurtbox , duration = 4 }) pat:update_frame(560,2,1, { tex_index = 567 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(560,1,0).hurtbox , duration = 4 }) baseY = 256 pat:split_frame(560,3,1,2,2) pat:split_frame(560,3,1,2,2) pat:split_frame(560,3,1,2,2) pat:split_frame(560,3,1,2,2) pat:split_frame(560,3,1,2,2) pat:update_frame(560,3,0, { tex_index = 566 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(560,1,0).hurtbox , duration = 5 }) pat:update_frame(560,3,1, { tex_index = 567 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(560,1,0).hurtbox , duration = 5 }) pat:update_frame(560,3,2, { tex_index = 563 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+44 , hurtbox = pat:get_frame(560,1,0).hurtbox , duration = 5 }) pat:update_frame(560,3,3, { tex_index = 564 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+34 , hurtbox = pat:get_frame(560,1,0).hurtbox , duration = 5 }) pat:update_frame(560,3,4, { tex_index = 565 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+16 , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:update_frame(560,3,5, { tex_index = 391 , tex_w = baseW , tex_h = 128 , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:update_frame(560,3,6, { tex_index = 388 , tex_w = baseW , tex_h = 128 , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) baseY = 256 pat:update_frame(560,4,0, { tex_index = 391 , tex_w = baseW , tex_h = 128 , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:update_frame(560,4,1, { tex_index = 388 , tex_w = baseW , tex_h = 128 , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) for idx = 0 , 3 do pat:update_frame(560,0,idx,function(frame) unset_fflag(frame,FF_CANCEL) end) end for idx = 0 , 1 do pat:update_frame(560,1,idx,function(frame) unset_fflag(frame,FF_CANCEL) end) end baseY = 288 pat:split_frame(561,0,0,3,3) pat:split_frame(561,0,0,3,3) pat:update_frame(561,0,0, { tex_index = 562 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) pat:update_frame(561,0,1, { tex_index = 563 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) pat:update_frame(561,0,2, { tex_index = 564 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) pat:update_frame(561,0,3, { tex_index = 565 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) baseY = 256 pat:update_frame(561,1,0, { tex_index = 566 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(560,1,0).hurtbox , duration = 4 }) pat:update_frame(561,1,1, { tex_index = 567 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(560,1,0).hurtbox , duration = 4 }) pat:update_frame(561,2,0, { tex_index = 566 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(560,1,0).hurtbox , duration = 4 }) pat:update_frame(561,2,1, { tex_index = 567 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(560,1,0).hurtbox , duration = 4 }) baseY = 256 pat:split_frame(561,3,1,2,2) pat:split_frame(561,3,1,2,2) pat:split_frame(561,3,1,2,2) pat:split_frame(561,3,1,2,2) pat:split_frame(561,3,1,2,2) pat:update_frame(561,3,0, { tex_index = 566 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(560,1,0).hurtbox , duration = 5 }) pat:update_frame(561,3,1, { tex_index = 567 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(560,1,0).hurtbox , duration = 5 }) pat:update_frame(561,3,2, { tex_index = 563 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+44 , hurtbox = pat:get_frame(560,1,0).hurtbox , duration = 5 }) pat:update_frame(561,3,3, { tex_index = 564 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+34 , hurtbox = pat:get_frame(560,1,0).hurtbox , duration = 5 }) pat:update_frame(561,3,4, { tex_index = 565 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+16 , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:update_frame(561,3,5, { tex_index = 391 , tex_w = baseW , tex_h = 128 , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:update_frame(561,3,6, { tex_index = 388 , tex_w = baseW , tex_h = 128 , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) baseY = 256 pat:update_frame(561,4,0, { tex_index = 391 , tex_w = baseW , tex_h = 128 , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:update_frame(561,4,1, { tex_index = 388 , tex_w = baseW , tex_h = 128 , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) for idx = 0 , 3 do pat:update_frame(561,0,idx,function(frame) unset_fflag(frame,FF_CANCEL) end) end for idx = 0 , 1 do pat:update_frame(561,1,idx,function(frame) unset_fflag(frame,FF_CANCEL) end) end baseY = 288+6 pat:update_frame(562,0,0, { tex_index = 562 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-6 , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 4 }) pat:update_frame(562,0,1, { tex_index = 563 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-12 , hurtbox = pat:get_frame(560,1,0).hurtbox , duration = 4 }) pat:update_frame(562,0,2, { tex_index = 564 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-18 , hurtbox = pat:get_frame(560,1,0).hurtbox , duration = 4 }) pat:update_frame(562,0,3, { tex_index = 565 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-24 , hurtbox = pat:get_frame(560,1,0).hurtbox , duration = 2 }) pat:update_frame(562,0,4, { tex_index = 565 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-24 , hurtbox = pat:get_frame(560,1,0).hurtbox , duration = 2 }) baseY = 256 pat:update_frame(562,1,0, { tex_index = 566 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(560,1,0).hurtbox , duration = 4 }) pat:update_frame(562,1,1, { tex_index = 567 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(560,1,0).hurtbox , duration = 4 }) pat:update_frame(562,2,0, { tex_index = 566 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(560,1,0).hurtbox , duration = 4 }) pat:update_frame(562,2,1, { tex_index = 567 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(560,1,0).hurtbox , duration = 4 }) baseY = 256 pat:split_frame(562,3,1,2,2) pat:split_frame(562,3,1,2,2) pat:split_frame(562,3,1,2,2) pat:split_frame(562,3,1,2,2) pat:split_frame(562,3,1,2,2) pat:update_frame(562,3,0, { tex_index = 566 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(560,1,0).hurtbox , duration = 5 }) pat:update_frame(562,3,1, { tex_index = 567 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(560,1,0).hurtbox , duration = 5 }) pat:update_frame(562,3,2, { tex_index = 563 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+44 , hurtbox = pat:get_frame(560,1,0).hurtbox , duration = 5 }) pat:update_frame(562,3,3, { tex_index = 564 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+34 , hurtbox = pat:get_frame(560,1,0).hurtbox , duration = 5 }) pat:update_frame(562,3,4, { tex_index = 565 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+16 , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:update_frame(562,3,5, { tex_index = 391 , tex_w = baseW , tex_h = 128 , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:update_frame(562,3,6, { tex_index = 388 , tex_w = baseW , tex_h = 128 , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) baseY = 256 pat:update_frame(562,4,0, { tex_index = 391 , tex_w = baseW , tex_h = 128 , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:update_frame(562,4,1, { tex_index = 388 , tex_w = baseW , tex_h = 128 , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) for idx = 0 , 3 do pat:update_frame(562,0,idx,function(frame) unset_fflag(frame,FF_CANCEL) end) end for idx = 0 , 1 do pat:update_frame(562,1,idx,function(frame) unset_fflag(frame,FF_CANCEL) end) end baseY = 288+6 pat:update_frame(563,0,0, { tex_index = 562 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-6 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(563,0,1, { tex_index = 563 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-12 , hurtbox = pat:get_frame(560,1,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(563,0,2, { tex_index = 564 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-18 , hurtbox = pat:get_frame(560,1,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(563,0,3, { tex_index = 565 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-24 , hurtbox = pat:get_frame(560,1,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) pat:update_frame(563,0,4, { tex_index = 565 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-24 , hurtbox = pat:get_frame(560,1,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) baseY = 256 pat:update_frame(563,1,0, { tex_index = 566 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(560,1,0).hurtbox , duration = 4 }) pat:update_frame(563,1,1, { tex_index = 567 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(560,1,0).hurtbox , duration = 4 }) pat:update_frame(563,2,0, { tex_index = 566 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(560,1,0).hurtbox , duration = 4 }) pat:update_frame(563,2,1, { tex_index = 567 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(560,1,0).hurtbox , duration = 4 }) baseY = 256 pat:split_frame(563,3,1,2,2) pat:split_frame(563,3,1,2,2) pat:split_frame(563,3,1,2,2) pat:split_frame(563,3,1,2,2) pat:split_frame(563,3,1,2,2) pat:update_frame(563,3,0, { tex_index = 566 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(560,1,0).hurtbox , duration = 5 }) pat:update_frame(563,3,1, { tex_index = 567 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(560,1,0).hurtbox , duration = 5 }) pat:update_frame(563,3,2, { tex_index = 563 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+44 , hurtbox = pat:get_frame(560,1,0).hurtbox , duration = 5 }) pat:update_frame(563,3,3, { tex_index = 564 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+34 , hurtbox = pat:get_frame(560,1,0).hurtbox , duration = 5 }) pat:update_frame(563,3,4, { tex_index = 565 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+16 , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:update_frame(563,3,5, { tex_index = 391 , tex_w = baseW , tex_h = 128 , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:update_frame(563,3,6, { tex_index = 388 , tex_w = baseW , tex_h = 128 , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) baseY = 256 pat:update_frame(563,4,0, { tex_index = 391 , tex_w = baseW , tex_h = 128 , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:update_frame(563,4,1, { tex_index = 388 , tex_w = baseW , tex_h = 128 , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) for idx = 0 , 3 do pat:update_frame(563,0,idx,function(frame) unset_fflag(frame,FF_CANCEL) end) end for idx = 0 , 1 do pat:update_frame(563,1,idx,function(frame) unset_fflag(frame,FF_CANCEL) end) end pat:update_frame(825,0,0,{tex_w = 0}) pat:update_frame(825,0,1,{tex_w = 0}) pat:update_frame(825,1,0,{tex_w = 0}) pat:update_frame(825,1,1,{tex_w = 0}) pat:update_frame(825,3,0,{tex_w = 0}) pat:update_frame(825,3,1,{tex_w = 0}) pat:update_frame(825,3,2,{tex_w = 0}) pat:update_frame(825,3,3,{tex_w = 0}) pat:remove_frame(825,2,1) pat:remove_frame(825,4,1) for idx = 0 , 100 do pat:split_frame(825,2,0,1,1) pat:split_frame(825,4,0,1,1) end for idx = 0 , 101 do pat:update_frame(825,2,idx,function(frame) frame.tex_index = 417 frame.scale_x = 200 frame.scale_y = 200 frame.tex_w = 24 frame.tex_h = 96 frame.tex_offset_x = 12 frame.tex_offset_y = 76 frame.duration = 1 local scalemod = 75/frame.scale_y local ymod = -600+75*idx local xmod = 0 frame.attackbox[1].y1 = frame.attackbox[1].y1-20 frame.attackbox[1].y2 = frame.attackbox[1].y2-20 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.limit = 5 frame.sp_damage = frame.sp_damage/2 if (idx > 20) then local idxa = idx-20 local alpha = 255-idxa*25 frame.color_r = alpha frame.color_g = alpha frame.color_b = alpha if (idx > 25) then frame.attackbox = pat:get_frame(0,0,0).attackbox end if (idx > 30) then frame.tex_w = 0 frame.duration = 100 end end end) pat:update_frame(825,4,idx,function(frame) frame.tex_index = 417 frame.scale_x = 300 frame.scale_y = 300 frame.tex_w = 24 frame.tex_h = 96 frame.tex_offset_x = 12 frame.tex_offset_y = 76 frame.duration = 1 local scalemod = 75/frame.scale_y local ymod = -600+75*idx local xmod = 0 frame.attackbox[1].y1 = frame.attackbox[1].y1-20 frame.attackbox[1].y2 = frame.attackbox[1].y2-20 frame.attackbox[1].y1 = frame.attackbox[1].y1*1.5 frame.attackbox[1].y2 = frame.attackbox[1].y2*1.5 frame.attackbox[1].x1 = frame.attackbox[1].x1*1.25 frame.attackbox[1].x2 = frame.attackbox[1].x2*1.25 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.limit = 5 frame.sp_damage = frame.sp_damage/2 if (idx > 20) then local idxa = idx-20 local alpha = 255-idxa*25 frame.color_r = alpha frame.color_g = alpha frame.color_b = alpha if (idx > 25) then frame.attackbox = pat:get_frame(0,0,0).attackbox end if (idx > 30) then frame.tex_w = 0 frame.duration = 100 end end end) end end function mods.d623(pat) local baseX = 70 local baseY = 256 local baseW = 128 local baseH = 128 pat:remove_frame(500,2,4) pat:split_frame(500,1,1,2,2) pat:split_frame(500,1,1,2,2) pat:update_frame(500,0,0, { tex_index = 73 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(302,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(500,0,1, { tex_index = 74 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(302,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(500,0,2, { tex_index = 75 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(302,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(500,0,3, { tex_index = 76 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(302,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(500,0,4, { tex_index = 77 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(302,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(500,0,5, { tex_index = 78 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(302,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(500,0,6, { tex_index = 79 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(302,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(500,0,7, { tex_index = 80 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(302,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(500,1,0, { tex_index = 81 , tex_w = 2*baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(302,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(500,1,1, { tex_index = 401 , tex_w = 2*baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(302,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(500,1,2, { tex_index = 402 , tex_w = 2*baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(302,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(500,1,3, { tex_index = 402 , tex_w = 2*baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(302,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 20 }) pat:update_frame(500,2,0, { tex_index = 402 , tex_w = 2*baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(302,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(500,2,1, { tex_index = 402 , tex_w = 2*baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(302,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 20 , fflags = pat:get_frame(500,2,2).fflags }) pat:update_frame(500,2,2, { tex_index = 403 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(302,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 7 }) pat:update_frame(500,2,3, { tex_index = 321 , tex_w = baseW , tex_h = baseH , tex_offset_x = 112 , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 6 }) pat:remove_frame(501,2,4) pat:split_frame(501,1,1,2,2) pat:split_frame(501,1,1,2,2) pat:update_frame(501,0,0, { tex_index = 73 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(302,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(501,0,1, { tex_index = 74 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(302,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(501,0,2, { tex_index = 75 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(302,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(501,0,3, { tex_index = 76 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(302,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(501,0,4, { tex_index = 77 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(302,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(501,0,5, { tex_index = 78 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(302,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(501,0,6, { tex_index = 79 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(302,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(501,0,7, { tex_index = 80 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(302,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(501,1,0, { tex_index = 81 , tex_w = 2*baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(302,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(501,1,1, { tex_index = 401 , tex_w = 2*baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(302,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(501,1,2, { tex_index = 402 , tex_w = 2*baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(302,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(501,1,3, { tex_index = 402 , tex_w = 2*baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(302,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 20 }) pat:update_frame(501,2,0, { tex_index = 402 , tex_w = 2*baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(302,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(501,2,1, { tex_index = 402 , tex_w = 2*baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(302,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 20 , fflags = pat:get_frame(501,2,2).fflags }) pat:update_frame(501,2,2, { tex_index = 403 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(302,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 7 }) pat:update_frame(501,2,3, { tex_index = 321 , tex_w = baseW , tex_h = baseH , tex_offset_x = 112 , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 6 }) for idx = 0 , 23 do pat:update_frame(810,2,idx,{tex_w = 0}) end pat:update_frame(810,1,0,{tex_w = 0}) pat:update_frame(810,1,1,{tex_w = 0}) pat:update_frame(810,3,0,{color_r = 0 , color_b = 0 , scale_x = 600 , tex_offset_x = 64}) pat:remove_frame(810,3,1) pat:update_frame(810,6,0,{tex_index = 0 , tex_w = 0 , attackbox = pat:get_frame(0,0,0).attackbox , limit = 100}) pat:update_frame(810,6,1,{tex_index = 0 , tex_w = 0 , attackbox = pat:get_frame(0,0,0).attackbox , limit = 100}) pat:remove_frame(810,0,1) pat:remove_frame(810,4,1) pat:remove_frame(810,5,1) for idx = 0 , 98 do pat:split_frame(810,0,0,1,1) pat:split_frame(810,4,0,1,1) pat:split_frame(810,5,0,1,1) end for idx = 0 , 99 do pat:update_frame(810,0,idx,function(frame) frame.tex_index = 86 frame.duration = 1 frame.tex_w = 128 frame.tex_h = 128 frame.tex_offset_x = 64 frame.tex_offset_y = 64 frame.scale_x = 300 frame.scale_y = 300 frame.color_r = 180 frame.color_b = 180 local scalemod = 100/frame.scale_x local ymod = 0 + (10+idx/20)*idx local xmod = 200 frame.attackbox[3]=null frame.attackbox[2]=null 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.limit = 15 frame.damage = 400 frame.chip_damage = 40 frame.sp_damage = 50 frame.launch_vector_x = 600 frame.launch_vector_y = 3000 frame.hitstop_enemy = 25 frame.hit_ani_ground = 0 frame.proration = frame.proration - 20 local idx0 = idx - 20 if (idx0>0) then local alpha = 255 - idx0*12 frame.color_r = alpha*.7 frame.color_b = alpha*.7 frame.color_g = alpha if (idx0 > 10) then frame.attackbox[1]=null end end if (idx0>20) then frame.tex_w = 0 frame.duration = 100 end end) pat:update_frame(810,4,idx,function(frame) frame.tex_index = 86 frame.duration = 1 frame.tex_w = 128 frame.tex_h = 128 frame.tex_offset_x = 64 frame.tex_offset_y = 64 frame.scale_x = 300 frame.scale_y = 300 frame.color_r = 180 frame.color_b = 180 local scalemod = 100/frame.scale_x local ymod = 0 + (8+idx/20)*idx local xmod = 200 frame.attackbox[3]=null frame.attackbox[2]=null 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.limit = 15 frame.damage = 400 frame.chip_damage = 40 frame.sp_damage = 50 frame.launch_vector_x = 600 frame.launch_vector_y = 3000 frame.hitstop_enemy = 25 frame.hit_ani_ground = 0 frame.proration = frame.proration - 20 local idx0 = idx - 20 if (idx0>0) then local alpha = 255 - idx0*12 frame.color_r = alpha*.7 frame.color_b = alpha*.7 frame.color_g = alpha if (idx0 > 10) then frame.attackbox[1]=null end end if (idx0>20) then frame.tex_w = 0 frame.duration = 100 end end) pat:update_frame(810,5,idx,function(frame) frame.tex_index = 86 frame.duration = 1 frame.tex_w = 128 frame.tex_h = 128 frame.tex_offset_x = 64 frame.tex_offset_y = 64 frame.scale_x = 400 frame.scale_y = 400 frame.color_r = 180 frame.color_b = 180 local scalemod = 100/frame.scale_x local ymod = 0 + (10+idx/20)*idx local xmod = 200 frame.attackbox[3]=null frame.attackbox[2]=null 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.limit = 15 frame.damage = 400 frame.chip_damage = 40 frame.sp_damage = 50 frame.launch_vector_x = 600 frame.launch_vector_y = 3000 frame.hitstop_enemy = 30 frame.hit_ani_ground = 0 frame.proration = frame.proration - 20 local idx0 = idx - 25 if (idx0>0) then local alpha = 255 - idx0*12 frame.color_r = alpha*.7 frame.color_b = alpha*.7 frame.color_g = alpha if (idx0 > 10) then frame.attackbox[1]=null end end if (idx0>20) then frame.tex_w = 0 frame.duration = 100 end end) end end function mods.d22(pat) local baseX = 112 local baseY = 256 local baseW = 128 local baseH = 128 pat:split_frame(540,0,1,2,2) pat:split_frame(540,0,1,2,2) pat:split_frame(540,0,1,2,2) pat:split_frame(540,0,1,2,2) pat:split_frame(540,0,1,2,2) pat:split_frame(540,0,1,2,2) pat:split_frame(540,0,1,2,2) pat:update_frame(540,0,0, { tex_index = 473 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+28 , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(540,0,1, { tex_index = 474 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+28 , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(540,0,2, { tex_index = 475 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+28 , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(540,0,3, { tex_index = 476 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+20 , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(540,0,4, { tex_index = 477 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+10 , tex_offset_y = baseY , hurtbox = pat:get_frame(411,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(540,0,5,{tex_index = 478 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(411,0,5).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 1 }) pat:update_frame(540,0,6,{tex_index = 478 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(411,0,5).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 1 }) pat:update_frame(540,0,7,{tex_index = 99 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(411,0,5).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 1 }) pat:update_frame(540,0,8,{tex_index = 99 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(411,0,5).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 1 }) pat:split_frame(540,1,1,2,2) pat:split_frame(540,1,1,2,2) pat:update_frame(540,1,0,{tex_index = 478 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(411,0,5).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 1 }) pat:update_frame(540,1,1,{tex_index = 478 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(411,0,5).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 1 }) pat:update_frame(540,1,2,{tex_index = 99 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(411,0,5).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 1 }) pat:update_frame(540,1,3,{tex_index = 99 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(411,0,5).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 1 }) pat:update_frame(540,2,0,{tex_index = 478 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(411,0,5).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 1 }) pat:update_frame(540,2,1,{tex_index = 478 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(411,0,5).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 1 }) pat:update_frame(540,2,2,{tex_index = 99 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(411,0,5).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 1 }) pat:update_frame(540,2,3,{tex_index = 99 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(411,0,5).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 1 }) pat:update_frame(540,2,4,{tex_index = 478 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(411,0,5).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 6 }) pat:update_frame(540,2,5,{tex_index = 478 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(411,0,5).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 5 }) pat:update_frame(540,2,6,{tex_index = 478 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(411,0,5).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 5 }) pat:update_frame(540,2,7,{tex_index = 481 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(411,0,6).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 6 }) pat:split_frame(541,0,1,2,2) pat:split_frame(541,0,1,2,2) pat:split_frame(541,0,1,2,2) pat:split_frame(541,0,1,2,2) pat:split_frame(541,0,1,2,2) pat:split_frame(541,0,1,2,2) pat:split_frame(541,0,1,2,2) pat:update_frame(541,0,0, { tex_index = 473 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+28 , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(541,0,1, { tex_index = 474 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+28 , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(541,0,2, { tex_index = 475 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+28 , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(541,0,3, { tex_index = 476 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+20 , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(541,0,4, { tex_index = 477 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+10 , tex_offset_y = baseY , hurtbox = pat:get_frame(411,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(541,0,5,{tex_index = 478 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(411,0,5).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 1 }) pat:update_frame(541,0,6,{tex_index = 478 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(411,0,5).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 1 }) pat:update_frame(541,0,7,{tex_index = 99 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(411,0,5).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 1 }) pat:update_frame(541,0,8,{tex_index = 99 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(411,0,5).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 1 }) pat:split_frame(541,1,1,2,2) pat:split_frame(541,1,1,2,2) pat:update_frame(541,1,0,{tex_index = 478 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(411,0,5).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 1 }) pat:update_frame(541,1,1,{tex_index = 478 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(411,0,5).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 1 }) pat:update_frame(541,1,2,{tex_index = 99 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(411,0,5).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 1 }) pat:update_frame(541,1,3,{tex_index = 99 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(411,0,5).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 1 }) pat:update_frame(541,2,0,{tex_index = 478 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(411,0,5).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 1 }) pat:update_frame(541,2,1,{tex_index = 478 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(411,0,5).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 1 }) pat:update_frame(541,2,2,{tex_index = 99 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(411,0,5).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 1 }) pat:update_frame(541,2,3,{tex_index = 99 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(411,0,5).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 1 }) pat:update_frame(541,2,4,{tex_index = 478 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(411,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 6 }) pat:update_frame(541,2,5,{tex_index = 478 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(411,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 5 }) pat:update_frame(541,2,6,{tex_index = 478 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(411,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 5 }) pat:update_frame(541,2,7,{tex_index = 481 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(411,0,6).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 6 }) baseY = 256+6 pat:split_frame(542,0,1,2,2) pat:split_frame(542,0,1,2,2) pat:split_frame(542,0,1,2,2) pat:split_frame(542,0,1,2,2) pat:split_frame(542,0,1,2,2) pat:split_frame(542,0,1,2,2) pat:split_frame(542,0,1,2,2) pat:update_frame(542,0,0, { tex_index = 473 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+28 , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 4 }) pat:update_frame(542,0,1, { tex_index = 474 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+28 , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 4 }) pat:update_frame(542,0,2, { tex_index = 475 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+28 , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 4 }) pat:update_frame(542,0,3, { tex_index = 476 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+20 , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 4 }) pat:update_frame(542,0,4, { tex_index = 477 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+10 , tex_offset_y = baseY , hurtbox = pat:get_frame(415,0,3).hurtbox , duration = 4 }) pat:update_frame(542,0,5,{tex_index = 478 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(415,0,5).hurtbox , duration = 1 }) pat:update_frame(542,0,6,{tex_index = 478 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(415,0,5).hurtbox , duration = 1 }) pat:update_frame(542,0,7,{tex_index = 99 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(415,0,5).hurtbox , duration = 1 }) pat:update_frame(542,0,8,{tex_index = 99 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(415,0,5).hurtbox , duration = 1 }) pat:split_frame(542,1,1,2,2) pat:split_frame(542,1,1,2,2) pat:update_frame(542,1,0,{tex_index = 478 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(415,0,5).hurtbox , duration = 1 }) pat:update_frame(542,1,1,{tex_index = 478 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(415,0,5).hurtbox , duration = 1 }) pat:update_frame(542,1,2,{tex_index = 99 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(415,0,5).hurtbox , duration = 1 }) pat:update_frame(542,1,3,{tex_index = 99 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(415,0,5).hurtbox , duration = 1 }) pat:update_frame(542,2,0,{tex_index = 478 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(415,0,5).hurtbox , duration = 1 }) pat:update_frame(542,2,1,{tex_index = 478 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(415,0,5).hurtbox , duration = 1 }) pat:update_frame(542,2,2,{tex_index = 99 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(415,0,5).hurtbox , duration = 1 }) pat:update_frame(542,2,3,{tex_index = 99 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(415,0,5).hurtbox , duration = 1 }) pat:update_frame(542,2,4,{tex_index = 478 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(415,0,3).hurtbox , duration = 6 }) pat:update_frame(542,2,5,{tex_index = 478 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(415,0,3).hurtbox , duration = 5 }) pat:update_frame(542,2,6,{tex_index = 478 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(415,0,3).hurtbox , duration = 5 }) pat:update_frame(542,2,7,{tex_index = 481 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(415,0,6).hurtbox , duration = 6 }) baseY = 256+6 pat:split_frame(543,0,1,2,2) pat:split_frame(543,0,1,2,2) pat:split_frame(543,0,1,2,2) pat:split_frame(543,0,1,2,2) pat:split_frame(543,0,1,2,2) pat:split_frame(543,0,1,2,2) pat:split_frame(543,0,1,2,2) pat:update_frame(543,0,0, { tex_index = 473 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+28 , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 4 }) pat:update_frame(543,0,1, { tex_index = 474 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+28 , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 4 }) pat:update_frame(543,0,2, { tex_index = 475 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+28 , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 4 }) pat:update_frame(543,0,3, { tex_index = 476 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+20 , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 4 }) pat:update_frame(543,0,4, { tex_index = 477 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+10 , tex_offset_y = baseY , hurtbox = pat:get_frame(415,0,3).hurtbox , duration = 4 }) pat:update_frame(543,0,5,{tex_index = 478 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(415,0,5).hurtbox , duration = 1 }) pat:update_frame(543,0,6,{tex_index = 478 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(415,0,5).hurtbox , duration = 1 }) pat:update_frame(543,0,7,{tex_index = 99 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(415,0,5).hurtbox , duration = 1 }) pat:update_frame(543,0,8,{tex_index = 99 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(415,0,5).hurtbox , duration = 1 }) pat:split_frame(543,1,1,2,2) pat:split_frame(543,1,1,2,2) pat:update_frame(543,1,0,{tex_index = 478 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(415,0,5).hurtbox , duration = 1 }) pat:update_frame(543,1,1,{tex_index = 478 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(415,0,5).hurtbox , duration = 1 }) pat:update_frame(543,1,2,{tex_index = 99 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(415,0,5).hurtbox , duration = 1 }) pat:update_frame(543,1,3,{tex_index = 99 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(415,0,5).hurtbox , duration = 1 }) pat:update_frame(543,2,0,{tex_index = 478 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(415,0,5).hurtbox , duration = 1 }) pat:update_frame(543,2,1,{tex_index = 478 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(415,0,5).hurtbox , duration = 1 }) pat:update_frame(543,2,2,{tex_index = 99 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(415,0,5).hurtbox , duration = 1 }) pat:update_frame(543,2,3,{tex_index = 99 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(415,0,5).hurtbox , duration = 1 }) pat:update_frame(543,2,4,{tex_index = 478 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(415,0,3).hurtbox , duration = 6 }) pat:update_frame(543,2,5,{tex_index = 478 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(415,0,3).hurtbox , duration = 5 }) pat:update_frame(543,2,6,{tex_index = 478 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(415,0,3).hurtbox , duration = 5 }) pat:update_frame(543,2,7,{tex_index = 481 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(415,0,6).hurtbox , duration = 6 }) pat:get_sequence(820,0):set_looped(false) pat:get_sequence(820,1):set_looped(false) pat:remove_frame(820,0,1) for idx = 0 , 0 do pat:update_frame(820,0,idx,function(frame) frame.duration = 1 frame.angle_z = -10*idx +90 frame.scale_x = 200 frame.scale_y = 200 frame.tex_w = 0 frame.tex_index = 96 + 1 frame.tex_w = 256 frame.tex_h = 256 frame.tex_offset_x = 128 frame.tex_offset_y = 240 local scalemod = 100/frame.scale_x local ymod = 185 + .5*idx local xmod = 0 frame.attackbox[1].y1 = frame.attackbox[1].y2-150 frame.attackbox[1].x1 = 70 frame.attackbox[1].x2 = 235 frame.attackbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.attackbox[2].x1 = frame.attackbox[1].x1 + 10 frame.attackbox[2].x2 = frame.attackbox[2].x1 + 60 frame.attackbox[2].y1 = frame.attackbox[1].y1 - 20 frame.attackbox[2].y2 = frame.attackbox[1].y2 + 20 frame.attackbox[3] = pat:get_frame(0,0,0).hurtbox[1] frame.attackbox[3].x1 = frame.attackbox[1].x1 + 20 frame.attackbox[3].x2 = frame.attackbox[1].x2 + 120 frame.attackbox[3].y1 = frame.attackbox[1].y1 + 20 frame.attackbox[3].y2 = frame.attackbox[1].y2 - 20 frame.tex_offset_x = frame.tex_offset_x - (ymod)*scalemod frame.attackbox[1].y1 = frame.attackbox[1].y1 + (ymod) frame.attackbox[1].y2 = frame.attackbox[1].y2 + (ymod) frame.attackbox[2].y1 = frame.attackbox[2].y1 + (ymod) frame.attackbox[2].y2 = frame.attackbox[2].y2 + (ymod) frame.attackbox[3].y1 = frame.attackbox[3].y1 + (ymod) frame.attackbox[3].y2 = frame.attackbox[3].y2 + (ymod) end) end pat:remove_frame(820,1,1) for idx = 0 , 0 do pat:update_frame(820,1,idx,function(frame) frame.duration = 1 frame.angle_z = -5*idx +80 frame.scale_x = 200 frame.scale_y = 200 frame.tex_w = 0 frame.tex_index = 96 + 2 frame.tex_w = 256 frame.tex_h = 256 frame.tex_offset_x = 128 frame.tex_offset_y = 240 frame.attackbox[3]=null frame.attackbox[2]=null local scalemod = 100/frame.scale_x local ymod = 185 + .5*idx local xmod = 0 frame.attackbox[1].y1 = frame.attackbox[1].y2-150 frame.attackbox[1].x1 = 70 frame.attackbox[1].x2 = 235 frame.attackbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.attackbox[2].x1 = frame.attackbox[1].x1 + 10 frame.attackbox[2].x2 = frame.attackbox[2].x1 + 60 frame.attackbox[2].y1 = frame.attackbox[1].y1 - 20 frame.attackbox[2].y2 = frame.attackbox[1].y2 + 20 frame.attackbox[3] = pat:get_frame(0,0,0).hurtbox[1] frame.attackbox[3].x1 = frame.attackbox[1].x1 + 20 frame.attackbox[3].x2 = frame.attackbox[1].x2 + 120 frame.attackbox[3].y1 = frame.attackbox[1].y1 + 20 frame.attackbox[3].y2 = frame.attackbox[1].y2 - 20 frame.tex_offset_x = frame.tex_offset_x - (ymod)*scalemod ymod = 205 + .5*idx frame.attackbox[1].y1 = frame.attackbox[1].y1 + (ymod) frame.attackbox[1].y2 = frame.attackbox[1].y2 + (ymod) frame.attackbox[2].y1 = frame.attackbox[2].y1 + (ymod) frame.attackbox[2].y2 = frame.attackbox[2].y2 + (ymod) frame.attackbox[3].y1 = frame.attackbox[3].y1 + (ymod) frame.attackbox[3].y2 = frame.attackbox[3].y2 + (ymod) end) end for idx = 0 , 200 do pat:split_frame(820,2,0,1,1) end for idx = 0 , 200 do pat:update_frame(820,2,idx,function(frame) frame.duration = 1 frame.angle_z = -2*idx +75 frame.scale_x = 200 frame.scale_y = 200 frame.tex_w = 0 frame.tex_index = 532 + idx%7 if (idx%7 < 4) then frame.tex_index = 532 + idx%7 else frame.tex_index = 96 + idx%7-4 end frame.tex_w = 256 frame.tex_h = 256 frame.tex_offset_x = 128 frame.tex_offset_y = 240 frame.attackbox[3]=null frame.attackbox[2]=null local scalemod = 100/frame.scale_x local ymod = 185 + .5*idx local xmod = 0 frame.attackbox[1].y1 = frame.attackbox[1].y2-150 frame.attackbox[1].x1 = 70 frame.attackbox[1].x2 = 235 frame.attackbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.attackbox[2].x1 = frame.attackbox[1].x1 + 10 frame.attackbox[2].x2 = frame.attackbox[2].x1 + 60 frame.attackbox[2].y1 = frame.attackbox[1].y1 - 20 frame.attackbox[2].y2 = frame.attackbox[1].y2 + 20 frame.attackbox[3] = pat:get_frame(0,0,0).hurtbox[1] frame.attackbox[3].x1 = frame.attackbox[1].x1 + 20 frame.attackbox[3].x2 = frame.attackbox[1].x2 + 120 frame.attackbox[3].y1 = frame.attackbox[1].y1 + 20 frame.attackbox[3].y2 = frame.attackbox[1].y2 - 20 frame.tex_offset_x = frame.tex_offset_x - (ymod)*scalemod frame.attackbox[1].y1 = frame.attackbox[1].y1 + (ymod) frame.attackbox[1].y2 = frame.attackbox[1].y2 + (ymod) frame.attackbox[2].y1 = frame.attackbox[2].y1 + (ymod) frame.attackbox[2].y2 = frame.attackbox[2].y2 + (ymod) frame.attackbox[3].y1 = frame.attackbox[3].y1 + (ymod) frame.attackbox[3].y2 = frame.attackbox[3].y2 + (ymod) end) end for idx0 = 0 , 2 do if (idx0==2) then for idx1 = 0 , 200 do pat:update_frame(820,idx0,idx1,function(frame) frame.blockstop_enemy = 10--10 frame.hitstop_enemy = 10 frame.damage = 100 frame.chip_damage = 10 frame.sp_damage = 5--12 frame.untech = 45 frame.limit = 5 frame.launch_vector_x = 1800 frame.launch_vector_y = 800 frame.hit_sfx = pat:get_frame(803,1,0).hit_sfx unset_aflag(frame,AF_DRAINS_ON_GRAZE) end) end else pat:update_frame(820,idx0,0,function(frame) frame.blockstop_enemy = 10--10 frame.hitstop_enemy = 10 frame.damage = 100 frame.chip_damage = 10 frame.sp_damage = 5--12 frame.untech = 45 frame.limit = 5 frame.launch_vector_x = 1800 frame.launch_vector_y = 800 frame.hit_sfx = pat:get_frame(803,1,0).hit_sfx unset_aflag(frame,AF_DRAINS_ON_GRAZE) end) end end pat:update_frame(820,3,0,{tex_w = 0}) pat:update_frame(820,4,0,{tex_w = 0}) pat:update_frame(820,5,0,{tex_w = 0}) pat:update_frame(820,6,0,{tex_w = 0}) pat:update_frame(820,6,1,{tex_w = 0}) pat:update_frame(820,7,0,{tex_w = 0 , attackbox = pat:get_frame(0,0,0).attackbox}) pat:update_frame(820,7,1,{tex_w = 0 , attackbox = pat:get_frame(0,0,0).attackbox}) pat:update_frame(820,8,0,{tex_w = 0 , attackbox = pat:get_frame(0,0,0).attackbox}) pat:update_frame(820,8,1,{tex_w = 0 , attackbox = pat:get_frame(0,0,0).attackbox}) pat:update_frame(820,8,2,{tex_w = 0 , attackbox = pat:get_frame(0,0,0).attackbox}) pat:update_frame(820,8,3,{tex_w = 0 , attackbox = pat:get_frame(0,0,0).attackbox}) pat:update_frame(820,9,0,{tex_w = 0}) end function mods.a236_geyser(pat) local baseX = 112 local baseY = 256 local baseW = 128 local baseH = 128 pat:remove_frame(525,0,14) pat:remove_frame(525,0,10) pat:remove_frame(525,0,9) pat:remove_frame(525,0,8) --pat:remove_frame(525,0,7) pat:update_frame(525,0,0, { tex_index = 507 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(525,0,1, { tex_index = 508 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(525,0,2, { tex_index = 509 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 5 }) pat:update_frame(525,0,3, { tex_index = 510 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 5 }) pat:update_frame(525,0,4, { tex_index = 511 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 5 }) pat:update_frame(525,0,5, { tex_index = 512 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(525,0,6, { tex_index = 512 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) pat:update_frame(525,0,7, { tex_index = 513 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 5 }) pat:update_frame(525,0,8, { tex_index = 514 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(525,0,9, { tex_index = 515 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(525,0,10, { tex_index = 516 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:get_sequence(816,1):set_looped(false) pat:get_sequence(816,4):set_looped(false) pat:update_frame(816,1,0,{tex_w = 0 , attackbox = pat:get_frame(0,0,0).attackbox , duration = 1}) pat:remove_frame(816,1,1) pat:update_frame(816,4,0,{tex_w = 0 , attackbox = pat:get_frame(0,0,0).attackbox , duration = 1}) pat:remove_frame(816,4,1) for idx = 1 , 9 do pat:remove_frame(816,2,1) pat:remove_frame(816,5,1) end pat:update_frame(816,2,0,{tex_w = 0}) pat:update_frame(816,5,0,{tex_w = 0}) pat:update_frame(816,6,0,{color_r = 0 , color_b = 0 , color_g = 255 }) pat:remove_frame(816,6,1) pat:update_frame(816,7,0,{tex_w = 0}) pat:update_frame(816,8,0,{color_r = 0 , color_b = 0 , color_g = 255 }) pat:remove_frame(816,8,1) pat:update_frame(816,9,0,{tex_w = 0}) for idx = 1 , 9 do pat:remove_frame(816,0,0) end for idx = 1 , 47 do pat:split_frame(816,0,0,10,10) end for idx = 0 , 47 do pat:update_frame(816,0,idx,function(frame) --[[ local tid = 0 if (idx < 12) then tid = 0 elseif (idx < 24) then tid = 1 elseif (idx < 36) then tid = 2 elseif (idx < 48) then tid = 3 else tid = 4 end]]-- frame.tex_index = 254 + (idx/12) -1 frame.blending_mode = 0 frame.tex_w = 256 frame.tex_h = 128 frame.tex_offset_x = 128 frame.tex_offset_y = 128 frame.duration = 10 if (idx<12) then frame.tex_w = 0 frame.duration = 10 end frame.angle_z = -45 local scal = 300 frame.scale_x = scal frame.scale_y = scal if (idx < 47) then frame.attackbox = pat:get_frame(0,0,0).attackbox end end) end for idx = 0 , 19 do pat:split_frame(816,0,47,1,1) end for idx = 47 , 47+20 do pat:update_frame(816,0,idx,function(frame) frame.tex_index = 257+idx-47 if (frame.tex_index > 273) then frame.tex_index = 176 + (frame.tex_index - 274) end frame.tex_w = 200 frame.tex_h = 200 frame.tex_offset_x = 100 frame.tex_offset_y = 120 frame.scale_x = 250*3.0 frame.scale_y = 150*1.0 frame.blending_mode = 1 frame.color_r = 255 frame.color_b = 100 frame.color_g = 100 frame.attackbox[1].x1 = -120 *3.0 frame.attackbox[1].x2 = 120 *3.0 frame.attackbox[1].y1 = -100 *1.0 frame.attackbox[1].y2 = 0 unset_fflag(frame,FF_AFTER_IMAGE) unset_fflag(frame,FF_LOOP_ANIMATION) if (idx > 47+20-6) then frame.attackbox = pat:get_frame(0,0,0).attackbox end frame.damage = 1800 frame.chip_damage = 450 frame.limit = 40 frame.proration = 800 frame.attack_level = AL_HEAVY frame.blockstop_enemy = 10 frame.hitstop_enemy = 10 frame.sp_damage = 1000 frame.hit_ani_ground = 74 frame.hit_ani_air = 74 frame.launch_vector_x = 600 frame.launch_vector_y = 1500 frame.untech = 60 set_aflag(frame,AF_COUNTER_HIT) frame.hit_sfx = 7 frame.hit_effect = 7 end) end pat:remove_frame(816,0,6) pat:remove_frame(816,0,5) pat:remove_frame(816,0,4) pat:remove_frame(816,0,3) pat:remove_frame(816,0,2) pat:remove_frame(816,0,1) --red had phase 0 at 60 instead of 120 pat:update_frame(816,6,0,function(frame) local scalemod = 100/frame.scale_x local ymod = 0 local xmod = 120 frame.tex_offset_x = frame.tex_offset_x - (xmod)*scalemod end) pat:update_frame(816,8,0,{tex_w = 0}) for idx = 1 , 9 do pat:remove_frame(816,3,0) end for idx = 1 , 35 do pat:split_frame(816,3,0,10,10) end for idx = 0 , 35 do pat:update_frame(816,3,idx,function(frame) frame.tex_index = 180 + (idx/9)-1 frame.blending_mode = 0 frame.tex_w = 256 frame.tex_h = 128 frame.tex_offset_x = 128 frame.tex_offset_y = 128 frame.duration = 10 if (idx<9) then frame.tex_w = 0 frame.duration = 10 end frame.angle_z = 45 local scal = 300 frame.scale_x = scal frame.scale_y = scal if (idx < 35) then frame.attackbox = pat:get_frame(0,0,0).attackbox end local scalemod = 100/frame.scale_x local ymod = 0 local xmod = -375 frame.tex_offset_x = frame.tex_offset_x - (xmod)*scalemod end) end for idx = 0 , 19 do pat:split_frame(816,3,35,1,1) end for idx = 35 , 35+20 do pat:update_frame(816,3,idx,function(frame) frame.tex_index = 257+idx-35 if (frame.tex_index > 273) then frame.tex_index = 176 + (frame.tex_index - 274) end frame.tex_w = 200 frame.tex_h = 200 frame.tex_offset_x = 100 frame.tex_offset_y = 120 frame.scale_x = 250*3.0 frame.scale_y = 150*1.0 frame.blending_mode = 1 frame.color_r = 130 frame.color_b = 255 frame.color_g = 130 frame.attackbox[1].x1 = -120 *3.0 frame.attackbox[1].x2 = 120 *3.0 frame.attackbox[1].y1 = -100 *1.0 frame.attackbox[1].y2 = 0 unset_fflag(frame,FF_AFTER_IMAGE) unset_fflag(frame,FF_LOOP_ANIMATION) local scalemod = 100/frame.scale_x local ymod = 0 local xmod = -375 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 > 35+20-6) then frame.attackbox = pat:get_frame(0,0,0).attackbox end frame.damage = 1400 frame.chip_damage = 350 frame.limit = 40 frame.proration = 800 frame.attack_level = AL_HEAVY frame.blockstop_enemy = 10 frame.hitstop_enemy = 10 frame.sp_damage = 200 frame.hit_ani_ground = 74 frame.hit_ani_air = 74 frame.launch_vector_x = 600 frame.launch_vector_y = 1500 frame.untech = 60 set_aflag(frame,AF_COUNTER_HIT) frame.hit_sfx = 7 frame.hit_effect = 7 unset_aflag(frame,AF_AIR_BLOCKABLE) set_aflag(frame,AF_GROUND_UNBLOCKABLE) end) end end function mods.a236_blade(pat) local baseX = 112 local baseY = 256 local baseW = 128 local baseH = 128 pat:split_frame(530,0,0,2,2) pat:update_frame(530,0,0, { tex_index = 593 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(302,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(530,0,1, { tex_index = 594 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(302,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) pat:update_frame(530,0,2, { tex_index = 595 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(200,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) pat:update_frame(530,1,0, { tex_index = 595 , tex_w = 0 , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(200,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 100 }) pat:update_frame(530,1,1, { tex_index = 595 , tex_w = 0 , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(200,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 100 }) pat:update_frame(530,1,2, { tex_index = 595 , tex_w = 0 , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(200,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 100 }) pat:update_frame(530,2,0, { tex_index = 595 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(200,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) pat:update_frame(530,2,1, { tex_index = 594 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(302,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) baseX = 112+256 baseW = 256 pat:split_frame(530,3,0,4,4) pat:split_frame(530,3,0,4,4) pat:split_frame(530,3,0,4,4) pat:update_frame(530,2,2, { tex_index = 467 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(410,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) pat:update_frame(530,3,0, { tex_index = 468 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(410,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(530,3,1, { tex_index = 469 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(410,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(530,3,2, { tex_index = 470 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(410,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(530,3,3, { tex_index = 471 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(410,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(530,3,4, { tex_index = 472 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(410,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(530,4,0, { tex_index = 460 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(410,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 20 , fflags = 0x00000021}) pat:update_frame(530,4,1, { tex_index = 461 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(410,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 , fflags = 0x00000021 }) pat:update_frame(530,4,2, { tex_index = 462 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 , fflags = 0x00000021 }) pat:update_frame(530,4,3, { tex_index = 463 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 , fflags = 0x00000021 }) for idx = 0 , 2 do pat:update_frame(530,1,idx,function(frame) set_fflag(frame,FF_GRAZE) end) pat:update_frame(530,2,idx,function(frame) set_fflag(frame,FF_GRAZE) end) end pat:update_frame(530,0,2,function(frame) set_fflag(frame,FF_GRAZE) end) pat:update_frame(530,3,0,function(frame) set_fflag(frame,FF_GRAZE) end) pat:update_frame(817,1,0,{tex_index = 201}) for idx = 0 , 3 do pat:update_frame(817,0,idx,{tex_w = 0}) end pat:update_frame(817,2,0,function(frame) frame.tex_index = 101 frame.duration = 1 frame.tex_w = 128 frame.tex_h = 128 frame.tex_offset_x = 64 frame.tex_offset_y = 64 frame.scale_x = 50 frame.scale_y = 50 end) for idx = 0 , 19 do pat:update_frame(817,4,idx,function(frame) frame.tex_index = 308 + idx%10 frame.duration = 1 frame.tex_w = 128 frame.tex_h = 128 frame.tex_offset_x = 80 + idx*2 frame.tex_offset_y = 48 frame.scale_x = 75 +idx*20 frame.scale_y = 150 frame.angle_x = 180 unset_aflag(frame,AF_PROJECTILE) set_aflag(frame,AF_COUNTER_HIT) frame.blockstop_enemy = 10 frame.hitstop_enemy = 10 frame.damage = 1000 frame.chip_damage = 200 frame.limit = 40 frame.untech = 45 frame.attack_level = AL_HEAVY frame.combo_correction = CC_SMASH_ATTACK frame.sp_damage = 200 frame.launch_vector_x = 2450 frame.launch_vector_y = 600 frame.card_gain_hit = 120 frame.card_gain_block = 80 frame.proration = 800 for idx = 1 , 2 do frame.attackbox[idx].x1 = frame.attackbox[idx].x1 - 30 frame.attackbox[idx].x2 = frame.attackbox[idx].x2 - 50 frame.attackbox[idx].y1 = frame.attackbox[idx].y1 + 16 frame.attackbox[idx].y2 = frame.attackbox[idx].y2 + 16 end frame.attackbox[3]=null if (idx > 6) then local sizey = 100 - (idx-6)*10 frame.scale_y = frame.scale_y * sizey/100 frame.attackbox = pat:get_frame(0,0,0).attackbox end if (idx > 15) then frame.tex_w = 0 frame.duration = 200 end end) end for idx = 0 , 19 do pat:update_frame(817,5,idx,function(frame) frame.tex_index = 308 + idx%10 frame.duration = 1 frame.tex_w = 128 frame.tex_h = 128 frame.tex_offset_x = 80 + idx*2 frame.tex_offset_y = 54 frame.scale_x = 100 +idx*25 frame.scale_y = 200 frame.angle_x = 180 unset_aflag(frame,AF_PROJECTILE) set_aflag(frame,AF_COUNTER_HIT) frame.blockstop_enemy = 10 frame.hitstop_enemy = 10 frame.damage = 1000 frame.chip_damage = 200 frame.limit = 40 frame.untech = 45 frame.attack_level = AL_HEAVY frame.combo_correction = CC_SMASH_ATTACK frame.sp_damage = 200 frame.launch_vector_x = 2450 frame.launch_vector_y = 600 frame.card_gain_hit = 120 frame.card_gain_block = 80 frame.proration = 800 for idx = 1 , 2 do frame.attackbox[idx].x1 = frame.attackbox[idx].x1 - 45 frame.attackbox[idx].x2 = frame.attackbox[idx].x2 - 60 frame.attackbox[idx].y1 = frame.attackbox[idx].y1 + 16 frame.attackbox[idx].y2 = frame.attackbox[idx].y2 + 16 end frame.attackbox[3]=null if (idx > 6) then local sizey = 100 - (idx-6)*10 frame.scale_y = frame.scale_y * sizey/100 frame.attackbox = pat:get_frame(0,0,0).attackbox end if (idx > 15) then frame.tex_w = 0 frame.duration = 200 end end) end for idx = 0 , 19 do pat:update_frame(817,6,idx,function(frame) frame.tex_index = 308 + idx%10 frame.duration = 1 frame.tex_w = 128 frame.tex_h = 128 frame.tex_offset_x = 80 + idx*2 frame.tex_offset_y = 60 frame.scale_x = 125 +idx*30 frame.scale_y = 250 frame.angle_x = 180 unset_aflag(frame,AF_PROJECTILE) set_aflag(frame,AF_COUNTER_HIT) frame.blockstop_enemy = 10 frame.hitstop_enemy = 10 frame.damage = 1000 frame.chip_damage = 200 frame.limit = 40 frame.untech = 45 frame.attack_level = AL_HEAVY frame.combo_correction = CC_SMASH_ATTACK frame.sp_damage = 200 frame.launch_vector_x = 2450 frame.launch_vector_y = 600 frame.card_gain_hit = 120 frame.card_gain_block = 80 frame.proration = 800 for idx = 1 , 2 do frame.attackbox[idx].x1 = frame.attackbox[idx].x1 - 60 frame.attackbox[idx].x2 = frame.attackbox[idx].x2 - 70 frame.attackbox[idx].y1 = frame.attackbox[idx].y1 + 16 frame.attackbox[idx].y2 = frame.attackbox[idx].y2 + 16 end frame.attackbox[4]=null frame.attackbox[3]=null if (idx > 6) then local sizey = 100 - (idx-6)*10 frame.scale_y = frame.scale_y * sizey/100 frame.attackbox = pat:get_frame(0,0,0).attackbox end if (idx > 15) then frame.tex_w = 0 frame.duration = 200 end end) end end function mods.a214_orbs(pat) local baseX = 112 local baseY = 256 local baseW = 128 local baseH = 128 pat:update_frame(565,0,0, { tex_index = 507 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2-1+1 }) pat:update_frame(565,0,1, { tex_index = 507 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2-1+1 }) pat:update_frame(565,0,2, { tex_index = 508 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3-2+1 }) pat:update_frame(565,0,3, { tex_index = 508 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2-1+1 }) pat:update_frame(565,0,4, { tex_index = 509 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3-2+1 }) pat:update_frame(565,0,5, { tex_index = 509 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2-1+1 }) pat:update_frame(565,0,6, { tex_index = 510 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2-1+1 }) pat:update_frame(565,0,7, { tex_index = 510 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2-1+1 }) pat:update_frame(565,0,8, { tex_index = 510 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 1+1 }) pat:update_frame(565,0,9, { tex_index = 511 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3-2+1 }) pat:update_frame(565,0,10, { tex_index = 511 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2-1+1 }) pat:update_frame(565,1,0, { tex_index = 512 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(565,1,1, { tex_index = 512 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) pat:update_frame(565,2,0, { tex_index = 513 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(565,2,1, { tex_index = 513 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) pat:update_frame(565,2,2, { tex_index = 514 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(565,2,3, { tex_index = 515 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(565,2,4, { tex_index = 516 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) for idx = 5 , 10 do pat:update_frame(565,0,idx,function(frame) unset_fflag(frame,FF_CANCEL) end) pat:update_frame(566,0,idx,function(frame) unset_fflag(frame,FF_CANCEL) end) end pat:update_frame(566,0,0, { tex_index = 507 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2-1+1 }) pat:update_frame(566,0,1, { tex_index = 507 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2-1+1 }) pat:update_frame(566,0,2, { tex_index = 508 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3-2+1 }) pat:update_frame(566,0,3, { tex_index = 508 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2-1+1 }) pat:update_frame(566,0,4, { tex_index = 509 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3-2+1 }) pat:update_frame(566,0,5, { tex_index = 509 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2-1+1 }) pat:update_frame(566,0,6, { tex_index = 510 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2-1+1 }) pat:update_frame(566,0,7, { tex_index = 510 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2-1+1 }) pat:update_frame(566,0,8, { tex_index = 510 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 1+1+1 }) pat:update_frame(566,0,9, { tex_index = 511 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3-2+1 }) pat:update_frame(566,0,10, { tex_index = 511 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2-1+1 }) pat:update_frame(566,0,11, { tex_index = 512 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 5 }) pat:update_frame(566,0,12, { tex_index = 513 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 5 }) pat:update_frame(566,0,13, { tex_index = 509 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 5 }) pat:update_frame(566,0,14, { tex_index = 510 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 5 }) pat:update_frame(566,0,15, { tex_index = 511 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(566,0,16, { tex_index = 511 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) pat:update_frame(566,1,0, { tex_index = 512 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(566,1,1, { tex_index = 512 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) pat:update_frame(566,2,0, { tex_index = 513 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(566,2,1, { tex_index = 513 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) pat:update_frame(566,2,2, { tex_index = 514 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(566,2,3, { tex_index = 515 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(566,2,4, { tex_index = 516 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) baseY = 256+6 pat:update_frame(567,0,0, { tex_index = 507 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 2+1 }) pat:update_frame(567,0,1, { tex_index = 507 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 2+1 }) pat:update_frame(567,0,2, { tex_index = 508 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 3+1 }) pat:update_frame(567,0,3, { tex_index = 508 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 2+1 }) pat:update_frame(567,0,4, { tex_index = 509 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 3+1 }) pat:update_frame(567,0,5, { tex_index = 509 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 2+1 }) pat:update_frame(567,0,6, { tex_index = 510 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 2+1 }) pat:update_frame(567,0,7, { tex_index = 510 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 2+1 }) pat:update_frame(567,0,8, { tex_index = 510 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 1+1 }) pat:update_frame(567,0,9, { tex_index = 511 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 3+1 }) pat:update_frame(567,0,10, { tex_index = 511 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 2+1 }) pat:update_frame(567,1,0, { tex_index = 512 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 3 }) pat:update_frame(567,1,1, { tex_index = 512 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 2 }) pat:update_frame(567,2,0, { tex_index = 513 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 3 }) pat:update_frame(567,2,1, { tex_index = 513 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 2 }) pat:update_frame(567,2,2, { tex_index = 514 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 4 }) pat:update_frame(567,2,3, { tex_index = 515 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 4 }) pat:update_frame(567,2,4, { tex_index = 516 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 4 }) pat:update_frame(567,2,5, { tex_index = 388 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = 256 , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 4 }) baseY = 256 pat:split_frame(567,3,0,2,2) pat:split_frame(567,3,0,2,2) pat:update_frame(567,3,0, { tex_index = 618 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(1,0,4).hurtbox , collision = pat:get_frame(3,0,0).collision , duration = 3 }) pat:update_frame(567,3,1, { tex_index = 506 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(1,0,3).hurtbox , collision = pat:get_frame(3,0,1).collision , duration = 3 }) pat:update_frame(567,3,2, { tex_index = 505 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(1,0,2).hurtbox , collision = pat:get_frame(3,0,2).collision , duration = 3 }) pat:update_frame(567,3,3, { tex_index = 504 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(3,0,3).collision , duration = 3 }) pat:update_frame(567,3,4, { tex_index = 503 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(3,0,4).collision , duration = 3 }) baseY = 256+6 pat:update_frame(568,0,0, { tex_index = 507 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 2+1 }) pat:update_frame(568,0,1, { tex_index = 507 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 2+1 }) pat:update_frame(568,0,2, { tex_index = 508 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 3+1 }) pat:update_frame(568,0,3, { tex_index = 508 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 2+1 }) pat:update_frame(568,0,4, { tex_index = 509 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 3+1 }) pat:update_frame(568,0,5, { tex_index = 509 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 2+1 }) pat:update_frame(568,0,6, { tex_index = 510 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 2+1 }) pat:update_frame(568,0,7, { tex_index = 510 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 2+1 }) pat:update_frame(568,0,8, { tex_index = 510 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 1+1 }) pat:update_frame(568,0,9, { tex_index = 511 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 3+1 }) pat:update_frame(568,0,10, { tex_index = 511 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 2+1 }) pat:update_frame(568,0,11, { tex_index = 512 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:update_frame(568,0,12, { tex_index = 513 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:update_frame(568,0,13, { tex_index = 509 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:update_frame(568,0,14, { tex_index = 510 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:update_frame(568,0,15, { tex_index = 511 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 3 }) pat:update_frame(568,0,16, { tex_index = 511 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 2 }) pat:update_frame(568,1,0, { tex_index = 512 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 3 }) pat:update_frame(568,1,1, { tex_index = 512 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 2 }) pat:update_frame(568,2,0, { tex_index = 513 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 3 }) pat:update_frame(568,2,1, { tex_index = 513 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 2 }) pat:update_frame(568,2,2, { tex_index = 514 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 4 }) pat:update_frame(568,2,3, { tex_index = 515 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 4 }) pat:update_frame(568,2,4, { tex_index = 516 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 4 }) pat:update_frame(568,2,5, { tex_index = 388 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = 256 , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 4 }) baseY = 256 pat:split_frame(568,3,0,2,2) pat:split_frame(568,3,0,2,2) pat:update_frame(568,3,0, { tex_index = 618 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(1,0,4).hurtbox , collision = pat:get_frame(3,0,0).collision , duration = 3 }) pat:update_frame(568,3,1, { tex_index = 506 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(1,0,3).hurtbox , collision = pat:get_frame(3,0,1).collision , duration = 3 }) pat:update_frame(568,3,2, { tex_index = 505 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(1,0,2).hurtbox , collision = pat:get_frame(3,0,2).collision , duration = 3 }) pat:update_frame(568,3,3, { tex_index = 504 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(3,0,3).collision , duration = 3 }) pat:update_frame(568,3,4, { tex_index = 503 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(3,0,4).collision , duration = 3 }) for idx = 0 , 1 do pat:update_frame(826,0,idx,function(frame) frame.attackbox[1]=null end) pat:update_frame(826,1,0,function(frame) frame.tex_index = 199 end) pat:update_frame(826,2,0,function(frame) frame.tex_index = 186 end) pat:update_frame(826,3,idx,function(frame) frame.tex_index = 199 end) pat:update_frame(826,4,idx,function(frame) frame.tex_index = 199 end) end pat:update_frame(826,0,0,function(frame) frame.hurtbox[1].x1 = frame.hurtbox[1].x1 * 2 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 * 2 frame.hurtbox[1].y1 = frame.hurtbox[1].y1 * 2 frame.hurtbox[1].y2 = frame.hurtbox[1].y2 * 2 end) pat:split_frame(826,0,0,1,1) pat:split_frame(826,0,0,1,1) pat:split_frame(826,0,0,1,1) pat:split_frame(826,0,0,1,1) pat:update_frame(826,0,0,{tex_index = 409 , tex_w = 32 , tex_h = 32 , tex_offset_x = 16 , tex_offset_y = 16 , duration = 4 , scale_x = 400 , scale_y = 400 , blending_mode = 1}) pat:update_frame(826,0,1,{tex_index = 410 , tex_w = 32 , tex_h = 32 , tex_offset_x = 16 , tex_offset_y = 16 , duration = 4 , scale_x = 400 , scale_y = 400 , blending_mode = 1}) pat:update_frame(826,0,2,{tex_index = 411 , tex_w = 32 , tex_h = 32 , tex_offset_x = 16 , tex_offset_y = 16 , duration = 4 , scale_x = 400 , scale_y = 400 , blending_mode = 1}) pat:update_frame(826,0,3,{tex_index = 412 , tex_w = 32 , tex_h = 32 , tex_offset_x = 16 , tex_offset_y = 16 , duration = 4 , scale_x = 400 , scale_y = 400 , blending_mode = 1}) pat:update_frame(826,0,4,{tex_index = 413 , tex_w = 32 , tex_h = 32 , tex_offset_x = 16 , tex_offset_y = 16 , duration = 4 , scale_x = 400 , scale_y = 400 , blending_mode = 1}) pat:update_frame(826,0,5,{tex_index = 414 , tex_w = 32 , tex_h = 32 , tex_offset_x = 16 , tex_offset_y = 16 , duration = 4 , scale_x = 400 , scale_y = 400 , blending_mode = 1}) pat:get_sequence(826,0):set_priority(30,0) end function mods.a214_signs(pat) local baseX = 112 local baseY = 256 local baseW = 128 local baseH = 128 --[[ pat:update_frame(570,2,3, { tex_index = 443 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(400,0,7).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(570,2,4, { tex_index = 444 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(400,0,7).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(572,2,3, { tex_index = 443 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,7).hurtbox }) pat:update_frame(572,2,4, { tex_index = 444 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,7).hurtbox }) ]]-- pat:update_frame(570,0,0, { tex_index = 438 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(570,0,1, { tex_index = 439 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(570,0,2, { tex_index = 440 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(570,0,3, { tex_index = 441 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(570,1,0, { tex_index = 442 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(400,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 20-16 }) pat:update_frame(570,1,1, { tex_index = 442 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(400,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(570,1,2, { tex_index = 442 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(400,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(570,2,0, { tex_index = 442 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(400,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(570,2,1, { tex_index = 442 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(400,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(570,2,2, { tex_index = 441 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(570,2,3, { tex_index = 440 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(570,3,0, { tex_index = 439 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(570,3,1, { tex_index = 438 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(571,0,0, { tex_index = 438 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(571,0,1, { tex_index = 439 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(571,0,2, { tex_index = 440 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(571,0,3, { tex_index = 441 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) pat:update_frame(571,0,4, { tex_index = 441 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 1 }) pat:update_frame(571,0,5, { tex_index = 441 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 1 }) pat:update_frame(571,0,6, { tex_index = 442 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(400,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(571,1,0, { tex_index = 443 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(400,0,7).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(571,1,1, { tex_index = 444 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(400,0,7).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(571,2,0, { tex_index = 444 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(400,0,7).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 20-16 , fflags = 0x00000021 }) pat:update_frame(571,2,1, { tex_index = 441 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(571,2,2, { tex_index = 440 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(571,2,3, { tex_index = 439 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(571,2,4, { tex_index = 438 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) baseY = 256+6 pat:update_frame(572,0,0, { tex_index = 438 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(572,0,1, { tex_index = 439 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(572,0,2, { tex_index = 440 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(572,0,3, { tex_index = 441 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(572,1,0, { tex_index = 442 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,4).hurtbox , duration = 20-16 }) pat:update_frame(572,1,1, { tex_index = 442 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,4).hurtbox }) pat:update_frame(572,1,2, { tex_index = 442 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,4).hurtbox }) pat:update_frame(572,2,0, { tex_index = 442 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,4).hurtbox }) pat:update_frame(572,2,1, { tex_index = 442 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,4).hurtbox }) pat:update_frame(572,2,2, { tex_index = 441 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(572,2,3, { tex_index = 440 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(572,3,0, { tex_index = 439 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(572,3,1, { tex_index = 438 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox }) baseY = 256 pat:split_frame(572,4,0,2,2) pat:split_frame(572,4,0,2,2) pat:update_frame(572,4,0, { tex_index = 618 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(1,0,4).hurtbox , collision = pat:get_frame(3,0,0).collision , duration = 3 }) pat:update_frame(572,4,1, { tex_index = 506 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(1,0,3).hurtbox , collision = pat:get_frame(3,0,1).collision , duration = 3 }) pat:update_frame(572,4,2, { tex_index = 505 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(1,0,2).hurtbox , collision = pat:get_frame(3,0,2).collision , duration = 3 }) pat:update_frame(572,4,3, { tex_index = 504 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(3,0,3).collision , duration = 3 }) pat:update_frame(572,4,4, { tex_index = 503 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(3,0,4).collision , duration = 3 }) baseY = 256+6 pat:remove_frame(573,0,7) pat:update_frame(573,0,0, { tex_index = 438 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 4 }) pat:update_frame(573,0,1, { tex_index = 439 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 4 }) pat:update_frame(573,0,2, { tex_index = 440 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 4 }) pat:update_frame(573,0,3, { tex_index = 441 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 2 }) pat:update_frame(573,0,4, { tex_index = 441 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 1 }) pat:update_frame(573,0,5, { tex_index = 441 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 1 }) pat:update_frame(573,0,6, { tex_index = 442 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,4).hurtbox , duration = 4 }) pat:update_frame(573,1,0, { tex_index = 443 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,7).hurtbox , fflags = 0x00000024 }) pat:update_frame(573,1,1, { tex_index = 444 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,7).hurtbox , fflags = 0x00000024 }) pat:update_frame(573,2,0, { tex_index = 444 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,7).hurtbox , duration = 20-16 , fflags = 0x00000024 }) pat:update_frame(573,2,1, { tex_index = 441 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(573,2,2, { tex_index = 440 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(573,2,3, { tex_index = 439 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(573,2,4, { tex_index = 438 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(573,2,5, { tex_index = 388 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = 256 , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 4 }) baseY = 256 pat:split_frame(573,3,0,2,2) pat:split_frame(573,3,0,2,2) pat:update_frame(573,3,0, { tex_index = 618 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(1,0,4).hurtbox , collision = pat:get_frame(3,0,0).collision , duration = 3 }) pat:update_frame(573,3,1, { tex_index = 506 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(1,0,3).hurtbox , collision = pat:get_frame(3,0,1).collision , duration = 3 }) pat:update_frame(573,3,2, { tex_index = 505 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(1,0,2).hurtbox , collision = pat:get_frame(3,0,2).collision , duration = 3 }) pat:update_frame(573,3,3, { tex_index = 504 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(3,0,3).collision , duration = 3 }) pat:update_frame(573,3,4, { tex_index = 503 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(3,0,4).collision , duration = 3 }) pat:update_frame(827,2,0,{tex_w = 0}) pat:update_frame(827,2,1,{tex_w = 0}) pat:update_frame(827,4,0,{tex_w = 0}) pat:update_frame(827,4,1,{tex_w = 0}) pat:update_frame(827,5,0,{tex_index = 200}) pat:remove_frame(827,0,1) pat:remove_frame(827,7,1) pat:update_frame(827,6,0,{tex_w = 0}) pat:update_frame(827,0,0,function(frame) frame.tex_w = 64 frame.tex_h = 64 frame.tex_offset_x = 32 frame.tex_offset_y = 32 frame.scale_x = 200 frame.scale_y = 200 end) pat:update_frame(827,7,0,function(frame) frame.tex_w = 64 frame.tex_h = 64 frame.tex_offset_x = 32 frame.tex_offset_y = 32 frame.scale_x = 200 frame.scale_y = 200 end) for idx = 0 , 28 do pat:split_frame(827,1,0,1,1) pat:split_frame(827,8,0,1,1) end for idx = 0 , 30 do pat:update_frame(827,1,idx,function(frame) frame.damage = 150 frame.chip_damage = 15 frame.sp_damage = frame.sp_damage*1.5 frame.tex_index = 111 + idx%4 frame.tex_offset_x = 16 frame.tex_offset_y = 16 frame.tex_w = 32 frame.tex_h = 32 frame.scale_x = 200 frame.scale_y = 200 frame.attackbox[1].x1 = -30 frame.attackbox[1].x2 = 30 frame.attackbox[1].y1 = -30 frame.attackbox[1].y2 = 30 frame.duration = 1 if (idx > 10) then frame.scale_y = frame.scale_y * (14-idx)/5 frame.scale_x = frame.scale_x * (14-idx)/5 end if (idx > 14) then frame.attackbox = pat:get_frame(0,0,0).attackbox frame.tex_w = 0 frame.duration = 100 end end) pat:update_frame(827,8,idx,function(frame) frame.damage = 150 frame.chip_damage = 15 frame.sp_damage = frame.sp_damage*1.5 frame.tex_index = 111 + idx%4 frame.tex_offset_x = 16 frame.tex_offset_y = 16 frame.tex_w = 32 frame.tex_h = 32 frame.scale_x = 200 frame.scale_y = 200 frame.duration = 1 frame.attackbox[1].x1 = -30 frame.attackbox[1].x2 = 30 frame.attackbox[1].y1 = -30 frame.attackbox[1].y2 = 30 if (idx > 10) then frame.scale_y = frame.scale_y * (14-idx)/5 frame.scale_x = frame.scale_x * (14-idx)/5 end if (idx > 14) then frame.attackbox = pat:get_frame(0,0,0).attackbox frame.tex_w = 0 frame.duration = 100 end end) end end function mods.a623_dive(pat) local baseX = 112 local baseY = 256 local baseW = 128 local baseH = 128 pat:split_frame(505,0,3,2,2) pat:split_frame(505,0,3,2,2) pat:update_frame(505,0,0, { tex_index = 43 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 7 }) pat:update_frame(505,0,1, { tex_index = 44 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) --pat:update_frame(505,0,3, { tex_index = 45 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 3 }) --pat:update_frame(505,0,4, { tex_index = 46 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 3 }) --pat:update_frame(505,0,5, { tex_index = 47 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 3 }) baseX = 128 baseY = 244 pat:update_frame(505,0,2, { tex_index = 48 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 5 }) pat:update_frame(505,0,3, { tex_index = 49 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(505,0,4, { tex_index = 50 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(505,0,5, { tex_index = 537 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) pat:update_frame(505,1,0, { tex_index = 538 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , attackbox = pat:get_frame(418,1,0).attackbox , duration = 2 }) pat:update_frame(505,1,0,function(frame) for idx = 1 , 3 do frame.attackbox[idx].y1 = frame.attackbox[idx].y1 + 12 frame.attackbox[idx].y2 = frame.attackbox[idx].y2 + 12 end end) pat:update_frame(505,1,1, { tex_index = 539 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , attackbox = pat:get_frame(505,1,0).attackbox , duration = 2 }) pat:update_frame(505,1,2, { tex_index = 540 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , attackbox = pat:get_frame(505,1,0).attackbox , duration = 2 }) pat:update_frame(505,1,3, { tex_index = 541 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , attackbox = pat:get_frame(505,1,0).attackbox , duration = 2 }) for idx = 4 , 5 do pat:update_frame(505,0,idx,function(frame) set_fflag(frame,FF_GRAZE) end) end for idx = 0 , 3 do pat:update_frame(505,1,idx,function(frame) set_fflag(frame,FF_GRAZE) end) end pat:update_frame(505,2,0, { tex_index = 48 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 2 }) pat:update_frame(505,2,1, { tex_index = 49 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 2 }) --pat:update_frame(505,2,0, { tex_index = 50 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 2 }) --pat:update_frame(505,2,1, { tex_index = 537 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 2 }) baseX = 112 pat:update_frame(505,3,0, { tex_index = 50 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 3 }) pat:update_frame(505,3,1, { tex_index = 537 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 3 }) baseY=256+6 pat:update_frame(505,3,2, { tex_index = 44 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+6 , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 6 }) pat:update_frame(505,3,3, { tex_index = 43 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+6 , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 6 }) pat:update_frame(505,3,4, { tex_index = 42 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+6 , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 3 }) pat:update_frame(505,3,5, { tex_index = 42 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+6 , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 3 }) pat:update_frame(505,4,0, { tex_index = 391 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:update_frame(505,4,1, { tex_index = 388 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) baseY=256+6 pat:split_frame(507,0,3,2,2) pat:split_frame(507,0,3,2,2) pat:update_frame(507,0,0, { tex_index = 43 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 7 }) pat:update_frame(507,0,1, { tex_index = 44 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 3 }) --pat:update_frame(505,0,3, { tex_index = 45 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 3 }) --pat:update_frame(505,0,4, { tex_index = 46 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 3 }) --pat:update_frame(505,0,5, { tex_index = 47 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 3 }) baseX = 128 baseY = 244 pat:update_frame(507,0,2, { tex_index = 48 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:update_frame(507,0,3, { tex_index = 49 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 4 }) pat:update_frame(507,0,4, { tex_index = 50 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 3 }) pat:update_frame(507,0,5, { tex_index = 537 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 2 }) pat:update_frame(507,1,0, { tex_index = 538 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , attackbox = pat:get_frame(505,1,0).attackbox , duration = 2 }) pat:update_frame(507,1,1, { tex_index = 539 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , attackbox = pat:get_frame(505,1,0).attackbox , duration = 2 }) pat:update_frame(507,1,2, { tex_index = 540 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , attackbox = pat:get_frame(505,1,0).attackbox , duration = 2 }) pat:update_frame(507,1,3, { tex_index = 541 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , attackbox = pat:get_frame(505,1,0).attackbox , duration = 2 }) for idx = 4 , 5 do pat:update_frame(507,0,idx,function(frame) set_fflag(frame,FF_GRAZE) end) end for idx = 0 , 3 do pat:update_frame(507,1,idx,function(frame) set_fflag(frame,FF_GRAZE) end) end pat:update_frame(507,2,0, { tex_index = 48 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 2 }) pat:update_frame(507,2,1, { tex_index = 49 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 2 }) --pat:update_frame(505,2,0, { tex_index = 50 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 2 }) --pat:update_frame(505,2,1, { tex_index = 537 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 2 }) baseX = 112 pat:update_frame(507,3,0, { tex_index = 50 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 3 }) pat:update_frame(507,3,1, { tex_index = 537 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 3 }) baseY=256+6 pat:update_frame(507,3,2, { tex_index = 44 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+6 , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 6 }) pat:update_frame(507,3,3, { tex_index = 43 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+6 , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 6 }) pat:update_frame(507,3,4, { tex_index = 42 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+6 , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 3 }) pat:update_frame(507,3,5, { tex_index = 42 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+6 , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 3 }) pat:update_frame(507,4,0, { tex_index = 391 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:update_frame(507,4,1, { tex_index = 388 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:split_frame(811,0,1,1,1) pat:split_frame(811,2,1,1,1) pat:update_frame(811,0,0,{scale_x = 50 , scale_y = 50 , tex_index = 95 , tex_w = 0 , tex_h = 256 , tex_offset_x = 128 , tex_offset_y = 128 , angle_z = 0 , duration = 2}) pat:update_frame(811,0,1,{scale_x = 50 , scale_y = 50 , tex_index = 95 , tex_w = 0 , tex_h = 256 , tex_offset_x = 128 , tex_offset_y = 128 , angle_z = 30 , duration = 2}) pat:update_frame(811,0,2,{scale_x = 50 , scale_y = 50 , tex_index = 95 , tex_w = 0 , tex_h = 256 , tex_offset_x = 128 , tex_offset_y = 128 , angle_z = 60 , duration = 2}) pat:update_frame(811,2,0,{scale_x = 30 , scale_y = 30 , tex_index = 95 , tex_w = 256 , tex_h = 256 , tex_offset_x = 128 , tex_offset_y = 128 , angle_z = 0 , duration = 2}) pat:update_frame(811,2,1,{scale_x = 30 , scale_y = 30 , tex_index = 95 , tex_w = 256 , tex_h = 256 , tex_offset_x = 128 , tex_offset_y = 128 , angle_z = 30 , duration = 2}) pat:update_frame(811,2,2,{scale_x = 30 , scale_y = 30 , tex_index = 95 , tex_w = 256 , tex_h = 256 , tex_offset_x = 128 , tex_offset_y = 128 , angle_z = 60 , duration = 2}) for idx = 0 , 19 do pat:update_frame(811,1,idx,{tex_w = 0}) end end function mods.a623_grab(pat) local baseX = 112 local baseY = 256 local baseW = 128 local baseH = 128 pat:update_frame(510,0,0, { tex_index = 520 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(510,0,1, { tex_index = 521 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(301,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(510,0,2, { tex_index = 522 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(300,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(510,0,2,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 + 15 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 + 15 end) pat:update_frame(510,0,3, { tex_index = 523 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(510,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(510,0,3,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 + 15 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 + 15 frame.hurtbox[3] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[3].y1 = -80 frame.hurtbox[3].x2 = 60 end) pat:update_frame(510,0,4, { tex_index = 524 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(510,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(510,0,4,function(frame) frame.hurtbox[1].x1 = frame.hurtbox[1].x1 + 15 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 + 15 frame.hurtbox[2].x1 = frame.hurtbox[2].x1 + 15 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 + 15 frame.attackbox[1].y1 = frame.attackbox[1].y1 + 10 frame.attackbox[1].y2 = frame.attackbox[1].y2 + 10 end) pat:update_frame(510,0,5, { tex_index = 524 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(510,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(510,0,6, { tex_index = 525 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(510,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(510,0,6,function(frame) frame.hurtbox[1].y1 = frame.hurtbox[1].y1 + 20 frame.hurtbox[1].x1 = frame.hurtbox[1].x1 + 15 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 + 15 frame.hurtbox[2].x1 = frame.hurtbox[2].x1 + 10 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 + 10 frame.hurtbox[2].y1 = frame.hurtbox[2].y1 + 10 frame.hurtbox[2].y2 = frame.hurtbox[2].y2 + 10 end) pat:update_frame(510,0,7, { tex_index = 526 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(510,0,6).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(510,0,7,function(frame) frame.hurtbox[2].y2 = frame.hurtbox[2].y2 + 25 end) pat:update_frame(510,0,8, { tex_index = 527 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(510,0,7).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(510,0,9, { tex_index = 527 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(510,0,8).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(510,0,10, { tex_index = 527 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(510,0,8).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(510,0,11, { tex_index = 527 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(510,0,8).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 40 }) pat:update_frame(510,0,12, { tex_index = 527 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(510,0,8).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(510,0,13, { tex_index = 527 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(510,0,8).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(510,0,14, { tex_index = 528 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) --pat:update_frame(510,0,14, { tex_index = 531 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) --pat:update_frame(510,0,13, { tex_index = 504 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) --pat:update_frame(510,0,14, { tex_index = 505 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(1,0,2).hurtbox , collision = pat:get_frame(1,0,2).collision , duration = 4 }) local baseX = 112 pat:split_frame(510,2,0,3,3) pat:split_frame(510,2,0,3,3) pat:split_frame(510,2,0,3,3) pat:split_frame(510,2,0,3,3) pat:split_frame(510,2,0,3,3) pat:split_frame(510,2,0,3,3) pat:split_frame(510,2,0,3,3) pat:split_frame(510,2,0,3,3) pat:split_frame(510,2,0,3,3) pat:split_frame(510,3,0,3,3) pat:update_frame(510,1,0, { tex_index = 524 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY }) pat:update_frame(510,1,1, { tex_index = 525 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY }) pat:update_frame(510,1,2, { tex_index = 526 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY }) pat:update_frame(510,1,3, { tex_index = 527 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY }) pat:update_frame(510,2,0, { tex_index = 528 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY }) pat:update_frame(510,2,1, { tex_index = 48 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY }) baseX = 90 pat:update_frame(510,2,2, { tex_index = 531 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY }) pat:update_frame(510,2,3, { tex_index = 579 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY }) pat:update_frame(510,2,4, { tex_index = 580 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY }) pat:update_frame(510,2,5, { tex_index = 581 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY }) pat:update_frame(510,2,6, { tex_index = 582 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY }) pat:update_frame(510,2,7, { tex_index = 583 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY }) pat:update_frame(510,2,8, { tex_index = 584 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 40}) pat:update_frame(510,2,9, { tex_index = 585 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY }) pat:update_frame(510,2,10, { tex_index = 586 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY }) pat:update_frame(510,3,0, { tex_index = 584 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY }) pat:update_frame(510,3,1, { tex_index = 585 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY }) pat:update_frame(510,3,2, { tex_index = 586 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY }) pat:split_frame(510,4,5,2,2) pat:split_frame(510,4,5,2,2) pat:update_frame(510,4,0, { tex_index = 531 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY }) baseX = 112 --pat:update_frame(510,4,1, { tex_index = 48 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY }) pat:update_frame(510,4,1, { tex_index = 528 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY }) --pat:update_frame(510,4,3, { tex_index = 5 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY }) --pat:update_frame(510,4,4, { tex_index = 6 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY }) pat:update_frame(510,4,2, { tex_index = 14 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 }) pat:update_frame(510,4,3, { tex_index = 15 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 }) pat:update_frame(510,4,4, { tex_index = 16 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 20 }) pat:update_frame(510,4,5, { tex_index = 632 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 }) pat:update_frame(510,4,6, { tex_index = 633 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 }) pat:update_frame(510,4,7, { tex_index = 634 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 }) for idx = 0 , 16 do local alpha = 255 if (idx > 11) then alpha = 255-(idx-11)*50 end pat:update_frame(812,1,idx,{tex_index = 101 , tex_w = 128 , tex_h = 128 , tex_offset_x = 64 , tex_offset_y = 64 , duration = 1 , color_r = alpha , color_g = alpha , color_b = alpha }) pat:update_frame(812,3,idx,{tex_index = 101 , tex_w = 128 , tex_h = 128 , tex_offset_x = 64 , tex_offset_y = 64 , duration = 1 , color_r = alpha , color_g = alpha , color_b = alpha }) end pat:update_frame(812,0,0,{tex_index = 195 , tex_w = 256 , tex_h = 256 , tex_offset_x = 128 , tex_offset_y = 128 }) pat:update_frame(812,0,1,{tex_index = 195 , tex_w = 256 , tex_h = 256 , tex_offset_x = 128 , tex_offset_y = 128 }) pat:update_frame(812,2,0,{tex_index = 195 , tex_w = 256 , tex_h = 256 , tex_offset_x = 128 , tex_offset_y = 128 }) end function mods.a22_shooting(pat) local baseX = 112 local baseY = 256 local baseW = 128 local baseH = 128 pat:remove_frame(545,2,6) pat:remove_frame(545,2,5) pat:split_frame(545,0,0,2,2) pat:split_frame(545,0,0,2,2) pat:update_frame(545,0,0, { tex_index = 438 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(545,0,1, { tex_index = 439 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(545,0,2, { tex_index = 440 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(545,0,3, { tex_index = 441 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(545,1,0, { tex_index = 442 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(400,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(545,1,1, { tex_index = 442 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(400,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(545,2,0, { tex_index = 443 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(400,0,7).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(545,2,1, { tex_index = 445 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(400,0,7).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(545,2,1,function(frame) frame.hurtbox[2].y2 = frame.hurtbox[2].y2 + 25 end) pat:update_frame(545,2,2, { tex_index = 446 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(545,2,1).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(545,2,3, { tex_index = 445 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(545,2,1).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(545,2,4, { tex_index = 446 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(545,2,1).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(545,2,5, { tex_index = 445 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(545,2,1).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(545,2,6, { tex_index = 443 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(400,0,7).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(545,2,7, { tex_index = 441 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(545,2,8, { tex_index = 440 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(545,2,9, { tex_index = 439 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(545,2,10, { tex_index = 438 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) --pat:update_frame(816,5,0,{tex_w = 0}) --pat:update_frame(816,6,0,{tex_w = 0}) pat:update_frame(821,0,0,{tex_index = 242 , tex_w = 16 , tex_h = 16 , tex_offset_x = 8 , tex_offset_y = 8 , scale_x = 200 , scale_y = 200 , blending_mode = 0 }) pat:update_frame(821,0,1,{tex_index = 242 , tex_w = 16 , tex_h = 16 , tex_offset_x = 8 , tex_offset_y = 8 , scale_x = 200 , scale_y = 200 , blending_mode = 0 }) pat:update_frame(821,1,0,{tex_index = 242 , tex_w = 16 , tex_h = 16 , tex_offset_x = 8 , tex_offset_y = 8 , scale_x = 200 , scale_y = 200 , blending_mode = 0 }) pat:update_frame(821,1,1,{tex_index = 242 , tex_w = 16 , tex_h = 16 , tex_offset_x = 8 , tex_offset_y = 8 , scale_x = 200 , scale_y = 200 , blending_mode = 0 }) pat:update_frame(821,3,0,{tex_index = 242 , tex_w = 16 , tex_h = 16 , tex_offset_x = 8 , tex_offset_y = 8 , scale_x = 200 , scale_y = 200 , blending_mode = 0 }) pat:update_frame(821,8,0,{tex_w = 0}) pat:update_frame(821,9,0,{tex_w = 0}) pat:update_frame(821,12,0,{color_r = 0 , color_b = 0 , color_g = 255 }) pat:remove_frame(821,12,1) pat:update_frame(821,10,0,{tex_w = 0 , attackbox = pat:get_frame(0,0,0).attackbox}) pat:update_frame(821,10,1,{tex_w = 0 , attackbox = pat:get_frame(0,0,0).attackbox}) pat:update_frame(821,11,0,{tex_w = 0 , attackbox = pat:get_frame(0,0,0).attackbox}) pat:update_frame(821,11,1,{tex_w = 0 , attackbox = pat:get_frame(0,0,0).attackbox}) pat:update_frame(821,13,0,{tex_w = 0 , attackbox = pat:get_frame(0,0,0).attackbox}) pat:update_frame(821,13,1,{tex_w = 0 , attackbox = pat:get_frame(0,0,0).attackbox}) pat:update_frame(821,14,0,{tex_w = 0 , attackbox = pat:get_frame(0,0,0).attackbox}) pat:update_frame(821,14,1,{tex_w = 0 , attackbox = pat:get_frame(0,0,0).attackbox}) pat:get_sequence(821,7):set_priority(20,0) for idx = 1 , 19 do pat:remove_frame(821,7,1) end for idx = 0 , 3 do pat:split_frame(821,7,0,60,60) end for idx = 0 , 4 do pat:update_frame(821,7,idx,function(frame) frame.tex_index = 338 + idx-1 frame.blending_mode = 0 frame.tex_w = 256 frame.tex_h = 128 frame.tex_offset_x = 128 frame.tex_offset_y = 128 frame.duration = 120 if (idx==0)then frame.tex_w = 0 frame.duration = 60 end local scal = 300 frame.scale_x = scal frame.scale_y = scal if (idx ~= 4) then frame.attackbox = pat:get_frame(0,0,0).attackbox end end) end for idx = 0 , 19 do pat:split_frame(821,7,4,1,1) end for idx = 4 , 4+20 do pat:update_frame(821,7,idx,function(frame) frame.tex_index = 257+idx-4 if (frame.tex_index > 273) then frame.tex_index = 176 + (frame.tex_index - 274) end frame.tex_w = 200 frame.tex_h = 200 frame.tex_offset_x = 100 frame.tex_offset_y = 150 frame.scale_x = 250*3.0 frame.scale_y = 150*1.0 frame.blending_mode = 1 frame.color_r = 255 frame.color_b = 60 frame.color_g = 220 frame.attackbox[2]=null frame.attackbox[1].x1 = -120*3.0 frame.attackbox[1].x2 = 120*3.0 frame.attackbox[1].y1 = -100*1.0 frame.attackbox[1].y2 = 0 if (idx > 18) then frame.attackbox = pat:get_frame(0,0,0).attackbox end frame.damage = 3000 frame.chip_damage = 300 frame.limit = 40 frame.proration = 650 frame.attack_level = AL_HEAVY frame.blockstop_enemy = 10 frame.hitstop_enemy = 20 frame.sp_damage = 200 frame.hit_ani_ground = 74 frame.hit_ani_air = 74 frame.launch_vector_x = 1000 frame.launch_vector_y = 2000 frame.untech = 60 unset_aflag(frame,AF_COUNTER_HIT) frame.hit_sfx = 7 frame.hit_effect = 7 end) end end function mods.a22_cannon(pat) local baseX = 112 local baseY = 256 local baseW = 128 local baseH = 128 for idx = 2 , 14 do pat:split_frame(550,0,0,2,2) end for idx = 3 , 12 do pat:remove_frame(550,2,3) end pat:update_frame(550,0,0, { tex_index = 507 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(550,0,1, { tex_index = 508 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(550,0,2, { tex_index = 509 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(550,0,3, { tex_index = 510 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(550,0,4, { tex_index = 511 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(550,0,5, { tex_index = 512 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(550,0,6, { tex_index = 513 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(550,0,7, { tex_index = 509 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(550,0,8, { tex_index = 510 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 , fflags = 0x00000001 }) pat:update_frame(550,0,9, { tex_index = 511 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 , fflags = 0x00000021 }) pat:update_frame(550,0,10, { tex_index = 512 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 , fflags = 0x00200021 }) pat:update_frame(550,0,11, { tex_index = 513 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 , fflags = 0x00200021 }) pat:update_frame(550,0,12, { tex_index = 509 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 , fflags = 0x00200021 }) pat:update_frame(550,0,13, { tex_index = 510 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 , fflags = 0x00200021 }) pat:update_frame(550,0,14, { tex_index = 511 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 , fflags = 0x00200021 }) pat:update_frame(550,1,0, { tex_index = 512 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 , fflags = 0x00200021 }) pat:update_frame(550,1,1, { tex_index = 513 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 , fflags = 0x00200021 }) pat:update_frame(550,2,0, { tex_index = 514 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 , fflags = 0x00200021 }) pat:update_frame(550,2,1, { tex_index = 515 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 , fflags = 0x00200021 }) pat:update_frame(550,2,2, { tex_index = 516 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 , fflags = 0x00200021 }) --[[ pat:split_frame(550,0,0,2,2) pat:split_frame(550,0,0,2,2) pat:update_frame(550,0,0, { tex_index = 438 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(550,0,1, { tex_index = 439 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(550,0,2, { tex_index = 440 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(550,0,3, { tex_index = 441 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(550,1,0, { tex_index = 442 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(400,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(550,1,1, { tex_index = 442 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(400,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(550,2,0, { tex_index = 442 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(400,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(550,2,1, { tex_index = 442 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(400,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(550,2,2, { tex_index = 442 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(400,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(550,2,3, { tex_index = 443 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(400,0,7).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(550,2,4, { tex_index = 444 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(400,0,7).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(550,2,5, { tex_index = 443 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(400,0,7).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(550,2,6, { tex_index = 444 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(400,0,7).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(550,2,7, { tex_index = 443 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(400,0,7).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(550,2,8, { tex_index = 442 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(400,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(550,2,9, { tex_index = 441 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(550,2,10, { tex_index = 440 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(550,2,11, { tex_index = 439 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(550,2,12, { tex_index = 438 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision })]]-- for idx = 2 , 14 do pat:split_frame(551,0,0,2,2) end for idx = 3 , 12 do pat:remove_frame(551,2,3) end pat:update_frame(551,0,0, { tex_index = 507 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(551,0,1, { tex_index = 508 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(551,0,2, { tex_index = 509 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(551,0,3, { tex_index = 510 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(551,0,4, { tex_index = 511 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(551,0,5, { tex_index = 512 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(551,0,6, { tex_index = 513 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(551,0,7, { tex_index = 509 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(551,0,8, { tex_index = 510 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 , fflags = 0x00000001 }) pat:update_frame(551,0,9, { tex_index = 511 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 , fflags = 0x00000021 }) pat:update_frame(551,0,10, { tex_index = 512 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 , fflags = 0x00200021 }) pat:update_frame(551,0,11, { tex_index = 513 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 , fflags = 0x00200021 }) pat:update_frame(551,0,12, { tex_index = 509 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 , fflags = 0x00200021 }) pat:update_frame(551,0,13, { tex_index = 510 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 , fflags = 0x00200021 }) pat:update_frame(551,0,14, { tex_index = 511 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 , fflags = 0x00200021 }) pat:update_frame(551,1,0, { tex_index = 512 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 , fflags = 0x00200021 }) pat:update_frame(551,1,1, { tex_index = 513 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 , fflags = 0x00200021 }) pat:update_frame(551,2,0, { tex_index = 514 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 , fflags = 0x00200021 }) pat:update_frame(551,2,1, { tex_index = 515 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 , fflags = 0x00200021 }) pat:update_frame(551,2,2, { tex_index = 516 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 , fflags = 0x00200021 }) baseY = 256+6 for idx = 2 , 14 do pat:split_frame(552,0,0,2,2) end for idx = 3 , 12 do pat:remove_frame(552,2,3) end pat:update_frame(552,0,0, { tex_index = 507 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision , duration = 3 }) pat:update_frame(552,0,1, { tex_index = 508 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision , duration = 3 }) pat:update_frame(552,0,2, { tex_index = 509 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision , duration = 3 }) pat:update_frame(552,0,3, { tex_index = 510 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision , duration = 3 }) pat:update_frame(552,0,4, { tex_index = 511 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision , duration = 3 }) pat:update_frame(552,0,5, { tex_index = 512 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision , duration = 3 }) pat:update_frame(552,0,6, { tex_index = 513 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision , duration = 3 }) pat:update_frame(552,0,7, { tex_index = 509 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision , duration = 3 }) pat:update_frame(552,0,8, { tex_index = 510 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision , duration = 3 , fflags = 0x00000001 }) pat:update_frame(552,0,9, { tex_index = 511 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision , duration = 3 , fflags = 0x00000021 }) pat:update_frame(552,0,10, { tex_index = 512 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision , duration = 3 , fflags = 0x00200021 }) pat:update_frame(552,0,11, { tex_index = 513 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision , duration = 3 , fflags = 0x00200021 }) pat:update_frame(552,0,12, { tex_index = 509 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision , duration = 3 , fflags = 0x00200021 }) pat:update_frame(552,0,13, { tex_index = 510 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision , duration = 3 , fflags = 0x00200021 }) pat:update_frame(552,0,14, { tex_index = 511 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision , duration = 3 , fflags = 0x00200021 }) pat:update_frame(552,1,0, { tex_index = 512 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision , duration = 3 , fflags = 0x00200021 }) pat:update_frame(552,1,1, { tex_index = 513 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision , duration = 3 , fflags = 0x00200021 }) pat:update_frame(552,2,0, { tex_index = 514 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision , duration = 3 , fflags = 0x00200021 }) pat:update_frame(552,2,1, { tex_index = 515 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision , duration = 3 , fflags = 0x00200021 }) pat:update_frame(552,2,2, { tex_index = 516 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision , duration = 3 , fflags = 0x00200021 }) baseY = 256 pat:split_frame(552,3,0,2,2) pat:split_frame(552,3,0,2,2) pat:update_frame(552,3,0, { tex_index = 618 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(1,0,4).hurtbox , collision = pat:get_frame(3,0,0).collision , duration = 3 }) pat:update_frame(552,3,1, { tex_index = 506 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(1,0,3).hurtbox , collision = pat:get_frame(3,0,1).collision , duration = 3 }) pat:update_frame(552,3,2, { tex_index = 505 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(1,0,2).hurtbox , collision = pat:get_frame(3,0,2).collision , duration = 3 }) pat:update_frame(552,3,3, { tex_index = 504 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(3,0,3).collision , duration = 3 }) pat:update_frame(552,3,4, { tex_index = 503 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(3,0,4).collision , duration = 3 }) baseY = 256+6 for idx = 2 , 14 do pat:split_frame(553,0,0,2,2) end for idx = 3 , 12 do pat:remove_frame(553,2,3) end pat:update_frame(553,0,0, { tex_index = 507 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision , duration = 3 }) pat:update_frame(553,0,1, { tex_index = 508 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision , duration = 3 }) pat:update_frame(553,0,2, { tex_index = 509 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision , duration = 3 }) pat:update_frame(553,0,3, { tex_index = 510 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision , duration = 3 }) pat:update_frame(553,0,4, { tex_index = 511 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision , duration = 3 }) pat:update_frame(553,0,5, { tex_index = 512 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision , duration = 3 }) pat:update_frame(553,0,6, { tex_index = 513 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision , duration = 3 }) pat:update_frame(553,0,7, { tex_index = 509 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision , duration = 3 }) pat:update_frame(553,0,8, { tex_index = 510 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision , duration = 3 , fflags = 0x00000001 }) pat:update_frame(553,0,9, { tex_index = 511 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision , duration = 3 , fflags = 0x00000021 }) pat:update_frame(553,0,10, { tex_index = 512 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision , duration = 3 , fflags = 0x00200021 }) pat:update_frame(553,0,11, { tex_index = 513 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision , duration = 3 , fflags = 0x00200021 }) pat:update_frame(553,0,12, { tex_index = 509 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision , duration = 3 , fflags = 0x00200021 }) pat:update_frame(553,0,13, { tex_index = 510 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision , duration = 3 , fflags = 0x00200021 }) pat:update_frame(553,0,14, { tex_index = 511 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision , duration = 3 , fflags = 0x00200021 }) pat:update_frame(553,1,0, { tex_index = 512 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision , duration = 3 , fflags = 0x00200021 }) pat:update_frame(553,1,1, { tex_index = 513 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision , duration = 3 , fflags = 0x00200021 }) pat:update_frame(553,2,0, { tex_index = 514 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision , duration = 3 , fflags = 0x00200021 }) pat:update_frame(553,2,1, { tex_index = 515 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision , duration = 3 , fflags = 0x00200021 }) baseY = 256 pat:split_frame(553,3,0,2,2) pat:split_frame(553,3,0,2,2) pat:update_frame(553,3,0, { tex_index = 618 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(1,0,4).hurtbox , collision = pat:get_frame(3,0,0).collision , duration = 3 }) pat:update_frame(553,3,1, { tex_index = 506 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(1,0,3).hurtbox , collision = pat:get_frame(3,0,1).collision , duration = 3 }) pat:update_frame(553,3,2, { tex_index = 505 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(1,0,2).hurtbox , collision = pat:get_frame(3,0,2).collision , duration = 3 }) pat:update_frame(553,3,3, { tex_index = 504 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(3,0,3).collision , duration = 3 }) pat:update_frame(553,3,4, { tex_index = 503 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(3,0,4).collision , duration = 3 }) pat:get_sequence(550,1):set_looped(false) pat:get_sequence(551,1):set_looped(false) pat:get_sequence(552,1):set_looped(false) pat:get_sequence(553,1):set_looped(false) pat:update_frame(822,0,0,{tex_index = 201 }) pat:update_frame(822,1,0,{tex_index = 195}) pat:update_frame(822,1,1,{tex_index = 195}) pat:update_frame(822,5,0,{tex_w = 0}) pat:update_frame(822,5,1,{tex_w = 0}) pat:update_frame(822,10,0,{tex_index = 201}) --effect is instead on 817,1 end function mods.a22_cannon_new(pat) local baseX = 112 local baseY = 256 local baseW = 128 local baseH = 128 for idx = 2 , 7 do pat:split_frame(550,0,0,2,2) end for idx = 3 , 12 do pat:remove_frame(550,2,3) end for idx = 2 , 3 do pat:split_frame(550,1,0,1,1) end pat:update_frame(550,0,0, { tex_index = 507 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(550,0,1, { tex_index = 508 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(550,0,2, { tex_index = 509 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(550,0,3, { tex_index = 510 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(550,0,4, { tex_index = 511 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(550,0,5, { tex_index = 512 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(550,0,6, { tex_index = 513 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(550,0,7, { tex_index = 509 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(550,1,0, { tex_index = 510 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 5 , fflags = 0x00000001 }) pat:update_frame(550,1,1, { tex_index = 511 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 5 , fflags = 0x00000021 }) pat:update_frame(550,1,2, { tex_index = 512 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 5 , fflags = 0x00200021 }) pat:update_frame(550,1,3, { tex_index = 513 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 5 , fflags = 0x00200021 }) pat:update_frame(550,2,0, { tex_index = 514 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 , fflags = 0x00200021 }) pat:update_frame(550,2,1, { tex_index = 515 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 , fflags = 0x00200021 }) pat:update_frame(550,2,2, { tex_index = 516 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 , fflags = 0x00200021 }) --[[ pat:split_frame(550,0,0,2,2) pat:split_frame(550,0,0,2,2) pat:update_frame(550,0,0, { tex_index = 438 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(550,0,1, { tex_index = 439 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(550,0,2, { tex_index = 440 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(550,0,3, { tex_index = 441 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(550,1,0, { tex_index = 442 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(400,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(550,1,1, { tex_index = 442 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(400,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(550,2,0, { tex_index = 442 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(400,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(550,2,1, { tex_index = 442 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(400,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(550,2,2, { tex_index = 442 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(400,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(550,2,3, { tex_index = 443 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(400,0,7).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(550,2,4, { tex_index = 444 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(400,0,7).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(550,2,5, { tex_index = 443 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(400,0,7).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(550,2,6, { tex_index = 444 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(400,0,7).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(550,2,7, { tex_index = 443 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(400,0,7).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(550,2,8, { tex_index = 442 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(400,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(550,2,9, { tex_index = 441 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(550,2,10, { tex_index = 440 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(550,2,11, { tex_index = 439 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(550,2,12, { tex_index = 438 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision })]]-- for idx = 2 , 7 do pat:split_frame(551,0,0,2,2) end for idx = 3 , 12 do pat:remove_frame(551,2,3) end for idx = 2 , 3 do pat:split_frame(551,1,0,1,1) end pat:update_frame(551,0,0, { tex_index = 507 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(551,0,1, { tex_index = 508 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(551,0,2, { tex_index = 509 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(551,0,3, { tex_index = 510 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(551,0,4, { tex_index = 511 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(551,0,5, { tex_index = 512 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(551,0,6, { tex_index = 513 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(551,0,7, { tex_index = 509 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(551,1,0, { tex_index = 510 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 5 , fflags = 0x00000001 }) pat:update_frame(551,1,1, { tex_index = 511 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 5 , fflags = 0x00000021 }) pat:update_frame(551,1,2, { tex_index = 512 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 5 , fflags = 0x00200021 }) pat:update_frame(551,1,3, { tex_index = 513 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 5 , fflags = 0x00200021 }) pat:update_frame(551,2,0, { tex_index = 514 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 , fflags = 0x00200021 }) pat:update_frame(551,2,1, { tex_index = 515 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 , fflags = 0x00200021 }) pat:update_frame(551,2,2, { tex_index = 516 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 , fflags = 0x00200021 }) baseY = 256+6 for idx = 2 , 7 do pat:split_frame(552,0,0,2,2) end for idx = 3 , 12 do pat:remove_frame(552,2,3) end for idx = 2 , 3 do pat:split_frame(552,1,0,1,1) end pat:update_frame(552,0,0, { tex_index = 507 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision , duration = 3 }) pat:update_frame(552,0,1, { tex_index = 508 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision , duration = 3 }) pat:update_frame(552,0,2, { tex_index = 509 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision , duration = 3 }) pat:update_frame(552,0,3, { tex_index = 510 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision , duration = 3 }) pat:update_frame(552,0,4, { tex_index = 511 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision , duration = 3 }) pat:update_frame(552,0,5, { tex_index = 512 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision , duration = 3 }) pat:update_frame(552,0,6, { tex_index = 513 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision , duration = 3 }) pat:update_frame(552,0,7, { tex_index = 509 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision , duration = 3 }) pat:update_frame(552,1,0, { tex_index = 510 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision , duration = 5 , fflags = 0x00000001 }) pat:update_frame(552,1,1, { tex_index = 511 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision , duration = 5 , fflags = 0x00000021 }) pat:update_frame(552,1,2, { tex_index = 512 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision , duration = 5 , fflags = 0x00200021 }) pat:update_frame(552,1,3, { tex_index = 513 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision , duration = 5 , fflags = 0x00200021 }) pat:update_frame(552,2,0, { tex_index = 514 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision , duration = 4 , fflags = 0x00200021 }) pat:update_frame(552,2,1, { tex_index = 515 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision , duration = 4 , fflags = 0x00200021 }) pat:update_frame(552,2,2, { tex_index = 516 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision , duration = 4 , fflags = 0x00200021 }) baseY = 256 pat:split_frame(552,3,0,2,2) pat:split_frame(552,3,0,2,2) pat:update_frame(552,3,0, { tex_index = 618 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(1,0,4).hurtbox , collision = pat:get_frame(3,0,0).collision , duration = 3 }) pat:update_frame(552,3,1, { tex_index = 506 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(1,0,3).hurtbox , collision = pat:get_frame(3,0,1).collision , duration = 3 }) pat:update_frame(552,3,2, { tex_index = 505 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(1,0,2).hurtbox , collision = pat:get_frame(3,0,2).collision , duration = 3 }) pat:update_frame(552,3,3, { tex_index = 504 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(3,0,3).collision , duration = 3 }) pat:update_frame(552,3,4, { tex_index = 503 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(3,0,4).collision , duration = 3 }) baseY = 256+6 for idx = 2 , 7 do pat:split_frame(553,0,0,2,2) end for idx = 3 , 12 do pat:remove_frame(553,2,3) end for idx = 2 , 3 do pat:split_frame(553,1,0,1,1) end pat:update_frame(553,0,0, { tex_index = 507 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision , duration = 3 }) pat:update_frame(553,0,1, { tex_index = 508 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision , duration = 3 }) pat:update_frame(553,0,2, { tex_index = 509 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision , duration = 3 }) pat:update_frame(553,0,3, { tex_index = 510 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision , duration = 3 }) pat:update_frame(553,0,4, { tex_index = 511 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision , duration = 3 }) pat:update_frame(553,0,5, { tex_index = 512 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision , duration = 3 }) pat:update_frame(553,0,6, { tex_index = 513 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision , duration = 3 }) pat:update_frame(553,0,7, { tex_index = 509 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision , duration = 3 }) pat:update_frame(553,1,0, { tex_index = 510 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision , duration = 5 , fflags = 0x00000001 }) pat:update_frame(553,1,1, { tex_index = 511 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision , duration = 5 , fflags = 0x00000021 }) pat:update_frame(553,1,2, { tex_index = 512 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision , duration = 5 , fflags = 0x00200021 }) pat:update_frame(553,1,3, { tex_index = 513 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision , duration = 5 , fflags = 0x00200021 }) pat:update_frame(553,2,0, { tex_index = 514 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision , duration = 4 , fflags = 0x00200021 }) pat:update_frame(553,2,1, { tex_index = 515 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision , duration = 4 , fflags = 0x00200021 }) baseY = 256 pat:split_frame(553,3,0,2,2) pat:split_frame(553,3,0,2,2) pat:update_frame(553,3,0, { tex_index = 618 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(1,0,4).hurtbox , collision = pat:get_frame(3,0,0).collision , duration = 3 }) pat:update_frame(553,3,1, { tex_index = 506 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(1,0,3).hurtbox , collision = pat:get_frame(3,0,1).collision , duration = 3 }) pat:update_frame(553,3,2, { tex_index = 505 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(1,0,2).hurtbox , collision = pat:get_frame(3,0,2).collision , duration = 3 }) pat:update_frame(553,3,3, { tex_index = 504 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(3,0,3).collision , duration = 3 }) pat:update_frame(553,3,4, { tex_index = 503 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(3,0,4).collision , duration = 3 }) pat:get_sequence(550,1):set_looped(false) pat:get_sequence(551,1):set_looped(false) pat:get_sequence(552,1):set_looped(false) pat:get_sequence(553,1):set_looped(false) pat:update_frame(822,0,0,{tex_index = 201 }) pat:update_frame(822,1,0,{tex_index = 195}) pat:update_frame(822,1,1,{tex_index = 195}) pat:update_frame(822,5,0,{tex_w = 0}) pat:update_frame(822,5,1,{tex_w = 0}) pat:update_frame(822,10,0,{tex_index = 201}) --effect is instead on 817,1 end function mods.s1sc_artificial(pat) local baseX = 112 local baseY = 256 local baseW = 128 local baseH = 128 pat:split_frame(606,0,0,2,2) pat:split_frame(606,0,0,2,2) pat:split_frame(606,0,0,2,2) pat:update_frame(606,0,0, { tex_index = 473 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+28 , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(606,0,1, { tex_index = 474 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+28 , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(606,0,2, { tex_index = 475 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+28 , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(606,0,3, { tex_index = 476 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+20 , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(606,0,4, { tex_index = 477 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+10 , tex_offset_y = baseY , hurtbox = pat:get_frame(411,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(606,1,0, {tex_index = 478 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(411,0,5).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(606,1,1, {tex_index = 478 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(411,0,5).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(606,1,2, {tex_index = 478 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(411,0,5).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(606,1,3, {tex_index = 478 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(411,0,5).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(606,1,4, {tex_index = 478 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(411,0,5).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(606,1,5, {tex_index = 478 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(411,0,5).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(606,1,6, {tex_index = 478 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(411,0,5).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(606,1,7, {tex_index = 478 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(411,0,5).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(606,1,8, {tex_index = 478 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(411,0,5).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(606,1,9, {tex_index = 478 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(411,0,5).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(606,2,0, {tex_index = 478 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(411,0,5).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 1 }) pat:update_frame(606,2,1, {tex_index = 478 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(411,0,5).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 1 }) pat:update_frame(606,2,2, {tex_index = 478 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(411,0,5).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 1 }) pat:update_frame(606,2,3, {tex_index = 478 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(411,0,5).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 1 }) pat:update_frame(606,3,0, {tex_index = 627 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(411,0,5).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(606,3,1, {tex_index = 628 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(411,0,5).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(606,4,0, {tex_index = 627 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(411,0,5).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(606,4,1, {tex_index = 628 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(411,0,5).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(606,4,2, {tex_index = 627 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(411,0,5).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(606,4,3, {tex_index = 628 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(411,0,5).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(606,4,4,{tex_index = 478 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(411,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 5 }) pat:update_frame(606,4,5,{tex_index = 478 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(411,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 5 }) pat:update_frame(606,4,6,{tex_index = 478 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(411,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 5 }) pat:update_frame(606,4,7,{tex_index = 481 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(411,0,6).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 5 }) for idx = 1 , 1 do pat:remove_frame(856,4,1) end for idx = 0 , 59 do pat:split_frame(856,4,0,1,1) end for idx = 0 , 60 do pat:update_frame(856,4,idx,function(frame) if (idx < 4) then frame.tex_index = 207 + idx end if (idx <= 62) then frame.tex_index = 207+4 + idx%11 end frame.tex_w = 0 frame.tex_h = 480 frame.tex_offset_x = 320 frame.tex_offset_y = 240 frame.angle_z = 0 frame.scale_x = 100 frame.scale_y = 25 end) end pat:remove_frame(856,0,1) for idx = 0 , 398 do pat:split_frame(856,0,0,1,1) end for idx = 0 , 399 do pat:update_frame(856,0,idx,function(frame) if (idx > 4) then frame.tex_index = 115 +2 + idx%4 else frame.tex_index = 115+idx%2 end frame.tex_w = 640 frame.tex_h = 240 frame.tex_offset_x = 160 frame.tex_offset_y = 110 frame.angle_z = -3*idx frame.damage = 400 frame.chip_damage = 40 frame.sp_damage = 13 frame.proration = 950 frame.hitstop_enemy = 10 frame.launch_vector_x = 1500 frame.launch_vector_y = 500 frame.scale_x = 1500-idx*100 if (frame.scale_x < 300) then frame.scale_x = 300 end frame.scale_y = 300 frame.attackbox[1] = pat:get_frame(0,0,0).hurtbox[1] frame.attackbox[1].x1 = -40 frame.attackbox[1].x2 = 2500 if (idx < 60) then frame.attackbox[1].y1 = -idx +20 frame.attackbox[1].y2 = idx +20 elseif (idx < 120) then frame.attackbox[1].y1 = -90 +25 frame.attackbox[1].y2 = 90 +25 elseif (idx < 180) then frame.attackbox[1].y1 = -120 +30 frame.attackbox[1].y2 = 120 +30 elseif (idx < 240) then frame.attackbox[1].y1 = -150 +35 frame.attackbox[1].y2 = 150 +35 elseif (idx < 300) then frame.attackbox[1].y1 = -180 +40 frame.attackbox[1].y2 = 180 +40 else frame.attackbox[1].y1 = -210 +45 frame.attackbox[1].y2 = 210 +45 end frame.attackbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.attackbox[2].x1 = -idx*1.5 frame.attackbox[2].x2 = idx*1.5 frame.attackbox[2].y1 = frame.attackbox[1].y1 - 20 frame.attackbox[2].y2 = frame.attackbox[1].y2 + 20 end) end end function mods.s2sc_visor(pat) local baseX = 112 local baseY = 256 local baseW = 128 local baseH = 128 pat:update_frame(613,0,0, { tex_index = 447 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(613,0,1, { tex_index = 447 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(613,0,2, { tex_index = 448 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(613,1,0, { tex_index = 448 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(613,1,1, { tex_index = 448 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(613,1,2, { tex_index = 448 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(613,1,3, { tex_index = 448 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(613,1,4, { tex_index = 448 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(613,1,5, { tex_index = 448 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(613,1,6, { tex_index = 448 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(613,1,7, { tex_index = 448 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(613,1,8, { tex_index = 448 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(613,1,9, { tex_index = 448 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(613,2,0, { tex_index = 449 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(613,2,1, { tex_index = 450 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(613,2,2, { tex_index = 451 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(613,2,3, { tex_index = 451 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 14 }) pat:update_frame(613,2,4, { tex_index = 452 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(613,2,5, { tex_index = 452 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) pat:update_frame(613,2,6, { tex_index = 447 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) for idx = 0 , 8 do pat:update_frame(863,0,idx,function(frame) frame.tex_index = 282 frame.tex_w = 0 frame.tex_h = 64 frame.tex_offset_x = 32 frame.tex_offset_y = 32 frame.scale_x = 25*idx frame.scale_y = 25*idx end) end for idx = 1 , 8 do pat:remove_frame(863,0,1) end for idx = 1 , 8 do pat:remove_frame(863,3,1) end pat:update_frame(863,3,0,{tex_w = 0}) pat:update_frame(863,2,0,{tex_w = 0}) for idx = 9 , 189 do pat:split_frame(863,1,0,1,1) end for idx = 0 , 189 do pat:update_frame(863,1,idx,function(frame) frame.tex_index = 282 + idx%5 frame.tex_w = 64 frame.tex_h = 64 frame.tex_offset_x = 32 frame.tex_offset_y = 32 local scal = 100 if (idx < 40) then scal = 80 elseif (idx < 80) then scal = 120 elseif (idx < 120) then scal = 160 else scal = 200 end frame.scale_x = scal frame.scale_y = scal local ymod = 0 local xmod = -200 if (idx > 128 and idx <= 132) then frame.tex_index = 274 + idx-129 frame.tex_w = 1024 frame.tex_h = 128 frame.tex_offset_x = 32 frame.tex_offset_y = 64 frame.scale_x = 200 frame.scale_y = 200 end if (idx > 174 and idx <= 178) then frame.tex_index = 274 + (178-idx) frame.tex_w = 1024 frame.tex_h = 128 frame.tex_offset_x = 32 frame.tex_offset_y = 64 frame.scale_x = 200 frame.scale_y = 200 end if (idx >= 179) then frame.tex_index = 282 + idx%5 frame.tex_w = 64 frame.tex_h = 64 frame.tex_offset_x = 32 frame.tex_offset_y = 32 frame.scale_x = 200 frame.scale_y = 200 frame.duration = 20 end if (idx > 132 and idx <= 174) then frame.tex_index = 278 + idx%4 frame.tex_w = 1024 frame.tex_h = 128 frame.tex_offset_x = 32 frame.tex_offset_y = 64 frame.scale_x = 200 frame.scale_y = 200 frame.attackbox[3] = null frame.attackbox[2] = null frame.attackbox[1].x1 = 0 frame.attackbox[1].x2 = 4000 frame.attackbox[1].y1 = -80 frame.attackbox[1].y2 = 80 frame.damage = 500 frame.limit = 5 frame.proration = 900 frame.attack_level = AL_HEAVY frame.blockstop_enemy = 10 frame.hitstop_enemy = 10 frame.sp_damage = 50 frame.hit_ani_ground = 74 frame.hit_ani_air = 74 frame.launch_vector_x = 2500 frame.launch_vector_y = 1500 frame.untech = 45 set_aflag(frame,AF_COUNTER_HIT) frame.hit_sfx = 9 frame.hit_effect = 7 else frame.attackbox = pat:get_frame(0,0,0).attackbox end local scalemod = 100/frame.scale_x frame.tex_offset_y = frame.tex_offset_y - (ymod)*scalemod frame.tex_offset_x = frame.tex_offset_x - (xmod)*scalemod if (idx > 132 and idx <= 174) then frame.attackbox[1].x1 = frame.attackbox[1].x1 + (xmod) frame.attackbox[1].x2 = frame.attackbox[1].x2 + (xmod) frame.attackbox[1].y1 = frame.attackbox[1].y1 + (ymod) frame.attackbox[1].y2 = frame.attackbox[1].y2 + (ymod) end frame.hurtbox = frame.attackbox end) end end function mods.s2sc_tokamak(pat) local baseX = 112 local baseY = 256 local baseW = 128 local baseH = 128 pat:remove_frame(611,0,17) pat:remove_frame(611,0,16) pat:remove_frame(611,0,15) pat:remove_frame(611,0,14) pat:split_frame(611,1,0,1,1) pat:split_frame(611,1,0,1,1) pat:update_frame(611,0,0, { tex_index = 542 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) pat:update_frame(611,0,1, { tex_index = 542 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) pat:update_frame(611,0,2, { tex_index = 543 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duratiaon = 2 }) pat:update_frame(611,0,3, { tex_index = 543 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) pat:update_frame(611,0,4, { tex_index = 544 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(611,0,5, { tex_index = 544 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(611,0,6, { tex_index = 544 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(611,0,7, { tex_index = 544 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(611,0,8, { tex_index = 544 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(611,0,9, { tex_index = 544 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(611,0,10, { tex_index = 544 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(611,0,11, { tex_index = 544 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(611,0,12, { tex_index = 544 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) --pat:update_frame(611,0,13, { tex_index = 544 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(611,0,13, { tex_index = 545 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(611,1,0, { tex_index = 568 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(611,1,1, { tex_index = 569 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(611,1,2, { tex_index = 570 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(611,1,3, { tex_index = 571 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:remove_frame(611,2,4) pat:remove_frame(611,2,3) pat:remove_frame(611,2,2) pat:update_frame(611,2,0, { tex_index = 568 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(611,2,1, { tex_index = 550 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) for idx = 4 , 14 do pat:remove_frame(861,1,4) end for idx = 0 , 3 do pat:update_frame(861,1,idx,function(frame) unset_aflag(frame,AF_PROJECTILE) frame.attackbox[1].x1 = -80 frame.attackbox[1].x2 = 80 frame.attackbox[1].y1 = -80 frame.attackbox[1].y2 = 80 frame.attackbox[2].x1 = frame.attackbox[1].x1 - 30 frame.attackbox[2].x2 = frame.attackbox[1].x2 + 30 frame.attackbox[2].y1 = frame.attackbox[1].y1 + 30 frame.attackbox[2].y2 = frame.attackbox[1].y2 - 30 frame.attackbox[3].x1 = frame.attackbox[1].x1 + 30 frame.attackbox[3].x2 = frame.attackbox[1].x2 - 30 frame.attackbox[3].y1 = frame.attackbox[1].y1 - 30 frame.attackbox[3].y2 = frame.attackbox[1].y2 + 30 frame.duration = 200 if (idx == 0) then frame.attackbox = pat:get_frame(0,0,0).attackbox frame.duration = 15 end frame.tex_w = 0 end) end pat:split_frame(861,6,1,1,1) pat:split_frame(861,6,0,1,1) baseX = 64 baseY = 64 pat:update_frame(861,6,0, { tex_index = 538 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(861,6,1, { tex_index = 539 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(861,6,2, { tex_index = 540 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(861,6,3, { tex_index = 541 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox }) for idx = 0 , 3 do pat:update_frame(861,6,idx,function(frame) frame.scale_x = 300 frame.scale_y = 300 frame.blending_mode = 0 end) end pat:update_frame(861,3,0,{tex_index = 86 , tex_w = 128 , tex_h = 128 , tex_offset_x = 64 , tex_offset_y = 64 , color_r = 50 , color_g = 50 , color_b = 50 }) pat:update_frame(861,7,0,{tex_w = 0}) pat:update_frame(861,7,0,{tex_w = 0}) pat:update_frame(861,4,0, { tex_index = 101 , tex_w = 128 , tex_h = 128 , tex_offset_x = 64 , tex_offset_y = 64 }) pat:update_frame(861,4,1, { tex_index = 101 , tex_w = 128 , tex_h = 128 , tex_offset_x = 64 , tex_offset_y = 64 }) end function mods.s3sc_blade(pat) local baseX = 112 local baseY = 256 local baseW = 128 local baseH = 128 pat:update_frame(608,0,0, { tex_index = 593 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(302,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 , fflags = 0x00000441 }) pat:update_frame(608,0,1, { tex_index = 594 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(302,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 , fflags = 0x00000441 }) pat:update_frame(608,0,2, { tex_index = 595 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(200,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 , fflags = 0x00000441 }) for idx = 3 , 12 do pat:update_frame(608,0,idx, { tex_index = 595 , tex_w = 0 , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(200,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) end pat:update_frame(608,0,11,{duration = 1}) pat:update_frame(608,0,12,{duration = 1}) pat:update_frame(608,0,13, { tex_index = 595 , tex_w = 0 , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(200,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 1 , fflags = 0x00000441 }) pat:update_frame(608,0,14, { tex_index = 595 , tex_w = 0 , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(200,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 1 , fflags = 0x00000441 }) pat:update_frame(608,0,15, { tex_index = 595 , tex_w = 0 , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(200,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 1 , fflags = 0x00000441 }) pat:update_frame(608,1,0, { tex_index = 595 , tex_w = 0 , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(200,0,2).hurtbox , attackbox = pat:get_frame(0,0,0).attackbox , collision = pat:get_frame(0,0,0).collision , duration = 100 , fflags = 0x00000441 }) pat:update_frame(608,1,1, { tex_index = 595 , tex_w = 0 , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(200,0,2).hurtbox , attackbox = pat:get_frame(0,0,0).attackbox , collision = pat:get_frame(0,0,0).collision , duration = 100 , fflags = 0x00000441 }) pat:update_frame(608,1,2, { tex_index = 595 , tex_w = 0 , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(200,0,2).hurtbox , attackbox = pat:get_frame(0,0,0).attackbox , collision = pat:get_frame(0,0,0).collision , duration = 100 , fflags = 0x00000441 }) pat:update_frame(608,2,0, { tex_index = 595 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(200,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 , fflags = 0x00000441 }) pat:update_frame(608,2,1, { tex_index = 594 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(302,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 , fflags = 0x00000441 }) baseX = 112+256 baseW = 256 pat:split_frame(608,3,0,4,4) pat:split_frame(608,3,0,4,4) pat:split_frame(608,3,0,4,4) pat:update_frame(608,2,2, { tex_index = 467 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(410,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 , fflags = 0x00000441 }) pat:update_frame(608,3,0, { tex_index = 468 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(410,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 , fflags = 0x00000441 }) pat:update_frame(608,3,1, { tex_index = 469 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(410,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(608,3,2, { tex_index = 470 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(410,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(608,3,3, { tex_index = 471 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(410,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(608,3,4, { tex_index = 472 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(410,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(608,4,0, { tex_index = 460 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(410,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 10+10 }) pat:update_frame(608,4,1, { tex_index = 461 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(410,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(608,4,2, { tex_index = 462 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(608,4,3, { tex_index = 463 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) for idx = 0 , 3 do pat:update_frame(858,0,idx,{tex_w = 0}) end pat:update_frame(858,1,0,{tex_index = 201}) pat:remove_frame(858,2,1) pat:update_frame(858,2,0,function(frame) frame.tex_index = 101 frame.duration = 1 frame.tex_w = 128 frame.tex_h = 128 frame.tex_offset_x = 64 frame.tex_offset_y = 64 frame.scale_x = 50 frame.scale_y = 50 end) for idx = 8 , 19 do pat:split_frame(858,3,0,2,2) end for idx = 0 , 19 do pat:update_frame(858,3,idx,function(frame) if (idx <= 7 ) then frame.tex_index = 159 + idx else frame.tex_index = 245 + idx-8 end frame.duration = 2 frame.tex_w = 256 frame.tex_h = 256 frame.tex_offset_x = 48 frame.tex_offset_y = 112 frame.scale_x = 200 frame.scale_y = 200 unset_aflag(frame,AF_PROJECTILE) set_aflag(frame,AF_COUNTER_HIT) frame.blockstop_enemy = 10 frame.hitstop_enemy = 10 frame.damage = 3000 frame.chip_damage = 300 frame.limit = 40 frame.untech = 45 frame.attack_level = AL_HEAVY frame.combo_correction = CC_SMASH_ATTACK frame.sp_damage = 200 frame.launch_vector_x = 2450 frame.launch_vector_y = 1000 frame.proration = 800 for idx = 1 , 2 do frame.attackbox[idx].y1 = frame.attackbox[idx].y1 + 32 frame.attackbox[idx].y2 = frame.attackbox[idx].y2 + 32 end frame.attackbox[3]=null if (idx > 3) then frame.attackbox = pat:get_frame(0,0,0).attackbox end if (idx > 15) then frame.tex_w = 0 frame.duration = 200 end end) end end function mods.s3sc_mega(pat) local baseX = 112 local baseY = 256-32 local baseW = 128 local baseH = 128 pat:update_frame(600,0,0, { tex_index = 62 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(600,0,1, { tex_index = 63 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(308,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(600,0,1,function(frame) for idx = 1 , 2 do frame.hurtbox[idx].y1 = frame.hurtbox[idx].y1 + 6 frame.hurtbox[idx].y2 = frame.hurtbox[idx].y2 + 6 end frame.hurtbox[2].y2 = 0 end) pat:update_frame(600,0,2, { tex_index = 64 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(600,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 5 }) pat:update_frame(600,0,3, { tex_index = 65 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(308,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 5 }) pat:update_frame(600,0,3,function(frame) for idx = 1 , 2 do frame.hurtbox[idx].y1 = frame.hurtbox[idx].y1 + 6 frame.hurtbox[idx].y2 = frame.hurtbox[idx].y2 + 6 end frame.hurtbox[2].y2 = 0 end) pat:update_frame(600,0,4, { tex_index = 65 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(600,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 5 }) for idx = 0 , 14 do pat:update_frame(600,1,idx, { tex_index = 66 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(600,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) end pat:update_frame(600,2,0, { tex_index = 67 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(308,1,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) pat:update_frame(600,2,0,function(frame) for idx = 1 , 2 do frame.hurtbox[idx].y1 = frame.hurtbox[idx].y1 + 6 frame.hurtbox[idx].y2 = frame.hurtbox[idx].y2 + 6 end frame.hurtbox[2].y2 = 0 end) pat:update_frame(600,2,1, { tex_index = 68 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(600,2,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) pat:update_frame(600,2,2, { tex_index = 70 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(308,1,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(600,2,2,function(frame) for idx = 1 , 2 do frame.hurtbox[idx].y1 = frame.hurtbox[idx].y1 + 6 frame.hurtbox[idx].y2 = frame.hurtbox[idx].y2 + 6 end frame.hurtbox[2].y2 = 0 end) pat:update_frame(600,2,3, { tex_index = 71 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(600,2,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(600,2,4, { tex_index = 72 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(600,2,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(600,2,5, { tex_index = 82 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(600,2,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(600,2,6, { tex_index = 82 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(600,2,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(600,2,7, { tex_index = 82 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(600,2,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(600,2,8, { tex_index = 82 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(600,2,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(600,2,9, { tex_index = 82 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(600,2,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(600,2,10, { tex_index = 82 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(600,2,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(600,2,11, { tex_index = 82 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(600,2,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(600,2,12, { tex_index = 82 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(600,2,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 18 }) pat:update_frame(600,2,13, { tex_index = 83 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(600,2,14, { tex_index = 84 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) local baseX = 112 local baseY = 256-32+6 local baseW = 128 local baseH = 128 pat:update_frame(650,0,0, { tex_index = 62 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 4 }) pat:update_frame(650,0,1, { tex_index = 63 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(308,0,1).hurtbox , duration = 4 }) pat:update_frame(650,0,2, { tex_index = 64 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(308,0,1).hurtbox , duration = 5 }) pat:update_frame(650,0,3, { tex_index = 65 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(308,0,3).hurtbox , duration = 5 }) pat:update_frame(650,0,4, { tex_index = 65 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(308,0,3).hurtbox , duration = 5 }) for idx = 0 , 14 do pat:update_frame(650,1,idx, { tex_index = 66 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(308,0,3).hurtbox , duration = 4 }) end pat:update_frame(650,2,0, { tex_index = 67 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(308,1,0).hurtbox , duration = 2 }) pat:update_frame(650,2,1, { tex_index = 68 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(308,1,0).hurtbox , duration = 2 }) pat:update_frame(650,2,2, { tex_index = 70 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(308,1,2).hurtbox , duration = 3 }) pat:update_frame(650,2,3, { tex_index = 71 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(308,1,2).hurtbox , duration = 3 }) pat:update_frame(650,2,4, { tex_index = 72 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(308,1,2).hurtbox , duration = 3 }) pat:update_frame(650,2,5, { tex_index = 82 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(308,1,2).hurtbox , duration = 3 }) pat:update_frame(650,2,6, { tex_index = 82 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(308,1,2).hurtbox , duration = 3 }) pat:update_frame(650,2,7, { tex_index = 82 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(308,1,2).hurtbox , duration = 3 }) pat:update_frame(650,2,8, { tex_index = 82 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(308,1,2).hurtbox , duration = 3 }) pat:update_frame(650,2,9, { tex_index = 82 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(308,1,2).hurtbox , duration = 3 }) pat:update_frame(650,2,10, { tex_index = 82 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(308,1,2).hurtbox , duration = 3 }) pat:update_frame(650,2,11, { tex_index = 82 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(308,1,2).hurtbox , duration = 3 }) pat:update_frame(650,2,12, { tex_index = 82 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(308,1,2).hurtbox , duration = 18 }) pat:update_frame(650,2,13, { tex_index = 83 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 3 }) pat:update_frame(650,2,14, { tex_index = 84 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 3 }) for idx = 15 , 29 do pat:remove_frame(650,2,15) end baseY = 256 pat:split_frame(650,3,0,2,2) pat:update_frame(650,3,0, { tex_index = 618 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(1,0,4).hurtbox , collision = pat:get_frame(3,0,0).collision , duration = 3 }) pat:update_frame(650,3,1, { tex_index = 506 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(1,0,3).hurtbox , collision = pat:get_frame(3,0,1).collision , duration = 3 }) pat:update_frame(650,3,2, { tex_index = 505 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(1,0,2).hurtbox , collision = pat:get_frame(3,0,2).collision , duration = 3 }) pat:update_frame(650,3,3, { tex_index = 504 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(3,0,3).collision , duration = 3 }) pat:update_frame(650,3,4, { tex_index = 503 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(3,0,4).collision , duration = 3 }) for idx = 6 , 13 do pat:remove_frame(850,7,6) end for idx = 0 , 5 do pat:update_frame(850,7,idx,function(frame) frame.tex_index = 95 frame.tex_w = 256 frame.tex_h = 256 frame.tex_offset_x = 128 frame.tex_offset_y = 128 frame.angle_z = idx*30 frame.scale_x = 40 frame.scale_y = 40 frame.duration = 1 frame.blockstop_self = 0 frame.blockstop_enemy = 0 frame.hitstop_self = 0 frame.hitstop_enemy = 10 frame.damage = 600 frame.chip_damage = 150 frame.sp_damage = 40 end) end pat:update_frame(850,3,0,{tex_w = 0}) pat:update_frame(850,3,1,{tex_w = 0}) for idx = 0 , 1 do pat:update_frame(850,8,idx,function(frame) frame.tex_index = 86 frame.duration = 1 frame.tex_w = 128 frame.tex_h = 128 frame.tex_offset_x = 64 frame.tex_offset_y = 64 frame.scale_x = 50 frame.scale_y = 50 frame.color_r = 180 frame.color_b = 180 end) end for idx = 0 , 9 do pat:update_frame(850,4,idx,{tex_w = 0}) end for idx = 0 , 16 do pat:update_frame(850,5,idx,{tex_w = 0}) end for idx = 0 , 3 do pat:update_frame(850,6,idx,{tex_index = 201 , tex_w = 256 , tex_h = 256 , tex_offset_x = 128 , tex_offset_y = 128}) end end function mods.s3sc_onion(pat) local baseX = 112 local baseY = 256 local baseW = 128 local baseH = 128 pat:split_frame(603,0,0,2,2) pat:split_frame(603,0,0,2,2) pat:update_frame(603,0,0, { tex_index = 438 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) pat:update_frame(603,0,1, { tex_index = 439 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) pat:update_frame(603,0,2, { tex_index = 440 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) pat:update_frame(603,0,3, { tex_index = 441 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) for idx = 0 , 9 do pat:update_frame(603,1,idx, { tex_index = 442 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(400,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) end pat:update_frame(603,2,0, { tex_index = 442 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(400,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(603,3,0, { tex_index = 443 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(400,0,7).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(603,3,1, { tex_index = 444 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(400,0,7).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(603,3,2, { tex_index = 443 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(400,0,7).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(603,3,3, { tex_index = 444 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(400,0,7).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(603,3,4, { tex_index = 443 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(400,0,7).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(603,3,5, { tex_index = 444 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(400,0,7).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(603,3,6, { tex_index = 443 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(400,0,7).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 20 }) pat:update_frame(603,3,7, { tex_index = 442 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(400,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(603,3,8, { tex_index = 441 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(603,3,9, { tex_index = 440 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(603,3,10, { tex_index = 439 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(603,3,11, { tex_index = 438 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) baseY = 256+6 pat:split_frame(653,0,0,2,2) pat:split_frame(653,0,0,2,2) pat:update_frame(653,0,0, { tex_index = 438 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 2 }) pat:update_frame(653,0,1, { tex_index = 439 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 2 }) pat:update_frame(653,0,2, { tex_index = 440 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 2 }) pat:update_frame(653,0,3, { tex_index = 441 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 2 }) for idx = 0 , 9 do pat:update_frame(653,1,idx, { tex_index = 442 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,4).hurtbox }) end pat:update_frame(653,2,0, { tex_index = 442 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,4).hurtbox }) pat:update_frame(653,3,0, { tex_index = 443 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,7).hurtbox }) pat:update_frame(653,3,1, { tex_index = 444 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,7).hurtbox }) pat:update_frame(653,3,2, { tex_index = 443 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,7).hurtbox }) pat:update_frame(653,3,3, { tex_index = 444 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,7).hurtbox }) pat:update_frame(653,3,4, { tex_index = 443 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,7).hurtbox }) pat:update_frame(653,3,5, { tex_index = 444 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,7).hurtbox }) pat:update_frame(653,3,6, { tex_index = 443 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,7).hurtbox , duration = 20 }) pat:update_frame(653,3,7, { tex_index = 442 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,4).hurtbox }) pat:update_frame(653,3,8, { tex_index = 441 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(653,3,9, { tex_index = 440 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 4 }) pat:update_frame(653,3,10, { tex_index = 439 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(653,3,11, { tex_index = 438 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox }) baseY = 256 pat:split_frame(653,4,0,2,2) pat:update_frame(653,4,0, { tex_index = 618 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(1,0,4).hurtbox , collision = pat:get_frame(3,0,0).collision , duration = 3 }) pat:update_frame(653,4,1, { tex_index = 506 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(1,0,3).hurtbox , collision = pat:get_frame(3,0,1).collision , duration = 3 }) pat:update_frame(653,4,2, { tex_index = 505 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(1,0,2).hurtbox , collision = pat:get_frame(3,0,2).collision , duration = 3 }) pat:update_frame(653,4,3, { tex_index = 504 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(3,0,3).collision , duration = 3 }) pat:update_frame(653,4,4, { tex_index = 503 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(3,0,4).collision , duration = 3 }) pat:update_frame(853,0,0,function(frame) frame.tex_index = 87 frame.duration = 1 frame.tex_w = 128 frame.tex_h = 128 frame.tex_offset_x = 64 frame.tex_offset_y = 64 frame.scale_x = 200 frame.scale_y = 200 end) pat:update_frame(853,2,0,function(frame) frame.tex_index = 100 frame.duration = 1 frame.tex_w = 256 frame.tex_h = 256 frame.tex_offset_x = 128 frame.tex_offset_y = 128 frame.scale_x = 100 frame.scale_y = 100 frame.damage = 800 frame.chip_damage = 80 frame.blockstop_enemy = 5 frame.hitstop_enemy = 5 frame.sp_damage = 50 end) for idx = 0 , 9 do pat:split_frame(853,0,0,1,1) pat:split_frame(853,2,0,1,1) end for idx = 1 , 10 do pat:update_frame(853,0,idx,function(frame) local alpha = 255 - 25*idx frame.color_r = alpha frame.color_g = alpha frame.color_b = alpha if (idx == 10) then frame.tex_w = 0 frame.duration = 200 end end) pat:update_frame(853,2,idx,function(frame) local alpha = 255 - 25*idx frame.color_r = alpha frame.color_g = alpha frame.color_b = alpha if (idx > 4) then frame.attackbox = pat:get_frame(0,0,0).attackbox end if (idx == 10) then frame.tex_w = 0 frame.duration = 200 end end) end pat:update_frame(853,0,0,{duration = 100}) pat:update_frame(853,2,0,{duration = 100}) pat:update_frame(853,1,0,{tex_w = 0}) end function mods.s3sc_creeping(pat) local baseX = 112 local baseY = 256 local baseW = 128 local baseH = 128 pat:split_frame(605,0,1,3,3) pat:split_frame(605,0,1,3,3) pat:split_frame(605,0,1,3,3) pat:split_frame(605,0,1,3,3) pat:split_frame(605,0,1,3,3) pat:split_frame(605,0,1,3,3) --pat:split_frame(605,0,1,3,3) pat:split_frame(605,2,0,4,4) pat:update_frame(605,0,0, { tex_index = 42 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(605,0,1, { tex_index = 43 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(605,0,2, { tex_index = 44 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-32 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(605,0,2, { tex_index = 48 , tex_w = baseW , tex_h = baseH , tex_offset_x = 128 , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) baseY = 256-26 pat:update_frame(605,0,3, { tex_index = 531 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(605,0,4, { tex_index = 579 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(605,0,4,function(frame) frame.hurtbox[1].y1 = frame.hurtbox[1].y1 + 20 frame.hurtbox[1].x1 = frame.hurtbox[1].x1 + 15 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 + 15 frame.hurtbox[3].x1 = frame.hurtbox[1].x1 - 35 frame.hurtbox[3].x2 = frame.hurtbox[1].x2 + 35 frame.hurtbox[3].y1 = frame.hurtbox[3].y1 - 65 frame.hurtbox[3].y2 = frame.hurtbox[3].y2 - 45 frame.hurtbox[2] = frame.hurtbox[3] frame.hurtbox[3]=null end) pat:update_frame(605,0,5, { tex_index = 580 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(605,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(605,0,6, { tex_index = 581 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(605,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) --pat:update_frame(605,0,7, { tex_index = 582 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(605,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(605,0,7, { tex_index = 583 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(605,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) for idx = 0 , 9 do pat:update_frame(605,1,idx, { tex_index = 584 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(605,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) end pat:update_frame(605,2,0, { tex_index = 584 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(605,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(605,2,1, { tex_index = 585 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(605,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(605,2,2, { tex_index = 586 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(605,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) --pat:update_frame(605,3,0, { tex_index = 579 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY }) --pat:split_frame(605,3,0,1,1) pat:update_frame(605,3,0, { tex_index = 586 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(605,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 55 }) pat:update_frame(605,3,1, { tex_index = 531 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 5 }) baseY = 256 --pat:update_frame(605,3,2, { tex_index = 528 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 5 }) baseY = 256+6 pat:split_frame(655,0,1,3,3) pat:split_frame(655,0,1,3,3) pat:split_frame(655,0,1,3,3) pat:split_frame(655,0,1,3,3) pat:split_frame(655,0,1,3,3) pat:split_frame(655,0,1,3,3) --pat:split_frame(655,0,1,3,3) pat:split_frame(655,2,0,4,4) pat:update_frame(655,0,0, { tex_index = 42 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 3 }) pat:update_frame(655,0,1, { tex_index = 43 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 3 }) pat:update_frame(655,0,2, { tex_index = 44 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-32 , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 3 }) pat:update_frame(655,0,2, { tex_index = 48 , tex_w = baseW , tex_h = baseH , tex_offset_x = 128 , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox }) baseY = 256-26+6 pat:update_frame(655,0,3, { tex_index = 531 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(655,0,4, { tex_index = 579 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(605,0,4).hurtbox }) pat:update_frame(655,0,4,function(frame) for idx = 1 , 2 do frame.hurtbox[idx].y1 = frame.hurtbox[idx].y1 - 6 frame.hurtbox[idx].y2 = frame.hurtbox[idx].y2 - 6 end frame.hurtbox[1].y2 = frame.hurtbox[1].y2 - 20 end) pat:update_frame(655,0,5, { tex_index = 580 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(655,0,4).hurtbox }) pat:update_frame(655,0,6, { tex_index = 581 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(655,0,4).hurtbox }) --pat:update_frame(655,0,7, { tex_index = 582 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(655,0,4).hurtbox }) pat:update_frame(655,0,7, { tex_index = 583 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(655,0,4).hurtbox }) for idx = 0 , 9 do pat:update_frame(655,1,idx, { tex_index = 584 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(655,0,4).hurtbox }) end pat:update_frame(655,2,0, { tex_index = 584 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(655,0,4).hurtbox }) pat:update_frame(655,2,1, { tex_index = 585 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(655,0,4).hurtbox }) pat:update_frame(655,2,2, { tex_index = 586 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(655,0,4).hurtbox }) --pat:update_frame(605,3,0, { tex_index = 579 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY }) --pat:split_frame(655,3,0,1,1) pat:update_frame(655,3,0, { tex_index = 586 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(655,0,4).hurtbox , duration = 55 }) pat:update_frame(655,3,1, { tex_index = 531 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) baseY = 256+6 --pat:update_frame(655,3,2, { tex_index = 528 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) baseY = 256 pat:split_frame(655,4,0,2,2) pat:update_frame(655,4,0, { tex_index = 618 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(1,0,4).hurtbox , collision = pat:get_frame(3,0,0).collision , duration = 3 }) pat:update_frame(655,4,1, { tex_index = 506 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(1,0,3).hurtbox , collision = pat:get_frame(3,0,1).collision , duration = 3 }) pat:update_frame(655,4,2, { tex_index = 505 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(1,0,2).hurtbox , collision = pat:get_frame(3,0,2).collision , duration = 3 }) pat:update_frame(655,4,3, { tex_index = 504 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(3,0,3).collision , duration = 3 }) pat:update_frame(655,4,4, { tex_index = 503 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(3,0,4).collision , duration = 3 }) pat:update_frame(855,4,0,{tex_index = 195 , tex_w = 0 , tex_h = 256 , tex_offset_x = 128 +24 , tex_offset_y = 128 -64 , scale_x = 100 , scale_y = 100 }) pat:update_frame(855,4,1,{tex_index = 195 , tex_w = 0 , tex_h = 256 , tex_offset_x = 128 +24 , tex_offset_y = 128 -64 , scale_x = 100 , scale_y = 100 }) for idx = 2 , 11 do pat:remove_frame(605,3,2) pat:remove_frame(655,3,2) end for idx = 0 , 147 do pat:split_frame(855,0,0,1,1) end for idx = 0 , 149 do pat:update_frame(855,0,idx,function(frame) frame.tex_index = 287 + (idx/2)%3 --308 + idx%11 frame.tex_w = 128 frame.tex_h = 256 frame.tex_offset_x = 64 frame.tex_offset_y = 120 frame.angle_z = 90 -3*idx frame.scale_x = 3200 frame.scale_y = 200 frame.attackbox[1] = pat:get_frame(0,0,0).hurtbox[1] frame.attackbox[1].x1 = -120 -idx*1.1 -24 frame.attackbox[1].x2 = 120 +idx -24 frame.attackbox[1].y1 = -2400 frame.attackbox[1].y2 = 2400 if (idx == 0) then frame.attackbox = pat:get_frame(0,0,0).attackbox end frame.damage = 160 frame.chip_damage = 16 frame.sp_damage = 8 local idxa = idx-120 if (idxa > 10) then frame.tex_w = 0 frame.duration = 100 frame.attackbox = pat:get_frame(0,0,0).attackbox elseif (idxa > 0) then local alpha = 255-idxa*25 frame.color_r = alpha frame.color_g = alpha frame.color_b = alpha end end) end end function mods.s4sc_tensun(pat) local baseX = 70 local baseY = 256 local baseW = 128 local baseH = 128 --604 0 4 pat:update_frame(604,0,0, { tex_index = 73 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(302,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 , fflags = 0x00000041 }) pat:update_frame(604,0,1, { tex_index = 74 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(302,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 , fflags = 0x00000041 }) pat:update_frame(604,0,2, { tex_index = 75 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(302,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 , fflags = 0x00000041 }) pat:update_frame(604,0,3, { tex_index = 76 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(302,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 , fflags = 0x00000041 }) for idx = 4 , 13 do pat:update_frame(604,0,idx, { tex_index = 77 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(302,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) end pat:update_frame(604,0,14, { tex_index = 78 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(302,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 , fflags = 0x00000041 }) pat:update_frame(604,0,15, { tex_index = 79 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(302,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 , fflags = 0x00000041 }) pat:update_frame(604,0,16, { tex_index = 80 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(302,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 , fflags = 0x00000041 }) pat:update_frame(604,0,17, { tex_index = 81 , tex_w = 2*baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(302,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 , fflags = 0x00000041 }) pat:update_frame(604,1,0, { tex_index = 401 , tex_w = 2*baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(302,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 , fflags = 0x00000001 }) pat:update_frame(604,1,1, { tex_index = 402 , tex_w = 2*baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(302,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 , fflags = 0x00000001 }) pat:update_frame(604,1,2, { tex_index = 402 , tex_w = 2*baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(302,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 , fflags = 0x00000001 }) pat:update_frame(604,1,3, { tex_index = 402 , tex_w = 2*baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(302,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 , fflags = 0x00000001 }) for idx = 0 , 21 do pat:update_frame(604,2,idx, { tex_index = 402 , tex_w = 2*baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(302,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 , fflags = 0x00000001 }) end for idx = 0 , 8 do pat:update_frame(604,3,idx, { tex_index = 402 , tex_w = 2*baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(302,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) end pat:update_frame(604,3,9, { tex_index = 403 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(302,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4+2 }) pat:update_frame(604,3,10, { tex_index = 321 , tex_w = baseW , tex_h = baseH , tex_offset_x = 112 , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4+2 }) for idx = 16 , 21 do pat:remove_frame(604,2,16) end for idx = 1 , 8 do pat:remove_frame(604,3,1) end pat:update_frame(854,1,0,{tex_w = 0}) pat:update_frame(854,2,0,{tex_w = 0}) pat:update_frame(854,3,0,{tex_w = 0}) pat:update_frame(854,4,0,{tex_w = 0}) pat:update_frame(854,4,1,{tex_w = 0}) pat:remove_frame(854,0,1) pat:remove_frame(854,5,1) for idx = 0 , 98 do pat:split_frame(854,0,0,1,1) pat:split_frame(854,5,0,1,1) end for idx = 0 , 99 do pat:update_frame(854,0,idx,function(frame) frame.tex_index = 86 frame.duration = 1 frame.tex_w = 128 frame.tex_h = 128 frame.tex_offset_x = 64 frame.tex_offset_y = 64 frame.scale_x = 300 frame.scale_y = 300 frame.color_r = 180 frame.color_b = 180 local scalemod = 100/frame.scale_x local ymod = 0 + 2.5*idx local xmod = 200 frame.attackbox[3]=null frame.attackbox[2]=null frame.attackbox[1].x1 = -40 frame.attackbox[1].x2 = 40 frame.attackbox[1].y1 = -40 frame.attackbox[1].y2 = 40 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.limit = 5 frame.damage = 350 frame.chip_damage = 35 frame.sp_damage = 25 frame.launch_vector_x = 600 frame.launch_vector_y = 1000 frame.hitstop_enemy = 20 local idx0 = idx - 60 if (idx0>0) then local alpha = 255 - idx0*12 frame.color_r = alpha*.7 frame.color_b = alpha*.7 frame.color_g = alpha if (idx0 > 10) then frame.attackbox[1]=null end end if (idx0>20) then frame.tex_w = 0 frame.duration = 100 end end) pat:update_frame(854,5,idx,function(frame) frame.tex_index = 86 frame.duration = 1 frame.tex_w = 128 frame.tex_h = 128 frame.tex_offset_x = 64 frame.tex_offset_y = 64 frame.scale_x = 300 frame.scale_y = 300 frame.color_r = 180 frame.color_b = 180 local scalemod = 100/frame.scale_x local ymod = 0 + 2.5*idx local xmod = 200 frame.attackbox[1].x1 = -40 frame.attackbox[1].x2 = 40 frame.attackbox[1].y1 = -40 frame.attackbox[1].y2 = 40 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.limit = 5 frame.damage = 350 frame.chip_damage = 35 frame.sp_damage = 25 frame.launch_vector_x = 600 frame.launch_vector_y = 1000 frame.hitstop_enemy = 20 local idx0 = idx - 60 if (idx0>0) then local alpha = 255 - idx0*12 frame.color_r = alpha*.7 frame.color_b = alpha*.7 frame.color_g = alpha if (idx0 > 10) then frame.attackbox[1]=null end end if (idx0>20) then frame.tex_w = 0 frame.duration = 100 end end) end end function mods.s4sc_yatadive(pat) local baseX = 112 local baseY = 256 local baseW = 128 local baseH = 128 baseX = 70 pat:remove_frame(609,0,2) pat:remove_frame(609,0,1) --[[ pat:update_frame(609,0,0, { tex_index = 78 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(302,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 12 }) pat:update_frame(609,0,1, { tex_index = 80 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(302,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 6 }) pat:update_frame(609,0,1,function(frame) frame.attackbox = pat:get_frame(302,0,4).attackbox frame.blockstop_self = 10 frame.blockstop_enemy = 10 frame.hitstop_self = 10 frame.hitstop_enemy = 10 frame.launch_vector_x = 0 frame.launch_vector_y = -3000 frame.hit_ani_air = 88 frame.hit_ani_ground = 88 frame.hit_sfx = pat:get_frame(302,0,4).hit_sfx frame.hit_effect = 3 frame.untech = 6000 frame.limit = 0 frame.damage = 1000 frame.proration = 900 frame.sp_damage = 200 frame.combo_correction = CC_SMASH_ATTACK set_aflag(frame,AF_ATTACK_HIGH) set_aflag(frame,AF_HIGHBLOCK_OK) unset_aflag(frame,AF_ATTACK_LOW) unset_aflag(frame,AF_LOWBLOCK_OK) end) pat:update_frame(609,0,2, { tex_index = 81 , tex_w = 2*baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(302,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 })]]-- baseX = 112 pat:update_frame(609,0,0, { tex_index = 505 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(1,0,2).hurtbox , attackbox = pat:get_frame(0,0,0).attackbox , fflags = 0x00000044 , duration = 4 }) pat:update_frame(609,0,1, { tex_index = 387 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , attackbox = pat:get_frame(0,0,0).attackbox , fflags = 0x00000044 , duration = 4 }) pat:update_frame(609,0,2, { tex_index = 388 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , attackbox = pat:get_frame(0,0,0).attackbox , fflags = 0x00000044 , duration = 4 }) pat:update_frame(609,0,3, { tex_index = 391 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , attackbox = pat:get_frame(0,0,0).attackbox , fflags = 0x00000044 , duration = 4 }) pat:update_frame(609,0,4, { tex_index = 389 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , attackbox = pat:get_frame(0,0,0).attackbox , fflags = 0x00000044 , duration = 4 }) pat:update_frame(609,0,5, { tex_index = 390 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , attackbox = pat:get_frame(0,0,0).attackbox , fflags = 0x00000044 , duration = 4 }) pat:remove_frame(609,0,9) pat:remove_frame(609,0,8) pat:remove_frame(609,0,7) pat:remove_frame(609,0,6) baseY = 256+8 for idx = 0 , 9 do pat:update_frame(609,1,idx, { tex_index = 551 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 3 }) end pat:update_frame(609,2,0, { tex_index = 552 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 3 }) pat:update_frame(609,2,1, { tex_index = 553 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 3 }) pat:update_frame(609,3,0, { tex_index = 554 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(203,0,5).hurtbox , damage = 600 , chip_damage = 60 , duration = 3 }) pat:update_frame(609,3,0,function(frame) frame.attackbox[1] = frame.attackbox[3] frame.attackbox[3]=null frame.attackbox[2].x1 = frame.attackbox[2].x1 + 40 frame.attackbox[2].x2 = frame.attackbox[2].x2 - 60 frame.attackbox[2].y1 = frame.attackbox[2].y1 + 20 frame.attackbox[2].y2 = frame.attackbox[2].y2 + 20 end) pat:update_frame(609,3,1, { tex_index = 554 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(203,0,5).hurtbox , attackbox = pat:get_frame(609,3,0).attackbox , damage = 600 , chip_damage = 60 , duration = 3 }) baseY = 256 pat:remove_frame(609,4,6) pat:remove_frame(609,4,5) pat:update_frame(609,4,0, { tex_index = 618 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(1,0,4).hurtbox , collision = pat:get_frame(3,0,0).collision , duration = 8 }) pat:update_frame(609,4,1, { tex_index = 506 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(1,0,3).hurtbox , collision = pat:get_frame(3,0,1).collision , duration = 8 }) pat:update_frame(609,4,2, { tex_index = 505 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(1,0,2).hurtbox , collision = pat:get_frame(3,0,2).collision , duration = 8 }) pat:update_frame(609,4,3, { tex_index = 504 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(3,0,3).collision , duration = 8 }) pat:update_frame(609,4,4, { tex_index = 503 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(3,0,4).collision , duration = 8 }) baseY = 256 pat:update_frame(659,0,0, { tex_index = 391 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 3 }) pat:update_frame(659,0,1, { tex_index = 389 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 3 }) pat:update_frame(659,0,2, { tex_index = 390 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 3 }) pat:update_frame(659,0,3, { tex_index = 551 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 3 }) baseY = 256+8 for idx = 0 , 9 do pat:update_frame(659,1,idx, { tex_index = 551 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 3 }) end pat:update_frame(659,2,0, { tex_index = 552 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 3 }) pat:update_frame(659,2,1, { tex_index = 553 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 3 }) pat:update_frame(659,3,0, { tex_index = 554 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(203,0,5).hurtbox , attackbox = pat:get_frame(609,3,0).attackbox , damage = 600 , chip_damage = 60 , duration = 3 }) pat:update_frame(659,3,1, { tex_index = 554 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(203,0,5).hurtbox , attackbox = pat:get_frame(609,3,0).attackbox , damage = 600 , chip_damage = 60 , duration = 3 }) baseY = 256 pat:remove_frame(659,4,6) pat:remove_frame(659,4,5) pat:update_frame(659,4,0, { tex_index = 618 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(1,0,4).hurtbox , collision = pat:get_frame(3,0,0).collision , duration = 8 }) pat:update_frame(659,4,1, { tex_index = 506 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(1,0,3).hurtbox , collision = pat:get_frame(3,0,1).collision , duration = 8 }) pat:update_frame(659,4,2, { tex_index = 505 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(1,0,2).hurtbox , collision = pat:get_frame(3,0,2).collision , duration = 8 }) pat:update_frame(659,4,3, { tex_index = 504 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(3,0,3).collision , duration = 8 }) pat:update_frame(659,4,4, { tex_index = 503 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(3,0,4).collision , duration = 8 }) for idx = 1 , 9 do pat:remove_frame(859,1,1) pat:remove_frame(859,2,1) end pat:update_frame(859,1,0,{tex_w = 0 }) pat:update_frame(859,2,0,{tex_w = 0 }) for idx = 0 , 4 do pat:update_frame(859,0,idx,function(frame) frame.tex_index = 195 frame.tex_w = 256 frame.tex_h = 256 frame.tex_offset_x = 80 frame.tex_offset_y = 160 frame.scale_x = 100 frame.scale_y = 100 frame.duration = 1 end) end end function mods.s4sc_nukedive(pat) local baseX = 112 local baseY = 256 local baseW = 128 local baseH = 128 pat:split_frame(610,0,3,2,2) pat:split_frame(610,0,3,2,2) pat:update_frame(610,0,0, { tex_index = 43 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(610,0,1, { tex_index = 44 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 5 }) --pat:update_frame(505,0,3, { tex_index = 45 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 3 }) --pat:update_frame(505,0,4, { tex_index = 46 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 3 }) --pat:update_frame(505,0,5, { tex_index = 47 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 3 }) baseX = 128 baseY = 244 pat:update_frame(610,0,2, { tex_index = 48 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 35 }) pat:update_frame(610,0,3, { tex_index = 48 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(610,0,4, { tex_index = 49 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(610,0,5, { tex_index = 50 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(610,0,6, { tex_index = 537 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) pat:update_frame(610,1,0, { tex_index = 538 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , attackbox = pat:get_frame(505,1,0).attackbox , duration = 2 , damage = 350 , chip_damage = 35 , launch_vector_y = 1800 }) pat:update_frame(610,1,0,function(frame) for idx = 1 , 3 do frame.attackbox[idx].x1 = frame.attackbox[idx].x1 *1.5 frame.attackbox[idx].x2 = frame.attackbox[idx].x2 *1.5 frame.attackbox[idx].y1 = frame.attackbox[idx].y1 *1.5 frame.attackbox[idx].y2 = frame.attackbox[idx].y2 *1.5 frame.attackbox[idx].y1 = frame.attackbox[idx].y1 + 65 frame.attackbox[idx].y2 = frame.attackbox[idx].y2 + 65 end end) pat:update_frame(610,1,1, { tex_index = 539 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , attackbox = pat:get_frame(610,1,0).attackbox , duration = 2 , damage = 350 , chip_damage = 35 , launch_vector_y = 1800 }) pat:update_frame(610,1,2, { tex_index = 540 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , attackbox = pat:get_frame(610,1,0).attackbox , duration = 2 , damage = 350 , chip_damage = 35 , launch_vector_y = 1800 }) pat:update_frame(610,1,3, { tex_index = 541 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , attackbox = pat:get_frame(610,1,0).attackbox , duration = 2 , damage = 350 , chip_damage = 35 , launch_vector_y = 1800 }) pat:update_frame(610,2,0, { tex_index = 48 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 2 }) pat:update_frame(610,2,1, { tex_index = 49 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 2 }) --pat:update_frame(505,2,0, { tex_index = 50 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 2 }) --pat:update_frame(505,2,1, { tex_index = 537 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 2 }) baseX = 112 pat:update_frame(610,3,0, { tex_index = 50 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 3 }) pat:update_frame(610,3,1, { tex_index = 537 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 3 }) baseY=256+6 pat:update_frame(610,3,2, { tex_index = 44 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+6 , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 6 }) pat:update_frame(610,3,3, { tex_index = 43 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+6 , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 6 }) pat:update_frame(610,3,4, { tex_index = 42 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+6 , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 3 }) pat:update_frame(610,3,5, { tex_index = 42 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+6 , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 3 }) pat:update_frame(610,4,0, { tex_index = 391 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:update_frame(610,4,1, { tex_index = 388 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) baseX = 112 baseY = 256+6 pat:split_frame(660,0,3,2,2) pat:split_frame(660,0,3,2,2) pat:update_frame(660,0,0, { tex_index = 43 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 4 }) pat:update_frame(660,0,1, { tex_index = 44 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 5 }) --pat:update_frame(505,0,3, { tex_index = 45 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 3 }) --pat:update_frame(505,0,4, { tex_index = 46 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 3 }) --pat:update_frame(505,0,5, { tex_index = 47 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 3 }) baseX = 128 baseY = 244 pat:update_frame(660,0,2, { tex_index = 48 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 35 }) pat:update_frame(660,0,3, { tex_index = 48 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 4 }) pat:update_frame(660,0,4, { tex_index = 49 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 4 }) pat:update_frame(660,0,5, { tex_index = 50 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 3 }) pat:update_frame(660,0,6, { tex_index = 537 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbo , duration = 2 }) pat:update_frame(660,1,0, { tex_index = 538 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , attackbox = pat:get_frame(610,1,0).attackbox , duration = 2 , damage = 350 , chip_damage = 35 , launch_vector_y = 1800 }) pat:update_frame(660,1,1, { tex_index = 539 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , attackbox = pat:get_frame(610,1,0).attackbox , duration = 2 , damage = 350 , chip_damage = 35 , launch_vector_y = 1800 }) pat:update_frame(660,1,2, { tex_index = 540 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , attackbox = pat:get_frame(610,1,0).attackbox , duration = 2 , damage = 350 , chip_damage = 35 , launch_vector_y = 1800 }) pat:update_frame(660,1,3, { tex_index = 541 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , attackbox = pat:get_frame(610,1,0).attackbox , duration = 2 , damage = 350 , chip_damage = 35 , launch_vector_y = 1800 }) pat:update_frame(660,2,0, { tex_index = 48 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 2 }) pat:update_frame(660,2,1, { tex_index = 49 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 2 }) --pat:update_frame(505,2,0, { tex_index = 50 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 2 }) --pat:update_frame(505,2,1, { tex_index = 537 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 2 }) baseX = 112 pat:update_frame(660,3,0, { tex_index = 50 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 3 }) pat:update_frame(660,3,1, { tex_index = 537 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 3 }) baseY=256+6 pat:update_frame(660,3,2, { tex_index = 44 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+6 , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 6 }) pat:update_frame(660,3,3, { tex_index = 43 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+6 , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 6 }) pat:update_frame(660,3,4, { tex_index = 42 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+6 , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 3 }) pat:update_frame(660,3,5, { tex_index = 42 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+6 , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 3 }) pat:update_frame(660,4,0, { tex_index = 391 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:update_frame(660,4,1, { tex_index = 388 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) for idx = 1 , 9 do pat:remove_frame(860,0,1) end pat:update_frame(860,0,0,{tex_w = 0}) pat:update_frame(860,1,0,{tex_index = 201}) pat:update_frame(860,1,1,{tex_index = 201}) pat:update_frame(860,2,0,{tex_w = 0}) pat:update_frame(860,2,1,{tex_w = 0}) pat:split_frame(860,3,1,1,1) pat:update_frame(860,3,0,{scale_x = 100 , scale_y = 100 , tex_index = 95 , tex_w = 256 , tex_h = 256 , tex_offset_x = 128 , tex_offset_y = 128 , angle_z = 0 , duration = 2}) pat:update_frame(860,3,1,{scale_x = 100 , scale_y = 100 , tex_index = 95 , tex_w = 256 , tex_h = 256 , tex_offset_x = 128 , tex_offset_y = 128 , angle_z = 30 , duration = 2}) pat:update_frame(860,3,2,{scale_x = 100 , scale_y = 100 , tex_index = 95 , tex_w = 256 , tex_h = 256 , tex_offset_x = 128 , tex_offset_y = 128 , angle_z = 60 , duration = 2}) pat:split_frame(860,6,1,1,1) pat:update_frame(860,6,0,{scale_x = 100 , scale_y = 100 , tex_index = 95 , tex_w = 256 , tex_h = 256 , tex_offset_x = 128 , tex_offset_y = 128 , angle_z = 0 , duration = 2}) pat:update_frame(860,6,1,{scale_x = 100 , scale_y = 100 , tex_index = 95 , tex_w = 256 , tex_h = 256 , tex_offset_x = 128 , tex_offset_y = 128 , angle_z = 30 , duration = 2}) pat:update_frame(860,6,2,{scale_x = 100 , scale_y = 100 , tex_index = 95 , tex_w = 256 , tex_h = 256 , tex_offset_x = 128 , tex_offset_y = 128 , angle_z = 60 , duration = 2}) end function mods.s4sc_subsun(pat) local baseX = 112 local baseY = 256 local baseW = 128 local baseH = 128 pat:remove_frame(612,0,16) pat:remove_frame(612,0,15) for idx = 12 , 21 do pat:remove_frame(612,2,4) end for idx = 6 , 10 do --pat:remove_frame(612,3,6) end pat:update_frame(612,0,0, { tex_index = 542 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(612,0,1, { tex_index = 542 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(612,0,2, { tex_index = 543 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(612,0,3, { tex_index = 543 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(612,0,4, { tex_index = 544 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(612,0,5, { tex_index = 544 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(612,0,6, { tex_index = 544 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(612,0,7, { tex_index = 544 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(612,0,8, { tex_index = 544 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(612,0,9, { tex_index = 544 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(612,0,10, { tex_index = 544 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(612,0,11, { tex_index = 544 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(612,0,12, { tex_index = 544 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(612,0,13, { tex_index = 544 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(612,0,14, { tex_index = 545 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(612,1,0, { tex_index = 568 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(612,1,1, { tex_index = 569 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(612,1,2, { tex_index = 570 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(612,1,3, { tex_index = 571 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(612,2,0, { tex_index = 568 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(612,2,1, { tex_index = 569 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(612,2,2, { tex_index = 570 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(612,2,3, { tex_index = 571 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(612,2,4, { tex_index = 568 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(612,2,5, { tex_index = 569 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(612,2,6, { tex_index = 570 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(612,2,7, { tex_index = 571 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(612,2,8, { tex_index = 568 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(612,2,9, { tex_index = 569 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(612,2,10, { tex_index = 570 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(612,2,11, { tex_index = 571 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(612,3,0, { tex_index = 568 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(612,3,1, { tex_index = 569 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(612,3,2, { tex_index = 569 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(612,3,3, { tex_index = 569 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(612,3,4, { tex_index = 569 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(612,3,5, { tex_index = 569 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(612,3,6, { tex_index = 569 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(612,3,7, { tex_index = 569 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(612,3,8, { tex_index = 569 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(612,3,9, { tex_index = 568 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(612,3,10, { tex_index = 550 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:remove_frame(662,0,16) pat:remove_frame(662,0,15) for idx = 12 , 21 do pat:remove_frame(662,2,4) end for idx = 6 , 10 do --pat:remove_frame(612,3,6) end pat:update_frame(662,0,0, { tex_index = 542 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(662,0,1, { tex_index = 542 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(662,0,2, { tex_index = 542 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(662,0,3, { tex_index = 543 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(662,0,4, { tex_index = 543 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(662,0,5, { tex_index = 544 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(662,0,6, { tex_index = 544 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(662,0,7, { tex_index = 544 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(662,0,8, { tex_index = 544 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(662,0,9, { tex_index = 544 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(662,0,10, { tex_index = 544 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(662,0,11, { tex_index = 544 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(662,0,12, { tex_index = 544 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(662,0,13, { tex_index = 544 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(662,0,14, { tex_index = 544 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(662,0,15, { tex_index = 545 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox }) pat:update_frame(662,1,0, { tex_index = 568 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 4 }) pat:update_frame(662,1,1, { tex_index = 569 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 4 }) pat:update_frame(662,1,2, { tex_index = 570 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 4 }) pat:update_frame(662,1,3, { tex_index = 571 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 4 }) pat:update_frame(662,2,0, { tex_index = 568 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 4 }) pat:update_frame(662,2,1, { tex_index = 569 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 4 }) pat:update_frame(662,2,2, { tex_index = 570 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 4 }) pat:update_frame(662,2,3, { tex_index = 571 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 4 }) pat:update_frame(662,2,4, { tex_index = 568 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 4 }) pat:update_frame(662,2,5, { tex_index = 569 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 4 }) pat:update_frame(662,2,6, { tex_index = 570 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 4 }) pat:update_frame(662,2,7, { tex_index = 571 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 4 }) pat:update_frame(662,2,8, { tex_index = 568 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 4 }) pat:update_frame(662,2,9, { tex_index = 569 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 4 }) pat:update_frame(662,2,10, { tex_index = 570 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 4 }) pat:update_frame(662,2,11, { tex_index = 571 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 4 }) pat:update_frame(662,3,0, { tex_index = 568 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 4 }) pat:update_frame(662,3,1, { tex_index = 569 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 4 }) pat:update_frame(662,3,2, { tex_index = 569 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 4 }) pat:update_frame(662,3,3, { tex_index = 569 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 4 }) pat:update_frame(662,3,4, { tex_index = 569 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 4 }) pat:update_frame(662,3,5, { tex_index = 569 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 4 }) pat:update_frame(662,3,6, { tex_index = 569 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 4 }) pat:update_frame(662,3,7, { tex_index = 569 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 4 }) pat:update_frame(662,3,8, { tex_index = 569 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 4 }) pat:update_frame(662,3,9, { tex_index = 568 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 4 }) pat:update_frame(662,3,10, { tex_index = 550 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 2 }) pat:update_frame(662,3,11, { tex_index = 550 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 2 }) pat:update_frame(862,8,0,{tex_w = 0 , attackbox = pat:get_frame(0,0,0).attackbox}) pat:remove_frame(862,8,1) for idx = 1 , 16 do pat:remove_frame(862,9,1) end pat:update_frame(862,9,0,{tex_w = 0 , attackbox = pat:get_frame(0,0,0).attackbox}) pat:update_frame(862,7,0,{color_r = 0 , color_b = 0}) pat:update_frame(862,5,0,{color_r = 0 , color_b = 0}) pat:remove_frame(862,5,1) for idx = 15 , 699 do pat:split_frame(862,0,0,1,1) end for idx = 0 , 699 do pat:update_frame(862,0,idx,function(frame) frame.tex_index = 105 frame.tex_offset_x = 256 frame.tex_offset_y = 136 frame.tex_w = 512 frame.tex_h = 512 --332 frame.scale_x = 300 frame.scale_y = 300 frame.angle_z = -3*idx frame.blending_mode = 1 frame.attackbox = pat:get_frame(0,0,0).hurtbox frame.attackbox[1].x1 = - 280 frame.attackbox[1].x2 = 280 frame.attackbox[1].y1 = - 120 frame.attackbox[1].y2 = 700 frame.limit = 25 frame.damage = 500 frame.chip_damage = 50 frame.proration = 950 frame.sp_damage = 50 frame.hitstop_enemy = 10 frame.blockstop_enemy = 10 if (idx > 526) then frame.tex_w = 0 frame.attackbox = pat:get_frame(0,0,0).attackbox elseif (idx > 526 - 4) then local alpha = 255- (idx-(526-4)) * 50 --frame.color_r = alpha --frame.color_g = alpha --frame.color_b = alpha frame.scale_x = frame.scale_x*alpha/255 frame.attackbox = pat:get_frame(0,0,0).attackbox elseif (idx > 526 - 8) then frame.tex_index = 105 + 5 -( idx - (526-8)) frame.attackbox = pat:get_frame(0,0,0).attackbox elseif (idx > 526 - 42) then frame.tex_index = 105 + 5 frame.limit = 25 frame.damage = 1700 frame.chip_damage = 170 frame.sp_damage = 100 frame.hitstop_enemy = 10 frame.blockstop_enemy = 10 frame.attack_level = AL_HEAVY elseif (idx > 526 - 46) then frame.tex_index = 105 + idx - (526-46) frame.attackbox = pat:get_frame(0,0,0).attackbox else frame.attackbox = pat:get_frame(0,0,0).attackbox end end) end end function mods.s4sc_geyser(pat) local baseX = 112 local baseY = 256 local baseW = 128 local baseH = 128 for idx = 1 , 9 do pat:remove_frame(607,1,1) end pat:remove_frame(607,2,3) pat:remove_frame(607,2,2) pat:remove_frame(607,2,1) pat:split_frame(607,3,0,1,1) pat:split_frame(607,3,0,1,1) pat:split_frame(607,3,0,1,1) pat:split_frame(607,3,0,1,1) pat:split_frame(607,3,0,1,1) pat:split_frame(607,3,0,1,1) pat:split_frame(607,4,0,1,1) pat:update_frame(607,0,0, { tex_index = 507 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(607,0,1, { tex_index = 508 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(607,1,0, { tex_index = 508 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(607,2,0, { tex_index = 508 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 , fflags = 0x00007001 }) pat:update_frame(607,3,0, { tex_index = 508 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 , fflags = 0x00007001 }) pat:update_frame(607,3,1, { tex_index = 508 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 , fflags = 0x00007001 }) pat:update_frame(607,3,2, { tex_index = 508 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 , fflags = 0x00007001 }) pat:update_frame(607,3,3, { tex_index = 508 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 , fflags = 0x00007001 }) pat:update_frame(607,3,4, { tex_index = 508 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 , fflags = 0x00007001 }) pat:update_frame(607,3,5, { tex_index = 508 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 , fflags = 0x00007001 }) pat:update_frame(607,3,6, { tex_index = 508 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 , fflags = 0x00007001 }) pat:update_frame(607,3,7, { tex_index = 508 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 , fflags = 0x00007001 }) --[[ pat:update_frame(607,3,0, { tex_index = 510 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 , fflags = 0x00007001 }) pat:update_frame(607,3,1, { tex_index = 511 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 , fflags = 0x00007001 }) pat:update_frame(607,3,2, { tex_index = 512 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 , fflags = 0x00007001 }) pat:update_frame(607,3,3, { tex_index = 513 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 , fflags = 0x00007001 }) pat:update_frame(607,3,4, { tex_index = 510 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 , fflags = 0x00007001 }) pat:update_frame(607,3,5, { tex_index = 511 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 , fflags = 0x00007001 }) pat:update_frame(607,3,6, { tex_index = 512 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 , fflags = 0x00007001 }) pat:update_frame(607,3,7, { tex_index = 513 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 , fflags = 0x00007001 })]]-- pat:update_frame(607,4,0, { tex_index = 514 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(607,4,1, { tex_index = 515 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(607,4,2, { tex_index = 516 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) for idx = 0 , 1 do pat:split_frame(607,3,7,2,2) pat:split_frame(607,3,7,2,2) pat:split_frame(607,3,7,2,2) pat:split_frame(607,3,7,2,2) pat:split_frame(607,3,7,2,2) pat:update_frame(607,3,8, { tex_index = 509 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 , fflags = 0x00000001 }) pat:update_frame(607,3,9, { tex_index = 510 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 , fflags = 0x00000001 }) pat:update_frame(607,3,10, { tex_index = 511 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 , fflags = 0x00000001 }) pat:update_frame(607,3,11, { tex_index = 512 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 , fflags = 0x00000001 }) pat:update_frame(607,3,12, { tex_index = 513 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 , fflags = 0x00000001 }) end pat:get_sequence(607,3):set_looped(false) pat:update_frame(857,3,0,{tex_index = 418}) pat:update_frame(857,3,1,{tex_index = 418}) --pat:update_frame(857,4,0,{tex_w = 0}) --pat:update_frame(857,4,1,{tex_w = 0}) --[[ pat:update_frame(857,5,0,{color_r = 0 , color_b = 0 , color_g = 255 }) pat:update_frame(857,5,1,{color_r = 0 , color_b = 0 , color_g = 255 }) pat:update_frame(857,6,0,{color_r = 0 , color_b = 0 , color_g = 255 }) pat:update_frame(857,7,0,{color_r = 0 , color_b = 0 , color_g = 255 })]]-- for idx = 1 , 10 do pat:remove_frame(857,0,1) end for idx = 1 , 6 do pat:remove_frame(857,2,1) end for idx = 1 , 37 do pat:split_frame(857,0,0,10,10) end for idx = 0 , 37 do pat:update_frame(857,0,idx,function(frame) frame.tex_index = 167 + (idx/6) frame.blending_mode = 0 frame.tex_w = 128 frame.tex_h = 128 frame.tex_offset_x = 64 frame.tex_offset_y = 128 frame.duration = 10 local scal = 100 frame.scale_x = scal frame.scale_y = scal if (idx < 37) then frame.attackbox = pat:get_frame(0,0,0).attackbox end end) end pat:remove_frame(857,1,1) pat:update_frame(857,1,0,function(frame) frame.tex_index = 167 -1 +7 frame.blending_mode = 0 frame.tex_w = 128 frame.tex_h = 128 frame.tex_offset_x = 64 frame.tex_offset_y = 128 frame.duration = 60 local scal = 100 frame.scale_x = scal frame.scale_y = scal end) for idx = 0 , 1 do pat:split_frame(857,2,0,60,60) end for idx = 0 , 2 do pat:update_frame(857,2,idx,function(frame) frame.tex_index = 167 + idx-1 +7 frame.blending_mode = 0 frame.tex_w = 128 frame.tex_h = 128 frame.tex_offset_x = 64 frame.tex_offset_y = 128 frame.duration = 60 local scal = 100 frame.scale_x = scal frame.scale_y = scal end) end for idx = 0 , 8 do pat:split_frame(857,2,2,1,1) end local scal3 = pat:get_frame(857,2,2).scale_x for idx = 2 , 11 do pat:update_frame(857,2,idx,function(frame) frame.scale_x = scal3 * (10-(idx-2))/10 frame.scale_y = scal3 * (10-(idx-2))/10 end) end for idx1 = 0 , 1 do for idx0 = 3 , 4 do pat:update_frame(857,idx0,idx1,function(frame) frame.damage = 3500 frame.limit = 50 frame.proration = 700 frame.attack_level = AL_SUPERHEAVY frame.blockstop_enemy = 10 frame.hitstop_enemy = 10 frame.sp_damage = 1000 frame.hit_ani_ground = 74 frame.hit_ani_air = 74 frame.launch_vector_x = 0 frame.launch_vector_y = 2500 frame.untech = 120 set_aflag(frame,AF_COUNTER_HIT) frame.hit_sfx = 9 frame.hit_effect = 7 unset_aflag(frame,AF_AIR_BLOCKABLE) set_aflag(frame,AF_GROUND_UNBLOCKABLE) set_aflag(frame,AF_DRAINS_ON_GRAZE) end) end end end function mods.s5sc_giga(pat) local baseX = 112 local baseY = 256 local baseW = 128 local baseH = 128 pat:update_frame(601,0,0, { tex_index = 473 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+28 , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(601,0,1, { tex_index = 474 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+28 , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(601,0,2, { tex_index = 475 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+28 , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(601,0,3, { tex_index = 476 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+20 , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(601,0,4, { tex_index = 477 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+10 , tex_offset_y = baseY , hurtbox = pat:get_frame(411,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(601,0,5, { tex_index = 587 , tex_w = 256 , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(411,0,5).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 1 }) pat:update_frame(601,0,6, { tex_index = 588 , tex_w = 256 , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(411,0,5).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 1 }) pat:update_frame(601,0,7, { tex_index = 589 , tex_w = 256 , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(411,0,5).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 1 }) pat:update_frame(601,0,8, { tex_index = 590 , tex_w = 256 , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(411,0,5).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 1 }) pat:update_frame(601,0,9, { tex_index = 591 , tex_w = 256 , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(411,0,5).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(601,0,10, { tex_index = 592 , tex_w = 256 , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(411,0,5).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(601,1,0, { tex_index = 591 , tex_w = 256 , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(411,0,5).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(601,1,1, { tex_index = 592 , tex_w = 256 , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(411,0,5).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(601,1,2, { tex_index = 591 , tex_w = 256 , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(411,0,5).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(601,1,3, { tex_index = 592 , tex_w = 256 , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(411,0,5).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(601,1,4, { tex_index = 591 , tex_w = 256 , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(411,0,5).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(601,1,5, { tex_index = 592 , tex_w = 256 , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(411,0,5).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(601,1,6, { tex_index = 591 , tex_w = 256 , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(411,0,5).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(601,1,7, { tex_index = 592 , tex_w = 256 , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(411,0,5).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(601,1,8, { tex_index = 591 , tex_w = 256 , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(411,0,5).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(601,1,9, { tex_index = 592 , tex_w = 256 , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(411,0,5).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(601,1,10, { tex_index = 591 , tex_w = 256 , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(411,0,5).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(601,1,11, { tex_index = 592 , tex_w = 256 , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(411,0,5).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(601,1,12, { tex_index = 591 , tex_w = 256 , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(411,0,5).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(601,1,13, { tex_index = 592 , tex_w = 256 , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(411,0,5).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(601,1,14, { tex_index = 591 , tex_w = 256 , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(411,0,5).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(601,2,0, { tex_index = 591 , tex_w = 256 , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(411,0,5).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(601,2,1, { tex_index = 592 , tex_w = 256 , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(411,0,5).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(601,3,0, { tex_index = 592 , tex_w = 256 , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(411,0,5).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(601,3,1, { tex_index = 591 , tex_w = 256 , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(411,0,5).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(601,3,2, { tex_index = 592 , tex_w = 256 , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(411,0,5).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(601,3,3, { tex_index = 591 , tex_w = 256 , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(411,0,5).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(601,3,4, { tex_index = 592 , tex_w = 256 , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(411,0,5).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(601,3,5, { tex_index = 590 , tex_w = 256 , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(411,0,5).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 1 }) pat:update_frame(601,3,6, { tex_index = 589 , tex_w = 256 , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(411,0,5).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 1 }) pat:update_frame(601,3,7, { tex_index = 588 , tex_w = 256 , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(411,0,5).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 1 }) pat:update_frame(601,3,8, { tex_index = 587 , tex_w = 256 , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(411,0,5).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 1 }) pat:update_frame(601,3,9,{tex_index = 478 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(411,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 6 }) pat:update_frame(601,3,10,{tex_index = 478 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(411,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 5 }) pat:update_frame(601,3,11,{tex_index = 478 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(411,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 5 }) pat:update_frame(601,3,12,{tex_index = 481 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(411,0,6).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 6 }) pat:update_frame(851,6,0,{tex_w = 0}) pat:update_frame(851,6,1,{tex_w = 0}) pat:update_frame(851,6,2,{tex_w = 0}) pat:update_frame(851,6,3,{tex_w = 0}) pat:update_frame(851,8,0,{tex_w = 0}) pat:update_frame(851,8,1,{tex_w = 0}) for idx = 1 , 9 do pat:remove_frame(851,4,1) end pat:update_frame(851,4,0,{tex_w = 0}) for idx = 1 , 16 do pat:remove_frame(851,5,1) end pat:update_frame(851,5,0,{tex_w = 0}) pat:update_frame(851,2,0,{duration = 200 , scale_x = 800}) for idx = 1 , 13 do pat:remove_frame(851,7,1) end for idx = 0 , 59 do pat:split_frame(851,7,0,1,1) end for idx = 0 , 60 do pat:update_frame(851,7,idx,function(frame) if (idx < 4) then frame.tex_index = 207 + idx end if (idx <= 52) then frame.tex_index = 207+4 + idx%11 end if (idx > 54) then frame.tex_index = 293 + idx-55 end frame.tex_w = 640 frame.tex_h = 480 frame.tex_offset_x = 280 frame.tex_offset_y = 240 frame.scale_x = 150 frame.scale_y = 150 end) end for idx = 1 , 13 do pat:remove_frame(851,10,1) end for idx = 0 , 149 do pat:split_frame(851,10,0,1,1) end for idx = 0 , 150 do pat:update_frame(851,10,idx,function(frame) frame.tex_index = 299 + idx%3 frame.tex_w = 640 frame.tex_h = 480 local idx3 = idx*2 local idx2 = idx/2 if (idx2>25) then idx3 = 100 idx2 = 25 end frame.tex_offset_x = 360 + idx3 frame.tex_offset_y = 240 frame.scale_x = 50-idx2 frame.scale_y = (50-idx2) if (idx==0) then frame.tex_offset_x = 320 frame.scale_x = 150 frame.scale_y = 100 end if (idx==1) then frame.tex_offset_x = 320 frame.scale_x = 75 frame.scale_y = 75 end if (idx==2) then frame.tex_offset_x = 320 frame.scale_x = 50 frame.scale_y = 50 end end) end end function mods.s5sc_abyss(pat) local baseX = 112 local baseY = 256 local baseW = 128 local baseH = 128 pat:update_frame(614,0,0, { tex_index = 542 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(614,0,1, { tex_index = 543 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(614,0,2, { tex_index = 544 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(614,0,3, { tex_index = 545 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(614,0,4, { tex_index = 545 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(614,0,5, { tex_index = 568 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(614,0,6, { tex_index = 569 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(614,0,7, { tex_index = 570 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(614,0,8, { tex_index = 571 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(614,0,9, { tex_index = 545 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(614,0,10, { tex_index = 568 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(614,0,11, { tex_index = 569 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(614,0,12, { tex_index = 570 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(614,0,13, { tex_index = 571 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(614,0,14, { tex_index = 569 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(614,0,15, { tex_index = 550 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) baseY = 256+6 pat:remove_frame(614,1,1) pat:update_frame(614,1,0, { tex_index = 447 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 3 }) pat:update_frame(614,2,0, { tex_index = 448 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 4 }) pat:update_frame(614,2,1, { tex_index = 448 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 4 }) pat:update_frame(614,3,0, { tex_index = 448 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 2 }) pat:update_frame(614,3,1, { tex_index = 449 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 2 }) pat:update_frame(614,3,2, { tex_index = 450 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 2 }) pat:update_frame(614,3,3, { tex_index = 451 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 2 }) for idx = 0 , 4 do pat:update_frame(614,4,idx, { tex_index = 451 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 3 }) end for idx = 0 , 6 do pat:update_frame(614,5,idx, { tex_index = 451 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 4 }) end pat:update_frame(614,5,7, { tex_index = 452 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 4 }) pat:update_frame(614,5,8, { tex_index = 452 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 4 }) pat:update_frame(614,5,9, { tex_index = 447 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 4 }) baseY = 256 pat:update_frame(614,6,0, { tex_index = 391 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:update_frame(614,6,1, { tex_index = 388 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , duration = 5 }) pat:update_frame(864,1,0,{tex_w = 0}) pat:update_frame(864,1,1,{tex_w = 0}) pat:update_frame(864,3,0,{tex_w = 0}) pat:update_frame(864,3,1,{tex_w = 0}) pat:update_frame(864,4,0,{tex_w = 0}) pat:update_frame(864,4,1,{tex_w = 0}) pat:update_frame(864,5,0,{color_r = 0 , color_b = 0 }) pat:update_frame(864,5,1,{color_r = 0 , color_b = 0 }) pat:update_frame(864,6,0,{tex_w = 201}) pat:update_frame(864,7,0,{color_r = 0 , color_b = 0 }) pat:update_frame(864,1,1,{tex_w = 0}) for idx = 0 , 14 do pat:update_frame(864,0,idx,function(frame) frame.aflags = 0x0142140e frame.tex_index = 86 frame.tex_w = 128 frame.tex_h = 128 frame.tex_offset_x = 64 frame.tex_offset_y = 64 frame.scale_x = 1200 frame.scale_y = 1200 frame.sp_damage = 40 frame.chip_damage = frame.damage/10 end) end end return function(pat) mods.fix_frames(pat) mods.fix_etc(pat) mods.nf5a(pat) mods.n2a(pat) mods.n6a(pat) mods.n3a(pat) mods.n5a(pat) mods.n5aa(pat) mods.n5aaa(pat) mods.n5aaaa(pat) mods.nj5a(pat) mods.nj6a(pat) mods.n66a(pat) mods.n66b(pat) mods.n66c(pat) mods.nj8a(pat) mods.nj2a(pat) mods.b5b(pat) mods.b2b(pat) mods.b6b(pat) mods.b5c_new(pat) mods.b6c(pat) mods.b2c(pat) mods.systems(pat) --mods.d236(pat) mods.d236_old(pat) mods.d214(pat) mods.d623(pat) mods.d22(pat) mods.a236_geyser(pat) mods.a236_blade(pat) mods.a214_orbs(pat) mods.a214_signs(pat) mods.a623_dive(pat) mods.a623_grab(pat) mods.a22_shooting(pat) --mods.a22_cannon(pat) mods.a22_cannon_new(pat) mods.s1sc_artificial(pat) mods.s2sc_visor(pat) mods.s2sc_tokamak(pat) mods.s3sc_blade(pat) mods.s3sc_mega(pat) mods.s3sc_onion(pat) mods.s3sc_creeping(pat) mods.s4sc_tensun(pat) mods.s4sc_yatadive(pat) mods.s4sc_nukedive(pat) mods.s4sc_subsun(pat) mods.s4sc_geyser(pat) mods.s5sc_giga(pat) mods.s5sc_abyss(pat) mods.b5c_new_animation(pat) --mods.f5a_fix(pat) end