-- sequence ids: -- 500 = [236] summer red -- 505 = [236] summer flame -- 510 = [236] wipe moisture -- 520 = [22] winter element -- 525 = [22] condensed bubble -- 530 = [22] sticky bubble -- 540 = [623] spring wind -- 545 = [623] flash of spring -- 550 = [623] static green -- 560 = [214] autumn edge (swords) -- 565 = [214] autumn blade (saws) -- 570 = [214] fall slasher -- 580 = [421] dew spear -- 585 = [421] emerald city -- 590 = [421] diamond hardness -- 600 = st elmo's pillar -- 601 = noachian deluge -- 602 = elemental harvester -- 603 = royal flare -- 604 = silent selene -- 605 = philosopher's stone -- 606 = jellyfish princess -- 607 = satellite sunflower -- 610 = photosynthesis -- 611 = phlogistic pillar -- 612 = emerald megalopolis -- 613 = royal diamond ring require("config.util") local mods = {} --[[ Timestop bugs: only if the bullet is created during time stop (not same frame as the timestop, that means its only possible for the person stopping time) hit counter (0x194) will apply even though we haven't entered seq codes (even before 0x144=0). So for multihit bullets, the 0x194 will go down by 1 first before entering seq code this only matters if we set 0x194 at 0x144=0. It will just hit one more time period, it will assume it haven't hit because there would be a sequence code that resets the hit counter ]]-- function mods.fix_frames(pat) local baseX = 128 local baseY = 256 local baseW = 128 local baseH = 160 local baseDur = 6 --stand pat:update_frame(0,0,0, { tex_index = 843 , 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 - 5 end) pat:update_frame(0,0,1, { tex_index = 844 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = baseDur , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(0,0,2, { tex_index = 845 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = baseDur , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(0,0,3, { tex_index = 846 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = baseDur , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(0,0,4, { tex_index = 847 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = baseDur , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(0,0,5, { tex_index = 848 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = baseDur , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(0,0,6, { tex_index = 849 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = baseDur , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(0,0,7, { tex_index = 850 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = baseDur , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(0,0,8, { tex_index = 851 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = baseDur , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(0,0,9, { tex_index = 852 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = baseDur , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(0,0,10, { tex_index = 853 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = baseDur , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(0,0,11, { tex_index = 854 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = baseDur , hurtbox = pat:get_frame(0,0,0).hurtbox }) for idx = 12 , 23 do pat:remove_frame(0,0,12) end --crouch pat:remove_frame(1,0,3) pat:update_frame(1,0,0, { tex_index = 600 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 }) pat:update_frame(1,0,1, { tex_index = 601 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 }) pat:update_frame(1,0,2, { tex_index = 602 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 }) pat:update_frame(2,0,0, { tex_index = 603 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 , hurtbox = pat:get_frame(1,0,2).hurtbox , collision = pat:get_frame(1,0,2).collision }) pat:update_frame(3,0,0, { tex_index = 604 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 }) pat:update_frame(3,0,1, { tex_index = 605 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 }) pat:update_frame(3,0,2, { tex_index = 600 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 }) --walk pat:update_frame(4,0,0, { tex_index = 882 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = baseDur , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(4,0,1, { tex_index = 883 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = baseDur , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(4,0,2, { tex_index = 884 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = baseDur , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(4,0,3, { tex_index = 885 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = baseDur , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(4,0,4, { tex_index = 886 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = baseDur , hurtbox = pat:get_frame(0,0,0).hurtbox }) for idx = 5 , 9 do pat:remove_frame(4,0,5) end pat:update_frame(5,0,0, { tex_index = 872 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = baseDur , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(5,0,1, { tex_index = 873 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = baseDur , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(5,0,2, { tex_index = 874 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = baseDur , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(5,0,3, { tex_index = 875 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = baseDur , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(5,0,4, { tex_index = 876 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = baseDur , hurtbox = pat:get_frame(0,0,0).hurtbox }) for idx = 5 , 9 do pat:remove_frame(5,0,5) end --jump pat:update_frame(6,0,0, { tex_index = 521 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 }) pat:update_frame(6,0,1, { tex_index = 522 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 }) for idx = 2 , 9 do --pat:split_frame(6,1,1,1,1) end pat:update_frame(6,1,0, { tex_index = 524 , 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 - 15 frame.collision[1].y1 = frame.collision[1].y1 - 15 end) pat:update_frame(6,1,1, { tex_index = 524 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 56 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(6,2,0, { tex_index = 524 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 6 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(6,2,1, { tex_index = 525 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 6 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(6,2,1,function(frame) frame.hurtbox[2] = pat:get_frame(6,2,1).hurtbox[1] frame.hurtbox[1].x1 = frame.hurtbox[1].x1 + 10 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 + 10 frame.hurtbox[1].y2 = frame.hurtbox[1].y2 - 60 frame.hurtbox[2].y1 = frame.hurtbox[1].y2 - 30 end) pat:update_frame(6,2,2, { tex_index = 526 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 6 , hurtbox = pat:get_frame(6,2,1).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(6,2,2,function(frame) frame.hurtbox[1].x1 = frame.hurtbox[1].x1 + 5 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 + 5 frame.hurtbox[2].x1 = frame.hurtbox[2].x1 - 10 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 - 10 frame.hurtbox[1].y1 = frame.hurtbox[1].y1 + 5 end) pat:update_frame(6,2,3, { tex_index = 527 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 6 , hurtbox = pat:get_frame(6,2,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(6,2,4, { tex_index = 526 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 6 , hurtbox = pat:get_frame(6,2,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(6,2,5, { tex_index = 527 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 6 , hurtbox = pat:get_frame(6,2,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(6,2,6, { tex_index = 526 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 6 , hurtbox = pat:get_frame(6,2,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(6,2,7, { tex_index = 527 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 6 , hurtbox = pat:get_frame(6,2,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) --air pat:update_frame(9,0,0, { tex_index = 526 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 6 , hurtbox = pat:get_frame(6,2,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(9,0,1, { tex_index = 527 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 6 , hurtbox = pat:get_frame(6,2,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) --land pat:update_frame(10,0,0, { tex_index = 522 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(6,0,1).hurtbox , collision = pat:get_frame(6,0,1).collision }) pat:update_frame(10,0,1, { tex_index = 521 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(6,0,0).hurtbox , collision = pat:get_frame(6,0,0).collision }) --hardlanding pat:update_frame(215,0,0, { tex_index = 523 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(6,0,1).hurtbox , collision = pat:get_frame(6,0,1).collision }) pat:update_frame(215,0,1, { tex_index = 523 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(6,0,1).hurtbox , collision = pat:get_frame(6,0,1).collision }) pat:update_frame(215,0,2, { tex_index = 523 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 6 , hurtbox = pat:get_frame(6,0,1).hurtbox , collision = pat:get_frame(6,0,1).collision }) pat:update_frame(215,0,3, { tex_index = 522 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(6,0,1).hurtbox , collision = pat:get_frame(6,0,1).collision }) pat:update_frame(215,0,4, { tex_index = 521 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(6,0,0).hurtbox , collision = pat:get_frame(6,0,0).collision }) --grounddash pat:update_frame(200,0,0, { tex_index = 469 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 }) pat:update_frame(200,0,0,function(frame) frame.hurtbox[2] = pat:get_frame(200,0,0).hurtbox[1] frame.hurtbox[1].x1 = frame.hurtbox[1].x1 + 10 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 + 10 frame.hurtbox[1].y2 = frame.hurtbox[1].y2 - 90 frame.hurtbox[2].y1 = frame.hurtbox[1].y2 - 30 end) pat:update_frame(200,0,1, { tex_index = 470 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(200,0,0).hurtbox }) pat:update_frame(200,0,1,function(frame) frame.hurtbox[1].x1 = frame.hurtbox[1].x1 + 10 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 + 10 end) pat:update_frame(200,1,0, { tex_index = 471 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 6 }) pat:update_frame(200,1,0,function(frame) frame.hurtbox[1].x1 = frame.hurtbox[1].x1 + 30 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 + 30 frame.hurtbox[1].y1 = frame.hurtbox[1].y1 + 10 frame.hurtbox[1].y2 = frame.hurtbox[1].y2 + 10 frame.hurtbox[2].x1 = frame.hurtbox[2].x1 + 15 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 + 25 frame.hurtbox[2].y1 = frame.hurtbox[2].y1 - 10 frame.hurtbox[3].x1 = frame.hurtbox[3].x1 - 5 frame.hurtbox[3].x2 = frame.hurtbox[3].x2 + 25 frame.hurtbox[3].y1 = frame.hurtbox[3].y1 - 10 end) pat:update_frame(200,1,1, { tex_index = 472 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 6 , hurtbox = pat:get_frame(200,1,0).hurtbox }) pat:update_frame(204,0,0, { tex_index = 470 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(200,0,1).hurtbox }) pat:update_frame(204,0,1, { tex_index = 469 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(200,0,0).hurtbox }) pat:remove_frame(204,0,2) --backdash pat:update_frame(201,0,0, { tex_index = 460 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 }) pat:update_frame(201,0,0,function(frame) frame.hurtbox[1].y1 = frame.hurtbox[1].y1 + 5 end) pat:update_frame(201,0,1, { tex_index = 461 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 }) pat:update_frame(201,0,1,function(frame) frame.hurtbox[1].y1 = frame.hurtbox[1].y1 + 5 frame.hurtbox[1].x1 = frame.hurtbox[1].x1 + 15 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 + 15 frame.hurtbox[2].x1 = frame.hurtbox[2].x1 - 10 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 - 10 frame.hurtbox[3].x1 = frame.hurtbox[3].x1 - 25 frame.hurtbox[3].x2 = frame.hurtbox[3].x2 - 25 frame.hurtbox[3].y2 = 0 end) pat:update_frame(201,0,2, { tex_index = 462 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 6 }) pat:update_frame(201,0,2,function(frame) frame.hurtbox[1].y1 = pat:get_frame(200,1,0).hurtbox[1].y1 frame.hurtbox[1].y2 = pat:get_frame(200,1,0).hurtbox[1].y2 frame.hurtbox[1].x1 = frame.hurtbox[1].x1 + 20 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 + 20 frame.hurtbox[2].y1 = pat:get_frame(200,1,0).hurtbox[2].y1 frame.hurtbox[2].y2 = pat:get_frame(200,1,0).hurtbox[2].y2 frame.hurtbox[2].x1 = frame.hurtbox[2].x1 - 10 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 - 10 frame.hurtbox[3].y1 = pat:get_frame(200,1,0).hurtbox[3].y1 frame.hurtbox[3].y2 = pat:get_frame(200,1,0).hurtbox[3].y2 frame.hurtbox[3].x1 = frame.hurtbox[3].x1 - 30 frame.hurtbox[3].x2 = frame.hurtbox[3].x2 - 10 end) pat:update_frame(201,0,3, { tex_index = 463 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 6 , hurtbox = pat:get_frame(201,0,2).hurtbox }) pat:update_frame(201,0,4, { tex_index = 462 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 6 , hurtbox = pat:get_frame(201,0,2).hurtbox }) pat:update_frame(201,0,5, { tex_index = 463 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 6 , hurtbox = pat:get_frame(201,0,2).hurtbox }) pat:update_frame(201,0,6, { tex_index = 462 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(201,0,2).hurtbox }) pat:update_frame(201,0,7, { tex_index = 461 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4-1 , hurtbox = pat:get_frame(201,0,1).hurtbox }) pat:update_frame(201,1,0, { tex_index = 461 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4-1 , hurtbox = pat:get_frame(201,0,1).hurtbox }) pat:update_frame(201,2,0, { tex_index = 461 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4-1 , hurtbox = pat:get_frame(201,0,1).hurtbox }) pat:update_frame(201,2,1, { tex_index = 460 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(201,0,0).hurtbox }) --airdash baseY = baseY+2 pat:update_frame(202,0,0, { tex_index = 469 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(200,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(202,0,0,function(frame) frame.hurtbox[2].y2 = frame.hurtbox[2].y2 - 20 end) pat:update_frame(202,0,1, { tex_index = 470 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +6 , duration = 4 , hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(202,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 = frame.hurtbox[2].y2 - 20 end) pat:update_frame(202,0,2, { tex_index = 472 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +16 , duration = 4 , hurtbox = pat:get_frame(200,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(202,0,2,function(frame) for idx = 1 , 3 do frame.hurtbox[idx].y1 = frame.hurtbox[idx].y1 - 16 frame.hurtbox[idx].y2 = frame.hurtbox[idx].y2 - 16 end frame.hurtbox[3].y2 = frame.hurtbox[3].y2 - 20 end) pat:update_frame(202,1,0, { tex_index = 471 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +16 , duration = 4 , hurtbox = pat:get_frame(202,0,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(202,1,1, { tex_index = 472 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +16 , duration = 4 , hurtbox = pat:get_frame(202,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(202,1,2, { tex_index = 471 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +16 , duration = 4 , hurtbox = pat:get_frame(202,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(202,1,3, { tex_index = 472 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +16 , duration = 4 , hurtbox = pat:get_frame(202,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(202,2,0, { tex_index = 472 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +16 , duration = 4 , hurtbox = pat:get_frame(202,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(202,2,1, { tex_index = 471 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +16 , duration = 4 , hurtbox = pat:get_frame(202,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(202,2,2, { tex_index = 470 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +6 , duration = 4 , hurtbox = pat:get_frame(202,0,1).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(202,3,0, { tex_index = 526 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 6 , hurtbox = pat:get_frame(6,2,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(202,3,1, { tex_index = 527 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 6 , hurtbox = pat:get_frame(6,2,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) --air backdash pat:update_frame(203,0,0, { tex_index = 460 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(201,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision , duration = 5}) pat:update_frame(203,0,0,function(frame) frame.hurtbox[1].y2 = frame.hurtbox[1].y2 - 20 end) pat:update_frame(203,0,1, { tex_index = 461 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +6 , duration = 4 , hurtbox = pat:get_frame(201,0,1).hurtbox , fflags = pat:get_frame(203,0,0).fflags , collision = pat:get_frame(6,1,0).collision , duration = 5}) pat:update_frame(203,0,1,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(203,1,0, { tex_index = 462 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +16 , duration = 4 , hurtbox = pat:get_frame(201,0,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(203,1,0,function(frame) for idx = 1 , 3 do frame.hurtbox[idx].y1 = frame.hurtbox[idx].y1 - 16 frame.hurtbox[idx].y2 = frame.hurtbox[idx].y2 - 16 end frame.hurtbox[3].y2 = frame.hurtbox[3].y2 - 20 end) pat:update_frame(203,1,1, { tex_index = 463 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +16 , duration = 4 , hurtbox = pat:get_frame(203,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(203,1,2, { tex_index = 462 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +16 , duration = 4 , hurtbox = pat:get_frame(203,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(203,1,3, { tex_index = 463 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +16 , duration = 4 , hurtbox = pat:get_frame(203,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(203,2,0, { tex_index = 462 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +16 , duration = 4 , hurtbox = pat:get_frame(203,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(203,2,1, { tex_index = 461 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +6 , duration = 2 , hurtbox = pat:get_frame(203,0,1).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(203,2,2, { tex_index = 461 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +6 , duration = 1 , hurtbox = pat:get_frame(203,0,1).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(203,2,3, { tex_index = 461 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +6 , duration = 1 , hurtbox = pat:get_frame(203,0,1).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(203,2,4, { tex_index = 460 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(203,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(203,3,0, { tex_index = 526 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 6 , hurtbox = pat:get_frame(6,2,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(203,3,1, { tex_index = 527 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 6 , hurtbox = pat:get_frame(6,2,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) --flight pat:update_frame(214,0,0, { tex_index = 524 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(214,0,1, { tex_index = 524 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(214,0,2, { tex_index = 524 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(214,1,0, { tex_index = 469 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(202,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(214,1,1, { tex_index = 470 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +6 , duration = 4 , hurtbox = pat:get_frame(202,0,1).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(214,2,0, { tex_index = 471 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +16 , duration = 6 , hurtbox = pat:get_frame(202,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(214,2,1, { tex_index = 472 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +16 , duration = 6 , hurtbox = pat:get_frame(202,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(214,3,0, { tex_index = 472 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +16 , duration = 4 , hurtbox = pat:get_frame(202,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(214,3,1, { tex_index = 471 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +16 , duration = 4 , hurtbox = pat:get_frame(202,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(214,3,2, { tex_index = 470 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +6 , duration = 4 , hurtbox = pat:get_frame(202,0,1).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(214,4,0, { tex_index = 525 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 6 , hurtbox = pat:get_frame(6,2,1).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(214,5,0, { tex_index = 526 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 6 , hurtbox = pat:get_frame(6,2,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(214,5,1, { tex_index = 527 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 6 , hurtbox = pat:get_frame(6,2,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(214,6,0, { tex_index = 460 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(203,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(214,6,1, { tex_index = 461 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +6 , duration = 4 , hurtbox = pat:get_frame(203,0,1).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(214,7,0, { tex_index = 462 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +16 , duration = 6 , hurtbox = pat:get_frame(203,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(214,7,1, { tex_index = 463 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +16 , duration = 6 , hurtbox = pat:get_frame(203,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(214,8,0, { tex_index = 463 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +16 , duration = 3 , hurtbox = pat:get_frame(203,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(214,8,1, { tex_index = 463 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +16 , duration = 2 , hurtbox = pat:get_frame(203,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(214,8,2, { tex_index = 462 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +16 , duration = 5 , hurtbox = pat:get_frame(203,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(214,8,3, { tex_index = 461 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +6 , duration = 5 , hurtbox = pat:get_frame(203,0,1).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(214,8,4, { tex_index = 460 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 , hurtbox = pat:get_frame(203,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(214,9,0, { tex_index = 472 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +16 , duration = 4 , hurtbox = pat:get_frame(202,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(214,9,1, { tex_index = 471 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +16 , duration = 4 , hurtbox = pat:get_frame(202,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(214,9,2, { tex_index = 470 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +6 , duration = 4 , hurtbox = pat:get_frame(202,0,1).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(214,10,0, { tex_index = 527 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 6 , hurtbox = pat:get_frame(6,2,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(214,10,1, { tex_index = 526 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 6 , hurtbox = pat:get_frame(6,2,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(214,10,2, { tex_index = 525 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 6 , hurtbox = pat:get_frame(6,2,1).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(214,10,3, { tex_index = 524 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 6 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(214,10,4, { tex_index = 524 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 6 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(214,10,5, { tex_index = 525 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 6 , hurtbox = pat:get_frame(6,2,1).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(214,10,6, { tex_index = 526 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 6 , hurtbox = pat:get_frame(6,2,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(214,10,7, { tex_index = 527 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 6 , hurtbox = pat:get_frame(6,2,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:remove_frame(214,10,8) pat:update_frame(214,11,0, { tex_index = 463 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +16 , duration = 3 , hurtbox = pat:get_frame(203,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(214,11,1, { tex_index = 463 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +16 , duration = 2 , hurtbox = pat:get_frame(203,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(214,11,2, { tex_index = 462 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +16 , duration = 5 , hurtbox = pat:get_frame(203,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(214,11,3, { tex_index = 461 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +6 , duration = 5 , hurtbox = pat:get_frame(203,0,1).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(214,11,4, { tex_index = 460 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 , hurtbox = pat:get_frame(203,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) --hj pat:update_frame(208,0,0, { tex_index = 521 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(6,0,0).hurtbox , collision = pat:get_frame(6,0,0).collision }) pat:update_frame(208,0,1, { tex_index = 522 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(6,0,1).hurtbox , collision = pat:get_frame(6,0,1).collision }) pat:update_frame(208,1,0, { tex_index = 524 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 1 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(208,1,1, { tex_index = 524 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 15 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(208,2,0, { tex_index = 524 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(208,2,1, { tex_index = 524 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(208,2,2, { tex_index = 525 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 6 , hurtbox = pat:get_frame(6,2,1).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(208,2,3, { tex_index = 526 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 6 , hurtbox = pat:get_frame(6,2,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(208,2,4, { tex_index = 527 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 6 , hurtbox = pat:get_frame(6,2,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(208,2,5, { tex_index = 526 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 6 , hurtbox = pat:get_frame(6,2,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(208,2,6, { tex_index = 527 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 6 , hurtbox = pat:get_frame(6,2,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(208,2,7, { tex_index = 526 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 6 , hurtbox = pat:get_frame(6,2,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(208,2,8, { tex_index = 527 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 6 , hurtbox = pat:get_frame(6,2,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(208,3,0, { tex_index = 526 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 6 , hurtbox = pat:get_frame(6,2,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(208,3,1, { tex_index = 527 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 6 , hurtbox = pat:get_frame(6,2,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) --dashjump pat:update_frame(211,0,0, { tex_index = 521 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(6,0,0).hurtbox , collision = pat:get_frame(6,0,0).collision }) pat:update_frame(211,0,1, { tex_index = 522 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(6,0,1).hurtbox , collision = pat:get_frame(6,0,1).collision }) pat:update_frame(211,1,0, { tex_index = 524 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 1 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(211,1,1, { tex_index = 524 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 15 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(211,2,0, { tex_index = 524 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(211,2,1, { tex_index = 524 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(211,2,2, { tex_index = 525 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 6 , hurtbox = pat:get_frame(6,2,1).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(211,2,3, { tex_index = 526 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 6 , hurtbox = pat:get_frame(6,2,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(211,2,4, { tex_index = 527 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 6 , hurtbox = pat:get_frame(6,2,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(211,2,5, { tex_index = 526 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 6 , hurtbox = pat:get_frame(6,2,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(211,2,6, { tex_index = 527 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 6 , hurtbox = pat:get_frame(6,2,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(211,2,7, { tex_index = 526 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 6 , hurtbox = pat:get_frame(6,2,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(211,2,8, { tex_index = 527 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 6 , hurtbox = pat:get_frame(6,2,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(211,3,0, { tex_index = 526 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 6 , hurtbox = pat:get_frame(6,2,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(211,3,1, { tex_index = 527 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 6 , hurtbox = pat:get_frame(6,2,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) --2DD pat:update_frame(220,0,0, { tex_index = 521 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(6,0,0).hurtbox , collision = pat:get_frame(6,0,0).collision }) pat:update_frame(220,0,1, { tex_index = 522 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 6 , hurtbox = pat:get_frame(6,0,1).hurtbox , collision = pat:get_frame(6,0,1).collision }) pat:update_frame(220,1,0, { tex_index = 524 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 1 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(220,1,1, { tex_index = 524 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 14 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(220,2,0, { tex_index = 524 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(220,2,1, { tex_index = 524 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(220,2,2, { tex_index = 525 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 6 , hurtbox = pat:get_frame(6,2,1).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(220,2,3, { tex_index = 526 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 6 , hurtbox = pat:get_frame(6,2,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(220,2,4, { tex_index = 527 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 6 , hurtbox = pat:get_frame(6,2,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(220,2,5, { tex_index = 526 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 6 , hurtbox = pat:get_frame(6,2,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(220,2,6, { tex_index = 527 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 6 , hurtbox = pat:get_frame(6,2,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(220,2,7, { tex_index = 526 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 6 , hurtbox = pat:get_frame(6,2,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(220,2,8, { tex_index = 527 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 6 , hurtbox = pat:get_frame(6,2,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(220,3,0, { tex_index = 526 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 6 , hurtbox = pat:get_frame(6,2,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(220,3,1, { tex_index = 527 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 6 , hurtbox = pat:get_frame(6,2,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) --j6DD pat:update_frame(226,0,0, { tex_index = 469 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(202,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(226,0,1, { tex_index = 470 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +6 , duration = 3 , hurtbox = pat:get_frame(202,0,1).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(226,1,0, { tex_index = 471 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +16 , duration = 3 , hurtbox = pat:get_frame(202,0,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(226,1,1, { tex_index = 472 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +16 , duration = 3 , hurtbox = pat:get_frame(202,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(226,1,2, { tex_index = 471 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +16 , duration = 3 , hurtbox = pat:get_frame(202,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(226,1,3, { tex_index = 472 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +16 , duration = 3 , hurtbox = pat:get_frame(202,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(226,1,4, { tex_index = 471 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +16 , duration = 3 , hurtbox = pat:get_frame(202,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(226,2,0, { tex_index = 472 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +16 , duration = 4 , hurtbox = pat:get_frame(202,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(226,2,1, { tex_index = 471 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +16 , duration = 4 , hurtbox = pat:get_frame(202,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(226,2,2, { tex_index = 470 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +6 , duration = 4 , hurtbox = pat:get_frame(202,0,1).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(226,3,0, { tex_index = 526 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 6 , hurtbox = pat:get_frame(6,2,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(226,3,1, { tex_index = 527 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 6 , hurtbox = pat:get_frame(6,2,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) --j4DD pat:update_frame(225,0,0, { tex_index = 460 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(203,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(225,0,1, { tex_index = 461 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +6 , duration = 3 , hurtbox = pat:get_frame(203,0,1).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(225,1,0, { tex_index = 462 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +16 , duration = 3 , hurtbox = pat:get_frame(203,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(225,1,1, { tex_index = 463 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +16 , duration = 3 , hurtbox = pat:get_frame(203,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(225,1,2, { tex_index = 462 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +16 , duration = 3 , hurtbox = pat:get_frame(203,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(225,1,3, { tex_index = 463 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +16 , duration = 3 , hurtbox = pat:get_frame(203,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(225,1,4, { tex_index = 462 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +16 , duration = 3 , hurtbox = pat:get_frame(203,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(225,2,0, { tex_index = 463 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +16 , duration = 4 , hurtbox = pat:get_frame(203,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(225,2,1, { tex_index = 461 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +6 , duration = 2 , hurtbox = pat:get_frame(203,0,1).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(225,2,2, { tex_index = 461 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +6 , duration = 1 , hurtbox = pat:get_frame(203,0,1).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(225,2,3, { tex_index = 461 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +6 , duration = 1 , hurtbox = pat:get_frame(203,0,1).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(225,2,4, { tex_index = 460 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(203,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) baseY = baseY-2 --4DD pat:update_frame(224,0,0, { tex_index = 460 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 8 , hurtbox = pat:get_frame(201,0,0).hurtbox }) pat:update_frame(224,0,1, { tex_index = 461 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(201,0,1).hurtbox }) pat:update_frame(224,0,2, { tex_index = 462 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(201,0,2).hurtbox }) pat:update_frame(224,0,3, { tex_index = 463 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(201,0,2).hurtbox }) pat:update_frame(224,0,4, { tex_index = 462 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(201,0,2).hurtbox }) pat:update_frame(224,0,5, { tex_index = 463 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(201,0,2).hurtbox }) pat:update_frame(224,0,6, { tex_index = 462 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(201,0,2).hurtbox }) pat:update_frame(224,0,7, { tex_index = 461 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(201,0,1).hurtbox }) pat:update_frame(224,1,0, { tex_index = 461 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(201,0,1).hurtbox }) pat:update_frame(224,2,0, { tex_index = 461 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(201,0,1).hurtbox }) pat:update_frame(224,2,1, { tex_index = 460 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(201,0,0).hurtbox }) --6DD pat:update_frame(223,0,0, { tex_index = 469 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 6 , hurtbox = pat:get_frame(200,0,0).hurtbox }) pat:update_frame(223,0,1, { tex_index = 470 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(200,0,1).hurtbox }) pat:update_frame(223,1,0, { tex_index = 471 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(200,1,0).hurtbox }) pat:update_frame(223,1,1, { tex_index = 472 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(200,1,0).hurtbox }) --guards pat:update_frame(150,0,0, { tex_index = 494 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 7 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(150,0,1, { tex_index = 494 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(151,0,0, { tex_index = 494 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 11 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(151,0,1, { tex_index = 494 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(152,0,0, { tex_index = 494 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 17 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(152,0,1, { tex_index = 494 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(153,0,0, { tex_index = 494 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 23 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(153,0,1, { tex_index = 494 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(154,0,0, { tex_index = 492 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 7 , hurtbox = pat:get_frame(2,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(154,0,1, { tex_index = 492 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(2,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(155,0,0, { tex_index = 492 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 11 , hurtbox = pat:get_frame(2,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(155,0,1, { tex_index = 492 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 , hurtbox = pat:get_frame(2,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(156,0,0, { tex_index = 492 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 17 , hurtbox = pat:get_frame(2,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(156,0,1, { tex_index = 492 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 , hurtbox = pat:get_frame(2,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(157,0,0, { tex_index = 492 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 23 , hurtbox = pat:get_frame(2,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(157,0,1, { tex_index = 492 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 , hurtbox = pat:get_frame(2,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(158,0,0, { tex_index = 494 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 15 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(158,0,0,function(frame) frame.hurtbox[1].y1 = frame.hurtbox[1].y1 + 10 frame.hurtbox[1].y2 = frame.hurtbox[1].y2 - 5 end) pat:update_frame(158,0,1, { tex_index = 525 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 , hurtbox = pat:get_frame(158,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(159,0,0, { tex_index = 490 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 1 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(159,0,1, { tex_index = 490 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 11 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(160,0,0, { tex_index = 490 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 1 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(160,0,1, { tex_index = 490 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 19 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(161,0,0, { tex_index = 490 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 1 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(161,0,1, { tex_index = 490 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 27 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(162,0,0, { tex_index = 490 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 1 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(162,0,1, { tex_index = 490 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 31 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(163,0,0, { tex_index = 488 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 1 , hurtbox = pat:get_frame(2,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(163,0,1, { tex_index = 488 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 11 , hurtbox = pat:get_frame(2,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(164,0,0, { tex_index = 488 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 1 , hurtbox = pat:get_frame(2,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(164,0,1, { tex_index = 488 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 19 , hurtbox = pat:get_frame(2,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(165,0,0, { tex_index = 488 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 1 , hurtbox = pat:get_frame(2,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(165,0,1, { tex_index = 488 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 27 , hurtbox = pat:get_frame(2,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(166,0,0, { tex_index = 488 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 1 , hurtbox = pat:get_frame(2,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(166,0,1, { tex_index = 488 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 31 , hurtbox = pat:get_frame(2,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(167,0,0, { tex_index = 494 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 15 , hurtbox = pat:get_frame(158,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(167,0,1, { tex_index = 524 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 , hurtbox = pat:get_frame(158,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) --hits pat:update_frame(50,0,0, { tex_index = 517 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 7 }) pat:update_frame(50,0,0,function(frame) frame.hurtbox[3].y1 = frame.hurtbox[3].y1 - 20 end) pat:update_frame(50,0,1, { tex_index = 518 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 }) pat:update_frame(50,0,1,function(frame) frame.hurtbox[3].y1 = frame.hurtbox[3].y1 - 20 end) pat:update_frame(50,0,2, { tex_index = 518 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(50,0,1).hurtbox }) pat:update_frame(51,0,0, { tex_index = 517 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 13 , hurtbox = pat:get_frame(50,0,0).hurtbox }) pat:update_frame(51,0,1, { tex_index = 518 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(50,0,1).hurtbox }) pat:update_frame(51,0,2, { tex_index = 518 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(50,0,1).hurtbox }) pat:update_frame(52,0,0, { tex_index = 517 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 20 , hurtbox = pat:get_frame(50,0,0).hurtbox }) pat:update_frame(52,0,1, { tex_index = 518 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(50,0,1).hurtbox }) pat:update_frame(52,0,2, { tex_index = 518 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(50,0,1).hurtbox }) --hitspin pat:update_frame(53,0,0, { tex_index = 517 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(53,1,0, { tex_index = 513 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(53,1,1, { tex_index = 508 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(53,1,2, { tex_index = 509 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(53,1,3, { tex_index = 510 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(53,1,4, { tex_index = 511 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(53,1,5, { tex_index = 512 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(53,2,0, { tex_index = 513 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(53,2,1, { tex_index = 508 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(53,2,2, { tex_index = 509 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(53,2,3, { tex_index = 510 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(53,2,4, { tex_index = 511 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(53,2,5, { tex_index = 512 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(53,3,0, { tex_index = 517 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 , hurtbox = pat:get_frame(50,0,0).hurtbox }) pat:update_frame(53,3,1, { tex_index = 518 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(50,0,1).hurtbox }) pat:update_frame(53,3,2, { tex_index = 518 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(50,0,1).hurtbox }) pat:update_frame(56,0,0, { tex_index = 514 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 7 }) pat:update_frame(56,0,0,function(frame) frame.hurtbox[1].x1 = frame.hurtbox[1].x1 - 20 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 - 20 frame.hurtbox[2].x1 = frame.hurtbox[2].x1 - 5 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 - 20 frame.hurtbox[3].x1 = frame.hurtbox[3].x1 - 15 end) pat:update_frame(56,0,1, { tex_index = 515 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 }) pat:update_frame(56,0,1,function(frame) frame.hurtbox[1].x1 = frame.hurtbox[1].x1 - 5 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 - 5 frame.hurtbox[2].y1 = frame.hurtbox[2].y1 - 20 frame.hurtbox[3].x1 = frame.hurtbox[3].x1 - 5 frame.hurtbox[3].x2 = frame.hurtbox[3].x2 + 5 frame.hurtbox[3].y1 = frame.hurtbox[3].y1 - 10 end) pat:update_frame(56,0,2, { tex_index = 515 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(56,0,1).hurtbox }) pat:update_frame(57,0,0, { tex_index = 514 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 13 , hurtbox = pat:get_frame(56,0,0).hurtbox }) pat:update_frame(57,0,1, { tex_index = 515 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(56,0,1).hurtbox }) pat:update_frame(57,0,2, { tex_index = 515 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(56,0,1).hurtbox }) pat:update_frame(58,0,0, { tex_index = 514 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 20 , hurtbox = pat:get_frame(56,0,0).hurtbox }) pat:update_frame(58,0,1, { tex_index = 515 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(56,0,1).hurtbox }) pat:update_frame(58,0,2, { tex_index = 515 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(56,0,1).hurtbox }) pat:update_frame(62,0,0, { tex_index = 504 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 7 }) pat:update_frame(62,0,0,function(frame) frame.hurtbox[1].x1 = frame.hurtbox[1].x1 + 10 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 + 10 frame.hurtbox[3].x2 = frame.hurtbox[3].x2 + 10 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 - 5 end) pat:update_frame(62,0,1, { tex_index = 505 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 }) pat:update_frame(62,0,1,function(frame) frame.hurtbox[1].x1 = frame.hurtbox[1].x1 + 10 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 + 10 frame.hurtbox[1].y1 = frame.hurtbox[1].y1 - 10 frame.hurtbox[3].x2 = frame.hurtbox[3].x2 + 10 frame.hurtbox[2].x1 = frame.hurtbox[2].x1 - 5 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 - 5 end) pat:update_frame(62,0,2, { tex_index = 505 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(62,0,1).hurtbox }) pat:update_frame(63,0,0, { tex_index = 504 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 13 , hurtbox = pat:get_frame(62,0,0).hurtbox }) pat:update_frame(63,0,1, { tex_index = 505 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(62,0,1).hurtbox }) pat:update_frame(63,0,2, { tex_index = 505 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(62,0,1).hurtbox }) pat:update_frame(64,0,0, { tex_index = 504 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 20 , hurtbox = pat:get_frame(62,0,0).hurtbox }) pat:update_frame(64,0,1, { tex_index = 505 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(62,0,1).hurtbox }) pat:update_frame(64,0,2, { tex_index = 505 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(62,0,1).hurtbox }) pat:update_frame(70,0,0, { tex_index = 514 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +2 , duration = 12 , hurtbox = pat:get_frame(56,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(70,0,0,function(frame) for idx = 1 , 3 do frame.hurtbox[idx].y1 = frame.hurtbox[idx].y1 - 2 frame.hurtbox[idx].y2 = frame.hurtbox[idx].y2 - 2 end frame.hurtbox[3].y2 = frame.hurtbox[3].y2 - 20 end) pat:update_frame(70,0,1, { tex_index = 515 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +2 , duration = 3 , hurtbox = pat:get_frame(56,0,1).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(70,0,1,function(frame) for idx = 1 , 3 do frame.hurtbox[idx].y1 = frame.hurtbox[idx].y1 - 2 frame.hurtbox[idx].y2 = frame.hurtbox[idx].y2 - 2 end frame.hurtbox[3].y2 = frame.hurtbox[3].y2 - 20 end) pat:update_frame(70,0,2, { tex_index = 515 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +2 , duration = 2 , hurtbox = pat:get_frame(70,0,1).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(70,1,0, { tex_index = 525 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 , hurtbox = pat:get_frame(6,2,1).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(70,2,0, { tex_index = 526 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 , hurtbox = pat:get_frame(6,2,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(70,2,1, { tex_index = 527 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 , hurtbox = pat:get_frame(6,2,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(71,0,0, { tex_index = 496 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-8 , tex_offset_y = baseY +2 , duration = 3 , hurtbox = pat:get_frame(70,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(71,0,0,function(frame) frame.hurtbox[1].x1 = frame.hurtbox[1].x1 + 8 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 + 8 frame.hurtbox[2].x1 = frame.hurtbox[2].x1 + 8 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 + 8 frame.hurtbox[3].x1 = frame.hurtbox[3].x1 + 8 frame.hurtbox[3].x2 = frame.hurtbox[3].x2 + 8 end) pat:update_frame(71,0,1, { tex_index = 497 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +2 , duration = 4 , hurtbox = pat:get_frame(70,0,1).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(71,1,0, { tex_index = 498 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(71,1,0,function(frame) frame.hurtbox[1].x1 = frame.hurtbox[1].x1 + 10 end) pat:update_frame(71,2,0, { tex_index = 499 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(71,2,0,function(frame) frame.hurtbox[1].x1 = frame.hurtbox[1].x1 + 35 frame.hurtbox[1].y1 = frame.hurtbox[1].y1 + 15 frame.hurtbox[1].y2 = frame.hurtbox[1].y2 + 15 frame.hurtbox[2].x1 = frame.hurtbox[2].x1 - 25 frame.hurtbox[3].x2 = frame.hurtbox[3].x2 + 5 end) pat:update_frame(71,2,1, { tex_index = 500 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(71,2,1,function(frame) for idx = 1 , 3 do frame.hurtbox[idx].y1 = frame.hurtbox[idx].y1 + 10 frame.hurtbox[idx].y2 = frame.hurtbox[idx].y2 + 10 end frame.hurtbox[1].y1 = frame.hurtbox[1].y1 + 5 frame.hurtbox[3].x2 = frame.hurtbox[3].x2 - 20 frame.hurtbox[1].x1 = frame.hurtbox[1].x1 + 10 end) pat:update_frame(71,2,2, { tex_index = 501 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(71,2,2,function(frame) frame.hurtbox[3].y1 = frame.hurtbox[3].y1 - 5 frame.hurtbox[3].y2 = frame.hurtbox[3].y2 - 5 frame.hurtbox[3].x1 = frame.hurtbox[3].x1 - 5 frame.hurtbox[3].x2 = frame.hurtbox[3].x2 - 5 frame.hurtbox[1].x1 = frame.hurtbox[1].x1 + 15 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 + 10 frame.hurtbox[2].x1 = frame.hurtbox[2].x1 + 5 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 + 5 end) pat:update_frame(71,3,0, { tex_index = 502 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(71,3,0,function(frame) frame.hurtbox[2].x2 = frame.hurtbox[2].x2 + 10 end) pat:update_frame(71,3,1, { tex_index = 503 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 , hurtbox = pat:get_frame(71,3,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) --[[ pat:update_frame(73,0,0, { tex_index = 496 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +2 , duration = 3 , hurtbox = pat:get_frame(71,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) --0 pat:update_frame(73,0,1, { tex_index = 497 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +2 , duration = 4 , hurtbox = pat:get_frame(71,0,1).hurtbox , collision = pat:get_frame(6,1,0).collision }) --1 pat:update_frame(73,1,0, { tex_index = 498 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(71,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) --2 pat:update_frame(73,2,0, { tex_index = 499 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 , hurtbox = pat:get_frame(71,2,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) --3 pat:update_frame(73,2,1, { tex_index = 500 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 , hurtbox = pat:get_frame(71,2,1).hurtbox , collision = pat:get_frame(6,1,0).collision }) --4 pat:update_frame(73,2,2, { tex_index = 501 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 , hurtbox = pat:get_frame(71,2,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) --5 pat:update_frame(73,3,0, { tex_index = 502 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 , hurtbox = pat:get_frame(71,3,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) --6 pat:update_frame(73,3,1, { tex_index = 503 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 , hurtbox = pat:get_frame(71,3,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) --7 ]]-- pat:update_frame(73,0,0, { tex_index = 496 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-8 , tex_offset_y = baseY +2 , duration = 3 , hurtbox = pat:get_frame(71,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) --0 pat:update_frame(73,1,0, { tex_index = 500 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(71,2,1).hurtbox , collision = pat:get_frame(6,1,0).collision }) --4 pat:update_frame(73,2,0, { tex_index = 501 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(71,2,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) --5 pat:update_frame(73,3,0, { tex_index = 502 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 , hurtbox = pat:get_frame(71,3,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) --6 pat:update_frame(73,3,1, { tex_index = 503 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 , hurtbox = pat:get_frame(71,3,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) --7 pat:update_frame(76,0,0, { tex_index = 496 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-8 , tex_offset_y = baseY +2 , duration = 3 , hurtbox = pat:get_frame(71,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) --0 pat:update_frame(76,1,0, { tex_index = 497 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +2 , duration = 2 , hurtbox = pat:get_frame(71,0,1).hurtbox , collision = pat:get_frame(6,1,0).collision }) --1 pat:update_frame(76,1,1, { tex_index = 498 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(71,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) --2 pat:update_frame(76,1,2, { tex_index = 499 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(71,2,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) --3 pat:update_frame(76,1,3, { tex_index = 500 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(71,2,1).hurtbox , collision = pat:get_frame(6,1,0).collision }) --4 pat:update_frame(76,2,0, { tex_index = 501 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(71,2,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) --5 pat:update_frame(77,0,0, { tex_index = 496 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-8 , tex_offset_y = baseY +2 , duration = 3 , hurtbox = pat:get_frame(71,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) --0 pat:update_frame(77,0,1, { tex_index = 497 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +2 , duration = 2 , hurtbox = pat:get_frame(71,0,1).hurtbox , collision = pat:get_frame(6,1,0).collision }) --1 pat:update_frame(77,0,2, { tex_index = 498 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(71,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) --2 pat:update_frame(77,0,3, { tex_index = 499 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(71,2,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) --3 pat:update_frame(77,0,4, { tex_index = 500 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(71,2,1).hurtbox , collision = pat:get_frame(6,1,0).collision }) --4 pat:update_frame(77,1,0, { tex_index = 501 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 , hurtbox = pat:get_frame(71,2,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) --5 pat:update_frame(78,0,0, { tex_index = 496 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-8 , tex_offset_y = baseY +2 , duration = 3 , hurtbox = pat:get_frame(71,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) --0 pat:update_frame(78,0,1, { tex_index = 497 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +2 , duration = 4 , hurtbox = pat:get_frame(71,0,1).hurtbox , collision = pat:get_frame(6,1,0).collision }) --1 pat:update_frame(78,1,0, { tex_index = 498 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(71,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) --2 pat:update_frame(78,2,0, { tex_index = 499 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 , hurtbox = pat:get_frame(71,2,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) --3 pat:update_frame(78,2,1, { tex_index = 500 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 , hurtbox = pat:get_frame(71,2,1).hurtbox , collision = pat:get_frame(6,1,0).collision }) --4 pat:update_frame(78,2,2, { tex_index = 501 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 , hurtbox = pat:get_frame(71,2,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) --5 pat:update_frame(78,3,0, { tex_index = 502 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 , hurtbox = pat:get_frame(71,3,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) --6 pat:update_frame(78,3,1, { tex_index = 503 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 , hurtbox = pat:get_frame(71,3,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) --7 --crash air pat:update_frame(83,0,0, { tex_index = 518 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +4 , duration = 4 , hurtbox = pat:get_frame(50,0,1).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(83,0,0,function(frame) for idx = 1 , 3 do frame.hurtbox[idx].y1 = frame.hurtbox[idx].y1 - 4 frame.hurtbox[idx].y2 = frame.hurtbox[idx].y2 - 4 end frame.hurtbox[3].y1 = frame.hurtbox[3].y1 - 20 end) pat:update_frame(83,0,1, { tex_index = 459 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +4 , duration = 3 , hurtbox = pat:get_frame(83,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(83,0,2, { tex_index = 459 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +4 , duration = 3 , hurtbox = pat:get_frame(83,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(83,0,3, { tex_index = 459 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +4 , duration = 3 , hurtbox = pat:get_frame(83,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(83,0,4, { tex_index = 459 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +4 , duration = 3 , hurtbox = pat:get_frame(83,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(83,0,5, { tex_index = 459 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +4 , duration = 3 , hurtbox = pat:get_frame(83,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(83,0,6, { tex_index = 459 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +4 , duration = 3 , hurtbox = pat:get_frame(83,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(83,0,7, { tex_index = 459 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +4 , duration = 3 , hurtbox = pat:get_frame(83,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(83,0,8, { tex_index = 459 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +4 , duration = 3 , hurtbox = pat:get_frame(83,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(83,0,9, { tex_index = 459 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +4 , duration = 3 , hurtbox = pat:get_frame(83,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(83,0,10, { tex_index = 459 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +4 , duration = 3 , hurtbox = pat:get_frame(83,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(83,0,11, { tex_index = 459 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +4 , duration = 3 , hurtbox = pat:get_frame(83,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(83,0,12, { tex_index = 459 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +4 , duration = 3 , hurtbox = pat:get_frame(83,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(83,1,0, { tex_index = 499 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 , hurtbox = pat:get_frame(71,2,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) --3 pat:update_frame(83,1,1, { tex_index = 500 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 , hurtbox = pat:get_frame(71,2,1).hurtbox , collision = pat:get_frame(6,1,0).collision }) --4 pat:update_frame(83,1,2, { tex_index = 501 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 , hurtbox = pat:get_frame(71,2,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) --5 pat:update_frame(83,2,0, { tex_index = 502 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 , hurtbox = pat:get_frame(71,3,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) --6 pat:update_frame(83,2,1, { tex_index = 503 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 , hurtbox = pat:get_frame(71,3,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) --7 --wtf pat:update_frame(84,0,0, { tex_index = 515 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 , hurtbox = pat:get_frame(56,0,1).hurtbox }) pat:update_frame(84,1,0, { tex_index = 517 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 20 }) pat:update_frame(84,1,1, { tex_index = 518 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 }) pat:update_frame(84,1,2, { tex_index = 518 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 }) pat:update_frame(85,0,0, { tex_index = 515 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 20 , hurtbox = pat:get_frame(56,0,1).hurtbox }) pat:update_frame(85,1,0, { tex_index = 517 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 20 , hurtbox = pat:get_frame(50,0,0).hurtbox }) pat:update_frame(85,1,1, { tex_index = 518 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(50,0,1).hurtbox }) pat:update_frame(85,1,2, { tex_index = 518 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(50,0,1).hurtbox }) pat:update_frame(86,0,0, { tex_index = 498 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(71,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) --2 pat:update_frame(87,0,0, { tex_index = 498 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(71,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) --2 --down pat:update_frame(89,0,0, { tex_index = 476 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 }) pat:update_frame(89,0,1, { tex_index = 476 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 1 }) pat:update_frame(89,0,2, { tex_index = 477 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 }) pat:update_frame(89,1,0, { tex_index = 478 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(89,1,1, { tex_index = 496 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-8 , tex_offset_y = baseY +2 , duration = 2 , hurtbox = pat:get_frame(71,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) --0 pat:update_frame(89,1,2, { tex_index = 497 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +2 , duration = 2 , hurtbox = pat:get_frame(71,0,1).hurtbox , collision = pat:get_frame(6,1,0).collision }) --1 pat:update_frame(89,1,3, { tex_index = 498 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(71,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) --2 pat:update_frame(89,1,4, { tex_index = 499 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(71,2,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) --3 pat:update_frame(89,1,5, { tex_index = 500 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(71,2,1).hurtbox , collision = pat:get_frame(6,1,0).collision }) --4 pat:update_frame(89,2,0, { tex_index = 501 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(71,2,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) --5 pat:update_frame(96,0,0, { tex_index = 476 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 }) pat:update_frame(96,0,1, { tex_index = 477 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 }) pat:update_frame(96,1,0, { tex_index = 478 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 }) pat:update_frame(96,1,1, { tex_index = 479 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 }) pat:update_frame(96,2,0, { tex_index = 480 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 }) pat:update_frame(96,3,0, { tex_index = 481 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 }) pat:update_frame(96,3,1, { tex_index = 482 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 }) pat:update_frame(96,3,2, { tex_index = 483 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 }) pat:update_frame(96,3,3, { tex_index = 483 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 }) pat:update_frame(96,3,4, { tex_index = 483 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 60 }) pat:update_frame(97,0,0, { tex_index = 476 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 }) pat:update_frame(97,0,1, { tex_index = 477 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 }) pat:update_frame(97,1,0, { tex_index = 478 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 }) pat:update_frame(97,1,1, { tex_index = 479 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 }) pat:update_frame(97,2,0, { tex_index = 480 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 }) pat:update_frame(97,3,0, { tex_index = 481 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 }) pat:update_frame(97,3,1, { tex_index = 482 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 }) pat:update_frame(97,3,2, { tex_index = 483 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 }) pat:update_frame(97,3,3, { tex_index = 483 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 }) pat:update_frame(97,3,4, { tex_index = 483 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 }) pat:update_frame(98,0,0, { tex_index = 483 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY }) pat:update_frame(99,0,0, { tex_index = 483 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY }) pat:update_frame(99,1,0, { tex_index = 483 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY }) pat:update_frame(99,2,0, { tex_index = 483 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY }) pat:update_frame(99,3,0, { tex_index = 483 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY }) --cinematics pat:update_frame(100,0,0, { tex_index = 518 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY }) --hupper pat:update_frame(101,0,0, { tex_index = 518 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX -18 , tex_offset_y = baseY -124 }) --hupper pat:update_frame(102,0,0, { tex_index = 515 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY }) --hunder pat:update_frame(103,0,0, { tex_index = 515 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX -4 , tex_offset_y = baseY -128 }) --hunder pat:update_frame(104,0,0, { tex_index = 505 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY }) --hsit pat:update_frame(105,0,0, { tex_index = 505 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX -4 , tex_offset_y = baseY -72 }) --hsit pat:update_frame(106,0,0, { tex_index = 497 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +2 }) --1 pat:update_frame(107,0,0, { tex_index = 497 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX -4 , tex_offset_y = baseY +2 -132 }) --1 pat:update_frame(108,0,0, { tex_index = 500 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY }) --4 pat:update_frame(109,0,0, { tex_index = 500 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX -38 , tex_offset_y = baseY -110 }) --4 pat:update_frame(110,0,0, { tex_index = 503 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY }) --7 pat:update_frame(111,0,0, { tex_index = 503 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX -8 , tex_offset_y = baseY -68 }) --7 pat:update_frame(112,0,0, { tex_index = 476 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 }) pat:update_frame(112,0,1, { tex_index = 477 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 }) pat:update_frame(112,1,0, { tex_index = 478 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 }) pat:update_frame(112,1,1, { tex_index = 479 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 }) pat:update_frame(112,2,0, { tex_index = 480 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 }) pat:update_frame(112,3,0, { tex_index = 481 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 }) pat:update_frame(112,3,1, { tex_index = 482 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 }) pat:update_frame(112,3,2, { tex_index = 483 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 }) pat:update_frame(112,3,3, { tex_index = 483 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 }) pat:update_frame(112,3,4, { tex_index = 483 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 }) pat:update_frame(112,4,0, { tex_index = 483 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 }) pat:update_frame(113,0,0, { tex_index = 480 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 }) pat:update_frame(113,1,0, { tex_index = 481 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 }) pat:update_frame(113,1,1, { tex_index = 482 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 }) pat:update_frame(113,1,2, { tex_index = 483 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 }) pat:update_frame(113,1,3, { tex_index = 483 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 }) pat:update_frame(113,1,4, { tex_index = 483 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 }) pat:update_frame(113,2,0, { tex_index = 483 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 }) pat:update_frame(114,0,0, { tex_index = 483 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 }) --crash pat:update_frame(140,0,0, { tex_index = 518 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +4 , duration = 3 , hurtbox = pat:get_frame(50,0,1).hurtbox }) pat:update_frame(140,0,1, { tex_index = 459 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +4 , duration = 3 , hurtbox = pat:get_frame(50,0,1).hurtbox }) pat:update_frame(140,0,2, { tex_index = 459 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +4 , duration = 3 , hurtbox = pat:get_frame(50,0,1).hurtbox }) pat:update_frame(140,0,3, { tex_index = 459 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +4 , duration = 3 , hurtbox = pat:get_frame(50,0,1).hurtbox }) pat:update_frame(140,0,4, { tex_index = 459 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +4 , duration = 3 , hurtbox = pat:get_frame(50,0,1).hurtbox }) pat:update_frame(140,0,5, { tex_index = 459 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +4 , duration = 3 , hurtbox = pat:get_frame(50,0,1).hurtbox }) pat:update_frame(140,0,6, { tex_index = 459 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +4 , duration = 3 , hurtbox = pat:get_frame(50,0,1).hurtbox }) pat:update_frame(140,0,7, { tex_index = 459 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +4 , duration = 3 , hurtbox = pat:get_frame(50,0,1).hurtbox }) pat:update_frame(143,0,0, { tex_index = 518 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +4 , duration = 3 , hurtbox = pat:get_frame(50,0,1).hurtbox }) pat:update_frame(143,1,0, { tex_index = 459 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +4 , duration = 3 , hurtbox = pat:get_frame(50,0,1).hurtbox }) pat:update_frame(143,1,1, { tex_index = 459 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +4 , duration = 3 , hurtbox = pat:get_frame(50,0,1).hurtbox }) pat:update_frame(143,2,0, { tex_index = 518 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +4 , duration = 6 , hurtbox = pat:get_frame(50,0,1).hurtbox }) pat:update_frame(145,0,0, { tex_index = 496 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-8 , tex_offset_y = baseY +2 , duration = 3 , hurtbox = pat:get_frame(71,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) --0 pat:update_frame(145,0,1, { tex_index = 497 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +2 , duration = 4 , hurtbox = pat:get_frame(71,0,1).hurtbox , collision = pat:get_frame(6,1,0).collision }) --1 pat:update_frame(145,1,0, { tex_index = 498 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(71,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) --2 pat:update_frame(145,2,0, { tex_index = 499 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 , hurtbox = pat:get_frame(71,2,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) --3 pat:update_frame(145,2,1, { tex_index = 500 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 , hurtbox = pat:get_frame(71,2,1).hurtbox , collision = pat:get_frame(6,1,0).collision }) --4 pat:update_frame(145,2,2, { tex_index = 501 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 , hurtbox = pat:get_frame(71,2,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) --5 pat:update_frame(145,3,0, { tex_index = 502 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 , hurtbox = pat:get_frame(71,3,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) --6 pat:update_frame(145,3,1, { tex_index = 503 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 , hurtbox = pat:get_frame(71,3,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) --7 pat:update_frame(149,0,0, { tex_index = 496 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +2 , duration = 3 , hurtbox = pat:get_frame(71,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) --0 pat:update_frame(149,0,1, { tex_index = 497 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +2 , duration = 4 , hurtbox = pat:get_frame(71,0,1).hurtbox , collision = pat:get_frame(6,1,0).collision }) --1 pat:update_frame(149,1,0, { tex_index = 498 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(71,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) --2 --airtech pat:update_frame(180,0,0, { tex_index = 524 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 11 , hurtbox = pat:get_frame(6,1,1).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(180,1,0, { tex_index = 524 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(6,2,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(180,1,1, { tex_index = 525 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(6,2,1).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(180,1,2, { tex_index = 526 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 , hurtbox = pat:get_frame(6,2,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(180,1,3, { tex_index = 527 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 , hurtbox = pat:get_frame(6,2,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(180,1,4, { tex_index = 526 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 6 , hurtbox = pat:get_frame(6,2,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(180,1,5, { tex_index = 527 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 6 , hurtbox = pat:get_frame(6,2,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(180,1,6, { tex_index = 526 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 6 , hurtbox = pat:get_frame(6,2,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(180,1,7, { tex_index = 527 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 6 , hurtbox = pat:get_frame(6,2,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:remove_frame(180,1,8) pat:update_frame(180,2,0, { tex_index = 526 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 6 , hurtbox = pat:get_frame(6,2,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(180,2,1, { tex_index = 527 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 6 , hurtbox = pat:get_frame(6,2,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) --standup for idx = 197 , 199 do pat:split_frame(idx,0,5,1,1) baseDur = 4 baseDur1 = 10 if (idx == 199) then baseDur = 3 baseDur1 = 6 end pat:update_frame(idx,0,0, { tex_index = 861 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = baseDur }) pat:update_frame(idx,0,1, { tex_index = 862 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = baseDur }) pat:update_frame(idx,0,2, { tex_index = 863 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = baseDur }) pat:update_frame(idx,0,3, { tex_index = 864 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = baseDur }) pat:update_frame(idx,0,4, { tex_index = 865 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 6 }) --pat:update_frame(idx,0,4, { tex_index = 523 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 6 }) pat:update_frame(idx,0,5, { tex_index = 522 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 8 }) pat:update_frame(idx,0,6, { tex_index = 521 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , collision = pat:get_frame(idx,0,7).collision }) pat:update_frame(idx,0,7, { tex_index = 843 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 1 }) end end function mods.n5a(pat) local baseX = 128 local baseY = 256 local baseW = 128 local baseH = 160 pat:update_frame(300,0,0, { tex_index = 843 , tex_w = baseW , tex_h = baseH , tex_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(300,0,1, { tex_index = 843 , tex_w = baseW , tex_h = baseH , tex_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(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 , collision = pat:get_frame(0,0,0).collision , duration = 2 }) 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(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) 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(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(300,0,4,function(frame) frame.hurtbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[2].x1 = frame.hurtbox[1].x1 + 40 frame.hurtbox[2].x2 = frame.hurtbox[1].x2 + 50 frame.hurtbox[2].y1 = frame.hurtbox[1].y1 + 30 frame.hurtbox[2].y2 = frame.hurtbox[2].y1 + 40 frame.damage = 450 frame.attackbox[1].y2 = frame.attackbox[1].y2 + 5 end) pat:update_frame(300,0,5, { tex_index = 4 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(300,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 10 }) pat:update_frame(300,0,6, { tex_index = 5 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(300,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(300,0,7, { 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 , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(300,0,8, { 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 , collision = pat:get_frame(0,0,0).collision , duration = 1 }) --pat:remove_frame(300,0,8) pat:update_frame(330,0,0, { tex_index = 843 , tex_w = baseW , tex_h = baseH , tex_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(330,0,1, { tex_index = 843 , tex_w = baseW , tex_h = baseH , tex_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(330,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 , collision = pat:get_frame(0,0,0).collision , duration = 2 }) 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(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) 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,4).hurtbox , damage = 450 , attackbox = pat:get_frame(300,0,4).attackbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(330,0,5, { tex_index = 4 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(300,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 10 }) pat:update_frame(330,0,6, { tex_index = 5 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(300,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(330,0,7, { 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 , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(330,0,8, { 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 , collision = pat:get_frame(0,0,0).collision , duration = 1 }) end function mods.n5aa(pat) local baseX = 128 local baseY = 256 local baseW = 128 local baseH = 160 --[[ for idx = 6 , 10 do pat:update_frame(320,0,idx,function(frame) frame.attackbox = pat:get_frame(0,0,0).attackbox end) end pat:update_frame(320,0,0, { tex_index = 22 , tex_w = baseW , tex_h = baseH , tex_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(320,0,1, { tex_index = 22 , tex_w = baseW , tex_h = baseH , tex_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(320,0,2, { tex_index = 22 , tex_w = baseW , tex_h = baseH , tex_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(320,0,3, { tex_index = 23 , tex_w = baseW , tex_h = baseH , tex_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(320,0,4, { tex_index = 23 , tex_w = baseW , tex_h = baseH , tex_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(320,0,5, { tex_index = 23 , tex_w = baseW , tex_h = baseH , tex_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(320,0,6, { tex_index = 23 , tex_w = baseW , tex_h = baseH , tex_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(320,0,7, { tex_index = 23 , tex_w = baseW , tex_h = baseH , tex_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(320,0,8, { tex_index = 24 , tex_w = baseW , tex_h = baseH , tex_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(320,0,9, { tex_index = 24 , tex_w = baseW , tex_h = baseH , tex_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(320,0,10, { tex_index = 24 , tex_w = baseW , tex_h = baseH , tex_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(320,0,11, { tex_index = 25 , tex_w = baseW , tex_h = baseH , tex_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(320,0,12, { tex_index = 25 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 10 }) pat:update_frame(320,0,13, { tex_index = 26 , tex_w = baseW , tex_h = baseH , tex_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(320,0,14, { tex_index = 27 , tex_w = baseW , tex_h = baseH , tex_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(320,0,15, { tex_index = 28 , tex_w = baseW , tex_h = baseH , tex_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(320,0,16, { tex_index = 29 , tex_w = baseW , tex_h = baseH , tex_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(320,0,0, { tex_index = 22 , tex_w = baseW , tex_h = baseH , tex_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(320,0,1, { tex_index = 22 , tex_w = baseW , tex_h = baseH , tex_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(320,0,2, { tex_index = 23 , tex_w = baseW , tex_h = baseH , tex_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(320,0,3, { tex_index = 23 , tex_w = baseW , tex_h = baseH , tex_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(320,0,4, { tex_index = 24 , tex_w = baseW , tex_h = baseH , tex_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(320,0,4,function(frame) frame.hurtbox[1].x1 = frame.hurtbox[1].x1 + 30 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 + 30 frame.hurtbox[1].y1 = frame.hurtbox[1].y1 + 10 frame.hurtbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[2].y1 = frame.hurtbox[2].y1 + 100 end) pat:update_frame(320,0,5, { tex_index = 24 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(320,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 1 }) pat:update_frame(320,0,6, { tex_index = 25 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(320,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 15 }) pat:update_frame(320,0,6,function(frame) frame.hurtbox[1].x1 = frame.hurtbox[1].x1 + 20 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 + 20 frame.hurtbox[1].y1 = frame.hurtbox[1].y1 + 0 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 frame.hurtbox[3] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[3].y1 = frame.hurtbox[3].y1 + 120 frame.hurtbox[3].x1 = frame.hurtbox[2].x1 - 30 frame.hurtbox[3].x2 = frame.hurtbox[3].x1 + 60 for idx = 1 , 2 do frame.attackbox[idx].y1 = frame.attackbox[idx].y1 + 15 frame.attackbox[idx].y2 = frame.attackbox[idx].y2 + 10 end end) pat:update_frame(320,0,7, { tex_index = 25 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(320,0,6).hurtbox , attackbox = pat:get_frame(320,0,6).attackbox , collision = pat:get_frame(0,0,0).collision , duration = 10 }) pat:update_frame(320,0,8, { tex_index = 26 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(320,0,6).hurtbox , attackbox = pat:get_frame(0,0,0).attackbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(320,0,9, { tex_index = 27 , 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(320,0,9,function(frame) frame.hurtbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[1].x1 = frame.hurtbox[1].x1 + 30 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 + 30 frame.hurtbox[1].y2 = frame.hurtbox[1].y2 - 90 frame.hurtbox[2].y1 = frame.hurtbox[1].y2 - 30 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 + 10 end) pat:update_frame(320,0,10, { tex_index = 28 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(320,0,9).hurtbox , attackbox = pat:get_frame(0,0,0).attackbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(320,0,10,function(frame) frame.hurtbox[1].x1 = frame.hurtbox[1].x1 - 20 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 - 20 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 - 10 end) pat:update_frame(320,0,11, { tex_index = 29 , 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 }) for idx = 12 , 16 do pat:remove_frame(320,0,12) end for idx = 6 , 7 do pat:update_frame(320,0,idx,function(frame) frame.blockstop_enemy = 5 +5 frame.hitstop_enemy = 5 +5 frame.blockstop_self = 5 +5 frame.hitstop_self = 5 +5 frame.sp_damage = 200 frame.card_gain_hit = 80 frame.card_gain_block = 60 frame.damage = 400 frame.proration = 920 --frame.damage = 200 --frame.proration = 970 set_aflag(frame,AF_COUNTER_HIT) end) end end function mods.n2a(pat) local baseX = 128 local baseY = 256 local baseW = 128 local baseH = 160 pat:update_frame(303,0,0, { tex_index = 603 , 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(303,0,1, { tex_index = 8 , 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(303,0,2, { tex_index = 8 , 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 = 1 }) pat:update_frame(303,0,3, { tex_index = 9 , 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 = 3 }) pat:update_frame(303,0,3,function(frame) frame.hurtbox[1].x1 = frame.hurtbox[1].x1 + 20 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 + 20 frame.hurtbox[1].y1 = frame.hurtbox[1].y1 - 10 frame.hurtbox[1].y2 = frame.hurtbox[1].y2 - 50 frame.hurtbox[2] = pat:get_frame(2,0,0).hurtbox[1] frame.hurtbox[2].x1 = frame.hurtbox[2].x1 + 15 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 + 15 frame.hurtbox[2].y1 = frame.hurtbox[2].y1 + 40 frame.hurtbox[3] = pat:get_frame(2,0,0).hurtbox[1] frame.hurtbox[3].x1 = frame.hurtbox[1].x2 - 20 frame.hurtbox[3].x2 = frame.hurtbox[3].x1 + 60 frame.hurtbox[3].y1 = frame.hurtbox[3].y1 + 40 frame.hurtbox[3].y2 = frame.hurtbox[3].y1 + 40 end) pat:update_frame(303,0,4, { tex_index = 10 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(303,0,3).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 3 }) pat:update_frame(303,0,4,function(frame) frame.hurtbox[1].x1 = frame.hurtbox[1].x1 + 10 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 + 10 frame.attackbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.attackbox[2].x1 = frame.attackbox[1].x1 + 40 frame.attackbox[2].x2 = frame.attackbox[1].x2 - 20 frame.attackbox[2].y1 = frame.attackbox[1].y1 - 40 frame.attackbox[2].y2 = frame.attackbox[1].y2 frame.attackbox[1].x2 = frame.attackbox[1].x2 - 50 frame.damage = 450 end) pat:update_frame(303,0,5, { tex_index = 11 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(303,0,4).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 10 }) pat:update_frame(303,0,6, { tex_index = 12 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(303,0,3).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 4 }) pat:update_frame(303,0,6,function(frame) frame.hurtbox[3] = null end) pat:update_frame(303,0,7, { tex_index = 13 , 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 = 4 }) end function mods.n6a(pat) local baseX = 128 local baseY = 256 local baseW = 128 local baseH = 160 pat:update_frame(302,0,0, { tex_index = 6 , tex_w = baseW , tex_h = baseH , tex_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(302,0,0,function(frame) frame.hurtbox[1].x1 = frame.hurtbox[1].x1 - 10 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 - 10 frame.hurtbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[1].y2 = frame.hurtbox[1].y2 - 80 frame.hurtbox[2].y1 = frame.hurtbox[1].y2 - 5 frame.hurtbox[2].x1 = frame.hurtbox[2].x1 - 30 frame.hurtbox[3] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[3].x1 = frame.hurtbox[1].x2 - 20 frame.hurtbox[3].x2 = frame.hurtbox[3].x1 + 80 frame.hurtbox[3].y1 = frame.hurtbox[1].y1 + 35 frame.hurtbox[3].y2 = frame.hurtbox[3].y1 + 40 end) pat:update_frame(302,0,1, { tex_index = 7 , 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(302,0,1,function(frame) frame.hurtbox[3] = null end) pat:update_frame(302,0,2, { tex_index = 56 , tex_w = baseW , tex_h = baseH , tex_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(302,0,3, { tex_index = 56 , tex_w = baseW , tex_h = baseH , tex_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(302,0,4, { tex_index = 7 , 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(302,0,5, { tex_index = 57 , 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(302,0,6, { tex_index = 58 , 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(302,0,6,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 + 20 frame.attackbox[1].y1 = frame.attackbox[1].y1 + 15 frame.attackbox[1].y2 = frame.attackbox[1].y2 + 10 frame.attackbox[1].x1 = frame.attackbox[1].x1 - 15 end) pat:update_frame(302,0,7, { tex_index = 59 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(302,0,6).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(302,0,7,function(frame) frame.hurtbox[1].x1 = frame.hurtbox[1].x1 + 10 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 + 10 frame.hurtbox[3].y1 = frame.hurtbox[3].y1 - 25 frame.hurtbox[3].y2 = frame.hurtbox[3].y2 - 10 frame.attackbox[2] = null frame.attackbox[1] = pat:get_frame(302,0,6).attackbox[1] frame.attackbox[1].x1 = frame.attackbox[1].x1 - 5 frame.attackbox[1].y1 = frame.attackbox[1].y1 - 50 frame.attackbox[1].x2 = frame.attackbox[1].x2 - 5 frame.attackbox[1].y2 = frame.attackbox[1].y2 - 30 end) pat:update_frame(302,0,8, { tex_index = 60 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(302,0,7).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(302,0,8,function(frame) frame.hurtbox[3] = null frame.hurtbox[1].x1 = frame.hurtbox[1].x1 + 10 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 + 10 frame.hurtbox[1].yy = frame.hurtbox[1].y2 - 30 frame.hurtbox[2].y1 = frame.hurtbox[2].y1 - 30 frame.attackbox[2] = null frame.attackbox[1] = pat:get_frame(302,0,6).attackbox[1] frame.attackbox[1].y1 = frame.hurtbox[1].y1 - 20 frame.attackbox[1].x1 = frame.hurtbox[1].x1 - 50 frame.attackbox[1].x2 = frame.attackbox[1].x1 + 100 frame.attackbox[1].y2 = frame.attackbox[1].y1 + 50 end) pat:update_frame(302,0,9, { tex_index = 61 , 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(302,0,9,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 + 20 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 + 20 end) pat:update_frame(302,0,10, { tex_index = 62 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(302,0,9).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(302,0,10,function(frame) frame.hurtbox[1].x1 = frame.hurtbox[1].x1 - 5 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 - 5 frame.hurtbox[2].x1 = frame.hurtbox[2].x1 + 5 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 + 5 end) pat:update_frame(302,0,11, { tex_index = 63 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(302,0,10).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(302,0,11,function(frame) frame.hurtbox[1].x1 = frame.hurtbox[1].x1 - 15 end) pat:update_frame(302,0,12, { tex_index = 64 , tex_w = baseW , tex_h = baseH , tex_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(302,0,12,function(frame) frame.hurtbox[1].x1 = frame.hurtbox[1].x1 - 15 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 - 15 frame.hurtbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[1].y2 = frame.hurtbox[1].y2 - 80 frame.hurtbox[2].y1 = frame.hurtbox[1].y2 - 20 end) pat:update_frame(302,0,13, { tex_index = 65 , tex_w = baseW , tex_h = baseH , tex_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,14, { tex_index = 66 , tex_w = baseW , tex_h = baseH , tex_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(302,1,0, { tex_index = 56 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 13 }) pat:update_frame(302,1,1, { tex_index = 7 , 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 = 5 }) pat:update_frame(302,1,2, { tex_index = 57 , 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(302,1,3, { tex_index = 58 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(302,0,6).hurtbox , attackbox = pat:get_frame(302,0,6).attackbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(302,1,4, { tex_index = 59 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(302,0,7).hurtbox , attackbox = pat:get_frame(302,0,7).attackbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(302,1,5, { tex_index = 60 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(302,0,8).hurtbox , attackbox = pat:get_frame(302,0,8).attackbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(302,1,6, { tex_index = 61 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(302,0,9).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(302,1,7, { tex_index = 62 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(302,0,10).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(302,1,8, { tex_index = 63 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(302,0,11).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(302,1,9, { tex_index = 64 , tex_w = baseW , tex_h = baseH , tex_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(302,1,10, { tex_index = 65 , tex_w = baseW , tex_h = baseH , tex_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,1,11, { tex_index = 66 , tex_w = baseW , tex_h = baseH , tex_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 = 6 , 8 do pat:update_frame(302,0,idx,function(frame) frame.damage = 700 end) end for idx = 3 , 5 do pat:update_frame(302,1,idx,function(frame) frame.launch_vector_x = 2500 frame.launch_vector_y = 1250 frame.hit_ani_air = 74 frame.hit_ani_ground = 74 end) end end function mods.nf5a(pat) local baseX = 128 local baseY = 256 local baseW = 128 local baseH = 160 pat:remove_frame(301,0,7) pat:split_frame(301,0,6,1,1) pat:update_frame(301,0,0, { 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 , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(301,0,1, { tex_index = 48 , tex_w = baseW , tex_h = baseH , tex_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(301,0,2, { tex_index = 49 , tex_w = baseW , tex_h = baseH , tex_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(301,0,3, { tex_index = 50 , tex_w = baseW , tex_h = baseH , tex_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(301,0,4, { tex_index = 50 , tex_w = baseW , tex_h = baseH , tex_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(301,0,5, { 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(301,0,6, { 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 = 6 }) pat:update_frame(301,0,6,function(frame) frame.hurtbox[1].x1 = frame.hurtbox[1].x1 + 15 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 + 15 frame.hurtbox[1].y2 = frame.hurtbox[1].y2 - 100 frame.hurtbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[2].y1 = frame.hurtbox[1].y2 - 20 frame.hurtbox[3] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[3].y1 = frame.hurtbox[3].y1 + 100 frame.hurtbox[3].x2 = frame.hurtbox[2].x1 + 10 frame.hurtbox[3].x1 = frame.hurtbox[3].x2 - 40 frame.hurtbox[4] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[4].x1 = frame.hurtbox[2].x2 - 20 frame.hurtbox[4].x2 = frame.hurtbox[4].x1 + 80 frame.hurtbox[4].y1 = frame.hurtbox[2].y1 - 20 frame.hurtbox[4].y2 = frame.hurtbox[4].y1 + 40 frame.attackbox[1].x1 = frame.hurtbox[1].x1 + 252 -10 frame.attackbox[1].x2 = frame.attackbox[1].x1 + 100 +20 frame.attackbox[1].y1 = frame.hurtbox[1].y1 + 0 -10 frame.attackbox[1].y2 = frame.attackbox[1].y1 + 100 +20 end) pat:update_frame(301,0,7, { tex_index = 53 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(301,0,6).hurtbox , attackbox = pat:get_frame(301,0,6).attackbox , collision = pat:get_frame(0,0,0).collision , duration = 6 }) pat:update_frame(301,0,7,function(frame)--[[ frame.attackbox[1].x1 = frame.attackbox[1].x1 - 20 frame.attackbox[1].x2 = frame.attackbox[1].x2 + 20 frame.attackbox[1].y1 = frame.attackbox[1].y1 - 20 frame.attackbox[1].y2 = frame.attackbox[1].y2 + 20]]-- end) pat:update_frame(301,0,8, { tex_index = 52 , 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 = 6 }) pat:update_frame(301,0,9, { tex_index = 464 , 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 = 6 }) pat:update_frame(301,0,10, { tex_index = 54 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(320,0,10).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) for idx = 6 , 7 do pat:update_frame(301,0,idx,function(frame) frame.aflags = pat:get_frame(300,0,4).aflags frame.launch_vector_x = 0 frame.launch_vector_y = 1650 frame.limit = 10 frame.damage = 650 frame.combo_correction = CC_LIFT_ATTACK unset_aflag(frame,AF_AIR_BLOCKABLE) set_aflag(frame,AF_COUNTER_HIT) end) end pat:remove_frame(301,1,5) pat:split_frame(301,1,4,1,1) pat:update_frame(301,1,0, { tex_index = 50 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 15 }) pat:update_frame(301,1,1, { tex_index = 50 , tex_w = baseW , tex_h = baseH , tex_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(301,1,2, { tex_index = 50 , tex_w = baseW , tex_h = baseH , tex_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(301,1,3, { 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(301,1,4, { tex_index = 52 , 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 = 6 }) pat:update_frame(301,1,4,function(frame) frame.attackbox[1].x1 = frame.hurtbox[1].x1 + 228 -15 frame.attackbox[1].x2 = frame.attackbox[1].x1 + 150 +30 frame.attackbox[1].y1 = frame.hurtbox[1].y1 - 20 -15 frame.attackbox[1].y2 = frame.attackbox[1].y1 + 150 +30 end) pat:update_frame(301,1,5, { tex_index = 53 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(301,0,6).hurtbox , attackbox = pat:get_frame(301,1,4).attackbox , collision = pat:get_frame(0,0,0).collision , duration = 6 }) pat:update_frame(301,1,5,function(frame)--[[ frame.attackbox[1].x1 = frame.attackbox[1].x1 - 30 frame.attackbox[1].x2 = frame.attackbox[1].x2 + 30 frame.attackbox[1].y1 = frame.attackbox[1].y1 - 30 frame.attackbox[1].y2 = frame.attackbox[1].y2 + 30]]-- end) pat:update_frame(301,1,6, { tex_index = 52 , 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 = 6 }) pat:update_frame(301,1,7, { tex_index = 464 , 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 = 6 }) pat:update_frame(301,1,8, { tex_index = 54 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(301,0,10).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) for idx = 4 , 5 do pat:update_frame(301,1,idx,function(frame) frame.aflags = pat:get_frame(300,0,4).aflags unset_aflag(frame,AF_AIR_BLOCKABLE) frame.launch_vector_x = 0 frame.launch_vector_y = 2500 frame.combo_correction = CC_LIFT_ATTACK frame.hit_ani_air = 71 frame.hit_ani_ground = 71 set_aflag(frame,AF_COUNTER_HIT) end) end for idx = 20 , 22 do pat:remove_frame(848,0,20) end for idx = 0 , 19 do pat:update_frame(848,0,idx,function(frame) frame.tex_w = 256 frame.tex_h = 256 frame.tex_offset_x = -160 frame.tex_offset_y = 256 frame.scale_x = 100 frame.scale_y = 100 end) end pat:split_frame(848,0,0,1,1) pat:update_frame(848,0,0,{ tex_w = 0 , duration = 7}) for idx = 20 , 22 do pat:remove_frame(848,1,20) end for idx = 0 , 19 do pat:update_frame(848,1,idx,function(frame) frame.tex_w = 256 frame.tex_h = 256 frame.tex_offset_x = -64 frame.tex_offset_y = 208 frame.scale_x = 150 frame.scale_y = 150 end) end pat:split_frame(848,1,0,1,1) pat:update_frame(848,1,0,{ tex_w = 0 , duration = 7}) end function mods.n5aaa(pat) local baseX = 128 local baseY = 256 local baseW = 128 local baseH = 160 pat:update_frame(321,0,0, { 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 , collision = pat:get_frame(0,0,0).collision , duration = 2 }) pat:update_frame(321,0,1, { tex_index = 48 , tex_w = baseW , tex_h = baseH , tex_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(321,0,2, { tex_index = 49 , tex_w = baseW , tex_h = baseH , tex_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(321,0,3, { tex_index = 50 , tex_w = baseW , tex_h = baseH , tex_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(321,0,4, { tex_index = 50 , tex_w = baseW , tex_h = baseH , tex_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(321,0,5, { tex_index = 50 , tex_w = baseW , tex_h = baseH , tex_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(321,0,6, { 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(321,0,7, { tex_index = 52 , 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 = 6 }) pat:update_frame(321,0,7,function(frame) for idx = 1 , 3 do frame.attackbox[idx].x1 = frame.attackbox[idx].x1 - 30 frame.attackbox[idx].x2 = frame.attackbox[idx].x2 + 30 frame.attackbox[idx].y1 = frame.attackbox[idx].y1 - 30 frame.attackbox[idx].y2 = frame.attackbox[idx].y2 + 30 frame.hitstop_enemy = 20 end end) pat:update_frame(321,0,8, { tex_index = 53 , 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 = 6 }) pat:update_frame(321,0,9, { tex_index = 52 , 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 = 6 }) pat:update_frame(321,0,10, { tex_index = 53 , 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 = 6 }) pat:update_frame(321,0,11, { tex_index = 52 , 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 = 6 }) pat:update_frame(321,0,12, { tex_index = 464 , 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(321,0,13, { tex_index = 464 , 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(321,0,14, { tex_index = 464 , 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(321,0,15, { tex_index = 464 , 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(321,0,16, { tex_index = 464 , 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(321,0,17, { tex_index = 54 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(301,0,10).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) for idx = 2 , 19 do pat:split_frame(848,10,1,1,1) end for idx = 0 , 19 do pat:update_frame(848,10,idx,function(frame) frame.tex_index = 319 + idx frame.tex_w = 256 frame.tex_h = 256 frame.tex_offset_x = 128 frame.tex_offset_y = 128 frame.scale_x = 200 frame.scale_y = 200 frame.duration = 2 end) end pat:split_frame(848,10,19,1,1) pat:update_frame(848,10,19,{tex_w = 0 , duration = 15}) pat:split_frame(848,10,0,1,1) pat:update_frame(848,10,0,{tex_w = 0 , duration = 3}) pat:get_sequence(848,10):set_looped(false) end function mods.n3a(pat) local baseX = 128 local baseX2 = 192 local baseY = 256 local baseW = 128 local baseW2 = 160 local baseH = 160 for idx = 10 , 12 do pat:split_frame(304,0,9,1,1) end pat:update_frame(304,0,0, { tex_index = 36 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(1,0,1).hurtbox , collision = pat:get_frame(1,0,1).collision , duration = 3 }) pat:update_frame(304,0,1, { tex_index = 37 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(1,0,1).hurtbox , collision = pat:get_frame(1,0,1).collision , duration = 3 }) pat:update_frame(304,0,1,function(frame) frame.hurtbox[2] = pat:get_frame(2,0,0).hurtbox[1] frame.hurtbox[2].y1 = frame.hurtbox[2].y2 - 60 frame.hurtbox[2].x1 = frame.hurtbox[2].x1 - 40 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 + 25 end) pat:update_frame(304,0,2, { tex_index = 37 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(304,0,1).hurtbox , collision = pat:get_frame(1,0,1).collision , duration = 3 }) pat:update_frame(304,0,3, { tex_index = 38 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX -0 , tex_offset_y = baseY , hurtbox = pat:get_frame(304,0,1).hurtbox , collision = pat:get_frame(1,0,1).collision , duration = 3 }) pat:update_frame(304,0,4, { tex_index = 39 , tex_w = baseW2 , tex_h = baseH , tex_offset_x = baseX2 -24 , tex_offset_y = baseY , hurtbox = pat:get_frame(304,0,1).hurtbox , collision = pat:get_frame(1,0,1).collision , duration = 3 }) pat:update_frame(304,0,4,function(frame) frame.hurtbox[1].y2 = frame.hurtbox[1].y2 - 35 frame.hurtbox[2].x1 = frame.hurtbox[1].x1 + 10 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 + 40 frame.hurtbox[2].y1 = frame.hurtbox[2].y1 + 20 frame.hurtbox[3] = pat:get_frame(2,0,0).hurtbox[1] frame.hurtbox[3].x1 = frame.hurtbox[1].x2 - 20 frame.hurtbox[3].x2 = frame.hurtbox[3].x1 + 50 frame.hurtbox[3].y1 = frame.hurtbox[2].y1 - 25 frame.hurtbox[3].y2 = frame.hurtbox[2].y1 + 10 frame.hurtbox[1].x1 = frame.hurtbox[1].x1 - 10 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 - 10 end) pat:update_frame(304,0,5, { tex_index = 39 , tex_w = baseW2 , tex_h = baseH , tex_offset_x = baseX2 -24 , tex_offset_y = baseY , hurtbox = pat:get_frame(304,0,4).hurtbox , collision = pat:get_frame(1,0,1).collision , duration = 3 }) pat:update_frame(304,0,6, { tex_index = 40 , tex_w = baseW2 , tex_h = baseH , tex_offset_x = baseX2 -24 , tex_offset_y = baseY , hurtbox = pat:get_frame(304,0,4).hurtbox , collision = pat:get_frame(1,0,1).collision , duration = 3 }) pat:update_frame(304,0,7, { tex_index = 40 , tex_w = baseW2 , tex_h = baseH , tex_offset_x = baseX2 -24 , tex_offset_y = baseY , hurtbox = pat:get_frame(304,0,4).hurtbox , collision = pat:get_frame(1,0,1).collision , duration = 3 }) pat:update_frame(304,0,8, { tex_index = 39 , tex_w = baseW2 , tex_h = baseH , tex_offset_x = baseX2 -24 , tex_offset_y = baseY , hurtbox = pat:get_frame(304,0,4).hurtbox , collision = pat:get_frame(1,0,1).collision , duration = 6 }) pat:update_frame(304,0,9, { tex_index = 40 , tex_w = baseW2 , tex_h = baseH , tex_offset_x = baseX2 -24 , tex_offset_y = baseY , hurtbox = pat:get_frame(304,0,4).hurtbox , collision = pat:get_frame(1,0,1).collision , duration = 10 }) pat:update_frame(304,0,10, { tex_index = 41 , tex_w = baseW2 , tex_h = baseH , tex_offset_x = baseX2 -24 , tex_offset_y = baseY , hurtbox = pat:get_frame(304,0,4).hurtbox , collision = pat:get_frame(1,0,1).collision , duration = 5 }) pat:update_frame(304,0,11, { tex_index = 37 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX -0 , tex_offset_y = baseY , hurtbox = pat:get_frame(304,0,1).hurtbox , collision = pat:get_frame(1,0,1).collision , duration = 4 }) pat:update_frame(304,0,12, { tex_index = 36 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(1,0,1).hurtbox , collision = pat:get_frame(1,0,1).collision , duration = 3 }) pat:update_frame(304,1,0, { tex_index = 37 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(304,0,1).hurtbox , collision = pat:get_frame(1,0,1).collision , duration = 15 }) pat:update_frame(304,1,1, { tex_index = 38 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX -0 , tex_offset_y = baseY , hurtbox = pat:get_frame(304,0,1).hurtbox , collision = pat:get_frame(1,0,1).collision , duration = 3 }) pat:update_frame(304,1,2, { tex_index = 39 , tex_w = baseW2 , tex_h = baseH , tex_offset_x = baseX2 -24 , tex_offset_y = baseY , hurtbox = pat:get_frame(304,0,4).hurtbox , collision = pat:get_frame(1,0,1).collision , duration = 3 }) pat:update_frame(304,1,3, { tex_index = 39 , tex_w = baseW2 , tex_h = baseH , tex_offset_x = baseX2 -24 , tex_offset_y = baseY , hurtbox = pat:get_frame(304,0,4).hurtbox , collision = pat:get_frame(1,0,1).collision , duration = 3 }) pat:update_frame(304,1,4, { tex_index = 40 , tex_w = baseW2 , tex_h = baseH , tex_offset_x = baseX2 -24 , tex_offset_y = baseY , hurtbox = pat:get_frame(304,0,4).hurtbox , collision = pat:get_frame(1,0,1).collision , duration = 3 }) pat:update_frame(304,1,5, { tex_index = 40 , tex_w = baseW2 , tex_h = baseH , tex_offset_x = baseX2 -24 , tex_offset_y = baseY , hurtbox = pat:get_frame(304,0,4).hurtbox , collision = pat:get_frame(1,0,1).collision , duration = 3 }) pat:update_frame(304,1,6, { tex_index = 39 , tex_w = baseW2 , tex_h = baseH , tex_offset_x = baseX2 -24 , tex_offset_y = baseY , hurtbox = pat:get_frame(304,0,4).hurtbox , collision = pat:get_frame(1,0,1).collision , duration = 3 }) pat:update_frame(304,1,7, { tex_index = 39 , tex_w = baseW2 , tex_h = baseH , tex_offset_x = baseX2 -24 , tex_offset_y = baseY , hurtbox = pat:get_frame(304,0,4).hurtbox , collision = pat:get_frame(1,0,1).collision , duration = 3 }) pat:update_frame(304,1,8, { tex_index = 40 , tex_w = baseW2 , tex_h = baseH , tex_offset_x = baseX2 -24 , tex_offset_y = baseY , hurtbox = pat:get_frame(304,0,4).hurtbox , collision = pat:get_frame(1,0,1).collision , duration = 5 }) pat:update_frame(304,1,9, { tex_index = 40 , tex_w = baseW2 , tex_h = baseH , tex_offset_x = baseX2 -24 , tex_offset_y = baseY , hurtbox = pat:get_frame(304,0,4).hurtbox , collision = pat:get_frame(1,0,1).collision , duration = 5 }) pat:update_frame(304,1,10, { tex_index = 41 , tex_w = baseW2 , tex_h = baseH , tex_offset_x = baseX2 -24 , tex_offset_y = baseY , hurtbox = pat:get_frame(304,0,4).hurtbox , collision = pat:get_frame(1,0,1).collision , duration = 5 }) pat:update_frame(304,1,11, { tex_index = 37 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX -0 , tex_offset_y = baseY , hurtbox = pat:get_frame(304,0,1).hurtbox , collision = pat:get_frame(1,0,1).collision , duration = 4 }) pat:update_frame(304,1,12, { tex_index = 36 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(1,0,1).hurtbox , collision = pat:get_frame(1,0,1).collision , duration = 3 }) for idx = 4 , 9 do pat:update_frame(304,0,idx,function(frame) frame.damage = 700 end) end for idx = 2 , 7 do pat:update_frame(304,1,idx,function(frame) frame.damage = 900 end) end end function mods.nj5a(pat) local baseX = 128 local baseY = 256 local baseW = 128 local baseH = 160 pat:update_frame(306,0,0, { 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 , collision = pat:get_frame(9,0,0).collision , duration = 3 }) pat:update_frame(306,0,1, { tex_index = 31 , 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(9,0,0).collision , duration = 5 }) pat:update_frame(306,0,2, { tex_index = 32 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(320,0,4).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 3 , attackbox = pat:get_frame(0,0,0).attackbox }) pat:update_frame(306,0,2,function(frame) for idx = 1 , 2 do frame.hurtbox[idx].x1 = frame.hurtbox[idx].x1 - 15 frame.hurtbox[idx].x2 = frame.hurtbox[idx].x2 - 15 frame.hurtbox[idx].y2 = frame.hurtbox[idx].y2 - 20 end frame.hurtbox[1].y2 = frame.hurtbox[1].y2 - 40 frame.hurtbox[2].x2 = frame.hurtbox[1].x2 - 10 frame.hurtbox[2].x1 = frame.hurtbox[2].x1 + 20 end) pat:update_frame(306,0,3, { tex_index = 33 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(320,0,9).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 2 , attackbox = pat:get_frame(320,0,6).attackbox }) pat:update_frame(306,0,3,function(frame) for idx = 1 , 2 do frame.attackbox[idx].x1 = frame.attackbox[idx].x1 - 25 frame.attackbox[idx].x2 = frame.attackbox[idx].x2 - 25 end frame.hurtbox[2].y2 = frame.hurtbox[2].y2 - 20 end) pat:update_frame(306,0,4, { tex_index = 33 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(306,0,3).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 2 , attackbox = pat:get_frame(306,0,3).attackbox }) pat:update_frame(306,0,5, { tex_index = 33 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(306,0,3).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 2 , attackbox = pat:get_frame(306,0,3).attackbox }) pat:update_frame(306,0,6, { tex_index = 33 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(306,0,3).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 2 , attackbox = pat:get_frame(306,0,3).attackbox }) pat:update_frame(306,0,7, { tex_index = 33 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(306,0,3).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 2 , attackbox = pat:get_frame(306,0,3).attackbox }) pat:update_frame(306,0,8, { tex_index = 33 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(306,0,3).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 10 }) pat:update_frame(306,0,9, { tex_index = 34 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(306,0,3).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 3 }) pat:update_frame(306,0,10, { tex_index = 35 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(9,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 3 }) for idx = 11 , 13 do pat:remove_frame(306,0,11) end for idx = 3 , 8 do pat:update_frame(306,0,idx,function(frame) frame.blockstop_enemy = 5 +5 frame.hitstop_enemy = 5 +5 frame.blockstop_self = 5 +5 frame.hitstop_self = 5 +5 frame.damage = 400 frame.sp_damage = 200 frame.card_gain_hit = 80 frame.card_gain_block = 60 frame.proration = 920 --frame.damage = 200 --frame.proration = 970 set_aflag(frame,AF_COUNTER_HIT) end) end for idx = 10 , 16 do pat:split_frame(848,9,9,1,1) end for idx = 0 , 16 do pat:update_frame(848,9,idx,function(frame) local idxa = idx if (idxa>6) then idxa=6 end frame.tex_index = 231 + idxa frame.tex_w = 256 frame.tex_h = 256 frame.tex_offset_x = 224 -16 frame.tex_offset_y = 128 frame.scale_x = 100 frame.scale_y = 100 frame.duration = 2 if (idx > 6) then local alpha = 25*(16-idx) if (alpha < 0) then alpha = 0 end frame.color_r = alpha frame.color_g = alpha frame.color_b = alpha end end) end pat:split_frame(848,9,16,2,1) pat:update_frame(848,9,17,{tex_w = 0 , duration = 80}) for idx = 10 , 16 do pat:split_frame(848,6,9,1,1) end end function mods.nj5a_1(pat) for idx = 3 , 7 do pat:update_frame(306,0,idx,function(frame) frame.attackbox[2] = null frame.attackbox[1].x1 = frame.hurtbox[1].x1 + 252 -10 frame.attackbox[1].x2 = frame.attackbox[1].x1 + 100 +20 frame.attackbox[1].y1 = frame.hurtbox[1].y1 + 20 frame.attackbox[1].y2 = frame.attackbox[1].y1 + 100 +20 end) end for idx = 17 , 19 do pat:split_frame(848,6,0,1,1) end --j5a for idx = 0 , 19 do pat:update_frame(848,6,idx,function(frame) frame.tex_index = 145 + idx frame.tex_w = 256 frame.tex_h = 256 frame.tex_offset_x = -110 frame.tex_offset_y = 170 frame.scale_x = 100 frame.scale_y = 100 frame.duration = 1 end) end pat:split_frame(848,6,16,2,1) pat:update_frame(848,6,17,{tex_w = 0 , duration = 80}) end function mods.nj5a_2(pat) --j5a for idx = 0 , 16 do pat:update_frame(848,6,idx,function(frame) local idxa = idx if (idxa>6) then idxa=6 end frame.tex_index = 231 + idxa frame.tex_w = 256 frame.tex_h = 256 frame.tex_offset_x = 192 -16 frame.tex_offset_y = 208 frame.scale_x = 100 frame.scale_y = 100 frame.duration = 2 if (idx > 6) then local alpha = 25*(16-idx) if (alpha < 0) then alpha = 0 end frame.color_r = alpha frame.color_g = alpha frame.color_b = alpha frame.duration = 1 end end) end pat:split_frame(848,6,16,2,1) pat:update_frame(848,6,17,{tex_w = 0 , duration = 80}) end function mods.nj2a(pat) local baseX = 128 local baseY = 256 local baseW = 128 local baseH = 160 pat:split_frame(308,0,8,1,1) pat:split_frame(308,0,8,1,1) pat:split_frame(308,0,8,1,1) pat:update_frame(308,0,0, { tex_index = 794 , 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(9,0,0).collision , duration = 4 }) pat:update_frame(308,0,1, { tex_index = 795 , 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(9,0,0).collision , duration = 4 }) pat:update_frame(308,0,1,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].y2 = frame.hurtbox[1].y2 frame.hurtbox[2].y1 = frame.hurtbox[1].y2 - 75 frame.hurtbox[1].y2 = frame.hurtbox[1].y2 - 55 frame.hurtbox[3] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[3].x1 = frame.hurtbox[1].x2 - 25 frame.hurtbox[3].x2 = frame.hurtbox[3].x1 + 65 frame.hurtbox[3].y1 = frame.hurtbox[1].y1 - 40 frame.hurtbox[3].y2 = frame.hurtbox[3].y1 + 85 end) pat:update_frame(308,0,2, { tex_index = 796 , 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(9,0,0).collision , duration = 5 }) pat:update_frame(308,0,3, { tex_index = 797 , 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(9,0,0).collision , duration = 4 }) pat:update_frame(308,0,3,function(frame) frame.hurtbox[3].x2 = frame.hurtbox[3].x2 + 20 frame.hurtbox[3].y1 = frame.hurtbox[3].y1 + 70 frame.hurtbox[3].y2 = frame.hurtbox[3].y2 + 55 frame.attackbox[1].y1 = frame.attackbox[1].y1 - 60 frame.attackbox[1].y2 = frame.attackbox[1].y2 - 60 frame.attackbox[1].x1 = frame.attackbox[1].x1 + 30 frame.attackbox[1].x2 = frame.attackbox[1].x2 + 15 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[1].x2 + 10 frame.attackbox[2].y1 = frame.attackbox[1].y1 - 60 frame.attackbox[2].y2 = frame.attackbox[1].y2 - 20 frame.attackbox[1].y2 = frame.attackbox[1].y2 + 40 frame.attackbox[1].x1 = frame.attackbox[1].x1 + 30 frame.attackbox[2].x1 = frame.attackbox[2].x1 + 30 frame.attackbox[3] = pat:get_frame(0,0,0).hurtbox[1] frame.attackbox[3].x1 = frame.attackbox[2].x1 - 40 frame.attackbox[3].x2 = frame.attackbox[2].x1 + 40 frame.attackbox[3].y1 = frame.attackbox[2].y1 - 0 frame.attackbox[3].y2 = frame.attackbox[3].y1 + 80 frame.attackbox[2].y1 = frame.attackbox[2].y1 + 25 frame.damage = 850 end) pat:update_frame(308,0,4, { tex_index = 798 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(308,0,3).hurtbox , attackbox = pat:get_frame(308,0,3).attackbox , collision = pat:get_frame(9,0,0).collision , duration = 6 }) pat:update_frame(308,0,5, { tex_index = 799 , 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(9,0,0).collision , duration = 6 }) pat:update_frame(308,0,6, { tex_index = 798 , 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(9,0,0).collision , duration = 6 }) pat:update_frame(308,0,7, { tex_index = 799 , 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(9,0,0).collision , duration = 6 }) pat:update_frame(308,0,8, { tex_index = 800 , 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(9,0,0).collision , duration = 5 }) pat:update_frame(308,0,9, { tex_index = 473 , 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(9,0,0).collision , duration = 4 }) pat:update_frame(308,0,10, { tex_index = 474 , 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(9,0,0).collision , duration = 4 }) pat:update_frame(308,0,11, { tex_index = 475 , 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(9,0,0).collision , duration = 4 }) pat:split_frame(308,1,6,1,1) pat:split_frame(308,1,6,1,1) pat:split_frame(308,1,6,1,1) pat:update_frame(308,1,0, { tex_index = 796 , 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(9,0,0).collision , duration = 15 }) pat:update_frame(308,1,1, { tex_index = 797 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(308,0,3).hurtbox , damage = 950 , attackbox = pat:get_frame(308,0,3).attackbox , collision = pat:get_frame(9,0,0).collision , duration = 4 }) pat:update_frame(308,1,1,function(frame) frame.attackbox[1].y2 = frame.attackbox[1].y2 + 40 frame.attackbox[1].x1 = frame.attackbox[1].x1 - 10 frame.attackbox[1].x2 = frame.attackbox[1].x2 + 20 frame.attackbox[2].x2 = frame.attackbox[2].x2 + 20 end) pat:update_frame(308,1,2, { tex_index = 798 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(308,0,3).hurtbox , attackbox = pat:get_frame(308,1,1).attackbox , collision = pat:get_frame(9,0,0).collision , duration = 6 }) pat:update_frame(308,1,3, { tex_index = 799 , 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(9,0,0).collision , duration = 6 }) pat:update_frame(308,1,4, { tex_index = 798 , 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(9,0,0).collision , duration = 6 }) pat:update_frame(308,1,5, { tex_index = 799 , 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(9,0,0).collision , duration = 6 }) pat:update_frame(308,1,6, { tex_index = 800 , 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(9,0,0).collision , duration = 5 }) pat:update_frame(308,1,7, { tex_index = 473 , 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(9,0,0).collision , duration = 4 }) pat:update_frame(308,1,8, { tex_index = 474 , 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(9,0,0).collision , duration = 4 }) pat:update_frame(308,1,9, { tex_index = 475 , 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(9,0,0).collision , duration = 4 }) --[[ for idx = 1 , 12 do pat:remove_frame(848,7,1) end pat:update_frame(848,7,0,{tex_w = 0})]]-- for idx = 13 , 16 do pat:split_frame(848,7,0,1,1) end for idx = 0 , 16 do pat:update_frame(848,7,idx,function(frame) local idxa = idx if (idxa>6) then idxa=6 end frame.tex_index = 231 + idxa frame.tex_w = 256 frame.tex_h = 256 frame.tex_offset_x = 96 frame.tex_offset_y = 128 frame.scale_x = 100 frame.scale_y = 100 frame.angle_z = 270 frame.duration = 2 if (idx > 6) then local alpha = 25*(16-idx) if (alpha < 0) then alpha = 0 end frame.color_r = alpha frame.color_g = alpha frame.color_b = alpha frame.duration = 1 end end) end pat:remove_frame(848,7,0) end function mods.nj6a(pat) local baseX = 128 local baseY = 256-2 local baseW = 128 local baseH = 160 pat:update_frame(307,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 , collision = pat:get_frame(9,0,0).collision , duration = 3 }) pat:update_frame(307,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 , collision = pat:get_frame(9,0,0).collision , duration = 2 }) pat:update_frame(307,0,1,function(frame) frame.hurtbox[1].x1 = frame.hurtbox[1].x1 - 15 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 - 15 frame.hurtbox[2] = pat:get_frame(6,1,0).hurtbox[1] frame.hurtbox[1].y2 = frame.hurtbox[1].y2 - 80 frame.hurtbox[2].y1 = frame.hurtbox[1].y2 - 20 end) pat:update_frame(307,0,2, { tex_index = 43 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(307,0,1).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 3 }) pat:update_frame(307,0,3, { tex_index = 44 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(307,0,1).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 1 }) pat:update_frame(307,0,4, { tex_index = 44 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(307,0,1).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 4 }) pat:update_frame(307,0,5, { tex_index = 45 , 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(9,0,0).collision , duration = 6 }) pat:update_frame(307,0,5,function(frame) frame.hurtbox[1].x1 = frame.hurtbox[1].x1 + 15 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 + 15 frame.hurtbox[2] = pat:get_frame(6,1,0).hurtbox[1] frame.hurtbox[1].y2 = frame.hurtbox[1].y2 - 80 frame.hurtbox[2].y1 = frame.hurtbox[1].y2 - 20 frame.hurtbox[3] = pat:get_frame(6,1,0).hurtbox[1] frame.hurtbox[3].x1 = frame.hurtbox[1].x2 - 20 frame.hurtbox[3].x2 = frame.hurtbox[3].x1 + 80 frame.hurtbox[3].y1 = frame.hurtbox[1].y1 + 35 frame.hurtbox[3].y2 = frame.hurtbox[3].y1 + 40--[[ frame.damage = 800 frame.sp_damage = 200 frame.limit = 40 frame.proration = 800 frame.untech = 45 frame.hitstop_enemy = 10 frame.hitstop_self =10 frame.blockstop_enemy = 10 frame.blockstop_self = 10 frame.attack_level = AL_HEAVY frame.card_gain_hit = 120 frame.card_gain_block = 80 frame.combo_correction = CC_LIFT_ATTACK frame.hit_ani_air = 74 frame.hit_ani_ground = 74 frame.launch_vector_x = 2000 frame.launch_vector_y = 1500 frame.unknown_9 = 100 frame.hit_effect = 5 frame.hit_sfx = 5]]-- end) pat:update_frame(307,0,6, { tex_index = 46 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(307,0,5).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 6 }) pat:update_frame(307,0,7, { tex_index = 45 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(307,0,5).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 3 }) pat:update_frame(307,0,8, { tex_index = 45 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(307,0,5).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 3 }) pat:update_frame(307,0,9, { tex_index = 46 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(307,0,5).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 3 }) pat:update_frame(307,0,10, { tex_index = 46 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(307,0,5).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 3 }) pat:update_frame(307,0,11, { tex_index = 45 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(307,0,5).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 12 }) pat:update_frame(307,0,12, { tex_index = 14 , 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(9,0,0).collision , duration = 1 }) pat:update_frame(307,0,13, { tex_index = 14 , 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(9,0,0).collision , duration = 1 }) pat:update_frame(307,0,14, { tex_index = 14 , 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(9,0,0).collision , duration = 1 }) pat:update_frame(307,0,15, { tex_index = 14 , 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(9,0,0).collision , duration = 1 }) pat:update_frame(307,0,16, { tex_index = 14 , 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(9,0,0).collision , duration = 1 }) --pat:update_frame(307,0,14, { tex_index = 55 , tex_w = baseW , tex_h = baseH , tex_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(307,0,15, { tex_index = 55 , tex_w = baseW , tex_h = baseH , tex_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(307,0,16, { tex_index = 55 , tex_w = baseW , tex_h = baseH , tex_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 }) end function mods.nj6a_1(pat) for idx = 20 , 29 do pat:remove_frame(848,5,20) end for idx = 0 , 19 do pat:update_frame(848,5,idx,function(frame) frame.tex_index = 145 + idx 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.attackbox[3] = null frame.attackbox[2] = null frame.attackbox[1].x1 = -60 frame.attackbox[1].x2 = 60 frame.attackbox[1].y1 = -60 frame.attackbox[1].y2 = 60 if (idx > 8) then frame.damage = 650 frame.sp_damage = 200 frame.limit = 40 frame.untech = 45 frame.proration = 850 frame.hitstop_enemy = 0 frame.blockstop_enemy = 0 frame.card_gain_hit = 120 frame.card_gain_block = 80 frame.attack_level = AL_HEAVY frame.launch_vector_x = 2450 frame.launch_vector_y = 1500 frame.hit_ani_air = 74 frame.hit_ani_ground = 74 frame.combo_correction = CC_LIFT_ATTACK else frame.damage = 100 frame.sp_damage = 0 frame.limit = 0 frame.untech = 45 frame.proration = 990 frame.hitstop_enemy = 0 frame.blockstop_enemy = 0 frame.card_gain_hit = 10 frame.card_gain_block = 10 frame.attack_level = AL_HEAVY frame.launch_vector_x = 0 frame.launch_vector_y = 700 frame.hit_ani_air = 71 frame.hit_ani_ground = 71 frame.combo_correction = CC_LIFT_ATTACK end local scalemod = 100/frame.scale_x local idxa = idx if (idxa > 6) then idxa = 6 end local ymod = idxa*2 local xmod = 140 - idxa*10 - idx*1 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.attackbox[1] = null end) end pat:update_frame(848,5,0,{scale_x = 300 , scale_y = 300 }) pat:update_frame(848,5,1,{scale_x = 260 , scale_y = 260 }) pat:update_frame(848,5,2,{scale_x = 220 , scale_y = 220 }) pat:update_frame(848,5,3,{scale_x = 180 , scale_y = 180 }) pat:update_frame(848,5,4,{scale_x = 160 , scale_y = 160 }) pat:update_frame(848,5,5,{scale_x = 140 , scale_y = 140 }) pat:update_frame(848,5,6,{scale_x = 120 , scale_y = 120 }) pat:update_frame(848,5,7,{scale_x = 100 , scale_y = 100 }) for idx = 12 , 19 do pat:update_frame(848,5,idx,function(frame) --frame.attackbox = pat:get_frame(0,0,0).attackbox end) end pat:remove_frame(848,5,19) pat:remove_frame(848,5,17) pat:remove_frame(848,5,14) end function mods.nj6a_2(pat) for idx = 19 , 29 do pat:remove_frame(848,5,19) end for idx = 0 , 18 do pat:update_frame(848,5,idx,function(frame) frame.tex_index = 183 + idx +3 frame.tex_w = 64 frame.tex_h = 128 frame.tex_offset_x = 40 frame.tex_offset_y = 64 frame.scale_x = 400 frame.scale_y = 300 frame.attackbox = pat:get_frame(0,0,0).hurtbox frame.attackbox[1].x1 = -50 frame.attackbox[1].x2 = 50 frame.attackbox[1].y1 = -120 frame.attackbox[1].y2 = 120 local scalemod = 100/frame.scale_x local ymod = 40 local xmod = -80 - idx*1 frame.tex_offset_y = frame.tex_offset_y - (ymod)*scalemod frame.attackbox[1].y1 = frame.attackbox[1].y1 + (ymod) frame.attackbox[1].y2 = frame.attackbox[1].y2 + (ymod) frame.tex_offset_x = frame.tex_offset_x - (xmod)*scalemod frame.attackbox[1].x1 = frame.attackbox[1].x1 + (xmod) frame.attackbox[1].x2 = frame.attackbox[1].x2 + (xmod) frame.hit_ani_air = 71 frame.hit_ani_ground = 71 frame.launch_vector_y = 1850 frame.launch_vector_x = 400 frame.aflags = pat:get_frame(306,0,2).aflags frame.damage = 500 frame.proration = 920 if (idx < 4) then frame.attackbox[1] = null frame.color_r = 0*idx frame.color_g = 0*idx frame.color_b = 0*idx end if (idx > 16+2) then frame.attackbox[1] = null end end) end end function mods.nj6a_fix(pat) pat:split_frame(307,0,4,1,3) pat:remove_frame(307,0,17) pat:update_frame(307,0,16,{duration = 2}) end function mods.nj8a(pat) local baseX = 128 local baseY = 256-2 local baseW = 128 local baseH = 160 pat:update_frame(309,0,0, { tex_index = 608 , 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(9,0,0).collision , duration = 3 }) pat:update_frame(309,0,1, { tex_index = 609 , 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(9,0,0).collision , duration = 3 }) pat:update_frame(309,0,1,function(frame) frame.hurtbox[2] = pat:get_frame(6,1,0).hurtbox[1] frame.hurtbox[1].y2 = -110 frame.hurtbox[2].x1 = frame.hurtbox[2].x1 - 5 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 + 15 frame.hurtbox[2].y1 = -130 frame.hurtbox[1].x1 = frame.hurtbox[1].x1 + 20 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 + 20 end) pat:update_frame(309,0,2, { tex_index = 610 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(309,0,1).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 3 }) pat:update_frame(309,0,3, { tex_index = 610 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(309,0,1).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 3 }) pat:update_frame(309,0,4, { tex_index = 611 , 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(9,0,0).collision , duration = 2 }) pat:update_frame(309,0,4,function(frame) frame.hurtbox[2] = pat:get_frame(6,1,0).hurtbox[1] frame.hurtbox[1].y2 = -110 frame.hurtbox[2].x1 = frame.hurtbox[2].x1 - 5 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 + 15 frame.hurtbox[2].y1 = -130 frame.hurtbox[1].x1 = frame.hurtbox[1].x1 + 10 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 + 10 end) pat:update_frame(309,0,5, { tex_index = 611 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(309,0,4).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 1 }) pat:split_frame(309,1,0,1,1) pat:split_frame(309,1,0,1,1) pat:update_frame(309,1,0, { tex_index = 612 , 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(9,0,0).collision , duration = 3 }) pat:update_frame(309,1,0,function(frame) frame.hurtbox[2] = pat:get_frame(6,1,0).hurtbox[1] frame.hurtbox[1].y2 = -110 frame.hurtbox[2].x1 = frame.hurtbox[2].x1 - 5 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 + 15 frame.hurtbox[2].y1 = -130 end) pat:update_frame(309,1,1, { tex_index = 613 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(309,1,0).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 3 }) pat:update_frame(309,1,2, { tex_index = 614 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(309,1,0).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 3 }) pat:update_frame(309,2,0, { tex_index = 612 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(309,1,0).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 3 }) pat:update_frame(309,2,1, { tex_index = 613 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(309,1,0).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 4 }) pat:update_frame(309,2,2, { tex_index = 614 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(309,1,0).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 16 }) pat:update_frame(309,2,3, { tex_index = 611 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(309,0,4).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 5 }) pat:update_frame(309,2,4, { tex_index = 615 , 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(9,0,0).collision , duration = 4 }) for idx = 0 , 5 do pat:update_frame(848,12,idx,function(frame) frame.blending_mode = 2 frame.tex_index = 145 frame.tex_w = 0 frame.tex_h = 256 frame.tex_offset_x = 128 frame.tex_offset_y = 128 frame.scale_x = 100 frame.scale_y = 100--[[ frame.attackbox[3] = null frame.attackbox[2] = null frame.attackbox[1].x1 = -60 frame.attackbox[1].x2 = 60 frame.attackbox[1].y1 = -60 frame.attackbox[1].y2 = 60]]-- end) end for idx = 1 , 19 do pat:split_frame(848,13,0,1,1) end for idx = 0 , 19 do pat:update_frame(848,13,idx,function(frame) frame.tex_index = 328 frame.tex_w = 256 frame.tex_h = 256 frame.tex_offset_x = 128 frame.tex_offset_y = 128 frame.scale_x = 150 -0*idx frame.scale_y = 150 -0*idx local scalemod = 100/frame.scale_x local ymod = 0 local xmod = 0*idx frame.tex_offset_y = frame.tex_offset_y - (ymod)*scalemod frame.tex_offset_x = frame.tex_offset_x - (xmod)*scalemod --[[ frame.attackbox[3] = null frame.attackbox[2] = null frame.attackbox[1].x1 = -60 frame.attackbox[1].x2 = 60 frame.attackbox[1].y1 = -60 frame.attackbox[1].y2 = 60]]-- end) end end function mods.n66a(pat) local baseX = 128 local baseY = 256 local baseW = 128 local baseH = 160 pat:split_frame(305,0,10,1,1) pat:update_frame(305,0,0, { tex_index = 22 , tex_w = baseW , tex_h = baseH , tex_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(305,0,1, { tex_index = 22 , tex_w = baseW , tex_h = baseH , tex_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(305,0,2, { tex_index = 23 , tex_w = baseW , tex_h = baseH , tex_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(305,0,3, { tex_index = 23 , tex_w = baseW , tex_h = baseH , tex_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(305,0,4, { tex_index = 23 , tex_w = baseW , tex_h = baseH , tex_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(305,0,5, { tex_index = 24 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(320,0,5).hurtbox , attackbox = pat:get_frame(320,0,6).attackbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(305,0,5,function(frame) frame.attackbox[2] = null frame.attackbox[1].x2 = frame.attackbox[1].x2 + 20 frame.attackbox[1].y1 = frame.attackbox[1].y1 - 0 frame.attackbox[1].y2 = frame.attackbox[1].y2 + 30 frame.attackbox[1].x1 = frame.attackbox[1].x1 - 70 frame.attackbox[1].x2 = frame.attackbox[1].x2 - 70 frame.aflags = pat:get_frame(320,0,6).aflags end) pat:update_frame(305,0,6, { tex_index = 25 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(320,0,6).hurtbox , attackbox = pat:get_frame(0,0,0).attackbox , collision = pat:get_frame(0,0,0).collision , duration = 5 }) pat:update_frame(305,0,7, { tex_index = 25 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(320,0,7).hurtbox , attackbox = pat:get_frame(0,0,0).attackbox , collision = pat:get_frame(0,0,0).collision , duration = 5 }) pat:update_frame(305,0,8, { tex_index = 26 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(320,0,8).hurtbox , attackbox = pat:get_frame(0,0,0).attackbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(305,0,9, { tex_index = 27 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(320,0,9).hurtbox , attackbox = pat:get_frame(0,0,0).attackbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(305,0,10, { tex_index = 28 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(320,0,10).hurtbox , attackbox = pat:get_frame(0,0,0).attackbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(305,0,11, { tex_index = 29 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(320,0,11).hurtbox , attackbox = pat:get_frame(0,0,0).attackbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) end function mods.n66b(pat) local baseX = 128 local baseY = 256 local baseW = 128 local baseH = 160 pat:update_frame(408,0,0, { tex_index = 57 , 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 = 2 }) pat:update_frame(408,0,1, { tex_index = 57 , 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 = 2 }) pat:update_frame(408,0,2, { tex_index = 58 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(302,0,6).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) pat:update_frame(408,0,3, { tex_index = 58 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(302,0,6).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) pat:update_frame(408,0,4, { tex_index = 59 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(302,0,7).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) pat:update_frame(408,0,5, { tex_index = 59 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(302,0,7).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 1 , hitstop_self = 5 , hitstop_enemy = 5 , blockstop_self = 5 , blockstop_enemy = 5 }) --active pat:update_frame(408,0,5,function(frame) frame.attackbox[2] = null frame.attackbox[1].x1 = frame.hurtbox[1].x1 - 40 frame.attackbox[1].x2 = frame.hurtbox[1].x2 + 40 frame.attackbox[1].y1 = frame.hurtbox[1].y1 - 40 frame.attackbox[1].y2 = frame.hurtbox[1].y2 + 40 frame.attackbox[1].y1 = frame.attackbox[1].y1 + 40 frame.attackbox[1].y2 = frame.attackbox[1].y1 + 60+30 frame.attackbox[1].x1 = frame.attackbox[1].x1 + 80 frame.attackbox[1].x2 = frame.attackbox[1].x1 + 80+40 end) pat:update_frame(408,0,6, { tex_index = 60 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(302,0,8).hurtbox , attackbox = pat:get_frame(408,0,5).attackbox , collision = pat:get_frame(0,0,0).collision , duration = 2 , hitstop_self = 5 , hitstop_enemy = 5 , blockstop_self = 5 , blockstop_enemy = 5 }) pat:update_frame(408,0,7, { tex_index = 60 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(302,0,8).hurtbox , attackbox = pat:get_frame(408,0,5).attackbox , collision = pat:get_frame(0,0,0).collision , duration = 1 , hitstop_self = 5 , hitstop_enemy = 5 , blockstop_self = 5 , blockstop_enemy = 5 }) pat:update_frame(408,0,7,function(frame) frame.attackbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.attackbox[2].x1 = frame.attackbox[1].x1 - 120 frame.attackbox[2].x2 = frame.attackbox[1].x2 - 70 -40 frame.attackbox[2].y1 = frame.attackbox[1].y1 - 25 frame.attackbox[2].y2 = frame.attackbox[1].y2 - 5 -30 end) pat:update_frame(408,0,8, { tex_index = 61 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(302,0,9).hurtbox , attackbox = pat:get_frame(408,0,7).attackbox , collision = pat:get_frame(0,0,0).collision , duration = 2 , hitstop_self = 5 , hitstop_enemy = 5 , blockstop_self = 5 , blockstop_enemy = 5 }) pat:update_frame(408,0,9, { tex_index = 61 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(302,0,9).hurtbox , attackbox = pat:get_frame(408,0,7).attackbox , collision = pat:get_frame(0,0,0).collision , duration = 1 , hitstop_self = 5 , hitstop_enemy = 5 , blockstop_self = 5 , blockstop_enemy = 5 }) pat:update_frame(408,0,9,function(frame) frame.attackbox[3] = pat:get_frame(0,0,0).hurtbox[1] frame.attackbox[3].x1 = frame.attackbox[2].x1 - 120 frame.attackbox[3].x2 = frame.attackbox[2].x2 - 70 frame.attackbox[3].y1 = frame.attackbox[2].y1 - 25 frame.attackbox[3].y2 = frame.attackbox[2].y2 + 50 end) pat:update_frame(408,0,10, { tex_index = 62 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(302,0,10).hurtbox , attackbox = pat:get_frame(408,0,9).attackbox , collision = pat:get_frame(0,0,0).collision , duration = 2 , hitstop_self = 5 , hitstop_enemy = 5 , blockstop_self = 5 , blockstop_enemy = 5 }) pat:update_frame(408,0,11, { tex_index = 62 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(302,0,10).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 1 }) pat:update_frame(408,0,12, { tex_index = 63 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(302,0,11).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) pat:update_frame(408,0,13, { tex_index = 63 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(302,0,11).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 1 }) pat:update_frame(408,0,14, { tex_index = 64 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 22-4 }) pat:update_frame(408,0,15, { tex_index = 65 , tex_w = baseW , tex_h = baseH , tex_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(408,0,16, { tex_index = 66 , tex_w = baseW , tex_h = baseH , tex_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 = 1 , 29 do pat:remove_frame(848,8,1) end for idx = 1 , 14 do pat:split_frame(848,8,0,1,1) end for idx = 0 , 14 do pat:update_frame(848,8,idx,function(frame) frame.tex_index = 168 + idx frame.tex_w = 256 frame.tex_h = 128 frame.tex_offset_x = 224 frame.tex_offset_y = 64 frame.scale_x = 200 frame.scale_y = 200 end) end end function mods.n66c(pat) local baseX = 128 local baseY = 256 local baseW = 128 local baseH = 160 pat:remove_frame(418,0,7) pat:split_frame(418,0,6,1,1) pat:update_frame(418,0,0, { 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 , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(418,0,1, { tex_index = 48 , tex_w = baseW , tex_h = baseH , tex_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(418,0,2, { tex_index = 49 , tex_w = baseW , tex_h = baseH , tex_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(418,0,3, { tex_index = 50 , tex_w = baseW , tex_h = baseH , tex_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(418,0,4, { tex_index = 50 , tex_w = baseW , tex_h = baseH , tex_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(418,0,5, { 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(418,0,6, { tex_index = 52 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(301,0,6).hurtbox , attackbox = pat:get_frame(301,0,6).attackbox , collision = pat:get_frame(0,0,0).collision , duration = 6 }) pat:update_frame(418,0,7, { tex_index = 53 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(301,0,6).hurtbox , attackbox = pat:get_frame(301,0,7).attackbox , collision = pat:get_frame(0,0,0).collision , duration = 6 }) pat:update_frame(418,0,8, { tex_index = 52 , 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 = 6 }) pat:update_frame(418,0,9, { tex_index = 464 , 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 = 6 }) pat:update_frame(418,0,10, { tex_index = 54 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(301,0,10).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) for idx = 6 , 7 do pat:update_frame(418,0,idx,function(frame) frame.aflags = pat:get_frame(300,0,4).aflags frame.untech = 60 frame.launch_vector_y = 1650 set_aflag(frame,AF_COUNTER_HIT) end) end end function mods.b5b(pat) local baseX = 128 local baseY = 256 local baseW = 128 local baseH = 160 pat:update_frame(400,0,0, { 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 , duration = 5-3 }) pat:update_frame(400,0,1, { 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 , duration = 3 }) pat:update_frame(400,0,2, { 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 , duration = 5-3 }) pat:update_frame(400,0,2,function(frame) frame.hurtbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[2].x1 = frame.hurtbox[1].x2 - 10 frame.hurtbox[2].x2 = frame.hurtbox[2].x1 + 30 frame.hurtbox[2].y1 = frame.hurtbox[1].y1 + 30 frame.hurtbox[2].y2 = frame.hurtbox[2].y1 + 40 end) pat:update_frame(400,0,3, { tex_index = 549 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(400,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(400,0,4, { tex_index = 550 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(400,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) pat:update_frame(400,0,4,function(frame) frame.hurtbox[2].x1 = frame.hurtbox[2].x1 + 0 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 + 0 frame.hurtbox[2].y1 = frame.hurtbox[2].y1 + 10 frame.hurtbox[2].y2 = frame.hurtbox[2].y2 + 10 end) pat:update_frame(400,0,5, { tex_index = 551 , 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 = 3 }) pat:update_frame(400,0,6, { tex_index = 552 , 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 = 3 }) pat:update_frame(400,0,7, { tex_index = 553 , 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 = 3 }) pat:update_frame(400,0,8, { tex_index = 552 , 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 = 5 }) pat:update_frame(400,0,9, { tex_index = 553 , 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 = 6 }) pat:update_frame(400,0,10, { tex_index = 553 , 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 = 2 }) pat:update_frame(400,0,11, { tex_index = 553 , 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 = 2 }) pat:update_frame(400,0,12, { tex_index = 553 , 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 = 2 }) pat:update_frame(400,0,13, { tex_index = 554 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(400,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 6 }) pat:update_frame(400,0,14, { tex_index = 555 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(400,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 5 }) pat:update_frame(400,0,15, { tex_index = 556 , tex_w = baseW , tex_h = baseH , tex_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(400,1,0, { tex_index = 549 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(400,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 15 }) pat:update_frame(400,1,1, { tex_index = 550 , 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 = 2 }) pat:update_frame(400,1,2, { tex_index = 551 , 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 = 3 }) pat:update_frame(400,1,3, { tex_index = 552 , 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 = 3 }) pat:update_frame(400,1,4, { tex_index = 553 , 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 = 3 }) pat:update_frame(400,1,5, { tex_index = 552 , 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 = 5 }) pat:update_frame(400,1,6, { tex_index = 553 , 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 = 6 }) pat:update_frame(400,1,7, { tex_index = 553 , 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 = 2 }) pat:update_frame(400,1,8, { tex_index = 553 , 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 = 2 }) pat:update_frame(400,1,9, { tex_index = 553 , 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 = 2 }) pat:update_frame(400,1,10, { tex_index = 554 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(400,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 6 }) pat:update_frame(400,1,11, { tex_index = 555 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(400,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 5 }) pat:update_frame(400,1,12, { tex_index = 556 , tex_w = baseW , tex_h = baseH , tex_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 }) --6b pat:update_frame(401,0,0, { 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 , duration = 5-3 }) pat:update_frame(401,0,1, { 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 , duration = 3 }) pat:update_frame(401,0,2, { tex_index = 549 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(400,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 5-3 }) pat:update_frame(401,0,3, { tex_index = 549 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(400,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(401,0,4, { tex_index = 550 , 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 = 2 }) pat:update_frame(401,0,5, { tex_index = 551 , 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 = 3 }) pat:update_frame(401,0,6, { tex_index = 552 , 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 = 3 }) pat:update_frame(401,0,7, { tex_index = 553 , 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 = 3 }) pat:update_frame(401,0,8, { tex_index = 552 , 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 = 5 }) pat:update_frame(401,0,9, { tex_index = 553 , 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 = 6 }) pat:update_frame(401,0,10, { tex_index = 553 , 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 = 2 }) pat:update_frame(401,0,11, { tex_index = 553 , 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 = 2 }) pat:update_frame(401,0,12, { tex_index = 554 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(400,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 6 }) pat:update_frame(401,0,13, { tex_index = 555 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(400,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 5 }) pat:update_frame(401,0,14, { tex_index = 556 , tex_w = baseW , tex_h = baseH , tex_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(401,1,0, { tex_index = 549 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(400,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 15 }) pat:update_frame(401,1,1, { tex_index = 550 , 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 = 2 }) pat:update_frame(401,1,2, { tex_index = 551 , 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 = 3 }) pat:update_frame(401,1,3, { tex_index = 552 , 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 = 3 }) pat:update_frame(401,1,4, { tex_index = 553 , 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 = 3 }) pat:update_frame(401,1,5, { tex_index = 552 , 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 = 5 }) pat:update_frame(401,1,6, { tex_index = 553 , 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 = 6 }) pat:update_frame(401,1,7, { tex_index = 553 , 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 = 2 }) pat:update_frame(401,1,8, { tex_index = 553 , 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 = 2 }) pat:update_frame(401,1,9, { tex_index = 554 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(400,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 6 }) pat:update_frame(401,1,10, { tex_index = 555 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(400,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 5 }) pat:update_frame(401,1,11, { tex_index = 556 , tex_w = baseW , tex_h = baseH , tex_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 }) --j5b pat:update_frame(404,0,0, { tex_index = 548 , 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(9,0,0).collision , duration = 5-3 }) pat:update_frame(404,0,1, { tex_index = 548 , 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(9,0,0).collision , duration = 3 }) pat:update_frame(404,0,2, { tex_index = 549 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(400,0,2).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 5-3 }) pat:update_frame(404,0,2,function(frame) frame.hurtbox[1].y1 = frame.hurtbox[1].y1 - 10 frame.hurtbox[1].y2 = frame.hurtbox[1].y2 - 20 end) pat:update_frame(404,0,3, { tex_index = 549 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,2).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 3 }) pat:update_frame(404,0,4, { tex_index = 550 , 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(9,0,0).collision , duration = 2 }) pat:update_frame(404,0,4,function(frame) frame.hurtbox[1].y1 = frame.hurtbox[1].y1 - 10 frame.hurtbox[1].y2 = frame.hurtbox[1].y2 - 20 end) pat:update_frame(404,0,5, { tex_index = 551 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,4).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 3 }) pat:update_frame(404,0,6, { tex_index = 552 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,4).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 3 }) pat:update_frame(404,0,7, { tex_index = 553 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,4).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 3 }) pat:update_frame(404,0,8, { tex_index = 552 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,4).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 5 }) pat:update_frame(404,0,9, { tex_index = 553 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,4).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 6 }) pat:update_frame(404,0,10, { tex_index = 553 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,4).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 2 }) pat:update_frame(404,0,11, { tex_index = 554 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,2).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 6 }) pat:update_frame(404,0,12, { tex_index = 555 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,2).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 5 }) pat:update_frame(404,0,13, { tex_index = 556 , 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(9,0,0).collision , duration = 5 }) pat:update_frame(404,0,14, { tex_index = 475 , 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(9,0,0).collision , duration = 4 }) pat:update_frame(404,1,0, { tex_index = 549 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,2).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 15 }) pat:update_frame(404,1,1, { tex_index = 550 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,4).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 2 }) pat:update_frame(404,1,2, { tex_index = 551 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,4).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 3 }) pat:update_frame(404,1,3, { tex_index = 552 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,4).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 3 }) pat:update_frame(404,1,4, { tex_index = 553 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,4).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 3 }) pat:update_frame(404,1,5, { tex_index = 552 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,4).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 5 }) pat:update_frame(404,1,6, { tex_index = 553 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,4).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 6 }) pat:update_frame(404,1,7, { tex_index = 553 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,4).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 2 }) pat:update_frame(404,1,8, { tex_index = 554 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,2).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 6 }) pat:update_frame(404,1,9, { tex_index = 555 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,2).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 5 }) pat:update_frame(404,1,10, { tex_index = 556 , 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(9,0,0).collision , duration = 5 }) pat:update_frame(404,1,11, { tex_index = 475 , 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(9,0,0).collision , duration = 4 }) pat:split_frame(404,2,0,1,1) pat:update_frame(404,2,0, { tex_index = 523 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 6 , hurtbox = pat:get_frame(6,0,1).hurtbox , collision = pat:get_frame(6,0,1).collision }) pat:update_frame(404,2,1, { tex_index = 522 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(6,0,1).hurtbox , collision = pat:get_frame(6,0,1).collision }) pat:update_frame(404,2,2, { tex_index = 521 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(6,0,0).hurtbox , collision = pat:get_frame(6,0,0).collision }) --j2b pat:split_frame(406,0,13,1,1) pat:split_frame(406,1,10,1,1) pat:update_frame(406,0,0, { tex_index = 548 , 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(9,0,0).collision , duration = 5-3 }) pat:update_frame(406,0,1, { tex_index = 548 , 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(9,0,0).collision , duration = 3 }) pat:update_frame(406,0,2, { tex_index = 557 , 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(9,0,0).collision , duration = 5-3 }) pat:update_frame(406,0,3, { tex_index = 557 , 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(9,0,0).collision , duration = 3 }) pat:update_frame(406,0,4, { 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 , collision = pat:get_frame(9,0,0).collision , duration = 2 }) pat:update_frame(406,0,5, { 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 , collision = pat:get_frame(9,0,0).collision , duration = 3 }) pat:update_frame(406,0,6, { tex_index = 466 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,4).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 3 }) pat:update_frame(406,0,7, { tex_index = 467 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,4).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 3 }) pat:update_frame(406,0,8, { tex_index = 466 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,4).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 5 }) pat:update_frame(406,0,9, { tex_index = 467 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,4).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 6 }) pat:update_frame(406,0,10, { tex_index = 468 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,2).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 5 }) pat:update_frame(406,0,11, { tex_index = 554 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,2).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 5 }) pat:update_frame(406,0,12, { tex_index = 555 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,2).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 3 }) pat:update_frame(406,0,13, { tex_index = 556 , 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(9,0,0).collision , duration = 3 }) pat:update_frame(406,0,14, { tex_index = 475 , 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(9,0,0).collision , duration = 4 }) pat:update_frame(406,1,0, { tex_index = 557 , 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(9,0,0).collision , duration = 15 }) pat:update_frame(406,1,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 , collision = pat:get_frame(9,0,0).collision , duration = 2 }) pat:update_frame(406,1,2, { 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 , collision = pat:get_frame(9,0,0).collision , duration = 3 }) pat:update_frame(406,1,3, { tex_index = 466 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,4).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 3 }) pat:update_frame(406,1,4, { tex_index = 467 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,4).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 3 }) pat:update_frame(406,1,5, { tex_index = 466 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,4).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 5 }) pat:update_frame(406,1,6, { tex_index = 467 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,4).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 6 }) pat:update_frame(406,1,7, { tex_index = 468 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,2).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 5 }) pat:update_frame(406,1,8, { tex_index = 554 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,2).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 5 }) pat:update_frame(406,1,9, { tex_index = 555 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,2).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 3 }) pat:update_frame(406,1,10, { tex_index = 556 , 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(9,0,0).collision , duration = 3 }) pat:update_frame(406,1,11, { tex_index = 475 , 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(9,0,0).collision , duration = 4 }) pat:split_frame(406,2,0,1,1) pat:update_frame(406,2,0, { tex_index = 523 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 6 , hurtbox = pat:get_frame(6,0,1).hurtbox , collision = pat:get_frame(6,0,1).collision }) pat:update_frame(406,2,1, { tex_index = 522 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(6,0,1).hurtbox , collision = pat:get_frame(6,0,1).collision }) pat:update_frame(406,2,2, { tex_index = 521 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(6,0,0).hurtbox , collision = pat:get_frame(6,0,0).collision }) pat:update_frame(991,0,0,function(frame) --frame.tex_index = 520 --frame.tex_w = 0 end) pat:update_frame(800,0,0,function(frame) --frame.tex_index = 192 frame.tex_w = 128 frame.tex_h = 128 frame.tex_offset_x = 64 frame.tex_offset_y = 64 frame.angle_x = 0 frame.angle_y = 0 frame.scale_x = 80 frame.scale_y = 80 set_fflag(frame,FF_AFTER_IMAGE) set_fflag(frame,FF_LOOP_ANIMATION) local scalemod = 100/frame.scale_x local ymod = 0 local xmod = 0 frame.attackbox = pat:get_frame(800,0,1).attackbox 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.attackbox = pat:get_frame(0,0,0).attackbox --[[ frame.hurtbox = pat:get_frame(0,0,0).hurtbox frame.limit = 5 frame.fflags = pat:get_frame(801,0,0).fflags frame.aflags = pat:get_frame(801,0,0).aflags]]-- frame.duration = 1 end) pat:update_frame(800,0,1,function(frame) --frame.tex_index = 192 frame.tex_w = 128 frame.tex_h = 128 frame.tex_offset_x = 64 frame.tex_offset_y = 64 frame.angle_x = 0 frame.angle_y = 0 frame.scale_x = 80 frame.scale_y = 80 set_fflag(frame,FF_AFTER_IMAGE) set_fflag(frame,FF_LOOP_ANIMATION) local scalemod = 100/frame.scale_x local ymod = 0 local xmod = 0 frame.tex_offset_y = frame.tex_offset_y - (ymod)*scalemod frame.attackbox[1].y1 = frame.attackbox[1].y1 + (ymod) frame.attackbox[1].y2 = frame.attackbox[1].y2 + (ymod) frame.tex_offset_x = frame.tex_offset_x - (xmod)*scalemod frame.attackbox[1].x1 = frame.attackbox[1].x1 + (xmod) frame.attackbox[1].x2 = frame.attackbox[1].x2 + (xmod) frame.proration = 970 frame.damage = 200 frame.sp_damage = 40 frame.card_gain_hit = 30 frame.card_gain_block = 30 frame.untech = 30 end) pat:update_frame(800,0,2,function(frame) --frame.tex_index = 192 frame.tex_w = 128 frame.tex_h = 128 frame.tex_offset_x = 64 frame.tex_offset_y = 64 frame.angle_x = 0 frame.angle_y = 0 frame.scale_x = 80 frame.scale_y = 80 local scalemod = 100/frame.scale_x local ymod = 0 local xmod = 0 frame.tex_offset_y = frame.tex_offset_y - (ymod)*scalemod frame.tex_offset_x = frame.tex_offset_x - (xmod)*scalemod end) pat:split_frame(800,0,1,200,200) pat:split_frame(800,0,1,200,200) pat:split_frame(800,0,1,200,200) pat:split_frame(800,0,1,200,200) pat:update_frame(800,0,1,{color_r = 255 , color_g = 255 , color_b = 255}) pat:update_frame(800,0,2,{color_r = 255 , color_g = 0 , color_b = 0}) pat:update_frame(800,0,3,{color_r = 0 , color_g = 255 , color_b = 0}) pat:update_frame(800,0,4,{color_r = 0 , color_g = 0 , color_b = 255}) pat:update_frame(800,0,5,{color_r = 255 , color_g = 255 , color_b = 0}) end function mods.b2b(pat) local baseX = 128 local baseY = 256 local baseW = 128 local baseH = 160 pat:update_frame(402,0,0, { tex_index = 560 , 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 = 5-3 }) pat:update_frame(402,0,1, { tex_index = 560 , 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 = 3 }) pat:update_frame(402,0,2, { tex_index = 561 , 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 = 5-3 }) pat:update_frame(402,0,2,function(frame) frame.hurtbox[1].x1 = frame.hurtbox[1].x1 + 10 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 + 10 frame.hurtbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[2].x1 = frame.hurtbox[1].x2 - 10 frame.hurtbox[2].x2 = frame.hurtbox[2].x1 + 30 frame.hurtbox[2].y1 = frame.hurtbox[1].y1 + 30 frame.hurtbox[2].y2 = frame.hurtbox[2].y1 + 40 end) pat:update_frame(402,0,3, { tex_index = 561 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(402,0,2).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 3 }) pat:update_frame(402,0,4, { tex_index = 562 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(402,0,2).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 2 }) pat:update_frame(402,0,4,function(frame) frame.hurtbox[2].x1 = frame.hurtbox[2].x1 + 0 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 + 0 frame.hurtbox[2].y1 = frame.hurtbox[2].y1 + 10 frame.hurtbox[2].y2 = frame.hurtbox[2].y2 + 10 end) pat:update_frame(402,0,5, { tex_index = 563 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(402,0,4).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 3 }) pat:update_frame(402,0,6, { tex_index = 564 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(402,0,4).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 3 }) pat:update_frame(402,0,7, { tex_index = 565 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(402,0,4).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 3 }) pat:update_frame(402,0,8, { tex_index = 564 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(402,0,4).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 5 }) pat:update_frame(402,0,9, { tex_index = 565 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(402,0,4).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 6 }) pat:update_frame(402,0,10, { tex_index = 565 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(402,0,4).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 2 }) pat:update_frame(402,0,11, { tex_index = 565 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(402,0,4).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 2 }) pat:update_frame(402,0,12, { tex_index = 565 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(402,0,4).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 2 }) pat:update_frame(402,0,13, { tex_index = 565 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(402,0,4).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 2 }) pat:update_frame(402,0,14, { tex_index = 566 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(402,0,2).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 6 }) pat:update_frame(402,0,15, { tex_index = 567 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(402,0,2).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 5 }) pat:update_frame(402,0,16, { tex_index = 560 , 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 = 5 }) pat:update_frame(402,1,0, { tex_index = 561 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(402,0,2).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 15 }) pat:update_frame(402,1,1, { tex_index = 562 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(402,0,4).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 2 }) pat:update_frame(402,1,2, { tex_index = 563 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(402,0,4).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 3 }) pat:update_frame(402,1,3, { tex_index = 564 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(402,0,4).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 3 }) pat:update_frame(402,1,4, { tex_index = 565 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(402,0,4).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 3 }) pat:update_frame(402,1,5, { tex_index = 564 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(402,0,4).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 5 }) pat:update_frame(402,1,6, { tex_index = 565 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(402,0,4).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 6 }) pat:update_frame(402,1,7, { tex_index = 565 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(402,0,4).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 2 }) pat:update_frame(402,1,8, { tex_index = 565 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(402,0,4).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 2 }) pat:update_frame(402,1,9, { tex_index = 565 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(402,0,4).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 2 }) pat:update_frame(402,1,10, { tex_index = 565 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(402,0,4).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 2 }) pat:update_frame(402,1,11, { tex_index = 566 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(402,0,2).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 6 }) pat:update_frame(402,1,12, { tex_index = 567 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(402,0,2).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 5 }) pat:update_frame(402,1,13, { tex_index = 560 , 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 = 5 }) end --[[ function mods.b4b(pat) for idx = 2 , 119 do pat:split_frame(800,2,1,1,1) end for idx = 0 , 119 do pat:update_frame(800,2,idx,function(frame) frame.tex_index = 67 frame.tex_w = 256 frame.tex_h = 256 frame.tex_offset_x = 128 frame.tex_offset_y = 128 frame.scale_x = 50 frame.scale_y = 50 frame.color_r = 128 frame.color_g = 128 frame.color_b = 128 frame.duration = 1 local ang = (idx*12.5)%360 frame.angle_z = ang*-1 local boxed = false if (idx%20 >= 12) then idxb = (idx%20)-12 frame.tex_index = 68 frame.tex_w = 128 frame.tex_h = 128 frame.tex_offset_x = 64 frame.tex_offset_y = 64 frame.color_r = 255 frame.color_g = 255 frame.color_b = 255 local scal = 200 if (idxb == 0) then scal = 60 end if (idxb == 1) then scal = 120 end if (idxb == 2) then scal = 200 end if (idxb == 3) then scal = 200 end if (idxb == 4) then scal = 200 end if (idxb == 5) then scal = 200 end if (idxb == 6) then scal = 120 end if (idxb == 7) then scal = 60 end frame.scale_x = scal frame.scale_y = scal boxed = true end set_fflag(frame,FF_AFTER_IMAGE) set_fflag(frame,FF_LOOP_ANIMATION) local scalemod = 100/frame.scale_x local idxa = 0 if (idx > 10) then idxa = idx-10 end local ymod = 0 local xmod = 10*idx 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 + (xmod) * math.sin(ang*-1 * 3.14159/180) frame.attackbox[1].y2 = frame.attackbox[1].y2 + (xmod) * math.sin(ang*-1 * 3.14159/180) frame.tex_offset_x = frame.tex_offset_x - (xmod)*scalemod frame.attackbox[1].x1 = frame.attackbox[1].x1 + (xmod) * math.cos(ang*-1 * 3.14159/180) frame.attackbox[1].x2 = frame.attackbox[1].x2 + (xmod) * math.cos(ang*-1 * 3.14159/180) if (boxed) then else frame.attackbox[1] = null end end) end pat:get_sequence(800,2):set_looped(false) --73 frames total end]]-- function mods.b4b(pat) local baseX = 128 local baseY = 256 local baseW = 128 local baseH = 160 pat:update_frame(407,0,0, { 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 , duration = 5-3 }) pat:update_frame(407,0,1, { 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 , duration = 3 }) pat:update_frame(407,0,2, { tex_index = 549 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(400,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 5-3 +7-0 }) pat:update_frame(407,0,3, { tex_index = 549 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(400,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(407,0,4, { tex_index = 550 , 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 = 2 }) pat:update_frame(407,0,5, { tex_index = 551 , 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 = 3 }) pat:update_frame(407,0,6, { tex_index = 552 , 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 = 3 }) pat:update_frame(407,0,7, { tex_index = 553 , 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 = pat:get_frame(407,0,9).fflags , duration = 3 }) pat:update_frame(407,0,8, { tex_index = 552 , 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 = pat:get_frame(407,0,9).fflags , duration = 5 }) pat:update_frame(407,0,9, { tex_index = 553 , 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(407,0,10, { tex_index = 553 , 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 = 2 }) pat:update_frame(407,0,11, { tex_index = 553 , 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 = 2 }) pat:update_frame(407,0,12, { tex_index = 553 , 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 = 2 }) pat:update_frame(407,0,13, { tex_index = 554 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(400,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 6 }) pat:update_frame(407,0,14, { tex_index = 555 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(400,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 5 }) pat:update_frame(407,0,15, { tex_index = 556 , tex_w = baseW , tex_h = baseH , tex_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(407,1,0, { tex_index = 549 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(400,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 15 }) pat:update_frame(407,1,1, { tex_index = 550 , 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 = 2 }) pat:update_frame(407,1,2, { tex_index = 551 , 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 = 3 }) pat:update_frame(407,1,3, { tex_index = 552 , 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 = 3 }) pat:update_frame(407,1,4, { tex_index = 553 , 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 = pat:get_frame(407,0,9).fflags , duration = 3 }) pat:update_frame(407,1,5, { tex_index = 552 , 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 = pat:get_frame(407,0,9).fflags , duration = 5 }) pat:update_frame(407,1,6, { tex_index = 553 , 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(407,1,7, { tex_index = 553 , 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 = 2 }) pat:update_frame(407,1,8, { tex_index = 553 , 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 = 2 }) pat:update_frame(407,1,9, { tex_index = 553 , 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 = 2 }) pat:update_frame(407,1,10, { tex_index = 554 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(400,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 6 }) pat:update_frame(407,1,11, { tex_index = 555 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(400,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 5 }) pat:update_frame(407,1,12, { tex_index = 556 , tex_w = baseW , tex_h = baseH , tex_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(409,0,0, { tex_index = 548 , 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(9,0,0).collision , duration = 5-3 }) pat:update_frame(409,0,1, { tex_index = 548 , 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(9,0,0).collision , duration = 3 }) pat:update_frame(409,0,2, { tex_index = 549 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,2).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 5-3 +7-0 }) pat:update_frame(409,0,3, { tex_index = 549 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,2).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 3 }) pat:update_frame(409,0,4, { tex_index = 550 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,4).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 2 }) pat:update_frame(409,0,5, { tex_index = 551 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,4).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 3 }) pat:update_frame(409,0,6, { tex_index = 552 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,4).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 3 }) pat:update_frame(409,0,7, { tex_index = 553 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,4).hurtbox , collision = pat:get_frame(9,0,0).collision , fflags = pat:get_frame(409,0,9).fflags , duration = 3 }) pat:update_frame(409,0,8, { tex_index = 552 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,4).hurtbox , collision = pat:get_frame(9,0,0).collision , fflags = pat:get_frame(409,0,9).fflags , duration = 5 }) pat:update_frame(409,0,9, { tex_index = 553 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,4).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 6 }) pat:update_frame(409,0,10, { tex_index = 553 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,4).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 2 }) pat:update_frame(409,0,11, { tex_index = 554 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,2).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 6 }) pat:update_frame(409,0,12, { tex_index = 555 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,2).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 5 }) pat:update_frame(409,0,13, { tex_index = 556 , 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(9,0,0).collision , duration = 5 }) pat:update_frame(409,0,14, { tex_index = 475 , 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(9,0,0).collision , duration = 4 }) pat:update_frame(409,1,0, { tex_index = 549 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,2).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 15 }) pat:update_frame(409,1,1, { tex_index = 550 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,4).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 2 }) pat:update_frame(409,1,2, { tex_index = 551 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,4).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 3 }) pat:update_frame(409,1,3, { tex_index = 552 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,4).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 3 }) pat:update_frame(409,1,4, { tex_index = 553 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,4).hurtbox , collision = pat:get_frame(9,0,0).collision , fflags = pat:get_frame(409,0,9).fflags , duration = 3 }) pat:update_frame(409,1,5, { tex_index = 552 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,4).hurtbox , collision = pat:get_frame(9,0,0).collision , fflags = pat:get_frame(409,0,9).fflags , duration = 5 }) pat:update_frame(409,1,6, { tex_index = 553 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,4).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 6 }) pat:update_frame(409,1,7, { tex_index = 553 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,4).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 2 }) pat:update_frame(409,1,8, { tex_index = 554 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,2).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 6 }) pat:update_frame(409,1,9, { tex_index = 555 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,2).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 5 }) pat:update_frame(409,1,10, { tex_index = 556 , 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(9,0,0).collision , duration = 5 }) pat:update_frame(409,1,11, { tex_index = 475 , 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(9,0,0).collision , duration = 4 }) pat:split_frame(409,2,0,1,1) pat:update_frame(409,2,0, { tex_index = 523 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 6 , hurtbox = pat:get_frame(6,0,1).hurtbox , collision = pat:get_frame(6,0,1).collision }) pat:update_frame(409,2,1, { tex_index = 522 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(6,0,1).hurtbox , collision = pat:get_frame(6,0,1).collision }) pat:update_frame(409,2,2, { tex_index = 521 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(6,0,0).hurtbox , collision = pat:get_frame(6,0,0).collision }) pat:update_frame(800,3,0,{tex_w = 0 }) for idx = 2 , 119 do pat:split_frame(800,2,1,1,1) end for idx = 0 , 119 do pat:update_frame(800,2,idx,function(frame) frame.tex_index = 82 frame.tex_w = 64 frame.tex_h = 64 frame.tex_offset_x = 32 frame.tex_offset_y = 32 frame.color_r = 255 frame.color_g = 255 frame.color_b = 255 frame.scale_x = 200 frame.scale_y = 200 local tid = 361 + idx%5 if (tid == 361) then tid = 82 end if (tid == 362) then tid = 165 end frame.tex_index = tid frame.duration = 1 local ang = (idx*12.5)%360 frame.angle_z = ang*-1 set_fflag(frame,FF_AFTER_IMAGE) set_fflag(frame,FF_LOOP_ANIMATION) local scal = 200 + idx*idx*idx*.006 scal = 100 frame.scale_x = scal frame.scale_y = scal if (idx > 56) then local idxb = idx - 56 if (idxb > 5) then idxb = 5 end frame.scale_x = scal - idxb*(scal/5) frame.scale_y = scal - idxb*(scal/5) end local scalemod = 100/frame.scale_x local idxa = 0 if (idx > 10) then idxa = idx-10 end local ymod = 0 local xmod = 10*idx xmod = idx*(12+.25*idx) -idx*10 xmod = 0 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.attackbox[1].x1 = frame.attackbox[1].x1 * frame.scale_x/200 frame.attackbox[1].x2 = frame.attackbox[1].x2 * frame.scale_x/200 frame.attackbox[1].y1 = frame.attackbox[1].y1 * frame.scale_y/200 frame.attackbox[1].y2 = frame.attackbox[1].y2 * frame.scale_y/200 frame.tex_offset_y = frame.tex_offset_y - (ymod)*scalemod frame.attackbox[1].y1 = frame.attackbox[1].y1 + (xmod) * math.sin(ang*-1 * 3.14159/180) frame.attackbox[1].y2 = frame.attackbox[1].y2 + (xmod) * math.sin(ang*-1 * 3.14159/180) frame.tex_offset_x = frame.tex_offset_x - (xmod)*scalemod frame.attackbox[1].x1 = frame.attackbox[1].x1 + (xmod) * math.cos(ang*-1 * 3.14159/180) frame.attackbox[1].x2 = frame.attackbox[1].x2 + (xmod) * math.cos(ang*-1 * 3.14159/180) if (idx > 60) then frame.attackbox[1] = null end end) end pat:get_sequence(800,2):set_looped(false) --73 frames total end function mods.b5c(pat) --31f perfect cease --35f go? act = 41 for idx = 11 , 179 do pat:split_frame(801,0,10,1,1) end for idx = 0 , 179 do pat:update_frame(801,0,idx,function(frame) if (idx <= act) then frame.tex_index = 67 frame.tex_w = 256 frame.tex_h = 256 frame.tex_offset_x = 128 frame.tex_offset_y = 128 frame.scale_x = 50 frame.scale_y = 50 --frame.angle_z = -idx*12.5 frame.color_r = 128 frame.color_g = 128 frame.color_b = 128 else frame.tex_index = 72 + idx%10 frame.scale_x = frame.scale_x * 1.0 frame.tex_index = 366 frame.tex_w = 256 frame.tex_h = 32 frame.tex_offset_x = 128 frame.tex_offset_y = 16 frame.scale_x = 100 frame.scale_y = 100 end set_fflag(frame,FF_AFTER_IMAGE) set_fflag(frame,FF_LOOP_ANIMATION) if (idx > act-10) and (idx <=act) then local sc = idx-(act-10) frame.scale_x = 51-5*sc frame.scale_y = 51-5*sc end local scalemod = 100/frame.scale_x --[[ if (idx > 31) then local sc = idx-31 if (sc >5) then sc = 5 end frame.scale_x = 30*sc frame.scale_y = 20*sc end]]-- local idxa = 0 if (idx > act) then idxa = idx-act end local ymod = 0 local xmod = 0*idxa if (idx < act) then xmod = -2*idx else xmod = -2*act + 2*math.min(idx-act,act) end xmod = 0 frame.attackbox[1].x1 = -40 frame.attackbox[1].x2 = 40 frame.attackbox[1].y1 = -10 frame.attackbox[1].y2 = 10 if (idx > act) then if (idx <= act+10) then frame.scale_x = 100-(act+10-idx)*10 frame.attackbox[1].x1 = -40*frame.scale_x*0.01 frame.attackbox[1].x2 = 40*frame.scale_x*0.01 end end frame.tex_offset_y = frame.tex_offset_y - (ymod)*scalemod frame.attackbox[1].y1 = frame.attackbox[1].y1 + (ymod) frame.attackbox[1].y2 = frame.attackbox[1].y2 + (ymod) frame.tex_offset_x = frame.tex_offset_x - (xmod)*scalemod frame.attackbox[1].x1 = frame.attackbox[1].x1 + (xmod) frame.attackbox[1].x2 = frame.attackbox[1].x2 + (xmod) frame.hurtbox[1] = frame.attackbox[1] frame.damage = 200 frame.limit = 5 frame.untech = 30 frame.blockstop_enemy = 5 frame.proration = 970 frame.sp_damage = 20 frame.duration = 1 --[[ set_fflag(frame,FF_AFTER_IMAGE) set_fflag(frame,FF_LOOP_ANIMATION) frame.launch_vector_x = 600 frame.hit_ani_ground = 71 frame.attackbox[1].x1 = -60 frame.attackbox[1].x2 = 60 frame.attackbox[1].y1 = -10 frame.attackbox[1].y2 = 10 frame.blockstop_enemy = 10 frame.untech = 40 frame.damage = 200 frame.sp_damage = 30 frame.proration = 960]]-- --frame.fflags = pat:get_frame(801,6,0).fflags --frame.aflags = pat:get_frame(801,6,0).aflags if (idx <= act) then frame.attackbox[1] = null frame.hurtbox[1] = null end --[[ if (idx > 86) then local alpha = idx-86 frame.color_r = 255-alpha*50 frame.color_g = 255-alpha*50 frame.color_b = 255-alpha*50 local scal = 20*(idx-86) frame.scale_x = frame.scale_x + frame.scale_x * scal/100 frame.scale_y = frame.scale_y + frame.scale_y * scal/100 end if (idx > 91) then frame.attackbox[1] = null frame.hurtbox[1] = null frame.tex_w = 0 frame.duration = 200 end]]-- end) end pat:update_frame(801,3,0,function(frame) end) --[[ pat:update_frame(801,4,0,function(frame) frame.tex_index = 366 frame.tex_w = 256 frame.tex_h = 32 frame.tex_offset_x = 128 frame.tex_offset_y = 16 frame.scale_x = 100 frame.scale_y = 100 end) ]]-- local baseX = 128 local baseY = 256 local baseW = 128 local baseH = 160 pat:update_frame(410,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 , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(410,0,0,function(frame) for idx = 1 , 1 do frame.hurtbox[idx].y1 = frame.hurtbox[idx].y1 + 10 frame.hurtbox[idx].y2 = frame.hurtbox[idx].y2 + 10 end frame.hurtbox[1].y2 = 0 end) pat:update_frame(410,0,1, { tex_index = 43 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(307,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 1 }) pat:update_frame(410,0,1,function(frame) for idx = 1 , 2 do frame.hurtbox[idx].y1 = frame.hurtbox[idx].y1 + 10 frame.hurtbox[idx].y2 = frame.hurtbox[idx].y2 + 10 end frame.hurtbox[2].y2 = 0 end) pat:update_frame(410,0,2, { tex_index = 43 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(410,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) pat:update_frame(410,0,3, { tex_index = 44 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(410,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 1 }) pat:update_frame(410,0,4, { tex_index = 44 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(410,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) pat:update_frame(410,0,5, { tex_index = 45 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(307,0,5).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(410,0,5,function(frame) for idx = 1 , 3 do frame.hurtbox[idx].y1 = frame.hurtbox[idx].y1 + 10 frame.hurtbox[idx].y2 = frame.hurtbox[idx].y2 + 10 end frame.hurtbox[2].y2 = 0 end) pat:update_frame(410,0,6, { tex_index = 45 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(410,0,5).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(410,0,7, { tex_index = 46 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(410,0,5).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 6 }) pat:update_frame(410,0,8, { tex_index = 45 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(410,0,5).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 6 }) pat:update_frame(410,0,9, { tex_index = 46 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(410,0,5).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(410,0,10, { tex_index = 46 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(410,0,5).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(410,0,11, { tex_index = 45 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(410,0,5).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 16 }) pat:update_frame(410,0,12, { tex_index = 14 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(410,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 1 }) pat:update_frame(410,0,13, { tex_index = 14 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(410,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 1 }) pat:update_frame(410,0,14, { tex_index = 14 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(410,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 1 }) pat:update_frame(410,0,15, { tex_index = 14 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(410,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 1 }) pat:update_frame(410,0,16, { tex_index = 14 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(410,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 1 }) --pat:update_frame(410,0,4,{duration = 8}) for idx = 8 , 16 do pat:update_frame(410,0,idx,function(frame) set_fflag(frame,FF_MOTION_CANCEL) end) end --j5c baseX = 128 baseY = 256-2 baseW = 128 baseH = 160 pat:update_frame(414,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 , collision = pat:get_frame(9,0,0).collision , duration = 3 }) pat:update_frame(414,0,1, { tex_index = 43 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(307,0,1).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 1 }) pat:update_frame(414,0,2, { tex_index = 43 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(307,0,1).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 2 }) pat:update_frame(414,0,3, { tex_index = 44 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(307,0,1).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 1 }) pat:update_frame(414,0,4, { tex_index = 44 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(307,0,1).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 2 }) pat:update_frame(414,0,5, { tex_index = 45 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(307,0,5).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 3 }) pat:update_frame(414,0,6, { tex_index = 45 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(307,0,5).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 3 }) pat:update_frame(414,0,7, { tex_index = 46 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(307,0,5).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 6 }) pat:update_frame(414,0,8, { tex_index = 45 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(307,0,5).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 6 }) pat:update_frame(414,0,9, { tex_index = 46 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(307,0,5).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 3 , fflags = pat:get_frame(414,0,8).fflags }) pat:update_frame(414,0,10, { tex_index = 46 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(307,0,5).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 3 , fflags = pat:get_frame(414,0,8).fflags }) pat:update_frame(414,0,11, { tex_index = 45 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(307,0,5).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 14 }) pat:update_frame(414,0,12, { tex_index = 45 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(307,0,5).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 1 }) pat:update_frame(414,0,13, { tex_index = 45 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(307,0,5).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 1 }) pat:update_frame(414,0,14, { tex_index = 14 , 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(9,0,0).collision , duration = 1 }) pat:update_frame(414,0,15, { tex_index = 14 , 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(9,0,0).collision , duration = 1 }) pat:update_frame(414,0,16, { tex_index = 14 , 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(9,0,0).collision , duration = 1 }) pat:update_frame(414,0,17, { tex_index = 14 , 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(9,0,0).collision , duration = 1 }) pat:update_frame(414,0,18, { tex_index = 14 , 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(9,0,0).collision , duration = 1 }) --pat:update_frame(414,0,4,{duration = 8}) for idx = 9 , 16 do pat:update_frame(414,0,idx,function(frame) set_fflag(frame,FF_MOTION_CANCEL) end) end pat:split_frame(414,1,0,1,1) pat:update_frame(414,1,0, { tex_index = 523 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 6 , hurtbox = pat:get_frame(6,0,1).hurtbox , collision = pat:get_frame(6,0,1).collision }) pat:update_frame(414,1,1, { tex_index = 522 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(6,0,1).hurtbox , collision = pat:get_frame(6,0,1).collision }) pat:update_frame(414,1,2, { tex_index = 521 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(6,0,0).hurtbox , collision = pat:get_frame(6,0,0).collision }) end function mods.b6c(pat) local baseX = 128 local baseY = 256 local baseW = 128 local baseH = 160 pat:update_frame(411,0,0, { 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 , duration = 5-3 }) pat:update_frame(411,0,1, { 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 , duration = 3 }) pat:update_frame(411,0,2, { tex_index = 549 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(400,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 5-3 +6 }) pat:update_frame(411,0,3, { tex_index = 549 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(400,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(411,0,4, { tex_index = 550 , 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 = 2 }) pat:update_frame(411,0,5, { tex_index = 551 , 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 = 3 }) pat:update_frame(411,0,6, { tex_index = 552 , 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 = 3 }) pat:update_frame(411,0,7, { tex_index = 553 , 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 = pat:get_frame(411,0,9).fflags , duration = 3 }) pat:update_frame(411,0,8, { tex_index = 552 , 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 = pat:get_frame(411,0,9).fflags , duration = 5 }) pat:update_frame(411,0,9, { tex_index = 553 , 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 = 6+4 }) pat:update_frame(411,0,10, { tex_index = 553 , 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 = 2 }) pat:update_frame(411,0,11, { tex_index = 553 , 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 = 2 }) pat:update_frame(411,0,12, { tex_index = 553 , 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 = 2 }) pat:update_frame(411,0,13, { tex_index = 554 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(400,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 6 }) pat:update_frame(411,0,14, { tex_index = 555 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(400,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 5 }) pat:update_frame(411,0,15, { tex_index = 556 , tex_w = baseW , tex_h = baseH , tex_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(411,1,0, { tex_index = 549 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(400,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 15 }) pat:update_frame(411,1,1, { tex_index = 550 , 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 = 2 }) pat:update_frame(411,1,2, { tex_index = 551 , 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 = 3 }) pat:update_frame(411,1,3, { tex_index = 552 , 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 = 3 }) pat:update_frame(411,1,4, { tex_index = 553 , 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 = pat:get_frame(411,0,9).fflags , duration = 3 }) pat:update_frame(411,1,5, { tex_index = 552 , 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 = pat:get_frame(411,0,9).fflags , duration = 5 }) pat:update_frame(411,1,6, { tex_index = 553 , 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 = 6+4+15 }) pat:update_frame(411,1,7, { tex_index = 553 , 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 = 2 }) pat:update_frame(411,1,8, { tex_index = 553 , 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 = 2 }) pat:update_frame(411,1,9, { tex_index = 553 , 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 = 2 }) pat:update_frame(411,1,10, { tex_index = 554 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(400,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 6 }) pat:update_frame(411,1,11, { tex_index = 555 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(400,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 5 }) pat:update_frame(411,1,12, { tex_index = 556 , tex_w = baseW , tex_h = baseH , tex_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(415,0,0, { tex_index = 548 , 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(9,0,0).collision , duration = 5-3 }) pat:update_frame(415,0,1, { tex_index = 548 , 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(9,0,0).collision , duration = 3 }) pat:update_frame(415,0,2, { tex_index = 549 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,2).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 5-3 +6 }) pat:update_frame(415,0,3, { tex_index = 549 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,2).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 3 }) pat:update_frame(415,0,4, { tex_index = 550 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,4).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 2 }) pat:update_frame(415,0,5, { tex_index = 551 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,4).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 3 }) pat:update_frame(415,0,6, { tex_index = 552 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,4).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 3 }) pat:update_frame(415,0,7, { tex_index = 553 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,4).hurtbox , collision = pat:get_frame(9,0,0).collision , fflags = pat:get_frame(415,0,9).fflags , duration = 3 }) pat:update_frame(415,0,8, { tex_index = 552 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,4).hurtbox , collision = pat:get_frame(9,0,0).collision , fflags = pat:get_frame(415,0,9).fflags , duration = 5 }) pat:update_frame(415,0,9, { tex_index = 553 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,4).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 6+4 }) pat:update_frame(415,0,10, { tex_index = 553 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,4).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 2 }) pat:update_frame(415,0,11, { tex_index = 554 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,2).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 6 }) pat:update_frame(415,0,12, { tex_index = 555 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,2).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 5 }) pat:update_frame(415,0,13, { tex_index = 556 , 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(9,0,0).collision , duration = 5 }) pat:update_frame(415,0,14, { tex_index = 475 , 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(9,0,0).collision , duration = 4 }) pat:update_frame(415,1,0, { tex_index = 549 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,2).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 15 }) pat:update_frame(415,1,1, { tex_index = 550 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,4).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 2 }) pat:update_frame(415,1,2, { tex_index = 551 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,4).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 3 }) pat:update_frame(415,1,3, { tex_index = 552 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,4).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 3 }) pat:update_frame(415,1,4, { tex_index = 553 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,4).hurtbox , collision = pat:get_frame(9,0,0).collision , fflags = pat:get_frame(415,0,9).fflags , duration = 3 }) pat:update_frame(415,1,5, { tex_index = 552 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,4).hurtbox , collision = pat:get_frame(9,0,0).collision , fflags = pat:get_frame(415,0,9).fflags , duration = 5 }) pat:update_frame(415,1,6, { tex_index = 553 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,4).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 6+4+15 }) pat:update_frame(415,1,7, { tex_index = 553 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,4).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 2 }) pat:update_frame(415,1,8, { tex_index = 554 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,2).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 6 }) pat:update_frame(415,1,9, { tex_index = 555 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,2).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 5 }) pat:update_frame(415,1,10, { tex_index = 556 , 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(9,0,0).collision , duration = 5 }) pat:update_frame(415,1,11, { tex_index = 475 , 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(9,0,0).collision , duration = 4 }) pat:split_frame(415,2,0,1,1) pat:update_frame(415,2,0, { tex_index = 523 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 6 , hurtbox = pat:get_frame(6,0,1).hurtbox , collision = pat:get_frame(6,0,1).collision }) pat:update_frame(415,2,1, { tex_index = 522 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(6,0,1).hurtbox , collision = pat:get_frame(6,0,1).collision }) pat:update_frame(415,2,2, { tex_index = 521 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(6,0,0).hurtbox , collision = pat:get_frame(6,0,0).collision }) pat:update_frame(801,8,0,function(frame) frame.tex_index = 351 frame.tex_w = 64 frame.tex_h = 64 frame.tex_offset_x = 32 frame.tex_offset_y = 32 end) --[[ pat:get_sequence(801,6):set_looped(false) pat:update_frame(801,7,0,{tex_w = 0}) pat:remove_frame(801,6,1) for idx = 1, 119 do pat:split_frame(801,6,0,1,1) end for idx = 0 , 119 do pat:update_frame(801,6,idx,function(frame) frame.tex_index = 363+(idx/4)%3 frame.tex_w = 34 frame.tex_h = 34 frame.tex_offset_x = 17 frame.tex_offset_y = 17 frame.angle_x = 0 frame.angle_y = 0 frame.angle_z = 0 frame.scale_x = 300 frame.scale_y = 300 frame.blending_mode = 1 local scalemod = 100/frame.scale_x local ymod = 0 local xmod = 0 frame.attackbox = pat:get_frame(0,0,0).hurtbox frame.attackbox[1].x1 = -10 frame.attackbox[1].x2 = 10 frame.attackbox[1].y1 = -40 frame.attackbox[1].y2 = 40 frame.untech = 35 frame.hitstop_enemy = 0 frame.blockstop_enemy = 0 if (idx < 19) then xmod = 2*idx elseif (idx < 49) then xmod = 40 else frame.tex_index = 366+(idx/4)%3 xmod = 40 + (idx-49)*30 frame.attackbox[1].x1 = -40 frame.attackbox[1].x2 = 40 frame.attackbox[1].y1 = -10 frame.attackbox[1].y2 = 10 frame.hitstop_enemy = 10 frame.untech = 25 end set_aflag(frame,AF_UNREFLECTABLE) set_fflag(frame,FF_AFTER_IMAGE) set_fflag(frame,FF_LOOP_ANIMATION) frame.tex_offset_y = frame.tex_offset_y - (ymod)*scalemod frame.attackbox[1].y1 = frame.attackbox[1].y1 + (ymod) frame.attackbox[1].y2 = frame.attackbox[1].y2 + (ymod) frame.tex_offset_x = frame.tex_offset_x - (xmod)*scalemod frame.attackbox[1].x1 = frame.attackbox[1].x1 + (xmod) frame.attackbox[1].x2 = frame.attackbox[1].x2 + (xmod) end) end ]]-- pat:update_frame(801,6,0,{duration = 600}) pat:update_frame(801,6,0,function(frame) frame.tex_index = 366 frame.tex_w = 256 frame.tex_h = 32 frame.tex_offset_x = 128 frame.tex_offset_y = 16 frame.scale_x = 80 frame.scale_y = 300 frame.duration = 600 set_fflag(frame,FF_AFTER_IMAGE) set_fflag(frame,FF_LOOP_ANIMATION) frame.launch_vector_x = 600 frame.hit_ani_ground = 71 frame.attackbox[1].x1 = -45 frame.attackbox[1].x2 = 45 frame.attackbox[1].y1 = -25 frame.attackbox[1].y2 = 25 frame.blockstop_enemy = 10 frame.untech = 40 frame.damage = 200 frame.sp_damage = 30 frame.proration = 960 frame.combo_correction = CC_LIFT_ATTACK end) pat:update_frame(801,6,1,function(frame) frame.tex_index = 366 frame.tex_w = 256 frame.tex_h = 32 frame.tex_offset_x = 128 frame.tex_offset_y = 16 frame.scale_x = 80 frame.scale_y = 300 end) pat:update_frame(801,7,0,function(frame) frame.tex_index = 82 frame.tex_w = 64 frame.tex_h = 64 frame.tex_offset_x = 32 frame.tex_offset_y = 32 frame.color_r = 255 frame.color_g = 255 frame.color_b = 255 frame.scale_x = 100 frame.scale_y = 100 end) end function mods.b2c(pat) local baseX = 128 local baseY = 256 local baseW = 128 local baseH = 160 pat:update_frame(412,0,0, { tex_index = 603 , 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(412,0,1, { tex_index = 8 , 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(412,0,2, { tex_index = 8 , 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(412,0,3, { tex_index = 9 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(303,0,3).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 4 }) pat:update_frame(412,0,4, { tex_index = 10 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(303,0,4).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 4 }) pat:update_frame(412,0,5, { tex_index = 11 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(303,0,4).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 2 }) pat:update_frame(412,0,6, { tex_index = 11 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(303,0,4).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 4 }) pat:update_frame(412,0,7, { tex_index = 11 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(303,0,4).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 2 }) pat:update_frame(412,0,8, { tex_index = 11 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(303,0,4).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 2 }) pat:update_frame(412,0,9, { tex_index = 11 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(303,0,4).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 2 }) pat:update_frame(412,0,10, { tex_index = 12 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(303,0,6).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 2 }) pat:update_frame(412,0,11, { tex_index = 12 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(303,0,6).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 2 }) pat:update_frame(412,0,12, { tex_index = 13 , 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 = 4 }) --[[ pat:add_sequence(801,13,0,50,50) pat:add_frame(801,13,0,pat:get_frame(801,12,0)) pat:update_frame(801,13,0,function(frame) frame.tex_index = 67 frame.tex_w = 256 frame.tex_h = 256 frame.tex_offset_x = 128 frame.tex_offset_y = 128 frame.scale_x = 400 frame.scale_y = 50 --frame.angle_z = -idx*12.5 frame.color_r = 128 frame.color_g = 128 frame.color_b = 128 frame.duration = 200 frame.attackbox = pat:get_frame(0,0,0).attackbox end) ]]-- for idx = 1 , 3 do pat:split_frame(801,10,0,1,1) end for idx = 0 , 3 do pat:update_frame(801,10,idx,function(frame) frame.tex_index = 421 + idx 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 frame.duration = 2 frame.tex_index = 639 frame.tex_w = 64 frame.tex_h = 64 frame.tex_offset_x = 32 frame.tex_offset_y = 32 frame.scale_x = 100 frame.scale_y = 100 end) end pat:get_sequence(801,12):set_looped(false) for idx = 2 , 119 do pat:split_frame(801,12,1,1,1) end for idx = 0 , 119 do pat:update_frame(801,12,idx,function(frame) frame.duration = 1 if (idx <= 31) then frame.tex_index = 67 frame.tex_w = 256 frame.tex_h = 256 frame.tex_offset_x = 128 frame.tex_offset_y = 128 frame.scale_x = 50 frame.scale_y = 50 --frame.angle_z = -idx*12.5 frame.color_r = 128 frame.color_g = 128 frame.color_b = 128 else frame.tex_index = 166 frame.tex_w = 128 frame.tex_h = 128 frame.tex_offset_x = 64 frame.tex_offset_y = 64 frame.scale_x = 600 frame.scale_y = 600 end set_fflag(frame,FF_AFTER_IMAGE) set_fflag(frame,FF_LOOP_ANIMATION) local scalemod = 100/frame.scale_x --[[ if (idx > 21) and (idx <=31) then local sc = idx-21 frame.scale_x = 51-5*sc frame.scale_y = 51-5*sc end ]]-- if (idx > 31) and (idx <=36) then local sc = idx-31 frame.scale_x = 120*sc frame.scale_y = 120*sc end local idxa = 0 if (idx > 31) then idxa = idx-31 end local ymod = 0 local xmod = 0*idxa --[[ frame.attackbox[3] = null frame.attackbox[2] = null frame.attackbox[1].x1 = -80 frame.attackbox[1].x2 = 80 frame.attackbox[1].y1 = -80 frame.attackbox[1].y2 = 80 frame.hurtbox[1] = 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.duration = 1]]-- frame.hurtbox = frame.attackbox for idx = 1 , 3 do frame.attackbox[idx].x1 = frame.attackbox[idx].x1 * 2 frame.attackbox[idx].x2 = frame.attackbox[idx].x2 * 2 frame.attackbox[idx].y1 = frame.attackbox[idx].y1 * 2 frame.attackbox[idx].y2 = frame.attackbox[idx].y2 * 2 frame.hurtbox[idx] = frame.attackbox[idx] end --frame.damage = 200 --frame.limit = 5 --frame.untech = 30 frame.blockstop_enemy = 10 frame.blockstop_self = 8 frame.hitstop_self = 8 frame.hitstop_enemy = 10 --frame.proration = 940 frame.sp_damage = 60 if (idx <= 31) then frame.attackbox = pat:get_frame(0,0,0).attackbox frame.hurtbox = pat:get_frame(0,0,0).attackbox end end) end end function mods.bj2c(pat) local baseX = 128 local baseY = 256 local baseW = 128 local baseH = 160 pat:split_frame(416,0,8,1,1) pat:split_frame(416,0,8,1,1) pat:split_frame(416,0,8,1,1) pat:update_frame(416,0,0, { tex_index = 794 , 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(9,0,0).collision , duration = 4 }) pat:update_frame(416,0,1, { tex_index = 795 , 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(9,0,0).collision , duration = 4 }) pat:update_frame(416,0,2, { tex_index = 796 , 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(9,0,0).collision , duration = 3 }) pat:update_frame(416,0,3, { tex_index = 797 , 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(9,0,0).collision , duration = 4 }) pat:update_frame(416,0,4, { tex_index = 798 , 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(9,0,0).collision , duration = 6 }) pat:update_frame(416,0,5, { tex_index = 799 , 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(9,0,0).collision , duration = 6 }) pat:update_frame(416,0,6, { tex_index = 798 , 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(9,0,0).collision , duration = 6 }) pat:update_frame(416,0,7, { tex_index = 799 , 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(9,0,0).collision , duration = 6 }) pat:update_frame(416,0,8, { tex_index = 800 , 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(9,0,0).collision , duration = 5 }) pat:update_frame(416,0,9, { tex_index = 473 , 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(9,0,0).collision , duration = 4 }) pat:update_frame(416,0,10, { tex_index = 474 , 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(9,0,0).collision , duration = 4 }) pat:update_frame(416,0,11, { tex_index = 475 , 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(9,0,0).collision , duration = 4 }) pat:split_frame(416,1,0,1,1) pat:update_frame(416,1,0, { tex_index = 523 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 6 , hurtbox = pat:get_frame(6,0,1).hurtbox , collision = pat:get_frame(6,0,1).collision }) pat:update_frame(416,1,1, { tex_index = 522 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(6,0,1).hurtbox , collision = pat:get_frame(6,0,1).collision }) pat:update_frame(416,1,2, { tex_index = 521 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(6,0,0).hurtbox , collision = pat:get_frame(6,0,0).collision }) --31f perfect cease --35f go? act = 41 for idx = 11 , 179 do pat:split_frame(801,5,10,1,1) end for idx = 0 , 179 do pat:update_frame(801,5,idx,function(frame) if (idx <= act) then frame.tex_index = 67 frame.tex_w = 256 frame.tex_h = 256 frame.tex_offset_x = 128 frame.tex_offset_y = 128 frame.scale_x = 50 frame.scale_y = 50 frame.color_r = 128 frame.color_g = 128 frame.color_b = 128 else frame.tex_index = 72 + idx%10 frame.scale_x = frame.scale_x * 1.0 frame.tex_index = 366 frame.tex_w = 256 frame.tex_h = 32 frame.tex_offset_x = 128 frame.tex_offset_y = 16 frame.scale_x = 100 frame.scale_y = 100 end set_fflag(frame,FF_AFTER_IMAGE) set_fflag(frame,FF_LOOP_ANIMATION) if (idx > act-10) and (idx <=act) then local sc = idx-(act-10) frame.scale_x = 51-5*sc frame.scale_y = 51-5*sc end local scalemod = 100/frame.scale_x local idxa = 0 if (idx > act) then idxa = idx-act end local ymod = 0 local xmod = 0*idxa if (idx < act) then xmod = -2*idx else xmod = -2*act + 2*math.min(idx-act,act) end xmod = 0 frame.attackbox[1].x1 = -40 frame.attackbox[1].x2 = 40 frame.attackbox[1].y1 = -10 frame.attackbox[1].y2 = 10 if (idx > act) then if (idx <= act+10) then frame.scale_x = 100-(act+10-idx)*10 frame.attackbox[1].x1 = -40*frame.scale_x*0.01 frame.attackbox[1].x2 = 40*frame.scale_x*0.01 end end frame.tex_offset_y = frame.tex_offset_y - (ymod)*scalemod frame.attackbox[1].y1 = frame.attackbox[1].y1 + (ymod) frame.attackbox[1].y2 = frame.attackbox[1].y2 + (ymod) frame.tex_offset_x = frame.tex_offset_x - (xmod)*scalemod frame.attackbox[1].x1 = frame.attackbox[1].x1 + (xmod) frame.attackbox[1].x2 = frame.attackbox[1].x2 + (xmod) frame.hurtbox[1] = frame.attackbox[1] frame.damage = 200 frame.limit = 5 frame.untech = 30 frame.blockstop_enemy = 5 frame.proration = 970 frame.sp_damage = 20 frame.duration = 1 if (idx <= act) then frame.attackbox[1] = null frame.hurtbox[1] = null end end) end --pat:update_frame(801,3,0,{tex_w = 0}) --pat:update_frame(801,4,0,{tex_w = 0}) --[[ for idx = 11 , 219 do pat:split_frame(801,5,10,1,1) end for idx = 0 , 219 do pat:update_frame(801,5,idx,function(frame) if (idx <= 31) then frame.tex_index = 67 frame.tex_w = 256 frame.tex_h = 256 frame.tex_offset_x = 128 frame.tex_offset_y = 128 frame.scale_x = 50 frame.scale_y = 50 --frame.angle_z = -idx*12.5 frame.color_r = 128 frame.color_g = 128 frame.color_b = 128 else frame.tex_index = 72 + idx%10 frame.scale_x = frame.scale_x * 1.5 * 1.5 frame.scale_y = frame.scale_y * 1.5 end set_fflag(frame,FF_AFTER_IMAGE) set_fflag(frame,FF_LOOP_ANIMATION) if (idx > 21) and (idx <=31) then local sc = idx-21 frame.scale_x = 51-5*sc frame.scale_y = 51-5*sc end local scalemod = 100/frame.scale_x]]-- --[[ if (idx > 31) then local sc = idx-31 if (sc >5) then sc = 5 end frame.scale_x = 30*sc frame.scale_y = 20*sc end]]-- --[[ local idxa = 0 if (idx > 31) then idxa = idx-34 end local ymod = 0 local xmod = 20 -2*idx +20*idxa local slow = idx*idx*.12 if (idx <= 26) then xmod = 7*idx - idx*idx*.12 elseif (idx > 31) then xmod = 7*26 - 26*26*.12 xmod = xmod + 5*idxa else xmod = 7*26 - 26*26*.12 end frame.attackbox[1].x1 = (-30 +10) * 1.5 frame.attackbox[1].x2 = (30 +10) * 1.5 frame.attackbox[1].y1 = -20 * 1.5 frame.attackbox[1].y2 = 20 * 1.5 frame.tex_offset_y = frame.tex_offset_y - (ymod)*scalemod frame.attackbox[1].y1 = frame.attackbox[1].y1 + (ymod) frame.attackbox[1].y2 = frame.attackbox[1].y2 + (ymod) frame.tex_offset_x = frame.tex_offset_x - (xmod)*scalemod frame.attackbox[1].x1 = frame.attackbox[1].x1 + (xmod) frame.attackbox[1].x2 = frame.attackbox[1].x2 + (xmod) frame.hurtbox[1] = frame.attackbox[1] frame.duration = 1 frame.damage = 450 frame.limit = 10 frame.untech = 40 frame.blockstop_enemy = 10 frame.proration = 930 frame.sp_damage = 60 set_aflag(frame,AF_UNREFLECTABLE) if (idx <= 31) then frame.attackbox[1] = null frame.hurtbox[1] = null end if (idx == 219) then frame.tex_w = 0 frame.attackbox[1] = null frame.duration = 8000 end end) end]]-- end function mods.d236(pat) local baseX = 128 local baseY = 256 local baseW = 128 local baseH = 160 pat:update_frame(500,0,0, { 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 , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(500,0,1, { tex_index = 48 , tex_w = baseW , tex_h = baseH , tex_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(500,0,2, { tex_index = 49 , tex_w = baseW , tex_h = baseH , tex_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(500,0,3, { tex_index = 50 , tex_w = baseW , tex_h = baseH , tex_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(500,0,4, { tex_index = 50 , tex_w = baseW , tex_h = baseH , tex_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(500,0,5, { tex_index = 50 , tex_w = baseW , tex_h = baseH , tex_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+4 }) pat:update_frame(500,0,6, { 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(500,0,7, { tex_index = 52 , 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 = 6 }) pat:update_frame(500,0,8, { tex_index = 53 , 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 = 6 }) pat:update_frame(500,0,9, { tex_index = 52 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(301,0,6).hurtbox , fflags = pat:get_frame(500,0,12).fflags , collision = pat:get_frame(0,0,0).collision , duration = 6 }) pat:update_frame(500,0,10, { tex_index = 53 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(301,0,6).hurtbox , fflags = pat:get_frame(500,0,12).fflags , collision = pat:get_frame(0,0,0).collision , duration = 6 }) pat:update_frame(500,0,11, { tex_index = 52 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(301,0,6).hurtbox , fflags = pat:get_frame(500,0,12).fflags , collision = pat:get_frame(0,0,0).collision , duration = 6 }) pat:update_frame(500,0,12, { tex_index = 464 , 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(500,0,13, { tex_index = 464 , 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(500,0,14, { tex_index = 464 , 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(500,0,15, { tex_index = 464 , 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(500,0,16, { tex_index = 464 , 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(500,0,17, { tex_index = 54 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(301,0,10).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(501,0,0, { 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 , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(501,0,1, { tex_index = 48 , tex_w = baseW , tex_h = baseH , tex_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(501,0,2, { tex_index = 49 , tex_w = baseW , tex_h = baseH , tex_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(501,0,3, { tex_index = 50 , tex_w = baseW , tex_h = baseH , tex_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(501,0,4, { tex_index = 50 , tex_w = baseW , tex_h = baseH , tex_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(501,0,5, { tex_index = 50 , tex_w = baseW , tex_h = baseH , tex_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+4 }) pat:update_frame(501,0,6, { 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(501,0,7, { tex_index = 52 , 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 = 6 }) pat:update_frame(501,0,8, { tex_index = 53 , 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 = 6 }) pat:update_frame(501,0,9, { tex_index = 52 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(301,0,6).hurtbox , fflags = pat:get_frame(500,0,12).fflags , collision = pat:get_frame(0,0,0).collision , duration = 6 }) pat:update_frame(501,0,10, { tex_index = 53 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(301,0,6).hurtbox , fflags = pat:get_frame(500,0,12).fflags , collision = pat:get_frame(0,0,0).collision , duration = 6 }) pat:update_frame(501,0,11, { tex_index = 52 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(301,0,6).hurtbox , fflags = pat:get_frame(500,0,12).fflags , collision = pat:get_frame(0,0,0).collision , duration = 6 }) pat:update_frame(501,0,12, { tex_index = 464 , 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(501,0,13, { tex_index = 464 , 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(501,0,14, { tex_index = 464 , 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(501,0,15, { tex_index = 464 , 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(501,0,16, { tex_index = 464 , 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(501,0,17, { tex_index = 54 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(301,0,10).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:split_frame(502,0,8,1,1) pat:split_frame(502,0,8,1,1) pat:split_frame(502,0,8,1,1) pat:update_frame(502,0,0, { tex_index = 794 , 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(9,0,0).collision , duration = 4 }) pat:update_frame(502,0,1, { tex_index = 795 , 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(9,0,0).collision , duration = 4 }) pat:update_frame(502,0,2, { tex_index = 796 , 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(9,0,0).collision , duration = 10+2 }) pat:update_frame(502,0,3, { tex_index = 797 , 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(9,0,0).collision , duration = 4 }) pat:update_frame(502,0,4, { tex_index = 798 , 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(9,0,0).collision , duration = 6 }) pat:update_frame(502,0,5, { tex_index = 799 , 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(9,0,0).collision , duration = 6 }) pat:update_frame(502,0,6, { tex_index = 798 , 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(9,0,0).collision , duration = 6 }) pat:update_frame(502,0,7, { tex_index = 799 , 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(9,0,0).collision , duration = 6 }) pat:update_frame(502,0,8, { tex_index = 800 , 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(9,0,0).collision , duration = 5 }) pat:update_frame(502,0,9, { tex_index = 473 , 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(9,0,0).collision , duration = 4 }) pat:update_frame(502,0,10, { tex_index = 474 , 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(9,0,0).collision , duration = 4 }) pat:update_frame(502,0,11, { tex_index = 475 , 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(9,0,0).collision , duration = 4 }) pat:split_frame(502,2,0,1,1) pat:update_frame(502,2,0, { tex_index = 523 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 6 , hurtbox = pat:get_frame(6,0,1).hurtbox , collision = pat:get_frame(6,0,1).collision }) pat:update_frame(502,2,1, { tex_index = 522 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(6,0,1).hurtbox , collision = pat:get_frame(6,0,1).collision }) pat:update_frame(502,2,2, { tex_index = 521 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(6,0,0).hurtbox , collision = pat:get_frame(6,0,0).collision }) pat:split_frame(503,0,8,1,1) pat:split_frame(503,0,8,1,1) pat:split_frame(503,0,8,1,1) pat:update_frame(503,0,0, { tex_index = 794 , 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(9,0,0).collision , duration = 4 }) pat:update_frame(503,0,1, { tex_index = 795 , 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(9,0,0).collision , duration = 4 }) pat:update_frame(503,0,2, { tex_index = 796 , 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(9,0,0).collision , duration = 10+2 }) pat:update_frame(503,0,3, { tex_index = 797 , 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(9,0,0).collision , duration = 4 }) pat:update_frame(503,0,4, { tex_index = 798 , 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(9,0,0).collision , duration = 6 }) pat:update_frame(503,0,5, { tex_index = 799 , 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(9,0,0).collision , duration = 6 }) pat:update_frame(503,0,6, { tex_index = 798 , 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(9,0,0).collision , duration = 6 }) pat:update_frame(503,0,7, { tex_index = 799 , 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(9,0,0).collision , duration = 6 }) pat:update_frame(503,0,8, { tex_index = 800 , 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(9,0,0).collision , duration = 5 }) pat:update_frame(503,0,9, { tex_index = 473 , 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(9,0,0).collision , duration = 4 }) pat:update_frame(503,0,10, { tex_index = 474 , 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(9,0,0).collision , duration = 4 }) pat:update_frame(503,0,11, { tex_index = 475 , 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(9,0,0).collision , duration = 4 }) pat:split_frame(503,2,0,1,1) pat:update_frame(503,2,0, { tex_index = 523 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 6 , hurtbox = pat:get_frame(6,0,1).hurtbox , collision = pat:get_frame(6,0,1).collision }) pat:update_frame(503,2,1, { tex_index = 522 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(6,0,1).hurtbox , collision = pat:get_frame(6,0,1).collision }) pat:update_frame(503,2,2, { tex_index = 521 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(6,0,0).hurtbox , collision = pat:get_frame(6,0,0).collision }) pat:split_frame(810,4,8,1,1) pat:update_frame(810,5,0,function(frame) frame.tex_index = 167 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.duration = 600 set_fflag(frame,FF_AFTER_IMAGE) set_fflag(frame,FF_LOOP_ANIMATION) frame.launch_vector_x = 600 frame.launch_vector_y = 1000 frame.hit_ani_ground = 71 frame.attackbox = pat:get_frame(0,0,0).hurtbox frame.attackbox[1].x1 = -40 frame.attackbox[1].x2 = 40 frame.attackbox[1].y1 = -40 frame.attackbox[1].y2 = 40 frame.unknown_9 = 100 frame.blockstop_enemy = 10 frame.hitstop_enemy = 10 frame.hit_sfx = pat:get_frame(801,6,0).hit_sfx frame.hit_effect = pat:get_frame(801,6,0).hit_effect frame.hit_ani_air = pat:get_frame(801,6,0).hit_ani_air frame.hit_ani_ground = pat:get_frame(801,6,0).hit_ani_ground frame.aflags = pat:get_frame(801,6,0).aflags set_aflag(frame,AF_SKILL_ATTACK) frame.fflags = pat:get_frame(801,6,0).fflags frame.damage = 200 frame.sp_damage = 25 frame.proration = 980 frame.limit = 0 frame.untech = 45 frame.card_gain_hit = 20 frame.card_gain_block = 20 frame.attack_level = AL_HEAVY end) pat:update_frame(810,7,0,function(frame) frame.tex_index = 167 frame.tex_w = 128 frame.tex_h = 128 frame.tex_offset_x = 64 frame.tex_offset_y = 64 frame.scale_x = 80 frame.scale_y = 80 frame.duration = 600 set_fflag(frame,FF_AFTER_IMAGE) set_fflag(frame,FF_LOOP_ANIMATION) frame.launch_vector_x = 600 frame.launch_vector_y = 1000 frame.hit_ani_ground = 71 frame.attackbox = pat:get_frame(0,0,0).hurtbox frame.attackbox[1].x1 = -40 frame.attackbox[1].x2 = 40 frame.attackbox[1].y1 = -40 frame.attackbox[1].y2 = 40 frame.unknown_9 = 100 frame.blockstop_enemy = 10 frame.hitstop_enemy = 10 frame.hit_sfx = pat:get_frame(801,6,0).hit_sfx frame.hit_effect = pat:get_frame(801,6,0).hit_effect frame.hit_ani_air = pat:get_frame(801,6,0).hit_ani_air frame.hit_ani_ground = pat:get_frame(801,6,0).hit_ani_ground frame.aflags = pat:get_frame(801,6,0).aflags set_aflag(frame,AF_SKILL_ATTACK) frame.fflags = pat:get_frame(801,6,0).fflags frame.damage = 200 frame.sp_damage = 25 frame.proration = 980 frame.limit = 0 frame.untech = 45 frame.card_gain_hit = 20 frame.card_gain_block = 20 frame.attack_level = AL_HEAVY end) for idx = 1 , 10 do pat:remove_frame(810,0,1) end pat:update_frame(810,0,0,function(frame) frame.tex_index = 366 frame.tex_w = 256 frame.tex_h = 32 frame.tex_offset_x = 128 frame.tex_offset_y = 16 frame.scale_x = 200 frame.scale_y = 200 frame.attackbox[1].y1 = -30 frame.attackbox[1].y2 = 30 frame.attackbox[1].x1 = -40 frame.attackbox[1].x2 = 100 frame.hurtbox[1] = frame.attackbox[1] frame.damage = 1000 frame.chip_damage = 250 frame.blockstop_enemy = 10 frame.hitstop_enemy = 16 frame.launch_vector_x = 600 frame.launch_vector_y = 1200 end) for idx = 1 , 10 do pat:remove_frame(810,6,1) end pat:update_frame(810,6,0,function(frame) frame.tex_index = 366 frame.tex_w = 256 frame.tex_h = 32 frame.tex_offset_x = 128 frame.tex_offset_y = 16 frame.scale_x = 200 frame.scale_y = 200 frame.attackbox[1].y1 = -30 frame.attackbox[1].y2 = 30 frame.attackbox[1].x1 = -40 frame.attackbox[1].x2 = 100 frame.hurtbox[1] = frame.attackbox[1] --[[ frame.hurtbox[1].y1 = -30 frame.hurtbox[1].y2 = 30 frame.hurtbox[1].x1 = -40 frame.hurtbox[1].x2 = 100 frame.attackbox = pat:get_frame(0,0,0).attackbox]]-- frame.damage = 1000 frame.chip_damage = 250 frame.blockstop_enemy = 10 frame.hitstop_enemy = 16 frame.launch_vector_x = 600 frame.launch_vector_y = 1200 end) end function mods.d214(pat) local baseX = 128 local baseY = 256 local baseW = 128 local baseH = 160 pat:split_frame(560,2,5,1,1) pat:split_frame(560,2,5,1,1) pat:update_frame(560,0,0, { 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 , collision = pat:get_frame(0,0,0).collision , duration = 4-1 }) pat:update_frame(560,0,1, { tex_index = 48 , tex_w = baseW , tex_h = baseH , tex_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-1 }) pat:update_frame(560,0,2, { tex_index = 49 , tex_w = baseW , tex_h = baseH , tex_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-1 }) pat:update_frame(560,1,0, { tex_index = 50 , tex_w = baseW , tex_h = baseH , tex_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-1 }) pat:update_frame(560,2,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(560,2,1, { tex_index = 52 , 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 = 6 }) pat:update_frame(560,2,2, { tex_index = 53 , 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 = 6 }) pat:update_frame(560,2,3, { tex_index = 52 , 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 = 6 }) pat:update_frame(560,2,4, { tex_index = 53 , 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 = 6 }) pat:update_frame(560,2,5, { tex_index = 52 , 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 = 6 }) pat:update_frame(560,2,6, { tex_index = 464 , 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 = 12 }) pat:update_frame(560,2,7, { tex_index = 54 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(301,0,10).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:split_frame(561,2,5,1,1) pat:split_frame(561,2,5,1,1) pat:update_frame(561,0,0, { 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 , collision = pat:get_frame(0,0,0).collision , duration = 4-1 }) pat:update_frame(561,0,1, { tex_index = 48 , tex_w = baseW , tex_h = baseH , tex_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-1 }) pat:update_frame(561,0,2, { tex_index = 49 , tex_w = baseW , tex_h = baseH , tex_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-1 }) pat:update_frame(561,1,0, { tex_index = 50 , tex_w = baseW , tex_h = baseH , tex_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-1 }) pat:update_frame(561,2,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(561,2,1, { tex_index = 52 , 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 = 6 }) pat:update_frame(561,2,2, { tex_index = 53 , 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 = 6 }) pat:update_frame(561,2,3, { tex_index = 52 , 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 = 6 }) pat:update_frame(561,2,4, { tex_index = 53 , 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 = 6 }) pat:update_frame(561,2,5, { tex_index = 52 , 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 = 6 }) pat:update_frame(561,2,6, { tex_index = 464 , 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 = 12 }) pat:update_frame(561,2,7, { tex_index = 54 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(301,0,10).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) --[[ pat:get_sequence(560,1):set_looped(false) pat:update_frame(560,1,0,{duration = 4}) pat:get_sequence(561,1):set_looped(false) pat:update_frame(561,1,0,{duration = 4})]]-- for idx = 1 , 119 do pat:split_frame(825,2,0,1,1) end for idx = 0 , 119 do pat:update_frame(825,2,idx,function(frame) frame.tex_index = 369 + (idx/3)%4 frame.tex_w = 192 frame.tex_h = 128 frame.tex_offset_x = 32 frame.tex_offset_y = 96 frame.scale_x = 50 frame.scale_y = 50 frame.unknown_9 = 0 frame.blending_mode = 1 frame.blockstop_enemy = 0 frame.hitstop_enemy = 4 frame.hit_sfx = pat:get_frame(801,6,0).hit_sfx frame.hit_effect = pat:get_frame(801,6,0).hit_effect frame.hit_ani_air = pat:get_frame(801,6,0).hit_ani_air frame.hit_ani_ground = pat:get_frame(801,6,0).hit_ani_ground frame.aflags = 0x0041040e frame.fflags = 0x00c00000 frame.damage = 0 frame.sp_damage = 0 frame.proration = 1000 frame.limit = 0 frame.untech = 30 frame.card_gain_hit = 0 frame.card_gain_block = 0 frame.attack_level = AL_LIGHT unset_aflag(frame,AF_AIR_BLOCKABLE) set_aflag(frame,AF_GROUND_UNBLOCKABLE) set_aflag(frame,AF_UNGRAZABLE) local scalemod = 100/frame.scale_x local ymod = 0 local xmod = 400*idx if (xmod >= 1400) then xmod = 1400 end frame.attackbox = pat:get_frame(0,0,0).hurtbox frame.attackbox[1].x1 = -20 - xmod frame.attackbox[1].x2 = 40 frame.attackbox[1].y1 = -10 frame.attackbox[1].y2 = 10 frame.tex_offset_y = frame.tex_offset_y - (ymod)*scalemod frame.attackbox[1].y1 = frame.attackbox[1].y1 + (ymod) frame.attackbox[1].y2 = frame.attackbox[1].y2 + (ymod) frame.tex_offset_x = frame.tex_offset_x - (xmod)*scalemod frame.attackbox[1].x1 = frame.attackbox[1].x1 + (xmod) frame.attackbox[1].x2 = frame.attackbox[1].x2 + (xmod) local bonus = xmod*scalemod frame.tex_w = frame.tex_w + bonus frame.tex_offset_x = frame.tex_offset_x + bonus end) end pat:update_frame(825,3,0,function(frame) frame.tex_w = 128 frame.tex_h = 128 frame.tex_offset_x = 64 frame.tex_offset_y = 64 frame.damage = 350 frame.chip_damage = 35 frame.proration = 950 frame.sp_damage = 50 frame.hitstop_enemy = 16 frame.blockstop_enemy = 2 frame.untech = 45 frame.hit_ani_air = 71 frame.hit_ani_ground = 71 frame.launch_vector_x = 600 frame.launch_vector_y = 1500 frame.combo_correction = CC_LIFT_ATTACK frame.attackbox[1].y1 = frame.attackbox[1].y1 - 10 frame.attackbox[1].y2 = frame.attackbox[1].y2 + 10 frame.attackbox[2].y1 = frame.attackbox[2].y1 - 10 frame.attackbox[2].y2 = frame.attackbox[2].y2 + 10 end) pat:update_frame(825,5,0,function(frame) frame.tex_w = 128 frame.tex_h = 128 frame.tex_offset_x = 64 frame.tex_offset_y = 64 end) pat:update_frame(825,5,1,function(frame) frame.tex_w = 128 frame.tex_h = 128 frame.tex_offset_x = 64 frame.tex_offset_y = 64 frame.damage = 350 frame.chip_damage = 35 frame.proration = 950 frame.sp_damage = 50 frame.hitstop_enemy = 16 frame.blockstop_enemy = 2 frame.untech = 45 frame.hit_ani_air = 71 frame.hit_ani_ground = 71 frame.launch_vector_x = 600 frame.launch_vector_y = 1500 frame.combo_correction = CC_LIFT_ATTACK frame.attackbox[1].y1 = frame.attackbox[1].y1 - 10 frame.attackbox[1].y2 = frame.attackbox[1].y2 + 10 frame.attackbox[2].y1 = frame.attackbox[2].y1 - 10 frame.attackbox[2].y2 = frame.attackbox[2].y2 + 10 end) pat:update_frame(825,0,0,function(frame) frame.tex_w = 128 frame.tex_h = 128 frame.tex_offset_x = 64 frame.tex_offset_y = 64 frame.tex_index = 361 frame.blending_mode = 0 end) pat:update_frame(825,1,0,function(frame) frame.tex_w = 128 frame.tex_h = 128 frame.tex_offset_x = 64 frame.tex_offset_y = 64 end) pat:update_frame(825,4,0,function(frame) frame.tex_w = 128 frame.tex_h = 128 frame.tex_offset_x = 64 frame.tex_offset_y = 64 end) pat:update_frame(825,4,1,function(frame) frame.tex_w = 128 frame.tex_h = 128 frame.tex_offset_x = 64 frame.tex_offset_y = 64 end) end function mods.d214_new(pat) local baseX = 128 local baseY = 256 local baseW = 128 local baseH = 160 pat:split_frame(560,2,5,1,1) pat:split_frame(560,2,5,1,1) pat:update_frame(560,0,0, { 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 , collision = pat:get_frame(0,0,0).collision , duration = 4-1 }) pat:update_frame(560,0,1, { tex_index = 48 , tex_w = baseW , tex_h = baseH , tex_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-1 }) pat:update_frame(560,0,2, { tex_index = 49 , tex_w = baseW , tex_h = baseH , tex_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-1 }) pat:update_frame(560,1,0, { tex_index = 50 , tex_w = baseW , tex_h = baseH , tex_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-1 }) pat:update_frame(560,2,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(560,2,1, { tex_index = 52 , 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 = 6 }) pat:update_frame(560,2,2, { tex_index = 53 , 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 = 6 }) pat:update_frame(560,2,3, { tex_index = 52 , 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 = 6 }) pat:update_frame(560,2,4, { tex_index = 53 , 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 = 6 }) pat:update_frame(560,2,5, { tex_index = 52 , 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 = 6 }) pat:update_frame(560,2,6, { tex_index = 464 , 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 = 12 }) pat:update_frame(560,2,7, { tex_index = 54 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(301,0,10).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:split_frame(561,2,5,1,1) pat:split_frame(561,2,5,1,1) pat:update_frame(561,0,0, { 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 , collision = pat:get_frame(0,0,0).collision , duration = 4-1 }) pat:update_frame(561,0,1, { tex_index = 48 , tex_w = baseW , tex_h = baseH , tex_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-1 }) pat:update_frame(561,0,2, { tex_index = 49 , tex_w = baseW , tex_h = baseH , tex_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-1 }) pat:update_frame(561,1,0, { tex_index = 50 , tex_w = baseW , tex_h = baseH , tex_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-1 }) pat:update_frame(561,2,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(561,2,1, { tex_index = 52 , 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 = 6 }) pat:update_frame(561,2,2, { tex_index = 53 , 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 = 6 }) pat:update_frame(561,2,3, { tex_index = 52 , 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 = 6 }) pat:update_frame(561,2,4, { tex_index = 53 , 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 = 6 }) pat:update_frame(561,2,5, { tex_index = 52 , 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 = 6 }) pat:update_frame(561,2,6, { tex_index = 464 , 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 = 12 }) pat:update_frame(561,2,7, { tex_index = 54 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(301,0,10).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) --[[ pat:get_sequence(560,1):set_looped(false) pat:update_frame(560,1,0,{duration = 4}) pat:get_sequence(561,1):set_looped(false) pat:update_frame(561,1,0,{duration = 4})]]-- for idx = 1 , 119 do pat:split_frame(825,2,0,1,1) end for idx = 0 , 119 do pat:update_frame(825,2,idx,function(frame) frame.tex_index = 369 + (idx/3)%4 frame.tex_w = 0 frame.tex_h = 128 frame.tex_offset_x = 32 frame.tex_offset_y = 96 frame.scale_x = 50 frame.scale_y = 50 frame.unknown_9 = 0 frame.blending_mode = 1 --[[ frame.blockstop_enemy = 0 frame.hitstop_enemy = 4 frame.hit_sfx = pat:get_frame(801,6,0).hit_sfx frame.hit_effect = pat:get_frame(801,6,0).hit_effect frame.hit_ani_air = pat:get_frame(801,6,0).hit_ani_air frame.hit_ani_ground = pat:get_frame(801,6,0).hit_ani_ground frame.aflags = 0x0041040e frame.fflags = 0x00c00000 frame.damage = 0 frame.sp_damage = 0 frame.proration = 1000 frame.limit = 0 frame.untech = 30 frame.card_gain_hit = 0 frame.card_gain_block = 0 frame.attack_level = AL_LIGHT unset_aflag(frame,AF_AIR_BLOCKABLE) set_aflag(frame,AF_GROUND_UNBLOCKABLE) set_aflag(frame,AF_UNGRAZABLE) local scalemod = 100/frame.scale_x local ymod = 0 local xmod = 400*idx if (xmod >= 1400) then xmod = 1400 end frame.attackbox = pat:get_frame(0,0,0).hurtbox frame.attackbox[1].x1 = -20 - xmod frame.attackbox[1].x2 = 40 frame.attackbox[1].y1 = -10 frame.attackbox[1].y2 = 10 frame.tex_offset_y = frame.tex_offset_y - (ymod)*scalemod frame.attackbox[1].y1 = frame.attackbox[1].y1 + (ymod) frame.attackbox[1].y2 = frame.attackbox[1].y2 + (ymod) frame.tex_offset_x = frame.tex_offset_x - (xmod)*scalemod frame.attackbox[1].x1 = frame.attackbox[1].x1 + (xmod) frame.attackbox[1].x2 = frame.attackbox[1].x2 + (xmod) local bonus = xmod*scalemod frame.tex_w = frame.tex_w + bonus frame.tex_offset_x = frame.tex_offset_x + bonus]]-- end) end pat:update_frame(825,3,0,function(frame) frame.tex_w = 128 frame.tex_h = 128 frame.tex_offset_x = 64 frame.tex_offset_y = 64 frame.damage = 300 frame.chip_damage = 30 frame.proration = 950 frame.sp_damage = 40 frame.hitstop_enemy = 16 frame.blockstop_enemy = 2 frame.untech = 45 frame.hit_ani_air = 71 frame.hit_ani_ground = 71 frame.launch_vector_x = 600 frame.launch_vector_y = 1500 frame.combo_correction = CC_LIFT_ATTACK frame.attackbox[1].y1 = frame.attackbox[1].y1 - 10 frame.attackbox[1].y2 = frame.attackbox[1].y2 + 10 frame.attackbox[2].y1 = frame.attackbox[2].y1 - 10 frame.attackbox[2].y2 = frame.attackbox[2].y2 + 10 end) pat:update_frame(825,5,0,function(frame) frame.tex_w = 128 frame.tex_h = 128 frame.tex_offset_x = 64 frame.tex_offset_y = 64 end) pat:update_frame(825,5,1,function(frame) frame.tex_w = 128 frame.tex_h = 128 frame.tex_offset_x = 64 frame.tex_offset_y = 64 frame.damage = 300 frame.chip_damage = 30 frame.proration = 950 frame.sp_damage = 40 frame.hitstop_enemy = 16 frame.blockstop_enemy = 2 frame.untech = 45 frame.hit_ani_air = 71 frame.hit_ani_ground = 71 frame.launch_vector_x = 600 frame.launch_vector_y = 1500 frame.combo_correction = CC_LIFT_ATTACK frame.attackbox[1].y1 = frame.attackbox[1].y1 - 10 frame.attackbox[1].y2 = frame.attackbox[1].y2 + 10 frame.attackbox[2].y1 = frame.attackbox[2].y1 - 10 frame.attackbox[2].y2 = frame.attackbox[2].y2 + 10 end) pat:update_frame(825,0,0,function(frame) frame.tex_w = 128 frame.tex_h = 128 frame.tex_offset_x = 64 frame.tex_offset_y = 64 frame.tex_index = 361 frame.blending_mode = 0 end) pat:update_frame(825,1,0,function(frame) frame.tex_w = 128 frame.tex_h = 128 frame.tex_offset_x = 64 frame.tex_offset_y = 64 end) pat:update_frame(825,4,0,function(frame) frame.tex_w = 128 frame.tex_h = 128 frame.tex_offset_x = 64 frame.tex_offset_y = 64 end) pat:update_frame(825,4,1,function(frame) frame.tex_w = 128 frame.tex_h = 128 frame.tex_offset_x = 64 frame.tex_offset_y = 64 end) end function mods.d623(pat) local baseX = 128 local baseY = 256 local baseW = 128 local baseH = 160 pat:update_frame(540,0,0, { tex_index = 608 , tex_w = baseW , tex_h = baseH , tex_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(540,0,1, { tex_index = 609 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(580,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 6 }) pat:update_frame(540,0,2, { tex_index = 610 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(580,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(540,0,3, { tex_index = 610 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(580,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(540,0,4, { tex_index = 611 , tex_w = baseW , tex_h = baseH , tex_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(540,0,4,function(frame) frame.hurtbox[1].y1 = frame.hurtbox[1].y1 - 10 frame.hurtbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[2].y1 = frame.hurtbox[1].y1 + 30 frame.hurtbox[2].y2 = frame.hurtbox[2].y1 + 40 frame.hurtbox[2].x1 = frame.hurtbox[1].x1 - 25 frame.hurtbox[2].x2 = frame.hurtbox[1].x2 + 50 end) pat:update_frame(540,0,5, { tex_index = 611 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(540,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 1 }) for idx = 6 , 7 do pat:remove_frame(540,1,6) end pat:update_frame(540,1,0, { tex_index = 612 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(309,1,0).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 3 }) pat:update_frame(540,1,1, { tex_index = 613 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(309,1,0).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 3 }) pat:update_frame(540,1,1,function(frame) frame.attackbox = pat:get_frame(0,0,0).hurtbox frame.attackbox[1].x1 = -90 frame.attackbox[1].x2 = 90 frame.attackbox[1].y1 = -90 -90 frame.attackbox[1].y2 = 90 -90 frame.attackbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.attackbox[2].x1 = -110 frame.attackbox[2].x2 = 110 frame.attackbox[2].y1 = -60 -90 frame.attackbox[2].y2 = 60 -90 frame.attackbox[3] = pat:get_frame(0,0,0).hurtbox[1] frame.attackbox[3].x1 = -60 frame.attackbox[3].x2 = 60 frame.attackbox[3].y1 = -110 -90 frame.attackbox[3].y2 = 110 -90 end) pat:update_frame(540,1,2, { tex_index = 614 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(309,1,0).hurtbox , attackbox = pat:get_frame(540,1,1).attackbox , collision = pat:get_frame(9,0,0).collision , duration = 3 }) pat:update_frame(540,1,3, { tex_index = 612 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(309,1,0).hurtbox , attackbox = pat:get_frame(540,1,1).attackbox , collision = pat:get_frame(9,0,0).collision , duration = 3 }) pat:update_frame(540,1,4, { tex_index = 613 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(309,1,0).hurtbox , attackbox = pat:get_frame(540,1,1).attackbox , collision = pat:get_frame(9,0,0).collision , duration = 3 }) pat:update_frame(540,1,5, { tex_index = 614 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(309,1,0).hurtbox , attackbox = pat:get_frame(540,1,1).attackbox , collision = pat:get_frame(9,0,0).collision , duration = 3 }) pat:update_frame(540,2,0, { tex_index = 614 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(309,1,0).hurtbox , attackbox = pat:get_frame(540,1,0).attackbox , collision = pat:get_frame(9,0,0).collision , duration = 1 }) pat:split_frame(540,3,1,1,1) pat:split_frame(540,3,1,1,1) pat:split_frame(540,3,1,1,1) pat:update_frame(540,3,0, { tex_index = 612 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(309,1,0).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 3 }) pat:update_frame(540,3,1, { tex_index = 613 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(309,1,0).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 3 }) pat:update_frame(540,3,2, { tex_index = 614 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(309,1,0).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 3 }) pat:update_frame(540,3,3, { tex_index = 611 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(309,0,4).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 4 }) pat:update_frame(540,3,4, { tex_index = 615 , 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(9,0,0).collision , duration = 4 }) pat:get_sequence(540,3):set_looped(false) pat:split_frame(540,4,0,1,1) pat:update_frame(540,4,0, { tex_index = 523 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 6 , hurtbox = pat:get_frame(6,0,1).hurtbox , collision = pat:get_frame(6,0,1).collision }) pat:update_frame(540,4,1, { tex_index = 522 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(6,0,1).hurtbox , collision = pat:get_frame(6,0,1).collision }) pat:update_frame(540,4,2, { tex_index = 521 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(6,0,0).hurtbox , collision = pat:get_frame(6,0,0).collision }) --[[pat:get_sequence(540,3):set_looped(false) pat:remove_frame(540,3,4) pat:remove_frame(540,3,3) pat:remove_frame(540,3,2) pat:remove_frame(540,3,1)]]-- pat:update_frame(541,0,0, { tex_index = 608 , tex_w = baseW , tex_h = baseH , tex_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(541,0,1, { tex_index = 609 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(580,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 6 }) pat:update_frame(541,0,2, { tex_index = 610 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(580,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(541,0,3, { tex_index = 610 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(580,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(541,0,4, { tex_index = 611 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(540,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) pat:update_frame(541,0,5, { tex_index = 611 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(540,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 1 }) for idx = 6 , 7 do pat:remove_frame(541,1,6) end pat:split_frame(541,1,0,1,1) pat:split_frame(541,1,0,1,1) pat:split_frame(541,1,0,1,1) pat:split_frame(541,1,0,1,1) pat:split_frame(541,1,0,1,1) pat:split_frame(541,1,0,1,1) pat:update_frame(541,1,0, { tex_index = 612 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(309,1,0).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 3 }) pat:update_frame(541,1,1, { tex_index = 613 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(309,1,0).hurtbox , attackbox = pat:get_frame(540,1,1).attackbox , collision = pat:get_frame(9,0,0).collision , duration = 3 }) pat:update_frame(541,1,2, { tex_index = 614 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(309,1,0).hurtbox , attackbox = pat:get_frame(540,1,1).attackbox , collision = pat:get_frame(9,0,0).collision , duration = 3 }) pat:update_frame(541,1,3, { tex_index = 612 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(309,1,0).hurtbox , attackbox = pat:get_frame(540,1,1).attackbox , collision = pat:get_frame(9,0,0).collision , duration = 3 }) pat:update_frame(541,1,4, { tex_index = 613 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(309,1,0).hurtbox , attackbox = pat:get_frame(540,1,1).attackbox , collision = pat:get_frame(9,0,0).collision , duration = 3 }) pat:update_frame(541,1,5, { tex_index = 614 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(309,1,0).hurtbox , attackbox = pat:get_frame(540,1,1).attackbox , collision = pat:get_frame(9,0,0).collision , duration = 3 }) pat:update_frame(541,1,6, { tex_index = 612 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(309,1,0).hurtbox , attackbox = pat:get_frame(540,1,1).attackbox , collision = pat:get_frame(9,0,0).collision , duration = 3 }) pat:update_frame(541,1,7, { tex_index = 613 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(309,1,0).hurtbox , attackbox = pat:get_frame(540,1,1).attackbox , collision = pat:get_frame(9,0,0).collision , duration = 3 }) pat:update_frame(541,1,8, { tex_index = 614 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(309,1,0).hurtbox , attackbox = pat:get_frame(540,1,1).attackbox , collision = pat:get_frame(9,0,0).collision , duration = 3 }) pat:update_frame(541,1,9, { tex_index = 612 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(309,1,0).hurtbox , attackbox = pat:get_frame(540,1,1).attackbox , collision = pat:get_frame(9,0,0).collision , duration = 3 }) pat:update_frame(541,1,10, { tex_index = 613 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(309,1,0).hurtbox , attackbox = pat:get_frame(540,1,1).attackbox , collision = pat:get_frame(9,0,0).collision , duration = 3 }) pat:update_frame(541,1,11, { tex_index = 614 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(309,1,0).hurtbox , attackbox = pat:get_frame(540,1,1).attackbox , collision = pat:get_frame(9,0,0).collision , duration = 3 }) pat:update_frame(541,2,0, { tex_index = 614 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(309,1,0).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 1 }) pat:split_frame(541,3,1,1,1) pat:split_frame(541,3,1,1,1) pat:split_frame(541,3,1,1,1) pat:update_frame(541,3,0, { tex_index = 612 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(309,1,0).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 3 }) pat:update_frame(541,3,1, { tex_index = 613 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(309,1,0).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 3 }) pat:update_frame(541,3,2, { tex_index = 614 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(309,1,0).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 3 }) pat:update_frame(541,3,3, { tex_index = 611 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(309,0,4).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 40 }) pat:update_frame(541,3,4, { tex_index = 615 , 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(9,0,0).collision , duration = 40 }) pat:split_frame(541,4,0,1,1) pat:update_frame(541,4,0, { tex_index = 523 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 6 , hurtbox = pat:get_frame(6,0,1).hurtbox , collision = pat:get_frame(6,0,1).collision }) pat:update_frame(541,4,1, { tex_index = 522 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(6,0,1).hurtbox , collision = pat:get_frame(6,0,1).collision }) pat:update_frame(541,4,2, { tex_index = 521 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(6,0,0).hurtbox , collision = pat:get_frame(6,0,0).collision }) --[[ pat:get_sequence(541,3):set_looped(false) pat:remove_frame(541,3,4) pat:remove_frame(541,3,3) pat:remove_frame(541,3,2) pat:remove_frame(541,3,1)]]-- for idx = 0 , 5 do pat:update_frame(540,0,idx,function(frame) unset_fflag(frame,FF_MELEE_INV) unset_fflag(frame,FF_BULLET_INV) unset_fflag(frame,FF_GRAZE) end) pat:update_frame(541,0,idx,function(frame) unset_fflag(frame,FF_MELEE_INV) unset_fflag(frame,FF_BULLET_INV) unset_fflag(frame,FF_GRAZE) end) end for idx = 0 , 5 do pat:update_frame(540,1,idx,function(frame) frame.damage = 1000 frame.chip_damage = 250 frame.limit = 40 frame.proration = 800 frame.attack_level = AL_HEAVY frame.blockstop_self = 10 frame.hitstop_self = 10 frame.blockstop_enemy = 10 frame.hitstop_enemy = 10 frame.sp_damage = 200 frame.untech = 60 frame.hit_sfx = 9 frame.hit_effect = 7 frame.hit_ani_air = 74 frame.hit_ani_ground = 74 frame.launch_vector_x = 2450 frame.launch_vector_y = 1250 frame.unknown_9 = 100 set_fflag(frame,FF_COUNTER_HIT) set_fflag(frame,FF_CANCEL) frame.aflags = pat:get_frame(306,0,3).aflags set_aflag(frame,AF_SKILL_ATTACK) set_aflag(frame,AF_COUNTER_HIT) end) end for idx = 0 , 11 do pat:update_frame(541,1,idx,function(frame) frame.damage = 1000 frame.chip_damage = 250 frame.limit = 40 frame.proration = 800 frame.attack_level = AL_HEAVY frame.blockstop_self = 10 frame.hitstop_self = 10 frame.blockstop_enemy = 10 frame.hitstop_enemy = 10 frame.sp_damage = 200 frame.untech = 60 frame.hit_sfx = 9 frame.hit_effect = 7 frame.hit_ani_air = 74 frame.hit_ani_ground = 74 frame.launch_vector_x = 2450 frame.launch_vector_y = 1250 frame.unknown_9 = 100 set_fflag(frame,FF_COUNTER_HIT) set_fflag(frame,FF_CANCEL) frame.aflags = pat:get_frame(306,0,3).aflags set_aflag(frame,AF_SKILL_ATTACK) set_aflag(frame,AF_COUNTER_HIT) end) end for idx = 1 , 19 do pat:split_frame(820,1,0,1,1) end for idx = 0 , 19 do pat:update_frame(820,1,idx,function(frame) frame.tex_index = 319 + idx --frame.tex_index = 328 frame.tex_w = 256 frame.tex_h = 256 frame.tex_offset_x = 128 frame.tex_offset_y = 128 frame.scale_x = 200 frame.scale_y = 200 frame.duration = 2 --[[ frame.attackbox[3] = null frame.attackbox[2] = null frame.attackbox[1].x1 = -60 frame.attackbox[1].x2 = 60 frame.attackbox[1].y1 = -60 frame.attackbox[1].y2 = 60]]-- end) end end function mods.d22(pat) local baseX = 128 local baseY = 256 local baseW = 128 local baseH = 160 pat:update_frame(520,0,0, { tex_index = 827 , tex_w = baseW , tex_h = baseH , tex_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(520,0,1, { tex_index = 826 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 10 }) pat:update_frame(520,0,2, { tex_index = 827 , tex_w = baseW , tex_h = baseH , tex_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(520,0,3, { tex_index = 828 , tex_w = baseW , tex_h = baseH , tex_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(520,0,4, { tex_index = 829 , tex_w = baseW , tex_h = baseH , tex_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(520,0,5, { tex_index = 830 , tex_w = baseW , tex_h = baseH , tex_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(520,0,5,function(frame) frame.hurtbox[1].x1 = frame.hurtbox[1].x1 + 10 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 + 10 frame.hurtbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[2].x1 = frame.hurtbox[1].x1 - 30 frame.hurtbox[2].x2 = frame.hurtbox[2].x1 + 40 frame.hurtbox[2].y1 = frame.hurtbox[1].y1 - 20 frame.hurtbox[2].y2 = frame.hurtbox[2].y1 + 70 frame.hurtbox[3] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[3].x2 = frame.hurtbox[1].x2 + 40 frame.hurtbox[3].x1 = frame.hurtbox[3].x2 - 60 frame.hurtbox[3].y1 = frame.hurtbox[2].y1 frame.hurtbox[3].y2 = frame.hurtbox[2].y2 frame.hurtbox[4] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[4].x1 = frame.hurtbox[1].x1 - 30 frame.hurtbox[4].x2 = frame.hurtbox[1].x2 + 40 frame.hurtbox[4].y1 = -80 frame.hurtbox[4].y2 = 0 end) pat:update_frame(520,0,6, { tex_index = 830 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(520,0,5).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) pat:update_frame(520,0,7, { tex_index = 831 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(520,0,5).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(520,0,7,function(frame) frame.hurtbox[2].x1 = frame.hurtbox[2].x1 - 10 frame.hurtbox[2].y1 = frame.hurtbox[2].y1 + 20 frame.hurtbox[2].y2 = frame.hurtbox[2].y2 + 20 frame.hurtbox[3].x2 = frame.hurtbox[3].x2 - 0 frame.hurtbox[3].y1 = frame.hurtbox[3].y1 + 35 frame.hurtbox[3].y2 = frame.hurtbox[3].y2 + 20 frame.hurtbox[4].x1 = frame.hurtbox[4].x1 + 5 frame.hurtbox[4].x2 = frame.hurtbox[4].x2 - 10 end) pat:update_frame(520,0,8, { tex_index = 832, tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(520,0,7).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(520,0,8,function(frame) frame.hurtbox[2].x1 = frame.hurtbox[2].x1 + 10 frame.hurtbox[2].y1 = frame.hurtbox[2].y1 + 20 frame.hurtbox[2].y2 = frame.hurtbox[2].y2 + 20 frame.hurtbox[3].x2 = frame.hurtbox[3].x2 - 15 frame.hurtbox[3].y1 = frame.hurtbox[3].y1 + 5 frame.hurtbox[3].y2 = frame.hurtbox[3].y2 + 20 frame.hurtbox[4].x1 = frame.hurtbox[4].x1 + 5 frame.hurtbox[4].x2 = frame.hurtbox[4].x2 - 10 end) pat:update_frame(520,0,9, { tex_index = 833 , tex_w = baseW , tex_h = baseH , tex_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(520,0,10, { tex_index = 833 , tex_w = baseW , tex_h = baseH , tex_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(520,0,11, { tex_index = 55 , tex_w = baseW , tex_h = baseH , tex_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,0, { tex_index = 827 , tex_w = baseW , tex_h = baseH , tex_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(521,0,1, { tex_index = 826 , tex_w = baseW , tex_h = baseH , tex_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(521,0,2, { tex_index = 827 , tex_w = baseW , tex_h = baseH , tex_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(521,0,3, { tex_index = 828 , tex_w = baseW , tex_h = baseH , tex_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(521,0,4, { tex_index = 829 , tex_w = baseW , tex_h = baseH , tex_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(521,0,5, { tex_index = 830 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(520,0,5).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(521,0,6, { tex_index = 830 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(520,0,5).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) pat:update_frame(521,0,7, { tex_index = 831 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(520,0,7).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(521,0,8, { tex_index = 832, tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(520,0,8).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(521,0,9, { tex_index = 833 , tex_w = baseW , tex_h = baseH , tex_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(521,0,10, { tex_index = 833 , tex_w = baseW , tex_h = baseH , tex_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(521,0,11, { tex_index = 55 , tex_w = baseW , tex_h = baseH , tex_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 }) for idx = 0 , 9 do pat:update_frame(520,0,idx,function(frame) unset_fflag(frame,FF_CANCEL) unset_fflag(frame,FF_MOTION_CANCEL) if (idx == 9) then set_fflag(frame,FF_CANCEL) end end) end for idx = 0 , 9 do pat:update_frame(521,0,idx,function(frame) unset_fflag(frame,FF_CANCEL) unset_fflag(frame,FF_MOTION_CANCEL) if (idx == 9) then set_fflag(frame,FF_CANCEL) end end) end pat:update_frame(815,2,0,{tex_w = 0}) pat:get_sequence(815,0):set_looped(false) for idx = 6 , 14 do pat:remove_frame(815,0,6) end for idx = 0 , 5 do pat:update_frame(815,0,idx,function(frame) frame.tex_index = 238 frame.scale_x = 100 frame.scale_y = 150 frame.tex_w = 128 frame.tex_h = 256 frame.tex_offset_x = 64 frame.tex_offset_y = 32 frame.blending_mode = 0 frame.hitstop_self = 0 frame.hitstop_enemy = 10 frame.blockstop_self = 0 frame.blockstop_enemy = 10 unset_aflag(frame,AF_PROJECTILE) frame.damage = 800 frame.limit = 40 frame.proration = 850 frame.chip_damage = 200 end) end for idx = 15 , 20 do pat:split_frame(815,1,0,1,1) end for idx = 0 , 20 do pat:update_frame(815,1,idx,function(frame) frame.tex_index = 238 --frame.attackbox = pat:get_frame(0,0,0).hurtbox frame.scale_x = 100 frame.scale_y = 150 frame.tex_w = 128 frame.tex_h = 256 frame.tex_offset_x = 64 frame.tex_offset_y = 64 frame.blending_mode = 0 local xn = 100-idx*5 frame.scale_x = 150 frame.damage = pat:get_frame(815,0,0).damage frame.chip_damage = pat:get_frame(815,0,0).chip_damage frame.untech = pat:get_frame(815,0,0).untech frame.aflags = pat:get_frame(815,0,0).aflags frame.fflags = pat:get_frame(815,0,0).fflags frame.limit = pat:get_frame(815,0,0).limit frame.combo_correction = pat:get_frame(815,0,0).combo_correction frame.hit_ani_air = pat:get_frame(815,0,0).hit_ani_air frame.hit_ani_ground = pat:get_frame(815,0,0).hit_ani_ground frame.proration = pat:get_frame(815,0,0).proration frame.sp_damage = pat:get_frame(815,0,0).sp_damage frame.attack_level = pat:get_frame(815,0,0).attack_level frame.card_gain_hit = pat:get_frame(815,0,0).card_gain_hit frame.card_gain_block = pat:get_frame(815,0,0).card_gain_block frame.launch_vector_x = pat:get_frame(815,0,0).launch_vector_x frame.launch_vector_y = pat:get_frame(815,0,0).launch_vector_y frame.hit_sfx = pat:get_frame(815,0,0).hit_sfx frame.hit_effect = pat:get_frame(815,0,0).hit_effect frame.unknown_9 = 100 frame.hitstop_self = 0 frame.hitstop_enemy = 10 frame.blockstop_self = 0 frame.blockstop_enemy = 10 unset_aflag(frame,AF_PROJECTILE) if (idx == 20) then frame.attackbox = pat:get_frame(0,0,0).attackbox frame.duration = 20 end end) end end function mods.d421(pat) local baseX = 128 local baseY = 256 local baseW = 128 local baseH = 160 pat:update_frame(580,0,0, { tex_index = 608 , tex_w = baseW , tex_h = baseH , tex_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(580,0,1, { tex_index = 609 , tex_w = baseW , tex_h = baseH , tex_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-1 }) pat:update_frame(580,0,1,function(frame) frame.hurtbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[2].y1 = frame.hurtbox[2].y1 + 60 frame.hurtbox[1].y1 = frame.hurtbox[1].y1 + 15 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].y1 + 60 frame.hurtbox[3] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[3].x1 = -60 frame.hurtbox[3].x2 = 60 frame.hurtbox[3].y1 = -70 frame.hurtbox[2].x1 = frame.hurtbox[2].x1 + 5 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 + 10 end) pat:update_frame(580,0,2, { tex_index = 610 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(580,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(580,0,3, { tex_index = 736 , tex_w = baseW , tex_h = baseH , tex_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(580,0,3,function(frame) frame.hurtbox[1] = pat:get_frame(580,0,1).hurtbox[1] frame.hurtbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[2].y1 = frame.hurtbox[2].y1 + 40 frame.hurtbox[3] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[3].y1 = frame.hurtbox[3].y1 - 30 frame.hurtbox[3].y2 = frame.hurtbox[3].y1 + 80 frame.hurtbox[3].x1 = frame.hurtbox[3].x1 + 5 frame.hurtbox[3].x2 = frame.hurtbox[3].x1 + 30 frame.hurtbox[4] = pat:get_frame(580,0,1).hurtbox[3] frame.hurtbox[1].x1 = frame.hurtbox[1].x1 - 15 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 - 15 frame.hurtbox[1].y1 = frame.hurtbox[1].y1 - 15 frame.hurtbox[1].y2 = frame.hurtbox[1].y2 - 15 end) pat:update_frame(580,0,4, { tex_index = 737 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(580,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 6 }) pat:update_frame(580,0,5, { tex_index = 736 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(580,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00200021 , duration = 6 }) pat:update_frame(580,0,6, { tex_index = 737 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(580,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00200021 , duration = 6 }) pat:update_frame(580,0,7, { tex_index = 736 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(580,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 6 }) pat:update_frame(580,0,8, { tex_index = 737 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(580,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 12 }) pat:update_frame(580,0,9, { tex_index = 738 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(580,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 6 }) pat:update_frame(580,0,10, { tex_index = 739 , tex_w = baseW , tex_h = baseH , tex_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(580,0,11, { tex_index = 740 , tex_w = baseW , tex_h = baseH , tex_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:remove_frame(580,0,15) pat:remove_frame(580,0,14) pat:remove_frame(580,0,13) pat:remove_frame(580,0,12) pat:update_frame(581,0,0, { tex_index = 608 , tex_w = baseW , tex_h = baseH , tex_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(581,0,1, { tex_index = 609 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(580,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 9-1 }) pat:update_frame(581,0,2, { tex_index = 610 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(580,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(581,0,3, { tex_index = 736 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(580,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 6 }) pat:update_frame(581,0,4, { tex_index = 737 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(580,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 6 }) pat:update_frame(581,0,5, { tex_index = 736 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(580,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00200021 , duration = 6 }) pat:update_frame(581,0,6, { tex_index = 737 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(580,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00200021 , duration = 6 }) pat:update_frame(581,0,7, { tex_index = 736 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(580,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 6 }) pat:update_frame(581,0,8, { tex_index = 737 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(580,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 12 }) pat:update_frame(581,0,9, { tex_index = 738 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(580,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 6 }) pat:update_frame(581,0,10, { tex_index = 739 , tex_w = baseW , tex_h = baseH , tex_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(581,0,11, { tex_index = 740 , tex_w = baseW , tex_h = baseH , tex_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:remove_frame(581,0,15) pat:remove_frame(581,0,14) pat:remove_frame(581,0,13) pat:remove_frame(581,0,12) pat:get_sequence(830,0):set_looped(false) pat:update_frame(830,1,0,function(frame) frame.attackbox = pat:get_frame(0,0,0).attackbox frame.duration = 1 frame.tex_w = 0 end) pat:get_sequence(830,1):set_looped(false) pat:update_frame(830,2,0,function(frame) frame.attackbox = pat:get_frame(0,0,0).attackbox frame.duration = 1 frame.tex_w = 0 end) pat:update_frame(830,3,0,function(frame) frame.tex_index = 305 end) pat:get_sequence(830,2):set_looped(false) pat:update_frame(830,4,0,{tex_w = 0}) pat:update_frame(830,5,0,{tex_w = 0}) pat:update_frame(830,0,0,function(frame) frame.attackbox = pat:get_frame(0,0,0).hurtbox frame.attackbox[1].x1 = -20 frame.attackbox[1].x2 = 20 frame.attackbox[1].y1 = -140 frame.attackbox[1].y2 = 170 frame.damage = 500 frame.chip_damage = 50 frame.untech = 45 frame.aflags = 0x00420c0e frame.fflags = 0x01c00000 frame.limit = 10 frame.combo_correction = CC_LIFT_ATTACK frame.hit_ani_air = 71 frame.hit_ani_ground = 71 frame.proration = 920 frame.sp_damage = 75 frame.attack_level = AL_HEAVY frame.card_gain_hit = 40 frame.card_gain_block = 40 frame.launch_vector_x = 400 frame.launch_vector_y = 1600 frame.hit_sfx = 3 frame.hit_effect = 3 frame.unknown_9 = 100 frame.hitstop_self = 0 frame.hitstop_enemy = 15 frame.blockstop_self = 0 frame.blockstop_enemy = 10 frame.tex_index = 367 frame.tex_w = 64 frame.tex_h = 320 frame.tex_offset_x = 32 frame.tex_offset_y = 80 frame.blending_mode = 0 frame.angle_x = 0 frame.angle_y = 0 frame.angle_z = 0 frame.scale_x = 300 frame.scale_y = 300 frame.color_r = 255 frame.color_g = 255 frame.color_b = 255 end) for idx = 1 , 22 do pat:split_frame(830,0,0,1,1) end for idx = 0 , 22 do pat:update_frame(830,0,idx,function(frame) local scalemod = 100/frame.scale_x local ymod = 160 + 10*idx local xmod = 0 if (idx > 7) then ymod = 160 + 10*7 + 62*(idx-7) end 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.duration = 1 --frame.angle_x = 0 --frame.angle_y = 0 frame.angle_z = 0 if (idx > 12) then frame.attackbox = pat:get_frame(0,0,0).attackbox local alpha = idx-12 frame.color_r = 255-alpha*25 frame.color_g = 255-alpha*25 frame.color_rb= 255-alpha*25 end end) end end function mods.systems(pat) local baseX = 128 local baseY = 256 local baseW = 128 local baseH = 160 pat:update_frame(690,0,0, { tex_index = 608 , tex_w = baseW , tex_h = baseH , tex_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(690,0,1, { tex_index = 609 , tex_w = baseW , tex_h = baseH , tex_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(690,0,2, { tex_index = 609 , tex_w = baseW , tex_h = baseH , tex_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(690,0,3, { tex_index = 609 , tex_w = baseW , tex_h = baseH , tex_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(690,0,4, { tex_index = 610 , tex_w = baseW , tex_h = baseH , tex_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(690,0,5, { tex_index = 610 , tex_w = baseW , tex_h = baseH , tex_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(690,0,6, { tex_index = 611 , tex_w = baseW , tex_h = baseH , tex_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(690,1,0, { tex_index = 748 , tex_w = baseW , tex_h = baseH , tex_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(690,1,1, { tex_index = 749 , tex_w = baseW , tex_h = baseH , tex_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(690,1,2, { tex_index = 750 , tex_w = baseW , tex_h = baseH , tex_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(690,1,3, { tex_index = 748 , tex_w = baseW , tex_h = baseH , tex_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(690,1,4, { tex_index = 749 , tex_w = baseW , tex_h = baseH , tex_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(690,1,5, { tex_index = 750 , tex_w = baseW , tex_h = baseH , tex_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(690,1,6, { tex_index = 748 , tex_w = baseW , tex_h = baseH , tex_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(690,1,7, { tex_index = 749 , tex_w = baseW , tex_h = baseH , tex_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(690,1,8, { tex_index = 750 , tex_w = baseW , tex_h = baseH , tex_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(690,1,9, { tex_index = 611 , tex_w = baseW , tex_h = baseH , tex_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(691,0,0, { tex_index = 608 , tex_w = baseW , tex_h = baseH , tex_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(691,0,1, { tex_index = 609 , tex_w = baseW , tex_h = baseH , tex_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(691,0,2, { tex_index = 609 , tex_w = baseW , tex_h = baseH , tex_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(691,0,3, { tex_index = 609 , tex_w = baseW , tex_h = baseH , tex_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(691,0,4, { tex_index = 610 , tex_w = baseW , tex_h = baseH , tex_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(691,0,5, { tex_index = 610 , tex_w = baseW , tex_h = baseH , tex_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(691,0,6, { tex_index = 611 , tex_w = baseW , tex_h = baseH , tex_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(691,1,0, { tex_index = 748 , tex_w = baseW , tex_h = baseH , tex_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(691,1,1, { tex_index = 749 , tex_w = baseW , tex_h = baseH , tex_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(691,1,2, { tex_index = 750 , tex_w = baseW , tex_h = baseH , tex_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(691,1,3, { tex_index = 748 , tex_w = baseW , tex_h = baseH , tex_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(691,1,4, { tex_index = 749 , tex_w = baseW , tex_h = baseH , tex_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(691,1,5, { tex_index = 750 , tex_w = baseW , tex_h = baseH , tex_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(691,1,6, { tex_index = 748 , tex_w = baseW , tex_h = baseH , tex_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(691,1,7, { tex_index = 749 , tex_w = baseW , tex_h = baseH , tex_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(691,1,8, { tex_index = 750 , tex_w = baseW , tex_h = baseH , tex_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(691,1,9, { tex_index = 611 , tex_w = baseW , tex_h = baseH , tex_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(692,0,0, { tex_index = 608 , tex_w = baseW , tex_h = baseH , tex_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(692,0,1, { tex_index = 609 , tex_w = baseW , tex_h = baseH , tex_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(692,0,2, { tex_index = 609 , tex_w = baseW , tex_h = baseH , tex_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(692,0,3, { tex_index = 609 , tex_w = baseW , tex_h = baseH , tex_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(692,0,4, { tex_index = 610 , tex_w = baseW , tex_h = baseH , tex_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(692,0,5, { tex_index = 610 , tex_w = baseW , tex_h = baseH , tex_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(692,0,6, { tex_index = 611 , tex_w = baseW , tex_h = baseH , tex_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:split_frame(692,1,0,1,1) pat:update_frame(692,1,0, { tex_index = 748 , tex_w = baseW , tex_h = baseH , tex_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(692,1,1, { tex_index = 749 , tex_w = baseW , tex_h = baseH , tex_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(692,1,2, { tex_index = 750 , tex_w = baseW , tex_h = baseH , tex_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(692,2,0, { tex_index = 750 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 15 }) pat:update_frame(692,2,1, { tex_index = 611 , tex_w = baseW , tex_h = baseH , tex_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(693,0,0, { tex_index = 608 , tex_w = baseW , tex_h = baseH , tex_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(693,0,1, { tex_index = 609 , tex_w = baseW , tex_h = baseH , tex_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(693,0,2, { tex_index = 609 , tex_w = baseW , tex_h = baseH , tex_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(693,0,3, { tex_index = 609 , tex_w = baseW , tex_h = baseH , tex_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(693,0,4, { tex_index = 610 , tex_w = baseW , tex_h = baseH , tex_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(693,0,5, { tex_index = 610 , tex_w = baseW , tex_h = baseH , tex_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(693,0,6, { tex_index = 611 , tex_w = baseW , tex_h = baseH , tex_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:split_frame(693,1,0,1,1) pat:update_frame(693,1,0, { tex_index = 748 , tex_w = baseW , tex_h = baseH , tex_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(693,1,1, { tex_index = 749 , tex_w = baseW , tex_h = baseH , tex_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(693,1,2, { tex_index = 750 , tex_w = baseW , tex_h = baseH , tex_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(693,2,0, { tex_index = 750 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 15 }) pat:update_frame(693,2,1, { tex_index = 611 , tex_w = baseW , tex_h = baseH , tex_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(694,0,0, { tex_index = 608 , tex_w = baseW , tex_h = baseH , tex_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(694,0,1, { tex_index = 609 , tex_w = baseW , tex_h = baseH , tex_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(694,0,2, { tex_index = 609 , tex_w = baseW , tex_h = baseH , tex_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(694,0,3, { tex_index = 609 , tex_w = baseW , tex_h = baseH , tex_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(694,0,4, { tex_index = 610 , tex_w = baseW , tex_h = baseH , tex_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(694,0,5, { tex_index = 610 , tex_w = baseW , tex_h = baseH , tex_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(694,0,6, { tex_index = 611 , tex_w = baseW , tex_h = baseH , tex_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:split_frame(694,1,0,1,1) pat:update_frame(694,1,0, { tex_index = 748 , tex_w = baseW , tex_h = baseH , tex_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(694,1,1, { tex_index = 749 , tex_w = baseW , tex_h = baseH , tex_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(694,1,2, { tex_index = 750 , tex_w = baseW , tex_h = baseH , tex_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(694,2,0, { tex_index = 750 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 15 }) pat:update_frame(694,2,1, { tex_index = 611 , tex_w = baseW , tex_h = baseH , tex_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(695,0,0, { tex_index = 608 , tex_w = baseW , tex_h = baseH , tex_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(695,0,1, { tex_index = 609 , tex_w = baseW , tex_h = baseH , tex_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(695,0,2, { tex_index = 609 , tex_w = baseW , tex_h = baseH , tex_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(695,0,3, { tex_index = 609 , tex_w = baseW , tex_h = baseH , tex_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(695,0,4, { tex_index = 610 , tex_w = baseW , tex_h = baseH , tex_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(695,0,5, { tex_index = 610 , tex_w = baseW , tex_h = baseH , tex_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(695,0,6, { tex_index = 611 , tex_w = baseW , tex_h = baseH , tex_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(695,0,7, { tex_index = 748 , tex_w = baseW , tex_h = baseH , tex_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(695,0,8, { tex_index = 748 , tex_w = baseW , tex_h = baseH , tex_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(695,0,9, { tex_index = 749 , tex_w = baseW , tex_h = baseH , tex_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(695,0,10, { tex_index = 750 , tex_w = baseW , tex_h = baseH , tex_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(695,0,11, { tex_index = 748 , tex_w = baseW , tex_h = baseH , tex_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(695,0,12, { tex_index = 749 , tex_w = baseW , tex_h = baseH , tex_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(695,0,13, { tex_index = 750 , tex_w = baseW , tex_h = baseH , tex_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(695,0,14, { tex_index = 748 , tex_w = baseW , tex_h = baseH , tex_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(695,0,15, { tex_index = 749 , tex_w = baseW , tex_h = baseH , tex_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(695,0,16, { tex_index = 750 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 11 }) pat:update_frame(695,0,17, { tex_index = 611 , tex_w = baseW , tex_h = baseH , tex_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(696,0,0, { 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 , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(696,0,1, { tex_index = 48 , tex_w = baseW , tex_h = baseH , tex_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(696,0,2, { tex_index = 49 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 15 }) pat:update_frame(696,0,3, { tex_index = 49 , tex_w = baseW , tex_h = baseH , tex_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(696,0,4, { tex_index = 50 , tex_w = baseW , tex_h = baseH , tex_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(696,0,5, { 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 = 2 }) pat:update_frame(696,0,6, { tex_index = 52 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(301,0,6).hurtbox , attackbox = pat:get_frame(301,0,6).attackbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(696,0,6,function(frame) frame.attackbox[2] = pat:get_frame(301,0,6).hurtbox[4] frame.attackbox[2].x1 = frame.attackbox[2].x1 - 5 frame.attackbox[2].x2 = frame.attackbox[2].x2 + 25 frame.attackbox[2].y1 = frame.attackbox[2].y1 - 5 frame.attackbox[2].y2 = frame.attackbox[2].y2 + 15 end) pat:update_frame(696,0,7, { tex_index = 53 , 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 = 18 }) pat:update_frame(696,0,8, { tex_index = 52 , 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 = 5 }) pat:update_frame(696,0,9, { tex_index = 464 , 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 = 5 }) pat:update_frame(696,0,10, { tex_index = 54 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(301,0,10).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 5 }) ]]-- pat:split_frame(696,0,10,2,2) pat:split_frame(696,0,10,2,2) pat:split_frame(696,0,6,2,2) pat:split_frame(696,0,6,2,2) pat:update_frame(696,0,0, { tex_index = 6 , 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(696,0,1, { tex_index = 7 , 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(696,0,2, { tex_index = 56 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 15 }) pat:update_frame(696,0,3, { tex_index = 56 , tex_w = baseW , tex_h = baseH , tex_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(696,0,4, { tex_index = 7 , 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(696,0,5, { tex_index = 57 , 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 = 2 }) pat:update_frame(696,0,6, { tex_index = 58 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(302,0,6).hurtbox , attackbox = pat:get_frame(302,0,6).attackbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(696,0,7, { tex_index = 59 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(302,0,7).hurtbox , attackbox = pat:get_frame(302,0,7).attackbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(696,0,8, { tex_index = 60 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(302,0,8).hurtbox , attackbox = pat:get_frame(302,0,8).attackbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(696,0,9, { tex_index = 61 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(302,0,9).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(696,0,10, { tex_index = 62 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(302,0,10).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(696,0,11, { tex_index = 63 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(302,0,11).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(696,0,12, { tex_index = 64 , tex_w = baseW , tex_h = baseH , tex_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+5 }) pat:update_frame(696,0,13, { tex_index = 65 , tex_w = baseW , tex_h = baseH , tex_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(696,0,14, { tex_index = 66 , tex_w = baseW , tex_h = baseH , tex_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(697,0,0, { 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 , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(697,0,1, { tex_index = 48 , tex_w = baseW , tex_h = baseH , tex_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(697,1,0, { tex_index = 49 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 10 }) pat:update_frame(697,2,0, { tex_index = 49 , tex_w = baseW , tex_h = baseH , tex_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(697,2,1, { tex_index = 50 , tex_w = baseW , tex_h = baseH , tex_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(697,2,2, { 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 = 2 }) pat:update_frame(697,3,0, { tex_index = 52 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(301,0,6).hurtbox , attackbox = pat:get_frame(696,0,6).attackbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(697,3,1, { tex_index = 52 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(301,0,6).hurtbox , attackbox = pat:get_frame(696,0,6).attackbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(697,3,2, { tex_index = 53 , 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 = 12 }) pat:update_frame(697,4,0, { tex_index = 52 , 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 = 5 }) pat:update_frame(697,4,1, { tex_index = 464 , 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 = 5 }) pat:update_frame(697,4,2, { tex_index = 54 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(301,0,10).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 5 }) ]]-- pat:split_frame(697,4,2,2,2) pat:split_frame(697,4,2,2,2) pat:split_frame(697,4,2,2,2) pat:remove_frame(697,3,2) pat:split_frame(697,3,0,2,2) pat:update_frame(697,0,0, { tex_index = 6 , 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(697,0,1, { tex_index = 7 , 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(697,1,0, { tex_index = 56 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 10 }) pat:update_frame(697,2,0, { tex_index = 56 , tex_w = baseW , tex_h = baseH , tex_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(697,2,1, { tex_index = 7 , 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(697,2,2, { tex_index = 57 , 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 = 2 }) pat:update_frame(697,3,0, { tex_index = 58 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(302,0,6).hurtbox , attackbox = pat:get_frame(302,0,6).attackbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(697,3,1, { tex_index = 59 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(302,0,7).hurtbox , attackbox = pat:get_frame(302,0,7).attackbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(697,3,2, { tex_index = 60 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(302,0,8).hurtbox , attackbox = pat:get_frame(302,0,8).attackbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(697,4,0, { tex_index = 61 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(302,0,9).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(697,4,1, { tex_index = 62 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(302,0,10).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(697,4,2, { tex_index = 63 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(302,0,11).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(697,4,3, { tex_index = 64 , tex_w = baseW , tex_h = baseH , tex_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+2 }) pat:update_frame(697,4,4, { tex_index = 65 , tex_w = baseW , tex_h = baseH , tex_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(697,4,5, { tex_index = 66 , tex_w = baseW , tex_h = baseH , tex_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(698,0,0, { 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 , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(698,0,1, { tex_index = 48 , tex_w = baseW , tex_h = baseH , tex_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(698,0,2, { tex_index = 49 , tex_w = baseW , tex_h = baseH , tex_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(698,1,0, { tex_index = 49 , tex_w = baseW , tex_h = baseH , tex_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(698,1,1, { tex_index = 50 , tex_w = baseW , tex_h = baseH , tex_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(698,1,2, { 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 = 2 }) pat:update_frame(698,2,0, { tex_index = 52 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(301,0,6).hurtbox , attackbox = pat:get_frame(696,0,6).attackbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(698,2,1, { tex_index = 53 , 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 = 20 }) pat:update_frame(698,3,0, { tex_index = 52 , 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 = 5 }) pat:update_frame(698,3,1, { tex_index = 464 , 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 = 5 }) pat:update_frame(698,3,2, { tex_index = 54 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(301,0,10).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 5 }) ]]-- pat:remove_frame(698,2,1) pat:split_frame(698,2,0,2,2) pat:split_frame(698,2,1,2,2) pat:split_frame(698,3,2,2,2) pat:split_frame(698,3,2,2,2) pat:split_frame(698,3,2,2,2) pat:update_frame(698,0,0, { tex_index = 6 , 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(698,0,1, { tex_index = 7 , 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(698,0,2, { tex_index = 56 , tex_w = baseW , tex_h = baseH , tex_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(698,1,0, { tex_index = 56 , tex_w = baseW , tex_h = baseH , tex_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(698,1,1, { tex_index = 7 , 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(698,1,2, { tex_index = 57 , 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 = 2 }) pat:update_frame(698,2,0, { tex_index = 58 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(302,0,6).hurtbox , attackbox = pat:get_frame(302,0,6).attackbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(698,2,1, { tex_index = 59 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(302,0,7).hurtbox , attackbox = pat:get_frame(302,0,7).attackbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(698,2,2, { tex_index = 60 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(302,0,8).hurtbox , attackbox = pat:get_frame(302,0,8).attackbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(698,3,0, { tex_index = 61 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(302,0,9).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(698,3,1, { tex_index = 62 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(302,0,10).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(698,3,2, { tex_index = 63 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(302,0,11).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(698,3,3, { tex_index = 64 , tex_w = baseW , tex_h = baseH , tex_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+2+5 }) pat:update_frame(698,3,4, { tex_index = 65 , tex_w = baseW , tex_h = baseH , tex_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(698,3,5, { tex_index = 66 , tex_w = baseW , tex_h = baseH , tex_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(699,0,0, { tex_index = 608 , tex_w = baseW , tex_h = baseH , tex_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(699,0,1, { tex_index = 609 , tex_w = baseW , tex_h = baseH , tex_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(699,0,2, { tex_index = 609 , tex_w = baseW , tex_h = baseH , tex_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(699,0,3, { tex_index = 609 , tex_w = baseW , tex_h = baseH , tex_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(699,0,4, { tex_index = 610 , tex_w = baseW , tex_h = baseH , tex_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(699,0,5, { tex_index = 610 , tex_w = baseW , tex_h = baseH , tex_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(699,0,6, { tex_index = 611 , tex_w = baseW , tex_h = baseH , tex_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(699,0,7, { tex_index = 748 , tex_w = baseW , tex_h = baseH , tex_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(699,0,8, { tex_index = 749 , tex_w = baseW , tex_h = baseH , tex_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(699,0,9, { tex_index = 750 , tex_w = baseW , tex_h = baseH , tex_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(699,0,10, { tex_index = 748 , tex_w = baseW , tex_h = baseH , tex_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(699,0,11, { tex_index = 749 , tex_w = baseW , tex_h = baseH , tex_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(699,0,12, { tex_index = 750 , tex_w = baseW , tex_h = baseH , tex_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(699,0,13, { tex_index = 748 , tex_w = baseW , tex_h = baseH , tex_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(699,0,14, { tex_index = 749 , tex_w = baseW , tex_h = baseH , tex_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(699,0,15, { tex_index = 611 , tex_w = baseW , tex_h = baseH , tex_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 }) end function mods.a236_flame(pat) local baseX = 128 local baseY = 256 local baseW = 128 local baseH = 160 pat:update_frame(505,0,0, { tex_index = 42 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(410,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(505,0,1, { tex_index = 43 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(410,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) pat:update_frame(505,0,2, { tex_index = 43 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(410,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(505,0,3, { tex_index = 44 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(410,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 1+2 }) pat:update_frame(505,0,4, { tex_index = 44 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(410,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(505,1,0, { tex_index = 45 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(410,0,5).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 6 }) pat:update_frame(505,1,1, { tex_index = 46 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(410,0,5).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 6 }) pat:update_frame(505,2,0, { tex_index = 45 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(410,0,5).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(505,2,1, { tex_index = 45 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(410,0,5).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(505,2,2, { tex_index = 46 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(410,0,5).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(505,2,3, { tex_index = 46 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(410,0,5).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(505,2,4, { tex_index = 45 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(410,0,5).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 6 }) pat:update_frame(505,2,5, { tex_index = 45 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(410,0,5).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 6 }) pat:update_frame(505,2,6, { tex_index = 14 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(410,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) pat:update_frame(505,2,7, { tex_index = 14 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(410,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) pat:update_frame(505,2,8, { tex_index = 14 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(410,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 1 }) pat:update_frame(506,0,0, { tex_index = 42 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(410,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(506,0,1, { tex_index = 43 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(410,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) pat:update_frame(506,0,2, { tex_index = 43 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(410,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(506,0,3, { tex_index = 44 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(410,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 1 }) pat:update_frame(506,0,4, { tex_index = 44 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(410,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(506,1,0, { tex_index = 45 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(410,0,5).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 6 }) pat:update_frame(506,1,1, { tex_index = 46 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(410,0,5).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 6 }) pat:update_frame(506,2,0, { tex_index = 45 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(410,0,5).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(506,2,1, { tex_index = 45 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(410,0,5).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(506,2,2, { tex_index = 46 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(410,0,5).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(506,2,3, { tex_index = 46 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(410,0,5).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(506,2,4, { tex_index = 45 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(410,0,5).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 6 }) pat:update_frame(506,2,5, { tex_index = 45 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(410,0,5).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 6 }) pat:update_frame(506,2,6, { tex_index = 14 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(410,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) pat:update_frame(506,2,7, { tex_index = 14 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(410,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) pat:update_frame(506,2,8, { tex_index = 14 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(410,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 1 }) local baseX = 128 local baseY = 256-2 local baseW = 128 local baseH = 160 pat:update_frame(507,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 , collision = pat:get_frame(9,0,0).collision , duration = 3 }) pat:update_frame(507,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 , collision = pat:get_frame(9,0,0).collision , duration = 2 }) pat:update_frame(507,0,2, { tex_index = 43 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(307,0,1).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 3 }) pat:update_frame(507,0,3, { tex_index = 44 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(307,0,1).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 1+2 }) pat:update_frame(507,0,4, { tex_index = 44 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(307,0,1).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 4 }) pat:update_frame(507,1,0, { tex_index = 45 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(307,0,5).hurtbox, collision = pat:get_frame(9,0,0).collision , duration = 6 }) pat:update_frame(507,1,1, { tex_index = 46 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(307,0,5).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 6 }) pat:update_frame(507,2,0, { tex_index = 45 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(307,0,5).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 3 }) pat:update_frame(507,2,1, { tex_index = 45 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(307,0,5).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 3 }) pat:update_frame(507,2,2, { tex_index = 46 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(307,0,5).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 3 }) pat:update_frame(507,2,3, { tex_index = 46 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(307,0,5).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 3 }) pat:update_frame(507,2,4, { tex_index = 45 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(307,0,5).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 6 }) pat:update_frame(507,2,5, { tex_index = 45 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(307,0,5).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 6 }) pat:update_frame(507,2,6, { tex_index = 14 , 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(9,0,0).collision , duration = 3 }) pat:update_frame(507,2,7, { tex_index = 14 , 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(9,0,0).collision , duration = 2 }) pat:split_frame(507,3,0,1,1) pat:update_frame(507,3,0, { tex_index = 523 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 6 , hurtbox = pat:get_frame(6,0,1).hurtbox , collision = pat:get_frame(6,0,1).collision }) pat:update_frame(507,3,1, { tex_index = 522 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(6,0,1).hurtbox , collision = pat:get_frame(6,0,1).collision }) pat:update_frame(507,3,2, { tex_index = 521 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(6,0,0).hurtbox , collision = pat:get_frame(6,0,0).collision }) pat:update_frame(508,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 , collision = pat:get_frame(9,0,0).collision , duration = 3 }) pat:update_frame(508,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 , collision = pat:get_frame(9,0,0).collision , duration = 2 }) pat:update_frame(508,0,2, { tex_index = 43 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(307,0,1).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 3 }) pat:update_frame(508,0,3, { tex_index = 44 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(307,0,1).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 1 }) pat:update_frame(508,0,4, { tex_index = 44 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(307,0,1).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 4 }) pat:update_frame(508,1,0, { tex_index = 45 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(307,0,5).hurtbox, collision = pat:get_frame(9,0,0).collision , duration = 6 }) pat:update_frame(508,1,1, { tex_index = 46 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(307,0,5).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 6 }) pat:update_frame(508,2,0, { tex_index = 45 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(307,0,5).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 3 }) pat:update_frame(508,2,1, { tex_index = 45 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(307,0,5).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 3 }) pat:update_frame(508,2,2, { tex_index = 46 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(307,0,5).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 3 }) pat:update_frame(508,2,3, { tex_index = 46 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(307,0,5).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 3 }) pat:update_frame(508,2,4, { tex_index = 45 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(307,0,5).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 6 }) pat:update_frame(508,2,5, { tex_index = 45 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(307,0,5).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 6 }) pat:update_frame(508,2,6, { tex_index = 14 , 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(9,0,0).collision , duration = 3 }) pat:update_frame(508,2,7, { tex_index = 14 , 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(9,0,0).collision , duration = 2 }) pat:split_frame(508,3,0,1,1) pat:update_frame(508,3,0, { tex_index = 523 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 6 , hurtbox = pat:get_frame(6,0,1).hurtbox , collision = pat:get_frame(6,0,1).collision }) pat:update_frame(508,3,1, { tex_index = 522 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(6,0,1).hurtbox , collision = pat:get_frame(6,0,1).collision }) pat:update_frame(508,3,2, { tex_index = 521 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(6,0,0).hurtbox , collision = pat:get_frame(6,0,0).collision }) for idx = 0 , 1 do pat:update_frame(505,1,idx,function(frame) frame.extra1 = { -300, -300, -300, -300, -300, -400 } end) end for idx = 0 , 1 do pat:update_frame(506,1,idx,function(frame) frame.extra1 = { -300, -300, -300, -300, -300, -400 } end) end for idx = 0 , 1 do pat:update_frame(507,1,idx,function(frame) frame.extra1 = { -300, -300, -300, -300, -300, -400 } end) end for idx = 0 , 1 do pat:update_frame(508,1,idx,function(frame) frame.extra1 = { -300, -300, -300, -300, -300, -400 } end) end pat:get_sequence(811,0):set_looped(false) pat:get_sequence(811,1):set_looped(false) pat:update_frame(811,0,0,function(frame) frame.scale_x = 500 frame.scale_y = 500 frame.attackbox = pat:get_frame(0,0,0).hurtbox frame.attackbox[1].x1 = -120 frame.attackbox[1].x2 = 120 frame.attackbox[1].y1 = -120 frame.attackbox[1].y2 = 120 frame.attackbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.attackbox[2].x1 = -60 frame.attackbox[2].x2 = 60 frame.attackbox[2].y1 = -140 frame.attackbox[2].y2 = 140 frame.attackbox[3] = pat:get_frame(0,0,0).hurtbox[1] frame.attackbox[3].x1 = -140 frame.attackbox[3].x2 = 140 frame.attackbox[3].y1 = -60 frame.attackbox[3].y2 = 60 frame.duration = 4 end) pat:update_frame(811,1,0,function(frame) frame.scale_x = 500 frame.scale_y = 500 frame.color_r = 255 frame.color_g = 128 frame.color_b = 128 frame.attackbox = pat:get_frame(0,0,0).hurtbox frame.attackbox[1].x1 = -120 frame.attackbox[1].x2 = 120 frame.attackbox[1].y1 = -120 frame.attackbox[1].y2 = 120 frame.attackbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.attackbox[2].x1 = -60 frame.attackbox[2].x2 = 60 frame.attackbox[2].y1 = -140 frame.attackbox[2].y2 = 140 frame.attackbox[3] = pat:get_frame(0,0,0).hurtbox[1] frame.attackbox[3].x1 = -140 frame.attackbox[3].x2 = 140 frame.attackbox[3].y1 = -60 frame.attackbox[3].y2 = 60 frame.duration = 1 end) end function mods.a236_wipe(pat) local baseX = 128 local baseY = 256 local baseW = 128 local baseH = 160 pat:update_frame(510,0,0, { tex_index = 6 , tex_w = baseW , tex_h = baseH , tex_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(510,0,0, { tex_index = 7 , 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+1 }) pat:update_frame(510,0,1, { tex_index = 57 , 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(510,0,2, { tex_index = 58 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(302,0,6).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(510,0,3, { tex_index = 59 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(302,0,7).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = pat:get_frame(510,0,2).fflags , duration = 3 }) --active pat:update_frame(510,0,4, { tex_index = 60 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(302,0,8).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = pat:get_frame(510,0,2).fflags , duration = 3 }) pat:update_frame(510,0,5, { tex_index = 61 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(302,0,9).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(510,0,6, { tex_index = 62 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(302,0,10).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(510,0,7, { tex_index = 63 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(302,0,11).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(510,0,8, { tex_index = 64 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 25+2 }) pat:update_frame(510,0,9, { tex_index = 65 , tex_w = baseW , tex_h = baseH , tex_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(510,0,10, { tex_index = 66 , tex_w = baseW , tex_h = baseH , tex_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 = 11 , 21 do pat:remove_frame(510,0,11) end for idx = 4 , 7 do pat:update_frame(510,0,idx,function(frame) frame.collision = pat:get_frame(197,0,0).collision end) end pat:update_frame(511,0,0, { tex_index = 6 , tex_w = baseW , tex_h = baseH , tex_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(511,0,0, { tex_index = 7 , 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+1 }) pat:update_frame(511,0,1, { tex_index = 57 , 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(511,0,2, { tex_index = 58 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(302,0,6).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(511,0,3, { tex_index = 59 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(302,0,7).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = pat:get_frame(510,0,2).fflags , duration = 3 }) --active pat:update_frame(511,0,4, { tex_index = 60 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(302,0,8).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = pat:get_frame(510,0,2).fflags , duration = 3 }) pat:update_frame(511,0,5, { tex_index = 61 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(302,0,9).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(511,0,6, { tex_index = 62 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(302,0,10).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(511,0,7, { tex_index = 63 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(302,0,11).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 1 }) pat:update_frame(511,0,8, { tex_index = 63 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(302,0,11).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 1 }) pat:update_frame(511,0,9, { tex_index = 63 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(302,0,11).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 1 }) pat:update_frame(511,0,10, { tex_index = 63 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(302,0,11).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 1 }) pat:update_frame(511,0,11, { tex_index = 6 , tex_w = baseW , tex_h = baseH , tex_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(511,0,12, { tex_index = 58 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(302,0,6).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(511,0,13, { tex_index = 59 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(302,0,7).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) --active pat:update_frame(511,0,14, { tex_index = 60 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(302,0,8).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(511,0,15, { tex_index = 61 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(302,0,9).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(511,0,16, { tex_index = 62 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(302,0,10).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(511,0,17, { tex_index = 63 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(302,0,11).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(511,0,18, { tex_index = 64 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 30+8 }) pat:update_frame(511,0,19, { tex_index = 65 , tex_w = baseW , tex_h = baseH , tex_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(511,0,20, { tex_index = 66 , tex_w = baseW , tex_h = baseH , tex_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(812,1,0,{tex_index = 632 }) for idx = 21 , 30 do pat:remove_frame(511,0,21) end for idx = 4 , 17 do pat:update_frame(511,0,idx,function(frame) frame.collision = pat:get_frame(197,0,0).collision end) end pat:get_sequence(812,0):set_priority(0,0) pat:get_sequence(812,2):set_priority(0,0) for idx = 0 , 29 do pat:update_frame(812,0,idx,function(frame) frame.tex_index = 373 + (idx/2) frame.tex_w = 256 frame.tex_h = 256 frame.tex_offset_x = 128 frame.tex_offset_y = 240 frame.scale_x = (200 + idx*10)*1.25 frame.scale_y = (200 +idx*10)*1.25 frame.angle_x = 75 --frame.angle_y = 180 frame.duration = 1 frame.attackbox = pat:get_frame(0,0,0).hurtbox frame.attackbox[1].x1 = (-200 -idx*10)*1.25 frame.attackbox[1].x2 = (200 +idx*10)*1.25 frame.attackbox[1].y1 = (-32 -idx*1.6)*1.25 frame.attackbox[1].y2 = (32 +idx*1.6)*1.25 frame.attackbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.attackbox[2].x1 = (-160 -idx*8)*1.25 frame.attackbox[2].x2 = (160 +idx*8)*1.25 frame.attackbox[2].y1 = (-48 -idx*2.4)*1.25 frame.attackbox[2].y2 = (48 +idx*2.4)*1.25 frame.attackbox[1].y1 = frame.attackbox[1].y1 -85 frame.attackbox[1].y2 = frame.attackbox[1].y2 -85 frame.attackbox[2].y1 = frame.attackbox[2].y1 -85 frame.attackbox[2].y2 = frame.attackbox[2].y2 -85 frame.launch_vector_x = -300 frame.launch_vector_y = 1500 frame.launch_vector_x = -300 frame.launch_vector_y = 1500 frame.damage = 800 frame.chip_damage = 200 frame.limit = 40 frame.proration = 800 set_aflag(frame,AF_AIR_BLOCKABLE) if (idx < 6) then frame.attackbox = pat:get_frame(0,0,0).attackbox end if (idx > 18) then frame.attackbox = pat:get_frame(0,0,0).attackbox end end) end for idx = 0 , 29 do pat:update_frame(812,2,idx,function(frame) frame.tex_index = 373 + (idx/2) frame.tex_w = 256 frame.tex_h = 256 frame.tex_offset_x = 128 frame.tex_offset_y = 240 frame.scale_x = 200 + idx*10 frame.scale_y = 200 + idx*10 frame.angle_x = 75 --frame.angle_y = 180 frame.duration = 1 frame.attackbox = pat:get_frame(0,0,0).hurtbox frame.attackbox[1].x1 = -200 -idx*10 frame.attackbox[1].x2 = 200 +idx*10 frame.attackbox[1].y1 = -32 -idx*1.6 frame.attackbox[1].y2 = 32 +idx*1.6 frame.attackbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.attackbox[2].x1 = -160 -idx*8 frame.attackbox[2].x2 = 160 +idx*8 frame.attackbox[2].y1 = -48 -idx*2.4 frame.attackbox[2].y2 = 48 +idx*2.4 frame.attackbox[1].y1 = frame.attackbox[1].y1 -85 frame.attackbox[1].y2 = frame.attackbox[1].y2 -85 frame.attackbox[2].y1 = frame.attackbox[2].y1 -85 frame.attackbox[2].y2 = frame.attackbox[2].y2 -85 frame.launch_vector_x = -300 frame.launch_vector_y = 1500 frame.damage = 800 frame.chip_damage = 200 frame.limit = 40 frame.proration = 800 set_aflag(frame,AF_AIR_BLOCKABLE) if (idx < 6) then frame.attackbox = pat:get_frame(0,0,0).attackbox end if (idx > 18) then frame.attackbox = pat:get_frame(0,0,0).attackbox end end) end end function mods.a22_bubble(pat) local baseX = 128 local baseY = 256 local baseW = 128 local baseH = 160 pat:update_frame(525,0,0, { 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 , duration = 5-3 }) pat:update_frame(525,0,1, { 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 , duration = 3 }) pat:update_frame(525,0,2, { tex_index = 549 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(400,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 5-3 +2 }) pat:update_frame(525,0,3, { tex_index = 549 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(400,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(525,0,4, { tex_index = 550 , 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 = 2 }) pat:update_frame(525,0,5, { tex_index = 551 , 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 = 3 }) pat:update_frame(525,0,6, { tex_index = 552 , 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 = 3 }) pat:update_frame(525,0,7, { tex_index = 553 , 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 = 3 }) pat:update_frame(525,0,8, { tex_index = 552 , 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 = pat:get_frame(525,0,9).fflags , duration = 5 }) pat:update_frame(525,0,9, { tex_index = 553 , 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(525,0,10, { tex_index = 553 , 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 = 2 }) pat:update_frame(525,0,11, { tex_index = 553 , 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 = 2 }) pat:update_frame(525,0,12, { tex_index = 553 , 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 = 2 }) pat:update_frame(525,0,13, { tex_index = 553 , 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(525,0,14, { tex_index = 553 , 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(525,0,15, { tex_index = 554 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(400,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 6 }) pat:update_frame(525,0,16, { tex_index = 555 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(400,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 5 }) pat:update_frame(525,0,17, { tex_index = 556 , tex_w = baseW , tex_h = baseH , tex_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(526,0,0, { 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 , duration = 5-3 }) pat:update_frame(526,0,1, { 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 , duration = 3 }) pat:update_frame(526,0,2, { tex_index = 549 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(400,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 5-3 +2 }) pat:update_frame(526,0,3, { tex_index = 549 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(400,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(526,0,4, { tex_index = 550 , 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 = 2 }) pat:update_frame(526,0,5, { tex_index = 551 , 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 = 3 }) pat:update_frame(526,0,6, { tex_index = 552 , 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 = 3 }) pat:update_frame(526,0,7, { tex_index = 553 , 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 = 3 }) pat:update_frame(526,0,8, { tex_index = 552 , 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 = pat:get_frame(525,0,9).fflags , duration = 5 }) pat:update_frame(526,0,9, { tex_index = 553 , 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(526,0,10, { tex_index = 553 , 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 = 2 }) pat:update_frame(526,0,11, { tex_index = 553 , 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 = 2 }) pat:update_frame(526,0,12, { tex_index = 553 , 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 = 2 }) pat:update_frame(526,0,13, { tex_index = 553 , 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(526,0,14, { tex_index = 553 , 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(526,0,15, { tex_index = 554 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(400,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 6 }) pat:update_frame(526,0,16, { tex_index = 555 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(400,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 5 }) pat:update_frame(526,0,17, { tex_index = 556 , tex_w = baseW , tex_h = baseH , tex_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(527,0,0, { tex_index = 548 , 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(9,0,0).collision , duration = 5-3 }) pat:update_frame(527,0,1, { tex_index = 548 , 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(9,0,0).collision , duration = 3 }) pat:update_frame(527,0,2, { tex_index = 549 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,2).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 5-3 +2 }) pat:update_frame(527,0,3, { tex_index = 549 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,2).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 3 }) pat:update_frame(527,0,4, { tex_index = 550 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,4).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 2 }) pat:update_frame(527,0,5, { tex_index = 551 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,4).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 3 }) pat:update_frame(527,0,6, { tex_index = 552 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,4).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 3 }) pat:update_frame(527,0,7, { tex_index = 553 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,4).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 3 }) pat:update_frame(527,0,8, { tex_index = 552 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,4).hurtbox , collision = pat:get_frame(9,0,0).collision , fflags = pat:get_frame(527,0,9).fflags , duration = 5 }) pat:update_frame(527,0,9, { tex_index = 553 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,4).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 5 }) pat:update_frame(527,0,10, { tex_index = 553 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,4).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 2 }) pat:update_frame(527,0,11, { tex_index = 553 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,4).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 1 }) pat:update_frame(527,0,12, { tex_index = 553 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,4).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 1 }) pat:update_frame(527,0,13, { tex_index = 554 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,2).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 6 }) pat:update_frame(527,0,14, { tex_index = 555 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,2).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 5 }) pat:update_frame(527,0,15, { tex_index = 556 , 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(9,0,0).collision , duration = 5 }) pat:update_frame(527,0,16, { tex_index = 475 , 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(9,0,0).collision , duration = 4 }) pat:split_frame(527,1,0,1,1) pat:update_frame(527,1,0, { tex_index = 523 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 6 , hurtbox = pat:get_frame(6,0,1).hurtbox , collision = pat:get_frame(6,0,1).collision }) pat:update_frame(527,1,1, { tex_index = 522 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(6,0,1).hurtbox , collision = pat:get_frame(6,0,1).collision }) pat:update_frame(527,1,2, { tex_index = 521 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(6,0,0).hurtbox , collision = pat:get_frame(6,0,0).collision }) --[[ pat:update_frame(528,0,0, { tex_index = 548 , 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(9,0,0).collision , duration = 5-3 }) pat:update_frame(528,0,1, { tex_index = 548 , 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(9,0,0).collision , duration = 3 }) pat:update_frame(528,0,2, { tex_index = 549 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,2).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 5-3 +2 }) pat:update_frame(528,0,3, { tex_index = 549 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,2).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 3 }) pat:update_frame(528,0,4, { tex_index = 550 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,4).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 2 }) pat:update_frame(528,0,5, { tex_index = 551 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,4).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 3 }) pat:update_frame(528,0,6, { tex_index = 552 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,4).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 3 }) pat:update_frame(528,0,7, { tex_index = 553 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,4).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 3 }) pat:update_frame(528,0,8, { tex_index = 552 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,4).hurtbox , collision = pat:get_frame(9,0,0).collision , fflags = pat:get_frame(527,0,9).fflags , duration = 5 }) pat:update_frame(528,0,9, { tex_index = 553 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,4).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 5 }) pat:update_frame(528,0,10, { tex_index = 553 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,4).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 2 }) pat:update_frame(528,0,11, { tex_index = 553 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,4).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 1 }) pat:update_frame(528,0,12, { tex_index = 553 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,4).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 1 }) pat:update_frame(528,0,13, { tex_index = 554 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,2).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 6 }) pat:update_frame(528,0,14, { tex_index = 555 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,2).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 5 }) pat:update_frame(528,0,15, { tex_index = 556 , 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(9,0,0).collision , duration = 5 }) pat:update_frame(528,0,16, { tex_index = 475 , 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(9,0,0).collision , duration = 4 }) pat:split_frame(528,2,0,1,1) pat:update_frame(528,2,0, { tex_index = 523 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 6 , hurtbox = pat:get_frame(6,0,1).hurtbox , collision = pat:get_frame(6,0,1).collision }) pat:update_frame(528,2,1, { tex_index = 522 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(6,0,1).hurtbox , collision = pat:get_frame(6,0,1).collision }) pat:update_frame(528,2,2, { tex_index = 521 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(6,0,0).hurtbox , collision = pat:get_frame(6,0,0).collision })]]-- pat:update_frame(816,0,0,function(frame) frame.tex_index = 67 frame.tex_w = 256 frame.tex_h = 256 frame.tex_offset_x = 128 frame.tex_offset_y = 128 frame.scale_x = 50 frame.scale_y = 50 --frame.angle_z = -idx*12.5 frame.color_r = 128 frame.color_g = 128 frame.color_b = 128 frame.duration = 30 frame.tex_index = 415 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 frame.duration = 10 end) pat:update_frame(816,0,1,function(frame) frame.tex_index = 415 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 frame.damage = 500 frame.chip_damage = 150 frame.limit = 20 frame.proration = 900 frame.attack_level = AL_HEAVY frame.blockstop_self = 10 frame.hitstop_self = 10 frame.blockstop_enemy = 10 frame.hitstop_enemy = 10 frame.sp_damage = 200 frame.untech = 60 frame.hit_sfx = 9 frame.hit_effect = 7 frame.hit_ani_air = 71 frame.hit_ani_ground = 71 frame.launch_vector_x = 1500 frame.launch_vector_y = 1500 frame.unknown_9 = 100 frame.duration = 240 frame.attackbox = pat:get_frame(0,0,0).hurtbox frame.attackbox[1].x1 = -60 frame.attackbox[1].x2 = 60 frame.attackbox[1].y1 = -60 frame.attackbox[1].y2 = 60 frame.hurtbox = frame.attackbox frame.aflags = pat:get_frame(801,6,0).aflags set_aflag(frame,AF_SKILL_ATTACK) frame.fflags = 0x00c00000 end) pat:get_sequence(816,0):set_priority(20,0) pat:update_frame(816,3,0,function(frame) frame.tex_index = 67 frame.tex_w = 256 frame.tex_h = 256 frame.tex_offset_x = 128 frame.tex_offset_y = 128 frame.scale_x = 50 frame.scale_y = 50 --frame.angle_z = -idx*12.5 frame.color_r = 128 frame.color_g = 128 frame.color_b = 128 frame.duration = 30 frame.tex_index = 415 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 frame.duration = 10 end) pat:update_frame(816,3,1,function(frame) frame.tex_index = 415 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 frame.damage = 500 frame.chip_damage = 150 frame.limit = 20 frame.proration = 900 frame.attack_level = AL_HEAVY frame.blockstop_self = 10 frame.hitstop_self = 10 frame.blockstop_enemy = 10 frame.hitstop_enemy = 10 frame.sp_damage = 200 frame.untech = 60 frame.hit_sfx = 9 frame.hit_effect = 7 frame.hit_ani_air = 71 frame.hit_ani_ground = 71 frame.launch_vector_x = 1500 frame.launch_vector_y = 1500 frame.unknown_9 = 100 frame.duration = 240 frame.attackbox = pat:get_frame(0,0,0).hurtbox frame.attackbox[1].x1 = -60 frame.attackbox[1].x2 = 60 frame.attackbox[1].y1 = -60 frame.attackbox[1].y2 = 60 frame.hurtbox = pat:get_frame(0,0,0).attackbox frame.aflags = pat:get_frame(801,6,0).aflags frame.fflags = pat:get_frame(801,6,0).fflags end) pat:get_sequence(816,3):set_priority(20,0) for idx = 0 , 1 do pat:update_frame(816,5,idx,function(frame) frame.tex_index = 418 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.angle_z = 0 frame.duration = 240 if (idx==0) then frame.attackbox[1].x1 = -20 frame.attackbox[1].x2 = 20 frame.attackbox[1].y1 = -20 frame.attackbox[1].y2 = 20 frame.damage = 750 frame.limit = 40 frame.chip_damage = 250 frame.sp_damage = 200 frame.proration = 850 frame.attack_level = AL_HEAVY frame.card_gain_hit = 40 frame.card_gain_block = 40 frame.untech = 45 frame.launch_vector_x = 1500 frame.launch_vector_y = 1500 end end) pat:update_frame(816,6,idx,function(frame) frame.tex_index = 418 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.angle_z = 0 frame.duration = 240 if (idx==0) then frame.attackbox[1].x1 = -20 frame.attackbox[1].x2 = 20 frame.attackbox[1].y1 = -20 frame.attackbox[1].y2 = 20 frame.damage = 750 frame.limit = 40 frame.chip_damage = 250 frame.sp_damage = 200 frame.proration = 850 frame.attack_level = AL_HEAVY frame.card_gain_hit = 40 frame.card_gain_block = 40 frame.untech = 45 frame.launch_vector_x = 1500 frame.launch_vector_y = 1500 end end) end pat:update_frame(816,2,0,{tex_index = 417 , scale_x = 50 , scale_y = 50}) end function mods.a22_sticky(pat) local baseX = 128 local baseY = 256 local baseW = 128 local baseH = 160 pat:update_frame(530,0,0, { 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 , duration = 5-3 }) pat:update_frame(530,0,1, { 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 , duration = 3 }) pat:update_frame(530,0,2, { tex_index = 549 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(400,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 5-3 +2 }) pat:update_frame(530,0,3, { tex_index = 549 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(400,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(530,0,4, { tex_index = 550 , 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 = 2 }) pat:update_frame(530,0,5, { tex_index = 551 , 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 = 3 }) pat:update_frame(530,0,6, { tex_index = 552 , 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 = 3 }) pat:update_frame(530,0,7, { tex_index = 553 , 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 = 3 }) pat:update_frame(530,0,8, { tex_index = 552 , 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 = pat:get_frame(525,0,9).fflags , duration = 5 }) pat:update_frame(530,0,9, { tex_index = 553 , 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(530,0,10, { tex_index = 553 , 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(530,0,11, { tex_index = 553 , 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(530,0,12, { tex_index = 553 , 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 = 8 }) pat:update_frame(530,0,13, { tex_index = 553 , 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 = 2 }) pat:update_frame(530,0,14, { tex_index = 553 , 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 = 5 }) pat:update_frame(530,0,15, { tex_index = 554 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(400,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 6 }) pat:update_frame(530,0,16, { tex_index = 555 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(400,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 5 }) pat:update_frame(530,0,17, { tex_index = 556 , tex_w = baseW , tex_h = baseH , tex_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(531,0,0, { 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 , duration = 5-3 }) pat:update_frame(531,0,1, { 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 , duration = 3 }) pat:update_frame(531,0,2, { tex_index = 549 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(400,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 5-3 +2 }) pat:update_frame(531,0,3, { tex_index = 549 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(400,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(531,0,4, { tex_index = 550 , 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 = 2 }) pat:update_frame(531,0,5, { tex_index = 551 , 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 = 3 }) pat:update_frame(531,0,6, { tex_index = 552 , 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 = 3 }) pat:update_frame(531,0,7, { tex_index = 553 , 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 = 3 }) pat:update_frame(531,0,8, { tex_index = 552 , 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 = pat:get_frame(525,0,9).fflags , duration = 5 }) pat:update_frame(531,0,9, { tex_index = 553 , 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(531,0,10, { tex_index = 553 , 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(531,0,11, { tex_index = 553 , 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(531,0,12, { tex_index = 553 , 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 = 8 }) pat:update_frame(531,0,13, { tex_index = 553 , 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 = 2 }) pat:update_frame(531,0,14, { tex_index = 553 , 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 = 5 }) pat:update_frame(531,0,15, { tex_index = 554 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(400,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 6 }) pat:update_frame(531,0,16, { tex_index = 555 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(400,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 5 }) pat:update_frame(531,0,17, { tex_index = 556 , tex_w = baseW , tex_h = baseH , tex_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(532,0,0, { tex_index = 548 , 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(9,0,0).collision , duration = 5-3 }) pat:update_frame(532,0,1, { tex_index = 548 , 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(9,0,0).collision , duration = 3 }) pat:update_frame(532,0,2, { tex_index = 549 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,2).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 5-3 +2 }) pat:update_frame(532,0,3, { tex_index = 549 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,2).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 3 }) pat:update_frame(532,0,4, { tex_index = 550 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,4).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 2 }) pat:update_frame(532,0,5, { tex_index = 551 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,4).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 3 }) pat:update_frame(532,0,6, { tex_index = 552 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,4).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 3 }) pat:update_frame(532,0,7, { tex_index = 553 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,4).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 3 }) pat:update_frame(532,0,8, { tex_index = 552 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,4).hurtbox , collision = pat:get_frame(9,0,0).collision , fflags = pat:get_frame(527,0,9).fflags , duration = 5 }) pat:update_frame(532,0,9, { tex_index = 553 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,4).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 6 }) pat:update_frame(532,0,10, { tex_index = 553 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,4).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 8 }) pat:update_frame(532,0,11, { tex_index = 553 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,4).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 2 }) pat:update_frame(532,0,12, { tex_index = 553 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,4).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 5 }) pat:update_frame(532,0,13, { tex_index = 554 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,2).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 6 }) pat:update_frame(532,0,14, { tex_index = 555 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,2).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 5 }) pat:update_frame(532,0,15, { tex_index = 556 , 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(9,0,0).collision , duration = 5 }) pat:update_frame(532,0,16, { tex_index = 475 , 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(9,0,0).collision , duration = 4 }) pat:split_frame(532,1,0,1,1) pat:update_frame(532,1,0, { tex_index = 523 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 6 , hurtbox = pat:get_frame(6,0,1).hurtbox , collision = pat:get_frame(6,0,1).collision }) pat:update_frame(532,1,1, { tex_index = 522 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(6,0,1).hurtbox , collision = pat:get_frame(6,0,1).collision }) pat:update_frame(532,1,2, { tex_index = 521 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(6,0,0).hurtbox , collision = pat:get_frame(6,0,0).collision }) pat:update_frame(533,0,0, { tex_index = 548 , 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(9,0,0).collision , duration = 5-3 }) pat:update_frame(533,0,1, { tex_index = 548 , 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(9,0,0).collision , duration = 3 }) pat:update_frame(533,0,2, { tex_index = 549 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,2).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 5-3 +2 }) pat:update_frame(533,0,3, { tex_index = 549 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,2).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 3 }) pat:update_frame(533,0,4, { tex_index = 550 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,4).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 2 }) pat:update_frame(533,0,5, { tex_index = 551 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,4).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 3 }) pat:update_frame(533,0,6, { tex_index = 552 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,4).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 3 }) pat:update_frame(533,0,7, { tex_index = 553 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,4).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 3 }) pat:update_frame(533,0,8, { tex_index = 552 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,4).hurtbox , collision = pat:get_frame(9,0,0).collision , fflags = pat:get_frame(527,0,9).fflags , duration = 5 }) pat:update_frame(533,0,9, { tex_index = 553 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,4).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 6 }) pat:update_frame(533,0,10, { tex_index = 553 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,4).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 8 }) pat:update_frame(533,0,11, { tex_index = 553 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,4).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 2 }) pat:update_frame(533,0,12, { tex_index = 553 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,4).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 5 }) pat:update_frame(533,0,13, { tex_index = 554 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,2).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 6 }) pat:update_frame(533,0,14, { tex_index = 555 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,2).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 5 }) pat:update_frame(533,0,15, { tex_index = 556 , 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(9,0,0).collision , duration = 5 }) pat:update_frame(533,0,16, { tex_index = 475 , 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(9,0,0).collision , duration = 4 }) pat:split_frame(533,1,0,1,1) pat:update_frame(533,1,0, { tex_index = 523 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 6 , hurtbox = pat:get_frame(6,0,1).hurtbox , collision = pat:get_frame(6,0,1).collision }) pat:update_frame(533,1,1, { tex_index = 522 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(6,0,1).hurtbox , collision = pat:get_frame(6,0,1).collision }) pat:update_frame(533,1,2, { tex_index = 521 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(6,0,0).hurtbox , collision = pat:get_frame(6,0,0).collision }) pat:update_frame(817,1,0,{tex_w = 0 , duration = 1}) pat:remove_frame(817,1,1) pat:update_frame(817,3,0,{tex_w = 0 , duration = 1}) pat:get_sequence(817,1):set_looped(false) pat:get_sequence(817,3):set_looped(false) for idx = 1 , 119 do pat:split_frame(817,0,0,1,1) end for idx = 0 , 119 do pat:update_frame(817,0,idx,function(frame) if (idx <= 26) then frame.tex_index = 67 frame.tex_w = 256 frame.tex_h = 256 frame.tex_offset_x = 128 frame.tex_offset_y = 128 frame.scale_x = 50 frame.scale_y = 50 --frame.angle_z = -idx*12.5 frame.color_r = 128 frame.color_g = 128 frame.color_b = 128 else frame.tex_index = 640 frame.tex_w = 256 frame.tex_h = 256 frame.tex_offset_x = 128 frame.tex_offset_y = 128 frame.color_r = 255 frame.color_g = 255 frame.color_b = 255 frame.scale_x = 100 frame.scale_y = 100 end local scalemod = 100/frame.scale_x if (idx > 21) and (idx <=26) then local sc = idx-21 frame.scale_x = 51-10*sc frame.scale_y = 51-10*sc end if (idx > 26) and (idx <=36) then local sc = idx-26 frame.scale_x = 20*sc frame.scale_y = 20*sc if (idx > 31) then local alpha = idx-31 frame.color_r = 255-50*alpha frame.color_g = 255-50*alpha frame.color_b = 255-50*alpha end end local ymod = 0 local xmod = 0 frame.scale_x = frame.scale_x *.75 frame.scale_y = frame.scale_y * .75 local scalemodx = 75/frame.scale_x local scalemody = 75/frame.scale_y frame.attackbox[1].x1 = frame.attackbox[1].x1 * frame.scale_x/25 frame.attackbox[1].x2 = frame.attackbox[1].x2 * frame.scale_x/25 frame.attackbox[1].y1 = frame.attackbox[1].y1 * frame.scale_y/25 frame.attackbox[1].y2 = frame.attackbox[1].y2 * frame.scale_y/25 frame.tex_offset_y = frame.tex_offset_y - (ymod)*scalemody frame.attackbox[1].y1 = frame.attackbox[1].y1 + (ymod) frame.attackbox[1].y2 = frame.attackbox[1].y2 + (ymod) frame.tex_offset_x = frame.tex_offset_x - (xmod)*scalemodx frame.attackbox[1].x1 = frame.attackbox[1].x1 + (xmod) frame.attackbox[1].x2 = frame.attackbox[1].x2 + (xmod) if (idx <= 26) then frame.attackbox = pat:get_frame(0,0,0).attackbox end if (idx > 32) then frame.attackbox = pat:get_frame(0,0,0).attackbox end if (idx > 36) then frame.duration = 200 frame.tex_w = 0 end set_fflag(frame,FF_AFTER_IMAGE) set_fflag(frame,FF_LOOP_ANIMATION) frame.fflags = pat:get_frame(801,6,0).fflags frame.aflags = pat:get_frame(801,6,0).aflags frame.damage = 300 frame.unknown_9 = 100 frame.hitstop_enemy = 10 frame.blockstop_enemy = 10 frame.limit = 5 frame.chip_damage = 75 frame.sp_damage = 80 frame.proration = 920 frame.hit_ani_air = 71 frame.hit_ani_ground = 71 frame.launch_vector_x = 1500 frame.launch_vector_y = 1500 frame.combo_correction = CC_LIFT_ATTACK end) end --[[ for idx = 1 , 119 do pat:split_frame(817,1,0,1,1) end for idx = 0 , 119 do pat:update_frame(817,1,idx,function(frame) if (idx == 110) then frame.unknown_9 = 100 frame.attackbox = pat:get_frame(0,0,0).hurtbox frame.damage = 4000 frame.hit_effect = 4 frame.hit_sfx = 4 frame.attack_level = AL_HEAVY end end) end]]-- end function mods.a214_gears(pat) local baseX = 128 local baseY = 256 local baseW = 128 local baseH = 160 pat:split_frame(565,0,9,1,1) pat:split_frame(565,0,9,1,1) pat:split_frame(565,0,9,1,1) pat:update_frame(565,0,0, { 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 , duration = 3 }) pat:update_frame(565,0,1, { 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 , duration = 2 }) pat:update_frame(565,0,2, { tex_index = 549 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(400,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(565,0,3, { tex_index = 549 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(400,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(565,0,4, { tex_index = 550 , 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 = 3 }) pat:update_frame(565,0,5, { tex_index = 551 , 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 = 3 }) pat:update_frame(565,0,6, { tex_index = 552 , 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 = 3 }) pat:update_frame(565,0,7, { tex_index = 553 , 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 = 3 }) pat:update_frame(565,0,8, { tex_index = 552 , 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 = 5 }) pat:update_frame(565,0,9, { tex_index = 553 , 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 = 12 }) pat:update_frame(565,0,10, { tex_index = 554 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(400,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 6 }) pat:update_frame(565,0,11, { tex_index = 555 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(400,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 5 }) pat:update_frame(565,0,12, { tex_index = 556 , tex_w = baseW , tex_h = baseH , tex_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:split_frame(566,0,9,1,1) pat:split_frame(566,0,9,1,1) pat:split_frame(566,0,9,1,1) pat:update_frame(566,0,0, { 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 , duration = 3 }) pat:update_frame(566,0,1, { 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 , duration = 2 }) pat:update_frame(566,0,2, { tex_index = 549 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(400,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(566,0,3, { tex_index = 549 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(400,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 12 }) pat:update_frame(566,0,4, { tex_index = 550 , 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 = 3 }) pat:update_frame(566,0,5, { tex_index = 551 , 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 = 3 }) pat:update_frame(566,0,6, { tex_index = 552 , 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 = 3 }) pat:update_frame(566,0,7, { tex_index = 553 , 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 = 3 }) pat:update_frame(566,0,8, { tex_index = 552 , 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 = 5 }) pat:update_frame(566,0,9, { tex_index = 553 , 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 = 12 }) pat:update_frame(566,0,10, { tex_index = 554 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(400,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 6 }) pat:update_frame(566,0,11, { tex_index = 555 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(400,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 5 }) pat:update_frame(566,0,12, { tex_index = 556 , tex_w = baseW , tex_h = baseH , tex_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:split_frame(567,0,9,1,1) pat:split_frame(567,0,9,1,1) pat:split_frame(567,0,9,1,1) pat:update_frame(567,0,0, { tex_index = 548 , 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(9,0,0).collision , duration = 3 }) pat:update_frame(567,0,1, { tex_index = 548 , 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(9,0,0).collision , duration = 2 }) pat:update_frame(567,0,2, { tex_index = 549 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,2).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 4 }) pat:update_frame(567,0,3, { tex_index = 549 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,2).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 3 }) pat:update_frame(567,0,4, { tex_index = 550 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,4).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 3 }) pat:update_frame(567,0,5, { tex_index = 551 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,4).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 3 }) pat:update_frame(567,0,6, { tex_index = 552 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,4).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 3 }) pat:update_frame(567,0,7, { tex_index = 553 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,4).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 3 }) pat:update_frame(567,0,8, { tex_index = 552 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,4).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 5 }) pat:update_frame(567,0,9, { tex_index = 553 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,4).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 12 }) pat:update_frame(567,0,10, { tex_index = 554 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,2).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 6 }) pat:update_frame(567,0,11, { tex_index = 555 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,2).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 5 }) pat:update_frame(567,0,12, { tex_index = 556 , 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(9,0,0).collision , duration = 5 }) pat:update_frame(567,0,13, { tex_index = 475 , 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(9,0,0).collision , duration = 4 }) pat:split_frame(567,1,0,1,1) pat:update_frame(567,1,0, { tex_index = 523 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 6 , hurtbox = pat:get_frame(6,0,1).hurtbox , collision = pat:get_frame(6,0,1).collision }) pat:update_frame(567,1,1, { tex_index = 522 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(6,0,1).hurtbox , collision = pat:get_frame(6,0,1).collision }) pat:update_frame(567,1,2, { tex_index = 521 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(6,0,0).hurtbox , collision = pat:get_frame(6,0,0).collision }) pat:split_frame(568,0,9,1,1) pat:split_frame(568,0,9,1,1) pat:split_frame(568,0,9,1,1) pat:update_frame(568,0,0, { tex_index = 548 , 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(9,0,0).collision , duration = 3 }) pat:update_frame(568,0,1, { tex_index = 548 , 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(9,0,0).collision , duration = 2 }) pat:update_frame(568,0,2, { tex_index = 549 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,2).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 4 }) pat:update_frame(568,0,3, { tex_index = 549 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,2).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 12 }) pat:update_frame(568,0,4, { tex_index = 550 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,4).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 3 }) pat:update_frame(568,0,5, { tex_index = 551 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,4).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 3 }) pat:update_frame(568,0,6, { tex_index = 552 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,4).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 3 }) pat:update_frame(568,0,7, { tex_index = 553 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,4).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 3 }) pat:update_frame(568,0,8, { tex_index = 552 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,4).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 5 }) pat:update_frame(568,0,9, { tex_index = 553 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,4).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 12 }) pat:update_frame(568,0,10, { tex_index = 554 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,2).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 6 }) pat:update_frame(568,0,11, { tex_index = 555 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,2).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 5 }) pat:update_frame(568,0,12, { tex_index = 556 , 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(9,0,0).collision , duration = 5 }) pat:update_frame(568,0,13, { tex_index = 475 , 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(9,0,0).collision , duration = 4 }) pat:split_frame(568,1,0,1,1) pat:update_frame(568,1,0, { tex_index = 523 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 6 , hurtbox = pat:get_frame(6,0,1).hurtbox , collision = pat:get_frame(6,0,1).collision }) pat:update_frame(568,1,1, { tex_index = 522 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(6,0,1).hurtbox , collision = pat:get_frame(6,0,1).collision }) pat:update_frame(568,1,2, { tex_index = 521 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(6,0,0).hurtbox , collision = pat:get_frame(6,0,0).collision }) for idx = 1 , 239 do pat:split_frame(826,0,0,1,1) end for idx = 0 , 239 do pat:update_frame(826,0,idx,function(frame) frame.angle_z = -60*idx frame.attackbox = pat:get_frame(0,0,0).attackbox frame.tex_index = 639 frame.tex_w = 64 frame.tex_h = 64 frame.tex_offset_x = 32 frame.tex_offset_y = 32 if (idx%8<2) then frame.scale_x = frame.scale_x * 1.5 frame.scale_y = frame.scale_y * 1.5 end local ymod = 0 local xmod = (12+1)*idx - 0.3*idx*idx local scalemodx = 100/frame.scale_x local scalemody = 100/frame.scale_y frame.hurtbox[1].x1 = -20 frame.hurtbox[1].x2 = 20 frame.hurtbox[1].y1 = -20 frame.hurtbox[1].y2 = 20 frame.tex_offset_y = frame.tex_offset_y - (ymod)*scalemody frame.hurtbox[1].y1 = frame.hurtbox[1].y1 + (ymod) frame.hurtbox[1].y2 = frame.hurtbox[1].y2 + (ymod) frame.tex_offset_x = frame.tex_offset_x - (xmod)*scalemodx frame.hurtbox[1].x1 = frame.hurtbox[1].x1 + (xmod) frame.hurtbox[1].x2 = frame.hurtbox[1].x2 + (xmod) if (idx > 39) then local ymod = 0 local xmod = 0 frame.tex_index = 649 + idx%14 frame.tex_w = 128 frame.tex_h = 32 frame.tex_offset_x = 64 frame.tex_offset_y = 16 frame.scale_x = 200 if (idx > 39) then frame.scale_x = 200-((idx-39)*13) end frame.scale_y = 8000 frame.scale_x = 3*frame.scale_x xmod = 40 + (idx-39)*-20 xmod = 40 + (idx-39)*-12 local scalemodx = 100/frame.scale_x local scalemody = 100/frame.scale_y frame.attackbox = pat:get_frame(0,0,0).hurtbox if (idx<44) then frame.attackbox[1].x1 = -50*500/200 frame.attackbox[1].x2 = 50*500/200 else frame.attackbox[1].x1 = -50*frame.scale_x/200 frame.attackbox[1].x2 = 50*frame.scale_x/200 end frame.attackbox[1].y1 = -2000 frame.attackbox[1].y2 = 2000 frame.tex_offset_y = frame.tex_offset_y - (ymod)*scalemody frame.attackbox[1].y1 = frame.attackbox[1].y1 + (ymod) frame.attackbox[1].y2 = frame.attackbox[1].y2 + (ymod) frame.tex_offset_x = frame.tex_offset_x - (xmod)*scalemodx frame.attackbox[1].x1 = frame.attackbox[1].x1 + (xmod) frame.attackbox[1].x2 = frame.attackbox[1].x2 + (xmod) frame.hurtbox = pat:get_frame(0,0,0).attackbox frame.hitstop_enemy = 10 frame.hitstop_self = 7 frame.blockstop_enemy = 10 frame.blockstop_self = 7 if (idx > 54) then frame.attackbox = pat:get_frame(0,0,0).attackbox frame.tex_w = 0 frame.duration = 100 end frame.damage = 400 frame.chip_damage = 80 frame.sp_damage = 80 frame.limit = 15 frame.untech = 45 frame.proration = 900 frame.combo_correction = CC_LIFT_ATTACK frame.hit_ani_ground = 71 frame.card_gain_hit = 40 frame.card_gain_block = 40 end end) end pat:get_sequence(826,0):set_priority(10,0) pat:update_frame(826,1,0,{tex_w = 0}) pat:update_frame(826,2,0,{tex_w = 0}) end function mods.a214_fall(pat) local baseX = 128 local baseY = 256 local baseW = 128 local baseH = 160 pat:remove_frame(570,2,7) pat:remove_frame(570,2,6) pat:remove_frame(570,2,5) pat:remove_frame(570,2,4) pat:remove_frame(571,2,7) pat:remove_frame(571,2,6) pat:remove_frame(571,2,5) pat:remove_frame(571,2,4) pat:update_frame(570,0,0, { tex_index = 608 , tex_w = baseW , tex_h = baseH , tex_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(570,0,1, { tex_index = 609 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(580,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 7 }) pat:update_frame(570,0,2, { tex_index = 609 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(580,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 7 }) pat:update_frame(570,0,3, { tex_index = 610 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(580,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) pat:update_frame(570,0,4, { tex_index = 610 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(580,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) pat:update_frame(570,0,5, { tex_index = 736 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(580,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 6 }) pat:update_frame(570,0,6, { tex_index = 737 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(580,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 6 }) pat:update_frame(570,1,0, { tex_index = 736 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(580,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 6 }) pat:update_frame(570,1,1, { tex_index = 737 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(580,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 6 }) pat:update_frame(570,2,0, { tex_index = 736 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(580,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 6 }) pat:update_frame(570,2,1, { tex_index = 737 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(580,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 6 }) pat:update_frame(570,2,2, { tex_index = 736 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(580,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 6 }) pat:update_frame(570,2,3, { tex_index = 737 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(580,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 6 }) pat:update_frame(570,3,0, { tex_index = 738 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(580,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 6 }) pat:update_frame(570,3,1, { tex_index = 739 , tex_w = baseW , tex_h = baseH , tex_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(570,3,2, { tex_index = 740 , tex_w = baseW , tex_h = baseH , tex_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(570,4,0, { tex_index = 736 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(580,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 6 }) pat:update_frame(570,4,1, { tex_index = 737 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(580,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 6 }) pat:update_frame(570,5,0, { tex_index = 738 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(580,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 6 }) pat:update_frame(570,5,1, { tex_index = 739 , tex_w = baseW , tex_h = baseH , tex_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(570,5,2, { tex_index = 740 , tex_w = baseW , tex_h = baseH , tex_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(571,0,0, { tex_index = 608 , tex_w = baseW , tex_h = baseH , tex_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 = 609 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(580,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 10 }) pat:update_frame(571,0,2, { tex_index = 609 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(580,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 10 }) pat:update_frame(571,0,3, { tex_index = 610 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(580,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) pat:update_frame(571,0,4, { tex_index = 610 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(580,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) pat:update_frame(571,0,5, { tex_index = 736 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(580,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 6 }) pat:update_frame(571,0,6, { tex_index = 737 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(580,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 6 }) pat:update_frame(571,1,0, { tex_index = 736 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(580,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 6 }) pat:update_frame(571,1,1, { tex_index = 737 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(580,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 6 }) pat:update_frame(571,2,0, { tex_index = 736 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(580,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 6 }) pat:update_frame(571,2,1, { tex_index = 737 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(580,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 6 }) pat:update_frame(571,2,2, { tex_index = 736 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(580,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 6 }) pat:update_frame(571,2,3, { tex_index = 737 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(580,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 6 }) pat:update_frame(571,3,0, { tex_index = 738 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(580,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 6 }) pat:update_frame(571,3,1, { tex_index = 739 , tex_w = baseW , tex_h = baseH , tex_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(571,3,2, { tex_index = 740 , tex_w = baseW , tex_h = baseH , tex_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(571,4,0, { tex_index = 736 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(580,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 6 }) pat:update_frame(571,4,1, { tex_index = 737 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(580,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 6 }) pat:update_frame(571,5,0, { tex_index = 738 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(580,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 6 }) pat:update_frame(571,5,1, { tex_index = 739 , tex_w = baseW , tex_h = baseH , tex_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(571,5,2, { tex_index = 740 , tex_w = baseW , tex_h = baseH , tex_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:remove_frame(827,1,1) pat:remove_frame(827,2,1) pat:remove_frame(827,3,1) pat:remove_frame(827,5,1) pat:update_frame(827,0,0,function(frame) frame.tex_index = 239 frame.tex_w = 320 frame.tex_h = 64 frame.tex_offset_x = 160 frame.tex_offset_y = 32 frame.scale_x = 200 frame.scale_y = 200 end) pat:update_frame(827,1,0,function(frame) frame.tex_index = 239 frame.tex_w = 320 frame.tex_h = 64 frame.tex_offset_x = 160 frame.tex_offset_y = 32 frame.scale_x = 200 frame.scale_y = 200 end) pat:update_frame(827,2,0,function(frame) frame.tex_index = 239 frame.tex_w = 320 frame.tex_h = 64 frame.tex_offset_x = 160 frame.tex_offset_y = 32 frame.scale_x = 200 frame.scale_y = 200 frame.attackbox[1].x1 = -180 frame.attackbox[1].x2 = 280 frame.attackbox[1].y1 = -25 frame.attackbox[1].y2 = 25 frame.damage = 600 frame.chip_damage = 150 frame.proration = 880 frame.limit = 10 frame.untech = 60 frame.blockstop_enemy = 10 frame.card_gain_hit = 40 frame.card_gain_block = 40 end) pat:update_frame(827,3,0,function(frame) frame.tex_index = 239 frame.tex_w = 320 frame.tex_h = 64 frame.tex_offset_x = 160 frame.tex_offset_y = 32 frame.scale_x = 200 frame.scale_y = 200 end) pat:update_frame(827,5,0,function(frame) frame.tex_index = 239 frame.tex_w = 320 frame.tex_h = 64 frame.tex_offset_x = 160 frame.tex_offset_y = 32 frame.scale_x = 200 frame.scale_y = 200 end) pat:update_frame(827,4,0,function(frame) frame.tex_index = 240 frame.tex_w = 320 frame.tex_h = 64 frame.tex_offset_x = 160 frame.tex_offset_y = 32 frame.scale_x = 100 frame.scale_y = 100 end) pat:update_frame(827,6,0,function(frame) frame.tex_index = 240 frame.tex_w = 320 frame.tex_h = 64 frame.tex_offset_x = 160 frame.tex_offset_y = 32 frame.scale_x = 100 frame.scale_y = 100 end) pat:update_frame(827,8,0,function(frame) frame.tex_index = 240 frame.tex_w = 320 frame.tex_h = 64 frame.tex_offset_x = 160 frame.tex_offset_y = 32 frame.scale_x = 100 frame.scale_y = 100 end) end function mods.a623_thunder(pat) local baseX = 128 local baseY = 256 local baseW = 128 local baseH = 160 pat:update_frame(550,0,0, { tex_index = 608 , tex_w = baseW , tex_h = baseH , tex_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 = 609 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(580,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) pat:update_frame(550,0,2, { tex_index = 609 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(580,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 1 }) pat:update_frame(550,0,3, { tex_index = 610 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(580,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) pat:update_frame(550,0,4, { tex_index = 610 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(580,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 1 }) pat:update_frame(550,0,5, { tex_index = 611 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(540,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) pat:update_frame(550,0,6, { tex_index = 611 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(540,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 1 }) pat:split_frame(550,1,1,1,1) pat:update_frame(550,1,0, { tex_index = 612 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(309,1,0).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 3 }) pat:update_frame(550,1,1, { tex_index = 613 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(309,1,0).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 3 }) pat:update_frame(550,1,2, { tex_index = 614 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(309,1,0).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 3 }) pat:remove_frame(550,2,2) pat:remove_frame(550,2,1) pat:update_frame(550,2,0, { tex_index = 614 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(309,1,0).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 1 }) pat:split_frame(550,3,1,1,1) pat:split_frame(550,3,1,1,1) pat:split_frame(550,3,1,1,1) pat:update_frame(550,3,0, { tex_index = 612 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(309,1,0).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 3 }) pat:update_frame(550,3,1, { tex_index = 613 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(309,1,0).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 4 }) pat:update_frame(550,3,2, { tex_index = 614 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(309,1,0).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 10 }) pat:update_frame(550,3,3, { tex_index = 611 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(309,0,4).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 5 }) pat:update_frame(550,3,4, { tex_index = 615 , 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(9,0,0).collision , duration = 4 }) pat:split_frame(550,4,0,1,1) pat:update_frame(550,4,0, { tex_index = 523 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 6 , hurtbox = pat:get_frame(6,0,1).hurtbox , collision = pat:get_frame(6,0,1).collision }) pat:update_frame(550,4,1, { tex_index = 522 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(6,0,1).hurtbox , collision = pat:get_frame(6,0,1).collision }) pat:update_frame(550,4,2, { tex_index = 521 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(6,0,0).hurtbox , collision = pat:get_frame(6,0,0).collision }) pat:update_frame(551,0,0, { tex_index = 608 , tex_w = baseW , tex_h = baseH , tex_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 = 609 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(580,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) pat:update_frame(551,0,2, { tex_index = 609 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(580,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 1 }) pat:update_frame(551,0,3, { tex_index = 610 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(580,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) pat:update_frame(551,0,4, { tex_index = 610 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(580,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 1 }) pat:update_frame(551,0,5, { tex_index = 611 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(540,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) pat:update_frame(551,0,6, { tex_index = 611 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(540,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 1 }) pat:split_frame(551,1,1,1,1) pat:update_frame(551,1,0, { tex_index = 612 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(309,1,0).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 3 }) pat:update_frame(551,1,1, { tex_index = 613 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(309,1,0).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 3 }) pat:update_frame(551,1,2, { tex_index = 614 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(309,1,0).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 3 }) pat:remove_frame(551,2,2) pat:remove_frame(551,2,1) pat:update_frame(551,2,0, { tex_index = 614 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(309,1,0).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 1 }) pat:split_frame(551,3,1,1,1) pat:split_frame(551,3,1,1,1) pat:split_frame(551,3,1,1,1) pat:update_frame(551,3,0, { tex_index = 612 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(309,1,0).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 3 }) pat:update_frame(551,3,1, { tex_index = 613 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(309,1,0).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 4 }) pat:update_frame(551,3,2, { tex_index = 614 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(309,1,0).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 10 }) pat:update_frame(551,3,3, { tex_index = 611 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(309,0,4).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 5 }) pat:update_frame(551,3,4, { tex_index = 615 , 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(9,0,0).collision , duration = 4 }) pat:split_frame(551,4,0,1,1) pat:update_frame(551,4,0, { tex_index = 523 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 6 , hurtbox = pat:get_frame(6,0,1).hurtbox , collision = pat:get_frame(6,0,1).collision }) pat:update_frame(551,4,1, { tex_index = 522 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(6,0,1).hurtbox , collision = pat:get_frame(6,0,1).collision }) pat:update_frame(551,4,2, { tex_index = 521 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(6,0,0).hurtbox , collision = pat:get_frame(6,0,0).collision }) for idx = 0 , 0 do pat:update_frame(550,2,idx,function(frame) set_fflag(frame,FF_CANCEL) end) pat:update_frame(551,2,idx,function(frame) set_fflag(frame,FF_CANCEL) end) end for idx = 0 , 4 do pat:update_frame(550,3,idx,function(frame) set_fflag(frame,FF_CANCEL) end) pat:update_frame(551,3,idx,function(frame) set_fflag(frame,FF_CANCEL) end) end pat:get_sequence(550,3):set_priority(50,30) pat:get_sequence(551,3):set_priority(50,30) for idx = 0 , 2 do pat:update_frame(550,1,idx,function(frame) frame.extra1 = { [1] = "0", [2] = "0", [3] = "0", [4] = "0", [5] = "0", [6] = "-100"} set_fflag(frame,FF_GRAZE) end) pat:update_frame(551,1,idx,function(frame) frame.extra1 = { [1] = "0", [2] = "0", [3] = "0", [4] = "0", [5] = "0", [6] = "-100"} set_fflag(frame,FF_GRAZE) end) end for idx = 0 , 6 do pat:update_frame(550,0,idx,function(frame) set_fflag(frame,FF_GRAZE) end) pat:update_frame(551,0,idx,function(frame) set_fflag(frame,FF_GRAZE) end) end for idx = 0 , 6 do pat:update_frame(822,3,idx,function(frame) frame.attackbox = pat:get_frame(0,0,0).attackbox frame.tex_w = 0 end) end for idx = 0 , 6 do pat:update_frame(822,4,idx,function(frame) frame.attackbox = pat:get_frame(0,0,0).attackbox frame.tex_w = 0 end) end for idx = 10 , 70 do pat:split_frame(822,0,9,1,1) end for idx = 0 , 70 do pat:update_frame(822,0,idx,function(frame) frame.tex_index = 433 + idx%14 frame.tex_w = 128 frame.tex_h = 128 frame.tex_offset_x = 64 frame.tex_offset_y = 64 frame.duration = 1 if (idx < 9) then local scal = idx frame.scale_x = scal*30 frame.scale_y = scal*30 else frame.scale_x = 300 frame.scale_y = 300 frame.attackbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.attackbox[3] = pat:get_frame(0,0,0).hurtbox[1] frame.attackbox[1].x1 = -100 frame.attackbox[1].x2 = 100 frame.attackbox[1].y1 = -100 frame.attackbox[1].y2 = 100 frame.attackbox[2].x1 = -120 frame.attackbox[2].x2 = 120 frame.attackbox[2].y1 = -60 frame.attackbox[2].y2 = 60 frame.attackbox[3].x1 = -60 frame.attackbox[3].x2 = 60 frame.attackbox[3].y1 = -120 frame.attackbox[3].y2 = 120 --frame.fflags = 0x01000000 --frame.aflags = 0x0041040e end end) end pat:get_sequence(822,0):set_priority(20,0) for idx = 10 , 14 do --pat:split_frame(822,1,9,1,1) end for idx = 0 , 9 do pat:update_frame(822,1,idx,function(frame) frame.tex_index = 433 + idx%14 frame.tex_w = 128 frame.tex_h = 128 frame.tex_offset_x = 64 frame.tex_offset_y = 64 frame.duration = 1 local scal = idx frame.scale_x = 300 + idx*30 frame.scale_y = 300 + idx*30 local alpha = 255-idx*25 frame.color_r = alpha frame.color_g = alpha frame.color_b = alpha end) end end function mods.a623_cannon(pat) local baseX = 128 local baseY = 256 local baseW = 128 local baseH = 160 pat:update_frame(545,0,0, { 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 , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(545,0,1, { 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 , collision = pat:get_frame(0,0,0).collision , duration = 2 }) pat:update_frame(545,0,2, { tex_index = 48 , tex_w = baseW , tex_h = baseH , tex_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 = 49 , tex_w = baseW , tex_h = baseH , tex_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,4, { tex_index = 50 , tex_w = baseW , tex_h = baseH , tex_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,5, { 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 = 10 }) pat:update_frame(545,1,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 = 10 }) pat:update_frame(545,2,0, { tex_index = 52 , 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 = 6 }) pat:update_frame(545,2,1, { tex_index = 53 , 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 = 6 }) pat:update_frame(545,2,2, { tex_index = 52 , 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 = 6 }) pat:update_frame(545,2,3, { tex_index = 53 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(301,0,6).hurtbox , fflags = 0x00200021 , collision = pat:get_frame(0,0,0).collision , duration = 6 }) pat:update_frame(545,2,4, { tex_index = 52 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(301,0,6).hurtbox , fflags = 0x00200021 , collision = pat:get_frame(0,0,0).collision , duration = 6 }) pat:update_frame(545,2,5, { tex_index = 464 , 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 = 2 }) pat:update_frame(545,2,6, { tex_index = 464 , 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 = 1 }) pat:update_frame(545,2,7, { tex_index = 464 , 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 = 1 }) pat:update_frame(545,2,8, { tex_index = 464 , 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 = 1 }) pat:update_frame(545,2,9, { tex_index = 464 , 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 = 1 }) pat:update_frame(545,2,10, { tex_index = 54 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(301,0,10).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) pat:update_frame(545,2,11, { tex_index = 54 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(301,0,10).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) pat:update_frame(545,3,0, { tex_index = 50 , tex_w = baseW , tex_h = baseH , tex_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,3,1, { tex_index = 49 , tex_w = baseW , tex_h = baseH , tex_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,3,2, { tex_index = 48 , tex_w = baseW , tex_h = baseH , tex_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(545,3,3, { tex_index = 48 , tex_w = baseW , tex_h = baseH , tex_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(545,3,4, { 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 , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(546,0,0, { 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 , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(546,0,1, { 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 , collision = pat:get_frame(0,0,0).collision , duration = 2 }) pat:update_frame(546,0,2, { tex_index = 48 , tex_w = baseW , tex_h = baseH , tex_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(546,0,3, { tex_index = 49 , tex_w = baseW , tex_h = baseH , tex_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(546,0,4, { tex_index = 50 , tex_w = baseW , tex_h = baseH , tex_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(546,0,5, { 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 = 10 }) pat:update_frame(546,1,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 = 10 }) pat:update_frame(546,2,0, { tex_index = 52 , 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 = 6 }) pat:update_frame(546,2,1, { tex_index = 53 , 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 = 6 }) pat:update_frame(546,2,2, { tex_index = 52 , 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 = 6 }) pat:update_frame(546,2,3, { tex_index = 53 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(301,0,6).hurtbox , fflags = 0x00200021 , collision = pat:get_frame(0,0,0).collision , duration = 6 }) pat:update_frame(546,2,4, { tex_index = 52 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(301,0,6).hurtbox , fflags = 0x00200021 , collision = pat:get_frame(0,0,0).collision , duration = 6 }) pat:update_frame(546,2,5, { tex_index = 464 , 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 = 2 }) pat:update_frame(546,2,6, { tex_index = 464 , 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 = 1 }) pat:update_frame(546,2,7, { tex_index = 464 , 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 = 1 }) pat:update_frame(546,2,8, { tex_index = 464 , 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 = 1 }) pat:update_frame(546,2,9, { tex_index = 464 , 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 = 1 }) pat:update_frame(546,2,10, { tex_index = 54 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(301,0,10).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) pat:update_frame(546,2,11, { tex_index = 54 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(301,0,10).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) pat:update_frame(546,3,0, { tex_index = 50 , tex_w = baseW , tex_h = baseH , tex_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(546,3,1, { tex_index = 49 , tex_w = baseW , tex_h = baseH , tex_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(546,3,2, { tex_index = 48 , tex_w = baseW , tex_h = baseH , tex_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(546,3,3, { tex_index = 48 , tex_w = baseW , tex_h = baseH , tex_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(546,3,4, { 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 , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(547,0,0, { 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 , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(547,0,1, { 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 , collision = pat:get_frame(0,0,0).collision , duration = 2 }) pat:update_frame(547,0,2, { tex_index = 48 , tex_w = baseW , tex_h = baseH , tex_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(547,0,3, { tex_index = 49 , tex_w = baseW , tex_h = baseH , tex_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(547,0,4, { tex_index = 50 , tex_w = baseW , tex_h = baseH , tex_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(547,0,5, { 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 = 10 }) pat:update_frame(547,1,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 = 10 }) pat:update_frame(547,2,0, { tex_index = 52 , 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 = 6 }) pat:update_frame(547,2,1, { tex_index = 53 , 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 = 6 }) pat:update_frame(547,2,2, { tex_index = 52 , 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 = 6 }) pat:update_frame(547,2,3, { tex_index = 53 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(301,0,6).hurtbox , fflags = 0x00200024 , collision = pat:get_frame(0,0,0).collision , duration = 6 }) pat:update_frame(547,2,4, { tex_index = 52 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(301,0,6).hurtbox , fflags = 0x00200024 , collision = pat:get_frame(0,0,0).collision , duration = 6 }) pat:update_frame(547,2,5, { tex_index = 464 , 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 = 2 }) pat:update_frame(547,2,6, { tex_index = 464 , 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 = 1 }) pat:update_frame(547,2,7, { tex_index = 464 , 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 = 1 }) pat:update_frame(547,2,8, { tex_index = 464 , 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 = 1 }) pat:update_frame(547,2,9, { tex_index = 464 , 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 = 1 }) pat:update_frame(547,2,10, { tex_index = 54 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(301,0,10).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) pat:update_frame(547,2,11, { tex_index = 54 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(301,0,10).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) pat:update_frame(547,3,0, { tex_index = 50 , tex_w = baseW , tex_h = baseH , tex_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(547,3,1, { tex_index = 49 , tex_w = baseW , tex_h = baseH , tex_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(547,3,2, { tex_index = 48 , tex_w = baseW , tex_h = baseH , tex_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(547,3,3, { tex_index = 48 , tex_w = baseW , tex_h = baseH , tex_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(547,3,4, { 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 , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:split_frame(547,4,0,1,1) pat:update_frame(547,4,0, { tex_index = 523 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 6 , hurtbox = pat:get_frame(6,0,1).hurtbox , collision = pat:get_frame(6,0,1).collision }) pat:update_frame(547,4,1, { tex_index = 522 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(6,0,1).hurtbox , collision = pat:get_frame(6,0,1).collision }) pat:update_frame(547,4,2, { tex_index = 521 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(6,0,0).hurtbox , collision = pat:get_frame(6,0,0).collision }) pat:update_frame(548,0,0, { 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 , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(548,0,1, { 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 , collision = pat:get_frame(0,0,0).collision , duration = 2 }) pat:update_frame(548,0,2, { tex_index = 48 , tex_w = baseW , tex_h = baseH , tex_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(548,0,3, { tex_index = 49 , tex_w = baseW , tex_h = baseH , tex_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(548,0,4, { tex_index = 50 , tex_w = baseW , tex_h = baseH , tex_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(548,0,5, { 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 = 10 }) pat:update_frame(548,1,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 = 10 }) pat:update_frame(548,2,0, { tex_index = 52 , 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 = 6 }) pat:update_frame(548,2,1, { tex_index = 53 , 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 = 6 }) pat:update_frame(548,2,2, { tex_index = 52 , 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 = 6 }) pat:update_frame(548,2,3, { tex_index = 53 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(301,0,6).hurtbox , fflags = 0x00200024 , collision = pat:get_frame(0,0,0).collision , duration = 6 }) pat:update_frame(548,2,4, { tex_index = 52 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(301,0,6).hurtbox , fflags = 0x00200024 , collision = pat:get_frame(0,0,0).collision , duration = 6 }) pat:update_frame(548,2,5, { tex_index = 464 , 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 = 2 }) pat:update_frame(548,2,6, { tex_index = 464 , 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 = 1 }) pat:update_frame(548,2,7, { tex_index = 464 , 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 = 1 }) pat:update_frame(548,2,8, { tex_index = 464 , 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 = 1 }) pat:update_frame(548,2,9, { tex_index = 464 , 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 = 1 }) pat:update_frame(548,2,10, { tex_index = 54 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(301,0,10).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) pat:update_frame(548,2,11, { tex_index = 54 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(301,0,10).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) pat:update_frame(548,3,0, { tex_index = 50 , tex_w = baseW , tex_h = baseH , tex_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(548,3,1, { tex_index = 49 , tex_w = baseW , tex_h = baseH , tex_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(548,3,2, { tex_index = 48 , tex_w = baseW , tex_h = baseH , tex_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(548,3,3, { tex_index = 48 , tex_w = baseW , tex_h = baseH , tex_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(548,3,4, { 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 , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:split_frame(548,4,0,1,1) pat:update_frame(548,4,0, { tex_index = 523 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 6 , hurtbox = pat:get_frame(6,0,1).hurtbox , collision = pat:get_frame(6,0,1).collision }) pat:update_frame(548,4,1, { tex_index = 522 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(6,0,1).hurtbox , collision = pat:get_frame(6,0,1).collision }) pat:update_frame(548,4,2, { tex_index = 521 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(6,0,0).hurtbox , collision = pat:get_frame(6,0,0).collision }) pat:update_frame(821,3,0,function(frame) frame.tex_index = 643 frame.tex_w = 256 frame.tex_h = 128 frame.tex_offset_x = 128 frame.tex_offset_y = 64 frame.blending_mode = 1 frame.angle_x = 0 frame.angle_y = 0 frame.angle_z = 0 frame.scale_x = 100 frame.scale_y = 300 frame.color_r = 205 frame.color_g = 205 frame.color_b = 205 frame.hitstop_enemy = 70 frame.hit_ani_ground = 0 frame.hit_ani_air = 70 frame.launch_vector_x = 0 frame.launch_vector_y = 0 frame.damage = 1000 frame.chip_damage = 200 frame.sp_damage = 200 frame.untech = 60 frame.limit = 50 frame.proration = 750 frame.attackbox[1].x1 = -50 frame.attackbox[1].x2 = 50 frame.attackbox[1].y1 = -80*1.5 frame.attackbox[1].y2 = 80*1.5 frame.hurtbox[1].x1 = -70 frame.hurtbox[1].x2 = 70 frame.hurtbox[1].y1 = -100*1.5 frame.hurtbox[1].y2 = 100*1.5 end) pat:update_frame(821,6,0,{tex_index = 368 , scale_x = 200 , scale_y = 200 , tex_offset_x = 128 , tex_offset_y = 128 , tex_w = 256 , tex_h = 256 }) pat:update_frame(821,0,0,{tex_index = 368 , scale_x = 100 , scale_y = 100 , tex_offset_x = 128 , tex_offset_y = 128 , tex_w = 256 , tex_h = 256 }) pat:update_frame(821,1,0,{tex_index = 368 , scale_x = 100 , scale_y = 100 , tex_offset_x = 128 , tex_offset_y = 128 , tex_w = 256 , tex_h = 256 }) end function mods.a421_emerald(pat) local baseX = 128 local baseY = 256 local baseW = 128 local baseH = 160 pat:remove_frame(585,0,6) pat:remove_frame(585,0,5) pat:update_frame(585,0,0, { tex_index = 608 , tex_w = baseW , tex_h = baseH , tex_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(585,0,1, { tex_index = 609 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(580,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 6 }) pat:update_frame(585,0,2, { tex_index = 610 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(580,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 6 }) --19f pat:update_frame(585,0,3, { tex_index = 736 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(580,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 6 }) pat:update_frame(585,0,4, { tex_index = 737 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(580,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 6 }) pat:update_frame(585,1,0, { tex_index = 736 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(580,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 6 }) pat:update_frame(585,1,1, { tex_index = 737 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(580,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 6 }) pat:update_frame(585,2,0, { tex_index = 738 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(580,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 5 }) pat:update_frame(585,2,1, { tex_index = 739 , tex_w = baseW , tex_h = baseH , tex_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(585,2,2, { tex_index = 740 , tex_w = baseW , tex_h = baseH , tex_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 , 4 do pat:update_frame(585,0,idx,function(frame) unset_fflag(frame,FF_MELEE_INV) unset_fflag(frame,FF_BULLET_INV) unset_fflag(frame,FF_GRAZE) end) end for idx = 0 , 1 do pat:update_frame(585,1,idx,function(frame) set_fflag(frame,FF_CANCEL) end) end for idx = 0 , 2 do pat:update_frame(585,2,idx,function(frame) set_fflag(frame,FF_CANCEL) end) end pat:update_frame(831,0,0,function(frame) frame.tex_index = 419 frame.tex_w = 128 frame.tex_h = 224 frame.tex_offset_x = 64 frame.tex_offset_y = 224 unset_aflag(frame,AF_PROJECTILE) frame.scale_x = 150 frame.scale_y = 150 frame.launch_vector_y = frame.launch_vector_y - 500 frame.damage = 900 frame.chip_damage = 900/4 frame.proration = 870 frame.attackbox[1].y1 = frame.attackbox[1].y1 +40 frame.attackbox[1].y2 = frame.attackbox[1].y2 +80 frame.attackbox[2].x1 = frame.attackbox[2].x1 - 20 frame.attackbox[2].x2 = frame.attackbox[2].x2 - 50 frame.attackbox[2].y1 = frame.attackbox[2].y1 +120 frame.attackbox[2].y2 = frame.attackbox[2].y2 +180 local ymod = 0 local xmod = -250 local scalemodx = 100/frame.scale_x local scalemody = 100/frame.scale_y frame.tex_offset_y = frame.tex_offset_y - (ymod)*scalemody frame.attackbox[1].y1 = frame.attackbox[1].y1 + (ymod) frame.attackbox[1].y2 = frame.attackbox[1].y2 + (ymod) frame.attackbox[2].y1 = frame.attackbox[2].y1 + (ymod) frame.attackbox[2].y2 = frame.attackbox[2].y2 + (ymod) frame.tex_offset_x = frame.tex_offset_x - (xmod)*scalemodx frame.attackbox[1].x1 = frame.attackbox[1].x1 + (xmod) frame.attackbox[1].x2 = frame.attackbox[1].x2 + (xmod) frame.attackbox[2].x1 = frame.attackbox[2].x1 + (xmod) frame.attackbox[2].x2 = frame.attackbox[2].x2 + (xmod) end) pat:update_frame(831,3,0,function(frame) frame.tex_index = 419 frame.tex_w = 128 frame.tex_h = 224 frame.tex_offset_x = 64 frame.tex_offset_y = 224 unset_aflag(frame,AF_PROJECTILE) frame.scale_x = 200 frame.scale_y = 200 frame.launch_vector_y = frame.launch_vector_y - 500 frame.damage = 900 frame.chip_damage = 900/4 frame.proration = 870 frame.attackbox[1].y1 = frame.attackbox[1].y1 +0 frame.attackbox[1].y2 = frame.attackbox[1].y2 +120 frame.attackbox[2].x1 = frame.attackbox[2].x1 - 20 frame.attackbox[2].x2 = frame.attackbox[2].x2 - 50 frame.attackbox[2].y1 = frame.attackbox[2].y1 +120 frame.attackbox[2].y2 = frame.attackbox[2].y2 +180 local ymod = 0 local xmod = -210 local scalemodx = 100/frame.scale_x local scalemody = 100/frame.scale_y frame.tex_offset_y = frame.tex_offset_y - (ymod)*scalemody frame.attackbox[1].y1 = frame.attackbox[1].y1 + (ymod) frame.attackbox[1].y2 = frame.attackbox[1].y2 + (ymod) frame.attackbox[2].y1 = frame.attackbox[2].y1 + (ymod) frame.attackbox[2].y2 = frame.attackbox[2].y2 + (ymod) frame.tex_offset_x = frame.tex_offset_x - (xmod)*scalemodx frame.attackbox[1].x1 = frame.attackbox[1].x1 + (xmod) frame.attackbox[1].x2 = frame.attackbox[1].x2 + (xmod) frame.attackbox[2].x1 = frame.attackbox[2].x1 + (xmod) frame.attackbox[2].x2 = frame.attackbox[2].x2 + (xmod) end) end function mods.a421_armor(pat) local baseX = 128 local baseY = 256 local baseW = 128 local baseH = 160 pat:update_frame(590,0,0, { tex_index = 608 , tex_w = baseW , tex_h = baseH , tex_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(590,0,1, { tex_index = 608 , tex_w = baseW , tex_h = baseH , tex_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(590,0,2, { tex_index = 609 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(580,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 5 }) pat:update_frame(590,0,3, { tex_index = 609 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(580,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 5 }) pat:update_frame(590,0,4, { tex_index = 609 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(580,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 5 }) pat:update_frame(590,0,5, { tex_index = 609 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(580,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 5 }) pat:update_frame(590,0,6, { tex_index = 610 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(580,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 5 }) pat:update_frame(590,0,7, { tex_index = 611 , tex_w = baseW , tex_h = baseH , tex_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(590,0,7,function(frame) frame.hurtbox[1].y1 = frame.hurtbox[1].y1 - 10 frame.hurtbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[2].y1 = frame.hurtbox[1].y1 + 30 frame.hurtbox[2].y2 = frame.hurtbox[2].y1 + 40 frame.hurtbox[2].x1 = frame.hurtbox[1].x1 - 25 frame.hurtbox[2].x2 = frame.hurtbox[1].x2 + 50 end) pat:split_frame(590,1,0,1,1) pat:update_frame(590,1,0, { tex_index = 612 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(309,1,0).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 4 }) pat:update_frame(590,1,0,function(frame) 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 + 30 frame.hurtbox[3].y1 = frame.hurtbox[1].y1 + 40 frame.hurtbox[3].y2 = frame.hurtbox[3].y1 + 50 frame.hurtbox[2].y2 = 0 end) pat:update_frame(590,1,1, { tex_index = 613 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(590,1,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(590,1,2, { tex_index = 614 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(590,1,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(590,2,0, { tex_index = 612 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(590,1,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(590,2,1, { tex_index = 613 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(590,1,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 6 }) pat:update_frame(590,2,2, { tex_index = 614 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(590,1,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 10 }) pat:update_frame(590,2,3, { tex_index = 611 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(590,0,7).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(590,2,4, { tex_index = 615 , tex_w = baseW , tex_h = baseH , tex_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(591,0,0, { tex_index = 608 , tex_w = baseW , tex_h = baseH , tex_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(591,0,1, { tex_index = 608 , tex_w = baseW , tex_h = baseH , tex_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(591,0,2, { tex_index = 609 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(580,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 5+15 }) pat:update_frame(591,0,3, { tex_index = 609 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(580,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 5 }) pat:update_frame(591,0,4, { tex_index = 609 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(580,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 5 }) pat:update_frame(591,0,5, { tex_index = 609 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(580,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 5 }) pat:update_frame(591,0,6, { tex_index = 610 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(580,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 5 }) pat:update_frame(591,0,7, { tex_index = 611 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(590,0,7).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:split_frame(591,1,0,1,1) pat:update_frame(591,1,0, { tex_index = 612 , tex_w = baseW , tex_h = baseH , tex_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(591,1,1, { tex_index = 613 , tex_w = baseW , tex_h = baseH , tex_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(591,1,2, { tex_index = 614 , tex_w = baseW , tex_h = baseH , tex_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(591,2,0, { tex_index = 612 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(590,1,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(591,2,1, { tex_index = 613 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(590,1,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 6 }) pat:update_frame(591,2,2, { tex_index = 614 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(590,1,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 10 }) pat:update_frame(591,2,3, { tex_index = 611 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(590,0,7).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(591,2,4, { tex_index = 615 , tex_w = baseW , tex_h = baseH , tex_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 = 1 , 4 do pat:remove_frame(832,0,1) end pat:update_frame(832,0,0,{tex_w = 0}) for idx = 1 , 109 do pat:split_frame(832,2,0,1,1) end for idx = 0 , 109 do pat:update_frame(832,2,idx,function(frame) frame.tex_index = 393 + (idx/2)%22 frame.tex_w = 320 frame.tex_h = 320 frame.tex_offset_x = 160 frame.tex_offset_y = 320 frame.scale_x = 75 frame.scale_y = 75 frame.duration = 1 frame.blending_mode = 1 end) end end function mods.s2sc_deluge(pat) pat:get_sequence(601,1):set_looped(false) local baseX = 128 local baseY = 256 local baseW = 128 local baseH = 160 pat:split_frame(601,1,0,1,1) --pat:split_frame(601,1,0,1,1) pat:update_frame(601,0,0, { 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 , duration = 4 -3 }) pat:update_frame(601,0,1, { 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 , duration = 4 -2 }) pat:update_frame(601,0,2, { tex_index = 549 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(400,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 8 +2 -5 }) pat:update_frame(601,0,3, { tex_index = 550 , 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 = pat:get_frame(601,0,0).fflags , duration = 50 }) pat:update_frame(601,0,4, { tex_index = 551 , 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 = 5 }) pat:update_frame(601,1,0, { tex_index = 552 , 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 = 3 }) pat:update_frame(601,1,1, { tex_index = 553 , 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 = 3 }) pat:update_frame(601,1,2, { tex_index = 552 , 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 = 3 }) --pat:update_frame(601,1,3, { tex_index = 553 , 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 = 3 }) pat:update_frame(601,2,0, { tex_index = 553 , 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 = 15 }) pat:update_frame(601,2,1, { tex_index = 554 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(400,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 6 }) pat:update_frame(601,2,2, { tex_index = 555 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(400,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 5 }) pat:update_frame(601,2,3, { tex_index = 556 , tex_w = baseW , tex_h = baseH , tex_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:split_frame(651,1,0,1,1) pat:split_frame(651,2,0,1,1) --pat:split_frame(651,1,0,1,1) pat:update_frame(651,0,0, { tex_index = 548 , 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(9,0,0).collision , duration = 4 -3 }) pat:update_frame(651,0,1, { tex_index = 548 , 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(9,0,0).collision , duration = 4 -2 }) pat:update_frame(651,0,2, { tex_index = 549 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,2).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 8 +2 -5 }) pat:update_frame(651,0,3, { tex_index = 550 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,4).hurtbox , collision = pat:get_frame(9,0,0).collision , fflags = pat:get_frame(651,0,0).fflags , duration = 50}) pat:update_frame(651,0,4, { tex_index = 551 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,4).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 5 }) pat:update_frame(651,1,0, { tex_index = 552 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,4).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 3 }) pat:update_frame(651,1,1, { tex_index = 553 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,4).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 3 }) pat:update_frame(651,1,2, { tex_index = 552 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,4).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 3 }) --pat:update_frame(651,1,3, { tex_index = 553 , 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 = 3 }) pat:update_frame(651,2,0, { tex_index = 553 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,4).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 15 }) pat:update_frame(651,2,1, { tex_index = 554 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,2).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 6 }) pat:update_frame(651,2,2, { tex_index = 555 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(404,0,2).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 5 }) pat:update_frame(651,2,3, { tex_index = 556 , 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(9,0,0).collision , duration = 5 }) pat:update_frame(651,2,4, { tex_index = 475 , 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(9,0,0).collision , duration = 4 }) pat:split_frame(651,3,0,1,1) pat:update_frame(651,3,0, { tex_index = 523 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 6 , hurtbox = pat:get_frame(6,0,1).hurtbox , collision = pat:get_frame(6,0,1).collision }) pat:update_frame(651,3,1, { tex_index = 522 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(6,0,1).hurtbox , collision = pat:get_frame(6,0,1).collision }) pat:update_frame(651,3,2, { tex_index = 521 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(6,0,0).hurtbox , collision = pat:get_frame(6,0,0).collision }) pat:remove_frame(851,1,1) for idx = 1 , 119 do pat:split_frame(851,1,0,1,1) end local extraN = 10 for idx = 0 , 119 do pat:update_frame(851,1,idx,function(frame) if (idx <= 16 + extraN) then frame.tex_index = 67 frame.tex_w = 256 frame.tex_h = 256 frame.tex_offset_x = 128 frame.tex_offset_y = 128 frame.scale_x = 50 frame.scale_y = 50 --frame.angle_z = -idx*12.5 frame.color_r = 128 frame.color_g = 128 frame.color_b = 128 else frame.tex_index = 640 frame.tex_w = 256 frame.tex_h = 256 frame.tex_offset_x = 128 frame.tex_offset_y = 128 frame.color_r = 255 frame.color_g = 255 frame.color_b = 255 frame.scale_x = 100 frame.scale_y = 100 end local scalemod = 100/frame.scale_x if (idx > 11 + extraN) and (idx <=16 + extraN) then local sc = idx-11 - extraN frame.scale_x = 51-10*sc frame.scale_y = 51-10*sc end if (idx > 16 + extraN) and (idx <=26 + extraN) then local sc = idx-16 - extraN frame.scale_x = 20*sc frame.scale_y = 20*sc if (idx > 21 + extraN) then local alpha = idx-21 - extraN frame.color_r = 255-50*alpha frame.color_g = 255-50*alpha frame.color_b = 255-50*alpha end end local ymod = 0 local xmod = 0 local scalemodx = 100/frame.scale_x local scalemody = 100/frame.scale_y frame.attackbox[1].x1 = frame.attackbox[1].x1 * frame.scale_x/25 frame.attackbox[1].x2 = frame.attackbox[1].x2 * frame.scale_x/25 frame.attackbox[1].y1 = frame.attackbox[1].y1 * frame.scale_y/25 frame.attackbox[1].y2 = frame.attackbox[1].y2 * frame.scale_y/25 frame.attackbox[1].x1 = -80 frame.attackbox[1].x2 = 80 frame.attackbox[1].y1 = -80 frame.attackbox[1].y2 = 80 frame.tex_offset_y = frame.tex_offset_y - (ymod)*scalemody frame.attackbox[1].y1 = frame.attackbox[1].y1 + (ymod) frame.attackbox[1].y2 = frame.attackbox[1].y2 + (ymod) frame.tex_offset_x = frame.tex_offset_x - (xmod)*scalemodx frame.attackbox[1].x1 = frame.attackbox[1].x1 + (xmod) frame.attackbox[1].x2 = frame.attackbox[1].x2 + (xmod) if (idx <= 16 + extraN) then frame.attackbox = pat:get_frame(0,0,0).attackbox end if (idx > 22 + extraN) then frame.attackbox = pat:get_frame(0,0,0).attackbox end if (idx > 26 + extraN) then frame.duration = 200 frame.tex_w = 0 end set_fflag(frame,FF_AFTER_IMAGE) set_fflag(frame,FF_LOOP_ANIMATION) frame.fflags = pat:get_frame(801,6,0).fflags frame.aflags = pat:get_frame(801,6,0).aflags set_aflag(frame,AF_SPELL_ATTACK) frame.damage = 300 frame.unknown_9 = 100 frame.hitstop_enemy = 10 frame.blockstop_enemy = 10 frame.limit = 2 frame.chip_damage = 15 frame.sp_damage = 15 frame.proration = 920 frame.hit_ani_air = 71 frame.hit_ani_ground = 71 frame.launch_vector_x = 1500 frame.launch_vector_y = 1500 frame.combo_correction = CC_LIFT_ATTACK end) end for idx = 0 , 2 do pat:remove_frame(851,1,0) end end function mods.s2sc_harvest(pat) local baseX = 128 local baseY = 256 local baseW = 128 local baseH = 160 pat:update_frame(602,0,0, { tex_index = 608 , tex_w = baseW , tex_h = baseH , tex_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(602,0,1, { tex_index = 609 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(580,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 36 }) pat:update_frame(602,0,2, { tex_index = 609 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(580,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000041 , duration = 20 }) pat:update_frame(602,0,3, { tex_index = 610 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(580,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000041 , duration = 5 }) pat:update_frame(602,0,4, { tex_index = 611 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000041 , duration = 4 }) pat:update_frame(602,0,4,function(frame) frame.hurtbox[1].y1 = frame.hurtbox[1].y1 - 10 frame.hurtbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[2].y1 = frame.hurtbox[1].y1 + 30 frame.hurtbox[2].y2 = frame.hurtbox[2].y1 + 40 frame.hurtbox[2].x1 = frame.hurtbox[1].x1 - 25 frame.hurtbox[2].x2 = frame.hurtbox[1].x2 + 50 end) pat:update_frame(602,0,5, { tex_index = 611 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(602,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 1 }) pat:update_frame(602,0,6, { tex_index = 611 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(602,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 1 }) pat:split_frame(602,1,0,1,1) pat:update_frame(602,1,0, { tex_index = 612 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+4 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 4 }) pat:update_frame(602,1,1, { tex_index = 613 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+4 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 4 }) pat:update_frame(602,1,2, { tex_index = 614 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+4 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 4 }) pat:update_frame(602,2,0, { tex_index = 523 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 6 , hurtbox = pat:get_frame(6,0,1).hurtbox , collision = pat:get_frame(6,0,1).collision }) pat:update_frame(602,2,1, { tex_index = 522 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 , hurtbox = pat:get_frame(6,0,1).hurtbox , collision = pat:get_frame(6,0,1).collision }) pat:update_frame(602,2,2, { tex_index = 521 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(6,0,0).hurtbox , collision = pat:get_frame(6,0,0).collision }) for idx = 0 , 2 do pat:update_frame(602,1,idx,function (frame) frame.duration = 4 unset_fflag(frame,FF_MOTION_CANCEL) set_fflag(frame,FF_SUPER_ARMOR) set_fflag(frame,FF_MELEE_INV) --set_fflag(frame,FF_GRAZE) unset_fflag(frame,FF_BULLET_INV) --frame.hurtbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[1].x1 = - 8040 frame.hurtbox[1].x2 = - 8030 frame.hurtbox[1].y1 = - 8040 frame.hurtbox[1].y2 = - 8030 frame.attackbox[2] = null frame.attackbox[1].y1 = - 8040 frame.attackbox[1].y2 = - 8030 frame.attackbox[1].x1 = - 8040 frame.attackbox[1].x2 = - 8030 frame.damage = -200 frame.aflags = 0x01521510 set_aflag(frame,AF_CAN_HIT_SELF) set_aflag(frame,AF_PROJECTILE) set_aflag(frame,AF_UNGRAZABLE) frame.hit_sfx = 5 frame.hit_effect = 1 frame.attack_level = AL_LIGHT frame.launch_vector_x = 0 frame.launch_vector_y = 0 frame.card_gain_hit = 100 frame.card_gain_block = 0 frame.hitstop_self = 0 frame.hitstop_enemy = 0 frame.limit = 0 frame.proration = 1000 frame.sp_damage = 0 frame.untech = 0 frame.hit_ani_air = pat:get_frame(301,0,4).hit_ani_air frame.hit_ani_ground = pat:get_frame(301,0,4).hit_ani_ground frame.combo_correction = CC_NONE set_fflag(frame,FF_MOTION_CANCEL) end) end for idx = 1 , 14 do pat:split_frame(852,0,0,1,1) end for idx = 0 , 14 do pat:update_frame(852,0,idx,function(frame) frame.tex_index = 319 + idx frame.tex_w = 256 frame.tex_h = 256 frame.tex_offset_x = 128 frame.tex_offset_y = 128 frame.scale_x = 300 frame.scale_y = 300 frame.duration = 2 frame.blending_mode = 1 end) end pat:update_frame(852,3,0,{blending_mode = 2 , scale_x = 300 , scale_y = 300}) for idx = 1 , 109 do pat:split_frame(852,1,0,1,1) end for idx = 0 , 109 do pat:update_frame(852,1,idx,function(frame) frame.tex_index = 393 + (idx/2)%22 frame.tex_w = 0 frame.tex_h = 320 frame.tex_offset_x = 160 frame.tex_offset_y = 160 frame.scale_x = 75 frame.scale_y = 75 frame.duration = 1 frame.blending_mode = 1 frame.angle_z = -15*idx end) end for idx = 1 , 109 do pat:split_frame(852,2,0,1,1) end for idx = 0 , 109 do pat:update_frame(852,2,idx,function(frame) frame.tex_index = 393 + ((idx+22)/2)%22 frame.tex_w = 320 frame.tex_h = 320 frame.tex_offset_x = 160 frame.tex_offset_y = 160 frame.scale_x = 150 frame.scale_y = 150 frame.duration = 1 frame.blending_mode = 1 frame.angle_z = 60+ 20*idx end) end end function mods.s3sc_stelmo(pat) local baseX = 128 local baseY = 256 local baseW = 128 local baseH = 160 --35f freeze for idx = 13 , 15 do pat:remove_frame(600,0,4) end pat:update_frame(600,0,0, { tex_index = 610 , 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(600,0,1, { tex_index = 611 , 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(600,0,2, { tex_index = 612 , 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(600,0,2,function(frame) frame.hurtbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[1].y2 = -110 frame.hurtbox[2].x1 = frame.hurtbox[2].x1 - 5 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 + 15 frame.hurtbox[2].y1 = -130 end) pat:update_frame(600,0,3, { tex_index = 613 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(600,0,2).hurtbox , duration = 4}) pat:update_frame(600,0,4, { tex_index = 614 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(600,0,2).hurtbox , duration = 4 }) pat:update_frame(600,0,5, { tex_index = 612 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(600,0,2).hurtbox , duration = 4 }) pat:update_frame(600,0,6, { tex_index = 613 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(600,0,2).hurtbox , duration = 4 }) pat:update_frame(600,0,7, { tex_index = 614 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(600,0,2).hurtbox , duration = 4 }) pat:update_frame(600,0,8, { tex_index = 612 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(600,0,2).hurtbox , duration = 4 }) pat:update_frame(600,0,9, { tex_index = 613 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(600,0,2).hurtbox , duration = 4 }) pat:update_frame(600,0,10, { tex_index = 614 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(600,0,2).hurtbox , duration = 4 }) pat:update_frame(600,0,11, { tex_index = 611 , 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(600,0,12, { tex_index = 615 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 4 }) for idx = 0 , 11 do pat:update_frame(600,0,idx,function(frame) set_fflag(frame,FF_MELEE_INV) set_fflag(frame,FF_GRAZE) set_fflag(frame,FF_BULLET_INV) end) end pat:update_frame(600,0,12,function(frame) set_fflag(frame,FF_AIRBORNE) end) for idx = 1 , 23 do pat:remove_frame(850,2,1) end pat:update_frame(850,2,0,{tex_index = 368 , scale_x = 400 , scale_y = 400 , tex_offset_x = 256 , tex_offset_y = 128 , tex_w = 0 , tex_h = 256 }) pat:update_frame(850,3,0,{tex_index = 368 , scale_x = 300 , scale_y = 300 , tex_offset_x = 128 , tex_offset_y = 128 , tex_w = 256 , tex_h = 256 }) pat:remove_frame(850,3,1) for idx = 1 , 19 do pat:split_frame(850,3,0,1,1) end for idx = 0 , 19 do pat:update_frame(850,3,idx,function(frame) frame.tex_index = 368 frame.tex_offset_x = 128 frame.tex_offset_y = 128 frame.tex_w = 256 frame.tex_h = 256 scal = 400 idx1 = 1+.1*idx scal = scal/idx1 + idx*10 frame.scale_x = scal frame.scale_y = scal end) end pat:update_frame(850,0,0,{tex_w = 0}) pat:remove_frame(850,0,3) pat:remove_frame(850,0,2) pat:remove_frame(850,0,1) pat:update_frame(850,1,0,{tex_w = 0}) for idx = 1 , 9 do pat:remove_frame(850,1,1) end pat:update_frame(850,5,0,{tex_w = 0}) pat:split_frame(850,4,0,1,100) pat:update_frame(850,4,0,{tex_index = 68 , scale_x = 100 , scale_y = 100 , tex_offset_x = 32 , tex_offset_y = 32 , tex_w = 0 , tex_h = 64}) pat:update_frame(850,4,1,{tex_index = 68 , scale_x = 100 , scale_y = 100 , tex_offset_x = 32 , tex_offset_y = 32 , tex_w = 0 , tex_h = 64}) pat:update_frame(850,6,0,{tex_w = 0}) --kill book for idx = 1 , 5 do pat:remove_frame(890,0,1) pat:remove_frame(890,1,1) end pat:update_frame(890,0,0,{tex_w=0}) pat:update_frame(890,1,0,{tex_w=0}) end function mods.s3sc_jelly(pat) local baseX = 128 local baseY = 256 local baseW = 128 local baseH = 160 pat:split_frame(606,0,6,1,1) pat:split_frame(606,2,1,1,1) pat:split_frame(606,2,1,1,1) pat:split_frame(606,2,1,1,1) pat:update_frame(606,0,0, { tex_index = 827 , tex_w = baseW , tex_h = baseH , tex_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(606,0,1, { tex_index = 827 , tex_w = baseW , tex_h = baseH , tex_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(606,0,2, { tex_index = 827 , tex_w = baseW , tex_h = baseH , tex_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(606,0,3, { tex_index = 827 , tex_w = baseW , tex_h = baseH , tex_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(606,0,3, { tex_index = 826 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 13 }) pat:update_frame(606,0,4, { tex_index = 826 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 40 }) pat:update_frame(606,0,5, { tex_index = 827 , tex_w = baseW , tex_h = baseH , tex_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(606,0,6, { tex_index = 828 , tex_w = baseW , tex_h = baseH , tex_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(606,0,7, { tex_index = 829 , tex_w = baseW , tex_h = baseH , tex_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(606,1,0, { tex_index = 830 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(520,0,5).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(606,1,1, { tex_index = 830 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(520,0,5).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(606,2,0, { tex_index = 831 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(520,0,7).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(606,2,1, { tex_index = 832, tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(520,0,8).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(606,2,2, { tex_index = 833 , tex_w = baseW , tex_h = baseH , tex_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(606,2,3, { tex_index = 833 , tex_w = baseW , tex_h = baseH , tex_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(606,2,4, { tex_index = 55 , tex_w = baseW , tex_h = baseH , tex_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(856,0,0,function(frame) frame.tex_index = 420 frame.tex_w = 256 frame.tex_h = 256 frame.tex_offset_x = 128 frame.tex_offset_y = 128 frame.scale_x = 200 frame.scale_y = 200 end) pat:update_frame(856,0,1,function(frame) frame.hurtbox = pat:get_frame(0,0,0).attackbox frame.tex_index = 420 frame.tex_w = 256 frame.tex_h = 256 frame.tex_offset_x = 128 frame.tex_offset_y = 128 frame.scale_x = 200 frame.scale_y = 200 frame.duration = 240 end) pat:update_frame(856,1,0,function(frame) frame.hurtbox = pat:get_frame(0,0,0).attackbox frame.tex_index = 420 frame.tex_w = 256 frame.tex_h = 256 frame.tex_offset_x = 128 frame.tex_offset_y = 128 frame.scale_x = 200 frame.scale_y = 200 frame.duration = 240 end) end function mods.s3sc_satellite(pat) local baseX = 128 local baseY = 256 local baseW = 128 local baseH = 160 pat:update_frame(607,0,0, { tex_index = 827 , tex_w = baseW , tex_h = baseH , tex_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(607,0,1, { tex_index = 827 , tex_w = baseW , tex_h = baseH , tex_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(607,0,2, { tex_index = 827 , tex_w = baseW , tex_h = baseH , tex_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(607,0,3, { tex_index = 827 , tex_w = baseW , tex_h = baseH , tex_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(607,0,4, { tex_index = 826 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 40 }) pat:update_frame(607,0,5, { tex_index = 827 , tex_w = baseW , tex_h = baseH , tex_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,0,6, { tex_index = 828 , tex_w = baseW , tex_h = baseH , tex_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,0,7, { tex_index = 829 , tex_w = baseW , tex_h = baseH , tex_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,0,8, { tex_index = 830 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(520,0,5).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(607,0,9, { tex_index = 830 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(520,0,5).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) pat:update_frame(607,0,10, { tex_index = 830 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(520,0,5).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) pat:update_frame(607,0,11, { tex_index = 830 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(520,0,5).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) pat:update_frame(607,0,12, { tex_index = 830 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(520,0,5).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) pat:update_frame(607,0,13, { tex_index = 830 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(520,0,5).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) pat:update_frame(607,0,14, { tex_index = 830 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(520,0,5).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) pat:update_frame(607,0,15, { tex_index = 830 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(520,0,5).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) pat:update_frame(607,0,16, { tex_index = 831 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(520,0,7).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(607,0,17, { tex_index = 832, tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(520,0,8).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(607,0,18, { tex_index = 833 , tex_w = baseW , tex_h = baseH , tex_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(607,0,19, { tex_index = 833 , tex_w = baseW , tex_h = baseH , tex_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(607,0,20, { tex_index = 55 , tex_w = baseW , tex_h = baseH , tex_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 }) for idxa = 10 , 11 do pat:remove_frame(857,idxa,1) pat:update_frame(857,idxa,0,function(frame) frame.tex_index = 669 frame.scale_x = 150 frame.scale_y = 150 frame.color_r = 255 frame.color_g = 255 frame.color_b = 255 local scalemod = 100/frame.scale_x local scalemody = 100/frame.scale_y local ymod = 0 local xmod = 0 frame.tex_offset_y = frame.tex_offset_y - (ymod)*scalemody frame.tex_offset_x = frame.tex_offset_x - (xmod)*scalemod end) end for idxa = 0 , 1 do pat:remove_frame(857,idxa,1) pat:update_frame(857,idxa,0,function(frame) frame.scale_x = 100 frame.scale_y = 100 frame.color_r = 255 frame.color_g = 255 frame.color_b = 255 frame.tex_h = 0 frame.tex_w = 0 local scalemod = 100/frame.scale_x local scalemody = 100/frame.scale_y local ymod = 200 local xmod = 0 frame.tex_offset_y = frame.tex_offset_y - (ymod)*scalemody frame.tex_offset_x = frame.tex_offset_x - (xmod)*scalemod end) end for idxa = 2 , 3 do pat:update_frame(857,idxa,0,function(frame) frame.scale_x = 50 frame.scale_y = 50 frame.color_r = 255 frame.color_g = 255 frame.color_b = 255 frame.tex_h = 0 frame.tex_w = 0 local scalemod = 100/frame.scale_x local scalemody = 100/frame.scale_y local ymod = 200 local xmod = 0 frame.tex_offset_y = frame.tex_offset_y - (ymod)*scalemody frame.tex_offset_x = frame.tex_offset_x - (xmod)*scalemod end) end for idxa = 6 , 7 do pat:remove_frame(857,idxa,1) pat:update_frame(857,idxa,0,function(frame) frame.scale_x = 150 frame.scale_y = 150 frame.color_r = 255 frame.color_g = 255 frame.color_b = 255 frame.tex_h = 0 frame.tex_w = 0 local scalemod = 100/frame.scale_x local scalemody = 100/frame.scale_y local ymod = 200 local xmod = 0 frame.tex_offset_y = frame.tex_offset_y - (ymod)*scalemody frame.tex_offset_x = frame.tex_offset_x - (xmod)*scalemod end) end for idxa = 8 , 9 do pat:update_frame(857,idxa,0,function(frame) frame.scale_x = 50 frame.scale_y = 50 frame.color_r = 255 frame.color_g = 255 frame.color_b = 255 frame.tex_h = 0 frame.tex_w = 0 local scalemod = 100/frame.scale_x local scalemody = 100/frame.scale_y local ymod = 200 local xmod = 0 frame.tex_offset_y = frame.tex_offset_y - (ymod)*scalemody frame.tex_offset_x = frame.tex_offset_x - (xmod)*scalemod end) end for idxa = 12 , 13 do pat:remove_frame(857,idxa,1) pat:update_frame(857,idxa,0,function(frame) frame.scale_x = 150 frame.scale_y = 150 frame.color_r = 255 frame.color_g = 255 frame.color_b = 255 frame.tex_h = 0 frame.tex_w = 0 local scalemod = 100/frame.scale_x local scalemody = 100/frame.scale_y local ymod = 200 local xmod = 0 frame.tex_offset_y = frame.tex_offset_y - (ymod)*scalemody frame.tex_offset_x = frame.tex_offset_x - (xmod)*scalemod end) end for idxa = 4 , 5 do pat:remove_frame(857,idxa,1) pat:update_frame(857,idxa,0,function (frame) frame.tex_index = 367 frame.tex_w = 64 frame.tex_h = 320 frame.tex_offset_x = 32 frame.tex_offset_y = 320 frame.blending_mode = 0 frame.angle_x = 0 frame.angle_y = 0 frame.angle_z = 0 frame.scale_x = 400 frame.scale_y = 400 frame.color_r = 255 frame.color_g = 255 frame.color_b = 255 frame.hitstop_self = 20 frame.blockstop_self = 20 frame.hitstop_enemy = 10 frame.blockstop_enemy = 10 frame.hit_ani_ground = 71 frame.launch_vector_x = 0 frame.launch_vector_y = 1950 frame.hit_ani_air = 71 frame.damage = 400 frame.limit = 5 frame.proration = 950 frame.chip_damage = 40 frame.untech = 120 frame.sp_damage = 100 frame.attackbox = pat:get_frame(0,0,0).hurtbox frame.attackbox[1].x1 = -20 frame.attackbox[1].x2 = 20 frame.attackbox[1].y1 = -1150 frame.attackbox[1].y2 = 0 end) for idx = 1 , 119 do pat:split_frame(857,idxa,0,1,1) end for idx = 0 , 119 do pat:update_frame(857,idxa,idx,function(frame) local scalemod = 100/frame.scale_x local scalemody = 100/frame.scale_y -- -6 local ymod = 2100 -60*idx local xmod = 0 if (idx > 19) then ymod = 2100 -60*19 + (idx-19)*-8 end frame.attackbox = pat:get_frame(0,0,0).hurtbox frame.attackbox[1].x1 = -20 frame.attackbox[1].x2 = 20 frame.attackbox[1].y1 = -1150 frame.attackbox[1].y2 = 0 frame.tex_offset_y = frame.tex_offset_y - (ymod)*scalemody frame.attackbox[1].y1 = frame.attackbox[1].y1 + (ymod) frame.attackbox[1].y2 = frame.attackbox[1].y2 + (ymod) frame.tex_offset_x = frame.tex_offset_x - (xmod)*scalemod frame.attackbox[1].x1 = frame.attackbox[1].x1 + (xmod) frame.attackbox[1].x2 = frame.attackbox[1].x2 + (xmod) if (idx < 19) then frame.attackbox = pat:get_frame(0,0,0).attackbox end if (idx > 19) then alpha = 255-(idx-19)*12 frame.color_r = alpha frame.color_g = alpha frame.color_b = alpha end if (idx > 39) then frame.attackbox = pat:get_frame(0,0,0).attackbox frame.tex_w = 0 frame.duration = 100 end end) end end end function mods.s3sc_phlogistic(pat) local baseX = 128 local baseY = 256 local baseW = 128 local baseH = 160 for idx = 5 , 9 do pat:split_frame(611,0,4,1,1) end pat:update_frame(611,0,0, { tex_index = 827 , tex_w = baseW , tex_h = baseH , tex_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(611,0,1, { tex_index = 827 , tex_w = baseW , tex_h = baseH , tex_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(611,0,2, { tex_index = 827 , tex_w = baseW , tex_h = baseH , tex_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,3, { tex_index = 826 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 40 }) pat:update_frame(611,0,4, { tex_index = 827 , tex_w = baseW , tex_h = baseH , tex_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,0,5, { tex_index = 828 , tex_w = baseW , tex_h = baseH , tex_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,0,6, { tex_index = 829 , tex_w = baseW , tex_h = baseH , tex_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,0,7, { tex_index = 830 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(520,0,5).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 6 }) pat:update_frame(611,0,8, { tex_index = 831 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(520,0,7).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(611,0,9, { tex_index = 832, tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(520,0,8).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(611,1,0, { tex_index = 833 , tex_w = baseW , tex_h = baseH , tex_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(611,1,1, { tex_index = 833 , tex_w = baseW , tex_h = baseH , tex_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(611,2,0, { tex_index = 833 , tex_w = baseW , tex_h = baseH , tex_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(611,2,1, { tex_index = 55 , tex_w = baseW , tex_h = baseH , tex_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(611,2,2, { tex_index = 55 , tex_w = baseW , tex_h = baseH , tex_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(611,2,3, { tex_index = 55 , tex_w = baseW , tex_h = baseH , tex_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 = 5 , 9 do pat:split_frame(661,0,4,1,1) end pat:update_frame(661,0,0, { tex_index = 827 , 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(9,0,0).collision , duration = 1 }) pat:update_frame(661,0,1, { tex_index = 827 , 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(9,0,0).collision , duration = 1 }) pat:update_frame(661,0,2, { tex_index = 827 , 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(9,0,0).collision , duration = 2 }) pat:update_frame(661,0,3, { tex_index = 826 , 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(9,0,0).collision , duration = 40 }) pat:update_frame(661,0,4, { tex_index = 827 , 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(9,0,0).collision , duration = 4 }) pat:update_frame(661,0,5, { tex_index = 828 , 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(9,0,0).collision , duration = 4 }) pat:update_frame(661,0,6, { tex_index = 829 , 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(9,0,0).collision , duration = 4 }) pat:update_frame(661,0,7, { tex_index = 830 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(520,0,5).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 6 }) pat:update_frame(661,0,7,function(frame) frame.hurtbox[1].y2 = frame.hurtbox[1].y2 - 20 frame.hurtbox[4].y2 = frame.hurtbox[4].y2 - 20 end) pat:update_frame(661,0,8, { tex_index = 831 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(520,0,7).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 4 }) pat:update_frame(661,0,8,function(frame) frame.hurtbox[1].y2 = frame.hurtbox[1].y2 - 20 frame.hurtbox[4].y2 = frame.hurtbox[4].y2 - 20 end) pat:update_frame(661,0,9, { tex_index = 832, tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(520,0,8).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 4 }) pat:update_frame(661,0,9,function(frame) frame.hurtbox[1].y2 = frame.hurtbox[1].y2 - 20 frame.hurtbox[4].y2 = frame.hurtbox[4].y2 - 20 end) pat:update_frame(661,1,0, { tex_index = 833 , 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(9,0,0).collision , duration = 7 }) pat:update_frame(661,1,1, { tex_index = 833 , 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(9,0,0).collision , duration = 7 }) pat:update_frame(661,2,0, { tex_index = 833 , 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(9,0,0).collision , duration = 7 }) pat:update_frame(661,2,1, { tex_index = 55 , 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(9,0,0).collision , duration = 1 }) pat:update_frame(661,2,2, { tex_index = 55 , 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(9,0,0).collision , duration = 1 }) pat:update_frame(661,2,3, { tex_index = 55 , 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(9,0,0).collision , duration = 3 }) pat:split_frame(661,3,0,1,1) pat:update_frame(661,3,0, { tex_index = 523 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 6 , hurtbox = pat:get_frame(6,0,1).hurtbox , collision = pat:get_frame(6,0,1).collision }) pat:update_frame(661,3,1, { tex_index = 522 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(6,0,1).hurtbox , collision = pat:get_frame(6,0,1).collision }) pat:update_frame(661,3,2, { tex_index = 521 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(6,0,0).hurtbox , collision = pat:get_frame(6,0,0).collision }) pat:update_frame(861,4,0,function(frame) frame.tex_index = 305 end) pat:update_frame(861,5,0,function(frame) frame.tex_index = 305 end) pat:get_sequence(861,0):set_looped(false) pat:update_frame(861,0,0,function(frame) frame.tex_w = 0 frame.duration = 1 end) pat:update_frame(861,1,0,function(frame) frame.tex_w = 0 frame.duration = 1 end) pat:remove_frame(861,1,1) pat:remove_frame(861,0,1) for idx = 0 , 12 do pat:update_frame(861,3,idx,function(frame) frame.tex_w = 0 frame.attackbox = pat:get_frame(0,0,0).attackbox end) end --[[ for idx = 0 , 12 do pat:update_frame(861,3,idx,function(frame) frame.tex_w = 0 frame.attackbox = pat:get_frame(0,0,0).attackbox end) end]]-- for idx = 13 , 59 do pat:split_frame(861,2,0,1,1) end for idx = 0 , 59 do pat:update_frame(861,2,idx,function(frame) frame.tex_index = 367 frame.tex_w = 64 frame.tex_h = 320 frame.tex_offset_x = 32 frame.tex_offset_y = 320 frame.blending_mode = 0 frame.angle_x = 0 frame.angle_y = 0 frame.angle_z = 0 frame.scale_x = 200 frame.scale_y = 200 frame.color_r = 255 frame.color_g = 255 frame.color_b = 255 frame.duration = 1 local scalemod = 100/frame.scale_x local scalemody = 100/frame.scale_y -- -6 local ymod = 650 -18*idx local xmod = 0 if (idx > 19) then ymod = 650 -18*19 + (idx-19)*4 end frame.attackbox = pat:get_frame(0,0,0).hurtbox frame.attackbox[1].x1 = -20 frame.attackbox[1].x2 = 20 frame.attackbox[1].y1 = -650 frame.attackbox[1].y2 = 0 frame.tex_offset_y = frame.tex_offset_y - (ymod)*scalemody frame.attackbox[1].y1 = frame.attackbox[1].y1 + (ymod) frame.attackbox[1].y2 = frame.attackbox[1].y2 + (ymod) frame.tex_offset_x = frame.tex_offset_x - (xmod)*scalemod frame.attackbox[1].x1 = frame.attackbox[1].x1 + (xmod) frame.attackbox[1].x2 = frame.attackbox[1].x2 + (xmod) if (idx > 29) then frame.attackbox = pat:get_frame(0,0,0).attackbox end if (idx > 50) then local alpha = 59-idx frame.color_r = alpha*25 frame.color_g = alpha*25 frame.color_b = alpha*25 end frame.damage = 350 frame.chip_damage = 35 frame.sp_damage = 20 frame.limit = 4 frame.hitstop_enemy = 5 frame.launch_vector_x = 1500 end) end end function mods.s3sc_synth(pat) local baseX = 128 local baseY = 256 local baseW = 128 local baseH = 160 for idx = 10 , 11 do pat:remove_frame(610,0,10) end pat:remove_frame(610,1,2) pat:update_frame(610,0,0, { tex_index = 608 , tex_w = baseW , tex_h = baseH , tex_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(610,0,1, { tex_index = 609 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(580,0,1).hurtbox, collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(610,0,2, { tex_index = 610 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(580,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(610,0,3, { tex_index = 736 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(580,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(610,0,4, { tex_index = 736 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(580,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(610,0,5, { tex_index = 737 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(580,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(610,0,6, { tex_index = 737 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(580,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(610,0,7, { tex_index = 736 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(580,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(610,0,8, { tex_index = 736 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(580,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(610,0,9, { tex_index = 737 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(580,0,3).hurtbox , fflags = 0x00000001 , collision = pat:get_frame(0,0,0).collision , duration = 6 }) pat:update_frame(610,1,0, { tex_index = 736 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(580,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 6 }) pat:update_frame(610,1,1, { tex_index = 737 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(580,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 6 }) pat:update_frame(610,2,0, { tex_index = 737 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(580,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 40 }) pat:update_frame(610,2,1, { tex_index = 738 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(580,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 6 }) pat:update_frame(610,2,2, { tex_index = 739 , tex_w = baseW , tex_h = baseH , tex_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(610,2,3, { tex_index = 740 , tex_w = baseW , tex_h = baseH , tex_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:get_sequence(860,0):set_priority(30,0) for idx = 1 , 62 do pat:split_frame(860,0,0,1,1) end pat:update_frame(860,0,0,{duration = 300 , scale_x = 150}) for idx = 1 , 62 do pat:update_frame(860,0,idx,function(frame) frame.attackbox = pat:get_frame(0,0,0).attackbox frame.tex_index = 639 frame.tex_w = 64 frame.tex_h = 64 frame.tex_offset_x = 32 frame.tex_offset_y = 32 if (idx%8<2) then frame.scale_x = frame.scale_x * 1.5 frame.scale_y = frame.scale_y * 1.5 end frame.scale_x = 10 local ymod = 0 local xmod = 0 local scalemodx = 100/frame.scale_x local scalemody = 100/frame.scale_y if (idx > 1) then local ymod = 0 local xmod = 0 frame.tex_index = 649 + idx%14 frame.tex_w = 128 frame.tex_h = 32 frame.tex_offset_x = 64 frame.tex_offset_y = 16 frame.scale_x = 400 if (idx > 1) then frame.scale_x = 200 - idx*3 end frame.scale_y = 8000 frame.scale_x = 3*frame.scale_x xmod = 0 xmod = 0 local scalemodx = 100/frame.scale_x local scalemody = 100/frame.scale_y frame.attackbox = pat:get_frame(0,0,0).hurtbox if (idx<6) then frame.attackbox[1].x1 = -50*1000/200 frame.attackbox[1].x2 = 50*1000/200 else frame.attackbox[1].x1 = -50*frame.scale_x/200 frame.attackbox[1].x2 = 50*frame.scale_x/200 end frame.attackbox[1].y1 = -2000 frame.attackbox[1].y2 = 2000 frame.tex_offset_y = frame.tex_offset_y - (ymod)*scalemody frame.attackbox[1].y1 = frame.attackbox[1].y1 + (ymod) frame.attackbox[1].y2 = frame.attackbox[1].y2 + (ymod) frame.tex_offset_x = frame.tex_offset_x - (xmod)*scalemodx frame.attackbox[1].x1 = frame.attackbox[1].x1 + (xmod) frame.attackbox[1].x2 = frame.attackbox[1].x2 + (xmod) frame.hurtbox = pat:get_frame(0,0,0).attackbox frame.hitstop_enemy = 10 frame.hitstop_self = 4 frame.blockstop_enemy = 10 frame.blockstop_self = 4 frame.duration = 1 if (idx >= 62) then frame.attackbox = pat:get_frame(0,0,0).attackbox frame.tex_w = 0 frame.duration = 600 end frame.fflags = pat:get_frame(801,6,0).fflags frame.aflags = pat:get_frame(801,6,0).aflags unset_aflag(frame,AF_SKILL_ATTACK) set_aflag(frame,AF_SPELL_ATTACK) frame.damage = 600 frame.chip_damage = 60 frame.sp_damage = 50 frame.limit = 5 frame.untech = 120 frame.proration = 900 frame.combo_correction = CC_LIFT_ATTACK frame.hit_ani_ground = 71 frame.hit_ani_air = 71 frame.card_gain_hit = 0 frame.card_gain_block = 0 frame.unknown_9 = 100 frame.launch_vector_x = pat:get_frame(826,0,40).launch_vector_x frame.launch_vector_y = pat:get_frame(826,0,40).launch_vector_y frame.hit_sfx = pat:get_frame(826,0,40).hit_sfx frame.hit_effect = pat:get_frame(826,0,40).hit_effect frame.combo_correction = CC_SMASH_ATTACK frame.attack_level = AL_SUPERHEAVY end end) end for idx = 1 , 149 do pat:split_frame(860,0,0,2,2) end for idx = 0 , 149 do pat:update_frame(860,0,idx,function(frame) frame.scale_x = 150 - idx end) end end function mods.s4sc_megalopolis(pat) local baseX = 128 local baseY = 256 local baseW = 128 local baseH = 160 pat:split_frame(612,0,19,1,1) pat:split_frame(612,0,19,1,1) pat:split_frame(612,0,19,1,1) pat:split_frame(612,0,19,1,1) pat:split_frame(612,0,19,1,1) pat:split_frame(612,0,19,1,1) pat:split_frame(612,0,19,1,1) pat:split_frame(612,0,19,1,1) pat:update_frame(612,0,0, { tex_index = 608 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , fflags = 0x00007001 , collision = pat:get_frame(0,0,0).collision , duration = 2 }) pat:update_frame(612,0,1, { tex_index = 608 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , fflags = 0x00007001 , collision = pat:get_frame(0,0,0).collision , duration = 1 }) pat:update_frame(612,0,2, { tex_index = 608 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , fflags = 0x00007001 , collision = pat:get_frame(0,0,0).collision , duration = 1 }) pat:update_frame(612,0,3, { tex_index = 608 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , fflags = 0x00007001 , collision = pat:get_frame(0,0,0).collision , duration = 1 }) pat:update_frame(612,0,4, { tex_index = 609 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(580,0,1).hurtbox , fflags = 0x00007001 , collision = pat:get_frame(0,0,0).collision , duration = 38 }) pat:update_frame(612,0,5, { tex_index = 609 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(580,0,1).hurtbox , fflags = 0x00007001 , collision = pat:get_frame(0,0,0).collision , duration = 2 }) pat:update_frame(612,0,6, { tex_index = 610 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(580,0,1).hurtbox , fflags = 0x00007001 , collision = pat:get_frame(0,0,0).collision , duration = 6 }) pat:update_frame(612,0,7, { tex_index = 736 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(580,0,3).hurtbox , fflags = 0x00007001 , collision = pat:get_frame(0,0,0).collision , duration = 6 }) pat:update_frame(612,0,8, { tex_index = 737 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(580,0,3).hurtbox , fflags = 0x00007001 , collision = pat:get_frame(0,0,0).collision , duration = 6 }) pat:update_frame(612,0,9, { tex_index = 736 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(580,0,3).hurtbox , fflags = 0x00007001 , collision = pat:get_frame(0,0,0).collision , duration = 6 }) pat:update_frame(612,0,10, { tex_index = 737 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(580,0,3).hurtbox , fflags = 0x00007001 , collision = pat:get_frame(0,0,0).collision , duration = 6 }) pat:update_frame(612,0,11, { tex_index = 736 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(580,0,3).hurtbox , fflags = 0x00007001 , collision = pat:get_frame(0,0,0).collision , duration = 6 }) pat:update_frame(612,0,12, { tex_index = 737 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(580,0,3).hurtbox , fflags = 0x00007001 , collision = pat:get_frame(0,0,0).collision , duration = 6 }) pat:update_frame(612,0,13, { tex_index = 736 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(580,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 6 }) pat:update_frame(612,0,14, { tex_index = 737 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(580,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 6 }) pat:update_frame(612,0,15, { tex_index = 736 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(580,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 6 }) pat:update_frame(612,0,16, { tex_index = 737 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(580,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 6 }) pat:update_frame(612,0,17, { tex_index = 736 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(580,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 6 }) pat:update_frame(612,0,18, { tex_index = 737 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(580,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 6 }) pat:update_frame(612,0,19, { tex_index = 736 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(580,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 6 }) pat:update_frame(612,0,20, { tex_index = 737 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(580,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 6 }) pat:update_frame(612,0,21, { tex_index = 736 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(580,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 6 }) pat:update_frame(612,0,22, { tex_index = 737 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(580,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 6 }) pat:update_frame(612,0,23, { tex_index = 736 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(580,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 6 }) pat:update_frame(612,0,24, { tex_index = 737 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(580,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 25 }) pat:update_frame(612,0,25, { tex_index = 738 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(580,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 6 }) pat:update_frame(612,0,26, { tex_index = 739 , tex_w = baseW , tex_h = baseH , tex_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(612,0,27, { tex_index = 740 , tex_w = baseW , tex_h = baseH , tex_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:remove_frame(612,0,18) pat:remove_frame(612,0,18) pat:remove_frame(612,0,18) pat:remove_frame(612,0,18) for idx = 0 , 1 do pat:update_frame(862,0,idx,function(frame) frame.tex_index = 419 frame.tex_w = 128 frame.tex_h = 224 frame.tex_offset_x = 64 frame.tex_offset_y = 224 unset_aflag(frame,AF_PROJECTILE) frame.scale_x = 200 frame.scale_y = 200 frame.launch_vector_x = -500 frame.damage = 1200 frame.limit = 10 frame.chip_damage = 300 frame.proration = 850 if(idx==1) then frame.attackbox = pat:get_frame(0,0,0).hurtbox end frame.attackbox[1].x1 = frame.attackbox[1].x1 - 50 frame.attackbox[1].x2 = frame.attackbox[1].x2 - 50 frame.attackbox[1].y1 = frame.attackbox[1].y1 +60 frame.attackbox[1].y2 = frame.attackbox[1].y2 +120 frame.attackbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.attackbox[2].x1 = frame.attackbox[1].x1 + 50 frame.attackbox[2].x2 = frame.attackbox[1].x2 + 50 frame.attackbox[2].y1 = frame.attackbox[1].y1 +60 frame.attackbox[2].y2 = frame.attackbox[1].y2 +120 local ymod = 0 local xmod = -200 local scalemodx = 100/frame.scale_x local scalemody = 100/frame.scale_y frame.tex_offset_y = frame.tex_offset_y - (ymod)*scalemody frame.attackbox[1].y1 = frame.attackbox[1].y1 + (ymod) frame.attackbox[1].y2 = frame.attackbox[1].y2 + (ymod) frame.attackbox[2].y1 = frame.attackbox[2].y1 + (ymod) frame.attackbox[2].y2 = frame.attackbox[2].y2 + (ymod) frame.tex_offset_x = frame.tex_offset_x - (xmod)*scalemodx frame.attackbox[1].x1 = frame.attackbox[1].x1 + (xmod) frame.attackbox[1].x2 = frame.attackbox[1].x2 + (xmod) frame.attackbox[2].x1 = frame.attackbox[2].x1 + (xmod) frame.attackbox[2].x2 = frame.attackbox[2].x2 + (xmod) if (idx == 1) then frame.attackbox = pat:get_frame(0,0,0).attackbox frame.hurtbox = pat:get_frame(862,0,0).attackbox end end) end end function mods.s4sc_selene(pat) local baseX = 128 local baseY = 256 local baseW = 128 local baseH = 160 for idx = 3 , 7 do pat:split_frame(604,3,0,1,1) end pat:split_frame(604,0,2,1,1) pat:split_frame(604,0,2,1,1) pat:update_frame(604,0,0, { tex_index = 6 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(302,0,0).hurtbox , fflags = 0x00000041 , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(604,0,1, { tex_index = 7 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(302,0,1).hurtbox , fflags = 0x00000041 , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(604,0,2, { tex_index = 56 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 40 }) pat:update_frame(604,0,3, { tex_index = 7 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(302,0,1).hurtbox , fflags = 0x00000041 , collision = pat:get_frame(0,0,0).collision , duration = 2 }) pat:update_frame(604,0,4, { tex_index = 57 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(302,0,0).hurtbox , fflags = 0x00000041 , collision = pat:get_frame(0,0,0).collision , duration = 2 }) pat:update_frame(604,1,0, { tex_index = 58 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(302,0,6).hurtbox , fflags = 0x00000041 , collision = pat:get_frame(0,0,0).collision , duration = 1 }) pat:update_frame(604,2,0, { tex_index = 58 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(302,0,6).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 1 }) pat:update_frame(604,3,0, { tex_index = 59 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(302,0,7).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) --active pat:update_frame(604,3,1, { tex_index = 60 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(302,0,8).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) pat:update_frame(604,3,2, { tex_index = 61 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(302,0,9).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) pat:update_frame(604,3,3, { tex_index = 62 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(302,0,10).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) pat:update_frame(604,3,4, { tex_index = 63 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(302,0,11).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) pat:update_frame(604,3,5, { tex_index = 64 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 15 }) pat:update_frame(604,3,6, { tex_index = 65 , tex_w = baseW , tex_h = baseH , tex_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(604,3,7, { tex_index = 66 , tex_w = baseW , tex_h = baseH , tex_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(604,1):set_looped(false) pat:remove_frame(604,1,2) pat:remove_frame(604,1,1) pat:get_sequence(604,2):set_looped(false) pat:remove_frame(604,2,2) pat:remove_frame(604,2,1) for idx = 2 , 30 do pat:split_frame(854,8,0,1,1) end for idx = 0 , 30 do pat:update_frame(854,8,idx,function(frame) frame.tex_index = 373 + (idx/2) frame.tex_w = 256 frame.tex_h = 256 frame.tex_offset_x = 128 frame.tex_offset_y = 256 frame.scale_x = 65 frame.scale_y = 65 frame.angle_z = -2*idx frame.duration = 1 if (idx == 30) then frame.tex_w = 0 end frame.fflags = pat:get_frame(812,0,7).fflags frame.aflags = pat:get_frame(812,0,7).aflags set_aflag(frame,AF_SPELL_ATTACK) frame.hit_effect = pat:get_frame(812,0,7).hit_effect frame.hit_sfx = pat:get_frame(812,0,7).hit_sfx frame.damage = pat:get_frame(812,0,7).damage frame.proration = pat:get_frame(812,0,7).proration frame.chip_damage = pat:get_frame(812,0,7).chip_damage frame.sp_damage = pat:get_frame(812,0,7).sp_damage frame.limit = pat:get_frame(812,0,7).limit frame.hit_ani_air = pat:get_frame(812,0,7).hit_ani_air frame.hit_ani_ground = pat:get_frame(812,0,7).hit_ani_ground frame.launch_vector_x = pat:get_frame(812,0,7).launch_vector_x frame.launch_vector_y = pat:get_frame(812,0,7).launch_vector_y frame.hitstop_enemy = pat:get_frame(812,0,7).hitstop_enemy frame.blockstop_enemy = pat:get_frame(812,0,7).blockstop_enemy frame.attack_level = pat:get_frame(812,0,7).attack_level frame.combo_correction = pat:get_frame(812,0,7).combo_correction frame.card_gain_hit = 0 frame.card_gain_block = 0 frame.damage = 800 frame.chip_damage = 200 frame.sp_damage = 200 frame.limit = 40 frame.proration = 800 frame.attackbox = pat:get_frame(0,0,0).hurtbox frame.attackbox[1].x1 = -220 -idx*11 frame.attackbox[1].x2 = 220 +idx*11 frame.attackbox[1].y1 = -32 -idx*1.6 frame.attackbox[1].y2 = 32 +idx*1.6 frame.attackbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.attackbox[2].x1 = -170 -idx*8.5 frame.attackbox[2].x2 = 170 +idx*8.5 frame.attackbox[2].y1 = -48 -idx*2.4 frame.attackbox[2].y2 = 48 +idx*2.4 frame.attackbox[1].y1 = frame.attackbox[1].y1 -85 frame.attackbox[1].y2 = frame.attackbox[1].y2 -85 frame.attackbox[2].y1 = frame.attackbox[2].y1 -85 frame.attackbox[2].y2 = frame.attackbox[2].y2 -85 if (idx < 3) then frame.attackbox = pat:get_frame(0,0,0).attackbox end if (idx > 18) then frame.attackbox = pat:get_frame(0,0,0).attackbox end end) end for idx = 1 , 30 do pat:split_frame(854,9,0,1,1) end for idx = 0 , 30 do pat:update_frame(854,9,idx,function(frame) frame.tex_index = 373 + (idx/2) frame.tex_w = 256 frame.tex_h = 256 frame.tex_offset_x = 128 frame.tex_offset_y = 128-8*idx frame.scale_x = 80 frame.scale_y = 80 frame.angle_z = 2*idx frame.duration = 1 if (idx == 30) then frame.tex_w = 0 end end) end pat:get_sequence(854,4):set_looped(false) for idx = 1 , 14 do pat:remove_frame(854,4,1) end pat:update_frame(854,4,0,function(frame) frame.tex_w = 0 frame.attackbox = pat:get_frame(0,0,0).hurtbox frame.attackbox[1].x1 = -320 frame.attackbox[1].x2 = 20 frame.attackbox[1].y1 = -140 +20 frame.attackbox[1].y2 = 0 frame.hit_effect = pat:get_frame(854,8,0).hit_effect frame.hit_sfx = pat:get_frame(854,8,0).hit_sfx frame.damage = pat:get_frame(854,8,0).damage frame.proration = pat:get_frame(854,8,0).proration frame.chip_damage = pat:get_frame(854,8,0).chip_damage frame.sp_damage = pat:get_frame(854,8,0).sp_damage frame.limit = pat:get_frame(854,8,0).limit frame.hit_ani_air = pat:get_frame(854,8,0).hit_ani_air frame.hit_ani_ground = pat:get_frame(854,8,0).hit_ani_ground frame.launch_vector_x = pat:get_frame(854,8,0).launch_vector_x frame.launch_vector_y = pat:get_frame(854,8,0).launch_vector_y frame.hitstop_enemy = pat:get_frame(854,8,0).hitstop_enemy frame.blockstop_enemy = pat:get_frame(854,8,0).blockstop_enemy frame.attack_level = pat:get_frame(854,8,0).attack_level frame.combo_correction = pat:get_frame(854,8,0).combo_correction frame.card_gain_hit = pat:get_frame(854,8,0).card_gain_hit frame.card_gain_block = pat:get_frame(854,8,0).card_gain_block frame.fflags = pat:get_frame(854,8,0).fflags frame.aflags = pat:get_frame(854,8,0).aflags frame.duration = 2 end) pat:update_frame(854,5,0,function(frame) frame.tex_w = 0--[[ frame.attackbox = pat:get_frame(0,0,0).hurtbox frame.attackbox[1].x1 = -170 frame.attackbox[1].x2 = 170 frame.attackbox[1].y1 = -140 frame.attackbox[1].y2 = 0]]-- frame.hit_effect = pat:get_frame(854,8,0).hit_effect frame.hit_sfx = pat:get_frame(854,8,0).hit_sfx frame.damage = pat:get_frame(854,8,0).damage frame.proration = pat:get_frame(854,8,0).proration frame.chip_damage = pat:get_frame(854,8,0).chip_damage frame.sp_damage = pat:get_frame(854,8,0).sp_damage frame.limit = pat:get_frame(854,8,0).limit frame.hit_ani_air = pat:get_frame(854,8,0).hit_ani_air frame.hit_ani_ground = pat:get_frame(854,8,0).hit_ani_ground frame.launch_vector_x = pat:get_frame(854,8,0).launch_vector_x frame.launch_vector_y = pat:get_frame(854,8,0).launch_vector_y frame.hitstop_enemy = pat:get_frame(854,8,0).hitstop_enemy frame.blockstop_enemy = pat:get_frame(854,8,0).blockstop_enemy frame.attack_level = pat:get_frame(854,8,0).attack_level frame.combo_correction = pat:get_frame(854,8,0).combo_correction frame.card_gain_hit = pat:get_frame(854,8,0).card_gain_hit frame.card_gain_block = pat:get_frame(854,8,0).card_gain_block frame.fflags = pat:get_frame(854,8,0).fflags frame.aflags = pat:get_frame(854,8,0).aflags frame.duration = 1 end) pat:remove_frame(854,5,1) pat:update_frame(854,6,0,{tex_w = 0}) pat:update_frame(854,6,1,{tex_w = 0}) pat:update_frame(854,7,0,{tex_w = 0}) pat:update_frame(854,7,1,{tex_w = 0}) end function mods.s5sc_royalflare(pat) local baseX = 128 local baseY = 256 local baseW = 128 local baseH = 160 for idx = 8 , 19 do pat:update_frame(603,0,idx,function(frame) frame.fflags = 0x00000001 frame.hurtbox = pat:get_frame(0,0,0).hurtbox end) end pat:update_frame(603,0,0, { tex_index = 608 , 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(603,0,1, { tex_index = 608 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 2 }) pat:update_frame(603,0,2, { tex_index = 609 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(580,0,1).hurtbox , duration = 10 }) pat:update_frame(603,0,3, { tex_index = 609 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(580,0,1).hurtbox , duration = 2 }) pat:update_frame(603,0,4, { tex_index = 610 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(580,0,2).hurtbox , duration = 2 }) pat:update_frame(603,0,5, { tex_index = 610 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(580,0,2).hurtbox , duration = 2 }) --[[ pat:update_frame(603,0,6, { tex_index = 612 , 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(603,0,7, { tex_index = 613 , 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(603,0,8, { tex_index = 614 , 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(603,0,9, { tex_index = 612 , 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(603,0,10, { tex_index = 613 , 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(603,0,11, { tex_index = 614 , 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(603,0,12, { tex_index = 612 , 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(603,0,13, { tex_index = 613 , 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(603,0,14, { tex_index = 614 , 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(603,0,15, { tex_index = 612 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 6 }) pat:update_frame(603,0,16, { tex_index = 613 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 20 }) pat:update_frame(603,0,17, { tex_index = 611 , 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(603,0,18, { tex_index = 615 , 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(603,0,19, { tex_index = 848 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 4 }) ]]-- for idx = 20 , 37 do pat:split_frame(603,0,19,1,1) end pat:update_frame(603,0,6, { tex_index = 616 , 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(603,0,6,function(frame) frame.hurtbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[2].x1 = frame.hurtbox[1].x1 - 10 frame.hurtbox[2].x2 = frame.hurtbox[2].x1 + 40 frame.hurtbox[1].y1 = frame.hurtbox[1].y1 - 10 frame.hurtbox[2].y1 = frame.hurtbox[1].y1 - 30 frame.hurtbox[2].y2 = frame.hurtbox[2].y1 + 50 end) pat:update_frame(603,0,7, { tex_index = 617 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(603,0,6).hurtbox , duration = 4 }) pat:update_frame(603,0,8, { tex_index = 618 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(603,0,6).hurtbox , duration = 4 }) pat:update_frame(603,0,9, { tex_index = 616 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(603,0,6).hurtbox , duration = 4 }) pat:update_frame(603,0,10, { tex_index = 617 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(603,0,6).hurtbox , duration = 4 }) pat:update_frame(603,0,11, { tex_index = 618 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(603,0,6).hurtbox , duration = 4 }) pat:update_frame(603,0,12, { tex_index = 616 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(603,0,6).hurtbox , duration = 4 }) pat:update_frame(603,0,13, { tex_index = 617 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(603,0,6).hurtbox , duration = 4 }) pat:update_frame(603,0,14, { tex_index = 618 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(603,0,6).hurtbox , duration = 4 }) pat:update_frame(603,0,15, { tex_index = 616 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(603,0,6).hurtbox , duration = 4 }) pat:update_frame(603,0,16, { tex_index = 617 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(603,0,6).hurtbox , duration = 4 }) pat:update_frame(603,0,17, { tex_index = 618 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(603,0,6).hurtbox , duration = 4 }) pat:update_frame(603,0,18, { tex_index = 616 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(603,0,6).hurtbox , duration = 4 }) pat:update_frame(603,0,19, { tex_index = 617 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(603,0,6).hurtbox , duration = 4 }) pat:update_frame(603,0,20, { tex_index = 618 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(603,0,6).hurtbox , duration = 4 }) pat:update_frame(603,0,21, { tex_index = 616 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(603,0,6).hurtbox , duration = 4 }) pat:update_frame(603,0,22, { tex_index = 617 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(603,0,6).hurtbox , duration = 4 }) pat:update_frame(603,0,23, { tex_index = 618 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(603,0,6).hurtbox , duration = 4 }) pat:update_frame(603,0,24, { tex_index = 616 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(603,0,6).hurtbox , duration = 4 }) pat:update_frame(603,0,25, { tex_index = 617 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(603,0,6).hurtbox , duration = 4 }) pat:update_frame(603,0,26, { tex_index = 618 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(603,0,6).hurtbox , duration = 4 }) pat:update_frame(603,0,27, { tex_index = 616 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(603,0,6).hurtbox , duration = 4 }) pat:update_frame(603,0,28, { tex_index = 617 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(603,0,6).hurtbox , duration = 4 }) pat:update_frame(603,0,29, { tex_index = 618 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(603,0,6).hurtbox , duration = 4 }) pat:update_frame(603,0,30, { tex_index = 616 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(603,0,6).hurtbox , duration = 4 }) pat:update_frame(603,0,31, { tex_index = 617 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(603,0,6).hurtbox , duration = 4 }) pat:update_frame(603,0,32, { tex_index = 618 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(603,0,6).hurtbox , duration = 4 }) pat:update_frame(603,0,33, { tex_index = 616 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(603,0,6).hurtbox , duration = 4 }) pat:update_frame(603,0,34, { tex_index = 617 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(603,0,6).hurtbox , duration = 4 }) pat:update_frame(603,0,35, { tex_index = 618 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(603,0,6).hurtbox , duration = 4 }) pat:update_frame(603,0,36, { tex_index = 616 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(603,0,6).hurtbox , duration = 4 }) pat:update_frame(603,0,37, { tex_index = 617 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(603,0,6).hurtbox , duration = 4 }) for idx = 8 , 17 do pat:update_frame(603,0,idx,function(frame) frame.fflags = 0x00007001 frame.hurtbox = pat:get_frame(0,0,0).attackbox end) end for idx = 0 , 2 do pat:update_frame(603,1,idx,function(frame) frame.fflags = 0x00000001 frame.hurtbox = pat:get_frame(0,0,0).hurtbox end) end pat:get_sequence(603,1):set_looped(false) pat:get_sequence(603,2):set_looped(false) for idx = 9 , 13 do pat:split_frame(603,3,8,1,1) end pat:update_frame(603,3,0,{duration = 1}) pat:update_frame(603,1,0,{duration = 1}) pat:update_frame(603,2,0,{duration = 1}) pat:remove_frame(603,1,2) pat:remove_frame(603,2,2) pat:remove_frame(603,1,1) pat:remove_frame(603,2,1) pat:update_frame(603,1,0, { tex_index = 619 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 1 }) pat:update_frame(603,1,0,function(frame) frame.hurtbox[1].y1 = frame.hurtbox[1].y1 - 10 end) pat:update_frame(603,2,0, { tex_index = 619 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(603,1,0).hurtbox , duration = 1 }) pat:update_frame(603,3,0, { tex_index = 620 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(603,1,0).hurtbox , duration = 2 }) pat:update_frame(603,3,1, { tex_index = 621 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(603,1,0).hurtbox , duration = 4 }) pat:update_frame(603,3,2, { tex_index = 622 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(603,1,0).hurtbox , duration = 4 }) pat:update_frame(603,3,3, { tex_index = 620 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(603,1,0).hurtbox , duration = 4 }) pat:update_frame(603,3,4, { tex_index = 621 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(603,1,0).hurtbox , duration = 4 }) pat:update_frame(603,3,5, { tex_index = 622 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(603,1,0).hurtbox , duration = 4 }) pat:update_frame(603,3,6, { tex_index = 620 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(603,1,0).hurtbox , duration = 4 }) pat:update_frame(603,3,7, { tex_index = 621 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(603,1,0).hurtbox , duration = 4 }) pat:update_frame(603,3,8, { tex_index = 622 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(603,1,0).hurtbox , duration = 4 }) pat:update_frame(603,3,9, { tex_index = 620 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(603,1,0).hurtbox , duration = 4 }) pat:update_frame(603,3,10, { tex_index = 621 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(603,1,0).hurtbox , duration = 6 }) pat:update_frame(603,3,11, { tex_index = 622 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(603,1,0).hurtbox , duration = 20 }) pat:update_frame(603,3,12, { tex_index = 623 , 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(603,3,13, { 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 , duration = 4 }) pat:get_sequence(853,1):set_looped(false) pat:remove_frame(853,1,1) pat:update_frame(853,1,0,{duration=1}) for idx = 1 , 8 do pat:remove_frame(853,0,1) end for idx = 1 , 120 do pat:split_frame(853,0,0,1,1) end for idx = 0 , 89 do pat:update_frame(853,0,idx,function(frame) frame.tex_index = 130 frame.tex_w = 128 frame.tex_h = 128 frame.tex_offset_x = 64 frame.tex_offset_y = 64 frame.scale_x = 8000 frame.scale_y = 8000 frame.color_r = 1.5*idx frame.color_g = 1.5*idx frame.color_b = 1.5*idx end) end for idx = 0 , 30 do pat:update_frame(853,0,90+idx,function(frame) frame.tex_index = 130 frame.tex_w = 128 frame.tex_h = 128 frame.tex_offset_x = 64 frame.tex_offset_y = 64 frame.scale_x = 8000 frame.scale_y = 8000 frame.color_r = 120-4*idx frame.color_g = 120-4*idx frame.color_b = 120-4*idx end) end pat:update_frame(853,2,0,{tex_w = 0}) pat:update_frame(853,3,0,{tex_w = 0}) pat:update_frame(853,4,0,{tex_w = 0}) pat:update_frame(853,4,1,{tex_w = 0}) pat:update_frame(853,5,0,{tex_w = 0}) pat:update_frame(853,6,0,{tex_w = 0 , duration = 1}) pat:update_frame(853,6,1,{tex_w = 0 , duration = 1}) pat:update_frame(853,7,0,{tex_w = 0}) pat:update_frame(853,7,1,{tex_w = 0}) pat:get_sequence(853,6):set_looped(false) pat:update_frame(853,2,0,function (frame) frame.tex_index = 96 frame.tex_w = 1024 frame.tex_h = 128 frame.tex_offset_x = 512 frame.tex_offset_y = 64 frame.blending_mode = 1 frame.angle_x = 0 frame.angle_y = 0 frame.angle_z = 0 frame.scale_x = 200 frame.scale_y = 400 frame.attackbox = pat:get_frame(0,0,0).hurtbox frame.attackbox[1].x1 = -2000 frame.attackbox[1].x2 = 2000 frame.attackbox[1].y1 = -110 frame.attackbox[1].y2 = 110 frame.damage = 800 frame.limit = 20 frame.proration = 850 frame.attack_level = AL_HEAVY frame.blockstop_self = 10 frame.hitstop_self = 10 frame.blockstop_enemy = 10 frame.hitstop_enemy = 10 frame.sp_damage = 150 frame.untech = 60 unset_aflag(frame,AF_COUNTER_HIT) frame.hit_sfx = 9 frame.hit_effect = 7 frame.hit_ani_air = 88 frame.hit_ani_ground = 88 frame.launch_vector_x = 1800 frame.launch_vector_y = -3500 frame.unknown_9 = 100 frame.duration = 200 frame.damage = 4000 frame.chip_damage = 1000 frame.sp_damage = 9999 frame.untech = 9999 set_aflag(frame,AF_GROUND_UNBLOCKABLE) unset_aflag(frame,AF_AIR_BLOCKABLE) unset_aflag(frame,AF_HIGHBLOCK_OK) unset_aflag(frame,AF_LOWBLOCK_OK) unset_aflag(frame,AF_COUNTER_HIT) set_aflag(frame,AF_ATTACK_HIGH) set_aflag(frame,AF_PROJECTILE) set_aflag(frame,AF_UNGRAZABLE) set_aflag(frame,AF_SPELL_ATTACK) frame.limit = 100 frame.proration = 750 frame.launch_vector_y = -4500 frame.combo_correction = CC_SMASH_ATTACK frame.attack_level = AL_SUPERHEAVY end) for idx = 1 , 119 do pat:split_frame(853,2,0,1,1) end for idx = 0 , 119 do pat:update_frame(853,2,idx,function(frame) if ((idx/20)%2<1) then frame.tex_index = 96+idx%20 else frame.tex_index = 115-idx%20 end local scalemod = 100/frame.scale_x local scalemody = 100/frame.scale_y local ymod = -600 + idx*40 local xmod = 0 if (ymod > 200) then ymod = 200 end frame.attackbox = pat:get_frame(0,0,0).hurtbox frame.attackbox[1].x1 = -2000 frame.attackbox[1].x2 = 2000 frame.attackbox[1].y1 = -110 frame.attackbox[1].y2 = 110 frame.tex_offset_y = frame.tex_offset_y - (ymod)*scalemody frame.attackbox[1].y1 = frame.attackbox[1].y1 + (ymod) frame.attackbox[1].y2 = frame.attackbox[1].y2 + (ymod) frame.tex_offset_x = frame.tex_offset_x - (xmod)*scalemod frame.attackbox[1].x1 = frame.attackbox[1].x1 + (xmod) frame.attackbox[1].x2 = frame.attackbox[1].x2 + (xmod) if (idx > 30) then frame.attackbox = pat:get_frame(0,0,0).attackbox --18f backdash required end end) end end function mods.s5sc_philo(pat) local baseX = 128 local baseY = 256 local baseW = 128 local baseH = 160 --[[ pat:split_frame(605,0,5,1,1) pat:update_frame(605,0,0, { tex_index = 608 , tex_w = baseW , tex_h = baseH , tex_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(605,0,1, { tex_index = 608 , tex_w = baseW , tex_h = baseH , tex_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(605,0,2, { tex_index = 608 , tex_w = baseW , tex_h = baseH , tex_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(605,0,3, { tex_index = 608 , tex_w = baseW , tex_h = baseH , tex_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(605,0,4, { tex_index = 609 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(580,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 40 }) pat:update_frame(605,0,5, { tex_index = 610 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(580,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 5 }) pat:update_frame(605,0,6, { tex_index = 611 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(590,0,7).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) for idx = 3 , 7 do pat:remove_frame(605,1,3) end pat:update_frame(605,1,0, { tex_index = 612 , tex_w = baseW , tex_h = baseH , tex_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(605,1,1, { tex_index = 613 , tex_w = baseW , tex_h = baseH , tex_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(605,1,2, { tex_index = 614 , tex_w = baseW , tex_h = baseH , tex_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(605,2,0, { tex_index = 612 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(590,1,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(605,2,1, { tex_index = 613 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(590,1,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 6 }) pat:update_frame(605,2,2, { tex_index = 614 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(590,1,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 10 }) pat:update_frame(605,2,3, { tex_index = 611 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(590,2,3).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(605,2,4, { tex_index = 615 , tex_w = baseW , tex_h = baseH , tex_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(605,1,0,function(frame) --frame.attackbox = pat:get_frame(0,0,0).hurtbox end) ]]-- --pat:get_sequence(605,1):set_looped(false) for idx = 1 , 7 do pat:remove_frame(605,1,1) end for idx = 5 , 65 do pat:split_frame(605,2,4,1,1) end pat:update_frame(605,0,0, { 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 , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(605,0,1, { tex_index = 48 , tex_w = baseW , tex_h = baseH , tex_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 = 49 , tex_w = baseW , tex_h = baseH , tex_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(605,0,3, { tex_index = 49 , tex_w = baseW , tex_h = baseH , tex_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(605,0,4, { tex_index = 50 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 40 }) pat:update_frame(605,0,5, { tex_index = 50 , tex_w = baseW , tex_h = baseH , tex_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(605,1,0, { tex_index = 50 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = pat:get_frame(605,0,5).fflags , duration = 20 }) for idx = 0 , 60 do if (idx%2==0) then pat:update_frame(605,2,idx, { tex_index = 3 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(300,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = pat:get_frame(605,0,5).fflags , duration = 4 }) else pat:update_frame(605,2,idx, { tex_index = 4 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(300,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = pat:get_frame(605,0,5).fflags , duration = 4 }) end end pat:update_frame(605,2,61, { tex_index = 4 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(300,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = pat:get_frame(605,0,5).fflags , duration = 4 }) pat:update_frame(605,2,62, { tex_index = 4 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(300,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 40 }) pat:update_frame(605,2,63, { tex_index = 5 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(300,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(605,2,64, { 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 , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(605,2,65, { 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 , collision = pat:get_frame(0,0,0).collision , duration = 1 }) for idx = 0 , 4 do pat:update_frame(855,idx,0,function(frame) frame.tex_index = 670+idx frame.tex_w = 256 frame.tex_h = 256 frame.tex_offset_x = 128 frame.tex_offset_y = 128 frame.scale_x = 50 frame.scale_y = 50 end) for idxa = 1 , 9 do pat:remove_frame(855,idx,1) end end for idxa = 15 , 19 do for idx = 2 , 119 do pat:split_frame(855,idxa,0,1,1) end for idx = 0 , 119 do pat:update_frame(855,idxa,idx,function(frame) frame.scale_x = 300 frame.scale_y = 150 --[[ local ymod = 0 local xmod = 0 local scalemodx = 100/frame.scale_x local scalemody = 100/frame.scale_y if (idx > 15) then xmod = .5*(idx-15)*(idx-15) xmod = 0 end frame.attackbox[1].x1 = -20 frame.attackbox[1].x2 = 20 frame.attackbox[1].y1 = -10 frame.attackbox[1].y2 = 10 frame.tex_offset_y = frame.tex_offset_y - (ymod)*scalemody frame.attackbox[1].y1 = frame.attackbox[1].y1 + (ymod) frame.attackbox[1].y2 = frame.attackbox[1].y2 + (ymod) frame.tex_offset_x = frame.tex_offset_x - (xmod)*scalemodx frame.attackbox[1].x1 = frame.attackbox[1].x1 + (xmod) frame.attackbox[1].x2 = frame.attackbox[1].x2 + (xmod) if (idx==119) then frame.duration = 200 frame.tex_w = 0 frame.attackbox = pat:get_frame(0,0,0).attackbox end]]-- frame.damage = 75 frame.hitstop_enemy = 0 frame.limit = 0 frame.chip_damage = 5 frame.sp_damage = 2 frame.proration = 990 frame.untech = 9999 frame.combo_correction = CC_LIFT_ATTACK frame.hit_ani_ground = 71 frame.hit_ani_air = 71 frame.launch_vector_x = 650 frame.launch_vector_y = 650 --set_aflag(frame,AF_DRAINS_ON_GRAZE) end) end end end function mods.s5sc_ring(pat) local baseX = 128 local baseY = 256 local baseW = 128 local baseH = 160 pat:update_frame(613,0,0, { tex_index = 608 , tex_w = baseW , tex_h = baseH , tex_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,0,1, { tex_index = 608 , tex_w = baseW , tex_h = baseH , tex_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(613,0,2, { tex_index = 608 , tex_w = baseW , tex_h = baseH , tex_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(613,0,3, { tex_index = 608 , tex_w = baseW , tex_h = baseH , tex_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(613,0,4, { tex_index = 609 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(580,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 28 }) pat:update_frame(613,0,5, { tex_index = 609 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(580,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) pat:update_frame(613,0,6, { tex_index = 610 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(580,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(613,0,7, { tex_index = 736 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(580,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 6 }) pat:update_frame(613,0,8, { tex_index = 737 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(580,0,3).hurtbox , fflags = 0x00000001 , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(613,0,9, { tex_index = 736 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(580,0,3).hurtbox , fflags = 0x00000001, collision = pat:get_frame(0,0,0).collision , duration = 6 }) pat:update_frame(613,0,10, { tex_index = 737 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(580,0,3).hurtbox , fflags = 0x00000001 , collision = pat:get_frame(0,0,0).collision , duration = 6 }) pat:update_frame(613,0,11, { tex_index = 736 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(580,0,3).hurtbox , fflags = 0x00000001 , collision = pat:get_frame(0,0,0).collision , duration = 6 }) pat:update_frame(613,0,12, { tex_index = 737 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(580,0,3).hurtbox , fflags = 0x00000001 , collision = pat:get_frame(0,0,0).collision , duration = 6 }) pat:update_frame(613,0,13, { tex_index = 736 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(580,0,3).hurtbox , fflags = 0x00000001 , collision = pat:get_frame(0,0,0).collision , duration = 6 }) pat:update_frame(613,0,14, { tex_index = 737 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(580,0,3).hurtbox , fflags = 0x00000001 , collision = pat:get_frame(0,0,0).collision , duration = 6 }) pat:update_frame(613,0,15, { tex_index = 736 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(580,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 6 }) pat:update_frame(613,0,16, { tex_index = 737 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(580,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 6 }) pat:update_frame(613,0,17, { tex_index = 736 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(580,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 6 }) pat:update_frame(613,1,0, { tex_index = 737 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(580,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 6 }) pat:update_frame(613,1,1, { tex_index = 736 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(580,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 6 }) pat:update_frame(613,2,0, { tex_index = 737 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(580,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 6 }) pat:update_frame(613,2,1, { tex_index = 736 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(580,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 6 }) pat:update_frame(613,2,2, { tex_index = 737 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(580,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 27 }) pat:update_frame(613,2,3, { tex_index = 738 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(580,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 6 }) pat:update_frame(613,2,4, { tex_index = 739 , tex_w = baseW , tex_h = baseH , tex_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(613,2,5, { tex_index = 740 , tex_w = baseW , tex_h = baseH , tex_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 }) for idx = 1 , 4 do pat:remove_frame(863,3,1) end pat:update_frame(863,3,0,{tex_w = 0}) pat:update_frame(863,0,0,function(frame) frame.tex_index = 639 frame.tex_w = 64 frame.tex_h = 64 frame.tex_offset_x = 32 frame.tex_offset_y = 32 frame.scale_x = 100 frame.scale_y = 100 end) pat:update_frame(863,0,1,function(frame) frame.tex_index = 639 frame.tex_w = 64 frame.tex_h = 64 frame.tex_offset_x = 32 frame.tex_offset_y = 32 frame.scale_x = 100 frame.scale_y = 100 end) pat:update_frame(863,4,0,function(frame) frame.tex_index = 639 frame.tex_w = 64 frame.tex_h = 64 frame.tex_offset_x = 32 frame.tex_offset_y = 32 frame.scale_x = 100 frame.scale_y = 100 end) pat:update_frame(863,4,1,function(frame) frame.tex_index = 639 frame.tex_w = 64 frame.tex_h = 64 frame.tex_offset_x = 32 frame.tex_offset_y = 32 frame.scale_x = 100 frame.scale_y = 100 end) pat:update_frame(863,2,0,function(frame) frame.tex_index = 639 frame.tex_w = 64 frame.tex_h = 64 frame.tex_offset_x = 32 frame.tex_offset_y = 32 frame.scale_x = 100 frame.scale_y = 100 end) pat:update_frame(863,2,1,function(frame) frame.tex_index = 639 frame.tex_w = 64 frame.tex_h = 64 frame.tex_offset_x = 32 frame.tex_offset_y = 32 frame.scale_x = 150 frame.scale_y = 150 end) pat:get_sequence(863,1):set_looped(false) for idx = 12 , 55 do pat:split_frame(863,1,11,1,1) end for idx = 0 , 55 do pat:update_frame(863,1,idx,function(frame) frame.tex_index = 675 + idx%14 frame.tex_w = 32 frame.tex_h = 128 frame.tex_offset_x = 16 frame.tex_offset_y = 64 frame.scale_x = 8000 frame.scale_y = 10 local ymod = 0 local xmod = 0 local scalemodx = 100/frame.scale_x local scalemody = 100/frame.scale_y --[[ frame.tex_offset_y = frame.tex_offset_y - (ymod)*scalemody frame.attackbox[1].y1 = frame.attackbox[1].y1 + (ymod) frame.attackbox[1].y2 = frame.attackbox[1].y2 + (ymod) frame.tex_offset_x = frame.tex_offset_x - (xmod)*scalemodx frame.attackbox[1].x1 = frame.attackbox[1].x1 + (xmod) frame.attackbox[1].x2 = frame.attackbox[1].x2 + (xmod)]]-- frame.attackbox[1].x1 = -2000 frame.attackbox[1].x2 = 2000 if (idx <= 19) then frame.attackbox = pat:get_frame(0,0,0).attackbox end if (idx > 19 and idx <= 24) then frame.scale_y = (idx-19)*20 frame.attackbox = pat:get_frame(0,0,0).attackbox end if (idx > 24 and idx <= 49) then frame.scale_y = 100 end if (idx > 49 and idx <= 54) then frame.scale_y = 100-20*(idx-49) frame.attackbox = pat:get_frame(0,0,0).attackbox end if (idx > 54) then frame.tex_w = 0 frame.attackbox = pat:get_frame(0,0,0).attackbox frame.duration = 1 end frame.limit = 2 frame.sp_damage = 7 frame.damage = 180 frame.chip_damage = 18 frame.blockstop_enemy = 0 end) end end return function(pat) mods.fix_frames(pat) mods.n5a(pat) mods.n5aa(pat) mods.n2a(pat) mods.n6a(pat) mods.nf5a(pat) mods.n5aaa(pat) mods.n3a(pat) mods.nj5a(pat) --mods.nj5a_1(pat) mods.nj5a_2(pat) mods.nj2a(pat) mods.nj6a(pat) --mods.nj6a_1(pat) mods.nj6a_2(pat) mods.nj8a(pat) mods.n66a(pat) mods.n66b(pat) mods.n66c(pat) mods.b5b(pat) mods.b2b(pat) mods.b4b(pat) mods.b5c(pat) mods.b6c(pat) mods.b2c(pat) mods.bj2c(pat) mods.d236(pat) mods.d214(pat) mods.d623(pat) mods.d22(pat) mods.d421(pat) mods.systems(pat) mods.a236_flame(pat) mods.a236_wipe(pat) mods.a22_bubble(pat) mods.a22_sticky(pat) mods.a214_gears(pat) mods.a214_fall(pat) mods.a623_thunder(pat) mods.a623_cannon(pat) mods.a421_emerald(pat) mods.a421_armor(pat) mods.s2sc_deluge(pat) mods.s2sc_harvest(pat) mods.s3sc_stelmo(pat) mods.s3sc_jelly(pat) mods.s3sc_satellite(pat) mods.s3sc_phlogistic(pat) mods.s3sc_synth(pat) mods.s4sc_megalopolis(pat) mods.s4sc_selene(pat) mods.s5sc_royalflare(pat) mods.s5sc_philo(pat) mods.s5sc_ring(pat) mods.nj6a_fix(pat) end