require("config.util") local mods = {} --[[ use vs 2017 for compiling? Memory Patch things: mov dword ptr [esi+00000190],00 <-- use dword for this mov dword ptr [esi+00000194],01 mov byte ptr [esi+194],01 mov word ptr [esi+194],0001 190 = 8 194 = 4... 2 actually 144 = 8? 142 = 4 140 = 4 13E = 4? 13C = 4? mov 194 0001 means mov 01 to 194 and 00 to 195 because numbers are read backwards from the higher n 00620E71 0061E056 stand? 0061E2DC walk spd 0061F109 air backdash 0061EEF5 airdash 0061EAFC grounddash apparently frame change need to wait for the end of the duration? ]]-- 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 = 515 , 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 = 516 , 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 = 517 , 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 = 518 , 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 = 519 , 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 = 520 , 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 = 521 , 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 = 7 , 8 do pat:remove_frame(0,0,7) end --sit pat:remove_frame(1,0,4) pat:remove_frame(1,0,3) pat:update_frame(1,0,0, { tex_index = 213 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(1,0,1, { tex_index = 522 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 }) pat:update_frame(1,0,2, { tex_index = 457 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 }) for idx = 1 , 7 do pat:split_frame(2,0,0,1,1) end pat:update_frame(2,0,0, { tex_index = 450 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = baseDur , hurtbox = pat:get_frame(1,0,2).hurtbox , collision = pat:get_frame(1,0,2).collision }) pat:update_frame(2,0,1, { tex_index = 451 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = baseDur , hurtbox = pat:get_frame(1,0,2).hurtbox , collision = pat:get_frame(1,0,2).collision }) pat:update_frame(2,0,2, { tex_index = 452 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = baseDur , hurtbox = pat:get_frame(1,0,2).hurtbox , collision = pat:get_frame(1,0,2).collision }) pat:update_frame(2,0,3, { tex_index = 453 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = baseDur , hurtbox = pat:get_frame(1,0,2).hurtbox , collision = pat:get_frame(1,0,2).collision }) pat:update_frame(2,0,4, { tex_index = 454 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = baseDur , hurtbox = pat:get_frame(1,0,2).hurtbox , collision = pat:get_frame(1,0,2).collision }) pat:update_frame(2,0,5, { tex_index = 455 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = baseDur , hurtbox = pat:get_frame(1,0,2).hurtbox , collision = pat:get_frame(1,0,2).collision }) pat:update_frame(2,0,6, { tex_index = 456 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = baseDur , hurtbox = pat:get_frame(1,0,2).hurtbox , collision = pat:get_frame(1,0,2).collision }) pat:update_frame(2,0,7, { tex_index = 457 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = baseDur , hurtbox = pat:get_frame(1,0,2).hurtbox , collision = pat:get_frame(1,0,2).collision }) pat:remove_frame(3,0,3) pat:update_frame(3,0,0, { tex_index = 523 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(1,0,1).hurtbox , collision = pat:get_frame(1,0,1).collision }) pat:update_frame(3,0,1, { tex_index = 213 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(3,0,2, { tex_index = 521 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) --walk pat:update_frame(4,0,0, { tex_index = 554 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = baseDur , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(4,0,1, { tex_index = 555 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = baseDur , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(4,0,2, { tex_index = 556 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = baseDur , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(4,0,3, { tex_index = 557 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = baseDur , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(4,0,4, { tex_index = 558 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = baseDur , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(4,0,5, { tex_index = 559 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = baseDur , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(4,0,6, { tex_index = 560 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = baseDur , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(4,0,7, { tex_index = 561 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = baseDur , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(5,0,0, { tex_index = 546 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX/2 , tex_offset_y = baseY/2 , duration = baseDur , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , angle_y = 0 }) pat:update_frame(5,0,1, { tex_index = 547 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX/2 , tex_offset_y = baseY/2 , duration = baseDur , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , angle_y = 0 }) pat:update_frame(5,0,2, { tex_index = 548 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX/2 , tex_offset_y = baseY/2 , duration = baseDur , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , angle_y = 0 }) pat:update_frame(5,0,3, { tex_index = 549 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX/2 , tex_offset_y = baseY/2 , duration = baseDur , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , angle_y = 0 }) pat:update_frame(5,0,4, { tex_index = 550 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX/2 , tex_offset_y = baseY/2 , duration = baseDur , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , angle_y = 0 }) pat:update_frame(5,0,5, { tex_index = 551 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX/2 , tex_offset_y = baseY/2 , duration = baseDur , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , angle_y = 0 }) pat:update_frame(5,0,6, { tex_index = 552 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX/2 , tex_offset_y = baseY/2 , duration = baseDur , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , angle_y = 0 }) pat:update_frame(5,0,7, { tex_index = 553 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX/2 , tex_offset_y = baseY/2 , duration = baseDur , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , angle_y = 0 }) --jump pat:update_frame(6,0,0, { tex_index = 213 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) 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 , hurtbox = pat:get_frame(1,0,1).hurtbox , collision = pat:get_frame(1,0,1).collision }) pat:update_frame(6,1,0, { tex_index = 266 , 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].y2 = frame.hurtbox[1].y2 + 20 end) pat:update_frame(6,1,1, { tex_index = 266 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(6,1,2, { tex_index = 267 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(6,1,3, { tex_index = 266 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(6,1,4, { tex_index = 267 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(6,1,5, { tex_index = 266 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(6,2,0, { tex_index = 283 , 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(6,3,0, { tex_index = 272 , 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(6,3,1, { tex_index = 273 , 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(6,3,2, { tex_index = 274 , 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(7,0,0, { tex_index = 213 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(7,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(1,0,1).hurtbox , collision = pat:get_frame(1,0,1).collision }) pat:split_frame(7,1,3,1,1) pat:split_frame(7,1,3,1,1) pat:update_frame(7,1,0, { tex_index = 270 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 1 , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(7,1,0,function(frame) frame.hurtbox[1].y1 = frame.hurtbox[1].y1 + 0 frame.hurtbox[1].y2 = frame.hurtbox[1].y2 + 5 frame.hurtbox[3].y1 = frame.hurtbox[3].y1 + 10 frame.hurtbox[3].y2 = frame.hurtbox[3].y2 + 10 frame.hurtbox[3].x1 = frame.hurtbox[3].x1 + 5 frame.hurtbox[3].x2 = frame.hurtbox[3].x2 + 10 end) pat:update_frame(7,1,1, { tex_index = 270 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(7,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(7,1,2, { tex_index = 271 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(7,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(7,1,3, { tex_index = 270 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(7,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(7,1,4, { tex_index = 271 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(7,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(7,1,5, { tex_index = 270 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(7,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(7,2,0, { tex_index = 284 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(7,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(7,2,0,function(frame) frame.hurtbox[1].x1 = frame.hurtbox[1].x1 - 15 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 - 10 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 + 20 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 + 10 frame.hurtbox[3].x1 = frame.hurtbox[3].x1 + 10 frame.hurtbox[3].x2 = frame.hurtbox[3].x2 + 15 frame.hurtbox[3].y2 = frame.hurtbox[3].y2 + 5 end) pat:update_frame(7,2,1, { tex_index = 284 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(7,2,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) --pat:update_frame(7,2,1, { tex_index = 283 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY -6 , duration = 3 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:remove_frame(7,3,3) pat:update_frame(7,3,0, { tex_index = 272 , 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(7,3,1, { tex_index = 273 , 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(7,3,2, { tex_index = 274 , 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(8,0,0, { tex_index = 213 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(8,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(1,0,1).hurtbox , collision = pat:get_frame(1,0,1).collision }) pat:split_frame(8,1,3,1,1) pat:split_frame(8,1,3,1,1) pat:update_frame(8,1,0, { tex_index = 268 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 1 , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(8,1,1, { tex_index = 268 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(8,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(8,1,2, { tex_index = 269 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(8,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(8,1,3, { tex_index = 268 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(8,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(8,1,4, { tex_index = 269 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(8,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(8,1,5, { tex_index = 268 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(8,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(8,2,0, { tex_index = 285 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(8,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(8,2,0,function(frame) frame.hurtbox[1].y1 = frame.hurtbox[1].y1 - 10 frame.hurtbox[3].x1 = frame.hurtbox[3].x1 - 15 frame.hurtbox[3].x2 = frame.hurtbox[3].x2 - 15 frame.hurtbox[3].y2 = frame.hurtbox[3].y2 + 5 end) pat:update_frame(8,2,1, { tex_index = 285 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(8,2,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) --pat:update_frame(8,2,1, { tex_index = 283 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY -10 , duration = 3 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(8,3,0, { tex_index = 272 , 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(8,3,1, { tex_index = 273 , 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(8,3,2, { tex_index = 274 , 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 }) --air pat:update_frame(9,0,0, { tex_index = 272 , 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(9,0,1, { tex_index = 273 , 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(9,0,2, { tex_index = 274 , 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 }) --air too pat:remove_frame(11,0,3) pat:update_frame(11,0,0, { tex_index = 272 , 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(11,0,1, { tex_index = 273 , 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(11,0,2, { tex_index = 274 , 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 }) --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 = 3 , hurtbox = pat:get_frame(1,0,1).hurtbox , collision = pat:get_frame(1,0,1).collision }) pat:update_frame(10,0,1, { tex_index = 523 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(1,0,1).hurtbox , collision = pat:get_frame(1,0,1).collision }) pat:update_frame(10,0,2, { tex_index = 213 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) --hardlanding pat:update_frame(215,0,0, { tex_index = 522 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 6 , hurtbox = pat:get_frame(1,0,1).hurtbox , collision = pat:get_frame(1,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 = 6 , hurtbox = pat:get_frame(1,0,1).hurtbox , collision = pat:get_frame(1,0,1).collision }) pat:update_frame(215,0,2, { tex_index = 213 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 6 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) --grounddash local tempX = -8 local tempX2 = -20 local tempX3 = -18 pat:update_frame(200,0,0, { tex_index = 207 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(200,0,1, { tex_index = 284 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX +tempX , tex_offset_y = baseY -8 , duration = 4 , hurtbox = pat:get_frame(7,2,0).hurtbox }) pat:update_frame(200,0,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 frame.hurtbox[idx].x1 = frame.hurtbox[idx].x1 + 10 frame.hurtbox[idx].x2 = frame.hurtbox[idx].x2 + 10 end frame.hurtbox[3].x1 = frame.hurtbox[3].x1 - 15 frame.hurtbox[3].y2 = 0 end) pat:update_frame(200,1,0, { tex_index = 208 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX +tempX2 , tex_offset_y = baseY , duration = 4 }) pat:update_frame(200,1,0,function(frame) frame.hurtbox[1].x1 = frame.hurtbox[1].x1 + 15 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 + 15 frame.hurtbox[2].x1 = frame.hurtbox[2].x1 + 15 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 + 15 frame.hurtbox[3].x1 = frame.hurtbox[3].x1 + 10 frame.hurtbox[3].x2 = frame.hurtbox[3].x2 - 20 frame.hurtbox[1].y1 = frame.hurtbox[1].y1 - 10 end) pat:update_frame(200,1,1, { tex_index = 209 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX +tempX3 , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(200,1,0).hurtbox , collision = pat:get_frame(200,1,1).collision }) pat:update_frame(200,1,1,function(frame) frame.hurtbox[1].y1 = frame.hurtbox[1].y1 + 10 end) pat:update_frame(200,1,2, { tex_index = 210 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX +tempX3 , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(200,1,1).hurtbox , collision = pat:get_frame(200,1,1).collision }) pat:update_frame(200,1,3, { tex_index = 211 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX +tempX3 , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(200,1,1).hurtbox , collision = pat:get_frame(200,1,1).collision }) for idx = 0 , 4 do pat:split_frame(200,1,3,1,1) pat:split_frame(200,1,3,1,1) pat:split_frame(200,1,3,1,1) pat:update_frame(200,1,4, { tex_index = 209 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX +tempX3 , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(200,1,1).hurtbox , collision = pat:get_frame(200,1,1).collision }) pat:update_frame(200,1,5, { tex_index = 210 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX +tempX3 , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(200,1,1).hurtbox , collision = pat:get_frame(200,1,1).collision }) pat:update_frame(200,1,6, { tex_index = 211 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX +tempX3 , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(200,1,1).hurtbox , collision = pat:get_frame(200,1,1).collision }) end pat:update_frame(200,2,0, { tex_index = 209 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX +tempX3 , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(200,1,1).hurtbox , collision = pat:get_frame(200,1,1).collision }) pat:update_frame(200,2,1, { tex_index = 210 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX +tempX3 , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(200,1,1).hurtbox , collision = pat:get_frame(200,1,1).collision }) pat:update_frame(200,2,2, { tex_index = 211 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX +tempX3 , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(200,1,1).hurtbox , collision = pat:get_frame(200,1,1).collision }) pat:update_frame(200,2,3, { tex_index = 209 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX +tempX3 , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(200,1,1).hurtbox , collision = pat:get_frame(200,1,1).collision }) pat:update_frame(200,2,4, { tex_index = 210 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX +tempX3 , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(200,1,1).hurtbox , collision = pat:get_frame(200,1,1).collision }) pat:update_frame(200,2,5, { tex_index = 211 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX +tempX3 , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(200,1,1).hurtbox , collision = pat:get_frame(200,1,1).collision }) pat:remove_frame(200,2,7) pat:remove_frame(200,2,6) --pat:update_frame(200,0,1, { tex_index = 208 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 }) pat:update_frame(204,0,0, { tex_index = 212 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(204,0,0,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[2].x1 = frame.hurtbox[2].x1 + 15 -15 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 + 15 +15 frame.hurtbox[2].y1 = frame.hurtbox[2].y2 - 50 end) pat:update_frame(204,0,1, { tex_index = 213 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:remove_frame(204,0,2) --backdash pat:update_frame(201,0,0, { tex_index = 213 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(1,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(201,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(1,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(201,0,2, { tex_index = 285 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(8,2,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(201,0,2,function(frame) frame.hurtbox[3].y2 = -10 end) pat:update_frame(201,1,0, { tex_index = 268 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(8,1,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(201,1,0,function(frame) frame.hurtbox[3].y2 = -10 end) pat:update_frame(201,1,1, { tex_index = 269 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(201,1,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(201,1,2, { tex_index = 268 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(201,1,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:remove_frame(201,2,2) pat:update_frame(201,2,0, { tex_index = 268 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(201,1,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(201,2,1, { tex_index = 269 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(201,1,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(201,3,0, { tex_index = 285 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(201,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(201,3,1, { tex_index = 522 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(1,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(201,3,2, { tex_index = 523 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(1,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) tempX = -0 tempX2 = -0 tempX3 = -0 local tempY = 0 local tempY2 = 20 local tempY3 = 8 --airdash pat:update_frame(202,0,0, { tex_index = 212 , tex_w = baseW , tex_h = baseH , tex_offset_x = (baseX) , tex_offset_y = (baseY +tempY3) , duration = 2 , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(202,0,1, { tex_index = 212 , tex_w = baseW , tex_h = baseH , tex_offset_x = (baseX) , tex_offset_y = (baseY +tempY3) , duration = 2 , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(202,0,2, { tex_index = 284 , tex_w = baseW , tex_h = baseH , tex_offset_x = (baseX +tempX) , tex_offset_y = (baseY +tempY) , duration = 2 , hurtbox = pat:get_frame(7,2,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(202,0,3, { tex_index = 208 , tex_w = baseW , tex_h = baseH , tex_offset_x = (baseX +tempX2) , tex_offset_y = (baseY +tempY2) , duration = 3 , hurtbox = pat:get_frame(200,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(202,0,3,function(frame) for idy = 1 , 3 do frame.hurtbox[idy].x1 = frame.hurtbox[idy].x1 - 20 frame.hurtbox[idy].x2 = frame.hurtbox[idy].x2 - 20 frame.hurtbox[idy].y1 = frame.hurtbox[idy].y1 - 20 frame.hurtbox[idy].y2 = frame.hurtbox[idy].y2 - 20 end frame.hurtbox[3].x1 = frame.hurtbox[3].x1 + 10 frame.hurtbox[3].y2 = frame.hurtbox[3].y2 - 15 end) pat:update_frame(202,1,0, { tex_index = 209 , tex_w = baseW , tex_h = baseH , tex_offset_x = (baseX +tempX3) , tex_offset_y = (baseY +tempY2) , duration = 3 , hurtbox = pat:get_frame(202,0,3).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(202,1,0,function(frame) frame.hurtbox[1].y1 = frame.hurtbox[1].y1 + 10 end) pat:update_frame(202,1,1, { tex_index = 210 , tex_w = baseW , tex_h = baseH , tex_offset_x = (baseX +tempX3) , tex_offset_y = (baseY +tempY2) , duration = 3 , hurtbox = pat:get_frame(202,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(202,1,2, { tex_index = 211 , tex_w = baseW , tex_h = baseH , tex_offset_x = (baseX +tempX3) , tex_offset_y = (baseY +tempY2) , duration = 3 , hurtbox = pat:get_frame(202,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:split_frame(202,2,0,1,1) pat:update_frame(202,2,0, { tex_index = 208 , tex_w = baseW , tex_h = baseH , tex_offset_x = (baseX) , tex_offset_y = (baseY +tempY2) , duration = 5 , hurtbox = pat:get_frame(202,0,3).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(202,2,1, { tex_index = 284 , tex_w = baseW , tex_h = baseH , tex_offset_x = (baseX) , tex_offset_y = (baseY +tempY) , duration = 5 , hurtbox = pat:get_frame(7,2,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(202,3,0, { tex_index = 272 , 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(202,3,1, { tex_index = 273 , 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(202,3,2, { tex_index = 274 , 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 }) --airbackdash pat:update_frame(203,0,0, { tex_index = 285 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 , hurtbox = pat:get_frame(8,2,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(203,1,0, { tex_index = 268 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(8,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(203,1,1, { tex_index = 269 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(8,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(203,1,2, { tex_index = 268 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(8,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(203,2,0, { tex_index = 285 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(8,2,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(203,2,1, { tex_index = 285 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(8,2,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(203,3,0, { tex_index = 272 , 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(203,3,1, { tex_index = 273 , 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(203,3,2, { tex_index = 274 , 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 }) --flight pat:update_frame(214,0,0, { tex_index = 212 , tex_w = baseW , tex_h = baseH , tex_offset_x = (baseX) , tex_offset_y = (baseY +tempY3) , duration = 2 , hurtbox = pat:get_frame(202,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(214,0,1, { tex_index = 212 , tex_w = baseW , tex_h = baseH , tex_offset_x = (baseX) , tex_offset_y = (baseY +tempY3) , duration = 2 , hurtbox = pat:get_frame(202,0,1).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(214,0,2, { tex_index = 284 , tex_w = baseW , tex_h = baseH , tex_offset_x = (baseX +tempX) , tex_offset_y = (baseY +tempY) , duration = 2 , hurtbox = pat:get_frame(202,0,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(214,1,0, { tex_index = 208 , tex_w = baseW , tex_h = baseH , tex_offset_x = (baseX +tempX2)/2 , tex_offset_y = (baseY +tempY2)/2 , duration = 3 , hurtbox = pat:get_frame(202,0,3).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(214,2,0, { tex_index = 209 , tex_w = baseW , tex_h = baseH , tex_offset_x = (baseX +tempX3)/2 , tex_offset_y = (baseY +tempY2)/2 , duration = 3 , hurtbox = pat:get_frame(202,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(214,2,1, { tex_index = 210 , tex_w = baseW , tex_h = baseH , tex_offset_x = (baseX +tempX3)/2 , tex_offset_y = (baseY +tempY2)/2 , duration = 3 , hurtbox = pat:get_frame(202,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(214,2,2, { tex_index = 211 , tex_w = baseW , tex_h = baseH , tex_offset_x = (baseX +tempX3)/2 , tex_offset_y = (baseY +tempY2)/2 , duration = 3 , hurtbox = pat:get_frame(202,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(214,3,0, { tex_index = 208 , tex_w = baseW , tex_h = baseH , tex_offset_x = (baseX +tempX2)/2 , tex_offset_y = (baseY +tempY2)/2 , duration = 3 , hurtbox = pat:get_frame(202,0,3).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(214,4,0, { tex_index = 209 , tex_w = baseW , tex_h = baseH , tex_offset_x = (baseX +tempX3)/2 , tex_offset_y = (baseY +tempY2)/2 , duration = 3 , hurtbox = pat:get_frame(202,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) for idx = 3 , 4 do pat:update_frame(214,idx,0,function(frame) for idx1 = 1 , 3 do local tempx1 = frame.hurtbox[idx1].x1 frame.hurtbox[idx1].x1 = frame.hurtbox[idx1].x2 * -1 frame.hurtbox[idx1].x2 = tempx1 * -1 end end) end pat:update_frame(214,4,1, { tex_index = 210 , tex_w = baseW , tex_h = baseH , tex_offset_x = (baseX +tempX3)/2 , tex_offset_y = (baseY +tempY2)/2 , duration = 3 , hurtbox = pat:get_frame(214,4,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(214,4,2, { tex_index = 211 , tex_w = baseW , tex_h = baseH , tex_offset_x = (baseX +tempX3)/2 , tex_offset_y = (baseY +tempY2)/2 , duration = 3 , hurtbox = pat:get_frame(214,4,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(214,5,0, { tex_index = 208 , tex_w = baseW , tex_h = baseH , tex_offset_x = (baseX)/2 , tex_offset_y = (baseY +tempY2)/2 , duration = 5 , hurtbox = pat:get_frame(202,0,3).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(214,5,1, { tex_index = 284 , tex_w = baseW , tex_h = baseH , tex_offset_x = (baseX) , tex_offset_y = (baseY +tempY) , duration = 5 , hurtbox = pat:get_frame(202,0,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(214,6,0, { tex_index = 208 , tex_w = baseW , tex_h = baseH , tex_offset_x = (baseX)/2 , tex_offset_y = (baseY +tempY2)/2 , duration = 5 , hurtbox = pat:get_frame(202,0,3).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(214,6,1, { tex_index = 284 , tex_w = baseW , tex_h = baseH , tex_offset_x = (baseX)/2 , tex_offset_y = (baseY +tempY)/2 , duration = 5 , hurtbox = pat:get_frame(202,0,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) for idx = 0 , 1 do pat:update_frame(214,6,idx,function(frame) for idx1 = 1 , 3 do local tempx1 = frame.hurtbox[idx1].x1 frame.hurtbox[idx1].x1 = frame.hurtbox[idx1].x2 * -1 frame.hurtbox[idx1].x2 = tempx1 * -1 end end) end --hj8 pat:update_frame(208,0,0, { tex_index = 213 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,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 = 266 , 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 = 266 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(208,1,2, { tex_index = 267 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(208,1,3, { tex_index = 266 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(208,1,4, { tex_index = 267 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(208,1,5, { tex_index = 266 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(208,2,0, { tex_index = 283 , 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(208,3,0, { tex_index = 272 , 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,3,1, { tex_index = 273 , 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,3,2, { tex_index = 274 , 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 }) --hj9 pat:update_frame(209,0,0, { tex_index = 213 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(209,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(209,1,0, { tex_index = 270 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 1 , hurtbox = pat:get_frame(7,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(209,1,1, { tex_index = 270 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(7,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(209,1,2, { tex_index = 271 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(7,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(209,1,3, { tex_index = 270 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(7,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(209,1,4, { tex_index = 271 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(7,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(209,1,5, { tex_index = 270 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(7,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(209,2,0, { tex_index = 284 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(7,2,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(209,2,1, { tex_index = 284 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(7,2,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:remove_frame(209,3,3) pat:update_frame(209,3,0, { tex_index = 272 , 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(209,3,1, { tex_index = 273 , 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(209,3,2, { tex_index = 274 , 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 }) --hj7 pat:update_frame(210,0,0, { tex_index = 213 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(210,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(210,1,0, { tex_index = 268 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 1 , hurtbox = pat:get_frame(8,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(210,1,1, { tex_index = 268 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(8,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(210,1,2, { tex_index = 269 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(8,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(210,1,3, { tex_index = 268 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(8,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(210,1,4, { tex_index = 269 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(8,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(210,1,5, { tex_index = 268 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(8,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(210,2,0, { tex_index = 285 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(8,2,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(210,2,1, { tex_index = 285 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(8,2,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(210,3,0, { tex_index = 272 , 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(210,3,1, { tex_index = 273 , 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(210,3,2, { tex_index = 274 , 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 }) --dj8 pat:update_frame(211,0,0, { tex_index = 213 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,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 = 266 , 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 = 266 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(211,1,2, { tex_index = 267 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(211,1,3, { tex_index = 266 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(211,1,4, { tex_index = 267 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(211,1,5, { tex_index = 266 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(211,2,0, { tex_index = 283 , 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(211,3,0, { tex_index = 272 , 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,3,1, { tex_index = 273 , 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,3,2, { tex_index = 274 , 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 }) --dj9 pat:update_frame(212,0,0, { tex_index = 213 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(212,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(212,1,0, { tex_index = 270 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 1 , hurtbox = pat:get_frame(7,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(212,1,1, { tex_index = 270 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(7,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(212,1,2, { tex_index = 271 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(7,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(212,1,3, { tex_index = 270 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(7,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(212,1,4, { tex_index = 271 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(7,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(212,1,5, { tex_index = 270 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(7,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(212,2,0, { tex_index = 284 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(7,2,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(212,2,1, { tex_index = 284 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(7,2,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:remove_frame(212,3,3) pat:update_frame(212,3,0, { tex_index = 272 , 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(212,3,1, { tex_index = 273 , 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(212,3,2, { tex_index = 274 , 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 }) --2DD pat:update_frame(220,0,0, { tex_index = 213 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,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 = 266 , 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 = 266 , 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(220,1,2, { tex_index = 267 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(220,1,3, { tex_index = 266 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(220,1,4, { tex_index = 267 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(220,1,5, { tex_index = 266 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(220,2,0, { tex_index = 266 , 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 = 283 , 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,3,0, { tex_index = 272 , 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(220,3,1, { tex_index = 273 , 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(220,3,2, { tex_index = 274 , 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 }) --1DD pat:update_frame(222,0,0, { tex_index = 213 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(222,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(222,1,0, { tex_index = 268 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 1 , hurtbox = pat:get_frame(8,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(222,1,1, { tex_index = 268 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(8,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(222,1,2, { tex_index = 269 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(8,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(222,1,3, { tex_index = 268 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(8,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(222,1,4, { tex_index = 269 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(8,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(222,1,5, { tex_index = 268 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(8,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(222,2,0, { tex_index = 269 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 , hurtbox = pat:get_frame(8,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(222,2,1, { tex_index = 285 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 , hurtbox = pat:get_frame(8,2,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(222,3,0, { tex_index = 272 , 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(222,3,1, { tex_index = 273 , 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(222,3,2, { tex_index = 274 , 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 }) --6DD pat:update_frame(223,0,0, { tex_index = 207 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 6 , hurtbox = pat:get_frame(200,0,0).hurtbox , collision = pat:get_frame(200,0,0).collision }) pat:update_frame(223,0,1, { tex_index = 284 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX +tempX , tex_offset_y = baseY -8 , duration = 4 , hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(200,0,1).collision }) --pat:update_frame(223,1,0, { tex_index = 208 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX +tempX2 , tex_offset_y = baseY , duration = 4 }) pat:update_frame(223,1,0, { tex_index = 209 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX +tempX3 , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(200,1,1).hurtbox , collision = pat:get_frame(200,1,1).collision }) pat:update_frame(223,1,1, { tex_index = 210 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX +tempX3 , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(200,1,1).hurtbox , collision = pat:get_frame(200,1,1).collision }) pat:update_frame(223,1,2, { tex_index = 211 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX +tempX3 , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(200,1,1).hurtbox , collision = pat:get_frame(200,1,1).collision }) --4DD pat:update_frame(224,0,0, { tex_index = 213 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 , hurtbox = pat:get_frame(1,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(224,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(1,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(224,0,2, { tex_index = 285 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(8,2,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(224,1,0, { tex_index = 268 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(201,1,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(224,1,1, { tex_index = 269 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(201,1,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(224,1,2, { tex_index = 268 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(201,1,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:remove_frame(224,2,2) pat:update_frame(224,2,1, { tex_index = 269 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(201,1,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(224,2,0, { tex_index = 268 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(201,1,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(224,3,0, { tex_index = 285 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(201,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(224,3,1, { tex_index = 522 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 6 , hurtbox = pat:get_frame(1,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(224,3,2, { tex_index = 523 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(1,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) --j6DD pat:update_frame(226,0,0, { tex_index = 212 , tex_w = baseW , tex_h = baseH , tex_offset_x = (baseX) , tex_offset_y = (baseY +tempY3) , duration = 2 , hurtbox = pat:get_frame(202,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(226,0,1, { tex_index = 212 , tex_w = baseW , tex_h = baseH , tex_offset_x = (baseX) , tex_offset_y = (baseY +tempY3) , duration = 2 , hurtbox = pat:get_frame(202,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(226,0,2, { tex_index = 284 , tex_w = baseW , tex_h = baseH , tex_offset_x = (baseX +tempX) , tex_offset_y = (baseY +tempY) , duration = 2 , hurtbox = pat:get_frame(7,2,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(226,0,3, { tex_index = 208 , tex_w = baseW , tex_h = baseH , tex_offset_x = (baseX +tempX2) , tex_offset_y = (baseY +tempY2) , duration = 3 , hurtbox = pat:get_frame(202,0,3).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(226,1,0, { tex_index = 209 , tex_w = baseW , tex_h = baseH , tex_offset_x = (baseX +tempX3) , tex_offset_y = (baseY +tempY2) , duration = 3 , hurtbox = pat:get_frame(202,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(226,1,1, { tex_index = 210 , tex_w = baseW , tex_h = baseH , tex_offset_x = (baseX +tempX3) , tex_offset_y = (baseY +tempY2) , 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 = 211 , tex_w = baseW , tex_h = baseH , tex_offset_x = (baseX +tempX3) , tex_offset_y = (baseY +tempY2) , 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 = 209 , tex_w = baseW , tex_h = baseH , tex_offset_x = (baseX +tempX3) , tex_offset_y = (baseY +tempY2) , duration = 3 , hurtbox = pat:get_frame(202,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:split_frame(226,2,0,1,1) pat:update_frame(226,2,0, { tex_index = 208 , tex_w = baseW , tex_h = baseH , tex_offset_x = (baseX) , tex_offset_y = (baseY +tempY2) , duration = 3 , hurtbox = pat:get_frame(202,0,3).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(226,2,1, { tex_index = 284 , tex_w = baseW , tex_h = baseH , tex_offset_x = (baseX) , tex_offset_y = (baseY +tempY) , duration = 3 , hurtbox = pat:get_frame(7,2,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(226,3,0, { tex_index = 272 , 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(226,3,1, { tex_index = 273 , 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(226,3,2, { tex_index = 274 , 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 }) --j4DD pat:update_frame(225,0,0, { tex_index = 285 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 6 , hurtbox = pat:get_frame(8,2,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(225,1,0, { tex_index = 268 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(8,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(225,1,1, { tex_index = 269 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(8,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(225,1,2, { tex_index = 268 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(8,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(225,1,3, { tex_index = 269 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(8,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(225,1,4, { tex_index = 268 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(8,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(225,2,0, { tex_index = 285 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(8,2,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(225,2,1, { tex_index = 285 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(8,2,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(225,3,0, { tex_index = 272 , 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(225,3,1, { tex_index = 273 , 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(225,3,2, { tex_index = 274 , 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 }) --guards pat:update_frame(150,0,0, { tex_index = 235 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 1 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(150,0,1, { tex_index = 235 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 9 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(151,0,0, { tex_index = 235 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 1 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(151,0,1, { tex_index = 235 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 15 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(152,0,0, { tex_index = 235 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 1 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(152,0,1, { tex_index = 235 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 21 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(153,0,0, { tex_index = 235 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 1 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(153,0,1, { tex_index = 235 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 27 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(154,0,0, { tex_index = 231 , 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(154,0,1, { tex_index = 231 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 9 , hurtbox = pat:get_frame(2,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(155,0,0, { tex_index = 231 , 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(155,0,1, { tex_index = 231 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 15 , hurtbox = pat:get_frame(2,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(156,0,0, { tex_index = 231 , 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(156,0,1, { tex_index = 231 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 21 , hurtbox = pat:get_frame(2,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(157,0,0, { tex_index = 231 , 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(157,0,1, { tex_index = 231 , 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(158,0,0, { tex_index = 228 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(9,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(158,0,1, { tex_index = 228 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(9,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(158,0,2, { tex_index = 228 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(9,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(158,0,3, { tex_index = 228 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(9,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(158,0,4, { tex_index = 228 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(9,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(159,0,0, { tex_index = 236 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 1 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(159,0,1, { tex_index = 236 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 11 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(160,0,0, { tex_index = 236 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 1 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(160,0,1, { tex_index = 236 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 19 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(161,0,0, { tex_index = 236 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 1 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(161,0,1, { tex_index = 236 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 27 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(162,0,0, { tex_index = 236 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 1 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(162,0,1, { tex_index = 236 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 31 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(163,0,0, { tex_index = 233 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(2,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(163,0,1, { tex_index = 233 , 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(163,0,2, { tex_index = 233 , 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(164,0,0, { tex_index = 233 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(2,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(164,0,1, { tex_index = 233 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 15 , hurtbox = pat:get_frame(2,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(164,0,2, { tex_index = 233 , 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(165,0,0, { tex_index = 233 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(2,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(165,0,1, { tex_index = 233 , 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(165,0,2, { tex_index = 233 , 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(166,0,0, { tex_index = 233 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(2,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(166,0,1, { tex_index = 233 , 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,2, { tex_index = 233 , 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 }) --hits --hitupper pat:update_frame(50,0,0, { tex_index = 260 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(50,0,0,function(frame) frame.hurtbox[1].x1 = frame.hurtbox[1].x1 - 45 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 - 45 frame.hurtbox[1].y1 = frame.hurtbox[1].y1 + 25 frame.hurtbox[1].y2 = frame.hurtbox[1].y1 + 50 frame.hurtbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[2].x1 = frame.hurtbox[2].x1 - 30 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 - 10 frame.hurtbox[2].y1 = frame.hurtbox[1].y2 - 15 frame.hurtbox[2].y2 = frame.hurtbox[2].y1 + 50 frame.hurtbox[3] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[3].y1 = frame.hurtbox[2].y2 - 15 frame.hurtbox[3].x1 = frame.hurtbox[3].x1 - 10 end) pat:update_frame(50,0,1, { tex_index = 260 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(50,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(50,0,2, { tex_index = 260 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(50,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(50,0,3, { tex_index = 261 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(50,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(50,0,3,function(frame) 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 - 5 frame.hurtbox[1].y2 = frame.hurtbox[1].y2 - 0 frame.hurtbox[2].y1 = frame.hurtbox[2].y1 - 5 frame.hurtbox[3].y1 = frame.hurtbox[2].y2 - 15 end) pat:update_frame(50,0,4, { tex_index = 261 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(50,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(51,0,0, { tex_index = 260 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(50,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(51,0,1, { tex_index = 260 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 , hurtbox = pat:get_frame(50,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(51,0,2, { tex_index = 260 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(50,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(51,0,3, { tex_index = 261 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(50,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(51,0,4, { tex_index = 261 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(50,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(52,0,0, { tex_index = 260 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 6 , hurtbox = pat:get_frame(50,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(52,0,1, { tex_index = 260 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 7 , hurtbox = pat:get_frame(50,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(52,0,2, { tex_index = 260 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 6 , hurtbox = pat:get_frame(50,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(52,0,3, { tex_index = 261 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(50,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(52,0,4, { tex_index = 261 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(50,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) --reel pat:update_frame(53,0,0, { tex_index = 260 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(50,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) baseW = 192 baseX = 192 pat:update_frame(53,1,0, { tex_index = 248 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(53,1,1, { tex_index = 249 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(53,1,2, { tex_index = 250 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(53,1,3, { tex_index = 251 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(53,1,4, { tex_index = 252 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(53,1,5, { tex_index = 253 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(53,2,0, { tex_index = 248 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(53,2,1, { tex_index = 249 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(53,2,2, { tex_index = 250 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(53,2,3, { tex_index = 251 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(53,2,4, { tex_index = 252 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(53,2,5, { tex_index = 253 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) baseW = 128 baseX = 128 pat:update_frame(53,3,0, { tex_index = 261 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(50,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(53,3,1, { tex_index = 261 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(50,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(53,3,2, { tex_index = 260 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(50,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) --hitunder pat:update_frame(56,0,0, { tex_index = 256 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(56,0,0,function(frame) frame.hurtbox[1].x1 = frame.hurtbox[1].x1 - 0 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 - 0 frame.hurtbox[1].y2 = frame.hurtbox[1].y1 + 60 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[1].x2 - 10 frame.hurtbox[2].y1 = frame.hurtbox[1].y2 - 15 frame.hurtbox[2].y2 = frame.hurtbox[2].y1 + 60 frame.hurtbox[3] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[3].x1 = frame.hurtbox[1].x1 frame.hurtbox[3].x2 = frame.hurtbox[1].x2 + 20 frame.hurtbox[3].y1 = frame.hurtbox[3].y2 - 60 end) pat:update_frame(56,0,1, { tex_index = 256 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(56,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(56,0,2, { tex_index = 256 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(56,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(56,0,3, { tex_index = 257 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(56,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(56,0,3,function(frame) frame.hurtbox[2].x1 = frame.hurtbox[2].x1 + 5 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 + 5 frame.hurtbox[3].x2 = frame.hurtbox[3].x2 - 5 end) pat:update_frame(57,0,0, { tex_index = 256 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(56,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(57,0,1, { tex_index = 256 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 , hurtbox = pat:get_frame(56,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(57,0,2, { tex_index = 256 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(56,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(57,0,3, { tex_index = 257 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 , hurtbox = pat:get_frame(56,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(58,0,0, { tex_index = 256 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 6 , hurtbox = pat:get_frame(56,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(58,0,1, { tex_index = 256 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 7 , hurtbox = pat:get_frame(56,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(58,0,2, { tex_index = 256 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 6 , hurtbox = pat:get_frame(56,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(58,0,3, { tex_index = 257 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 6 , hurtbox = pat:get_frame(56,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) --hitsit pat:update_frame(62,0,0, { tex_index = 244 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(50,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(62,0,0,function(frame) frame.hurtbox[1].x1 = frame.hurtbox[1].x1 + 20 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 + 20 frame.hurtbox[1].y1 = frame.hurtbox[1].y1 + 20 frame.hurtbox[1].y2 = frame.hurtbox[1].y2 + 20 frame.hurtbox[2].x1 = frame.hurtbox[2].x1 + 10 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 + 10 frame.hurtbox[2].y1 = frame.hurtbox[2].y1 + 20 frame.hurtbox[2].y2 = frame.hurtbox[2].y2 + 20 frame.hurtbox[3].y1 = frame.hurtbox[3].y1 + 20 frame.hurtbox[3].y2 = 0 end) pat:update_frame(62,0,1, { tex_index = 244 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(62,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(62,0,2, { tex_index = 244 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(62,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(62,0,3, { tex_index = 245 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(50,0,3).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(62,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 + 20 frame.hurtbox[1].y2 = frame.hurtbox[1].y2 + 20 frame.hurtbox[2].x1 = frame.hurtbox[2].x1 + 20 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 + 20 frame.hurtbox[2].y1 = frame.hurtbox[2].y1 + 20 frame.hurtbox[2].y2 = frame.hurtbox[2].y2 + 20 frame.hurtbox[3].y1 = frame.hurtbox[3].y1 + 20 frame.hurtbox[3].y2 = 0 end) pat:update_frame(63,0,0, { tex_index = 244 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(62,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(63,0,1, { tex_index = 244 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 , hurtbox = pat:get_frame(62,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(63,0,2, { tex_index = 244 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(62,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(63,0,3, { tex_index = 245 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 , hurtbox = pat:get_frame(62,0,3).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(64,0,0, { tex_index = 244 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 6 , hurtbox = pat:get_frame(62,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(64,0,1, { tex_index = 244 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 7 , hurtbox = pat:get_frame(62,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(64,0,2, { tex_index = 244 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 6 , hurtbox = pat:get_frame(62,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(64,0,3, { tex_index = 245 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 6 , hurtbox = pat:get_frame(62,0,3).hurtbox , collision = pat:get_frame(2,0,0).collision }) local baseY0 = 10 local baseX0 = 5 pat:update_frame(70,0,0, { tex_index = 256 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+baseX0 , tex_offset_y = baseY+baseY0 , duration = 2 , 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 - baseY0 frame.hurtbox[idx].y2 = frame.hurtbox[idx].y2 - baseY0 frame.hurtbox[idx].x1 = frame.hurtbox[idx].x1 - baseX0 frame.hurtbox[idx].x2 = frame.hurtbox[idx].x2 - baseX0 end frame.hurtbox[3].y2 = frame.hurtbox[3].y2 - 10 frame.hurtbox[3].x2 = frame.hurtbox[3].x2 - 20 end) pat:update_frame(70,0,1, { tex_index = 256 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+baseX0 , tex_offset_y = baseY+baseY0 , duration = 4 , hurtbox = pat:get_frame(70,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(70,0,2, { tex_index = 256 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+baseX0 , tex_offset_y = baseY+baseY0 , duration = 8 , hurtbox = pat:get_frame(70,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(70,0,3, { tex_index = 257 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+baseX0 , tex_offset_y = baseY+baseY0 , duration = 4 , hurtbox = pat:get_frame(56,0,3).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(70,0,3,function(frame) for idx = 1 , 3 do frame.hurtbox[idx].y1 = frame.hurtbox[idx].y1 - baseY0 frame.hurtbox[idx].y2 = frame.hurtbox[idx].y2 - baseY0 frame.hurtbox[idx].x1 = frame.hurtbox[idx].x1 - baseX0 frame.hurtbox[idx].x2 = frame.hurtbox[idx].x2 - baseX0 end frame.hurtbox[3].y2 = frame.hurtbox[3].y2 - 10 frame.hurtbox[3].x2 = frame.hurtbox[3].x2 - 20 end) pat:update_frame(70,1,0, { tex_index = 283 , 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(70,2,0, { tex_index = 272 , 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(70,2,1, { tex_index = 273 , 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(70,2,2, { tex_index = 274 , 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 }) --hitair pat:update_frame(71,0,0, { tex_index = 256 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+baseX0 , tex_offset_y = baseY+baseY0 , duration = 3 , hurtbox = pat:get_frame(70,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) --x pat:update_frame(71,1,0, { tex_index = 238 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(50,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) --0 pat:update_frame(71,1,0,function(frame) for idx = 1 , 3 do frame.hurtbox[idx].y1 = frame.hurtbox[idx].y1 - 22 frame.hurtbox[idx].y2 = frame.hurtbox[idx].y2 - 22 frame.hurtbox[idx].x1 = frame.hurtbox[idx].x1 + 14 frame.hurtbox[idx].x2 = frame.hurtbox[idx].x2 + 14 end frame.hurtbox[3].y2 = frame.hurtbox[3].y2 - 10 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 - 10 frame.hurtbox[3].x2 = frame.hurtbox[3].x2 - 10 end) pat:update_frame(71,2,0, { tex_index = 239 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , collision = pat:get_frame(6,1,0).collision }) --1 pat:update_frame(71,2,0,function(frame) 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 + 30 frame.hurtbox[1].y2 = frame.hurtbox[1].y2 + 30 end) pat:update_frame(71,2,1, { tex_index = 240 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , collision = pat:get_frame(6,1,0).collision }) --2 pat:update_frame(71,2,1,function(frame) frame.hurtbox[1].x1 = frame.hurtbox[1].x1 + 10 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 + 10 frame.hurtbox[1].y1 = frame.hurtbox[1].y1 + 20 frame.hurtbox[1].y2 = frame.hurtbox[1].y2 + 20 frame.hurtbox[2].x1 = frame.hurtbox[2].x1 - 10 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 - 10 frame.hurtbox[2].y1 = frame.hurtbox[2].y1 - 10 frame.hurtbox[2].y2 = frame.hurtbox[2].y2 - 10 frame.hurtbox[3].x1 = frame.hurtbox[3].x1 - 20 frame.hurtbox[3].y1 = frame.hurtbox[3].y1 - 40 frame.hurtbox[3].y2 = frame.hurtbox[3].y2 - 40 end) pat:update_frame(71,2,2, { tex_index = 241 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , collision = pat:get_frame(6,1,0).collision }) --3 pat:update_frame(71,2,2,function(frame) frame.hurtbox[1].x1 = frame.hurtbox[1].x1 - 10 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 - 10 frame.hurtbox[3].x1 = frame.hurtbox[3].x1 - 10 frame.hurtbox[3].x2 = frame.hurtbox[3].x2 - 10 end) pat:update_frame(71,3,0, { tex_index = 242 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , collision = pat:get_frame(6,1,0).collision }) --4 pat:update_frame(71,3,1, { tex_index = 243 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , collision = pat:get_frame(6,1,0).collision }) --5 pat:update_frame(73,0,0, { tex_index = 256 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+baseX0 , tex_offset_y = baseY+baseY0 , duration = 3 , hurtbox = pat:get_frame(71,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) --x pat:update_frame(73,1,0, { tex_index = 240 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(71,2,1).hurtbox , collision = pat:get_frame(6,1,0).collision }) --2 pat:update_frame(73,2,0, { tex_index = 241 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(71,2,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) --3 pat:update_frame(73,3,0, { tex_index = 242 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(71,3,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) --4 pat:update_frame(73,3,1, { tex_index = 243 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(71,3,1).hurtbox , collision = pat:get_frame(6,1,0).collision }) --5 pat:update_frame(76,0,0, { tex_index = 256 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+baseX0 , tex_offset_y = baseY+baseY0 , duration = 3 , hurtbox = pat:get_frame(71,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) --x pat:update_frame(76,1,0, { tex_index = 238 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(71,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) --0 pat:update_frame(76,1,1, { tex_index = 239 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(71,2,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) --1 pat:update_frame(76,2,0, { tex_index = 240 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(71,2,1).hurtbox , collision = pat:get_frame(6,1,0).collision }) --2 pat:update_frame(77,0,0, { tex_index = 256 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+baseX0 , tex_offset_y = baseY+baseY0 , duration = 3 , hurtbox = pat:get_frame(71,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) --x pat:update_frame(77,0,1, { tex_index = 238 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(71,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) --0 pat:update_frame(77,0,2, { tex_index = 239 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(71,2,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) --1 pat:update_frame(77,1,0, { tex_index = 240 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(71,2,1).hurtbox , collision = pat:get_frame(6,1,0).collision }) --2 pat:update_frame(78,0,0, { tex_index = 256 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+baseX0 , tex_offset_y = baseY+baseY0 , duration = 3 , hurtbox = pat:get_frame(71,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) --x pat:update_frame(78,1,0, { tex_index = 238 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(71,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) --0 pat:update_frame(78,2,0, { tex_index = 239 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(71,2,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) --1 pat:update_frame(78,2,1, { tex_index = 240 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(71,2,1).hurtbox , collision = pat:get_frame(6,1,0).collision }) --2 pat:update_frame(78,2,2, { tex_index = 241 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(71,2,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) --3 pat:update_frame(78,3,0, { tex_index = 242 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(71,3,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) --4 pat:update_frame(78,3,1, { tex_index = 243 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(71,3,1).hurtbox , collision = pat:get_frame(6,1,0).collision }) --5 pat:update_frame(83,0,0, { tex_index = 256 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+baseX0 , tex_offset_y = baseY+baseY0 , duration = 4 , hurtbox = pat:get_frame(71,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) --x pat:update_frame(83,0,1, { tex_index = 189 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+baseX0 , tex_offset_y = baseY+baseY0 , duration = 3 , hurtbox = pat:get_frame(70,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) --crash0 pat:update_frame(83,0,2, { tex_index = 189 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+baseX0 , tex_offset_y = baseY+baseY0 , duration = 3 , hurtbox = pat:get_frame(70,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(83,0,3, { tex_index = 189 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+baseX0 , tex_offset_y = baseY+baseY0 , duration = 3 , hurtbox = pat:get_frame(70,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(83,0,4, { tex_index = 189 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+baseX0 , tex_offset_y = baseY+baseY0 , duration = 3 , hurtbox = pat:get_frame(70,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(83,0,5, { tex_index = 189 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+baseX0 , tex_offset_y = baseY+baseY0 , duration = 3 , hurtbox = pat:get_frame(70,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(83,0,6, { tex_index = 189 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+baseX0 , tex_offset_y = baseY+baseY0 , duration = 3 , hurtbox = pat:get_frame(70,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(83,0,7, { tex_index = 189 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+baseX0 , tex_offset_y = baseY+baseY0 , duration = 3 , hurtbox = pat:get_frame(70,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(83,0,8, { tex_index = 189 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+baseX0 , tex_offset_y = baseY+baseY0 , duration = 3 , hurtbox = pat:get_frame(70,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(83,0,9, { tex_index = 189 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+baseX0 , tex_offset_y = baseY+baseY0 , duration = 3 , hurtbox = pat:get_frame(70,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(83,0,10, { tex_index = 189 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+baseX0 , tex_offset_y = baseY+baseY0 , duration = 3 , hurtbox = pat:get_frame(70,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(83,0,11, { tex_index = 189 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+baseX0 , tex_offset_y = baseY+baseY0 , duration = 3 , hurtbox = pat:get_frame(70,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(83,0,12, { tex_index = 189 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+baseX0 , tex_offset_y = baseY+baseY0 , duration = 3 , hurtbox = pat:get_frame(70,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(83,1,0, { tex_index = 239 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(71,2,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) --1 pat:update_frame(83,1,1, { tex_index = 240 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(71,2,1).hurtbox , collision = pat:get_frame(6,1,0).collision }) --2 pat:update_frame(83,1,2, { tex_index = 241 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(71,2,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) --3 pat:update_frame(83,2,0, { tex_index = 242 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(71,3,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) --4 pat:update_frame(83,2,1, { tex_index = 243 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(71,3,1).hurtbox , collision = pat:get_frame(6,1,0).collision }) --5 pat:update_frame(84,0,0, { tex_index = 256 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 20 , hurtbox = pat:get_frame(56,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(84,1,0, { tex_index = 260 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(84,1,1, { tex_index = 260 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(84,1,2, { tex_index = 260 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(84,1,3, { tex_index = 261 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(84,1,4, { tex_index = 261 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(85,0,0, { tex_index = 256 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 20 , hurtbox = pat:get_frame(56,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(85,1,0, { tex_index = 260 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(50,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(85,1,1, { tex_index = 260 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(50,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(85,1,2, { tex_index = 260 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(50,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(85,1,3, { tex_index = 261 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(50,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(85,1,4, { tex_index = 261 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(50,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(86,0,0, { tex_index = 239 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(71,2,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) --1 pat:update_frame(87,0,0, { tex_index = 239 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(71,2,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) --1 -- DOWN STUFF pat:update_frame(89,0,0, { tex_index = 219 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 }) --d0 pat:update_frame(89,0,1, { tex_index = 220 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 }) --d1 pat:update_frame(89,1,0, { tex_index = 221 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) --d2 pat:update_frame(89,1,1, { tex_index = 238 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(71,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) --0 pat:update_frame(89,1,2, { tex_index = 239 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(71,2,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) --1 pat:update_frame(89,2,0, { tex_index = 240 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(71,2,1).hurtbox , collision = pat:get_frame(6,1,0).collision }) --2 -- DOWN STUFF pat:update_frame(96,0,0, { tex_index = 219 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 }) --d0 pat:update_frame(96,0,1, { tex_index = 220 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 }) --d1 pat:update_frame(96,1,0, { tex_index = 221 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 }) --d2 pat:update_frame(96,2,0, { tex_index = 222 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 }) --d3 pat:update_frame(96,3,0, { tex_index = 223 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 }) --d4 pat:update_frame(96,3,1, { tex_index = 224 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 }) --d5 pat:update_frame(96,3,2, { tex_index = 225 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 10 }) --d6 pat:update_frame(97,0,0, { tex_index = 219 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 }) --d0 pat:update_frame(97,0,1, { tex_index = 220 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 }) --d1 pat:update_frame(97,1,0, { tex_index = 221 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 }) --d2 pat:update_frame(97,2,0, { tex_index = 222 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 }) --d3 pat:update_frame(97,3,0, { tex_index = 223 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 }) --d4 pat:update_frame(97,3,1, { tex_index = 224 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 }) --d5 pat:update_frame(97,3,2, { tex_index = 225 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 }) --d6 pat:update_frame(97,3,3, { tex_index = 226 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 }) --d7 pat:update_frame(97,3,4, { tex_index = 227 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 10 }) --d8 pat:update_frame(98,0,0, { tex_index = 227 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY }) --d8 pat:update_frame(99,0,0, { tex_index = 227 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY }) --d8 pat:update_frame(99,1,0, { tex_index = 227 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY }) --d8 pat:update_frame(99,2,0, { tex_index = 227 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY }) --d8 pat:update_frame(99,3,0, { tex_index = 227 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY }) --d8 pat:update_frame(100,0,0, { tex_index = 261 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY }) pat:update_frame(101,0,0, { tex_index = 261 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-60 }) pat:update_frame(102,0,0, { tex_index = 257 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY }) pat:update_frame(103,0,0, { tex_index = 257 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-60 }) pat:update_frame(104,0,0, { tex_index = 245 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY }) pat:update_frame(105,0,0, { tex_index = 245 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-35 }) pat:update_frame(106,0,0, { tex_index = 238 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY }) --0 pat:update_frame(107,0,0, { tex_index = 238 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-60 }) --0 pat:update_frame(108,0,0, { tex_index = 240 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY }) --2 pat:update_frame(109,0,0, { tex_index = 240 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-50 }) --2 pat:update_frame(110,0,0, { tex_index = 242 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY }) --4 pat:update_frame(111,0,0, { tex_index = 242 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-30 }) --4 -- DOWN STUFF pat:update_frame(112,0,0, { tex_index = 219 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 }) --d0 pat:update_frame(112,0,1, { tex_index = 220 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 }) --d1 pat:update_frame(112,1,0, { tex_index = 221 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 }) --d2 pat:update_frame(112,2,0, { tex_index = 222 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 }) --d3 pat:update_frame(112,3,0, { tex_index = 223 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 }) --d4 pat:update_frame(112,3,1, { tex_index = 224 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 }) --d5 pat:update_frame(112,3,2, { tex_index = 225 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 }) --d6 pat:update_frame(112,3,3, { tex_index = 226 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 }) --d7 pat:update_frame(112,3,4, { tex_index = 227 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 10 }) --d8 pat:update_frame(112,4,0, { tex_index = 227 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 10 }) --d8 pat:update_frame(113,0,0, { tex_index = 222 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 }) --d3 pat:update_frame(113,1,0, { tex_index = 223 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 }) --d4 pat:update_frame(113,1,1, { tex_index = 224 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 }) --d5 pat:update_frame(113,1,2, { tex_index = 225 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 }) --d6 pat:update_frame(113,1,3, { tex_index = 226 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 }) --d7 pat:update_frame(113,1,4, { tex_index = 227 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 10 }) --d8 pat:update_frame(113,2,0, { tex_index = 227 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 10 }) --d8 pat:update_frame(114,0,0, { tex_index = 227 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 10 }) --d8 pat:update_frame(140,0,0, { tex_index = 189 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(50,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) --crash0 pat:update_frame(140,0,1, { tex_index = 189 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(50,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) --crash0 pat:update_frame(140,0,2, { tex_index = 189 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(50,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) --crash0 pat:update_frame(140,0,3, { tex_index = 189 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(50,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) --crash0 pat:update_frame(140,0,4, { tex_index = 189 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(50,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) --crash0 pat:update_frame(140,0,5, { tex_index = 189 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(50,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) --crash0 pat:update_frame(140,0,6, { tex_index = 189 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(50,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) --crash0 pat:update_frame(140,0,7, { tex_index = 190 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(50,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) --crash1 pat:update_frame(143,0,0, { tex_index = 189 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(50,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) --crash0 pat:update_frame(143,1,0, { tex_index = 189 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(50,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) --crash0 pat:update_frame(143,1,1, { tex_index = 189 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(50,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) --crash0 pat:update_frame(143,2,0, { tex_index = 190 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 6 , hurtbox = pat:get_frame(50,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) --crash1 pat:update_frame(145,0,0, { tex_index = 256 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+baseX0 , tex_offset_y = baseY+baseY0 , duration = 3 , hurtbox = pat:get_frame(71,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) --x pat:update_frame(145,1,0, { tex_index = 238 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 10 , hurtbox = pat:get_frame(71,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) --0 pat:update_frame(145,2,0, { tex_index = 239 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(71,2,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) --1 pat:update_frame(145,2,1, { tex_index = 240 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(71,2,1).hurtbox , collision = pat:get_frame(6,1,0).collision }) --2 pat:update_frame(145,2,2, { tex_index = 241 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(71,2,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) --3 pat:update_frame(145,3,0, { tex_index = 242 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(71,3,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) --4 pat:update_frame(145,3,1, { tex_index = 243 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(71,3,1).hurtbox , collision = pat:get_frame(6,1,0).collision }) --5 --180 airtech --tech6 pat:update_frame(180,0,0, { tex_index = 271 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(7,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(180,0,1, { tex_index = 270 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(7,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(180,0,2, { tex_index = 271 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(7,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(180,0,3, { tex_index = 270 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(7,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(180,0,4, { tex_index = 284 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(7,2,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:remove_frame(180,1,3) pat:update_frame(180,1,0, { tex_index = 272 , 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(180,1,1, { tex_index = 273 , 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(180,1,2, { tex_index = 274 , 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 }) --tech4 pat:update_frame(181,0,0, { tex_index = 269 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(8,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(181,0,1, { tex_index = 268 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(8,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(181,0,2, { tex_index = 269 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(8,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(181,0,3, { tex_index = 268 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 6 , hurtbox = pat:get_frame(8,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(181,0,4, { tex_index = 285 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 , hurtbox = pat:get_frame(8,2,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(181,1,0, { tex_index = 272 , 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(181,1,1, { tex_index = 273 , 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(181,1,2, { tex_index = 274 , 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 }) --wakeups --front pat:update_frame(197,0,0, { tex_index = 524 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 1 }) pat:update_frame(197,0,1, { tex_index = 524 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 1 }) pat:update_frame(197,0,2, { tex_index = 524 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 }) pat:update_frame(197,1,0, { tex_index = 525 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 }) pat:update_frame(197,1,1, { tex_index = 526 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 }) pat:update_frame(197,1,2, { tex_index = 527 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 }) pat:update_frame(197,1,3, { tex_index = 527 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 }) pat:update_frame(197,1,4, { tex_index = 528 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 }) pat:update_frame(197,1,5, { tex_index = 528 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 }) pat:update_frame(197,2,0, { tex_index = 529 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 }) pat:update_frame(197,2,1, { tex_index = 529 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 }) pat:update_frame(197,2,2, { tex_index = 529 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 }) pat:update_frame(197,2,3, { tex_index = 529 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 }) pat:update_frame(197,3,0, { tex_index = 530 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 }) pat:update_frame(197,3,1, { tex_index = 531 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 12 }) pat:update_frame(197,3,2, { tex_index = 213 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 }) pat:update_frame(197,3,3, { tex_index = 213 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 1 }) --back pat:update_frame(198,0,0, { tex_index = 524 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 1 }) pat:update_frame(198,0,1, { tex_index = 524 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 1 }) pat:update_frame(198,0,2, { tex_index = 524 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 1 }) pat:update_frame(198,0,3, { tex_index = 524 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 1 }) pat:update_frame(198,0,4, { tex_index = 524 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 1 }) pat:remove_frame(198,0,4) pat:update_frame(198,1,0, { tex_index = 525 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 }) pat:update_frame(198,1,1, { tex_index = 526 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 }) pat:update_frame(198,1,2, { tex_index = 527 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 }) pat:update_frame(198,1,3, { tex_index = 528 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 }) pat:update_frame(198,1,4, { tex_index = 528 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 }) pat:update_frame(198,2,0, { tex_index = 529 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 }) pat:update_frame(198,2,1, { tex_index = 529 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 }) pat:update_frame(198,2,2, { tex_index = 529 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 }) pat:update_frame(198,3,0, { tex_index = 530 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 }) pat:update_frame(198,3,1, { tex_index = 531 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 12 }) pat:update_frame(198,3,2, { tex_index = 213 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 }) pat:update_frame(198,3,3, { tex_index = 213 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 1 }) --neutral pat:update_frame(199,0,0, { tex_index = 524 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 1 }) pat:update_frame(199,0,1, { tex_index = 524 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 1 }) pat:update_frame(199,0,2, { tex_index = 524 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 1 }) pat:update_frame(199,0,3, { tex_index = 525 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 }) pat:update_frame(199,0,4, { tex_index = 526 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 }) pat:update_frame(199,0,5, { tex_index = 527 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 }) pat:update_frame(199,0,6, { tex_index = 528 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 1 }) pat:update_frame(199,0,7, { tex_index = 528 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 1 }) pat:update_frame(199,0,8, { tex_index = 529 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 }) pat:update_frame(199,0,9, { tex_index = 530 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 }) pat:update_frame(199,0,10, { tex_index = 531 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 12 }) pat:update_frame(199,0,11, { tex_index = 213 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 }) pat:update_frame(199,0,12, { tex_index = 213 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 1 }) end function mods.invis_things(pat) pat:update_frame(998,0,0,function(frame) frame.tex_index = 184 frame.tex_w = 128 frame.tex_h = 128 frame.tex_offset_x = 64 frame.tex_offset_y = 64 frame.scale_x = 50 frame.scale_y = 50 end) pat:update_frame(848,0,0,{duration = 10 , tex_w = 0}) for idx = 0 , 7 do pat:update_frame(848,1,idx,{duration = 10 , tex_w = 0}) end for idx = 0 , 8 do pat:update_frame(848,2,idx,{duration = 10 , tex_w = 0}) end for idx = 0 , 2 do pat:update_frame(848,3,idx,{duration = 10 , tex_w = 0}) end pat:update_frame(848,4,0,{duration = 10 , tex_w = 0}) for idx = 0 , 5 do pat:update_frame(848,5,idx,{duration = 10 , tex_w = 0}) end for idx = 0 , 3 do pat:update_frame(848,6,idx,{duration = 10 , tex_w = 0}) end for idx = 0 , 2 do pat:update_frame(848,7,idx,{duration = 10 , tex_w = 0}) end for idx = 0 , 7 do pat:update_frame(848,8,idx,{duration = 10 , tex_w = 0}) end for idx = 0 , 2 do pat:update_frame(848,9,idx,{duration = 10 , tex_w = 0}) end for idx = 0 , 1 do pat:update_frame(848,10,idx,{duration = 10 , tex_w = 0}) end for idx = 0 , 0 do --pat:update_frame(849,0,idx,{tex_w = 0}) end for idx = 0 , 5 do pat:update_frame(849,1,idx,{tex_w = 0}) end for idx = 0 , 1 do pat:update_frame(849,2,idx,{tex_w = 0}) end for idx = 0 , 5 do pat:update_frame(849,3,idx,{tex_w = 0}) end for idx = 0 , 1 do pat:update_frame(849,4,idx,{tex_w = 0}) end for idx = 0 , 5 do pat:update_frame(849,5,idx,{tex_w = 0}) end for idx = 0 , 1 do pat:update_frame(849,6,idx,{tex_w = 0}) end for idx = 0 , 1 do pat:update_frame(849,7,idx,{tex_w = 0}) 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 = 554 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(300,0,0, { tex_index = 213 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(300,0,1, { tex_index = 63 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 1 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(300,0,1,function(frame) frame.hurtbox[1].x1 = frame.hurtbox[1].x1 + 30 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 + 25 frame.hurtbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[2].x1 = frame.hurtbox[2].x1 + 20 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 + 35 frame.hurtbox[2].y1 = -90 frame.hurtbox[2].y2 = -30 end) pat:update_frame(300,0,2, { tex_index = 63 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 1 , hurtbox = pat:get_frame(300,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(300,0,3, { tex_index = 63 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 1 , hurtbox = pat:get_frame(300,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(300,0,4, { tex_index = 63 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 1 , hurtbox = pat:get_frame(300,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(300,0,5, { tex_index = 64 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(300,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(300,0,5,function(frame) frame.hurtbox[1].y1 = frame.hurtbox[1].y1 + 10 frame.hurtbox[1].x1 = frame.hurtbox[1].x1 + 10 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 + 10 frame.hurtbox[2].x1 = frame.hurtbox[2].x1 + 5 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 + 20 frame.attackbox[1].y1 = frame.attackbox[1].y1 + 30 frame.attackbox[1].y2 = frame.attackbox[1].y2 + 30 end) pat:update_frame(300,0,6, { tex_index = 64 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 6 , hurtbox = pat:get_frame(300,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(300,0,7, { tex_index = 63 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(300,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(320,0,0, { tex_index = 213 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(300,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(320,0,1, { tex_index = 63 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 1 , hurtbox = pat:get_frame(300,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(320,0,2, { tex_index = 63 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 1 , hurtbox = pat:get_frame(300,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(320,0,3, { tex_index = 63 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 1 , hurtbox = pat:get_frame(300,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(320,0,4, { tex_index = 63 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 1 , hurtbox = pat:get_frame(300,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(320,0,5, { tex_index = 64 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(300,0,5).hurtbox , attackbox = pat:get_frame(300,0,5).attackbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(320,0,6, { tex_index = 64 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 6 , hurtbox = pat:get_frame(300,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(320,0,7, { tex_index = 63 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 , hurtbox = pat:get_frame(300,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) end function mods.n5aa(pat) end function mods.nf5a(pat) local baseX = 128 local baseY = 256 local baseW = 128 local baseH = 160 pat:split_frame(301,0,9,1,1) pat:split_frame(301,0,9,1,1) pat:remove_frame(301,0,7) pat:remove_frame(301,0,7) pat:split_frame(301,0,6,1,1) pat:split_frame(301,0,6,1,1) pat:update_frame(301,0,0, { tex_index = 308 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 1 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(301,0,1, { tex_index = 308 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(301,0,2, { tex_index = 309 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(301,0,3, { tex_index = 309 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(301,0,4, { tex_index = 336 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(301,0,4,function(frame) frame.hurtbox[1].y1 = frame.hurtbox[1].y1 + 5 frame.hurtbox[1].x1 = frame.hurtbox[1].x1 + 20 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 + 10 frame.hurtbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[2].y1 = frame.hurtbox[2].y1 + 95 frame.hurtbox[2].x1 = frame.hurtbox[2].x1 + 5 frame.hurtbox[2].x2 = frame.hurtbox[1].x2 frame.hurtbox[3] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[3].x1 = frame.hurtbox[1].x2 - 5 frame.hurtbox[3].x2 = frame.hurtbox[3].x1 + 55 frame.hurtbox[3].y1 = frame.hurtbox[1].y1 + 20 frame.hurtbox[3].y2 = frame.hurtbox[3].y1 + 40 end) pat:update_frame(301,0,5, { tex_index = 336 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(301,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(301,0,6, { tex_index = 337 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(301,0,6,function(frame) frame.hurtbox[1].x1 = frame.hurtbox[1].x1 + 25 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 + 25 frame.hurtbox[1].y1 = frame.hurtbox[1].y1 + 20 frame.hurtbox[1].y2 = frame.hurtbox[1].y1 + 50 frame.hurtbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[2].y1 = frame.hurtbox[1].y2 - 10 frame.hurtbox[2].y2 = frame.hurtbox[2].y1 + 50 frame.hurtbox[2].x1 = frame.hurtbox[2].x1 + 10 frame.hurtbox[2].x2 = frame.hurtbox[1].x2 - 10 frame.hurtbox[3] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[3].y1 = frame.hurtbox[2].y2 - 10 frame.hurtbox[3].x2 = frame.hurtbox[3].x2 + 5 frame.hurtbox[4] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[4].x1 = frame.hurtbox[2].x2 - 10 frame.hurtbox[4].x2 = frame.hurtbox[4].x1 + 40 frame.hurtbox[4].y1 = frame.hurtbox[2].y1 + 10 frame.hurtbox[4].y2 = frame.hurtbox[4].y1 + 40 frame.attackbox[1].x2 = frame.attackbox[1].x2 - 25 frame.attackbox[1].y1 = frame.attackbox[1].y1 + 45 frame.attackbox[1].y2 = frame.attackbox[1].y2 + 45 frame.attackbox[1].x2 = frame.attackbox[1].x2 + 20 frame.attackbox[1].x1 = frame.attackbox[1].x1 + 20 frame.attackbox[2].x2 = frame.attackbox[2].x2 - 30 frame.attackbox[2].y1 = frame.attackbox[2].y1 + 35 frame.attackbox[2].y2 = frame.attackbox[2].y2 + 45 frame.attackbox[3].x1 = frame.attackbox[2].x1 + 30 frame.attackbox[3].x2 = frame.attackbox[2].x2 frame.attackbox[3].y1 = frame.attackbox[1].y1 - 30 frame.attackbox[3].y2 = frame.attackbox[1].y1 + 5 frame.attackbox[4] = null end) pat:update_frame(301,0,7, { tex_index = 338 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(301,0,6).hurtbox , attackbox = pat:get_frame(301,0,6).attackbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(301,0,8, { tex_index = 339 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(301,0,6).hurtbox , attackbox = pat:get_frame(301,0,6).attackbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(301,0,9, { tex_index = 340 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(301,0,6).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(301,0,10, { tex_index = 341 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(301,0,6).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(301,0,11, { tex_index = 316 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(301,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) for idx = 6 , 8 do pat:update_frame(321,0,idx,function(frame) frame.hit_ani_air = 71 frame.hit_ani_ground = 0 frame.combo_correction = CC_NONE frame.launch_vector_x = 600 frame.launch_vector_y = 600 frame.untech = 25 frame.damage = 450 frame.sp_damage = 200 frame.proration = 920 frame.attack_level = AL_MEDIUM frame.limit = 0 end) end end function mods.n6a(pat) local baseX = 128 local baseY = 256 local baseW = 128 local baseH = 160 pat:split_frame(302,1,2,1,1) pat:split_frame(302,1,2,1,1) pat:remove_frame(302,2,6) pat:remove_frame(302,2,5) pat:remove_frame(302,2,4) pat:update_frame(302,0,0, { tex_index = 43 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(302,0,0,function(frame) frame.hurtbox[1].x1 = frame.hurtbox[1].x1 + 25 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 + 25 frame.hurtbox[1].y1 = frame.hurtbox[1].y1 + 20 frame.hurtbox[1].y2 = frame.hurtbox[1].y1 + 50 frame.hurtbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[2].y1 = frame.hurtbox[1].y2 - 10 frame.hurtbox[2].y2 = frame.hurtbox[2].y1 + 50 frame.hurtbox[2].x1 = frame.hurtbox[2].x1 + 10 frame.hurtbox[2].x2 = frame.hurtbox[1].x2 - 10 frame.hurtbox[3] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[3].y1 = frame.hurtbox[2].y2 - 10 frame.hurtbox[3].x2 = frame.hurtbox[3].x2 + 5 end) pat:update_frame(302,0,1, { tex_index = 44 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(302,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(302,0,2, { tex_index = 44 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(302,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(302,1,0, { tex_index = 45 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox , attackbox = pat:get_frame(0,0,0).attackbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(302,1,1, { tex_index = 53 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(302,1,1,function(frame) frame.hurtbox[1].x1 = frame.hurtbox[1].x1 - 50 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 - 50 frame.hurtbox[1].y1 = frame.hurtbox[1].y1 + 20 frame.hurtbox[1].y2 = frame.hurtbox[1].y1 + 50 frame.hurtbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[2].y1 = frame.hurtbox[1].y2 - 10 frame.hurtbox[2].y2 = frame.hurtbox[2].y1 + 50 frame.hurtbox[2].x1 = frame.hurtbox[2].x1 - 25 frame.hurtbox[2].x2 = frame.hurtbox[2].x1 + 60 frame.hurtbox[3] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[3].y1 = frame.hurtbox[2].y2 - 10 frame.hurtbox[3].x2 = frame.hurtbox[3].x2 + 15 frame.hurtbox[4] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[4].x1 = frame.hurtbox[1].x2 - 5 frame.hurtbox[4].x2 = frame.hurtbox[4].x1 + 50 frame.hurtbox[4].y1 = frame.hurtbox[1].y1 + 5 frame.hurtbox[4].y2 = frame.hurtbox[1].y2 + 10 frame.attackbox[1].x1 = frame.hurtbox[1].x2 + 15 frame.attackbox[1].x2 = frame.attackbox[1].x1 + 50 frame.attackbox[1].y1 = frame.hurtbox[1].y1 - 20 frame.attackbox[1].y2 = frame.attackbox[1].y1 + 80 frame.attackbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.attackbox[2].x1 = frame.attackbox[1].x2 - 10 frame.attackbox[2].x2 = frame.attackbox[2].x1 + 50 frame.attackbox[2].y1 = frame.attackbox[1].y1 + 5 frame.attackbox[2].y2 = frame.attackbox[1].y2 - 5 end) pat:update_frame(302,1,2, { tex_index = 15 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(302,1,1).hurtbox , attackbox = pat:get_frame(302,1,1).attackbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(302,1,2,function(frame) frame.hurtbox[1].x1 = frame.hurtbox[1].x1 + 20 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 + 20 frame.hurtbox[1].y1 = frame.hurtbox[1].y1 - 10 frame.hurtbox[1].y2 = frame.hurtbox[1].y2 - 5 frame.hurtbox[2].x1 = frame.hurtbox[2].x1 + 10 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 + 10 frame.hurtbox[4].x2 = frame.hurtbox[4].x2 + 10 frame.hurtbox[4].y1 = frame.hurtbox[4].y1 + 10 frame.hurtbox[4].y2 = frame.hurtbox[4].y2 + 10 frame.attackbox[1].x2 = frame.attackbox[1].x2 + 40 frame.attackbox[2].x2 = frame.attackbox[2].x2 + 30 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 + 15 frame.attackbox[2].y2 = frame.attackbox[2].y2 + 0 end) pat:update_frame(302,1,3, { tex_index = 16 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(302,1,3,function(frame) frame.hurtbox[1].y1 = frame.hurtbox[1].y1 + 10 frame.hurtbox[1].x1 = frame.hurtbox[1].x1 - 10 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 - 10 frame.hurtbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[2].y1 = frame.hurtbox[2].y1 + 90 frame.hurtbox[3] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[3].y1 = frame.hurtbox[1].y1 + 40 frame.hurtbox[3].y2 = frame.hurtbox[3].y1 + 40 frame.hurtbox[3].x1 = frame.hurtbox[1].x1 - 10 frame.hurtbox[3].x2 = frame.hurtbox[1].x2 + 30 frame.hurtbox[4] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[4].y1 = frame.hurtbox[1].y1 + 60 frame.hurtbox[4].y2 = frame.hurtbox[4].y1 + 40 frame.hurtbox[4].x1 = frame.hurtbox[1].x1 - 40 frame.hurtbox[4].x2 = frame.hurtbox[1].x2 - 20 frame.attackbox[1].x1 = frame.hurtbox[4].x1 - 15 frame.attackbox[1].x2 = frame.attackbox[1].x1 + 110 frame.attackbox[1].y1 = frame.hurtbox[4].y1 - 15 frame.attackbox[1].y2 = frame.hurtbox[4].y2 - 5 frame.attackbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.attackbox[2].x1 = frame.hurtbox[3].x2 - 50 frame.attackbox[2].x2 = frame.attackbox[2].x1 + 80 frame.attackbox[2].y1 = frame.attackbox[1].y1 - 10 frame.attackbox[2].y2 = frame.attackbox[1].y2 - 20 frame.attackbox[3] = pat:get_frame(0,0,0).hurtbox[1] frame.attackbox[3].x1 = frame.attackbox[2].x1 + 60 frame.attackbox[3].x2 = frame.attackbox[2].x2 + 30 frame.attackbox[3].y1 = frame.attackbox[2].y1 - 20 frame.attackbox[3].y2 = frame.attackbox[2].y2 - 20 end) pat:update_frame(302,2,0, { tex_index = 17 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(302,1,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(302,2,1, { tex_index = 18 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(302,1,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(302,2,2, { tex_index = 51 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4+1 , hurtbox = pat:get_frame(302,1,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(302,2,3, { tex_index = 52 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:split_frame(302,3,0,1,1) pat:update_frame(302,3,0, { tex_index = 44 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 15 , hurtbox = pat:get_frame(302,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(302,3,1, { tex_index = 45 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(302,4,0, { tex_index = 53 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(302,1,1).hurtbox , attackbox = pat:get_frame(302,1,1).attackbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(302,4,1, { tex_index = 15 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(302,1,2).hurtbox , attackbox = pat:get_frame(302,1,2).attackbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(302,4,2, { tex_index = 16 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(302,1,3).hurtbox , attackbox = pat:get_frame(302,1,3).attackbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(302,5,0, { tex_index = 17 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(302,1,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(302,5,1, { tex_index = 17 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(302,1,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(302,5,2, { tex_index = 18 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(302,1,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(302,5,3, { tex_index = 18 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(302,1,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(302,5,4, { tex_index = 51 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(302,1,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(302,5,5, { tex_index = 51 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(302,1,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(302,5,6, { tex_index = 52 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) end function mods.n2a(pat) local baseX = 128 local baseY = 256 local baseW = 128 local baseH = 160 baseY = 256 - 40 pat:update_frame(303,0,0, { tex_index = 457 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +40 , duration = 3 , hurtbox = pat:get_frame(2,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(303,0,0,function(frame) frame.hurtbox[1].x2 = frame.hurtbox[1].x2 + 10 frame.hurtbox[1].x1 = frame.hurtbox[1].x1 + 15 frame.hurtbox[1].y2 = frame.hurtbox[1].y1 + 50 frame.hurtbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[2].y1 = frame.hurtbox[1].y2 - 5 frame.hurtbox[2].y2 = 0 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 + 10 frame.hurtbox[2].x1 = frame.hurtbox[2].x1 + 5 frame.hurtbox[3] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[3].x1 = frame.hurtbox[2].x2 - 5 frame.hurtbox[3].x2 = frame.hurtbox[3].x1 + 30 frame.hurtbox[3].y2 = -20 frame.hurtbox[3].y1 = frame.hurtbox[3].y2 - 30 end) pat:update_frame(303,0,1, { tex_index = 343 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(303,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(303,0,1,function(frame) frame.hurtbox[3].x2 = frame.hurtbox[3].x2 + 10 frame.hurtbox[3].y1 = frame.hurtbox[3].y1 - 10 end) pat:update_frame(303,0,2, { tex_index = 332 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(303,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(303,0,2,function(frame) frame.hurtbox[3].x2 = frame.hurtbox[3].x2 + 20 frame.hurtbox[3].y2 = frame.hurtbox[3].y2 - 10 frame.hurtbox[3].y1 = frame.hurtbox[3].y1 - 20 frame.attackbox[1].x2 = frame.attackbox[1].x2 + 30 frame.attackbox[1].y1 = frame.attackbox[1].y1 - 20 frame.attackbox[1].y2 = frame.attackbox[1].y2 - 20 end) pat:update_frame(303,0,3, { tex_index = 437 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(303,0,2).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(303,0,4, { tex_index = 334 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(303,0,2).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(303,0,4, { tex_index = 335 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(303,0,2).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(303,0,5, { tex_index = 343 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(303,0,1).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(303,0,6, { tex_index = 457 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +40 , duration = 3 , hurtbox = pat:get_frame(303,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision }) end function mods.n3a(pat) local baseX = 128 local baseY = 256 local baseW = 128 local baseH = 160 local baseX0 = 24 local baseX1 = 40 for idx = 3 , 4 do pat:split_frame(304,1,2,1,1) pat:split_frame(304,3,2,1,1) end pat:split_frame(304,2,3,1,1) pat:update_frame(304,0,0, { tex_index = 90 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(1,0,1).collision }) pat:update_frame(304,0,1, { tex_index = 91 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX -baseX0, tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(2,0,0).hurtbox , collision = pat:get_frame(1,0,1).collision }) pat:update_frame(304,0,1,function(frame) frame.hurtbox[1].x2 = frame.hurtbox[1].x1 + 80 frame.hurtbox[1].y1 = frame.hurtbox[1].y1 + 15 --40 frame.hurtbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[2].x1 = frame.hurtbox[1].x1 + 60 frame.hurtbox[2].x2 = frame.hurtbox[2].x1 + 60 frame.hurtbox[2].y2 = -30 frame.hurtbox[2].y1 = -105 end) pat:update_frame(304,0,2, { tex_index = 91 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX -baseX0, tex_offset_y = baseY , duration = 1 , hurtbox = pat:get_frame(304,0,1).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(304,0,3, { tex_index = 92 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX -baseX0 , tex_offset_y = baseY +12, duration = 4 , hurtbox = pat:get_frame(304,0,1).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(304,0,3,function(frame) for idy = 1 , 2 do frame.hurtbox[idy].y1 = frame.hurtbox[idy].y1 - 12 frame.hurtbox[idy].y2 = frame.hurtbox[idy].y2 - 12 end end) pat:update_frame(304,1,0, { tex_index = 93 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX -baseX1 , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(304,0,1).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(304,1,0,function(frame) frame.hurtbox[1].y1 = frame.hurtbox[1].y1 + 20 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 + 40 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 + 40 frame.hurtbox[2].x1 = frame.hurtbox[2].x1 + 40 frame.hurtbox[2].y1 = frame.hurtbox[2].y1 + 20 frame.hurtbox[2].y2 = frame.hurtbox[2].y2 + 20 frame.hurtbox[3] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[3].x1 = frame.hurtbox[2].x2 - 5 frame.hurtbox[3].y2 = 0 frame.hurtbox[3].y1 = -40 frame.hurtbox[3].x2 = frame.hurtbox[3].x1 + 40 frame.attackbox[1].x2 = frame.hurtbox[3].x2 frame.attackbox[1].y1 = frame.hurtbox[3].y1 - 5 end) --pat:update_frame(304,1,0, { tex_index = 93 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX -baseX1 , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(304,1,1, { tex_index = 94 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX -baseX1 , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(304,1,0).hurtbox , attackbox = pat:get_frame(304,1,0).attackbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(304,1,2, { tex_index = 95 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX -baseX1 , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(304,1,0).hurtbox , attackbox = pat:get_frame(304,1,0).attackbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(304,1,3, { tex_index = 96 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX -baseX1 , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(304,1,0).hurtbox , attackbox = pat:get_frame(304,1,0).attackbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(304,1,4, { tex_index = 97 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX -baseX1 , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(304,1,0).hurtbox , attackbox = pat:get_frame(304,1,0).attackbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(304,2,0, { tex_index = 98 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX -baseX1 , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(304,1,0).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(304,2,1, { tex_index = 99 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX -baseX1 , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(304,1,0).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(304,2,2, { tex_index = 100 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX -baseX0 , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(304,0,1).hurtbox , collision = pat:get_frame(1,0,1).collision }) pat:update_frame(304,2,3, { tex_index = 91 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX -baseX0 , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(304,0,1).hurtbox , collision = pat:get_frame(1,0,1).collision }) pat:update_frame(304,2,4, { tex_index = 90 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(304,3,0, { tex_index = 93 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX -baseX1 , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(304,1,0).hurtbox , attackbox = pat:get_frame(304,1,0).attackbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(304,3,1, { tex_index = 94 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX -baseX1 , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(304,1,0).hurtbox , attackbox = pat:get_frame(304,1,0).attackbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(304,3,2, { tex_index = 95 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX -baseX1 , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(304,1,0).hurtbox , attackbox = pat:get_frame(304,1,0).attackbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(304,3,3, { tex_index = 96 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX -baseX1 , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(304,1,0).hurtbox , attackbox = pat:get_frame(304,1,0).attackbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(304,3,4, { tex_index = 97 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX -baseX1 , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(304,1,0).hurtbox , attackbox = pat:get_frame(304,1,0).attackbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(304,4,0, { tex_index = 98 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX -baseX1 , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(304,1,0).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(304,4,1, { tex_index = 99 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX -baseX1 , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(304,1,0).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(304,4,2, { tex_index = 100 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX -baseX0 , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(304,0,1).hurtbox , collision = pat:get_frame(1,0,1).collision }) pat:update_frame(304,4,3, { tex_index = 91 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX -baseX0 , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(304,0,1).hurtbox , collision = pat:get_frame(1,0,1).collision }) pat:update_frame(304,4,4, { tex_index = 91 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX -baseX0 , tex_offset_y = baseY , duration = 1 , hurtbox = pat:get_frame(304,0,1).hurtbox , collision = pat:get_frame(1,0,1).collision }) pat:update_frame(304,4,5, { tex_index = 90 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(1,0,1).collision }) pat:update_frame(304,4,6, { tex_index = 90 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 1 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(1,0,1).collision }) end function mods.n5aaa(pat) local baseX = 128 local baseY = 256 local baseW = 128 local baseH = 160 pat:split_frame(321,0,8,1,1) pat:split_frame(321,0,8,1,1) pat:remove_frame(321,0,6) pat:remove_frame(321,0,6) pat:split_frame(321,0,5,1,1) pat:split_frame(321,0,5,1,1) pat:update_frame(321,0,0, { tex_index = 308 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(321,0,1, { tex_index = 309 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2+1 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(321,0,2, { tex_index = 309 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 1 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(321,0,3, { tex_index = 336 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(301,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(321,0,4, { tex_index = 336 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 1 , hurtbox = pat:get_frame(301,0,4).hurtbox , attackbox = pat:get_frame(0,0,0).attackbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(321,0,5, { tex_index = 337 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(301,0,6).hurtbox , attackbox = pat:get_frame(301,0,6).attackbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(321,0,6, { tex_index = 338 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(301,0,6).hurtbox , attackbox = pat:get_frame(301,0,6).attackbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(321,0,7, { tex_index = 339 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(301,0,6).hurtbox , attackbox = pat:get_frame(301,0,6).attackbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(321,0,8, { tex_index = 340 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4+2 , hurtbox = pat:get_frame(301,0,6).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(321,0,9, { tex_index = 341 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(301,0,6).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(321,0,10, { tex_index = 316 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(301,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) for idx = 5 , 7 do pat:update_frame(321,0,idx,function(frame) frame.hit_ani_air = 71 frame.hit_ani_ground = 0 frame.combo_correction = CC_NONE frame.launch_vector_x = 600 frame.launch_vector_y = 600 frame.untech = 25 frame.damage = 450 frame.sp_damage = 200 frame.proration = 920 frame.attack_level = AL_MEDIUM frame.limit = 0 end) end pat:remove_frame(321,0,9) pat:remove_frame(321,0,2) end function mods.n5aaaa(pat) local baseX = 128 local baseY = 256 local baseW = 128 local baseH = 160 pat:split_frame(322,0,5,1,1) pat:split_frame(322,0,5,1,1) pat:update_frame(322,0,0, { tex_index = 43 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(322,0,1, { tex_index = 43 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(322,0,2, { tex_index = 44 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 6-1 , hurtbox = pat:get_frame(302,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(322,0,3, { tex_index = 45 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 1 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(322,0,4, { tex_index = 45 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 1 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(322,0,5, { tex_index = 53 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(302,1,1).hurtbox , attackbox = pat:get_frame(302,1,1).attackbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(322,0,6, { tex_index = 15 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(302,1,2).hurtbox , attackbox = pat:get_frame(302,1,2).attackbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(322,0,7, { tex_index = 16 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(302,1,3).hurtbox , attackbox = pat:get_frame(302,1,3).attackbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(322,0,8, { tex_index = 17 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(302,1,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(322,0,9, { tex_index = 17 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(302,1,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(322,0,10, { tex_index = 18 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(302,1,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(322,0,11, { tex_index = 18 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(302,1,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(322,0,12, { tex_index = 51 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(302,1,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(322,0,13, { tex_index = 51 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(302,1,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(322,0,14, { tex_index = 52 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) for idx = 5 , 7 do pat:update_frame(322,0,idx,function(frame) frame.hit_ani_air = 74 frame.hit_ani_ground = 74 frame.combo_correction = CC_SMASH_ATTACK frame.launch_vector_x = 3000 frame.launch_vector_y = 1000 frame.untech = 60 frame.damage = 800 frame.sp_damage = 200 frame.proration = 800 frame.limit = 40 end) end end function mods.nj5a(pat) local baseX = 128 local baseY = 256 local baseW = 128 local baseH = 160 local baseY0 = 10 pat:remove_frame(306,0,6) pat:split_frame(306,0,5,1,1) pat:update_frame(306,0,0, { tex_index = 54 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY0 , duration = 2 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(306,0,1, { tex_index = 54 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY0 , duration = 2 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(306,0,2, { tex_index = 55 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY0 , duration = 2 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(306,0,3, { tex_index = 55 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY0 , duration = 4 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(306,0,4, { tex_index = 56 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY0 , duration = 5 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(306,0,4,function(frame) frame.hurtbox[1].x1 = frame.hurtbox[1].x1 + 10 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 + 5 frame.hurtbox[1].y1 = frame.hurtbox[1].y1 + 5 frame.hurtbox[1].y2 = frame.hurtbox[1].y1 + 125 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 + 5 frame.hurtbox[2].y1 = frame.hurtbox[1].y1 + 40 frame.hurtbox[2].y2 = frame.hurtbox[2].y1 + 40 --[[ frame.hurtbox[3] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[3].x1 = frame.hurtbox[1].x1 + 10 frame.hurtbox[3].x2 = frame.hurtbox[1].x2 + 10 frame.hurtbox[3].y1 = frame.hurtbox[1].y2 - 10 frame.hurtbox[3].y2 = frame.hurtbox[3].y1 + 40]]-- frame.hurtbox[3] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[3].x1 = frame.hurtbox[1].x2 - 10 frame.hurtbox[3].x2 = frame.hurtbox[3].x1 + 40 frame.hurtbox[3].y1 = frame.hurtbox[2].y1 - 10 frame.hurtbox[3].y2 = frame.hurtbox[2].y2 - 5 frame.attackbox = pat:get_frame(0,0,0).hurtbox frame.attackbox[1].x1 = frame.hurtbox[3].x1 - 5 frame.attackbox[1].x2 = frame.hurtbox[3].x2 + 15 frame.attackbox[1].y1 = frame.hurtbox[3].y1 - 5 frame.attackbox[1].y2 = frame.hurtbox[3].y2 + 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 + 25 frame.attackbox[2].y1 = frame.attackbox[1].y1 + 10 frame.attackbox[2].y2 = frame.attackbox[1].y2 + 25 end) pat:update_frame(306,0,5, { tex_index = 57 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY0 , duration = 5 , hurtbox = pat:get_frame(306,0,4).hurtbox , attackbox = pat:get_frame(306,0,4).attackbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(306,0,6, { tex_index = 58 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY0 , duration = 5 , hurtbox = pat:get_frame(306,0,4).hurtbox , attackbox = pat:get_frame(306,0,4).attackbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(306,0,7, { tex_index = 59 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY0 , duration = 5 , hurtbox = pat:get_frame(306,0,4).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(306,0,8, { tex_index = 60 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY0 , duration = 5 , hurtbox = pat:get_frame(306,0,4).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(306,0,9, { tex_index = 61 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY0 , duration = 5 , hurtbox = pat:get_frame(306,0,4).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(306,0,10, { tex_index = 62 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY0 , duration = 3 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(306,0,11, { tex_index = 62 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY0 , duration = 2 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) end function mods.nj5a_unused(pat) pat:update_frame(306,0,0, { tex_index = 54 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY -baseY0 , duration = 2 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(306,0,1, { tex_index = 54 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY -baseY0 , duration = 2 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(306,0,2, { tex_index = 55 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY -baseY0 , duration = 2 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(306,0,3, { tex_index = 55 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY -baseY0 , duration = 4 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) baseX = 160 baseY = 256 baseW = 160 baseH = 160 pat:update_frame(306,0,4, { tex_index = 458 , 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(306,0,4,function(frame) frame.hurtbox[1].x1 = frame.hurtbox[1].x1 + 10 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 + 5 frame.hurtbox[1].y1 = frame.hurtbox[1].y1 + 5 frame.hurtbox[1].y2 = frame.hurtbox[1].y1 + 125 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 + 5 frame.hurtbox[2].y1 = frame.hurtbox[1].y1 + 40 frame.hurtbox[2].y2 = frame.hurtbox[2].y1 + 40 --[[ frame.hurtbox[3] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[3].x1 = frame.hurtbox[1].x1 + 10 frame.hurtbox[3].x2 = frame.hurtbox[1].x2 + 10 frame.hurtbox[3].y1 = frame.hurtbox[1].y2 - 10 frame.hurtbox[3].y2 = frame.hurtbox[3].y1 + 40]]-- frame.hurtbox[3] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[3].x1 = frame.hurtbox[1].x2 - 10 frame.hurtbox[3].x2 = frame.hurtbox[3].x1 + 40 frame.hurtbox[3].y1 = frame.hurtbox[2].y1 - 10 frame.hurtbox[3].y2 = frame.hurtbox[2].y2 - 5 frame.attackbox = pat:get_frame(0,0,0).hurtbox frame.attackbox[1].x1 = frame.hurtbox[3].x1 - 5 frame.attackbox[1].x2 = frame.hurtbox[3].x2 + 15 frame.attackbox[1].y1 = frame.hurtbox[3].y1 - 5 frame.attackbox[1].y2 = frame.hurtbox[3].y2 + 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 + 25 frame.attackbox[2].y1 = frame.attackbox[1].y1 + 10 frame.attackbox[2].y2 = frame.attackbox[1].y2 + 25 end) pat:update_frame(306,0,5, { tex_index = 459 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 , hurtbox = pat:get_frame(306,0,4).hurtbox , attackbox = pat:get_frame(306,0,4).attackbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(306,0,6, { tex_index = 460 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 , hurtbox = pat:get_frame(306,0,4).hurtbox , attackbox = pat:get_frame(306,0,4).attackbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(306,0,7, { tex_index = 461 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 , hurtbox = pat:get_frame(306,0,4).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(306,0,8, { tex_index = 462 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 , hurtbox = pat:get_frame(306,0,4).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(306,0,9, { tex_index = 463 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 , hurtbox = pat:get_frame(306,0,4).hurtbox , collision = pat:get_frame(6,1,0).collision }) baseX = 128 baseY = 256 baseW = 128 baseH = 160 pat:update_frame(306,0,10, { tex_index = 464 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY -baseY0 , duration = 3 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(306,0,11, { tex_index = 464 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY -baseY0 , duration = 2 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) end function mods.nj6a(pat) local baseX = 128 local baseY = 256 local baseW = 128 local baseH = 160 local baseY0 = -32 local baseY1 = -48 local baseY2 = -12 for idx = 10 , 15 do pat:split_frame(307,0,9,1,1) end for idx = 7 , 10 do pat:split_frame(307,0,6,1,1) end pat:remove_frame(307,0,11) pat:remove_frame(307,0,11) pat:remove_frame(307,0,11) pat:remove_frame(307,0,11) pat:update_frame(307,0,0, { tex_index = 90 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY -baseY2 , duration = 2 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(307,0,0,function(frame) frame.hurtbox[1].y1 = frame.hurtbox[1].y1 + 20 end) pat:update_frame(307,0,1, { tex_index = 90 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY -baseY2 , duration = 2 , hurtbox = pat:get_frame(307,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(307,0,2, { tex_index = 91 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY -baseY0 , duration = 2 , hurtbox = pat:get_frame(304,0,1).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(307,0,2,function(frame) for idy = 1 , 2 do frame.hurtbox[idy].x1 = frame.hurtbox[idy].x1 - 24 frame.hurtbox[idy].x2 = frame.hurtbox[idy].x2 - 24 frame.hurtbox[idy].y1 = frame.hurtbox[idy].y1 - 32 frame.hurtbox[idy].y2 = frame.hurtbox[idy].y2 - 32 end frame.hurtbox[1].y1 = frame.hurtbox[1].y1 + 20 end) pat:update_frame(307,0,3, { tex_index = 91 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY -baseY0 , duration = 2 , hurtbox = pat:get_frame(307,0,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(307,0,4, { tex_index = 92 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY -baseY0 , duration = 2 , hurtbox = pat:get_frame(307,0,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(307,0,5, { tex_index = 92 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY -baseY0 , duration = 2 , hurtbox = pat:get_frame(307,0,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(307,0,6, { tex_index = 93 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY -baseY1 , duration = 4 , hurtbox = pat:get_frame(304,1,0).hurtbox , attackbox = pat:get_frame(304,1,0).attackbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(307,0,6,function(frame) for idy = 1 , 3 do frame.hurtbox[idy].x1 = frame.hurtbox[idy].x1 - 40 frame.hurtbox[idy].x2 = frame.hurtbox[idy].x2 - 40 frame.hurtbox[idy].y1 = frame.hurtbox[idy].y1 - 48 frame.hurtbox[idy].y2 = frame.hurtbox[idy].y2 - 48 end frame.hurtbox[1].y1 = frame.hurtbox[1].y1 + 20 --frame.attackbox[1].x1 = frame.attackbox[1].x1 - 40 frame.attackbox[1].x2 = frame.attackbox[1].x2 - 40 frame.attackbox[1].y1 = frame.attackbox[1].y1 - 48 -15 frame.attackbox[1].y2 = frame.attackbox[1].y2 - 48 -8 +15 end) pat:update_frame(307,0,7, { tex_index = 94 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY -baseY1 , duration = 4 , hurtbox = pat:get_frame(307,0,6).hurtbox , attackbox = pat:get_frame(307,0,6).attackbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(307,0,8, { tex_index = 95 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY -baseY1 , duration = 4 , hurtbox = pat:get_frame(307,0,6).hurtbox , attackbox = pat:get_frame(307,0,6).attackbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(307,0,9, { tex_index = 96 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY -baseY1 , duration = 4 , hurtbox = pat:get_frame(307,0,6).hurtbox , attackbox = pat:get_frame(307,0,6).attackbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(307,0,10, { tex_index = 97 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY -baseY1 , duration = 4 , hurtbox = pat:get_frame(307,0,6).hurtbox , attackbox = pat:get_frame(307,0,6).attackbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(307,0,11, { tex_index = 98 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY -baseY1 , duration = 4 , hurtbox = pat:get_frame(307,0,6).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(307,0,12, { tex_index = 99 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY -baseY1 , duration = 4 , hurtbox = pat:get_frame(307,0,6).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(307,0,13, { tex_index = 100 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY -baseY0 , duration = 4 , hurtbox = pat:get_frame(307,0,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(307,0,14, { tex_index = 91 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY -baseY0 , duration = 4 , hurtbox = pat:get_frame(307,0,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(307,0,15, { tex_index = 90 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY -baseY2 , duration = 4 , hurtbox = pat:get_frame(307,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) end function mods.nj2a(pat) local baseX = 128 local baseY = 256 local baseW = 128 local baseH = 160 local baseY0 = -0 pat:remove_frame(308,0,12) pat:split_frame(308,0,11,1,1) pat:split_frame(308,1,2,1,1) pat:split_frame(308,1,2,1,1) pat:split_frame(308,1,2,1,1) pat:split_frame(308,0,14,1,1) pat:update_frame(308,0,0, { tex_index = 65 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY -baseY0 , duration = 2 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(308,0,0,function(frame) frame.hurtbox[1].y1 = frame.hurtbox[1].y1 + 10 frame.hurtbox[1].x1 = frame.hurtbox[1].x1 - 5 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 - 5 frame.hurtbox[1].y2 = frame.hurtbox[1].y1 + 80 frame.hurtbox[2] = pat:get_frame(6,1,0).hurtbox[1] frame.hurtbox[2].x1 = frame.hurtbox[2].x1 + 5 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 + 5 frame.hurtbox[2].y1 = frame.hurtbox[1].y2 - 5 frame.hurtbox[2].y2 = frame.hurtbox[2].y2 + 10 end) pat:update_frame(308,0,1, { tex_index = 65 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY -baseY0 , duration = 2 , hurtbox = pat:get_frame(308,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(308,0,2, { tex_index = 66 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY -baseY0 , duration = 1 , hurtbox = pat:get_frame(308,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(308,0,2,function(frame) frame.hurtbox[1].x1 = frame.hurtbox[1].x1 - 10 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 - 10 frame.hurtbox[1].y1 = frame.hurtbox[1].y1 + 20 frame.hurtbox[3] = pat:get_frame(6,1,0).hurtbox[1] frame.hurtbox[3].x2 = frame.hurtbox[2].x1 + 5 frame.hurtbox[3].x1 = frame.hurtbox[3].x2 - 50 frame.hurtbox[3].y1 = frame.hurtbox[1].y1 + 10 frame.hurtbox[3].y2 = frame.hurtbox[3].y1 + 50 end) pat:update_frame(308,0,3, { tex_index = 66 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY -baseY0 , duration = 2 , hurtbox = pat:get_frame(308,0,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(308,0,4, { tex_index = 67 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY -baseY0 , duration = 1 , hurtbox = pat:get_frame(308,0,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(308,0,5, { tex_index = 67 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY -baseY0 , duration = 2 , hurtbox = pat:get_frame(308,0,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(308,0,6, { tex_index = 68 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY -baseY0 , duration = 1 , hurtbox = pat:get_frame(308,0,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(308,0,7, { tex_index = 68 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY -baseY0 , duration = 2 , hurtbox = pat:get_frame(308,0,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(308,0,8, { tex_index = 69 , 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(308,0,8,function(frame) frame.hurtbox[1].x1 = frame.hurtbox[1].x1 + 20 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 + 35 frame.hurtbox[1].y1 = frame.hurtbox[1].y1 + 40 frame.hurtbox[1].y2 = frame.hurtbox[1].y1 + 60 frame.hurtbox[2] = pat:get_frame(6,1,0).hurtbox[1] frame.hurtbox[2].y1 = frame.hurtbox[2].y1 + 45 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 - 5 frame.hurtbox[2].y2 = frame.hurtbox[2].y2 + 20 frame.hurtbox[3] = pat:get_frame(6,1,0).hurtbox[1] frame.hurtbox[3].x1 = frame.hurtbox[3].x1 - 50 frame.hurtbox[3].x2 = frame.hurtbox[2].x1 + 5 frame.hurtbox[3].y1 = frame.hurtbox[2].y1 + 60 frame.hurtbox[3].y2 = frame.hurtbox[3].y1 + 40 end) pat:update_frame(308,0,9, { tex_index = 69 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(308,0,8).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(308,0,10, { tex_index = 70 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(308,0,10,function(frame) frame.hurtbox[1].y1 = frame.hurtbox[1].y1 + 30 frame.hurtbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[2].x1 = frame.hurtbox[2].x1 + 40 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 + 35 frame.hurtbox[2].y1 = frame.hurtbox[2].y1 + 35 frame.hurtbox[2].y2 = frame.hurtbox[2].y1 + 55 frame.hurtbox[3] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[3].x1 = frame.hurtbox[1].x1 - 30 frame.hurtbox[3].x2 = frame.hurtbox[1].x1 + 5 frame.hurtbox[3].y1 = frame.hurtbox[1].y1 - 20 frame.hurtbox[3].y2 = frame.hurtbox[3].y1 + 40 frame.attackbox[2].x1 = frame.attackbox[1].x1 + 25 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].y1 + 20 frame.attackbox[1].y2 = frame.attackbox[1].y2 + 0 end) pat:update_frame(308,0,11, { tex_index = 71 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(308,0,10).hurtbox , attackbox = pat:get_frame(308,0,10).attackbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(308,0,12, { tex_index = 19 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(308,0,10).hurtbox , attackbox = pat:get_frame(308,0,10).attackbox , collision = pat:get_frame(6,1,0).collision }) for idx = 10 , 12 do pat:update_frame(308,0,idx,function(frame) frame.hit_ani_air = 73 frame.hit_ani_ground = 73 frame.launch_vector_x = 0 frame.launch_vector_y = -2000 frame.damage = 850 end) end for idx = 1 , 5 do pat:split_frame(308,0,12,1,1) pat:split_frame(308,0,12,1,1) pat:split_frame(308,0,12,1,1) pat:update_frame(308,0,13, { tex_index = 70 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(308,0,10).hurtbox , attackbox = pat:get_frame(308,0,10).attackbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(308,0,14, { tex_index = 71 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(308,0,10).hurtbox , attackbox = pat:get_frame(308,0,10).attackbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(308,0,15, { tex_index = 19 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(308,0,10).hurtbox , attackbox = pat:get_frame(308,0,10).attackbox , collision = pat:get_frame(6,1,0).collision }) end pat:update_frame(308,1,0, { tex_index = 19 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(308,0,10).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(308,1,0,function(frame) frame.hurtbox[1].y2 = 0 end) pat:update_frame(308,1,1, { tex_index = 20 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(308,1,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(308,1,2, { tex_index = 21 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(308,1,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(308,1,3, { tex_index = 22 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(308,1,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(308,1,4, { tex_index = 23 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(308,1,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(308,1,5, { tex_index = 24 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 , hurtbox = pat:get_frame(308,0,8).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(308,1,5,function(frame) frame.hurtbox[2].y2 = 0 end) pat:get_sequence(308,0):set_priority(20,100) pat:get_sequence(308,1):set_priority(20,100) end function mods.nj8a(pat) local baseX = 128 local baseY = 256 local baseW = 128 local baseH = 160 local baseY0 = 24 local baseX0 = 12 pat:update_frame(309,0,0, { tex_index = 72 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX +baseX0 , tex_offset_y = baseY +baseY0 , duration = 2 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(309,0,0,function(frame) frame.hurtbox[1].x1 = frame.hurtbox[1].x1 + 15 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 + 15 end) pat:update_frame(309,0,1, { tex_index = 72 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX +baseX0 , tex_offset_y = baseY +baseY0 , duration = 1 , hurtbox = pat:get_frame(309,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(309,0,2, { tex_index = 73 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX +baseX0 , tex_offset_y = baseY +baseY0 , duration = 3 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(309,0,2,function(frame) frame.hurtbox[2] = pat:get_frame(309,0,0).hurtbox[1] frame.hurtbox[2].y1 = frame.hurtbox[2].y1 + 20 frame.hurtbox[2].y2 = frame.hurtbox[2].y1 + 60 frame.hurtbox[1].y1 = frame.hurtbox[1].y1 + 80 end) pat:update_frame(309,0,3, { tex_index = 73 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX +baseX0 , tex_offset_y = baseY +baseY0 , duration = 3 , hurtbox = pat:get_frame(309,0,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(309,0,4, { tex_index = 72 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX +baseX0 , tex_offset_y = baseY +baseY0 , duration = 2 , hurtbox = pat:get_frame(309,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(309,0,5, { tex_index = 72 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX +baseX0 , tex_offset_y = baseY +baseY0 , duration = 1 , hurtbox = pat:get_frame(309,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(309,1,0, { tex_index = 74 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX +baseX0 , tex_offset_y = baseY +baseY0 , duration = 5 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(309,1,0,function(frame) 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 + 50 frame.hurtbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[2].x1 = frame.hurtbox[2].x1 + 10 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 + 10 frame.hurtbox[2].y1 = frame.hurtbox[1].y2 - 10 frame.hurtbox[2].y2 = frame.hurtbox[2].y1 + 50 frame.hurtbox[3] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[3].x1 = frame.hurtbox[3].x1 + 10 frame.hurtbox[3].y1 = -120 frame.hurtbox[3].y2 = -45 frame.attackbox[1].x1 = -60 frame.attackbox[1].x2 = 0 frame.attackbox[1].y1 = frame.hurtbox[1].y1 - 20 frame.attackbox[1].y2 = frame.attackbox[1].y1 + 70 frame.attackbox[2].x1 = -30 frame.attackbox[2].x2 = 70 frame.attackbox[2].y1 = frame.attackbox[1].y1 - 20 frame.attackbox[2].y2 = frame.attackbox[2].y1 + 50 frame.attackbox[3] = pat:get_frame(0,0,0).hurtbox[1] frame.attackbox[3].x1 = 40 frame.attackbox[3].x2 = 100 frame.attackbox[3].y1 = frame.attackbox[1].y1 + 10 frame.attackbox[3].y2 = frame.attackbox[3].y1 + 70 end) pat:update_frame(309,1,1, { tex_index = 75 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX +baseX0 , tex_offset_y = baseY +baseY0 , duration = 5 , hurtbox = pat:get_frame(309,1,0).hurtbox , attackbox = pat:get_frame(309,1,0).attackbox , collision = pat:get_frame(6,1,0).collision }) pat:remove_frame(309,1,2) pat:update_frame(309,2,0,function(frame) frame.attackbox = pat:get_frame(309,1,0).attackbox frame.damage = pat:get_frame(309,1,0).damage frame.chip_damage = pat:get_frame(309,1,0).chip_damage frame.untech = pat:get_frame(309,1,0).untech frame.aflags = pat:get_frame(309,1,0).aflags frame.fflags = pat:get_frame(309,1,0).fflags frame.limit = pat:get_frame(309,1,0).limit frame.combo_correction = pat:get_frame(309,1,0).combo_correction frame.hit_ani_air = pat:get_frame(309,1,0).hit_ani_air frame.hit_ani_ground = pat:get_frame(309,1,0).hit_ani_ground frame.proration = pat:get_frame(309,1,0).proration frame.sp_damage = pat:get_frame(309,1,0).sp_damage frame.attack_level = pat:get_frame(309,1,0).attack_level frame.card_gain_hit = pat:get_frame(309,1,0).card_gain_hit frame.card_gain_block = pat:get_frame(309,1,0).card_gain_block frame.launch_vector_x = pat:get_frame(309,1,0).launch_vector_x frame.launch_vector_y = pat:get_frame(309,1,0).launch_vector_y frame.hit_sfx = pat:get_frame(309,1,0).hit_sfx frame.hit_effect = pat:get_frame(309,1,0).hit_effect frame.unknown_9 = 100 frame.hitstop_self = pat:get_frame(309,1,0).hitstop_self frame.hitstop_enemy = pat:get_frame(309,1,0).hitstop_enemy frame.blockstop_self = pat:get_frame(309,1,0).blockstop_self frame.blockstop_enemy = pat:get_frame(309,1,0).blockstop_enemy end) pat:split_frame(309,2,0,1,1) --pat:split_frame(309,2,5,1,1) pat:update_frame(309,2,0, { tex_index = 76 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX +baseX0 , tex_offset_y = baseY +baseY0 , duration = 5 , hurtbox = pat:get_frame(309,1,0).hurtbox , attackbox = pat:get_frame(309,1,0).attackbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(309,2,1, { tex_index = 77 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX +baseX0 , tex_offset_y = baseY +baseY0 , duration = 5 , hurtbox = pat:get_frame(309,1,0).hurtbox , attackbox = pat:get_frame(309,1,0).attackbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(309,2,2, { tex_index = 78 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX +baseX0 , tex_offset_y = baseY +baseY0 , duration = 5 , hurtbox = pat:get_frame(309,1,0).hurtbox , attackbox = pat:get_frame(0,0,0).attackbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(309,2,3, { tex_index = 79 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX +baseX0 , tex_offset_y = baseY +baseY0 , duration = 5 , hurtbox = pat:get_frame(309,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(309,2,4, { tex_index = 80 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX +baseX0 , tex_offset_y = baseY +baseY0 , duration = 4 , hurtbox = pat:get_frame(309,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(309,2,5, { tex_index = 81 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX +baseX0 , tex_offset_y = baseY +baseY0 , duration = 4 , hurtbox = pat:get_frame(309,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(309,2,6, { tex_index = 80 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX +baseX0 , tex_offset_y = baseY +baseY0 , duration = 4 , hurtbox = pat:get_frame(309,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) --pat:update_frame(309,2,7, { tex_index = 81 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX +baseX0 , tex_offset_y = baseY +baseY0 , duration = 4 , hurtbox = pat:get_frame(309,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(309,3,0, { tex_index = 286 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX +baseX0 , tex_offset_y = baseY +baseY0 , duration = 5 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) --pat:update_frame(309,3,0, { tex_index = 284 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 , hurtbox = pat:get_frame(7,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(309,3,1, { tex_index = 274 , 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 }) end function mods.systems(pat) local baseX = 128 local baseX0 = 128 local baseY = 256 local baseW = 128 local baseH = 160 pat:split_frame(690,1,10,1,1) pat:update_frame(690,0,0, { tex_index = 506 , tex_w = baseW , tex_h = baseH , tex_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 = 507 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 1 }) pat:update_frame(690,0,2, { tex_index = 507 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) pat:update_frame(690,0,3, { tex_index = 507 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 1 }) pat:update_frame(690,0,4, { tex_index = 506 , tex_w = baseW , tex_h = baseH , tex_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 = 508 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(690,1,1, { tex_index = 509 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(690,1,2, { tex_index = 508 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(690,1,3, { tex_index = 509 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(690,1,4, { tex_index = 508 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(690,1,5, { tex_index = 509 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(690,1,6, { tex_index = 508 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(690,1,7, { tex_index = 509 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(690,1,8, { tex_index = 508 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(690,1,9, { tex_index = 506 , tex_w = baseW , tex_h = baseH , tex_offset_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,10, { tex_index = 507 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(690,1,11, { tex_index = 213 , tex_w = baseW , tex_h = baseH , tex_offset_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(691,1,10,1,1) pat:update_frame(691,0,0, { tex_index = 506 , tex_w = baseW , tex_h = baseH , tex_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 = 507 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 1 }) pat:update_frame(691,0,2, { tex_index = 507 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) pat:update_frame(691,0,3, { tex_index = 507 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 1 }) pat:update_frame(691,0,4, { tex_index = 506 , tex_w = baseW , tex_h = baseH , tex_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 = 508 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(691,1,1, { tex_index = 509 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(691,1,2, { tex_index = 508 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(691,1,3, { tex_index = 509 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(691,1,4, { tex_index = 508 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(691,1,5, { tex_index = 509 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(691,1,6, { tex_index = 508 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(691,1,7, { tex_index = 509 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(691,1,8, { tex_index = 508 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(691,1,9, { tex_index = 506 , tex_w = baseW , tex_h = baseH , tex_offset_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,10, { tex_index = 507 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(691,1,11, { tex_index = 213 , tex_w = baseW , tex_h = baseH , tex_offset_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,2,2,1,1) pat:update_frame(692,0,0, { tex_index = 506 , tex_w = baseW , tex_h = baseH , tex_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,1, { tex_index = 507 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(692,0,2, { tex_index = 507 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(692,0,3, { tex_index = 507 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 8 }) pat:update_frame(692,0,4, { tex_index = 506 , tex_w = baseW , tex_h = baseH , tex_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,1,0, { tex_index = 508 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(692,1,1, { tex_index = 509 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(692,2,0, { tex_index = 508 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(692,2,1, { tex_index = 506 , tex_w = baseW , tex_h = baseH , tex_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(692,2,2, { tex_index = 507 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 6 }) pat:update_frame(692,2,3, { tex_index = 213 , tex_w = baseW , tex_h = baseH , tex_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(695,0,14,1,1) pat:split_frame(695,0,14,1,1) pat:update_frame(695,0,0, { tex_index = 506 , tex_w = baseW , tex_h = baseH , tex_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 = 507 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 1 }) pat:update_frame(695,0,2, { tex_index = 507 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(695,0,3, { tex_index = 507 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 1 }) pat:update_frame(695,0,4, { tex_index = 506 , tex_w = baseW , tex_h = baseH , tex_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,5, { tex_index = 508 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(695,0,6, { tex_index = 509 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(695,0,7, { tex_index = 508 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(695,0,8, { tex_index = 509 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(695,0,9, { tex_index = 508 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(695,0,10, { tex_index = 509 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(695,0,11, { tex_index = 508 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(695,0,12, { tex_index = 509 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(695,0,13, { tex_index = 508 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(695,0,14, { tex_index = 506 , tex_w = baseW , tex_h = baseH , tex_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,15, { tex_index = 507 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 5 }) pat:update_frame(695,0,16, { tex_index = 213 , tex_w = baseW , tex_h = baseH , tex_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:remove_frame(696,0,13) pat:split_frame(696,0,5,1,1) pat:split_frame(696,0,5,1,1) pat:update_frame(696,0,0, { tex_index = 43 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(302,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(696,0,1, { tex_index = 44 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(302,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(696,0,2, { tex_index = 44 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 17 , hurtbox = pat:get_frame(302,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(696,0,3, { tex_index = 44 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 1 , hurtbox = pat:get_frame(302,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(696,0,4, { tex_index = 45 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(696,0,5, { tex_index = 53 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(302,1,1).hurtbox , attackbox = pat:get_frame(302,1,1).attackbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(696,0,6, { tex_index = 15 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(302,1,2).hurtbox , attackbox = pat:get_frame(302,1,2).attackbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(696,0,7, { tex_index = 16 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(302,1,3).hurtbox , attackbox = pat:get_frame(302,1,3).attackbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(696,0,8, { tex_index = 17 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(302,1,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(696,0,9, { tex_index = 17 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(302,1,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(696,0,10, { tex_index = 18 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(302,1,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(696,0,11, { tex_index = 18 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(302,1,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(696,0,12, { tex_index = 51 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(302,1,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(696,0,13, { tex_index = 51 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3+5 , hurtbox = pat:get_frame(302,1,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(696,0,14, { tex_index = 52 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) for idx = 5 , 7 do pat:update_frame(696,0,idx,function(frame) frame.launch_vector_x = 2000 frame.launch_vector_y = 1000 frame.combo_correction = CC_SMASH_ATTACK frame.hit_ani_air = 74 frame.hit_ani_ground = 74 end) end pat:split_frame(697,3,0,1,1) pat:split_frame(697,3,0,1,1) pat:update_frame(697,0,0, { tex_index = 43 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(302,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(697,0,1, { tex_index = 43 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(302,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(697,1,0, { tex_index = 44 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 10 , hurtbox = pat:get_frame(302,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(697,2,0, { tex_index = 44 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 1 , hurtbox = pat:get_frame(302,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(697,2,1, { tex_index = 45 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(697,2,2, { tex_index = 45 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(697,3,0, { tex_index = 53 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(302,1,1).hurtbox , attackbox = pat:get_frame(302,1,1).attackbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(697,3,1, { tex_index = 15 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(302,1,2).hurtbox , attackbox = pat:get_frame(302,1,2).attackbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(697,3,2, { tex_index = 16 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(302,1,3).hurtbox , attackbox = pat:get_frame(302,1,3).attackbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(697,3,3, { tex_index = 17 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(302,1,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(697,3,4, { tex_index = 17 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(302,1,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(697,3,5, { tex_index = 18 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(302,1,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(697,3,6, { tex_index = 18 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(302,1,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(697,3,7, { tex_index = 51 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(302,1,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(697,4,0, { tex_index = 51 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3+5 , hurtbox = pat:get_frame(302,1,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(697,4,1, { tex_index = 52 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) for idx = 0 , 2 do pat:update_frame(697,3,idx,function(frame) frame.launch_vector_x = 2000 frame.launch_vector_y = 1000 frame.combo_correction = CC_SMASH_ATTACK frame.hit_ani_air = 74 frame.hit_ani_ground = 74 end) end pat:split_frame(698,2,0,1,1) pat:split_frame(698,2,0,1,1) pat:update_frame(698,0,0, { tex_index = 43 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(302,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(698,0,1, { tex_index = 44 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(302,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(698,0,2, { tex_index = 44 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(302,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(698,1,0, { tex_index = 44 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(302,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(698,1,1, { tex_index = 45 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(698,1,2, { tex_index = 45 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(698,2,0, { tex_index = 53 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(302,1,1).hurtbox , attackbox = pat:get_frame(302,1,1).attackbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(698,2,1, { tex_index = 15 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(302,1,2).hurtbox , attackbox = pat:get_frame(302,1,2).attackbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(698,2,2, { tex_index = 16 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(302,1,3).hurtbox , attackbox = pat:get_frame(302,1,3).attackbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(698,2,3, { tex_index = 17 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(302,1,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(698,2,4, { tex_index = 17 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(302,1,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(698,2,5, { tex_index = 18 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(302,1,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(698,2,6, { tex_index = 18 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(302,1,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(698,2,7, { tex_index = 51 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(302,1,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(698,4,0, { tex_index = 51 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3+5 , hurtbox = pat:get_frame(302,1,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(698,4,1, { tex_index = 52 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) for idx = 0 , 2 do pat:update_frame(698,2,idx,function(frame) frame.launch_vector_x = 2000 frame.launch_vector_y = 1000 frame.combo_correction = CC_SMASH_ATTACK frame.hit_ani_air = 74 frame.hit_ani_ground = 74 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 = 308 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 , hurtbox = pat:get_frame(301,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(400,0,1, { tex_index = 309 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 , hurtbox = pat:get_frame(301,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(400,0,2, { tex_index = 310 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(301,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(400,0,3, { tex_index = 311 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(301,0,6).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(400,0,3,function(frame) frame.hurtbox[4].y1 = frame.hurtbox[4].y1 - 20 frame.hurtbox[4].y2 = frame.hurtbox[4].y2 - 20 end) pat:update_frame(400,0,4, { tex_index = 317 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(400,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(400,0,5, { tex_index = 318 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(400,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(400,0,6, { tex_index = 319 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3+1 , hurtbox = pat:get_frame(400,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(400,0,7, { tex_index = 320 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(400,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(400,0,8, { tex_index = 317 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(400,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(400,0,9, { tex_index = 318 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(400,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(400,0,10, { tex_index = 319 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(400,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(400,0,11, { tex_index = 320 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(400,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(400,0,12, { tex_index = 316 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(301,0,11).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(400,0,13, { tex_index = 316 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(301,0,11).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(400,1,0, { tex_index = 310 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 15 , hurtbox = pat:get_frame(301,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(400,1,1, { tex_index = 311 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(400,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(400,1,2, { tex_index = 317 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(400,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(400,1,3, { tex_index = 318 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(400,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(400,1,4, { tex_index = 319 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(400,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(400,1,5, { tex_index = 320 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(400,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(400,1,6, { tex_index = 317 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(400,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(400,1,7, { tex_index = 318 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(400,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(400,1,8, { tex_index = 319 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(400,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(400,1,9, { tex_index = 320 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(400,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(400,1,10, { tex_index = 317 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(400,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(400,1,11, { tex_index = 318 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(400,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(400,1,12, { tex_index = 319 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(400,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(400,1,13, { tex_index = 320 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(400,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(400,1,14, { tex_index = 317 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(400,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(400,1,15, { tex_index = 318 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(400,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(400,1,16, { tex_index = 316 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(301,0,11).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(400,1,17, { tex_index = 316 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(301,0,11).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(400,1,0, { tex_index = 309 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 15 , hurtbox = pat:get_frame(301,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(401,0,0, { tex_index = 308 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 , hurtbox = pat:get_frame(400,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(401,0,1, { tex_index = 309 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 , hurtbox = pat:get_frame(400,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(401,0,2, { tex_index = 310 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(400,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(401,0,3, { tex_index = 313 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(400,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(401,0,3,function(frame) frame.hurtbox[4].y1 = frame.hurtbox[4].y1 - 20 frame.hurtbox[4].y2 = frame.hurtbox[4].y2 - 20 end) pat:update_frame(401,0,4, { tex_index = 322 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(401,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(401,0,5, { tex_index = 323 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(401,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(401,0,6, { tex_index = 324 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3+1 , hurtbox = pat:get_frame(401,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(401,0,7, { tex_index = 325 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(401,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(401,0,8, { tex_index = 322 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(401,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(401,0,9, { tex_index = 323 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(401,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(401,0,10, { tex_index = 324 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(401,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(401,0,11, { tex_index = 325 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(401,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(401,0,12, { tex_index = 316 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(400,0,12).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(401,0,13, { tex_index = 316 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(400,0,13).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(401,1,0, { tex_index = 310 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 15 , hurtbox = pat:get_frame(400,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(401,1,1, { tex_index = 313 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(401,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(401,1,2, { tex_index = 322 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(401,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(401,1,3, { tex_index = 323 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(401,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(401,1,4, { tex_index = 324 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(401,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(401,1,5, { tex_index = 325 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(401,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(401,1,6, { tex_index = 322 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(401,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(401,1,7, { tex_index = 323 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(401,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(401,1,8, { tex_index = 324 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(401,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(401,1,9, { tex_index = 325 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(401,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(401,1,10, { tex_index = 322 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(401,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(401,1,11, { tex_index = 323 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(401,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(401,1,12, { tex_index = 324 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(401,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(401,1,13, { tex_index = 325 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(401,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(401,1,14, { tex_index = 322 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(401,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(401,1,15, { tex_index = 323 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(401,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(401,1,16, { tex_index = 316 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(400,0,12).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(401,1,17, { tex_index = 316 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(400,0,13).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(401,1,0, { tex_index = 309 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 15 , hurtbox = pat:get_frame(301,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) baseY = 256 - 40 pat:update_frame(402,0,0, { tex_index = 330 , 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(402,0,1, { tex_index = 330 , 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(402,0,2, { tex_index = 331 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(2,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(402,0,2,function(frame) frame.hurtbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[2].x1 = frame.hurtbox[1].x2 - 5 frame.hurtbox[2].x2 = frame.hurtbox[2].x1 + 55 frame.hurtbox[2].y1 = frame.hurtbox[1].y1 + 20 frame.hurtbox[2].y2 = frame.hurtbox[2].y1 + 40 end) pat:update_frame(402,0,3, { tex_index = 332 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(303,0,2).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(402,0,4, { tex_index = 437 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(402,0,3).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(402,0,5, { tex_index = 334 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(402,0,3).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(402,0,6, { tex_index = 335 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3+1 , hurtbox = pat:get_frame(402,0,3).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(402,0,7, { tex_index = 333 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(402,0,3).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(402,0,8, { tex_index = 334 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(402,0,3).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(402,0,9, { tex_index = 335 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(402,0,3).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(402,0,10, { tex_index = 333 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(402,0,3).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(402,0,11, { tex_index = 334 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(402,0,3).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(402,0,12, { tex_index = 335 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(402,0,3).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(402,0,13, { tex_index = 343 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(303,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(402,0,14, { tex_index = 343 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(303,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(402,1,0, { tex_index = 331 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 15 , hurtbox = pat:get_frame(402,0,2).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(402,1,1, { tex_index = 332 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(402,0,3).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(402,1,2, { tex_index = 437 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(402,0,3).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(402,1,3, { tex_index = 334 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(402,0,3).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(402,1,4, { tex_index = 335 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(402,0,3).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(402,1,5, { tex_index = 333 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(402,0,3).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(402,1,6, { tex_index = 334 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(402,0,3).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(402,1,7, { tex_index = 335 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(402,0,3).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(402,1,8, { tex_index = 333 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(402,0,3).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(402,1,9, { tex_index = 334 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(402,0,3).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(402,1,10, { tex_index = 335 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(402,0,3).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(402,1,11, { tex_index = 333 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(402,0,3).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(402,1,12, { tex_index = 334 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(402,0,3).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(402,1,13, { tex_index = 335 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(402,0,3).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(402,1,14, { tex_index = 333 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(402,0,3).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(402,1,15, { tex_index = 334 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(402,0,3).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(402,1,16, { tex_index = 335 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(402,0,3).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(402,1,17, { tex_index = 343 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(402,0,13).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(402,1,18, { tex_index = 343 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(402,0,13).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(402,1,0, { tex_index = 330 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 15 , hurtbox = pat:get_frame(2,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision }) baseY = 256 local baseY0 = 8 local baseY1 = 16 local baseX0 = 8 local baseX1 = 16 --[[ pat:update_frame(400,0,0, { tex_index = 308 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 , hurtbox = pat:get_frame(301,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(400,0,1, { tex_index = 309 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 , hurtbox = pat:get_frame(301,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(400,1,0, { tex_index = 310 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 15 , hurtbox = pat:get_frame(301,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(400,1,1, { tex_index = 311 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(400,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(400,1,2, { tex_index = 317 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(400,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(400,1,3, { tex_index = 318 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(400,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(400,1,4, { tex_index = 319 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(400,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(400,1,5, { tex_index = 320 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(400,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(400,1,6, { tex_index = 317 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(400,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(400,1,7, { tex_index = 318 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(400,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(400,1,8, { tex_index = 319 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(400,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(400,1,9, { tex_index = 320 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(400,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(400,1,10, { tex_index = 317 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(400,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(400,1,11, { tex_index = 318 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(400,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(400,1,12, { tex_index = 319 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(400,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(400,1,13, { tex_index = 320 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(400,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(400,1,14, { tex_index = 317 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(400,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(400,1,15, { tex_index = 318 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(400,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(400,1,16, { tex_index = 316 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(301,0,11).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(400,1,17, { tex_index = 316 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(301,0,11).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(400,1,0, { tex_index = 309 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 15 , hurtbox = pat:get_frame(301,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision })]]-- pat:update_frame(404,0,0, { tex_index = 308 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY0 , duration = 5 , hurtbox = pat:get_frame(400,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(404,0,0,function(frame) for idy = 1 , 1 do frame.hurtbox[idy].y1 = frame.hurtbox[idy].y1 - baseY0 frame.hurtbox[idy].y2 = frame.hurtbox[idy].y2 - baseY0 end frame.hurtbox[1].y2 = frame.hurtbox[1].y2 - 20 end) pat:update_frame(404,0,1, { tex_index = 309 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY0 , duration = 5 , hurtbox = pat:get_frame(404,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(404,0,2, { tex_index = 310 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX +baseX0 , tex_offset_y = baseY +baseY0 , duration = 2 , hurtbox = pat:get_frame(400,0,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(404,0,2,function(frame) for idy = 1 , 3 do frame.hurtbox[idy].x1 = frame.hurtbox[idy].x1 - baseX0 frame.hurtbox[idy].x2 = frame.hurtbox[idy].x2 - baseX0 frame.hurtbox[idy].y1 = frame.hurtbox[idy].y1 - baseY0 frame.hurtbox[idy].y2 = frame.hurtbox[idy].y2 - baseY0 end frame.hurtbox[1].y2 = frame.hurtbox[1].y2 - 20 frame.hurtbox[2].y2 = frame.hurtbox[2].y2 - 20 end) pat:update_frame(404,0,3, { tex_index = 311 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX +baseX1 , tex_offset_y = baseY +baseY1 , duration = 3 , hurtbox = pat:get_frame(400,0,3).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(404,0,3,function(frame) for idy = 1 , 4 do frame.hurtbox[idy].x1 = frame.hurtbox[idy].x1 - baseX1 frame.hurtbox[idy].x2 = frame.hurtbox[idy].x2 - baseX1 frame.hurtbox[idy].y1 = frame.hurtbox[idy].y1 - baseY1 frame.hurtbox[idy].y2 = frame.hurtbox[idy].y2 - baseY1 end frame.hurtbox[3].y2 = frame.hurtbox[3].y2 - 10 end) pat:update_frame(404,0,4, { tex_index = 317 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX +baseX1 , tex_offset_y = baseY +baseY1 , duration = 3 , hurtbox = pat:get_frame(404,0,3).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(404,0,5, { tex_index = 318 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX +baseX1 , tex_offset_y = baseY +baseY1 , duration = 3 , hurtbox = pat:get_frame(404,0,3).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(404,0,6, { tex_index = 319 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX +baseX1 , tex_offset_y = baseY +baseY1 , duration = 3 , hurtbox = pat:get_frame(404,0,3).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(404,0,7, { tex_index = 320 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX +baseX1 , tex_offset_y = baseY +baseY1 , duration = 3 , hurtbox = pat:get_frame(404,0,3).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(404,0,8, { tex_index = 317 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX +baseX1 , tex_offset_y = baseY +baseY1 , duration = 3 , hurtbox = pat:get_frame(404,0,3).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(404,0,9, { tex_index = 318 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX +baseX1 , tex_offset_y = baseY +baseY1 , duration = 3 , hurtbox = pat:get_frame(404,0,3).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(404,0,10, { tex_index = 319 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX +baseX1 , tex_offset_y = baseY +baseY1 , duration = 3 , hurtbox = pat:get_frame(404,0,3).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(404,0,11, { tex_index = 320 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX +baseX1 , tex_offset_y = baseY +baseY1 , duration = 3 , hurtbox = pat:get_frame(404,0,3).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(404,0,12, { tex_index = 342 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(404,0,13, { tex_index = 342 , 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(404,1,0, { tex_index = 310 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX +baseX0 , tex_offset_y = baseY +baseY0 , duration = 2 , hurtbox = pat:get_frame(404,0,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(404,1,1, { tex_index = 311 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX +baseX1 , tex_offset_y = baseY +baseY1 , duration = 3 , hurtbox = pat:get_frame(404,0,3).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(404,1,2, { tex_index = 317 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX +baseX1 , tex_offset_y = baseY +baseY1 , duration = 3 , hurtbox = pat:get_frame(404,0,3).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(404,1,3, { tex_index = 318 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX +baseX1 , tex_offset_y = baseY +baseY1 , duration = 3 , hurtbox = pat:get_frame(404,0,3).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(404,1,4, { tex_index = 319 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX +baseX1 , tex_offset_y = baseY +baseY1 , duration = 3 , hurtbox = pat:get_frame(404,0,3).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(404,1,5, { tex_index = 320 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX +baseX1 , tex_offset_y = baseY +baseY1 , duration = 3 , hurtbox = pat:get_frame(404,0,3).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(404,1,6, { tex_index = 317 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX +baseX1 , tex_offset_y = baseY +baseY1 , duration = 3 , hurtbox = pat:get_frame(404,0,3).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(404,1,7, { tex_index = 318 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX +baseX1 , tex_offset_y = baseY +baseY1 , duration = 3 , hurtbox = pat:get_frame(404,0,3).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(404,1,8, { tex_index = 319 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX +baseX1 , tex_offset_y = baseY +baseY1 , duration = 3 , hurtbox = pat:get_frame(404,0,3).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(404,1,9, { tex_index = 320 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX +baseX1 , tex_offset_y = baseY +baseY1 , duration = 3 , hurtbox = pat:get_frame(404,0,3).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(404,1,10, { tex_index = 317 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX +baseX1 , tex_offset_y = baseY +baseY1 , duration = 3 , hurtbox = pat:get_frame(404,0,3).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(404,1,11, { tex_index = 318 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX +baseX1 , tex_offset_y = baseY +baseY1 , duration = 3 , hurtbox = pat:get_frame(404,0,3).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(404,1,12, { tex_index = 319 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX +baseX1 , tex_offset_y = baseY +baseY1 , duration = 3 , hurtbox = pat:get_frame(404,0,3).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(404,1,13, { tex_index = 320 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX +baseX1 , tex_offset_y = baseY +baseY1 , duration = 3 , hurtbox = pat:get_frame(404,0,3).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(404,1,14, { tex_index = 317 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX +baseX1 , tex_offset_y = baseY +baseY1 , duration = 3 , hurtbox = pat:get_frame(404,0,3).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(404,1,15, { tex_index = 318 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX +baseX1 , tex_offset_y = baseY +baseY1 , duration = 3 , hurtbox = pat:get_frame(404,0,3).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(404,1,16, { tex_index = 342 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(404,1,17, { tex_index = 342 , 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(404,1,0, { tex_index = 309 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY0 , duration = 15 , hurtbox = pat:get_frame(404,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(404,2,0, { tex_index = 522 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(1,0,1).hurtbox , collision = pat:get_frame(1,0,1).collision }) pat:update_frame(404,2,1, { tex_index = 523 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(1,0,1).hurtbox , collision = pat:get_frame(1,0,1).collision }) pat:update_frame(404,2,2, { tex_index = 213 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(406,0,0, { tex_index = 308 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY0 , duration = 3 , hurtbox = pat:get_frame(404,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(406,0,1, { tex_index = 308 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY0 , duration = 2 , hurtbox = pat:get_frame(404,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(406,0,2, { tex_index = 309 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY0 , duration = 5 , hurtbox = pat:get_frame(404,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(406,0,3, { tex_index = 310 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX +baseX0 , tex_offset_y = baseY +baseY0 , duration = 2 , hurtbox = pat:get_frame(404,0,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(406,0,4, { tex_index = 314 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX +baseX1 , tex_offset_y = baseY +baseY1 , duration = 3 , hurtbox = pat:get_frame(404,0,3).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(406,0,4,function(frame) frame.hurtbox[4].y1 = frame.hurtbox[4].y1 + 20 frame.hurtbox[4].y2 = frame.hurtbox[4].y2 + 40 end) pat:update_frame(406,0,5, { tex_index = 326 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX +baseX1 , tex_offset_y = baseY +baseY1 , duration = 3 , hurtbox = pat:get_frame(406,0,4).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(406,0,6, { tex_index = 327 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX +baseX1 , tex_offset_y = baseY +baseY1 , duration = 3 , hurtbox = pat:get_frame(406,0,4).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(406,0,7, { tex_index = 328 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX +baseX1 , tex_offset_y = baseY +baseY1 , duration = 3 , hurtbox = pat:get_frame(406,0,4).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(406,0,8, { tex_index = 329 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX +baseX1 , tex_offset_y = baseY +baseY1 , duration = 3 , hurtbox = pat:get_frame(406,0,4).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(406,0,9, { tex_index = 326 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX +baseX1 , tex_offset_y = baseY +baseY1 , duration = 3 , hurtbox = pat:get_frame(406,0,4).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(406,0,10, { tex_index = 327 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX +baseX1 , tex_offset_y = baseY +baseY1 , duration = 3 , hurtbox = pat:get_frame(406,0,4).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(406,0,11, { tex_index = 328 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX +baseX1 , tex_offset_y = baseY +baseY1 , duration = 3 , hurtbox = pat:get_frame(406,0,4).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(406,0,12, { tex_index = 329 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX +baseX1 , tex_offset_y = baseY +baseY1 , duration = 3 , hurtbox = pat:get_frame(406,0,4).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(406,0,13, { tex_index = 342 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(406,0,14, { tex_index = 342 , 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(406,0,14, { tex_index = 274 , 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(406,1,0, { tex_index = 310 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX +baseX0 , tex_offset_y = baseY +baseY0 , duration = 15 , hurtbox = pat:get_frame(404,0,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(406,1,1, { tex_index = 314 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX +baseX1 , tex_offset_y = baseY +baseY1 , duration = 3 , hurtbox = pat:get_frame(406,0,4).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(406,1,2, { tex_index = 326 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX +baseX1 , tex_offset_y = baseY +baseY1 , duration = 3 , hurtbox = pat:get_frame(406,0,4).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(406,1,3, { tex_index = 327 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX +baseX1 , tex_offset_y = baseY +baseY1 , duration = 3 , hurtbox = pat:get_frame(406,0,4).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(406,1,4, { tex_index = 328 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX +baseX1 , tex_offset_y = baseY +baseY1 , duration = 3 , hurtbox = pat:get_frame(406,0,4).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(406,1,5, { tex_index = 329 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX +baseX1 , tex_offset_y = baseY +baseY1 , duration = 3 , hurtbox = pat:get_frame(406,0,4).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(406,1,6, { tex_index = 326 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX +baseX1 , tex_offset_y = baseY +baseY1 , duration = 3 , hurtbox = pat:get_frame(406,0,4).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(406,1,7, { tex_index = 327 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX +baseX1 , tex_offset_y = baseY +baseY1 , duration = 3 , hurtbox = pat:get_frame(406,0,4).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(406,1,8, { tex_index = 328 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX +baseX1 , tex_offset_y = baseY +baseY1 , duration = 3 , hurtbox = pat:get_frame(406,0,4).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(406,1,9, { tex_index = 329 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX +baseX1 , tex_offset_y = baseY +baseY1 , duration = 3 , hurtbox = pat:get_frame(406,0,4).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(406,1,10, { tex_index = 326 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX +baseX1 , tex_offset_y = baseY +baseY1 , duration = 3 , hurtbox = pat:get_frame(406,0,4).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(406,1,11, { tex_index = 327 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX +baseX1 , tex_offset_y = baseY +baseY1 , duration = 3 , hurtbox = pat:get_frame(406,0,4).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(406,1,12, { tex_index = 328 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX +baseX1 , tex_offset_y = baseY +baseY1 , duration = 3 , hurtbox = pat:get_frame(406,0,4).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(406,1,13, { tex_index = 329 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX +baseX1 , tex_offset_y = baseY +baseY1 , duration = 3 , hurtbox = pat:get_frame(406,0,4).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(406,1,14, { tex_index = 326 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX +baseX1 , tex_offset_y = baseY +baseY1 , duration = 3 , hurtbox = pat:get_frame(406,0,4).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(406,1,15, { tex_index = 327 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX +baseX1 , tex_offset_y = baseY +baseY1 , duration = 3 , hurtbox = pat:get_frame(406,0,4).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(406,1,16, { tex_index = 342 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(406,1,17, { tex_index = 342 , 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(406,1,0, { tex_index = 309 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY0 , duration = 15 , hurtbox = pat:get_frame(404,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(406,2,0, { tex_index = 522 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(1,0,1).hurtbox , collision = pat:get_frame(1,0,1).collision }) pat:update_frame(406,2,1, { tex_index = 523 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(1,0,1).hurtbox , collision = pat:get_frame(1,0,1).collision }) pat:update_frame(406,2,2, { tex_index = 213 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:remove_frame(400,1,15) pat:remove_frame(400,1,14) pat:remove_frame(401,1,15) pat:remove_frame(401,1,14) pat:remove_frame(402,1,16) pat:remove_frame(402,1,15) pat:remove_frame(402,1,14) pat:remove_frame(404,1,15) pat:remove_frame(404,1,14) pat:remove_frame(406,1,15) pat:remove_frame(406,1,14) pat:update_frame(980,0,0,{tex_w = 0}) pat:update_frame(980,1,0,{tex_w = 0}) pat:update_frame(991,0,0,{tex_w = 0}) pat:update_frame(991,0,1,{tex_w = 0}) for idx = 1 , 120 do pat:split_frame(800,0,0,1,1) end for idx = 0 , 120 do pat:update_frame(800,0,idx,function(frame) set_fflag(frame, FF_AFTER_IMAGE) set_fflag(frame, FF_LOOP_ANIMATION) --frame.tex_index = 101 frame.blending_mode = 1 frame.tex_w = 64 frame.tex_h = 64 frame.tex_offset_x = 32 frame.tex_offset_y = 32 frame.angle_x = 0 frame.angle_y = 0 frame.angle_z = 0 frame.scale_x = 100 frame.scale_y = 100 local ang = (idx*12.5)%360 frame.angle_z = ang*-1 local scalemod = 100/frame.scale_x local ymod = 0 local xmod = 0*idx frame.attackbox[1].x1 = -20 frame.attackbox[1].x2 = 20 frame.attackbox[1].y1 = -20 frame.attackbox[1].y2 = 20 frame.tex_offset_y = frame.tex_offset_y - (ymod)*scalemod frame.attackbox[1].y1 = frame.attackbox[1].y1 + (ymod) frame.attackbox[1].y2 = frame.attackbox[1].y2 + (ymod) frame.tex_offset_x = frame.tex_offset_x - (xmod)*scalemod frame.attackbox[1].x1 = frame.attackbox[1].x1 + (xmod) frame.attackbox[1].x2 = frame.attackbox[1].x2 + (xmod) frame.damage = 100 frame.sp_damage = 25 frame.proration = 960 frame.card_gain_hit = 10 frame.card_gain_block = 10 frame.limit = 5 frame.untech = 25 end) end end function mods.b5c(pat) local baseX = 128 local baseY = 256 local baseW = 128 local baseH = 160 pat:update_frame(410,0,0, { tex_index = 43 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(302,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(410,0,1, { tex_index = 44 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(302,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(410,0,2, { tex_index = 44 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(302,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(410,0,3, { tex_index = 45 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4-1 , hurtbox = pat:get_frame(302,1,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(410,0,4, { tex_index = 46 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(302,1,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(410,0,5, { tex_index = 47 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(302,1,2).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000021 }) pat:update_frame(410,0,6, { tex_index = 48 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(302,1,3).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000021 }) pat:update_frame(410,0,7, { tex_index = 49 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(302,2,0).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00200021 }) pat:update_frame(410,0,8, { tex_index = 50 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(302,2,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(410,0,9, { tex_index = 51 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4+1 , hurtbox = pat:get_frame(302,2,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(410,0,10, { tex_index = 52 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(302,2,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(410,0,11, { tex_index = 52 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(302,2,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(410,1,0, { tex_index = 44 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 15 , hurtbox = pat:get_frame(302,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(410,1,1, { tex_index = 45 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4-1 , hurtbox = pat:get_frame(302,1,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(410,1,2, { tex_index = 46 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(302,1,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(410,1,3, { tex_index = 47 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(302,1,2).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000021 }) pat:update_frame(410,1,4, { tex_index = 48 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(302,1,3).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000021 }) pat:update_frame(410,1,5, { tex_index = 49 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(302,2,0).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00200021 }) pat:update_frame(410,1,6, { tex_index = 50 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(302,2,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(410,1,7, { tex_index = 51 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4+1 , hurtbox = pat:get_frame(302,2,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(410,1,8, { tex_index = 52 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 1 , hurtbox = pat:get_frame(302,2,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(410,1,9, { tex_index = 52 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 1 , hurtbox = pat:get_frame(302,2,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(410,1,10, { tex_index = 52 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 1 , hurtbox = pat:get_frame(302,2,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(410,1,11, { tex_index = 52 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 1 , hurtbox = pat:get_frame(302,2,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(411,0,0, { tex_index = 43 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(410,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(411,0,1, { tex_index = 44 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(410,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(411,0,2, { tex_index = 44 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(410,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(411,0,3, { tex_index = 45 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4-1 , hurtbox = pat:get_frame(410,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(411,0,4, { tex_index = 46 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(410,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(411,0,5, { tex_index = 47 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(410,0,5).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000021 }) pat:update_frame(411,0,6, { tex_index = 48 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(410,0,6).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000021 }) pat:update_frame(411,0,7, { tex_index = 49 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(410,0,7).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00200021 }) pat:update_frame(411,0,8, { tex_index = 50 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(410,0,8).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(411,0,9, { tex_index = 51 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4+1 , hurtbox = pat:get_frame(410,0,9).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(411,0,10, { tex_index = 52 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(410,0,10).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(411,0,11, { tex_index = 52 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(410,0,11).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(411,1,0, { tex_index = 44 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 15 , hurtbox = pat:get_frame(410,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(411,1,1, { tex_index = 45 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4-1 , hurtbox = pat:get_frame(410,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(411,1,2, { tex_index = 46 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(410,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(411,1,3, { tex_index = 47 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(410,0,5).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000021 }) pat:update_frame(411,1,4, { tex_index = 48 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(410,0,6).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000021 }) pat:update_frame(411,1,5, { tex_index = 49 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(410,0,7).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00200021 }) pat:update_frame(411,1,6, { tex_index = 50 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(410,0,8).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(411,1,7, { tex_index = 51 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4+1 , hurtbox = pat:get_frame(410,0,9).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(411,1,8, { tex_index = 52 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 1 , hurtbox = pat:get_frame(410,0,10).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(411,1,9, { tex_index = 52 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 1 , hurtbox = pat:get_frame(410,0,11).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(411,1,10, { tex_index = 52 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 1 , hurtbox = pat:get_frame(410,0,10).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(411,1,11, { tex_index = 52 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 1 , hurtbox = pat:get_frame(410,0,11).hurtbox , collision = pat:get_frame(0,0,0).collision }) local baseX0 = -4 local baseY0 = -12 local baseX1 = 12 local baseY1 = -12 local baseY2 = -8 pat:update_frame(414,0,0, { tex_index = 43 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX -baseX0 , tex_offset_y = baseY -baseY0 , duration = 4 , hurtbox = pat:get_frame(410,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(414,0,0,function(frame) for idy = 1 , 3 do frame.hurtbox[idy].x1 = frame.hurtbox[idy].x1 + baseX0 frame.hurtbox[idy].x2 = frame.hurtbox[idy].x2 + baseX0 frame.hurtbox[idy].y1 = frame.hurtbox[idy].y1 + baseY0 frame.hurtbox[idy].y2 = frame.hurtbox[idy].y2 + baseY0 end frame.hurtbox[3].y2 = frame.hurtbox[3].y2 - 5 end) pat:update_frame(414,0,1, { tex_index = 44 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX -baseX0 , tex_offset_y = baseY -baseY0 , duration = 4 , hurtbox = pat:get_frame(414,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(414,0,2, { tex_index = 44 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX -baseX0 , tex_offset_y = baseY -baseY0 , duration = 4 , hurtbox = pat:get_frame(414,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(414,0,3, { tex_index = 45 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4-1 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(414,0,3,function(frame) frame.hurtbox[1].y1 = frame.hurtbox[1].y1 + 10 frame.hurtbox[1].y2 = frame.hurtbox[1].y2 + 10 end) pat:update_frame(414,0,4, { tex_index = 46 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX -baseX1 , tex_offset_y = baseY -baseY1 , duration = 4 , hurtbox = pat:get_frame(410,0,4).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(414,0,4,function(frame) for idy = 1 , 4 do frame.hurtbox[idy].x1 = frame.hurtbox[idy].x1 + baseX1 frame.hurtbox[idy].x2 = frame.hurtbox[idy].x2 + baseX1 frame.hurtbox[idy].y1 = frame.hurtbox[idy].y1 + baseY1 frame.hurtbox[idy].y2 = frame.hurtbox[idy].y2 + baseY1 end frame.hurtbox[3].y2 = frame.hurtbox[3].y2 - 5 end) pat:update_frame(414,0,5, { tex_index = 47 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX -baseX1 , tex_offset_y = baseY -baseY1 , duration = 4 , hurtbox = pat:get_frame(410,0,5).hurtbox , collision = pat:get_frame(6,1,0).collision , fflags = 0x00000024 }) pat:update_frame(414,0,5,function(frame) for idy = 1 , 4 do frame.hurtbox[idy].x1 = frame.hurtbox[idy].x1 + baseX1 frame.hurtbox[idy].x2 = frame.hurtbox[idy].x2 + baseX1 frame.hurtbox[idy].y1 = frame.hurtbox[idy].y1 + baseY1 frame.hurtbox[idy].y2 = frame.hurtbox[idy].y2 + baseY1 end frame.hurtbox[3].y2 = frame.hurtbox[3].y2 - 5 end) pat:update_frame(414,0,6, { tex_index = 25 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY -baseY2 , duration = 4 , hurtbox = pat:get_frame(410,0,6).hurtbox , collision = pat:get_frame(6,1,0).collision , fflags = 0x00000024 }) pat:update_frame(414,0,6,function(frame) for idy = 1 , 4 do frame.hurtbox[idy].y1 = frame.hurtbox[idy].y1 + baseY2 frame.hurtbox[idy].y2 = frame.hurtbox[idy].y2 + baseY2 end frame.hurtbox[3].y2 = frame.hurtbox[3].y2 - 5 end) pat:update_frame(414,0,7, { tex_index = 26 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY -baseY2 , duration = 4 , hurtbox = pat:get_frame(414,0,6).hurtbox , collision = pat:get_frame(6,1,0).collision , fflags = 0x00200024 }) pat:update_frame(414,0,8, { tex_index = 27 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY -baseY2 , duration = 4 , hurtbox = pat:get_frame(414,0,6).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(414,0,9, { tex_index = 28 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY -baseY2 , duration = 4 , hurtbox = pat:get_frame(414,0,6).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(414,0,10, { tex_index = 29 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY -baseY2 , duration = 2 , hurtbox = pat:get_frame(414,0,3).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(414,0,11, { tex_index = 29 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY -baseY2 , duration = 2 , hurtbox = pat:get_frame(414,0,3).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(414,1,0, { tex_index = 44 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX -baseX0 , tex_offset_y = baseY -baseY0 , duration = 15 , hurtbox = pat:get_frame(414,0,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(414,1,1, { tex_index = 45 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4-1 , hurtbox = pat:get_frame(414,0,3).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(414,1,2, { tex_index = 46 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX -baseX1 , tex_offset_y = baseY -baseY1 , duration = 4 , hurtbox = pat:get_frame(414,0,4).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(414,1,3, { tex_index = 47 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX -baseX1 , tex_offset_y = baseY -baseY1 , duration = 4 , hurtbox = pat:get_frame(414,0,5).hurtbox , collision = pat:get_frame(6,1,0).collision , fflags = 0x00000024 }) pat:update_frame(414,1,4, { tex_index = 25 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY -baseY2 , duration = 4 , hurtbox = pat:get_frame(414,0,6).hurtbox , collision = pat:get_frame(6,1,0).collision , fflags = 0x00000024 }) pat:update_frame(414,1,5, { tex_index = 26 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY -baseY2 , duration = 4 , hurtbox = pat:get_frame(414,0,6).hurtbox , collision = pat:get_frame(6,1,0).collision , fflags = 0x00200024 }) pat:update_frame(414,1,6, { tex_index = 27 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY -baseY2 , duration = 4 , hurtbox = pat:get_frame(414,0,6).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(414,1,7, { tex_index = 28 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY -baseY2 , duration = 4 , hurtbox = pat:get_frame(414,0,6).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(414,1,8, { tex_index = 29 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY -baseY2 , duration = 1 , hurtbox = pat:get_frame(414,0,3).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(414,1,9, { tex_index = 29 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY -baseY2 , duration = 1 , hurtbox = pat:get_frame(414,0,3).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(414,1,10, { tex_index = 29 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY -baseY2 , duration = 1 , hurtbox = pat:get_frame(414,0,3).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(414,1,11, { tex_index = 29 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY -baseY2 , duration = 1 , hurtbox = pat:get_frame(414,0,3).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(414,2,0, { tex_index = 522 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(1,0,1).hurtbox , collision = pat:get_frame(1,0,1).collision }) pat:update_frame(414,2,1, { tex_index = 523 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(1,0,1).hurtbox , collision = pat:get_frame(1,0,1).collision }) pat:update_frame(414,2,2, { tex_index = 213 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(416,0,0, { tex_index = 43 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX -baseX0 , tex_offset_y = baseY -baseY0 , duration = 4 , hurtbox = pat:get_frame(414,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(416,0,1, { tex_index = 44 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX -baseX0 , tex_offset_y = baseY -baseY0 , duration = 4 , hurtbox = pat:get_frame(414,0,1).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(416,0,2, { tex_index = 44 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX -baseX0 , tex_offset_y = baseY -baseY0 , duration = 4 , hurtbox = pat:get_frame(414,0,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(416,0,3, { tex_index = 45 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4-1 , hurtbox = pat:get_frame(414,0,3).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(416,0,4, { tex_index = 46 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX -baseX1 , tex_offset_y = baseY -baseY1 , duration = 4 , hurtbox = pat:get_frame(414,0,4).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(416,0,5, { tex_index = 47 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX -baseX1 , tex_offset_y = baseY -baseY1 , duration = 4 , hurtbox = pat:get_frame(414,0,5).hurtbox , collision = pat:get_frame(6,1,0).collision , fflags = 0x00000024 }) pat:update_frame(416,0,6, { tex_index = 25 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY -baseY2 , duration = 4 , hurtbox = pat:get_frame(414,0,6).hurtbox , collision = pat:get_frame(6,1,0).collision , fflags = 0x00000024 }) pat:update_frame(416,0,7, { tex_index = 26 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY -baseY2 , duration = 4 , hurtbox = pat:get_frame(414,0,6).hurtbox , collision = pat:get_frame(6,1,0).collision , fflags = 0x00200024 }) pat:update_frame(416,0,8, { tex_index = 27 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY -baseY2 , duration = 4 , hurtbox = pat:get_frame(414,0,6).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(416,0,9, { tex_index = 28 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY -baseY2 , duration = 4 , hurtbox = pat:get_frame(414,0,6).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(416,0,10, { tex_index = 29 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY -baseY2 , duration = 2 , hurtbox = pat:get_frame(414,0,3).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(416,0,11, { tex_index = 29 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY -baseY2 , duration = 2 , hurtbox = pat:get_frame(414,0,3).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(416,1,0, { tex_index = 44 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX -baseX0 , tex_offset_y = baseY -baseY0 , duration = 15 , hurtbox = pat:get_frame(414,0,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(416,1,1, { tex_index = 45 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4-1 , hurtbox = pat:get_frame(414,0,3).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(416,1,2, { tex_index = 46 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX -baseX1 , tex_offset_y = baseY -baseY1 , duration = 4 , hurtbox = pat:get_frame(414,0,4).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(416,1,3, { tex_index = 47 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX -baseX1 , tex_offset_y = baseY -baseY1 , duration = 4 , hurtbox = pat:get_frame(414,0,5).hurtbox , collision = pat:get_frame(6,1,0).collision , fflags = 0x00000024 }) pat:update_frame(416,1,4, { tex_index = 25 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY -baseY2 , duration = 4 , hurtbox = pat:get_frame(414,0,6).hurtbox , collision = pat:get_frame(6,1,0).collision , fflags = 0x00000024 }) pat:update_frame(416,1,5, { tex_index = 26 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY -baseY2 , duration = 4 , hurtbox = pat:get_frame(414,0,6).hurtbox , collision = pat:get_frame(6,1,0).collision , fflags = 0x00200024 }) pat:update_frame(416,1,6, { tex_index = 27 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY -baseY2 , duration = 4 , hurtbox = pat:get_frame(414,0,6).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(416,1,7, { tex_index = 28 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY -baseY2 , duration = 4 , hurtbox = pat:get_frame(414,0,6).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(416,1,8, { tex_index = 29 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY -baseY2 , duration = 1 , hurtbox = pat:get_frame(414,0,3).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(416,1,9, { tex_index = 29 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY -baseY2 , duration = 1 , hurtbox = pat:get_frame(414,0,3).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(416,1,10, { tex_index = 29 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY -baseY2 , duration = 1 , hurtbox = pat:get_frame(414,0,3).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(416,1,11, { tex_index = 29 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY -baseY2 , duration = 1 , hurtbox = pat:get_frame(414,0,3).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(416,2,0, { tex_index = 522 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(1,0,1).hurtbox , collision = pat:get_frame(1,0,1).collision }) pat:update_frame(416,2,1, { tex_index = 523 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(1,0,1).hurtbox , collision = pat:get_frame(1,0,1).collision }) pat:update_frame(416,2,2, { tex_index = 213 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(991,0,0,{ tex_w = 0 , tex_h = 0 , tex_index = 0 , tex_offset_x = 256 }) pat:update_frame(991,0,1,{ tex_w = 0 , tex_h = 0 , tex_index = 0 , tex_offset_x = 256 }) pat:remove_frame(801,0,1) pat:remove_frame(801,1,1) pat:remove_frame(801,10,1) pat:remove_frame(801,11,1) pat:remove_frame(801,12,1) pat:get_sequence(801,0):set_priority(20,0) pat:get_sequence(801,1):set_priority(20,0) pat:update_frame(801,2,0,{ tex_w = 0 }) pat:update_frame(801,3,0,{ tex_w = 0 }) pat:update_frame(801,4,0,{ tex_w = 0 }) pat:update_frame(801,5,0,{ tex_w = 0 }) pat:update_frame(801,6,0,{ tex_w = 0 }) pat:update_frame(801,1,0,function(frame) frame.attackbox = pat:get_frame(0,0,0).attackbox frame.duration = 1 frame.tex_w = 0 end) --[[ pat:remove_frame(801,1,1) pat:get_sequence(801,1):set_priority(0,0) pat:update_frame(801,1,0,function(frame) frame.fflags = 0x00000000 set_aflag(frame, AF_UNGRAZABLE) set_aflag(frame, AF_UNREFLECTABLE) end) pat:split_frame(801,1,0,1,1) pat:split_frame(801,1,0,1,1) pat:split_frame(801,1,0,1,1) pat:update_frame(801,1,0,function(frame) frame.attackbox = pat:get_frame(0,0,0).attackbox frame.duration = 500 --frame.tex_w = 0 end) pat:update_frame(801,1,1,function(frame) frame.attackbox = pat:get_frame(0,0,0).attackbox frame.duration = 1 --frame.tex_w = 0 end) pat:update_frame(801,1,2,function(frame) frame.attackbox = pat:get_frame(0,0,0).attackbox frame.duration = 500 frame.hurtbox = pat:get_frame(0,0,0).hurtbox frame.hurtbox[1].x1 = -3000 frame.hurtbox[1].x2 = 3000 frame.hurtbox[1].y1 = -3000 frame.hurtbox[1].y2 = 3000 frame.color_g = 0 frame.color_b = 0 --frame.tex_w = 0 end) pat:update_frame(801,1,3,function(frame) frame.duration = 60 frame.attackbox[1].x1 = -3000 frame.attackbox[1].x2 = 3000 frame.attackbox[1].y1 = -3000 frame.attackbox[1].y2 = 3000 frame.damage = 0 --frame.duration = 1 --frame.tex_w = 0 end) ]]-- pat:update_frame(801,10,0,function(frame) frame.attackbox = pat:get_frame(0,0,0).hurtbox frame.duration = 1 frame.tex_w = 0 end) pat:update_frame(801,11,0,function(frame) frame.attackbox = pat:get_frame(0,0,0).hurtbox frame.duration = 1 frame.tex_w = 0 end) pat:update_frame(801,12,0,function(frame) frame.attackbox = pat:get_frame(0,0,0).hurtbox frame.duration = 1 frame.tex_w = 0 end) local maxDur = 119 local p1Dur = 40 for idx = 1 , maxDur do pat:split_frame(801,0,0,1,1) end for idx = 0 , maxDur do pat:update_frame(801,0,idx,function(frame) frame.fflags = 0x00000000 set_fflag(frame, FF_AFTER_IMAGE) set_fflag(frame, FF_LOOP_ANIMATION) set_aflag(frame, AF_UNREFLECTABLE) frame.tex_index = 131 + (idx/2)%2 frame.tex_w = 256 frame.tex_h = 128 frame.tex_offset_x = 128 frame.tex_offset_y = 64 frame.angle_x = 0 frame.angle_y = 0 frame.angle_z = 0 frame.scale_x = 70 frame.scale_y = 70 local scalemod = 100/frame.scale_x local scalemody = 100/frame.scale_y local ymod = 0 local xmod = 20*idx - idx*idx*0.3125 + 2*idx --local xmod = 20*idx - idx*idx*0.3125 + 2*idx frame.duration = 1 if (idx <= p1Dur) then frame.attackbox = pat:get_frame(0,0,0).hurtbox frame.attackbox[1].x1 = -30 frame.attackbox[1].x2 = 30 frame.attackbox[1].y1 = -30 frame.attackbox[1].y2 = 30 if (idx < 4) then frame.attackbox[1].x1 = -80 end frame.scale_x = 70 + (p1Dur-idx) * 2.5 scalemod = 100/frame.scale_x 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)*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.hitstop_enemy = 10 frame.hitstop_self = 5 frame.blockstop_enemy = 5 frame.blockstop_self = 5 frame.hit_ani_ground = 71 frame.hit_ani_air = 71 frame.launch_vector_x = 450 frame.launch_vector_y = 1800 frame.untech = 45 frame.hit_effect = 7 frame.hit_sfx = 5 --frame.damage = 9500--700 frame.damage = 700 frame.sp_damage = 150 frame.limit = 30 frame.proration = 900 frame.attack_level = AL_HEAVY frame.combo_correction = CC_LIFT_ATTACK set_aflag(frame,AF_COUNTER_HIT) frame.card_gain_hit = frame.card_gain_hit * 2 frame.card_gain_block = frame.card_gain_block * 2 if (idx == p1Dur) then frame.attackbox = pat:get_frame(0,0,0).attackbox end elseif (idx > p1Dur) then --local size = 3.25 * (idx-p1Dur) + 20 local size = 2.4 * (idx-p1Dur) + 20 frame.tex_index = 129 + (idx/2)%2 frame.tex_offset_x = 64 frame.tex_offset_y = 64 frame.scale_x = size*3.50 frame.scale_y = size*3.50 frame.tex_w = 128 frame.tex_h = 128 scalemod = 100/frame.scale_x xmod = 0 xmod = 300 - 5*(idx-p1Dur) + 2*idx frame.attackbox = pat:get_frame(0,0,0).hurtbox frame.attackbox[1].x1 = -size frame.attackbox[1].x2 = size frame.attackbox[1].y1 = -size frame.attackbox[1].y2 = size frame.attackbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.attackbox[2].x1 = -size * 1.3 frame.attackbox[2].x2 = size * 1.3 frame.attackbox[2].y1 = -size * 0.6 frame.attackbox[2].y2 = size * 0.6 frame.attackbox[3] = pat:get_frame(0,0,0).hurtbox[1] frame.attackbox[3].x1 = -size * 0.6 frame.attackbox[3].x2 = size * 0.6 frame.attackbox[3].y1 = -size * 1.3 frame.attackbox[3].y2 = size * 1.3 frame.tex_offset_y = frame.tex_offset_y - (ymod)*scalemod frame.attackbox[1].y1 = frame.attackbox[1].y1 + (ymod) frame.attackbox[1].y2 = frame.attackbox[1].y2 + (ymod) frame.attackbox[2].y1 = frame.attackbox[2].y1 + (ymod) frame.attackbox[2].y2 = frame.attackbox[2].y2 + (ymod) frame.attackbox[3].y1 = frame.attackbox[3].y1 + (ymod) frame.attackbox[3].y2 = frame.attackbox[3].y2 + (ymod) frame.tex_offset_x = frame.tex_offset_x - (xmod)*scalemod frame.attackbox[1].x1 = frame.attackbox[1].x1 + (xmod) frame.attackbox[1].x2 = frame.attackbox[1].x2 + (xmod) frame.attackbox[2].x1 = frame.attackbox[2].x1 + (xmod) frame.attackbox[2].x2 = frame.attackbox[2].x2 + (xmod) frame.attackbox[3].x1 = frame.attackbox[3].x1 + (xmod) frame.attackbox[3].x2 = frame.attackbox[3].x2 + (xmod) frame.hit_effect = 1 frame.hit_sfx = 6 frame.hitstop_self = 10 frame.blockstop_self = 10 frame.blockstop_enemy = 10 frame.sp_damage = 240 frame.attack_level = AL_HEAVY frame.hit_ani_ground = 410 frame.hit_ani_air = 414 frame.damage = 0 frame.proration = 1000 frame.card_gain_hit = frame.card_gain_hit * 2 frame.card_gain_block = frame.card_gain_block * 2 --frame.card_gain_hit = 6000 --frame.limit = 100 --unset_aflag(frame,AF_AIR_BLOCKABLE) --set_aflag(frame,AF_GROUND_UNBLOCKABLE) --set_aflag(frame,AF_DRAINS_ON_GRAZE) --[[ set_aflag(frame,AF_GRAB) set_aflag(frame,AF_STAGGER) set_aflag(frame,AF_UNKNOWN_1) set_aflag(frame,AF_UNKNOWN_2) set_aflag(frame,AF_UNKNOWN_4) set_aflag(frame,AF_IGNORE_ARMOR) set_aflag(frame,AF_SKILL_ATTACK) set_aflag(frame,AF_SPELL_ATTACK) set_aflag(frame,AF_ATTACK_AIR) set_aflag(frame,AF_ATTACK_HIGH) set_aflag(frame,AF_ATTACK_LOW) set_aflag(frame,AF_ATTACK_OBJECT) set_fflag(frame,FF_GRAB_INV) set_fflag(frame,FF_MELEE_INV) set_fflag(frame,FF_BULLET_INV) set_fflag(frame,FF_GRAZE) set_fflag(frame,FF_GUARDING)]]-- if (idx > (maxDur-10)) then frame.color_r = 255-25*(idx-(maxDur-10)) frame.color_g = 255-25*(idx-(maxDur-10)) frame.color_b = 255-25*(idx-(maxDur-10)) end if (idx > (maxDur-5)) then frame.attackbox = pat:get_frame(0,0,0).attackbox end if (idx >= maxDur) then frame.color_r = 0 frame.color_g = 0 frame.color_b = 0 frame.duration = 20 end end end) end for idx = 1 , maxDur do pat:split_frame(801,7,0,1,1) end for idx = 0 , maxDur do pat:update_frame(801,7,idx,function(frame) frame.fflags = 0x00000000 set_fflag(frame, FF_AFTER_IMAGE) set_fflag(frame, FF_LOOP_ANIMATION) set_aflag(frame, AF_UNREFLECTABLE) frame.tex_index = 135 + (idx/2)%2 frame.tex_w = 256 frame.tex_h = 128 frame.tex_offset_x = 128 frame.tex_offset_y = 64 frame.angle_x = 0 frame.angle_y = 0 frame.angle_z = 0 frame.scale_x = 70 frame.scale_y = 70 local scalemod = 100/frame.scale_x local scalemody = 100/frame.scale_y local ymod = 0 local xmod = 20*idx - idx*idx*0.3125 + 2*idx frame.duration = 1 if (idx <= p1Dur) then frame.attackbox = pat:get_frame(0,0,0).hurtbox frame.attackbox[1].x1 = -30 frame.attackbox[1].x2 = 30 frame.attackbox[1].y1 = -30 frame.attackbox[1].y2 = 30 if (idx < 4) then frame.attackbox[1].x1 = -80 end frame.scale_x = 70 + (p1Dur-idx) * 2.5 scalemod = 100/frame.scale_x 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)*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.hitstop_enemy = 10 frame.hitstop_self = 5 frame.blockstop_enemy = 5 frame.blockstop_self = 5 frame.hit_ani_ground = 71 frame.hit_ani_air = 71 frame.launch_vector_x = 450 frame.launch_vector_y = 1800 frame.untech = 45 frame.hit_effect = 7 frame.hit_sfx = 5 frame.damage = 350 frame.sp_damage = 50 frame.limit = 15 frame.proration = 930 frame.attack_level = AL_HEAVY frame.combo_correction = CC_LIFT_ATTACK unset_aflag(frame,AF_COUNTER_HIT) if (idx == p1Dur) then frame.attackbox = pat:get_frame(0,0,0).attackbox end elseif (idx > p1Dur) then local size = 1.85*(idx-p1Dur) + 20 frame.tex_index = 133 + (idx/2)%2 frame.tex_offset_x = 64 frame.tex_offset_y = 64 frame.scale_x = size*3.50 frame.scale_y = size*3.50 frame.tex_w = 128 frame.tex_h = 128 scalemod = 100/frame.scale_x xmod = 0 xmod = 300 - 5*(idx-p1Dur) + 2*idx frame.attackbox = pat:get_frame(0,0,0).hurtbox frame.attackbox[1].x1 = -size frame.attackbox[1].x2 = size frame.attackbox[1].y1 = -size frame.attackbox[1].y2 = size frame.attackbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.attackbox[2].x1 = -size * 1.3 frame.attackbox[2].x2 = size * 1.3 frame.attackbox[2].y1 = -size * 0.6 frame.attackbox[2].y2 = size * 0.6 frame.attackbox[3] = pat:get_frame(0,0,0).hurtbox[1] frame.attackbox[3].x1 = -size * 0.6 frame.attackbox[3].x2 = size * 0.6 frame.attackbox[3].y1 = -size * 1.3 frame.attackbox[3].y2 = size * 1.3 frame.tex_offset_y = frame.tex_offset_y - (ymod)*scalemod frame.attackbox[1].y1 = frame.attackbox[1].y1 + (ymod) frame.attackbox[1].y2 = frame.attackbox[1].y2 + (ymod) frame.attackbox[2].y1 = frame.attackbox[2].y1 + (ymod) frame.attackbox[2].y2 = frame.attackbox[2].y2 + (ymod) frame.attackbox[3].y1 = frame.attackbox[3].y1 + (ymod) frame.attackbox[3].y2 = frame.attackbox[3].y2 + (ymod) frame.tex_offset_x = frame.tex_offset_x - (xmod)*scalemod frame.attackbox[1].x1 = frame.attackbox[1].x1 + (xmod) frame.attackbox[1].x2 = frame.attackbox[1].x2 + (xmod) frame.attackbox[2].x1 = frame.attackbox[2].x1 + (xmod) frame.attackbox[2].x2 = frame.attackbox[2].x2 + (xmod) frame.attackbox[3].x1 = frame.attackbox[3].x1 + (xmod) frame.attackbox[3].x2 = frame.attackbox[3].x2 + (xmod) frame.hit_effect = 1 frame.hit_sfx = 6 frame.hitstop_self = 10 frame.blockstop_self = 10 frame.blockstop_enemy = 10 frame.sp_damage = 60 frame.attack_level = AL_HEAVY frame.hit_ani_ground = 400 frame.hit_ani_air = 404 frame.damage = 0 frame.proration = 1000 --frame.limit = 100 --unset_aflag(frame,AF_AIR_BLOCKABLE) --set_aflag(frame,AF_GROUND_UNBLOCKABLE) --set_aflag(frame,AF_DRAINS_ON_GRAZE) if (idx > (maxDur-10)) then frame.color_r = 255-25*(idx-(maxDur-10)) frame.color_g = 255-25*(idx-(maxDur-10)) frame.color_b = 255-25*(idx-(maxDur-10)) end if (idx > (maxDur-5)) then frame.attackbox = pat:get_frame(0,0,0).attackbox end if (idx >= maxDur) then frame.color_r = 0 frame.color_g = 0 frame.color_b = 0 frame.duration = 20 end end end) 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 = 429 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(2,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(412,0,1, { tex_index = 429 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(2,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(412,0,2, { tex_index = 430 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 8 , hurtbox = pat:get_frame(2,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(412,0,3, { tex_index = 430 , 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(412,0,4, { tex_index = 431 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(303,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(412,0,4,function(frame) frame.hurtbox[3] = null end) pat:update_frame(412,1,0, { tex_index = 432 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(412,0,4).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(412,1,1, { tex_index = 433 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(412,0,4).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(412,1,2, { tex_index = 434 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(412,0,4).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(412,1,3, { tex_index = 435 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(412,0,4).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(412,2,0, { tex_index = 433 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(412,0,4).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(412,2,1, { tex_index = 434 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(412,0,4).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(412,2,2, { tex_index = 435 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(412,0,4).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(412,2,3, { tex_index = 433 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(412,0,4).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(412,3,0, { tex_index = 436 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(412,0,4).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(412,3,1, { tex_index = 436 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(412,0,4).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:remove_frame(802,0,0) pat:remove_frame(802,0,0) pat:remove_frame(802,0,0) pat:remove_frame(802,0,0) pat:remove_frame(802,0,0) pat:split_frame(802,0,0,1,1) pat:split_frame(802,0,0,1,1) pat:split_frame(802,0,0,1,1) pat:split_frame(802,0,0,1,1) pat:split_frame(802,0,0,1,1) pat:split_frame(802,1,2,1,1) pat:split_frame(802,1,2,1,1) pat:split_frame(802,1,2,1,1) pat:split_frame(802,1,2,1,1) pat:update_frame(802,1,3,{tex_index = 120}) pat:update_frame(802,1,4,{tex_index = 121}) pat:update_frame(802,1,5,{tex_index = 122}) pat:update_frame(802,1,6,{tex_index = 123}) pat:split_frame(802,2,7,1,1) pat:split_frame(802,2,7,1,1) pat:split_frame(802,2,7,1,1) pat:update_frame(802,2,8,{tex_index = 169}) pat:update_frame(802,2,9,{tex_index = 170}) pat:update_frame(802,2,10,{tex_index = 171}) for idx = 0 , 9 do pat:update_frame(802,0,idx,function(frame) frame.tex_index = 107 + idx frame.tex_w = 128 frame.tex_h = 64 frame.tex_offset_x = -16 frame.tex_offset_y = 68 frame.scale_x = 200 frame.scale_y = 300 if (idx < 3) then frame.attackbox[1].x1 = 30 frame.attackbox[1].x2 = 100 + 40*idx frame.attackbox[1].y1 = -90 frame.attackbox[1].y2 = -40 if (idx < 2) then frame.attackbox[2] = null else frame.attackbox[2].x1 = 120 frame.attackbox[2].x2 = 130 + 40*idx frame.attackbox[2].y1 = -110 frame.attackbox[2].y2 = -70 end else frame.attackbox[1].x1 = 30 frame.attackbox[1].x2 = 100 + 120 frame.attackbox[2].x1 = 120 frame.attackbox[2].x2 = 130 + 120 frame.attackbox[1].y1 = -90 frame.attackbox[1].y2 = -40 frame.attackbox[2].y1 = -110 frame.attackbox[2].y2 = -70 frame.attackbox[3] = pat:get_frame(0,0,0).hurtbox[1] frame.attackbox[3].x1 = 160 frame.attackbox[3].x2 = 120 + 120 frame.attackbox[3].y1 = -130 frame.attackbox[3].y2 = -90 end frame.hitstop_enemy = 10 frame.blockstop_enemy = 10 frame.launch_vector_y = 1650 end) end for idx = 0 , 6 do pat:update_frame(802,1,idx,function(frame) frame.tex_w = 128 frame.tex_h = 64 frame.tex_offset_x = -16 frame.tex_offset_y = 68 frame.scale_x = 200 frame.scale_y = 300 frame.attackbox[1].x1 = 30 frame.attackbox[1].x2 = 100 + 120 frame.attackbox[2].x1 = 120 frame.attackbox[2].x2 = 130 + 120 frame.attackbox[1].y1 = -90 frame.attackbox[1].y2 = -40 frame.attackbox[2].y1 = -110 frame.attackbox[2].y2 = -70 frame.attackbox[3] = pat:get_frame(0,0,0).hurtbox[1] frame.attackbox[3].x1 = 160 frame.attackbox[3].x2 = 120 + 120 frame.attackbox[3].y1 = -130 frame.attackbox[3].y2 = -90 frame.hitstop_enemy = 10 frame.blockstop_enemy = 10 frame.launch_vector_y = 1650 end) end for idx = 0 , 10 do pat:update_frame(802,2,idx,function(frame) frame.tex_w = 128 frame.tex_h = 64 frame.tex_offset_x = -16 frame.tex_offset_y = 68 frame.scale_x = 200 frame.scale_y = 300 end) end pat:remove_frame(802,2,0) pat:remove_frame(802,2,0) pat:remove_frame(802,2,0) for idx = 0 , 9 do pat:update_frame(802,4,idx,{color_r = 0}) end for idx = 0 , 2 do pat:update_frame(802,5,idx,{color_g = 0 , scale_x = 600}) end for idx = 0 , 7 do pat:update_frame(802,6,idx,{color_b = 0 , scale_y = 600}) end end function mods.n66a(pat) local baseX = 128 local baseY = 256 local baseW = 128 local baseH = 160 pat:split_frame(305,0,5,1,1) pat:split_frame(305,0,5,1,1) pat:update_frame(305,0,0, { tex_index = 308 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(305,0,1, { tex_index = 309 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(305,0,2, { tex_index = 309 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 1+1 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(305,0,3, { tex_index = 336 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(301,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(305,0,4, { tex_index = 336 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 1 , hurtbox = pat:get_frame(301,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(305,0,5, { tex_index = 337 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(301,0,6).hurtbox , attackbox = pat:get_frame(301,0,6).attackbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(305,0,6, { tex_index = 338 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(301,0,6).hurtbox , attackbox = pat:get_frame(301,0,6).attackbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(305,0,7, { tex_index = 339 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(301,0,6).hurtbox , attackbox = pat:get_frame(301,0,6).attackbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(305,0,8, { tex_index = 340 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(301,0,6).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(305,0,9, { tex_index = 340 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(301,0,6).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(305,0,10, { tex_index = 341 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(301,0,6).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(305,0,11, { tex_index = 341 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(301,0,6).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(305,0,12, { tex_index = 316 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(301,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(305,0,13, { tex_index = 316 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 1 , hurtbox = pat:get_frame(301,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(305,0,14, { tex_index = 316 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 1 , hurtbox = pat:get_frame(301,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) for idx = 5 , 7 do pat:update_frame(305,0,idx,function(frame) frame.hit_ani_air = 71 frame.hit_ani_ground = 0 frame.combo_correction = CC_NONE frame.launch_vector_x = 1000 frame.launch_vector_y = 600 frame.untech = 25 frame.damage = 450 frame.sp_damage = 200 frame.proration = 920 frame.limit = 0 frame.attack_level = AL_MEDIUM end) end end function mods.n66b(pat) local baseX = 128 local baseY = 256 local baseW = 128 local baseH = 160 local baseX0 = 24 local baseX1 = 40 baseY0 = 0 pat:split_frame(408,0,0,1,1) pat:split_frame(408,0,0,1,1) pat:split_frame(408,1,0,1,1) pat:split_frame(408,1,0,1,1) pat:split_frame(408,2,0,1,1) pat:update_frame(408,0,0, { tex_index = 90 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(408,0,1, { tex_index = 90 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(408,0,2, { tex_index = 91 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX -baseX0, tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(304,0,1).hurtbox , collision = pat:get_frame(1,0,1).collision }) pat:update_frame(408,0,3, { tex_index = 92 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX -baseX0 , tex_offset_y = baseY +12, duration = 4 , hurtbox = pat:get_frame(304,0,3).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(408,1,0, { tex_index = 93 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX -baseX1 , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(304,1,0).hurtbox , attackbox = pat:get_frame(304,1,0).attackbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(408,1,1, { tex_index = 94 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX -baseX1 , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(304,1,0).hurtbox , attackbox = pat:get_frame(304,1,0).attackbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(408,1,2, { tex_index = 95 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX -baseX1 , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(304,1,0).hurtbox , attackbox = pat:get_frame(304,1,0).attackbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(408,1,3, { tex_index = 96 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX -baseX1 , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(304,1,0).hurtbox , attackbox = pat:get_frame(304,1,0).attackbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(408,1,4, { tex_index = 97 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX -baseX1 , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(304,1,0).hurtbox , attackbox = pat:get_frame(304,1,0).attackbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(408,2,0, { tex_index = 98 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX -baseX1 , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(304,1,0).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(408,2,1, { tex_index = 99 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX -baseX1 , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(304,1,0).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(408,2,2, { tex_index = 100 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX -baseX0 , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(304,0,1).hurtbox , collision = pat:get_frame(1,0,1).collision }) pat:update_frame(408,2,3, { tex_index = 91 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX -baseX0 , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(304,0,1).hurtbox , collision = pat:get_frame(1,0,1).collision }) pat:update_frame(408,2,4, { tex_index = 90 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) --pat:split_frame(408,2,4,1,1) pat:split_frame(408,0,3,1,1) pat:remove_frame(408,1,4) pat:remove_frame(408,1,3) pat:update_frame(408,0,0, { tex_index = 65 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY -baseY0 , duration = 3 , hurtbox = pat:get_frame(308,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(408,0,0,function(frame) frame.hurtbox[1].y2 = 0 end) pat:update_frame(408,0,1, { tex_index = 66 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY -baseY0 , duration = 3 , hurtbox = pat:get_frame(308,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(408,0,1,function(frame) frame.hurtbox[1].y2 = 0 end) pat:update_frame(408,0,2, { tex_index = 67 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY -baseY0 , duration = 3 , hurtbox = pat:get_frame(408,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(408,0,3, { tex_index = 68 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY -baseY0 , duration = 3 , hurtbox = pat:get_frame(408,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(408,0,4, { tex_index = 69 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-12 , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(308,0,9).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(408,0,4,function(frame) frame.hurtbox[1].y2 = 0 for idx = 1 , 3 do frame.hurtbox[idx].x1 = frame.hurtbox[idx].x1 + 12 frame.hurtbox[idx].x2 = frame.hurtbox[idx].x2 + 12 end end) pat:update_frame(408,1,0, { tex_index = 70 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-20 , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(308,0,10).hurtbox , attackbox = pat:get_frame(308,0,10).attackbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(408,1,0,function(frame) frame.hurtbox[1].y2 = 0 for idx = 1 , 3 do frame.hurtbox[idx].x1 = frame.hurtbox[idx].x1 + 20 frame.hurtbox[idx].x2 = frame.hurtbox[idx].x2 + 20 end for idx = 1 , 2 do frame.attackbox[idx].x1 = frame.attackbox[idx].x1 + 20 frame.attackbox[idx].x2 = frame.attackbox[idx].x2 + 20 end end) pat:update_frame(408,1,1, { tex_index = 71 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-20 , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(408,1,0).hurtbox , attackbox = pat:get_frame(408,1,0).attackbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(408,1,2, { tex_index = 19 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-20 , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(408,1,0).hurtbox , attackbox = pat:get_frame(408,1,0).attackbox , collision = pat:get_frame(0,0,0).collision }) pat:split_frame(408,0,0,1,2) for idx = 0 , 2 do pat:update_frame(408,1,idx,function(frame) frame.hit_ani_air = 73 frame.hit_ani_ground = 73 frame.launch_vector_x = 600 frame.launch_vector_y = -2000 frame.damage = 850 unset_fflag(frame,FF_GRAZE) unset_aflag(frame,AF_LOWBLOCK_OK) set_aflag(frame,AF_HIGHBLOCK_OK) unset_aflag(frame,AF_ATTACK_LOW) set_aflag(frame,AF_ATTACK_HIGH) end) end for idx = 0 , 5 do pat:update_frame(408,0,idx,function(frame) unset_fflag(frame,FF_GRAZE) end) end --pat:update_frame(408,2,0, { tex_index = 19 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(308,1,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(408,2,0, { tex_index = 20 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-20 , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(408,1,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(408,2,1, { tex_index = 21 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-20 , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(408,1,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(408,2,2, { tex_index = 22 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-20 , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(408,1,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) --pat:update_frame(408,2,3, { tex_index = 23 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-20 , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(408,1,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(408,2,3, { tex_index = 24 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-12 , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(408,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:remove_frame(408,2,4) end function mods.n66c(pat) local baseX = 128 local baseY = 256 local baseW = 128 local baseH = 160 local baseY0 = -32 local baseY1 = -48 local baseY2 = -12 pat:split_frame(418,5,0,1,1) pat:split_frame(418,5,0,1,1) pat:split_frame(418,5,0,1,1) pat:split_frame(418,1,0,1,1) pat:split_frame(418,1,0,1,1) pat:split_frame(418,1,4,1,1) pat:split_frame(418,1,4,1,1) pat:split_frame(418,1,4,1,1) pat:split_frame(418,1,4,1,1) pat:split_frame(418,1,4,1,1) pat:split_frame(418,1,4,1,1) pat:split_frame(418,1,4,1,1) pat:split_frame(418,1,4,1,1) pat:update_frame(418,0,0, { tex_index = 90 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY -baseY2 , duration = 4 , hurtbox = pat:get_frame(307,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(418,0,1, { tex_index = 91 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY -baseY0 , duration = 1 , hurtbox = pat:get_frame(307,0,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(418,0,2, { tex_index = 91 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY -baseY0 , duration = 1 , hurtbox = pat:get_frame(307,0,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(418,0,3, { tex_index = 91 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY -baseY0 , duration = 1 , hurtbox = pat:get_frame(307,0,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(418,0,4, { tex_index = 91 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY -baseY0 , duration = 1 , hurtbox = pat:get_frame(307,0,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(418,0,5, { tex_index = 91 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY -baseY0 , duration = 1 , hurtbox = pat:get_frame(307,0,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(418,0,6, { tex_index = 92 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY -baseY0 , duration = 1 , hurtbox = pat:get_frame(307,0,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(418,0,7, { tex_index = 92 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY -baseY0 , duration = 1 , hurtbox = pat:get_frame(307,0,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(418,0,8, { tex_index = 92 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY -baseY0 , duration = 1 , hurtbox = pat:get_frame(307,0,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(418,0,9, { tex_index = 92 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY -baseY0 , duration = 1 , hurtbox = pat:get_frame(307,0,2).hurtbox , attackbox = pat:get_frame(0,0,0).attackbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(418,0,10, { tex_index = 92 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY -baseY0 , duration = 2 , hurtbox = pat:get_frame(307,0,2).hurtbox , attackbox = pat:get_frame(0,0,0).attackbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(418,1,0, { tex_index = 93 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY -baseY1 , duration = 5 , hurtbox = pat:get_frame(307,0,6).hurtbox , attackbox = pat:get_frame(307,0,6).attackbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(418,1,1, { tex_index = 94 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY -baseY1 , duration = 5 , hurtbox = pat:get_frame(307,0,6).hurtbox , attackbox = pat:get_frame(307,0,6).attackbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(418,1,2, { tex_index = 95 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY -baseY1 , duration = 5 , hurtbox = pat:get_frame(307,0,6).hurtbox , attackbox = pat:get_frame(307,0,6).attackbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(418,1,3, { tex_index = 96 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +44 , duration = 1 , hurtbox = pat:get_frame(307,0,6).hurtbox , attackbox = pat:get_frame(307,0,6).attackbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(418,1,4, { tex_index = 96 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +40 , duration = 1 , hurtbox = pat:get_frame(307,0,6).hurtbox , attackbox = pat:get_frame(307,0,6).attackbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(418,1,5, { tex_index = 96 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +36 , duration = 1 , hurtbox = pat:get_frame(307,0,6).hurtbox , attackbox = pat:get_frame(307,0,6).attackbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(418,1,6, { tex_index = 96 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +32 , duration = 1 , hurtbox = pat:get_frame(307,0,6).hurtbox , attackbox = pat:get_frame(307,0,6).attackbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(418,1,7, { tex_index = 96 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +28 , duration = 1 , hurtbox = pat:get_frame(307,0,6).hurtbox , attackbox = pat:get_frame(307,0,6).attackbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(418,1,8, { tex_index = 97 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +24 , duration = 1 , hurtbox = pat:get_frame(307,0,6).hurtbox , attackbox = pat:get_frame(307,0,6).attackbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(418,1,9, { tex_index = 97 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +20 , duration = 1 , hurtbox = pat:get_frame(307,0,6).hurtbox , attackbox = pat:get_frame(307,0,6).attackbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(418,1,10, { tex_index = 97 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +16 , duration = 1 , hurtbox = pat:get_frame(307,0,6).hurtbox , attackbox = pat:get_frame(307,0,6).attackbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(418,1,11, { tex_index = 97 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +12 , duration = 1 , hurtbox = pat:get_frame(307,0,6).hurtbox , attackbox = pat:get_frame(307,0,6).attackbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(418,1,12, { tex_index = 97 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +8 , duration = 1 , hurtbox = pat:get_frame(307,0,6).hurtbox , attackbox = pat:get_frame(307,0,6).attackbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(418,2,0, { tex_index = 97 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +8 , duration = 1 , hurtbox = pat:get_frame(307,0,6).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(418,5,0, { tex_index = 98 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +0 , duration = 3 , hurtbox = pat:get_frame(304,1,0).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(418,5,1, { tex_index = 99 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +0 , duration = 3 , hurtbox = pat:get_frame(304,1,0).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(418,5,2, { tex_index = 100 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +0 , duration = 2+1 , hurtbox = pat:get_frame(304,0,1).hurtbox , collision = pat:get_frame(1,0,1).collision }) pat:update_frame(418,5,3, { tex_index = 91 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +0, duration = 2+1 , hurtbox = pat:get_frame(304,0,1).hurtbox , collision = pat:get_frame(1,0,1).collision }) pat:update_frame(418,5,4, { tex_index = 90 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3+1 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(418,5,5, { tex_index = 213 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3+1 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) for idx = 0 , 12 do pat:update_frame(418,1,idx,function(frame) set_fflag(frame,FF_GRAZE) end) end for idx = 3 , 12 do pat:update_frame(418,1,idx,function(frame) local baseYN = 56 - 4*idx frame.tex_offset_y = baseY +baseYN for idy = 1 , 3 do frame.hurtbox[idy].y1 = frame.hurtbox[idy].y1 - baseY1 - baseYN frame.hurtbox[idy].y2 = frame.hurtbox[idy].y2 - baseY1 - baseYN end frame.attackbox[1].y1 = frame.attackbox[1].y1 - baseY1 - baseYN frame.attackbox[1].y2 = frame.attackbox[1].y2 - baseY1 - baseYN end) end for idx = 0 , 12 do pat:update_frame(418,1,idx,{ launch_vector_x = 2450 }) end for idx = 0 , 12 do pat:update_frame(418,1,idx,function(frame) frame.blockstop_self = 10 frame.hitstop_self = 10 end) end for idx = 0 , 1 do pat:update_frame(418,5,idx,function(frame) for idy = 1 , 3 do frame.hurtbox[idy].x1 = frame.hurtbox[idy].x1 - 40 frame.hurtbox[idy].x2 = frame.hurtbox[idy].x2 - 40 end end) end for idx = 2 , 3 do pat:update_frame(418,5,idx,function(frame) for idy = 1 , 2 do frame.hurtbox[idy].x1 = frame.hurtbox[idy].x1 - 24 frame.hurtbox[idy].x2 = frame.hurtbox[idy].x2 - 24 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 = 43 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(302,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(500,0,1, { tex_index = 44 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(302,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(500,0,2, { tex_index = 44 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(302,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(500,0,3, { tex_index = 45 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(302,1,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(500,0,4, { tex_index = 46 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(302,1,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(500,0,5, { tex_index = 47 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(302,1,2).hurtbox , collision = pat:get_frame(0,0,0).collision })-- , fflags = 0x00000021 }) pat:update_frame(500,0,6, { tex_index = 48 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(302,1,3).hurtbox , collision = pat:get_frame(0,0,0).collision })-- , fflags = 0x00000021 }) pat:update_frame(500,0,7, { tex_index = 49 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(302,2,0).hurtbox , collision = pat:get_frame(0,0,0).collision })-- , fflags = 0x00200021 }) pat:update_frame(500,0,8, { tex_index = 50 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(302,2,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(500,0,9, { tex_index = 51 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(302,2,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(500,0,10, { tex_index = 51 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(302,2,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(500,0,11, { tex_index = 51 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2+4 , hurtbox = pat:get_frame(302,2,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(500,0,12, { tex_index = 52 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(302,2,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(500,0,13, { tex_index = 52 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(302,2,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(501,0,0, { tex_index = 43 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(302,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(501,0,1, { tex_index = 44 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(302,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(501,0,2, { tex_index = 44 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(302,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(501,0,3, { tex_index = 45 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(302,1,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(501,0,4, { tex_index = 46 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(302,1,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(501,0,5, { tex_index = 47 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(302,1,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(501,0,6, { tex_index = 48 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(302,1,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(501,0,7, { tex_index = 49 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(302,2,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(501,0,8, { tex_index = 50 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(302,2,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(501,0,9, { tex_index = 51 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(302,2,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(501,0,10, { tex_index = 51 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(302,2,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(501,0,11, { tex_index = 51 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2+4 , hurtbox = pat:get_frame(302,2,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(501,0,12, { tex_index = 52 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(302,2,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(501,0,13, { tex_index = 52 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(302,2,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:remove_frame(810,0,1) pat:remove_frame(810,1,1) pat:remove_frame(810,8,1) pat:get_sequence(810,0):set_priority(20,0) pat:get_sequence(810,1):set_priority(20,0) pat:update_frame(810,2,0,{ tex_w = 0 }) pat:update_frame(810,3,0,{ tex_w = 0 }) pat:update_frame(810,4,0,{ tex_w = 0 }) pat:update_frame(810,5,0,{ tex_w = 0 }) pat:update_frame(810,6,0,{ tex_w = 0 }) pat:update_frame(810,7,0,{ tex_w = 0 }) local maxDur = 179 local p1Dur = 40 for idx = 1 , maxDur do pat:split_frame(810,0,0,1,1) end for idx = 0 , maxDur do pat:update_frame(810,0,idx,function(frame) frame.fflags = 0x00000000 set_fflag(frame, FF_AFTER_IMAGE) set_fflag(frame, FF_LOOP_ANIMATION) set_aflag(frame, AF_UNREFLECTABLE) frame.tex_index = 139 + (idx/2)%2 frame.tex_w = 256 frame.tex_h = 128 frame.tex_offset_x = 128 frame.tex_offset_y = 64 frame.angle_x = 0 frame.angle_y = 0 frame.angle_z = 0 frame.scale_x = 70 frame.scale_y = 70 local scalemod = 100/frame.scale_x local scalemody = 100/frame.scale_y local ymod = 0 local xmod = 25*idx - idx*idx*0.3125 frame.duration = 1 if (idx <= p1Dur) then frame.attackbox = pat:get_frame(0,0,0).hurtbox frame.attackbox[1].x1 = -30 frame.attackbox[1].x2 = 30 frame.attackbox[1].y1 = -30 frame.attackbox[1].y2 = 30 if (idx < 4) then frame.attackbox[1].x1 = -80 end frame.scale_x = 70 + (p1Dur-idx) * 2.5 scalemod = 100/frame.scale_x 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)*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.hitstop_enemy = 16 frame.hitstop_self = 5 frame.blockstop_enemy = 10 frame.blockstop_self = 5 frame.hit_ani_ground = 71 frame.hit_ani_air = 71 frame.launch_vector_x = 450 frame.launch_vector_y = 1800 frame.untech = 45 frame.hit_effect = 8 frame.hit_sfx = 5 frame.damage = 950 frame.chip_damage = 190 frame.sp_damage = 200 frame.limit = 30 frame.proration = 850 frame.attack_level = AL_HEAVY frame.combo_correction = CC_LIFT_ATTACK frame.card_gain_hit = frame.card_gain_hit * 2 frame.card_gain_block = frame.card_gain_block * 2 set_aflag(frame,AF_COUNTER_HIT) if (idx == p1Dur) then frame.attackbox = pat:get_frame(0,0,0).attackbox end elseif (idx > p1Dur) then --local size = 1.5*(idx-p1Dur) + 20 local size = 1.0*(idx-p1Dur) + 20 frame.tex_index = 137 + (idx/2)%2 frame.tex_offset_x = 64 frame.tex_offset_y = 64 frame.scale_x = size*3.250 frame.scale_y = size*3.250 frame.tex_w = 128 frame.tex_h = 128 scalemod = 100/frame.scale_x xmod = 0 xmod = 500 - 1*(idx-p1Dur) frame.attackbox = pat:get_frame(0,0,0).hurtbox frame.attackbox[1].x1 = -size frame.attackbox[1].x2 = size frame.attackbox[1].y1 = -size frame.attackbox[1].y2 = size frame.attackbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.attackbox[2].x1 = -size * 1.3 frame.attackbox[2].x2 = size * 1.3 frame.attackbox[2].y1 = -size * 0.6 frame.attackbox[2].y2 = size * 0.6 frame.attackbox[3] = pat:get_frame(0,0,0).hurtbox[1] frame.attackbox[3].x1 = -size * 0.6 frame.attackbox[3].x2 = size * 0.6 frame.attackbox[3].y1 = -size * 1.3 frame.attackbox[3].y2 = size * 1.3 frame.tex_offset_y = frame.tex_offset_y - (ymod)*scalemod frame.attackbox[1].y1 = frame.attackbox[1].y1 + (ymod) frame.attackbox[1].y2 = frame.attackbox[1].y2 + (ymod) frame.attackbox[2].y1 = frame.attackbox[2].y1 + (ymod) frame.attackbox[2].y2 = frame.attackbox[2].y2 + (ymod) frame.attackbox[3].y1 = frame.attackbox[3].y1 + (ymod) frame.attackbox[3].y2 = frame.attackbox[3].y2 + (ymod) frame.tex_offset_x = frame.tex_offset_x - (xmod)*scalemod frame.attackbox[1].x1 = frame.attackbox[1].x1 + (xmod) frame.attackbox[1].x2 = frame.attackbox[1].x2 + (xmod) frame.attackbox[2].x1 = frame.attackbox[2].x1 + (xmod) frame.attackbox[2].x2 = frame.attackbox[2].x2 + (xmod) frame.attackbox[3].x1 = frame.attackbox[3].x1 + (xmod) frame.attackbox[3].x2 = frame.attackbox[3].x2 + (xmod) frame.hurtbox = pat:get_frame(0,0,0).attackbox frame.hit_effect = 1 frame.hit_sfx = 6 frame.hitstop_self = 10 frame.blockstop_self = 10 frame.blockstop_enemy = 10 frame.sp_damage = 240 frame.attack_level = AL_HEAVY frame.hit_ani_ground = 302 frame.hit_ani_air = 307 frame.damage = 0 frame.proration = 1000 frame.card_gain_hit = frame.card_gain_hit * 2 frame.card_gain_block = frame.card_gain_block * 2 --frame.limit = 100 --unset_aflag(frame,AF_AIR_BLOCKABLE) --set_aflag(frame,AF_GROUND_UNBLOCKABLE) --set_aflag(frame,AF_DRAINS_ON_GRAZE) if (idx > (maxDur-10)) then frame.color_r = 255-25*(idx-(maxDur-10)) frame.color_g = 255-25*(idx-(maxDur-10)) frame.color_b = 255-25*(idx-(maxDur-10)) end if (idx > (maxDur-5)) then frame.attackbox = pat:get_frame(0,0,0).attackbox end if (idx >= maxDur) then frame.color_r = 0 frame.color_g = 0 frame.color_b = 0 frame.duration = 20 end end end) end pat:update_frame(810,1,0,function(frame) frame.attackbox = pat:get_frame(0,0,0).attackbox frame.duration = 1 frame.tex_w = 0 end) pat:update_frame(810,8,0,function(frame) frame.attackbox = pat:get_frame(0,0,0).attackbox frame.duration = 1 frame.tex_w = 0 end) end function mods.d623(pat) local baseX = 128 local baseY = 256 local baseW = 128 local baseH = 160 local baseY0 = 6 pat:split_frame(540,3,2,1,1) pat:split_frame(540,3,2,1,1) pat:update_frame(540,0,0, { tex_index = 440 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY0 , duration = 3 , hurtbox = pat:get_frame(540,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(540,0,0,function(frame) frame.hurtbox[1].x1 = frame.hurtbox[1].x1 + 15 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 + 15 frame.hurtbox[2].x1 = frame.hurtbox[2].x1 + 15 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 + 15 frame.hurtbox[2].y1 = frame.hurtbox[2].y1 - 10 end) pat:update_frame(540,0,1, { tex_index = 440 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY0 , duration = 3 , hurtbox = pat:get_frame(540,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(540,0,2, { tex_index = 441 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY0 , duration = 3 , hurtbox = pat:get_frame(540,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(540,0,3, { tex_index = 441 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY0 , duration = 23+5-3 , hurtbox = pat:get_frame(540,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(540,0,4, { tex_index = 442 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(540,1,0, { tex_index = 443 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(540,1,1, { tex_index = 444 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(540,1,2, { tex_index = 445 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(540,2,0, { tex_index = 443 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000021 }) pat:update_frame(540,2,1, { tex_index = 444 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000021 }) pat:update_frame(540,2,2, { tex_index = 445 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000021 }) pat:update_frame(540,3,0, { tex_index = 443 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 6 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(540,3,1, { tex_index = 444 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 6 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(540,3,2, { tex_index = 445 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 6 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(540,3,3, { tex_index = 52 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(540,3,4, { tex_index = 316 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:remove_frame(541,1,5) pat:remove_frame(541,1,4) pat:remove_frame(541,1,3) pat:split_frame(541,3,2,1,1) pat:split_frame(541,3,2,1,1) pat:update_frame(541,0,0, { tex_index = 440 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY0 , duration = 3 , hurtbox = pat:get_frame(540,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(541,0,1, { tex_index = 440 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY0 , duration = 3 , hurtbox = pat:get_frame(540,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(541,0,2, { tex_index = 441 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY0 , duration = 3 , hurtbox = pat:get_frame(540,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(541,0,3, { tex_index = 441 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY0 , duration = 23+5-3 , hurtbox = pat:get_frame(540,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(541,0,4, { tex_index = 442 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(541,1,0, { tex_index = 443 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(541,1,1, { tex_index = 444 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(541,1,2, { tex_index = 445 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(541,2,0, { tex_index = 443 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000021 }) pat:update_frame(541,2,1, { tex_index = 444 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000021 }) pat:update_frame(541,2,2, { tex_index = 445 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000021 }) pat:update_frame(541,3,0, { tex_index = 443 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 6 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(541,3,1, { tex_index = 444 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 6 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(541,3,2, { tex_index = 445 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 6 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(541,3,3, { tex_index = 52 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(541,3,4, { tex_index = 316 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(820,0,0,function(frame) frame.tex_index = 102 frame.tex_w = 32 frame.tex_h = 128 frame.tex_offset_x = 16 frame.tex_offset_y = 64 frame.scale_x = 4000 frame.scale_y = 10 frame.blending_mode = 1 end) pat:update_frame(820,1,0,function(frame) frame.tex_index = 102 frame.tex_w = 32 frame.tex_h = 128 frame.tex_offset_x = 16 frame.tex_offset_y = 64 frame.scale_x = 4000 frame.scale_y = 40 frame.blending_mode = 1 end) pat:update_frame(820,2,0,function(frame) frame.tex_w = 0 frame.duration = 1 end) --820,2,0 is useless pat:get_sequence(820,3):set_priority(10,0) for idx = 1 , 32 do pat:split_frame(820,3,0,1,1) end for idx = 0 , 32 do pat:update_frame(820,3,idx,function(frame) frame.tex_index = 102 frame.tex_w = 32 frame.tex_h = 128 frame.tex_offset_x = 16 frame.tex_offset_y = 64 frame.scale_x = 4000 frame.scale_y = 40 frame.blending_mode = 1 if (idx >= 10) then frame.attackbox = pat:get_frame(0,0,0).hurtbox frame.attackbox[1].x1 = -2000 frame.attackbox[1].x2 = 2000 frame.attackbox[1].y1 = -15 frame.attackbox[1].y2 = 15 frame.damage = 250 frame.chip_damage = 10 frame.untech = 40 frame.aflags = pat:get_frame(800,0,0).aflags set_aflag(frame,AF_SKILL_ATTACK) --frame.fflags = pat:get_frame(800,0,0).fflags frame.fflags = 0x01000001 frame.limit = 10 frame.combo_correction = CC_LIFT_ATTACK frame.hit_ani_air = 71 frame.hit_ani_ground = 71 frame.proration = 910 frame.sp_damage = 5 frame.attack_level = AL_MEDIUM frame.card_gain_hit = 20 frame.card_gain_block = 20 frame.launch_vector_x = 1500 frame.launch_vector_y = 600 frame.hit_sfx = 3 frame.hit_effect = 3 frame.unknown_9 = 100 frame.hitstop_self = 0 frame.hitstop_enemy = 10 frame.blockstop_self = 0 frame.blockstop_enemy = 0 set_aflag(frame,AF_PROJECTILE) unset_aflag(frame,AF_GROUND_UNBLOCKABLE) set_aflag(frame,AF_AIR_BLOCKABLE) unset_aflag(frame,AF_UNGRAZABLE) set_aflag(frame,AF_UNREFLECTABLE) end local ymod = 100 -10*idx local xmod = 0 local scalemod = 40/frame.scale_y frame.tex_offset_y = frame.tex_offset_y - (ymod)*scalemod frame.tex_offset_x = frame.tex_offset_x - (xmod)*scalemod if (idx >= 10) then frame.attackbox[1].y1 = frame.attackbox[1].y1 + (ymod) frame.attackbox[1].y2 = frame.attackbox[1].y2 + (ymod) frame.attackbox[1].x1 = frame.attackbox[1].x1 + (xmod) frame.attackbox[1].x2 = frame.attackbox[1].x2 + (xmod) end if (idx > 27) then frame.attackbox = pat:get_frame(0,0,0).attackbox end if (idx > 30) then frame.duration = 600 frame.tex_w = 0 end end) end end function mods.d214(pat) local baseX = 128 local baseY = 256 local baseW = 160 local baseH = 160 pat:split_frame(520,2,2,1,1) pat:update_frame(520,0,0, { tex_index = 417 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(520,0,0,function(frame) --frame.hurtbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[1].x1 = frame.hurtbox[1].x1 - 20 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 - 20 end) pat:update_frame(520,0,1, { tex_index = 417 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 1 , hurtbox = pat:get_frame(520,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(520,0,2, { tex_index = 417 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 1 , hurtbox = pat:get_frame(520,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(520,0,3, { tex_index = 418 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 1 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(520,0,3,function(frame) frame.hurtbox[1].x1 = frame.hurtbox[1].x1 - 40 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 - 40 frame.hurtbox[1].y2 = frame.hurtbox[1].y1 + 60 frame.hurtbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[2].x1 = frame.hurtbox[2].x1 - 25 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 - 25 frame.hurtbox[2].y1 = frame.hurtbox[1].y2 - 5 end) pat:update_frame(520,0,4, { tex_index = 418 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 1 , hurtbox = pat:get_frame(520,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(520,0,5, { tex_index = 418 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(520,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(520,0,6, { tex_index = 419 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(520,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(520,0,7, { tex_index = 419 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(520,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(520,0,8, { tex_index = 420 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(520,0,8,function(frame) frame.hurtbox[1].x1 = frame.hurtbox[1].x1 + 30 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 + 30 frame.hurtbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[2].y1 = - 80 end) pat:update_frame(520,0,9, { tex_index = 420 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(520,0,8).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(520,0,10, { tex_index = 421 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(520,0,10,function(frame) frame.hurtbox[1].x1 = frame.hurtbox[1].x1 + 90 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 + 90 frame.hurtbox[1].y1 = frame.hurtbox[1].y1 + 10 frame.hurtbox[1].y2 = - 30 frame.hurtbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[2].x1 = frame.hurtbox[2].x1 + 60 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 + 60 frame.hurtbox[2].y1 = -100 frame.hurtbox[2].y2 = 0 frame.hurtbox[3] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[3].x1 = frame.hurtbox[3].x1 + 10 frame.hurtbox[3].x2 = frame.hurtbox[2].x1 + 10 frame.hurtbox[3].y1 = -80 frame.hurtbox[3].y2 = -30 end) pat:update_frame(520,0,11, { tex_index = 421 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(520,0,10).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(520,1,0, { tex_index = 422 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(520,0,10).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(520,1,1, { tex_index = 422 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(520,0,10).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(520,1,2, { tex_index = 422 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(520,0,10).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(520,2,0, { tex_index = 422 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(520,0,10).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(520,2,1, { tex_index = 422 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(520,0,10).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(520,2,2, { tex_index = 422 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(520,0,10).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(520,2,3, { tex_index = 422 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 12 , hurtbox = pat:get_frame(520,0,10).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(520,3,0, { tex_index = 423 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(520,0,10).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(520,3,0,function(frame) frame.hurtbox[1].x1 = frame.hurtbox[1].x1 - 35 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 - 35 frame.hurtbox[2].x1 = frame.hurtbox[2].x1 - 35 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 - 30 frame.hurtbox[3] = null frame.hurtbox[1].y2 = 0 frame.hurtbox[2].y1 = frame.hurtbox[2].y1 + 30 end) pat:update_frame(520,3,1, { tex_index = 424 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(520,3,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) --pat:split_frame(521,2,2,1,1) pat:split_frame(521,0,4,1,1) pat:remove_frame(521,1,3) pat:remove_frame(521,3,2) pat:update_frame(521,0,0, { tex_index = 417 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(520,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(521,0,1, { tex_index = 418 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(520,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(521,0,2, { tex_index = 419 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(520,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(521,0,3, { tex_index = 419 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(520,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(521,0,4, { tex_index = 420 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 6 , hurtbox = pat:get_frame(520,0,8).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(521,0,5, { tex_index = 421 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 6 , hurtbox = pat:get_frame(520,0,10).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(521,1,0, { tex_index = 422 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(520,0,10).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(521,1,1, { tex_index = 422 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(520,0,10).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(521,1,2, { tex_index = 422 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(520,0,10).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(521,2,0, { tex_index = 422 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(520,0,10).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(521,2,1, { tex_index = 422 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(520,0,10).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(521,2,2, { tex_index = 422 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(520,0,10).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(521,2,3, { tex_index = 422 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 12 , hurtbox = pat:get_frame(520,0,10).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(521,3,0, { tex_index = 423 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(520,3,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(521,3,1, { tex_index = 424 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(520,3,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) for idx = 0 , 2 do pat:update_frame(520,2,idx,function(frame) unset_fflag(frame,FF_MOTION_CANCEL) end) pat:update_frame(521,2,idx,function(frame) unset_fflag(frame,FF_MOTION_CANCEL) end) end pat:remove_frame(815,3,1) for idx = 2 , 11 do pat:split_frame(815,3,1,2,2) end for idx = 0 , 11 do pat:update_frame(815,3,idx,function(frame) frame.tex_index = 505 frame.tex_w = 256 frame.tex_h = 256 frame.tex_offset_x = 128 frame.tex_offset_y = 128 frame.scale_x = 200 + idx*8 frame.scale_y = 50 + idx*2 local scalemodx = 100/frame.scale_x local scalemody = 100/frame.scale_y local ymod = 100 local xmod = 200 frame.tex_offset_y = frame.tex_offset_y - (ymod)*scalemody frame.tex_offset_x = frame.tex_offset_x - (xmod)*scalemodx if (idx==0) then frame.tex_w = 0 frame.duration = 20 elseif (idx<=5) then local color = 50*idx frame.color_r = color frame.color_g = color frame.color_b = color frame.duration = 1 elseif (idx<=10) then local color = 255-50*(idx-5) frame.color_r = color frame.color_g = color frame.color_b = color frame.duration = 1 else frame.tex_w = 0 end if (idx%4 <= 1) then frame.color_g = 0 frame.color_b = 0 end end) end for idx = 1 , 5 do pat:remove_frame(815,0,1) end for idx = 1 , 5 do pat:remove_frame(815,4,1) end pat:update_frame(815,0,0,function(frame) frame.tex_index = 128 frame.tex_w = 512 frame.tex_h = 512 frame.tex_offset_x = 256 frame.tex_offset_y = 256 frame.scale_x = 10 frame.scale_y = 13 frame.duration = 1 frame.tex_w = 0 end) pat:update_frame(815,4,0,function(frame) frame.tex_index = 128 frame.tex_w = 512 frame.tex_h = 512 frame.tex_offset_x = 256 frame.tex_offset_y = 256 frame.scale_x = 10 frame.scale_y = 13 frame.duration = 1 frame.tex_w = 0 end) for idx = 1 , 8 do pat:remove_frame(815,2,1) end pat:update_frame(815,2,0,function(frame) frame.duration = 1 frame.tex_w = 0 end) for idx = 1 , 8 do pat:remove_frame(815,6,1) end pat:update_frame(815,6,0,function(frame) frame.duration = 1 frame.tex_w = 0 end) for idy = 1 , 5 do if (idy > 1 and idy < 5) then else for idx = 1 , 5 do pat:remove_frame(815,idy,1) end for idx = 1 , 32 do pat:split_frame(815,idy,0,1,1) end for idx = 0 , 32 do pat:update_frame(815,idy,idx,function(frame) set_fflag(frame, FF_AFTER_IMAGE) set_fflag(frame, FF_LOOP_ANIMATION) frame.tex_index = 128 frame.tex_w = 512 frame.tex_h = 512 frame.tex_offset_x = 256 frame.tex_offset_y = 256 if (idy == 5) then frame.scale_x = 15 frame.scale_y = 20 else frame.scale_x = 10 frame.scale_y = 13 end frame.duration = 1 if (idx >= 20) then frame.tex_index = 151+(idx-20) frame.tex_w = 640 frame.tex_h = 640 frame.tex_offset_x = 320 frame.tex_offset_y = 320 if (idy == 5) then frame.scale_x = 15 frame.scale_y = 20 else frame.scale_x = 10 frame.scale_y = 13 end frame.duration = 1 if (idx > 25) then local alpha = 255-40*(idx-25) frame.color_r = alpha frame.color_g = alpha frame.color_b = alpha end end if (idx<5) then local alpha = 50*(idx+1) frame.color_r = alpha frame.color_g = alpha frame.color_b = alpha end local scalemod = 25/frame.scale_x local ang = 180 - 6*idx if (idx>20) then ang = 180 - 6*20 + (idx-20)*3 end local ymod = 200 * math.cos(ang * 3.14159/180) local xmod = 200 * math.sin(ang * 3.14159/180) 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.attackbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.attackbox[2].x1 = -60 * 1.3 frame.attackbox[2].x2 = 60 * 1.3 frame.attackbox[2].y1 = -60 * 0.6 frame.attackbox[2].y2 = 60 * 0.6 frame.attackbox[3] = pat:get_frame(0,0,0).hurtbox[1] frame.attackbox[3].x1 = -60 * 0.6 frame.attackbox[3].x2 = 60 * 0.6 frame.attackbox[3].y1 = -60 * 1.3 frame.attackbox[3].y2 = 60 * 1.3 if (idy == 5) then for idz = 1 , 3 do frame.attackbox[idz].x1 = frame.attackbox[idz].x1 * 1.5 frame.attackbox[idz].x2 = frame.attackbox[idz].x2 * 1.5 frame.attackbox[idz].y1 = frame.attackbox[idz].y1 * 1.5 frame.attackbox[idz].y2 = frame.attackbox[idz].y2 * 1.5 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.attackbox[2].y1 = frame.attackbox[2].y1 + (ymod) frame.attackbox[2].y2 = frame.attackbox[2].y2 + (ymod) frame.attackbox[3].y1 = frame.attackbox[3].y1 + (ymod) frame.attackbox[3].y2 = frame.attackbox[3].y2 + (ymod) frame.tex_offset_x = frame.tex_offset_x - (xmod)*scalemod frame.attackbox[1].x1 = frame.attackbox[1].x1 + (xmod) frame.attackbox[1].x2 = frame.attackbox[1].x2 + (xmod) frame.attackbox[2].x1 = frame.attackbox[2].x1 + (xmod) frame.attackbox[2].x2 = frame.attackbox[2].x2 + (xmod) frame.attackbox[3].x1 = frame.attackbox[3].x1 + (xmod) frame.attackbox[3].x2 = frame.attackbox[3].x2 + (xmod) frame.hitstop_enemy = 0 if (idx < 10) then frame.launch_vector_x = 1000 frame.launch_vector_y = 400 frame.hit_ani_air = 71 frame.hit_ani_ground = 71 elseif (idx < 20) then frame.launch_vector_x = 1000 frame.launch_vector_y = 0 frame.hit_ani_air = 71 frame.hit_ani_ground = 71 else frame.launch_vector_x = 1000 frame.launch_vector_y = -2500 frame.hit_ani_air = 88 frame.hit_ani_ground = 88 end frame.launch_vector_x = 0 frame.launch_vector_y = -2500 frame.hit_ani_air = 88 frame.hit_ani_ground = 88 frame.limit = 0 frame.damage = 200 frame.proration = 970 frame.hit_sfx = 6 frame.untech = 45 if (idx > 20 and idx <= 24) then set_aflag(frame,AF_UNGRAZABLE) --frame.hitstop_enemy = 10 frame.limit = 40 frame.damage = 800 frame.proration = 850 frame.hit_sfx = 4 end if (idx >= 25) then frame.attackbox = pat:get_frame(0,0,0).attackbox end frame.combo_correction = CC_SMASH_ATTACK end) end end end end function mods.d22(pat) local baseX = 128 local baseY = 256 local baseW = 128 local baseH = 160 pat:split_frame(560,1,0,1,1) pat:split_frame(560,1,0,1,1) pat:split_frame(560,1,0,1,1) pat:split_frame(560,1,0,1,1) pat:split_frame(560,1,0,1,1) pat:split_frame(560,2,0,1,1) pat:split_frame(560,2,0,1,1) pat:split_frame(560,3,0,1,1) pat:split_frame(560,3,0,1,1) pat:split_frame(560,3,0,1,1) pat:split_frame(560,3,0,1,1) pat:split_frame(560,3,0,1,1) pat:update_frame(560,0,0, { tex_index = 308 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 , hurtbox = pat:get_frame(400,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000041 }) pat:update_frame(560,0,1, { tex_index = 309 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 1 , hurtbox = pat:get_frame(400,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000041 }) pat:update_frame(560,0,2, { tex_index = 309 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 1 , hurtbox = pat:get_frame(400,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000041 }) pat:update_frame(560,0,3, { tex_index = 309 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 1 , hurtbox = pat:get_frame(400,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000041 }) pat:update_frame(560,0,4, { tex_index = 309 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 1 , hurtbox = pat:get_frame(400,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000041 }) pat:update_frame(560,1,0, { tex_index = 309 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(400,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000041 }) pat:update_frame(560,1,1, { tex_index = 309 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(400,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000041 }) pat:update_frame(560,1,2, { tex_index = 310 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 , hurtbox = pat:get_frame(400,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000041 }) pat:update_frame(560,1,3, { tex_index = 311 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(400,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000041 }) pat:update_frame(560,1,4, { tex_index = 317 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(400,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000001 }) pat:update_frame(560,1,5, { tex_index = 318 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(400,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000001 }) pat:update_frame(560,1,6, { tex_index = 319 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(400,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000001 }) pat:update_frame(560,1,7, { tex_index = 320 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(400,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000021 }) pat:update_frame(560,2,0, { tex_index = 317 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(400,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00200021 }) pat:update_frame(560,2,1, { tex_index = 318 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(400,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00200021 }) pat:update_frame(560,2,2, { tex_index = 319 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(400,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00200021 }) pat:update_frame(560,2,3, { tex_index = 320 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(400,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00200021 }) pat:update_frame(560,3,0, { tex_index = 317 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(400,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00200021 }) pat:update_frame(560,3,1, { tex_index = 318 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(400,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00200021 }) pat:update_frame(560,3,2, { tex_index = 319 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(400,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00200021 }) pat:update_frame(560,3,3, { tex_index = 320 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(400,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00200021 }) pat:update_frame(560,3,4, { tex_index = 317 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(400,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00200021 }) pat:update_frame(560,3,5, { tex_index = 318 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(400,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00200021 }) pat:update_frame(560,3,6, { tex_index = 316 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(301,0,11).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00200021 }) pat:update_frame(560,3,7, { tex_index = 316 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(301,0,11).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00200021 }) pat:get_sequence(560,3):set_looped(false) pat:get_sequence(560,3):set_priority(50,100) pat:split_frame(561,1,0,1,1) pat:split_frame(561,1,0,1,1) pat:split_frame(561,1,0,1,1) pat:split_frame(561,1,0,1,1) pat:split_frame(561,1,0,1,1) pat:split_frame(561,3,0,1,1) pat:split_frame(561,3,0,1,1) pat:split_frame(561,3,0,1,1) pat:split_frame(561,3,0,1,1) pat:split_frame(561,3,0,1,1) pat:update_frame(561,0,0, { tex_index = 308 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 , hurtbox = pat:get_frame(400,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000041 }) pat:update_frame(561,0,1, { tex_index = 309 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 1 , hurtbox = pat:get_frame(400,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000041 }) pat:update_frame(561,0,2, { tex_index = 309 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 1 , hurtbox = pat:get_frame(400,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000041 }) pat:update_frame(561,0,3, { tex_index = 309 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 1 , hurtbox = pat:get_frame(400,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000041 }) pat:update_frame(561,0,4, { tex_index = 309 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 1 , hurtbox = pat:get_frame(400,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000041 }) pat:update_frame(561,1,0, { tex_index = 309 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(400,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000041 }) pat:update_frame(561,1,1, { tex_index = 309 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(400,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000041 }) pat:update_frame(561,1,2, { tex_index = 310 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 , hurtbox = pat:get_frame(400,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000041 }) pat:update_frame(561,1,3, { tex_index = 311 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(400,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000041 }) pat:update_frame(561,1,4, { tex_index = 317 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(400,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000001 }) pat:update_frame(561,1,5, { tex_index = 318 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(400,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000001 }) pat:update_frame(561,1,6, { tex_index = 319 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(400,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000001 }) pat:update_frame(561,1,7, { tex_index = 320 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(400,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000021 }) pat:update_frame(561,2,0, { tex_index = 317 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(400,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00200021 }) pat:update_frame(561,2,1, { tex_index = 318 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(400,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00200021 }) pat:update_frame(561,2,2, { tex_index = 319 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(400,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00200021 }) pat:update_frame(561,2,3, { tex_index = 320 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(400,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00200021 }) pat:update_frame(561,3,0, { tex_index = 317 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(400,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00200021 }) pat:update_frame(561,3,1, { tex_index = 318 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(400,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00200021 }) pat:update_frame(561,3,2, { tex_index = 319 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(400,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00200021 }) pat:update_frame(561,3,3, { tex_index = 320 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(400,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00200021 }) pat:update_frame(561,3,4, { tex_index = 317 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(400,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00200021 }) pat:update_frame(561,3,5, { tex_index = 318 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(400,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00200021 }) pat:update_frame(561,3,6, { tex_index = 316 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(301,0,11).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00200021 }) pat:update_frame(561,3,7, { tex_index = 316 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(301,0,11).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00200021 }) pat:update_frame(980,1,0,{tex_w = 0}) pat:update_frame(800,1,0,{tex_w = 0}) pat:update_frame(800,2,0,{tex_w = 0}) pat:update_frame(800,3,0,{tex_w = 0}) pat:update_frame(800,3,1,{tex_w = 0}) for idx = 0 , 6 do pat:update_frame(825,0,idx,function(frame) frame.blending_mode = 1 frame.tex_index = 172 frame.tex_offset_x = 32 + 30 frame.tex_offset_y = 32 + 140 frame.scale_x = 10 frame.scale_y = 10 frame.tex_w = 0 frame.tex_h = 64 end) end for idx = 0 , 21 do pat:update_frame(825,1,idx,function(frame) frame.blending_mode = 1 frame.tex_index = 172 frame.tex_offset_x = 32 + 30 frame.tex_offset_y = 32 + 140 frame.scale_x = 10 frame.scale_y = 10 frame.tex_w = 0 frame.tex_h = 64 end) end for idx = 0 , 5 do pat:update_frame(825,2,idx,function(frame) frame.blending_mode = 1 frame.tex_index = 172 frame.tex_offset_x = 32 + 30 frame.tex_offset_y = 32 + 150 frame.scale_x = 10 frame.scale_y = 10 frame.tex_w = 0 frame.tex_h = 64 end) end for idx = 0 , 23 do pat:update_frame(825,3,idx,function(frame) frame.blending_mode = 1 frame.tex_index = 172 frame.tex_offset_x = 32 + 30 frame.tex_offset_y = 32 + 150 frame.scale_x = 10 frame.scale_y = 10 frame.tex_w = 0 frame.tex_h = 64 end) end pat:remove_frame(825,0,6) pat:remove_frame(825,0,5) pat:remove_frame(825,0,4) pat:remove_frame(825,0,3) pat:remove_frame(825,0,2) pat:remove_frame(825,0,1) pat:remove_frame(825,2,5) pat:remove_frame(825,2,4) pat:remove_frame(825,2,3) pat:remove_frame(825,2,2) pat:remove_frame(825,2,1) pat:get_sequence(825,8):set_priority(10,0) for idx = 1 , 121 do pat:split_frame(825,8,0,1,1) end for idx = 0 , 121 do pat:update_frame(825,8,idx,function(frame) set_fflag(frame, FF_AFTER_IMAGE) set_fflag(frame, FF_LOOP_ANIMATION) --frame.tex_index = 101 frame.blending_mode = 1 frame.tex_w = 64 frame.tex_h = 64 frame.tex_offset_x = 32 frame.tex_offset_y = 32 frame.angle_x = 0 frame.angle_y = 0 frame.angle_z = 0 frame.scale_x = 100 frame.scale_y = 100 local ang = (idx*12.5)%360 frame.angle_z = ang*-1 local scalemod = 100/frame.scale_x local ymod = 0 local xmod = 0*idx frame.attackbox[1].x1 = -20 frame.attackbox[1].x2 = 20 frame.attackbox[1].y1 = -20 frame.attackbox[1].y2 = 20 frame.tex_offset_y = frame.tex_offset_y - (ymod)*scalemod frame.attackbox[1].y1 = frame.attackbox[1].y1 + (ymod) frame.attackbox[1].y2 = frame.attackbox[1].y2 + (ymod) frame.tex_offset_x = frame.tex_offset_x - (xmod)*scalemod frame.attackbox[1].x1 = frame.attackbox[1].x1 + (xmod) frame.attackbox[1].x2 = frame.attackbox[1].x2 + (xmod) frame.hurtbox = frame.attackbox frame.damage = 100 frame.chip_damage = 10 frame.sp_damage = 25 frame.proration = 970 frame.card_gain_hit = 10 frame.card_gain_block = 10 frame.limit = 2 frame.untech = 25 frame.blockstop_enemy = 2 if (idx>110) then frame.scale_x = (120-idx)*10 frame.scale_y = (120-idx)*10 end if (idx==121) then frame.scale_x = 0 frame.scale_y = 0 end end) end end function mods.a236_bend(pat) local baseX = 128 local baseY = 256 local baseW = 128 local baseH = 160 pat:update_frame(505,0,0, { tex_index = 43 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(302,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(505,0,1, { tex_index = 44 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(302,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(505,0,2, { tex_index = 44 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4+4 , hurtbox = pat:get_frame(302,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(505,0,3, { tex_index = 45 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(302,1,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(505,0,4, { tex_index = 46 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(302,1,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(505,0,5, { tex_index = 47 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(302,1,2).hurtbox , collision = pat:get_frame(0,0,0).collision })-- , fflags = 0x00000021 }) pat:update_frame(505,0,6, { tex_index = 48 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(302,1,3).hurtbox , collision = pat:get_frame(0,0,0).collision })-- , fflags = 0x00000021 }) pat:update_frame(505,0,7, { tex_index = 49 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(302,2,0).hurtbox , collision = pat:get_frame(0,0,0).collision })-- , fflags = 0x00200021 }) pat:update_frame(505,0,8, { tex_index = 50 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(302,2,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(505,0,9, { tex_index = 51 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(302,2,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(505,0,10, { tex_index = 51 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(302,2,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(505,0,11, { tex_index = 51 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(302,2,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(505,0,12, { tex_index = 52 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(302,2,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(505,0,13, { tex_index = 52 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(302,2,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(506,0,0, { tex_index = 43 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(302,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(506,0,1, { tex_index = 44 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(302,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(506,0,2, { tex_index = 44 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4+4 , hurtbox = pat:get_frame(302,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(506,0,3, { tex_index = 45 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(302,1,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(506,0,4, { tex_index = 46 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(302,1,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(506,0,5, { tex_index = 47 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(302,1,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(506,0,6, { tex_index = 48 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(302,1,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(506,0,7, { tex_index = 49 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(302,2,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(506,0,8, { tex_index = 50 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(302,2,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(506,0,9, { tex_index = 51 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(302,2,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(506,0,10, { tex_index = 51 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(302,2,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(506,0,11, { tex_index = 51 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(302,2,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(506,0,12, { tex_index = 52 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(302,2,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(506,0,13, { tex_index = 52 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(302,2,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) local baseX0 = -4 local baseY0 = -12 local baseX1 = 12 local baseY1 = -12 local baseY2 = -8 pat:update_frame(507,0,0, { tex_index = 43 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX -baseX0 , tex_offset_y = baseY -baseY0 , duration = 4 , hurtbox = pat:get_frame(414,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(507,0,1, { tex_index = 44 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX -baseX0 , tex_offset_y = baseY -baseY0 , duration = 4 , hurtbox = pat:get_frame(414,0,1).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(507,0,2, { tex_index = 44 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX -baseX0 , tex_offset_y = baseY -baseY0 , duration = 4+4 , hurtbox = pat:get_frame(414,0,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(507,0,3, { tex_index = 45 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(414,0,3).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(507,0,4, { tex_index = 46 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX -baseX1 , tex_offset_y = baseY -baseY1 , duration = 4 , hurtbox = pat:get_frame(414,0,4).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(507,0,5, { tex_index = 47 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX -baseX1 , tex_offset_y = baseY -baseY1 , duration = 4 , hurtbox = pat:get_frame(414,0,5).hurtbox , collision = pat:get_frame(6,1,0).collision , fflags = 0x00000024 }) pat:update_frame(507,0,6, { tex_index = 25 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY -baseY2 , duration = 4 , hurtbox = pat:get_frame(414,0,6).hurtbox , collision = pat:get_frame(6,1,0).collision , fflags = 0x00000024 }) pat:update_frame(507,0,7, { tex_index = 26 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY -baseY2 , duration = 4 , hurtbox = pat:get_frame(414,0,6).hurtbox , collision = pat:get_frame(6,1,0).collision , fflags = 0x00200024 }) pat:update_frame(507,0,8, { tex_index = 27 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY -baseY2 , duration = 4 , hurtbox = pat:get_frame(414,0,6).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(507,0,9, { tex_index = 28 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY -baseY2 , duration = 2 , hurtbox = pat:get_frame(414,0,6).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(507,0,10, { tex_index = 28 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY -baseY2 , duration = 2 , hurtbox = pat:get_frame(414,0,6).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(507,0,11, { tex_index = 28 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY -baseY2 , duration = 2 , hurtbox = pat:get_frame(414,0,6).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(507,0,12, { tex_index = 29 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY -baseY2 , duration = 2 , hurtbox = pat:get_frame(414,0,3).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(507,0,13, { tex_index = 29 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY -baseY2 , duration = 2 , hurtbox = pat:get_frame(414,0,3).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(507,2,0, { tex_index = 522 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(1,0,1).hurtbox , collision = pat:get_frame(1,0,1).collision }) pat:update_frame(507,2,1, { tex_index = 523 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(1,0,1).hurtbox , collision = pat:get_frame(1,0,1).collision }) pat:update_frame(507,2,2, { tex_index = 213 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(508,0,0, { tex_index = 43 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX -baseX0 , tex_offset_y = baseY -baseY0 , duration = 4 , hurtbox = pat:get_frame(414,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(508,0,1, { tex_index = 44 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX -baseX0 , tex_offset_y = baseY -baseY0 , duration = 4 , hurtbox = pat:get_frame(414,0,1).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(508,0,2, { tex_index = 44 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX -baseX0 , tex_offset_y = baseY -baseY0 , duration = 4+4 , hurtbox = pat:get_frame(414,0,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(508,0,3, { tex_index = 45 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(414,0,3).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(508,0,4, { tex_index = 46 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX -baseX1 , tex_offset_y = baseY -baseY1 , duration = 4 , hurtbox = pat:get_frame(414,0,4).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(508,0,5, { tex_index = 47 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX -baseX1 , tex_offset_y = baseY -baseY1 , duration = 4 , hurtbox = pat:get_frame(414,0,5).hurtbox , collision = pat:get_frame(6,1,0).collision , fflags = 0x00000024 }) pat:update_frame(508,0,6, { tex_index = 25 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY -baseY2 , duration = 4 , hurtbox = pat:get_frame(414,0,6).hurtbox , collision = pat:get_frame(6,1,0).collision , fflags = 0x00000024 }) pat:update_frame(508,0,7, { tex_index = 26 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY -baseY2 , duration = 4 , hurtbox = pat:get_frame(414,0,6).hurtbox , collision = pat:get_frame(6,1,0).collision , fflags = 0x00200024 }) pat:update_frame(508,0,8, { tex_index = 27 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY -baseY2 , duration = 4 , hurtbox = pat:get_frame(414,0,6).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(508,0,9, { tex_index = 28 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY -baseY2 , duration = 2 , hurtbox = pat:get_frame(414,0,6).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(508,0,10, { tex_index = 28 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY -baseY2 , duration = 2 , hurtbox = pat:get_frame(414,0,6).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(508,0,11, { tex_index = 28 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY -baseY2 , duration = 2 , hurtbox = pat:get_frame(414,0,6).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(508,0,12, { tex_index = 29 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY -baseY2 , duration = 2 , hurtbox = pat:get_frame(414,0,3).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(508,0,13, { tex_index = 29 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY -baseY2 , duration = 2 , hurtbox = pat:get_frame(414,0,3).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(508,2,0, { tex_index = 522 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(1,0,1).hurtbox , collision = pat:get_frame(1,0,1).collision }) pat:update_frame(508,2,1, { tex_index = 523 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(1,0,1).hurtbox , collision = pat:get_frame(1,0,1).collision }) pat:update_frame(508,2,2, { tex_index = 213 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:remove_frame(811,0,1) pat:remove_frame(811,1,1) pat:remove_frame(811,8,1) pat:remove_frame(811,10,1) pat:remove_frame(811,11,1) pat:get_sequence(811,0):set_priority(20,0) pat:get_sequence(811,1):set_priority(20,0) pat:update_frame(811,2,0,{ tex_w = 0 }) pat:update_frame(811,3,0,{ tex_w = 0 }) pat:update_frame(811,4,0,{ tex_w = 0 }) pat:update_frame(811,4,1,{ tex_w = 0 }) pat:update_frame(811,5,0,{ tex_w = 0 }) pat:update_frame(811,6,0,{ tex_w = 0 }) pat:update_frame(811,6,1,{ tex_w = 0 }) pat:update_frame(811,7,0,{ tex_w = 0 }) local maxDur = 119 local p1Dur = 40 for idx = 1 , maxDur do pat:split_frame(811,0,0,1,1) end for idx = 0 , maxDur do pat:update_frame(811,0,idx,function(frame) frame.blending_mode = 1 frame.fflags = 0x00000000 set_fflag(frame, FF_AFTER_IMAGE) set_fflag(frame, FF_LOOP_ANIMATION) set_aflag(frame, AF_UNREFLECTABLE) frame.tex_index = 143 + (idx/2)%2 frame.tex_w = 256 frame.tex_h = 128 frame.tex_offset_x = 128 frame.tex_offset_y = 64 frame.angle_x = 0 frame.angle_y = 0 frame.angle_z = 0 frame.scale_x = 70 frame.scale_y = 70 local scalemod = 100/frame.scale_x local scalemody = 100/frame.scale_y local ymod = 0 local xmod = 25*idx - idx*idx*0.3125 frame.duration = 1 if (idx <= p1Dur) then frame.attackbox = pat:get_frame(0,0,0).hurtbox frame.attackbox[1].x1 = -30 frame.attackbox[1].x2 = 30 frame.attackbox[1].y1 = -30 frame.attackbox[1].y2 = 30 if (idx < 4) then frame.attackbox[1].x1 = -80 end frame.scale_x = 70 + (p1Dur-idx) * 2.5 scalemod = 100/frame.scale_x 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)*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.hitstop_enemy = 16 frame.hitstop_self = 5 frame.blockstop_enemy = 10 frame.blockstop_self = 5 frame.hit_ani_ground = 71 frame.hit_ani_air = 71 frame.launch_vector_x = 450 frame.launch_vector_y = 1800 frame.untech = 45 frame.hit_effect = 8 frame.hit_sfx = 5 frame.damage = 850 frame.chip_damage = 170 frame.sp_damage = 150 frame.limit = 30 frame.proration = 850 frame.attack_level = AL_HEAVY frame.combo_correction = CC_LIFT_ATTACK frame.card_gain_hit = frame.card_gain_hit * 2 frame.card_gain_block = frame.card_gain_block * 2 set_aflag(frame,AF_COUNTER_HIT) if (idx == p1Dur) then frame.attackbox = pat:get_frame(0,0,0).attackbox end elseif (idx > p1Dur) then local size = 2.4 * (idx-p1Dur) + 20 frame.tex_index = 141 + (idx/2)%2 frame.tex_offset_x = 64 frame.tex_offset_y = 64 frame.scale_x = size*3.250 frame.scale_y = size*3.250 frame.tex_w = 128 frame.tex_h = 128 scalemod = 100/frame.scale_x xmod = 0 xmod = 500 - 0*(idx-p1Dur) + 0*idx frame.attackbox = pat:get_frame(0,0,0).hurtbox frame.attackbox[1].x1 = -size frame.attackbox[1].x2 = size frame.attackbox[1].y1 = -size frame.attackbox[1].y2 = size frame.attackbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.attackbox[2].x1 = -size * 1.3 frame.attackbox[2].x2 = size * 1.3 frame.attackbox[2].y1 = -size * 0.6 frame.attackbox[2].y2 = size * 0.6 frame.attackbox[3] = pat:get_frame(0,0,0).hurtbox[1] frame.attackbox[3].x1 = -size * 0.6 frame.attackbox[3].x2 = size * 0.6 frame.attackbox[3].y1 = -size * 1.3 frame.attackbox[3].y2 = size * 1.3 frame.tex_offset_y = frame.tex_offset_y - (ymod)*scalemod frame.attackbox[1].y1 = frame.attackbox[1].y1 + (ymod) frame.attackbox[1].y2 = frame.attackbox[1].y2 + (ymod) frame.attackbox[2].y1 = frame.attackbox[2].y1 + (ymod) frame.attackbox[2].y2 = frame.attackbox[2].y2 + (ymod) frame.attackbox[3].y1 = frame.attackbox[3].y1 + (ymod) frame.attackbox[3].y2 = frame.attackbox[3].y2 + (ymod) frame.tex_offset_x = frame.tex_offset_x - (xmod)*scalemod frame.attackbox[1].x1 = frame.attackbox[1].x1 + (xmod) frame.attackbox[1].x2 = frame.attackbox[1].x2 + (xmod) frame.attackbox[2].x1 = frame.attackbox[2].x1 + (xmod) frame.attackbox[2].x2 = frame.attackbox[2].x2 + (xmod) frame.attackbox[3].x1 = frame.attackbox[3].x1 + (xmod) frame.attackbox[3].x2 = frame.attackbox[3].x2 + (xmod) frame.hurtbox = pat:get_frame(0,0,0).attackbox frame.hit_effect = 1 frame.hit_sfx = 6 frame.hitstop_self = 10 frame.blockstop_self = 10 frame.blockstop_enemy = 10 frame.sp_damage = 240 frame.attack_level = AL_HEAVY frame.hit_ani_ground = 304 frame.hit_ani_air = 309 frame.damage = 0 frame.proration = 1000 frame.card_gain_hit = frame.card_gain_hit * 2 frame.card_gain_block = frame.card_gain_block * 2 --frame.limit = 100 --unset_aflag(frame,AF_AIR_BLOCKABLE) --set_aflag(frame,AF_GROUND_UNBLOCKABLE) --set_aflag(frame,AF_DRAINS_ON_GRAZE) if (idx > (maxDur-10)) then frame.color_r = 255-25*(idx-(maxDur-10)) frame.color_g = 255-25*(idx-(maxDur-10)) frame.color_b = 255-25*(idx-(maxDur-10)) end if (idx > (maxDur-5)) then frame.attackbox = pat:get_frame(0,0,0).attackbox end if (idx >= maxDur) then frame.color_r = 0 frame.color_g = 0 frame.color_b = 0 frame.duration = 20 end end end) end pat:update_frame(811,1,0,function(frame) frame.attackbox = pat:get_frame(0,0,0).attackbox frame.duration = 1 frame.tex_w = 0 end) pat:update_frame(811,8,0,function(frame) frame.attackbox = pat:get_frame(0,0,0).attackbox frame.duration = 1 frame.tex_w = 0 end) pat:update_frame(811,9,0,function(frame) frame.attackbox = pat:get_frame(0,0,0).attackbox frame.duration = 1 frame.tex_w = 0 end) pat:update_frame(811,10,0,function(frame) frame.attackbox = pat:get_frame(0,0,0).attackbox frame.duration = 1 frame.tex_w = 0 end) pat:update_frame(811,11,0,function(frame) frame.attackbox = pat:get_frame(0,0,0).attackbox frame.duration = 1 frame.tex_w = 0 end) end function mods.a236_drop(pat) local baseX = 128 local baseY = 256 local baseW = 128 local baseH = 160 pat:split_frame(510,0,6,1,1) pat:update_frame(510,0,0, { tex_index = 43 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(302,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(510,0,1, { tex_index = 44 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(302,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(510,0,2, { tex_index = 44 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4+4 , hurtbox = pat:get_frame(302,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(510,0,3, { tex_index = 45 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(302,1,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(510,0,4, { tex_index = 46 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(302,1,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(510,0,5, { tex_index = 47 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(302,1,2).hurtbox , collision = pat:get_frame(0,0,0).collision })-- , fflags = 0x00000021 }) pat:update_frame(510,0,6, { tex_index = 48 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(302,1,3).hurtbox , collision = pat:get_frame(0,0,0).collision })-- , fflags = 0x00000021 }) pat:update_frame(510,0,7, { tex_index = 49 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(302,2,0).hurtbox , collision = pat:get_frame(0,0,0).collision })-- , fflags = 0x00200021 }) pat:update_frame(510,0,8, { tex_index = 50 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(302,2,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(510,0,9, { tex_index = 51 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(302,2,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(510,0,10, { tex_index = 51 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(302,2,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(510,0,11, { tex_index = 51 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(302,2,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(510,0,12, { tex_index = 52 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(302,2,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(510,0,13, { tex_index = 52 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(302,2,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(510,1,0, { tex_index = 44 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 28 , hurtbox = pat:get_frame(302,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(510,1,1, { tex_index = 45 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(302,1,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(510,1,2, { tex_index = 46 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(302,1,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(510,1,3, { tex_index = 47 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(302,1,2).hurtbox , collision = pat:get_frame(0,0,0).collision })-- , fflags = 0x00000021 }) pat:update_frame(510,1,4, { tex_index = 48 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(302,1,3).hurtbox , collision = pat:get_frame(0,0,0).collision })-- , fflags = 0x00000021 }) pat:update_frame(510,1,5, { tex_index = 49 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(302,2,0).hurtbox , collision = pat:get_frame(0,0,0).collision })-- , fflags = 0x00200021 }) pat:update_frame(510,1,6, { tex_index = 50 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(302,2,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(510,1,7, { tex_index = 51 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(302,2,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(510,1,8, { tex_index = 51 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(302,2,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(510,1,9, { tex_index = 51 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(302,2,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(510,1,10, { tex_index = 52 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(302,2,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(510,1,11, { tex_index = 52 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(302,2,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(812,0,0,function(frame) frame.tex_index = 184 frame.tex_w = 128 frame.tex_h = 128 frame.tex_offset_x = 64 frame.tex_offset_y = 64 frame.scale_x = 150 frame.scale_y = 50 end) pat:get_sequence(812,1):set_priority(20,0) pat:get_sequence(812,1):set_looped(false) pat:remove_frame(812,1,1) pat:update_frame(812,2,0,{tex_w = 0}) pat:update_frame(812,2,1,{tex_w = 0}) pat:update_frame(812,3,0,{tex_w = 0 , attackbox = pat:get_frame(0,0,0).attackbox }) pat:update_frame(812,3,1,{tex_w = 0}) --pat:update_frame(812,6,0,{tex_w = 0}) pat:update_frame(812,6,0,{tex_index = 505 , tex_w = 256 , tex_h = 256 , tex_offset_x = 128 , tex_offset_y = 128 , scale_x = 50 , scale_y = 50 , blending_mode = 1}) pat:update_frame(812,7,0,{tex_index = 172 , tex_w = 128 , tex_h = 128 , tex_offset_x = 64 , tex_offset_y = 64 , scale_x = 100 , scale_y = 100 , blending_mode = 2}) pat:update_frame(812,7,0,function(frame) frame.tex_index = 101 frame.blending_mode = 1 frame.tex_w = 64 frame.tex_h = 64 frame.tex_offset_x = 48 frame.tex_offset_y = 48 frame.angle_x = 0 frame.angle_y = 0 frame.angle_z = 0 frame.scale_x = 70 frame.scale_y = 70 end) --[[ pat:remove_frame(811,1,1) pat:remove_frame(811,8,1) pat:remove_frame(811,10,1) pat:remove_frame(811,11,1) pat:get_sequence(811,0):set_priority(20,0) pat:get_sequence(811,1):set_priority(20,0) pat:update_frame(811,2,0,{ tex_w = 0 }) pat:update_frame(811,3,0,{ tex_w = 0 }) pat:update_frame(811,4,0,{ tex_w = 0 }) pat:update_frame(811,4,1,{ tex_w = 0 }) pat:update_frame(811,5,0,{ tex_w = 0 }) pat:update_frame(811,6,0,{ tex_w = 0 }) pat:update_frame(811,6,1,{ tex_w = 0 }) pat:update_frame(811,7,0,{ tex_w = 0 })]]-- local maxDur = 119 local p1Dur = 40 for idx = 1 , maxDur do pat:split_frame(812,1,0,1,1) end for idx = 0 , maxDur do pat:update_frame(812,1,idx,function(frame) frame.blending_mode = 1 frame.fflags = 0x00000000 set_fflag(frame, FF_AFTER_IMAGE) set_fflag(frame, FF_LOOP_ANIMATION) set_aflag(frame, AF_UNREFLECTABLE) frame.tex_index = 147 + (idx/2)%2 frame.tex_w = 256 frame.tex_h = 128 frame.tex_offset_x = 128 frame.tex_offset_y = 64 frame.angle_x = 0 frame.angle_y = 0 frame.angle_z = 270 frame.scale_x = 70 frame.scale_y = 70 local scalemod = 100/frame.scale_x local scalemody = 100/frame.scale_y local xmod = 0 local ymod = 20*idx - idx*idx*0.25 ymod = ymod * -1 frame.duration = 1 if (idx <= p1Dur) then frame.attackbox = pat:get_frame(0,0,0).hurtbox frame.attackbox[1].x1 = -30 frame.attackbox[1].x2 = 30 frame.attackbox[1].y1 = -30 frame.attackbox[1].y2 = 30 if (idx < 4) then frame.attackbox[1].x1 = -80 end frame.scale_x = 70 + (p1Dur-idx) * 2.5 scalemod = 100/frame.scale_x scalemody = 100/frame.scale_y frame.tex_offset_x = frame.tex_offset_x + (ymod)*scalemod frame.attackbox[1].y1 = frame.attackbox[1].y1 + (ymod) frame.attackbox[1].y2 = frame.attackbox[1].y2 + (ymod) frame.tex_offset_y = frame.tex_offset_y - (xmod)*scalemody 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.hitstop_enemy = 16 frame.hitstop_self = 5 frame.blockstop_enemy = 10 frame.blockstop_self = 5 frame.hit_ani_ground = 71 frame.hit_ani_air = 71 frame.launch_vector_x = 450 frame.launch_vector_y = 1800 frame.untech = 45 frame.hit_effect = 8 frame.hit_sfx = 5 frame.damage = 850 frame.chip_damage = 170 frame.sp_damage = 150 frame.limit = 30 frame.proration = 850 frame.attack_level = AL_HEAVY frame.combo_correction = CC_LIFT_ATTACK frame.card_gain_hit = frame.card_gain_hit * 2 frame.card_gain_block = frame.card_gain_block * 2 set_aflag(frame,AF_COUNTER_HIT) if (idx == p1Dur) then frame.attackbox = pat:get_frame(0,0,0).attackbox end elseif (idx > p1Dur) then local size = 2.4 * (idx-p1Dur) + 20 frame.tex_index = 145 + (idx/2)%2 frame.tex_offset_x = 64 frame.tex_offset_y = 64 frame.scale_x = size*3.250 frame.scale_y = size*3.250 frame.tex_w = 128 frame.tex_h = 128 scalemod = 100/frame.scale_x ymod = 0 ymod = 400 - 0*(idx-p1Dur) + 0*idx ymod = ymod * -1 frame.attackbox = pat:get_frame(0,0,0).hurtbox frame.attackbox[1].x1 = -size frame.attackbox[1].x2 = size frame.attackbox[1].y1 = -size frame.attackbox[1].y2 = size frame.attackbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.attackbox[2].x1 = -size * 1.3 frame.attackbox[2].x2 = size * 1.3 frame.attackbox[2].y1 = -size * 0.6 frame.attackbox[2].y2 = size * 0.6 frame.attackbox[3] = pat:get_frame(0,0,0).hurtbox[1] frame.attackbox[3].x1 = -size * 0.6 frame.attackbox[3].x2 = size * 0.6 frame.attackbox[3].y1 = -size * 1.3 frame.attackbox[3].y2 = size * 1.3 frame.tex_offset_x = frame.tex_offset_x + (ymod)*scalemod frame.attackbox[1].y1 = frame.attackbox[1].y1 + (ymod) frame.attackbox[1].y2 = frame.attackbox[1].y2 + (ymod) frame.attackbox[2].y1 = frame.attackbox[2].y1 + (ymod) frame.attackbox[2].y2 = frame.attackbox[2].y2 + (ymod) frame.attackbox[3].y1 = frame.attackbox[3].y1 + (ymod) frame.attackbox[3].y2 = frame.attackbox[3].y2 + (ymod) frame.tex_offset_y = frame.tex_offset_y - (xmod)*scalemod frame.attackbox[1].x1 = frame.attackbox[1].x1 + (xmod) frame.attackbox[1].x2 = frame.attackbox[1].x2 + (xmod) frame.attackbox[2].x1 = frame.attackbox[2].x1 + (xmod) frame.attackbox[2].x2 = frame.attackbox[2].x2 + (xmod) frame.attackbox[3].x1 = frame.attackbox[3].x1 + (xmod) frame.attackbox[3].x2 = frame.attackbox[3].x2 + (xmod) frame.hurtbox = pat:get_frame(0,0,0).attackbox frame.hit_effect = 1 frame.hit_sfx = 6 frame.hitstop_self = 10 frame.blockstop_self = 10 frame.blockstop_enemy = 10 frame.sp_damage = 240 frame.attack_level = AL_HEAVY frame.hit_ani_ground = 303 frame.hit_ani_air = 308 frame.damage = 0 frame.proration = 1000 frame.card_gain_hit = frame.card_gain_hit * 2 frame.card_gain_block = frame.card_gain_block * 2 --frame.limit = 100 --unset_aflag(frame,AF_AIR_BLOCKABLE) --set_aflag(frame,AF_GROUND_UNBLOCKABLE) --set_aflag(frame,AF_DRAINS_ON_GRAZE) if (idx > (maxDur-10)) then frame.color_r = 255-25*(idx-(maxDur-10)) frame.color_g = 255-25*(idx-(maxDur-10)) frame.color_b = 255-25*(idx-(maxDur-10)) end if (idx > (maxDur-5)) then frame.attackbox = pat:get_frame(0,0,0).attackbox end if (idx >= maxDur) then frame.color_r = 0 frame.color_g = 0 frame.color_b = 0 frame.duration = 20 end end end) end end function mods.a623_clone(pat) local baseX = 128 local baseY = 256 local baseW = 128 local baseH = 160 local baseY0 = 6 pat:split_frame(545,3,2,1,1) pat:split_frame(545,3,2,1,1) pat:update_frame(545,0,0, { tex_index = 440 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY0 , duration = 3 , hurtbox = pat:get_frame(540,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(545,0,1, { tex_index = 440 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY0 , duration = 3 , hurtbox = pat:get_frame(540,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(545,0,2, { tex_index = 441 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY0 , duration = 3 , hurtbox = pat:get_frame(540,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(545,0,3, { tex_index = 441 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY0 , duration = 18-4 , hurtbox = pat:get_frame(540,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(545,0,4, { tex_index = 442 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(545,1,0, { tex_index = 443 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(545,1,1, { tex_index = 444 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(545,1,2, { tex_index = 445 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(545,2,0, { tex_index = 443 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000021 }) pat:update_frame(545,2,1, { tex_index = 444 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000021 }) pat:update_frame(545,2,2, { tex_index = 445 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000021 }) pat:update_frame(545,3,0, { tex_index = 443 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 6 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(545,3,1, { tex_index = 444 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 6 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(545,3,2, { tex_index = 445 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 6 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(545,3,3, { tex_index = 52 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(545,3,4, { tex_index = 316 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:remove_frame(546,1,5) pat:remove_frame(546,1,4) pat:remove_frame(546,1,3) pat:split_frame(546,3,2,1,1) pat:split_frame(546,3,2,1,1) pat:update_frame(546,0,0, { tex_index = 440 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY0 , duration = 3 , hurtbox = pat:get_frame(540,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(546,0,1, { tex_index = 440 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY0 , duration = 3 , hurtbox = pat:get_frame(540,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(546,0,2, { tex_index = 441 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY0 , duration = 3 , hurtbox = pat:get_frame(540,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(546,0,3, { tex_index = 441 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY0 , duration = 18-4 , hurtbox = pat:get_frame(540,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(546,0,4, { tex_index = 442 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(546,1,0, { tex_index = 443 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(546,1,1, { tex_index = 444 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(546,1,2, { tex_index = 445 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(546,2,0, { tex_index = 443 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000021 }) pat:update_frame(546,2,1, { tex_index = 444 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000021 }) pat:update_frame(546,2,2, { tex_index = 445 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000021 }) pat:update_frame(546,3,0, { tex_index = 443 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 6 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(546,3,1, { tex_index = 444 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 6 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(546,3,2, { tex_index = 445 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 6 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(546,3,3, { tex_index = 52 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(546,3,4, { tex_index = 316 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(821,0,0,function(frame) frame.tex_index = 102 frame.tex_w = 32 frame.tex_h = 128 frame.tex_offset_x = 16 frame.tex_offset_y = 64 frame.scale_x = 4000 frame.scale_y = 10 frame.angle_z = 270 frame.blending_mode = 1 end) pat:update_frame(821,1,0,function(frame) frame.tex_index = 102 frame.tex_w = 32 frame.tex_h = 128 frame.tex_offset_x = 16 frame.tex_offset_y = 64 frame.scale_x = 4000 frame.scale_y = 40 frame.angle_z = 270 frame.blending_mode = 1 end) pat:update_frame(821,2,0,function(frame) frame.tex_w = 0 frame.duration = 1 end) --820,2,0 is useless pat:get_sequence(821,3):set_priority(10,0) for idx = 1 , 32 do pat:split_frame(821,3,0,1,1) end for idx = 0 , 32 do pat:update_frame(821,3,idx,function(frame) frame.tex_index = 102 frame.tex_w = 32 frame.tex_h = 128 frame.tex_offset_x = 16 frame.tex_offset_y = 64 frame.scale_x = 4000 frame.scale_y = 40 frame.angle_z = 270 frame.blending_mode = 1 if (idx >= 10) then frame.attackbox = pat:get_frame(0,0,0).hurtbox frame.attackbox[1].y1 = -2000 frame.attackbox[1].y2 = 2000 frame.attackbox[1].x1 = -15 frame.attackbox[1].x2 = 15 frame.damage = 250 frame.chip_damage = 10 frame.untech = 40 frame.aflags = pat:get_frame(800,0,0).aflags set_aflag(frame,AF_SKILL_ATTACK) --frame.fflags = pat:get_frame(800,0,0).fflags frame.fflags = 0x01000001 frame.limit = 10 frame.combo_correction = CC_LIFT_ATTACK frame.hit_ani_air = 71 frame.hit_ani_ground = 71 frame.proration = 910 frame.sp_damage = 5 frame.attack_level = AL_MEDIUM frame.card_gain_hit = 20 frame.card_gain_block = 20 frame.launch_vector_x = 1500 frame.launch_vector_y = 600 frame.hit_sfx = 3 frame.hit_effect = 3 frame.unknown_9 = 100 frame.hitstop_self = 0 frame.hitstop_enemy = 10 frame.blockstop_self = 0 frame.blockstop_enemy = 0 set_aflag(frame,AF_PROJECTILE) unset_aflag(frame,AF_GROUND_UNBLOCKABLE) set_aflag(frame,AF_AIR_BLOCKABLE) unset_aflag(frame,AF_UNGRAZABLE) set_aflag(frame,AF_UNREFLECTABLE) end local ymod = -100 +10*idx local xmod = 0 local scalemod = 40/frame.scale_y frame.tex_offset_y = frame.tex_offset_y - (ymod)*scalemod frame.tex_offset_x = frame.tex_offset_x - (xmod)*scalemod if (idx >= 10) then frame.attackbox[1].x1 = frame.attackbox[1].x1 + (ymod) frame.attackbox[1].x2 = frame.attackbox[1].x2 + (ymod) frame.attackbox[1].y1 = frame.attackbox[1].y1 + (xmod) frame.attackbox[1].y2 = frame.attackbox[1].y2 + (xmod) end if (idx > 27) then frame.attackbox = pat:get_frame(0,0,0).attackbox end if (idx > 30) then frame.duration = 600 frame.tex_w = 0 end end) end end function mods.a623_usb(pat) local baseX = 128 local baseY = 256 local baseW = 128 local baseH = 160 local baseY0 = 6 pat:split_frame(550,3,2,1,1) pat:split_frame(550,3,2,1,1) pat:remove_frame(550,2,5) pat:remove_frame(550,2,4) pat:remove_frame(550,2,3) pat:update_frame(550,0,0, { tex_index = 440 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY0 , duration = 3 , hurtbox = pat:get_frame(540,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(550,0,1, { tex_index = 440 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY0 , duration = 3 , hurtbox = pat:get_frame(540,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(550,0,2, { tex_index = 441 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY0 , duration = 3 , hurtbox = pat:get_frame(540,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(550,0,3, { tex_index = 441 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY0 , duration = 9 , hurtbox = pat:get_frame(540,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(550,0,4, { tex_index = 442 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(550,1,0, { tex_index = 443 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(550,1,1, { tex_index = 444 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(550,1,2, { tex_index = 445 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(550,2,0, { tex_index = 443 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00200021 }) pat:update_frame(550,2,1, { tex_index = 444 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00200021 }) pat:update_frame(550,2,2, { tex_index = 445 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00200021 }) pat:update_frame(550,3,0, { tex_index = 443 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 6 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00200021 }) pat:update_frame(550,3,1, { tex_index = 444 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 6 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00200021 }) pat:update_frame(550,3,2, { tex_index = 445 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 6 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00200021 }) pat:update_frame(550,3,3, { tex_index = 52 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00200021 }) pat:update_frame(550,3,4, { tex_index = 316 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00200021 }) pat:split_frame(551,3,2,1,1) pat:split_frame(551,3,2,1,1) pat:remove_frame(551,2,5) pat:remove_frame(551,2,4) pat:remove_frame(551,2,3) pat:update_frame(551,0,0, { tex_index = 440 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY0 , duration = 3 , hurtbox = pat:get_frame(540,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(551,0,1, { tex_index = 440 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY0 , duration = 3 , hurtbox = pat:get_frame(540,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(551,0,2, { tex_index = 441 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY0 , duration = 3 , hurtbox = pat:get_frame(540,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(551,0,3, { tex_index = 441 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY0 , duration = 9 , hurtbox = pat:get_frame(540,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(551,0,4, { tex_index = 442 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(551,1,0, { tex_index = 443 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(551,1,1, { tex_index = 444 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(551,1,2, { tex_index = 445 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(551,2,0, { tex_index = 443 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00200021 }) pat:update_frame(551,2,1, { tex_index = 444 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00200021 }) pat:update_frame(551,2,2, { tex_index = 445 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00200021 }) pat:update_frame(551,3,0, { tex_index = 443 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 6 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00200021 }) pat:update_frame(551,3,1, { tex_index = 444 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 6 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00200021 }) pat:update_frame(551,3,2, { tex_index = 445 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 6 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00200021 }) pat:update_frame(551,3,3, { tex_index = 52 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00200021 }) pat:update_frame(551,3,4, { tex_index = 316 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00200021 }) --822 for idx = 0 , 1 do pat:update_frame(822,3,idx,{tex_w=0}) end pat:get_sequence(822,0):set_priority(10,0) for idx = 2 , 59 do pat:split_frame(822,0,1,1,1) end for idx = 0 , 59 do pat:update_frame(822,0,idx,function(frame) frame.fflags = pat:get_frame(801,0,0).fflags frame.aflags = pat:get_frame(801,0,0).aflags frame.tex_index = 172 frame.tex_w = 512 frame.tex_h = 512 frame.tex_offset_x = 256 frame.tex_offset_y = 256 frame.scale_x = 100-- + (idx%2)*10 frame.scale_y = 100-- + (idx%2)*10 frame.color_r = 255 - (idx%2)*50 frame.color_g = 255 - (idx%2)*50 frame.color_b = 255 - (idx%2)*50 frame.damage = 900 frame.proration = 850 frame.chip_damage = 225 frame.limit = 40 frame.sp_damage = 200 frame.combo_correction = CC_LIFT_ATTACK frame.hit_ani_air = 71 frame.hit_ani_ground = 71 frame.launch_vector_y = 900 frame.launch_vector_x = 600 set_aflag(frame,AF_SKILL_ATTACK) local radius = 210 local width = 40 frame.attackbox[1].x1 = -radius -- width/2 frame.attackbox[1].x2 = -radius + width frame.attackbox[1].y1 = -radius frame.attackbox[1].y2 = radius frame.attackbox[2] = pat:get_frame(0,0,0).hurtbox frame.attackbox[2].x1 = radius - width frame.attackbox[2].x2 = radius --+ width/2 frame.attackbox[2].y1 = -radius frame.attackbox[2].y2 = radius frame.attackbox[3] = pat:get_frame(0,0,0).hurtbox frame.attackbox[3].x1 = -radius frame.attackbox[3].x2 = radius frame.attackbox[3].y1 = -radius -- width/2 frame.attackbox[3].y2 = -radius + width frame.attackbox[4] = pat:get_frame(0,0,0).hurtbox frame.attackbox[4].x1 = -radius frame.attackbox[4].x2 = radius frame.attackbox[4].y1 = radius - width frame.attackbox[4].y2 = radius --+ width/2 frame.hurtbox = pat:get_frame(0,0,0).hurtbox frame.hurtbox = frame.attackbox if (idx < 10) then frame.scale_x = idx*10 frame.scale_y = idx*10 frame.duration = 1 frame.angle_z = 360 - 36 * idx local alpha = idx*25 frame.color_r = alpha frame.color_g = alpha frame.color_b = alpha frame.attackbox = pat:get_frame(0,0,0).attackbox else frame.duration = 2 end if (idx >= 20) and (idx < 30) then local alpha = 255-(idx-20)*25 frame.color_r = alpha frame.color_g = alpha frame.color_b = alpha frame.attackbox = pat:get_frame(0,0,0).attackbox frame.duration = 1 end if (idx >= 30) then frame.tex_w = 0 frame.attackbox = pat:get_frame(0,0,0).attackbox frame.duration = 20 end end) end end function mods.a214_scan(pat) local baseX = 128 local baseY = 256 local baseW = 128 local baseH = 160 local baseY0 = 72 local baseY1 = 62 local baseY2 = 52 local baseY3 = 42 local baseY4 = 32 local baseY5 = 22 local baseY6 = 12 --[[ pat:update_frame(525,0,0, { tex_index = 515 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY0 , duration = 6 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(525,0,1, { tex_index = 516 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY0 , duration = 6 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(525,0,2, { tex_index = 517 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY0 , duration = 6 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(525,0,3, { tex_index = 518 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY0 , duration = 6 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(525,0,4, { tex_index = 519 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY0 , duration = 6 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(525,0,5, { tex_index = 520 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY0 , duration = 6 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(525,0,6, { tex_index = 521 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY0 , duration = 6 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(525,0,7, { tex_index = 515 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY0 , duration = 6 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(525,0,8, { tex_index = 516 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY0 , duration = 6 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(525,0,9, { tex_index = 517 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY0 , duration = 6 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(525,0,10, { tex_index = 518 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY0 , duration = 6 , hurtbox = pat:get_frame(0,0,0).hurtbox }) pat:update_frame(525,0,11, { tex_index = 519 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY0 , duration = 6 , hurtbox = pat:get_frame(0,0,0).hurtbox })]]-- local recov = 2 pat:update_frame(525,0,0, { tex_index = 213 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(1,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(525,0,1, { tex_index = 522 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(1,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(525,0,2, { tex_index = 457 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(1,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(525,0,3, { tex_index = 457 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(1,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(525,0,4, { tex_index = 523 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(1,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(525,0,5, { tex_index = 266 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY6 , duration = 1 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(525,0,5,function(frame) frame.collision[1].y1 = frame.collision[1].y1 - 40 frame.hurtbox[1].y1 = frame.hurtbox[1].y1 - baseY6 frame.hurtbox[1].y2 = frame.hurtbox[1].y2 - baseY6 frame.hurtbox[1].x1 = frame.hurtbox[1].x1 + 10 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 + 10 end) pat:update_frame(525,0,6, { tex_index = 266 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY5 , duration = 1 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(525,0,5).collision }) pat:update_frame(525,0,6,function(frame) frame.hurtbox[1].y1 = frame.hurtbox[1].y1 - baseY5 frame.hurtbox[1].y2 = frame.hurtbox[1].y2 - baseY5 frame.hurtbox[1].x1 = frame.hurtbox[1].x1 + 10 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 + 10 end) pat:update_frame(525,0,7, { tex_index = 266 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY4 , duration = 1 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(525,0,5).collision }) pat:update_frame(525,0,7,function(frame) frame.hurtbox[1].y1 = frame.hurtbox[1].y1 - baseY4 frame.hurtbox[1].y2 = frame.hurtbox[1].y2 - baseY4 frame.hurtbox[1].x1 = frame.hurtbox[1].x1 + 10 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 + 10 end) pat:update_frame(525,0,8, { tex_index = 267 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY3 , duration = 1 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(525,0,5).collision , fflags = 0x00000041 }) pat:update_frame(525,0,8,function(frame) frame.hurtbox[1].y1 = frame.hurtbox[1].y1 - baseY3 frame.hurtbox[1].y2 = frame.hurtbox[1].y2 - baseY3 frame.hurtbox[1].x1 = frame.hurtbox[1].x1 + 10 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 + 10 end) pat:update_frame(525,0,9, { tex_index = 267 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY2 , duration = 1 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(525,0,5).collision , fflags = 0x00000041 }) pat:update_frame(525,0,9,function(frame) frame.hurtbox[1].y1 = frame.hurtbox[1].y1 - baseY2 frame.hurtbox[1].y2 = frame.hurtbox[1].y2 - baseY2 frame.hurtbox[1].x1 = frame.hurtbox[1].x1 + 10 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 + 10 end) pat:update_frame(525,0,10, { tex_index = 267 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY1 , duration = 1 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(525,0,5).collision , fflags = 0x00000041 }) pat:update_frame(525,0,10,function(frame) frame.hurtbox[1].y1 = frame.hurtbox[1].y1 - baseY1 frame.hurtbox[1].y2 = frame.hurtbox[1].y2 - baseY1 frame.hurtbox[1].x1 = frame.hurtbox[1].x1 + 10 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 + 10 end) pat:update_frame(525,0,11, { tex_index = 267 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY0 , duration = 1 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(525,0,5).collision , fflags = 0x00000041 }) pat:update_frame(525,0,11,function(frame) frame.hurtbox[1].y1 = frame.hurtbox[1].y1 - baseY0 frame.hurtbox[1].y2 = frame.hurtbox[1].y2 - baseY0 frame.hurtbox[1].x1 = frame.hurtbox[1].x1 + 10 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 + 10 end) --[[ pat:update_frame(6,2,0, { tex_index = 283 , 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(6,3,0, { tex_index = 272 , 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(6,3,1, { tex_index = 273 , 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(6,3,2, { tex_index = 274 , 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(525,2,5, { tex_index = 266 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY6 , duration = 1 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(525,0,5).collision , fflags = 0x00000021 }) pat:update_frame(525,2,4, { tex_index = 266 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY5 , duration = 1 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(525,0,5).collision , fflags = 0x00000021 }) pat:update_frame(525,2,3, { tex_index = 266 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY4 , duration = 1 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(525,0,5).collision , fflags = 0x00000021 }) pat:update_frame(525,2,2, { tex_index = 267 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY3 , duration = 1 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(525,0,5).collision , fflags = 0x00000021 }) pat:update_frame(525,2,1, { tex_index = 267 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY2 , duration = 1 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(525,0,5).collision , fflags = 0x00000021 }) pat:update_frame(525,2,0, { tex_index = 267 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY1 , duration = 1 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(525,0,5).collision , fflags = 0x00000021 }) pat:split_frame(525,2,5,1,1) pat:update_frame(525,2,6, { tex_index = 522 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(1,0,1).hurtbox , collision = pat:get_frame(1,0,1).collision , fflags = 0x00000021 }) pat:update_frame(525,3,0, { tex_index = 523 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(1,0,1).hurtbox , collision = pat:get_frame(1,0,1).collision , fflags = 0x00000021 }) pat:update_frame(525,3,1, { tex_index = 523 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(1,0,1).hurtbox , collision = pat:get_frame(1,0,1).collision , fflags = 0x00000021 }) pat:update_frame(525,3,2, { tex_index = 523 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4-3+1 , hurtbox = pat:get_frame(1,0,1).hurtbox , collision = pat:get_frame(1,0,1).collision , fflags = 0x00000021 }) pat:update_frame(525,3,3, { tex_index = 523 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 +recov , hurtbox = pat:get_frame(1,0,1).hurtbox , collision = pat:get_frame(1,0,1).collision , fflags = 0x00000021 }) pat:update_frame(525,3,4, { tex_index = 213 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000021 }) pat:split_frame(525,1,2,1,1) pat:split_frame(525,1,2,1,1) pat:split_frame(525,1,2,1,1) pat:split_frame(525,1,2,1,1) pat:split_frame(525,1,2,1,1) pat:update_frame(525,1,0, { tex_index = 425 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY0 , duration = 4 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(525,1,0,function(frame) frame.collision[1].y1 = frame.collision[1].y1 - 60 frame.hurtbox[1].y1 = frame.hurtbox[1].y1 - baseY0 frame.hurtbox[1].y2 = frame.hurtbox[1].y2 - baseY0 local size = 30 local addY = -30 frame.attackbox = pat:get_frame(0,0,0).hurtbox frame.attackbox[1].x1 = -size frame.attackbox[1].x2 = size frame.attackbox[1].y1 = -size +addY frame.attackbox[1].y2 = size +addY frame.attackbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.attackbox[2].x1 = -size * 1.3 frame.attackbox[2].x2 = size * 1.3 frame.attackbox[2].y1 = -size * 0.6 +addY frame.attackbox[2].y2 = size * 0.6 +addY frame.attackbox[3] = pat:get_frame(0,0,0).hurtbox[1] frame.attackbox[3].x1 = -size * 0.6 frame.attackbox[3].x2 = size * 0.6 frame.attackbox[3].y1 = -size * 1.3 +addY frame.attackbox[3].y2 = size * 1.3 +addY frame.attackbox[4] = pat:get_frame(0,0,0).hurtbox frame.attackbox[4].x1 = frame.attackbox[3].x1 frame.attackbox[4].x2 = frame.attackbox[3].x2 frame.attackbox[4].y1 = frame.attackbox[3].y1 - 60 frame.attackbox[4].y2 = frame.attackbox[3].y2 end) pat:update_frame(525,1,1, { tex_index = 426 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY0 , duration = 4 , hurtbox = pat:get_frame(525,1,0).hurtbox , collision = pat:get_frame(525,1,0).collision , attackbox = pat:get_frame(525,1,0).attackbox }) pat:update_frame(525,1,2, { tex_index = 427 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY0 , duration = 3 , hurtbox = pat:get_frame(525,1,0).hurtbox , collision = pat:get_frame(525,1,0).collision , attackbox = pat:get_frame(525,1,0).attackbox }) pat:update_frame(525,1,3, { tex_index = 427 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY0 , duration = 1 , hurtbox = pat:get_frame(525,1,0).hurtbox , collision = pat:get_frame(525,1,0).collision , attackbox = pat:get_frame(525,1,0).attackbox }) pat:update_frame(525,1,4, { tex_index = 428 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY0 , duration = 4 , hurtbox = pat:get_frame(525,1,0).hurtbox , collision = pat:get_frame(525,1,0).collision , attackbox = pat:get_frame(525,1,0).attackbox }) pat:update_frame(525,1,5, { tex_index = 427 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY0 , duration = 4 , hurtbox = pat:get_frame(525,1,0).hurtbox , collision = pat:get_frame(525,1,0).collision , attackbox = pat:get_frame(525,1,0).attackbox }) pat:update_frame(525,1,6, { tex_index = 426 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY0 , duration = 3 , hurtbox = pat:get_frame(525,1,0).hurtbox , collision = pat:get_frame(525,1,0).collision , attackbox = pat:get_frame(525,1,0).attackbox }) pat:update_frame(525,1,7, { tex_index = 426 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY0 , duration = 1 , hurtbox = pat:get_frame(525,1,0).hurtbox , collision = pat:get_frame(525,1,0).collision , attackbox = pat:get_frame(525,1,0).attackbox }) pat:update_frame(526,0,0, { tex_index = 213 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(1,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(526,0,1, { tex_index = 522 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(1,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(526,0,2, { tex_index = 457 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(1,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(526,0,3, { tex_index = 457 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(1,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(526,0,4, { tex_index = 523 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(1,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(526,0,5, { tex_index = 266 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY6 , duration = 1 , hurtbox = pat:get_frame(525,0,5).hurtbox , collision = pat:get_frame(525,0,5).collision }) pat:update_frame(526,0,6, { tex_index = 266 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY5 , duration = 1 , hurtbox = pat:get_frame(525,0,6).hurtbox , collision = pat:get_frame(525,0,5).collision }) pat:update_frame(526,0,7, { tex_index = 266 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY4 , duration = 1 , hurtbox = pat:get_frame(525,0,7).hurtbox , collision = pat:get_frame(525,0,5).collision }) pat:update_frame(526,0,8, { tex_index = 267 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY3 , duration = 1 , hurtbox = pat:get_frame(525,0,8).hurtbox , collision = pat:get_frame(525,0,5).collision , fflags = 0x00000041 }) pat:update_frame(526,0,9, { tex_index = 267 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY2 , duration = 1 , hurtbox = pat:get_frame(525,0,9).hurtbox , collision = pat:get_frame(525,0,5).collision , fflags = 0x00000041 }) pat:update_frame(526,0,10, { tex_index = 267 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY1 , duration = 1 , hurtbox = pat:get_frame(525,0,10).hurtbox , collision = pat:get_frame(525,0,5).collision , fflags = 0x00000041 }) pat:update_frame(526,0,11, { tex_index = 267 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY0 , duration = 1 , hurtbox = pat:get_frame(525,0,11).hurtbox , collision = pat:get_frame(525,0,5).collision , fflags = 0x00000041 }) pat:update_frame(526,2,5, { tex_index = 266 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY6 , duration = 1 , hurtbox = pat:get_frame(525,0,5).hurtbox , collision = pat:get_frame(525,0,5).collision , fflags = 0x00000021 }) pat:update_frame(526,2,4, { tex_index = 266 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY5 , duration = 1 , hurtbox = pat:get_frame(525,0,6).hurtbox , collision = pat:get_frame(525,0,5).collision , fflags = 0x00000021 }) pat:update_frame(526,2,3, { tex_index = 266 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY4 , duration = 1 , hurtbox = pat:get_frame(525,0,7).hurtbox , collision = pat:get_frame(525,0,5).collision , fflags = 0x00000021 }) pat:update_frame(526,2,2, { tex_index = 267 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY3 , duration = 1 , hurtbox = pat:get_frame(525,0,8).hurtbox , collision = pat:get_frame(525,0,5).collision , fflags = 0x00000021 }) pat:update_frame(526,2,1, { tex_index = 267 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY2 , duration = 1 , hurtbox = pat:get_frame(525,0,9).hurtbox , collision = pat:get_frame(525,0,5).collision , fflags = 0x00000021 }) pat:update_frame(526,2,0, { tex_index = 267 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY1 , duration = 1 , hurtbox = pat:get_frame(525,0,10).hurtbox , collision = pat:get_frame(525,0,5).collision , fflags = 0x00000021 }) pat:split_frame(526,2,5,1,1) pat:update_frame(526,2,6, { tex_index = 522 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(1,0,1).hurtbox , collision = pat:get_frame(1,0,1).collision , fflags = 0x00000021 }) pat:update_frame(526,3,0, { tex_index = 523 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(1,0,1).hurtbox , collision = pat:get_frame(1,0,1).collision , fflags = 0x00000021 }) pat:update_frame(526,3,1, { tex_index = 523 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(1,0,1).hurtbox , collision = pat:get_frame(1,0,1).collision , fflags = 0x00000021 }) pat:update_frame(526,3,2, { tex_index = 523 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4-3+1 , hurtbox = pat:get_frame(1,0,1).hurtbox , collision = pat:get_frame(1,0,1).collision , fflags = 0x00000021 }) pat:update_frame(526,3,3, { tex_index = 523 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 +recov , hurtbox = pat:get_frame(1,0,1).hurtbox , collision = pat:get_frame(1,0,1).collision , fflags = 0x00000021 }) pat:update_frame(526,3,4, { tex_index = 213 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000021 }) pat:split_frame(526,1,2,1,1) pat:split_frame(526,1,2,1,1) pat:split_frame(526,1,2,1,1) pat:split_frame(526,1,2,1,1) pat:split_frame(526,1,2,1,1) pat:update_frame(526,1,0, { tex_index = 425 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY0 , duration = 4 , hurtbox = pat:get_frame(525,1,0).hurtbox , collision = pat:get_frame(525,1,0).collision , attackbox = pat:get_frame(525,1,0).attackbox }) pat:update_frame(526,1,1, { tex_index = 426 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY0 , duration = 4 , hurtbox = pat:get_frame(525,1,0).hurtbox , collision = pat:get_frame(525,1,0).collision , attackbox = pat:get_frame(525,1,0).attackbox }) pat:update_frame(526,1,2, { tex_index = 427 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY0 , duration = 3 , hurtbox = pat:get_frame(525,1,0).hurtbox , collision = pat:get_frame(525,1,0).collision , attackbox = pat:get_frame(525,1,0).attackbox }) pat:update_frame(526,1,3, { tex_index = 427 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY0 , duration = 1 , hurtbox = pat:get_frame(525,1,0).hurtbox , collision = pat:get_frame(525,1,0).collision , attackbox = pat:get_frame(525,1,0).attackbox }) pat:update_frame(526,1,4, { tex_index = 428 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY0 , duration = 4 , hurtbox = pat:get_frame(525,1,0).hurtbox , collision = pat:get_frame(525,1,0).collision , attackbox = pat:get_frame(525,1,0).attackbox }) pat:update_frame(526,1,5, { tex_index = 427 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY0 , duration = 4 , hurtbox = pat:get_frame(525,1,0).hurtbox , collision = pat:get_frame(525,1,0).collision , attackbox = pat:get_frame(525,1,0).attackbox }) pat:update_frame(526,1,6, { tex_index = 426 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY0 , duration = 3 , hurtbox = pat:get_frame(525,1,0).hurtbox , collision = pat:get_frame(525,1,0).collision , attackbox = pat:get_frame(525,1,0).attackbox }) pat:update_frame(526,1,7, { tex_index = 426 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY0 , duration = 1 , hurtbox = pat:get_frame(525,1,0).hurtbox , collision = pat:get_frame(525,1,0).collision , attackbox = pat:get_frame(525,1,0).attackbox }) pat:split_frame(527,0,7,1,1) pat:split_frame(527,0,7,1,1) pat:update_frame(527,0,0, { tex_index = 213 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY6 , duration = 2 , hurtbox = pat:get_frame(1,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(527,0,0,function(frame) frame.hurtbox[1].y1 = frame.hurtbox[1].y1 - 12 frame.hurtbox[1].y2 = frame.hurtbox[1].y2 - 16 end) pat:update_frame(527,0,1, { tex_index = 522 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY6 , duration = 2 , hurtbox = pat:get_frame(1,0,1).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(527,0,1,function(frame) frame.hurtbox[1].y1 = frame.hurtbox[1].y1 - 12 frame.hurtbox[1].y2 = frame.hurtbox[1].y2 - 16 end) pat:update_frame(527,0,2, { tex_index = 457 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY6 , duration = 4 , hurtbox = pat:get_frame(1,0,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(527,0,2,function(frame) frame.hurtbox[1].y1 = frame.hurtbox[1].y1 - 12 frame.hurtbox[1].y2 = frame.hurtbox[1].y2 - 16 end) pat:update_frame(527,0,3, { tex_index = 523 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY6 , duration = 2 , hurtbox = pat:get_frame(527,0,1).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(527,0,4, { tex_index = 266 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY5 , duration = 1 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(527,0,4,function(frame) frame.collision[1].y1 = frame.collision[1].y1 - 40 frame.hurtbox[1].y1 = frame.hurtbox[1].y1 - baseY5 frame.hurtbox[1].y2 = frame.hurtbox[1].y2 - baseY5 frame.hurtbox[1].x1 = frame.hurtbox[1].x1 + 10 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 + 10 end) pat:update_frame(527,0,5, { tex_index = 266 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY4 , duration = 1 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(527,0,4).collision }) pat:update_frame(527,0,5,function(frame) frame.hurtbox[1].y1 = frame.hurtbox[1].y1 - baseY4 frame.hurtbox[1].y2 = frame.hurtbox[1].y2 - baseY4 frame.hurtbox[1].x1 = frame.hurtbox[1].x1 + 10 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 + 10 end) pat:update_frame(527,0,6, { tex_index = 267 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY3 , duration = 1 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(527,0,4).collision , fflags = 0x00000044 }) pat:update_frame(527,0,6,function(frame) frame.hurtbox[1].y1 = frame.hurtbox[1].y1 - baseY3 frame.hurtbox[1].y2 = frame.hurtbox[1].y2 - baseY3 frame.hurtbox[1].x1 = frame.hurtbox[1].x1 + 10 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 + 10 end) pat:update_frame(527,0,7, { tex_index = 267 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY2 , duration = 1 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(527,0,4).collision , fflags = 0x00000044 }) pat:update_frame(527,0,7,function(frame) frame.hurtbox[1].y1 = frame.hurtbox[1].y1 - baseY2 frame.hurtbox[1].y2 = frame.hurtbox[1].y2 - baseY2 frame.hurtbox[1].x1 = frame.hurtbox[1].x1 + 10 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 + 10 end) pat:update_frame(527,0,8, { tex_index = 267 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY1 , duration = 1 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(527,0,4).collision , fflags = 0x00000044 }) pat:update_frame(527,0,8,function(frame) frame.hurtbox[1].y1 = frame.hurtbox[1].y1 - baseY1 frame.hurtbox[1].y2 = frame.hurtbox[1].y2 - baseY1 frame.hurtbox[1].x1 = frame.hurtbox[1].x1 + 10 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 + 10 end) pat:update_frame(527,0,9, { tex_index = 267 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY0 , duration = 1 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(527,0,4).collision , fflags = 0x00000044 }) pat:update_frame(527,0,9,function(frame) frame.hurtbox[1].y1 = frame.hurtbox[1].y1 - baseY0 frame.hurtbox[1].y2 = frame.hurtbox[1].y2 - baseY0 frame.hurtbox[1].x1 = frame.hurtbox[1].x1 + 10 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 + 10 end) pat:split_frame(527,2,1,1,1) pat:split_frame(527,2,1,1,1) pat:split_frame(527,2,1,1,1) pat:split_frame(527,2,1,1,1) pat:update_frame(527,2,5, { tex_index = 266 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY6 , duration = 1 , hurtbox = pat:get_frame(527,0,4).hurtbox , collision = pat:get_frame(527,0,4).collision , fflags = 0x00000024 }) pat:update_frame(527,2,4, { tex_index = 266 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY5 , duration = 1 , hurtbox = pat:get_frame(527,0,4).hurtbox , collision = pat:get_frame(527,0,4).collision , fflags = 0x00000024 }) pat:update_frame(527,2,3, { tex_index = 266 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY4 , duration = 1 , hurtbox = pat:get_frame(527,0,5).hurtbox , collision = pat:get_frame(527,0,4).collision , fflags = 0x00000024 }) pat:update_frame(527,2,2, { tex_index = 267 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY3 , duration = 1 , hurtbox = pat:get_frame(527,0,6).hurtbox , collision = pat:get_frame(527,0,4).collision , fflags = 0x00000024 }) pat:update_frame(527,2,1, { tex_index = 267 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY2 , duration = 1 , hurtbox = pat:get_frame(527,0,7).hurtbox , collision = pat:get_frame(527,0,4).collision , fflags = 0x00000024 }) pat:update_frame(527,2,0, { tex_index = 267 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY1 , duration = 1 , hurtbox = pat:get_frame(527,0,8).hurtbox , collision = pat:get_frame(527,0,4).collision , fflags = 0x00000024 }) pat:split_frame(527,2,5,1,1) pat:update_frame(527,2,6, { tex_index = 272 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision , fflags = 0x00000024 }) pat:split_frame(527,3,1,1,1) pat:split_frame(527,3,1,1,1) pat:split_frame(527,3,1,1,1) pat:update_frame(527,3,0, { tex_index = 272 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4-3+1 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision , fflags = 0x00000024 }) pat:update_frame(527,3,1, { tex_index = 273 , 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 , fflags = 0x00000024 }) pat:update_frame(527,3,2, { tex_index = 274 , 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 , fflags = 0x00000024 }) pat:update_frame(527,3,3, { tex_index = 272 , 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 , fflags = 0x00000024 }) pat:update_frame(527,3,4, { tex_index = 273 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 +recov , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision , fflags = 0x00000024 }) pat:split_frame(527,1,0,1,1) pat:split_frame(527,1,0,1,1) pat:split_frame(527,1,0,1,1) pat:split_frame(527,1,0,1,1) pat:split_frame(527,1,0,1,1) pat:split_frame(527,1,0,1,1) pat:split_frame(527,1,0,1,1) pat:update_frame(527,1,0, { tex_index = 425 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY0 , duration = 4 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(527,1,0,function(frame) frame.collision[1].y1 = frame.collision[1].y1 - 60 frame.hurtbox[1].y1 = frame.hurtbox[1].y1 - baseY0 frame.hurtbox[1].y2 = frame.hurtbox[1].y2 - baseY0 local size = 30 local addY = -30 frame.attackbox = pat:get_frame(0,0,0).hurtbox frame.attackbox[1].x1 = -size frame.attackbox[1].x2 = size frame.attackbox[1].y1 = -size +addY frame.attackbox[1].y2 = size +addY frame.attackbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.attackbox[2].x1 = -size * 1.3 frame.attackbox[2].x2 = size * 1.3 frame.attackbox[2].y1 = -size * 0.6 +addY frame.attackbox[2].y2 = size * 0.6 +addY frame.attackbox[3] = pat:get_frame(0,0,0).hurtbox[1] frame.attackbox[3].x1 = -size * 0.6 frame.attackbox[3].x2 = size * 0.6 frame.attackbox[3].y1 = -size * 1.3 +addY frame.attackbox[3].y2 = size * 1.3 +addY frame.attackbox[4] = pat:get_frame(0,0,0).hurtbox frame.attackbox[4].x1 = frame.attackbox[3].x1 frame.attackbox[4].x2 = frame.attackbox[3].x2 frame.attackbox[4].y1 = frame.attackbox[3].y1 - 60 frame.attackbox[4].y2 = frame.attackbox[3].y2 end) pat:update_frame(527,1,1, { tex_index = 426 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY0 , duration = 4 , hurtbox = pat:get_frame(527,1,0).hurtbox , collision = pat:get_frame(527,1,0).collision , attackbox = pat:get_frame(527,1,0).attackbox }) pat:update_frame(527,1,2, { tex_index = 427 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY0 , duration = 3 , hurtbox = pat:get_frame(527,1,0).hurtbox , collision = pat:get_frame(527,1,0).collision , attackbox = pat:get_frame(527,1,0).attackbox }) pat:update_frame(527,1,3, { tex_index = 427 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY0 , duration = 1 , hurtbox = pat:get_frame(527,1,0).hurtbox , collision = pat:get_frame(527,1,0).collision , attackbox = pat:get_frame(527,1,0).attackbox }) pat:update_frame(527,1,4, { tex_index = 428 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY0 , duration = 4 , hurtbox = pat:get_frame(527,1,0).hurtbox , collision = pat:get_frame(527,1,0).collision , attackbox = pat:get_frame(527,1,0).attackbox }) pat:update_frame(527,1,5, { tex_index = 427 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY0 , duration = 4 , hurtbox = pat:get_frame(527,1,0).hurtbox , collision = pat:get_frame(527,1,0).collision , attackbox = pat:get_frame(527,1,0).attackbox }) pat:update_frame(527,1,6, { tex_index = 426 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY0 , duration = 3 , hurtbox = pat:get_frame(527,1,0).hurtbox , collision = pat:get_frame(527,1,0).collision , attackbox = pat:get_frame(527,1,0).attackbox }) pat:update_frame(527,1,7, { tex_index = 426 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY0 , duration = 1 , hurtbox = pat:get_frame(527,1,0).hurtbox , collision = pat:get_frame(527,1,0).collision , attackbox = pat:get_frame(527,1,0).attackbox }) pat:split_frame(528,0,7,1,1) pat:split_frame(528,0,7,1,1) pat:update_frame(528,0,0, { tex_index = 213 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY6 , duration = 2 , hurtbox = pat:get_frame(527,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(528,0,1, { tex_index = 522 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY6 , duration = 2 , hurtbox = pat:get_frame(527,0,1).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(528,0,2, { tex_index = 457 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY6 , duration = 4 , hurtbox = pat:get_frame(527,0,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(528,0,3, { tex_index = 523 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY6 , duration = 2 , hurtbox = pat:get_frame(527,0,3).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(528,0,4, { tex_index = 266 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY5 , duration = 2 , hurtbox = pat:get_frame(527,0,4).hurtbox , collision = pat:get_frame(527,0,4).collision }) pat:update_frame(528,0,5, { tex_index = 266 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY4 , duration = 1 , hurtbox = pat:get_frame(527,0,5).hurtbox , collision = pat:get_frame(527,0,4).collision }) pat:update_frame(528,0,6, { tex_index = 267 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY3 , duration = 1 , hurtbox = pat:get_frame(527,0,6).hurtbox , collision = pat:get_frame(527,0,4).collision , fflags = 0x00000044 }) pat:update_frame(528,0,7, { tex_index = 267 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY2 , duration = 1 , hurtbox = pat:get_frame(527,0,7).hurtbox , collision = pat:get_frame(527,0,4).collision , fflags = 0x00000044 }) pat:update_frame(528,0,8, { tex_index = 267 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY1 , duration = 1 , hurtbox = pat:get_frame(527,0,8).hurtbox , collision = pat:get_frame(527,0,4).collision , fflags = 0x00000044 }) pat:update_frame(528,0,9, { tex_index = 267 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY0 , duration = 1 , hurtbox = pat:get_frame(527,0,9).hurtbox , collision = pat:get_frame(527,0,4).collision , fflags = 0x00000044 }) pat:split_frame(528,2,1,1,1) pat:split_frame(528,2,1,1,1) pat:split_frame(528,2,1,1,1) pat:split_frame(528,2,1,1,1) pat:update_frame(528,2,5, { tex_index = 266 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY6 , duration = 1 , hurtbox = pat:get_frame(527,0,4).hurtbox , collision = pat:get_frame(527,0,4).collision , fflags = 0x00000024 }) pat:update_frame(528,2,4, { tex_index = 266 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY5 , duration = 1 , hurtbox = pat:get_frame(527,0,4).hurtbox , collision = pat:get_frame(527,0,4).collision , fflags = 0x00000024 }) pat:update_frame(528,2,3, { tex_index = 266 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY4 , duration = 1 , hurtbox = pat:get_frame(527,0,5).hurtbox , collision = pat:get_frame(527,0,4).collision , fflags = 0x00000024 }) pat:update_frame(528,2,2, { tex_index = 267 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY3 , duration = 1 , hurtbox = pat:get_frame(527,0,6).hurtbox , collision = pat:get_frame(527,0,4).collision , fflags = 0x00000024 }) pat:update_frame(528,2,1, { tex_index = 267 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY2 , duration = 1 , hurtbox = pat:get_frame(527,0,7).hurtbox , collision = pat:get_frame(527,0,4).collision , fflags = 0x00000024 }) pat:update_frame(528,2,0, { tex_index = 267 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY1 , duration = 1 , hurtbox = pat:get_frame(527,0,8).hurtbox , collision = pat:get_frame(527,0,4).collision , fflags = 0x00000024 }) pat:split_frame(528,2,5,1,1) pat:update_frame(528,2,6, { tex_index = 272 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision , fflags = 0x00000024 }) pat:split_frame(528,3,1,1,1) pat:split_frame(528,3,1,1,1) pat:split_frame(528,3,1,1,1) pat:update_frame(528,3,0, { tex_index = 272 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4-3+1 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision , fflags = 0x00000024 }) pat:update_frame(528,3,1, { tex_index = 273 , 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 , fflags = 0x00000024 }) pat:update_frame(528,3,2, { tex_index = 274 , 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 , fflags = 0x00000024 }) pat:update_frame(528,3,3, { tex_index = 272 , 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 , fflags = 0x00000024 }) pat:update_frame(528,3,4, { tex_index = 273 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 +recov , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision , fflags = 0x00000024 }) pat:split_frame(528,1,0,1,1) pat:split_frame(528,1,0,1,1) pat:split_frame(528,1,0,1,1) pat:split_frame(528,1,0,1,1) pat:split_frame(528,1,0,1,1) pat:split_frame(528,1,0,1,1) pat:split_frame(528,1,0,1,1) pat:update_frame(528,1,0, { tex_index = 425 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY0 , duration = 4 , hurtbox = pat:get_frame(527,1,0).hurtbox , collision = pat:get_frame(527,1,0).collision , attackbox = pat:get_frame(527,1,0).attackbox }) pat:update_frame(528,1,1, { tex_index = 426 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY0 , duration = 4 , hurtbox = pat:get_frame(527,1,0).hurtbox , collision = pat:get_frame(527,1,0).collision , attackbox = pat:get_frame(527,1,0).attackbox }) pat:update_frame(528,1,2, { tex_index = 427 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY0 , duration = 3 , hurtbox = pat:get_frame(527,1,0).hurtbox , collision = pat:get_frame(527,1,0).collision , attackbox = pat:get_frame(527,1,0).attackbox }) pat:update_frame(528,1,3, { tex_index = 427 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY0 , duration = 1 , hurtbox = pat:get_frame(527,1,0).hurtbox , collision = pat:get_frame(527,1,0).collision , attackbox = pat:get_frame(527,1,0).attackbox }) pat:update_frame(528,1,4, { tex_index = 428 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY0 , duration = 4 , hurtbox = pat:get_frame(527,1,0).hurtbox , collision = pat:get_frame(527,1,0).collision , attackbox = pat:get_frame(527,1,0).attackbox }) pat:update_frame(528,1,5, { tex_index = 427 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY0 , duration = 4 , hurtbox = pat:get_frame(527,1,0).hurtbox , collision = pat:get_frame(527,1,0).collision , attackbox = pat:get_frame(527,1,0).attackbox }) pat:update_frame(528,1,6, { tex_index = 426 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY0 , duration = 3 , hurtbox = pat:get_frame(527,1,0).hurtbox , collision = pat:get_frame(527,1,0).collision , attackbox = pat:get_frame(527,1,0).attackbox }) pat:update_frame(528,1,7, { tex_index = 426 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY0 , duration = 1 , hurtbox = pat:get_frame(527,1,0).hurtbox , collision = pat:get_frame(527,1,0).collision , attackbox = pat:get_frame(527,1,0).attackbox }) pat:update_frame(529,0,0, { tex_index = 522 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(1,0,1).hurtbox , collision = pat:get_frame(1,0,1).collision }) pat:update_frame(529,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(1,0,1).hurtbox , collision = pat:get_frame(1,0,1).collision }) pat:update_frame(529,0,2, { tex_index = 213 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) for idy = 0 , 3 do for idx = 0 , 7 do pat:update_frame(525 + idy,1,idx,function(frame) set_fflag(frame,FF_AIRBORNE) frame.damage = 250 frame.chip_damage = 25 frame.untech = 40 frame.aflags = pat:get_frame(309,2,0).aflags --frame.fflags = pat:get_frame(800,0,0).fflags --frame.fflags = 0x01000001 frame.limit = 10 frame.combo_correction = CC_NONE frame.hit_ani_air = 71 frame.hit_ani_ground = 0 frame.proration = 950 frame.sp_damage = 100 frame.attack_level = AL_HEAVY frame.card_gain_hit = 20 frame.card_gain_block = 20 frame.launch_vector_x = 600 frame.launch_vector_y = 600 frame.hit_sfx = 3 frame.hit_effect = 3 frame.unknown_9 = 100 frame.hitstop_self = 10 frame.hitstop_enemy = 10 frame.blockstop_self = 10 frame.blockstop_enemy = 10 unset_aflag(frame,AF_PROJECTILE) unset_aflag(frame,AF_GROUND_UNBLOCKABLE) set_aflag(frame,AF_AIR_BLOCKABLE) unset_aflag(frame,AF_UNGRAZABLE) set_aflag(frame,AF_SKILL_ATTACK) set_aflag(frame,AF_HIGHBLOCK_OK) set_aflag(frame,AF_LOWBLOCK_OK) unset_aflag(frame,AF_ATTACK_HIGH) unset_aflag(frame,AF_ATTACK_LOW) end) end end --pat:remove_frame(816,0,1) pat:update_frame(816,0,0,function(frame) frame.tex_index = 128 frame.tex_w = 512 frame.tex_h = 512 frame.tex_offset_x = 256-- + 240 frame.tex_offset_y = 256-- - 336 frame.scale_x = 20 frame.scale_y = 20 frame.blending_mode = 0 frame.hurtbox = pat:get_frame(0,0,0).attackbox end) pat:update_frame(816,0,1,function(frame) frame.tex_index = 128 frame.tex_w = 512 frame.tex_h = 512 frame.tex_offset_x = 256-- + 240 frame.tex_offset_y = 256-- - 336 frame.scale_x = 20 frame.scale_y = 20 frame.blending_mode = 0 frame.hurtbox = pat:get_frame(0,0,0).attackbox end) pat:update_frame(816,4,0,function(frame) frame.tex_w = 0 frame.hurtbox = pat:get_frame(0,0,0).attackbox end) pat:get_sequence(816,1):set_looped(false) for idx = 0 , 1 do pat:update_frame(816,3,idx,{tex_w = 0}) end end function mods.a214_ring(pat) --817 local baseX = 128 local baseY = 256 local baseW = 160 local baseH = 160 pat:remove_frame(530,0,16) pat:update_frame(530,0,0, { tex_index = 417 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(520,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(530,0,1, { tex_index = 417 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(520,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(530,0,2, { tex_index = 418 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(520,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(530,0,3, { tex_index = 419 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 9 , hurtbox = pat:get_frame(520,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(530,0,4, { tex_index = 420 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(520,0,8).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(530,0,5, { tex_index = 420 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(520,0,8).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(530,0,6, { tex_index = 421 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(520,0,10).hurtbox , collision = pat:get_frame(0,0,0).collision })--fire pat:update_frame(530,0,7, { tex_index = 422 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(520,0,10).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(530,0,8, { tex_index = 422 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(520,0,10).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(530,0,9, { tex_index = 422 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(520,0,10).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(530,0,10, { tex_index = 422 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(520,0,10).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(530,0,11, { tex_index = 422 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(520,0,10).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(530,0,12, { tex_index = 422 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(520,0,10).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(530,0,13, { tex_index = 422 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 12 , hurtbox = pat:get_frame(520,0,10).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(530,0,14, { tex_index = 423 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(520,3,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(530,0,15, { tex_index = 424 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(520,3,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:remove_frame(530,1,13) pat:update_frame(530,1,0, { tex_index = 419 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 20 , hurtbox = pat:get_frame(520,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(530,1,1, { tex_index = 420 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(520,0,8).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(530,1,2, { tex_index = 420 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(520,0,8).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(530,1,3, { tex_index = 421 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(520,0,10).hurtbox , collision = pat:get_frame(0,0,0).collision })--fire pat:update_frame(530,1,4, { tex_index = 422 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(520,0,10).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(530,1,5, { tex_index = 422 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(520,0,10).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(530,1,6, { tex_index = 422 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(520,0,10).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(530,1,7, { tex_index = 422 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(520,0,10).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(530,1,8, { tex_index = 422 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(520,0,10).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(530,1,9, { tex_index = 422 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(520,0,10).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(530,1,10, { tex_index = 422 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 12 , hurtbox = pat:get_frame(520,0,10).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(530,1,11, { tex_index = 423 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(520,3,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(530,1,12, { tex_index = 424 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(520,3,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(531,0,0, { tex_index = 417 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(520,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(531,0,1, { tex_index = 418 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(520,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(531,0,2, { tex_index = 419 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 9 , hurtbox = pat:get_frame(520,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(531,0,3, { tex_index = 420 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(520,0,8).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(531,0,4, { tex_index = 420 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(520,0,8).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(531,0,5, { tex_index = 421 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(520,0,10).hurtbox , collision = pat:get_frame(0,0,0).collision })--fire pat:update_frame(531,0,6, { tex_index = 422 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(520,0,10).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(531,0,7, { tex_index = 422 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(520,0,10).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(531,0,8, { tex_index = 422 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(520,0,10).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(531,0,9, { tex_index = 422 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(520,0,10).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(531,0,10, { tex_index = 422 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(520,0,10).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(531,0,11, { tex_index = 422 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(520,0,10).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(531,0,12, { tex_index = 422 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(520,0,10).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(531,0,13, { tex_index = 422 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 12 , hurtbox = pat:get_frame(520,0,10).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(531,0,14, { tex_index = 423 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(520,3,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(531,0,15, { tex_index = 424 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(520,3,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(531,1,0, { tex_index = 419 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 20 , hurtbox = pat:get_frame(520,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(531,1,1, { tex_index = 420 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(520,0,8).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(531,1,2, { tex_index = 421 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(520,0,10).hurtbox , collision = pat:get_frame(0,0,0).collision })--fire pat:update_frame(531,1,3, { tex_index = 422 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(520,0,10).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(531,1,4, { tex_index = 422 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(520,0,10).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(531,1,5, { tex_index = 422 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(520,0,10).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(531,1,6, { tex_index = 422 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(520,0,10).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(531,1,7, { tex_index = 422 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(520,0,10).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(531,1,8, { tex_index = 422 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(520,0,10).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(531,1,9, { tex_index = 422 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(520,0,10).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(531,1,10, { tex_index = 422 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(520,0,10).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(531,1,11, { tex_index = 422 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 12 , hurtbox = pat:get_frame(520,0,10).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(531,1,12, { tex_index = 423 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(520,3,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(531,1,13, { tex_index = 424 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(520,3,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(532,0,0, { tex_index = 417 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-24 , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(520,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(532,0,0,function(frame) frame.hurtbox[1].y2 = frame.hurtbox[1].y2 - 10 frame.hurtbox[1].x1 = frame.hurtbox[1].x1 + 24 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 + 24 end) pat:update_frame(532,0,1, { tex_index = 417 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-24 , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(532,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(532,0,2, { tex_index = 418 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-12 , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(520,0,3).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(532,0,2,function(frame) frame.hurtbox[2].y2 = frame.hurtbox[2].y2 - 10 frame.hurtbox[1].x1 = frame.hurtbox[1].x1 + 12 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 + 12 frame.hurtbox[2].x1 = frame.hurtbox[2].x1 + 12 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 + 12 end) pat:update_frame(532,0,3, { tex_index = 419 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-12 , tex_offset_y = baseY , duration = 7 , hurtbox = pat:get_frame(532,0,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(532,0,4, { tex_index = 419 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-12 , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(532,0,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(532,0,5, { tex_index = 420 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+20 , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(520,0,8).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(532,0,5,function(frame) frame.hurtbox[1].y2 = frame.hurtbox[1].y2 - 10 frame.hurtbox[2].y2 = frame.hurtbox[2].y2 - 5 frame.hurtbox[1].x1 = frame.hurtbox[1].x1 - 20 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 - 20 frame.hurtbox[2].x1 = frame.hurtbox[2].x1 - 20 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 - 20 end) pat:update_frame(532,0,6, { tex_index = 421 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+26 , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(520,0,10).hurtbox , collision = pat:get_frame(6,1,0).collision })--fire pat:update_frame(532,0,6,function(frame) frame.hurtbox[1].x1 = frame.hurtbox[1].x1 - 26 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 - 26 frame.hurtbox[2].x1 = frame.hurtbox[2].x1 - 26 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 - 26 frame.hurtbox[3].x1 = frame.hurtbox[3].x1 - 26 frame.hurtbox[3].x2 = frame.hurtbox[3].x2 - 26 end) pat:update_frame(532,0,7, { tex_index = 422 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+26 , tex_offset_y = baseY , duration = 18-6 , hurtbox = pat:get_frame(532,0,6).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(532,0,8, { tex_index = 422 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+26 , tex_offset_y = baseY , duration = 17 , hurtbox = pat:get_frame(532,0,6).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(532,0,9, { tex_index = 423 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+20 , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(520,3,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(532,0,9,function(frame) frame.hurtbox[1].y2 = frame.hurtbox[1].y2 - 10 frame.hurtbox[2].y2 = frame.hurtbox[2].y2 - 15 frame.hurtbox[1].x1 = frame.hurtbox[1].x1 - 20 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 - 20 frame.hurtbox[2].x1 = frame.hurtbox[2].x1 - 20 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 - 20 end) pat:update_frame(532,0,10, { tex_index = 424 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+20 , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(532,0,9).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(532,1,0, { tex_index = 419 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-12 , tex_offset_y = baseY , duration = 20 , hurtbox = pat:get_frame(532,0,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(532,1,1, { tex_index = 420 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+20 , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(532,0,5).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(532,1,2, { tex_index = 421 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+26 , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(532,0,6).hurtbox , collision = pat:get_frame(6,1,0).collision })--fire pat:update_frame(532,1,3, { tex_index = 422 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+26 , tex_offset_y = baseY , duration = 18-6 , hurtbox = pat:get_frame(532,0,7).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(532,1,4, { tex_index = 422 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+26 , tex_offset_y = baseY , duration = 17 , hurtbox = pat:get_frame(532,0,8).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(532,1,5, { tex_index = 423 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+20 , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(532,0,9).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(532,1,6, { tex_index = 424 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+20 , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(532,0,10).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(532,2,0, { tex_index = 522 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(1,0,1).hurtbox , collision = pat:get_frame(1,0,1).collision }) pat:update_frame(532,2,1, { tex_index = 523 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(1,0,1).hurtbox , collision = pat:get_frame(1,0,1).collision }) pat:update_frame(532,2,2, { tex_index = 213 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(533,0,0, { tex_index = 417 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-24 , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(520,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(533,0,1, { tex_index = 417 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-24 , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(520,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(533,0,2, { tex_index = 418 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-12 , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(532,0,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(533,0,3, { tex_index = 419 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-12 , tex_offset_y = baseY , duration = 9 , hurtbox = pat:get_frame(532,0,3).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(533,0,4, { tex_index = 419 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-12 , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(532,0,3).hurtbox , collision = pat:get_frame(6,1,0).collision }) --pat:update_frame(533,0,4, { tex_index = 420 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+20 , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(532,0,5).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(533,0,5, { tex_index = 420 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+20 , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(532,0,5).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(533,0,6, { tex_index = 421 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+26 , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(532,0,6).hurtbox , collision = pat:get_frame(6,1,0).collision })--fire pat:update_frame(533,0,7, { tex_index = 422 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+26 , tex_offset_y = baseY , duration = 18-6 , hurtbox = pat:get_frame(532,0,6).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(533,0,8, { tex_index = 422 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+26 , tex_offset_y = baseY , duration = 17 , hurtbox = pat:get_frame(532,0,6).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(533,0,9, { tex_index = 423 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+20 , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(532,0,9).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(533,0,10, { tex_index = 424 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+20 , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(532,0,9).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(533,1,0, { tex_index = 419 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-12 , tex_offset_y = baseY , duration = 20 , hurtbox = pat:get_frame(532,0,3).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(533,1,1, { tex_index = 420 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+20 , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(532,0,5).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(533,1,2, { tex_index = 421 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+26 , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(532,0,6).hurtbox , collision = pat:get_frame(6,1,0).collision })--fire pat:update_frame(533,1,3, { tex_index = 422 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+26 , tex_offset_y = baseY , duration = 18-6 , hurtbox = pat:get_frame(532,0,7).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(533,1,4, { tex_index = 422 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+26 , tex_offset_y = baseY , duration = 17 , hurtbox = pat:get_frame(532,0,8).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(533,1,5, { tex_index = 423 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+20 , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(532,0,9).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(533,1,6, { tex_index = 424 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+20 , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(532,0,10).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(533,2,0, { tex_index = 522 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(1,0,1).hurtbox , collision = pat:get_frame(1,0,1).collision }) pat:update_frame(533,2,1, { tex_index = 523 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(1,0,1).hurtbox , collision = pat:get_frame(1,0,1).collision }) pat:update_frame(533,2,2, { tex_index = 213 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) for idx = 0 , 1 do if (idx==2) then else pat:update_frame(817,idx,0,function(frame) frame.tex_index = 128 frame.tex_w = 512 frame.tex_h = 512 frame.tex_offset_x = 256 frame.tex_offset_y = 256 frame.scale_x = 30 frame.scale_y = 30 frame.angle_x = 0 frame.angle_y = 0 frame.angle_z = 0 frame.duration = 30 frame.damage = 900 frame.chip_damage = 225 frame.proration = 850 frame.limit = 40 frame.untech = 60 frame.card_gain_hit = 100 frame.card_gain_block = 100 frame.hit_sfx = 4 frame.sp_damage = 200 frame.combo_correction = CC_SMASH_ATTACK frame.hit_ani_air = 74 frame.hit_ani_ground = 74 frame.launch_vector_x = 2000 frame.launch_vector_y = 1000 local size = 50 frame.attackbox = pat:get_frame(0,0,0).hurtbox frame.attackbox[1].x1 = -size frame.attackbox[1].x2 = size frame.attackbox[1].y1 = -size frame.attackbox[1].y2 = size frame.attackbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.attackbox[2].x1 = -size * 1.3 frame.attackbox[2].x2 = size * 1.3 frame.attackbox[2].y1 = -size * 0.6 frame.attackbox[2].y2 = size * 0.6 frame.attackbox[3] = pat:get_frame(0,0,0).hurtbox[1] frame.attackbox[3].x1 = -size * 0.6 frame.attackbox[3].x2 = size * 0.6 frame.attackbox[3].y1 = -size * 1.3 frame.attackbox[3].y2 = size * 1.3 if (idx==1) then for idz = 1 , 3 do frame.attackbox[idz].x1 = frame.attackbox[idz].x1 * 1.3 frame.attackbox[idz].x2 = frame.attackbox[idz].x2 * 1.3 frame.attackbox[idz].y1 = frame.attackbox[idz].y1 * 1.3 frame.attackbox[idz].y2 = frame.attackbox[idz].y2 * 1.3 end end if (idx==1) then frame.scale_x = 40 frame.scale_y = 40 frame.damage = 1000 frame.chip_damage = 250 end end) pat:remove_frame(817,idx,1) for idz = 1 , 15 do pat:split_frame(817,idx,0,1,1) end for idz = 1 , 15 do pat:update_frame(817,idx,idz,function(frame) frame.tex_index = 151+(idz) frame.tex_w = 640 frame.tex_h = 640 frame.tex_offset_x = 320 frame.tex_offset_y = 320 if (idz>10) then local alpha = 255-(idz-10)*25 frame.color_r = alpha frame.color_g = alpha frame.color_b = alpha end if (idz==15) then frame.tex_w = 0 frame.duration = 200 end end) end pat:update_frame(817,idx,0,{duration = 20}) end end end function mods.a22_split(pat) local baseX = 128 local baseY = 256 local baseW = 128 local baseH = 160 pat:update_frame(565,0,0, { tex_index = 506 , tex_w = baseW , tex_h = baseH , tex_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 = 507 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) pat:update_frame(565,0,2, { tex_index = 507 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) pat:update_frame(565,0,3, { tex_index = 507 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) pat:update_frame(565,0,4, { tex_index = 507 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) pat:update_frame(565,0,5, { tex_index = 507 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) pat:update_frame(565,0,6, { tex_index = 506 , tex_w = baseW , tex_h = baseH , tex_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,7, { tex_index = 530 , tex_w = baseW , tex_h = baseH , tex_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,7,function(frame) frame.hurtbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[2].x1 = frame.hurtbox[1].x1 - 30 frame.hurtbox[2].x2 = frame.hurtbox[1].x2 + 30 frame.hurtbox[2].y1 = frame.hurtbox[1].y1 + 10 frame.hurtbox[2].y2 = frame.hurtbox[1].y1 + 55 end) pat:update_frame(565,0,8, { tex_index = 531 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(565,0,7).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(565,0,8,function(frame) frame.hurtbox[1].y1 = frame.hurtbox[1].y1 - 10 frame.hurtbox[2].y1 = frame.hurtbox[2].y1 - 10 frame.hurtbox[2].y2 = frame.hurtbox[2].y2 - 10 end) --pat:update_frame(565,0,8, { tex_index = 213 , tex_w = baseW , tex_h = baseH , tex_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:split_frame(565,1,0,1,1) pat:update_frame(565,1,0, { tex_index = 531 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(565,0,8).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 25 , fflags = pat:get_frame(565,0,8).fflags }) pat:update_frame(565,1,1, { tex_index = 531 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(565,0,8).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 40 , fflags = 0x00200021 }) pat:update_frame(565,2,0, { tex_index = 531 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(565,0,8).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 , fflags = 0x00200021 }) pat:update_frame(565,2,1, { tex_index = 531 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(565,0,8).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 , fflags = 0x00200021 }) pat:update_frame(565,2,2, { tex_index = 531 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(565,0,8).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 , fflags = 0x00200021 }) pat:update_frame(565,2,3, { tex_index = 531 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(565,0,8).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 , fflags = 0x00200021 }) pat:update_frame(565,2,4, { tex_index = 531 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(565,0,8).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 , fflags = 0x00200021 }) pat:update_frame(565,2,5, { tex_index = 213 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 , fflags = 0x00200021 }) pat:update_frame(565,2,6, { tex_index = 521 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 , fflags = 0x00200021 }) pat:update_frame(566,0,0, { tex_index = 506 , tex_w = baseW , tex_h = baseH , tex_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 = 507 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) pat:update_frame(566,0,2, { tex_index = 507 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) pat:update_frame(566,0,3, { tex_index = 507 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) pat:update_frame(566,0,4, { tex_index = 507 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) pat:update_frame(566,0,5, { tex_index = 507 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) pat:update_frame(566,0,6, { tex_index = 506 , tex_w = baseW , tex_h = baseH , tex_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,7, { tex_index = 530 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(565,0,7).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(566,0,8, { tex_index = 531 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(565,0,8).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:split_frame(566,1,0,1,1) pat:update_frame(566,1,0, { tex_index = 531 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(565,0,8).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 25 , fflags = pat:get_frame(565,0,8).fflags }) pat:update_frame(566,1,1, { tex_index = 531 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(565,0,8).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 40 , fflags = 0x00200021 }) pat:update_frame(566,2,0, { tex_index = 531 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(565,0,8).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 , fflags = 0x00200021 }) pat:update_frame(566,2,1, { tex_index = 531 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(565,0,8).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 , fflags = 0x00200021 }) pat:update_frame(566,2,2, { tex_index = 531 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(565,0,8).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 , fflags = 0x00200021 }) pat:update_frame(566,2,3, { tex_index = 531 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(565,0,8).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 , fflags = 0x00200021 }) pat:update_frame(566,2,4, { tex_index = 531 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(565,0,8).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 , fflags = 0x00200021 }) pat:update_frame(566,2,5, { tex_index = 213 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 , fflags = 0x00200021 }) pat:update_frame(566,2,6, { tex_index = 521 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 , fflags = 0x00200021 }) pat:update_frame(567,0,0, { tex_index = 506 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+20 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision , duration = 3 }) pat:update_frame(567,0,1, { tex_index = 507 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+20 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision , duration = 2 }) pat:update_frame(567,0,2, { tex_index = 507 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+20 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision , duration = 2 }) pat:update_frame(567,0,3, { tex_index = 507 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+20 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision , duration = 2 }) pat:update_frame(567,0,4, { tex_index = 507 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+20 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision , duration = 2 }) pat:update_frame(567,0,5, { tex_index = 507 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+20 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision , duration = 2 }) pat:update_frame(567,0,6, { tex_index = 506 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+20 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision , duration = 3 }) pat:update_frame(567,0,7, { tex_index = 530 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+5 , hurtbox = pat:get_frame(565,0,7).hurtbox , collision = pat:get_frame(6,1,0).collision , duration = 3 }) pat:update_frame(567,0,7,function(frame) frame.hurtbox[1].y1 = frame.hurtbox[1].y1 - 10 frame.hurtbox[1].y2 = frame.hurtbox[1].y2 - 25 end) pat:update_frame(567,0,8, { tex_index = 531 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-0 , hurtbox = pat:get_frame(565,0,8).hurtbox , collision = pat:get_frame(6,1,0).collision , duration = 3 }) pat:update_frame(567,0,8,function(frame) frame.hurtbox[1].y1 = frame.hurtbox[1].y1 - 5 frame.hurtbox[1].y2 = frame.hurtbox[1].y2 - 20 end) pat:split_frame(567,1,0,1,1) pat:update_frame(567,1,0, { tex_index = 531 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-0 , hurtbox = pat:get_frame(567,0,8).hurtbox , collision = pat:get_frame(6,1,0).collision , duration = 25 , fflags = pat:get_frame(567,0,8).fflags }) pat:update_frame(567,1,1, { tex_index = 531 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-0 , hurtbox = pat:get_frame(567,0,8).hurtbox , collision = pat:get_frame(6,1,0).collision , duration = 40 , fflags = 0x00200024 }) pat:update_frame(567,2,0, { tex_index = 531 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-0 , hurtbox = pat:get_frame(567,0,8).hurtbox , collision = pat:get_frame(6,1,0).collision , duration = 3 , fflags = 0x00200024 }) pat:update_frame(567,2,1, { tex_index = 531 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-0 , hurtbox = pat:get_frame(567,0,8).hurtbox , collision = pat:get_frame(6,1,0).collision , duration = 3 , fflags = 0x00200024 }) pat:update_frame(567,2,2, { tex_index = 531 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-0 , hurtbox = pat:get_frame(567,0,8).hurtbox , collision = pat:get_frame(6,1,0).collision , duration = 3 , fflags = 0x00200024 }) pat:update_frame(567,2,3, { tex_index = 531 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-0 , hurtbox = pat:get_frame(567,0,8).hurtbox , collision = pat:get_frame(6,1,0).collision , duration = 3 , fflags = 0x00200024 }) pat:update_frame(567,2,4, { tex_index = 531 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-0 , hurtbox = pat:get_frame(567,0,8).hurtbox , collision = pat:get_frame(6,1,0).collision , duration = 3 , fflags = 0x00200024 }) pat:update_frame(567,2,5, { tex_index = 531 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-0 , hurtbox = pat:get_frame(567,0,8).hurtbox , collision = pat:get_frame(6,1,0).collision , duration = 3 , fflags = 0x00200024 }) pat:update_frame(567,2,6, { tex_index = 283 , 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 , fflags = 0x00200024 }) pat:update_frame(567,2,7, { tex_index = 272 , 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 , fflags = 0x00200024 }) pat:update_frame(567,3,0, { tex_index = 273 , 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(567,3,1, { tex_index = 274 , 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(567,4,0, { tex_index = 522 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(1,0,1).hurtbox , collision = pat:get_frame(1,0,1).collision }) pat:update_frame(567,4,1, { tex_index = 523 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(1,0,1).hurtbox , collision = pat:get_frame(1,0,1).collision }) pat:update_frame(567,4,2, { tex_index = 213 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(568,0,0, { tex_index = 506 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+20 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision , duration = 3 }) pat:update_frame(568,0,1, { tex_index = 507 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+20 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision , duration = 2 }) pat:update_frame(568,0,2, { tex_index = 507 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+20 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision , duration = 2 }) pat:update_frame(568,0,3, { tex_index = 507 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+20 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision , duration = 2 }) pat:update_frame(568,0,4, { tex_index = 507 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+20 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision , duration = 2 }) pat:update_frame(568,0,5, { tex_index = 507 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+20 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision , duration = 2 }) pat:update_frame(568,0,6, { tex_index = 506 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+20 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision , duration = 3 }) pat:update_frame(568,0,7, { tex_index = 530 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+5 , hurtbox = pat:get_frame(567,0,7).hurtbox , collision = pat:get_frame(6,1,0).collision , duration = 3 }) pat:update_frame(568,0,8, { tex_index = 531 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-0 , hurtbox = pat:get_frame(567,0,8).hurtbox , collision = pat:get_frame(6,1,0).collision , duration = 3 }) pat:split_frame(568,1,0,1,1) pat:update_frame(568,1,0, { tex_index = 531 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-0 , hurtbox = pat:get_frame(567,0,8).hurtbox , collision = pat:get_frame(6,1,0).collision , duration = 25 , fflags = pat:get_frame(567,0,8).fflags }) pat:update_frame(568,1,1, { tex_index = 531 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-0 , hurtbox = pat:get_frame(567,0,8).hurtbox , collision = pat:get_frame(6,1,0).collision , duration = 40 , fflags = 0x00200024 }) pat:update_frame(568,2,0, { tex_index = 531 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-0 , hurtbox = pat:get_frame(567,0,8).hurtbox , collision = pat:get_frame(6,1,0).collision , duration = 3 , fflags = 0x00200024 }) pat:update_frame(568,2,1, { tex_index = 531 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-0 , hurtbox = pat:get_frame(567,0,8).hurtbox , collision = pat:get_frame(6,1,0).collision , duration = 3 , fflags = 0x00200024 }) pat:update_frame(568,2,2, { tex_index = 531 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-0 , hurtbox = pat:get_frame(567,0,8).hurtbox , collision = pat:get_frame(6,1,0).collision , duration = 3 , fflags = 0x00200024 }) pat:update_frame(568,2,3, { tex_index = 531 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-0 , hurtbox = pat:get_frame(567,0,8).hurtbox , collision = pat:get_frame(6,1,0).collision , duration = 3 , fflags = 0x00200024 }) pat:update_frame(568,2,4, { tex_index = 531 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-0 , hurtbox = pat:get_frame(567,0,8).hurtbox , collision = pat:get_frame(6,1,0).collision , duration = 3 , fflags = 0x00200024 }) pat:update_frame(568,2,5, { tex_index = 531 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-0 , hurtbox = pat:get_frame(567,0,8).hurtbox , collision = pat:get_frame(6,1,0).collision , duration = 3 , fflags = 0x00200024 }) pat:update_frame(568,2,6, { tex_index = 283 , 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 , fflags = 0x00200024 }) pat:update_frame(568,2,7, { tex_index = 272 , 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 , fflags = 0x00200024 }) pat:update_frame(568,3,0, { tex_index = 273 , 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(568,3,1, { tex_index = 274 , 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(568,4,0, { tex_index = 522 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(1,0,1).hurtbox , collision = pat:get_frame(1,0,1).collision }) pat:update_frame(568,4,1, { tex_index = 523 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(1,0,1).hurtbox , collision = pat:get_frame(1,0,1).collision }) pat:update_frame(568,4,2, { tex_index = 213 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:get_sequence(826,5):set_priority(10,0) for idx = 1 , 119 do pat:split_frame(826,5,0,1,1) end for idx = 0 , 119 do pat:update_frame(826,5,idx,function(frame) set_fflag(frame, FF_AFTER_IMAGE) set_fflag(frame, FF_LOOP_ANIMATION) frame.tex_index = 101 frame.blending_mode = 1 frame.tex_w = 64 frame.tex_h = 64 frame.tex_offset_x = 32 frame.tex_offset_y = 32 frame.angle_x = 0 frame.angle_y = 0 frame.angle_z = 0 frame.scale_x = 150 frame.scale_y = 150 local ang = (idx*6)%360 frame.angle_z = ang*-1 local scalemod = 100/frame.scale_x local ymod = 0 local xmod = 0*idx frame.attackbox = pat:get_frame(0,0,0).hurtbox frame.attackbox[1].x1 = -20 frame.attackbox[1].x2 = 20 frame.attackbox[1].y1 = -20 frame.attackbox[1].y2 = 20 frame.tex_offset_y = frame.tex_offset_y - (ymod)*scalemod frame.attackbox[1].y1 = frame.attackbox[1].y1 + (ymod) frame.attackbox[1].y2 = frame.attackbox[1].y2 + (ymod) frame.tex_offset_x = frame.tex_offset_x - (xmod)*scalemod frame.attackbox[1].x1 = frame.attackbox[1].x1 + (xmod) frame.attackbox[1].x2 = frame.attackbox[1].x2 + (xmod) frame.hurtbox = frame.attackbox frame.damage = 100 frame.chip_damage = 10 frame.sp_damage = 20 frame.proration = 970 frame.card_gain_hit = 10 frame.card_gain_block = 10 frame.limit = 5 frame.untech = 25 frame.aflags = pat:get_frame(825,8,0).aflags frame.fflags = pat:get_frame(825,8,0).fflags --frame.fflags = 0x01000001 frame.combo_correction = CC_NONE frame.hit_ani_air = 71 frame.hit_ani_ground = 0 frame.attack_level = AL_HEAVY frame.card_gain_hit = 0 frame.card_gain_block = 0 frame.launch_vector_x = 600 frame.launch_vector_y = 600 frame.hit_sfx = 3 frame.hit_effect = 3 frame.unknown_9 = 100 frame.hitstop_self = 0 frame.hitstop_enemy = 10 frame.blockstop_self = 0 frame.blockstop_enemy = 2 if (idx < 10) then local alpha = idx*15 frame.scale_x = alpha frame.scale_y = alpha end if (idx > 36) then frame.attackbox = pat:get_frame(0,0,0).attackbox end end) end for idx = 0 , 2 do pat:add_particle_info(826,3,idx) pat:update_frame(826,3,idx,function(frame) frame.tex_w = 0 frame.attackbox = pat:get_frame(0,0,0).attackbox end) end for idy = 1 , 2 do pat:get_sequence(826,idy):set_priority(10,0) pat:remove_frame(826,idy,2) pat:remove_frame(826,idy,1) pat:add_particle_info(826,idy,0) for idx = 1 , 121 do pat:split_frame(826,idy,0,1,1) end for idx = 0 , 121 do pat:update_frame(826,idy,idx,function(frame) frame.fflags = pat:get_frame(825,8,0).fflags frame.aflags = pat:get_frame(825,8,0).aflags set_fflag(frame, FF_AFTER_IMAGE) set_fflag(frame, FF_LOOP_ANIMATION) set_aflag(frame,AF_SKILL_ATTACK) frame.tex_index = 101 frame.blending_mode = 1 frame.tex_w = 64 frame.tex_h = 64 frame.tex_offset_x = 32 frame.tex_offset_y = 96 + 16 frame.angle_x = 0 frame.angle_y = 0 frame.angle_z = 0 frame.scale_x = 100 frame.scale_y = 100 local ang = (idx*12.5)%360 frame.angle_z = 0--ang*-1 local scalemod = 100/frame.scale_x local ymod = 0 local xmod = 0*idx if (idy==1) then xmod = -24*idx else xmod = -24*10 end frame.attackbox = pat:get_frame(0,0,0).hurtbox frame.attackbox[1].x1 = -20 frame.attackbox[1].x2 = 20 frame.attackbox[1].y1 = -100 frame.attackbox[1].y2 = -60 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 = pat:get_frame(0,0,0).hurtbox frame.hurtbox[1].x1 = -20 frame.hurtbox[1].x2 = 20 frame.hurtbox[1].y1 = -100 frame.hurtbox[1].y2 = -60 frame.hurtbox[1].y1 = frame.hurtbox[1].y1 + (ymod) frame.hurtbox[1].y2 = frame.hurtbox[1].y2 + (ymod) frame.hurtbox[1].x1 = frame.hurtbox[1].x1 + (xmod) frame.hurtbox[1].x2 = frame.hurtbox[1].x2 + (xmod) frame.damage = 100 frame.chip_damage = 10 frame.sp_damage = 25 frame.proration = 970 frame.card_gain_hit = 10 frame.card_gain_block = 10 frame.limit = 2 frame.untech = 25 if (idx>10) then local alpha = (20 - idx) * 25 frame.color_r = alpha frame.color_g = alpha frame.color_b = alpha end if (idx==11) then frame.scale_x = 0 frame.scale_y = 0 end end) end end for idx = 1 , 120 do pat:split_frame(826,0,0,1,1) end for idx = 0 , 120 do pat:update_frame(826,0,idx,function(frame) frame.fflags = pat:get_frame(825,8,0).fflags frame.aflags = pat:get_frame(825,8,0).aflags set_fflag(frame, FF_AFTER_IMAGE) set_fflag(frame, FF_LOOP_ANIMATION) set_aflag(frame,AF_SKILL_ATTACK) frame.tex_index = 101 frame.blending_mode = 1 frame.tex_w = 64 frame.tex_h = 64 frame.tex_offset_x = 32 frame.tex_offset_y = 32 frame.angle_x = 0 frame.angle_y = 0 frame.angle_z = 0 frame.scale_x = 150 frame.scale_y = 150 local ang = (idx*12.5)%360 frame.angle_z = ang*-1 local scalemod = 100/frame.scale_x local ymod = 0 local xmod = 0*idx frame.hurtbox = pat:get_frame(0,0,0).attackbox frame.attackbox = pat:get_frame(0,0,0).hurtbox frame.attackbox[1].x1 = -30 frame.attackbox[1].x2 = 30 frame.attackbox[1].y1 = -30 frame.attackbox[1].y2 = 30 frame.tex_offset_y = frame.tex_offset_y - (ymod)*scalemod frame.attackbox[1].y1 = frame.attackbox[1].y1 + (ymod) frame.attackbox[1].y2 = frame.attackbox[1].y2 + (ymod) frame.tex_offset_x = frame.tex_offset_x - (xmod)*scalemod frame.attackbox[1].x1 = frame.attackbox[1].x1 + (xmod) frame.attackbox[1].x2 = frame.attackbox[1].x2 + (xmod) if (idx>42) then frame.attackbox = pat:get_frame(0,0,0).attackbox end frame.damage = 200 frame.sp_damage = 75 frame.proration = 920 frame.card_gain_hit = 35 frame.card_gain_block = 35 frame.limit = 15 frame.untech = 25 end) end end function mods.a22_spectral(pat) local baseX = 128 local baseY = 256 local baseW = 128 local baseH = 160 local tempX = -0 local tempX2 = -0 local tempX3 = -0 local tempY = 0 local tempY2 = 20 local baseY0 = -0 local tempY3 = 8 for idy = 0 , 1 do pat:get_sequence(570+idy,1):set_looped(false) for idx = 1 , 8 do pat:split_frame(570+idy,1,0,1,1) end for idx = 2 , 6 do pat:remove_frame(570+idy,0,2) end pat:update_frame(570+idy,0,0, { tex_index = 213 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(570+idy,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(1,0,1).hurtbox , collision = pat:get_frame(1,0,1).collision }) --[[ pat:update_frame(570+idy,1,0, { tex_index = 267 , 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 , fflags = pat:get_frame(570,0,0).fflags }) pat:update_frame(570+idy,1,1, { tex_index = 266 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision , fflags = pat:get_frame(570,0,0).fflags }) pat:update_frame(570+idy,1,2, { tex_index = 267 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision , fflags = pat:get_frame(570,0,0).fflags }) pat:update_frame(570+idy,1,3, { tex_index = 266 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision , fflags = pat:get_frame(570,0,0).fflags }) pat:update_frame(570+idy,1,4, { tex_index = 267 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision , fflags = pat:get_frame(570,0,0).fflags }) pat:update_frame(570+idy,1,5, { tex_index = 266 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision , fflags = pat:get_frame(570,0,0).fflags })]]-- pat:update_frame(570+idy,1,0, { tex_index = 266 , 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 , fflags = pat:get_frame(572,0,0).fflags }) pat:update_frame(570+idy,1,1, { tex_index = 267 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision , fflags = pat:get_frame(572,0,0).fflags }) pat:update_frame(570+idy,1,2, { tex_index = 212 , tex_w = baseW , tex_h = baseH , tex_offset_x = (baseX) , tex_offset_y = (baseY +tempY3) , duration = 3 , collision = pat:get_frame(6,1,0).collision , fflags = pat:get_frame(572,0,0).fflags }) pat:update_frame(570+idy,1,3, { tex_index = 284 , tex_w = baseW , tex_h = baseH , tex_offset_x = (baseX +tempX) , tex_offset_y = (baseY +tempY) , duration = 3 , hurtbox = pat:get_frame(7,2,0).hurtbox , collision = pat:get_frame(6,1,0).collision , fflags = pat:get_frame(572,0,0).fflags }) pat:update_frame(570+idy,1,4, { tex_index = 69 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(308,0,8).hurtbox , collision = pat:get_frame(6,1,0).collision , fflags = pat:get_frame(572,0,0).fflags }) pat:update_frame(570+idy,1,5, { tex_index = 69 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(308,0,8).hurtbox , collision = pat:get_frame(6,1,0).collision , fflags = pat:get_frame(572,0,0).fflags }) pat:update_frame(570+idy,1,6, { tex_index = 69 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 13 , hurtbox = pat:get_frame(308,0,8).hurtbox , collision = pat:get_frame(6,1,0).collision , fflags = pat:get_frame(572,0,0).fflags }) pat:update_frame(570+idy,1,7, { tex_index = 65 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY -baseY0 , duration = 14 , hurtbox = pat:get_frame(308,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision , fflags = pat:get_frame(572,0,0).fflags }) pat:update_frame(570+idy,1,8, { tex_index = 66 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY -baseY0 , duration = 14 , hurtbox = pat:get_frame(308,0,2).hurtbox , collision = pat:get_frame(6,1,0).collision , fflags = pat:get_frame(572,0,0).fflags }) pat:update_frame(570+idy,2,0, { tex_index = 529 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(308,0,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(570+idy,2,1, { tex_index = 529 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(308,0,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(570+idy,2,2, { tex_index = 285 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(8,2,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(570+idy,2,3, { tex_index = 285 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(8,2,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) --[[ pat:update_frame(570+idy,2,4, { tex_index = 272 , 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(570+idy,2,5, { tex_index = 273 , 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(570+idy,2,6, { tex_index = 274 , 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 })]]-- end for idy = 0 , 1 do pat:get_sequence(572+idy,1):set_looped(false) for idx = 1 , 8 do pat:split_frame(572+idy,1,0,1,1) end for idz = 1 , 8 do pat:remove_frame(572+idy,0,1) end pat:update_frame(572+idy,0,0, { tex_index = 212 , tex_w = baseW , tex_h = baseH , tex_offset_x = (baseX) , tex_offset_y = (baseY +tempY3) , duration = 2 , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(572+idy,1,0, { tex_index = 212 , tex_w = baseW , tex_h = baseH , tex_offset_x = (baseX) , tex_offset_y = (baseY +tempY3) , duration = 2 , collision = pat:get_frame(6,1,0).collision , fflags = pat:get_frame(572,0,0).fflags }) pat:update_frame(572+idy,1,1, { tex_index = 284 , tex_w = baseW , tex_h = baseH , tex_offset_x = (baseX +tempX) , tex_offset_y = (baseY +tempY) , duration = 3 , hurtbox = pat:get_frame(7,2,0).hurtbox , collision = pat:get_frame(6,1,0).collision , fflags = pat:get_frame(572,0,0).fflags }) pat:update_frame(572+idy,1,2, { tex_index = 69 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(308,0,8).hurtbox , collision = pat:get_frame(6,1,0).collision , fflags = pat:get_frame(572,0,0).fflags }) pat:update_frame(572+idy,1,3, { tex_index = 69 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(308,0,8).hurtbox , collision = pat:get_frame(6,1,0).collision , fflags = pat:get_frame(572,0,0).fflags }) pat:update_frame(572+idy,1,4, { tex_index = 69 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(308,0,8).hurtbox , collision = pat:get_frame(6,1,0).collision , fflags = pat:get_frame(572,0,0).fflags }) pat:update_frame(572+idy,1,5, { tex_index = 69 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(308,0,8).hurtbox , collision = pat:get_frame(6,1,0).collision , fflags = pat:get_frame(572,0,0).fflags }) pat:update_frame(572+idy,1,6, { tex_index = 69 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 13 , hurtbox = pat:get_frame(308,0,8).hurtbox , collision = pat:get_frame(6,1,0).collision , fflags = pat:get_frame(572,0,0).fflags }) pat:update_frame(572+idy,1,7, { tex_index = 65 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY -baseY0 , duration = 14 , hurtbox = pat:get_frame(308,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision , fflags = pat:get_frame(572,0,0).fflags }) pat:update_frame(572+idy,1,8, { tex_index = 66 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY -baseY0 , duration = 14 , hurtbox = pat:get_frame(308,0,2).hurtbox , collision = pat:get_frame(6,1,0).collision , fflags = pat:get_frame(572,0,0).fflags }) pat:update_frame(572+idy,2,0, { tex_index = 529 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(308,0,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(572+idy,2,1, { tex_index = 529 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(308,0,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(572+idy,2,2, { tex_index = 285 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(8,2,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(572+idy,2,3, { tex_index = 285 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(8,2,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) end for idy = 0 , 3 do for idz = 0 , 2 do pat:update_frame(570+idy,1,6+idz,function(frame) frame.attackbox = pat:get_frame(0,0,0).hurtbox frame.attackbox[1].x1 = 20 frame.attackbox[1].x2 = 80 frame.attackbox[1].y2 = -20 frame.attackbox[1].y1 = -120 -50 frame.damage = 900 frame.chip_damage = 225 frame.untech = 50 frame.aflags = pat:get_frame(309,1,0).aflags frame.limit = 40 frame.combo_correction = CC_SMASH_ATTACK frame.hit_ani_air = 74 frame.hit_ani_ground = 74 frame.proration = 800 frame.sp_damage = 0 frame.attack_level = AL_HEAVY frame.card_gain_hit = 120 frame.card_gain_block = 80 frame.launch_vector_x = 2000 frame.launch_vector_y = 1000 frame.hit_sfx = pat:get_frame(302,1,0).hit_sfx frame.hit_effect = pat:get_frame(302,1,0).hit_effect frame.unknown_9 = 100 frame.hitstop_self = 0 frame.hitstop_enemy = 0 frame.blockstop_self = 0 frame.blockstop_enemy = 0 unset_aflag(frame,AF_PROJECTILE) unset_aflag(frame,AF_GROUND_UNBLOCKABLE) set_aflag(frame,AF_AIR_BLOCKABLE) set_aflag(frame,AF_HIGHBLOCK_OK) set_aflag(frame,AF_LOWBLOCK_OK) unset_aflag(frame,AF_ATTACK_HIGH) unset_aflag(frame,AF_ATTACK_LOW) set_fflag(frame,FF_CANCEL) set_aflag(frame,AF_SKILL_ATTACK) end) end for idz = 0 , 3 do pat:update_frame(570+idy,2,idz,function(frame) set_fflag(frame,FF_CANCEL) end) end end pat:remove_frame(827,1,2) pat:remove_frame(827,1,1) for idx = 1 , 65 do pat:split_frame(827,1,0,1,1) end for idx = 0 , 65 do pat:add_particle_info(827,1,idx) pat:update_frame(827,1,idx,function(frame) frame.attackbox = pat:get_frame(0,0,0).hurtbox frame.attackbox[1].x1 = 20 frame.attackbox[1].x2 = 80 frame.attackbox[1].y2 = -20 frame.attackbox[1].y1 = -120 -50 frame.damage = 900 frame.chip_damage = 225 frame.untech = 45 frame.aflags = pat:get_frame(309,1,0).aflags frame.limit = 40 frame.combo_correction = CC_SMASH_ATTACK frame.hit_ani_air = 74 frame.hit_ani_ground = 74 frame.proration = 800 frame.sp_damage = 0 frame.attack_level = AL_HEAVY frame.card_gain_hit = 120 frame.card_gain_block = 80 frame.launch_vector_x = 2000 frame.launch_vector_y = 1000 frame.hit_sfx = pat:get_frame(302,1,0).hit_sfx frame.hit_effect = pat:get_frame(302,1,0).hit_effect frame.unknown_9 = 100 frame.hitstop_self = 0 frame.hitstop_enemy = 0 frame.blockstop_self = 0 frame.blockstop_enemy = 0 unset_aflag(frame,AF_PROJECTILE) unset_aflag(frame,AF_GROUND_UNBLOCKABLE) set_aflag(frame,AF_AIR_BLOCKABLE) set_aflag(frame,AF_HIGHBLOCK_OK) set_aflag(frame,AF_LOWBLOCK_OK) unset_aflag(frame,AF_ATTACK_HIGH) unset_aflag(frame,AF_ATTACK_LOW) set_fflag(frame,FF_CANCEL) set_aflag(frame,AF_SKILL_ATTACK) frame.tex_index = 106 frame.tex_w = 64 frame.tex_h = 256 frame.tex_offset_x = 32 frame.tex_offset_y = 320 frame.angle_z = (idx-15) * -1.5 + 30 frame.blending_mode = 1 frame.scale_x = 200 frame.scale_y = 200 if (idx<=15) then frame.angle_z = 0 * -1.5 + 30 if (idx <=5) then frame.tex_w = 0 end if (idx>5) then local alpha = 25*(idx-5) frame.color_r = alpha frame.color_g = alpha frame.color_b = alpha end end if (idx>55) then local alpha = 255 - (idx-55)*25 frame.color_r = alpha frame.color_g = alpha frame.color_b = alpha end if (idx == 65) then frame.tex_w = 0 frame.duration = 100 end end) end end function mods.s1sc_break(pat) local baseX = 128 local baseY = 256 local baseW = 128 local baseH = 160 local baseY0 = 165 +11 local baseY1 = 155 +10 local baseY2 = 144 +9 local baseY3 = 132 +8 local baseY4 = 119 +7 local baseY5 = 105 +6 local baseY6 = 90 +5 local baseY7 = 74 +4 local baseY8 = 57 +3 local baseY9 = 39 +2 local baseY10 = 20 +1 for idx = 17 , 54 do pat:split_frame(606,0,16,1,1) end pat:update_frame(606,0,0, { tex_index = 213 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(1,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000041 }) pat:update_frame(606,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(1,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000041 }) pat:update_frame(606,0,2, { tex_index = 457 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(1,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000041 }) --pat:update_frame(606,0,3, { tex_index = 457 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 40 , hurtbox = pat:get_frame(1,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(606,0,3, { tex_index = 523 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(1,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000041 }) for idx = 0 , 3 do pat:update_frame(606,0,idx,{fflags = 0x00007001}) end pat:update_frame(606,0,4, { tex_index = 266 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY10 , duration = 1 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00007004 }) pat:update_frame(606,0,4,function(frame) frame.collision[1].y1 = frame.collision[1].y1 - 100 frame.hurtbox[1].y1 = frame.hurtbox[1].y1 - baseY10 frame.hurtbox[1].y2 = frame.hurtbox[1].y2 - baseY10 frame.hurtbox[1].x1 = frame.hurtbox[1].x1 + 10 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 + 10 end) pat:update_frame(606,0,5, { tex_index = 266 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY9 , duration = 1 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(606,0,4).collision , fflags = 0x00007004 }) pat:update_frame(606,0,5,function(frame) frame.hurtbox[1].y1 = frame.hurtbox[1].y1 - baseY9 frame.hurtbox[1].y2 = frame.hurtbox[1].y2 - baseY9 frame.hurtbox[1].x1 = frame.hurtbox[1].x1 + 10 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 + 10 end) pat:update_frame(606,0,6, { tex_index = 266 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY8 , duration = 1 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(606,0,4).collision , fflags = 0x00007004 }) pat:update_frame(606,0,6,function(frame) frame.hurtbox[1].y1 = frame.hurtbox[1].y1 - baseY8 frame.hurtbox[1].y2 = frame.hurtbox[1].y2 - baseY8 frame.hurtbox[1].x1 = frame.hurtbox[1].x1 + 10 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 + 10 end) pat:update_frame(606,0,7, { tex_index = 266 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY7 , duration = 1 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(606,0,4).collision , fflags = 0x00007004 }) pat:update_frame(606,0,7,function(frame) frame.hurtbox[1].y1 = frame.hurtbox[1].y1 - baseY7 frame.hurtbox[1].y2 = frame.hurtbox[1].y2 - baseY7 frame.hurtbox[1].x1 = frame.hurtbox[1].x1 + 10 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 + 10 end) pat:update_frame(606,0,8, { tex_index = 266 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY6 , duration = 1 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(606,0,4).collision , fflags = 0x00007004 }) pat:update_frame(606,0,8,function(frame) frame.hurtbox[1].y1 = frame.hurtbox[1].y1 - baseY6 frame.hurtbox[1].y2 = frame.hurtbox[1].y2 - baseY6 frame.hurtbox[1].x1 = frame.hurtbox[1].x1 + 10 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 + 10 end) pat:update_frame(606,0,9, { tex_index = 267 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY5 , duration = 1 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(606,0,4).collision , fflags = 0x00007004 }) pat:update_frame(606,0,9,function(frame) frame.hurtbox[1].y1 = frame.hurtbox[1].y1 - baseY5 frame.hurtbox[1].y2 = frame.hurtbox[1].y2 - baseY5 frame.hurtbox[1].x1 = frame.hurtbox[1].x1 + 10 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 + 10 end) pat:update_frame(606,0,10, { tex_index = 267 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY4 , duration = 1 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(606,0,4).collision , fflags = 0x00007004 }) pat:update_frame(606,0,10,function(frame) frame.hurtbox[1].y1 = frame.hurtbox[1].y1 - baseY4 frame.hurtbox[1].y2 = frame.hurtbox[1].y2 - baseY4 frame.hurtbox[1].x1 = frame.hurtbox[1].x1 + 10 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 + 10 end) pat:update_frame(606,0,11, { tex_index = 267 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY3 , duration = 1 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(606,0,4).collision , fflags = 0x00007004 }) pat:update_frame(606,0,11,function(frame) frame.hurtbox[1].y1 = frame.hurtbox[1].y1 - baseY3 frame.hurtbox[1].y2 = frame.hurtbox[1].y2 - baseY3 frame.hurtbox[1].x1 = frame.hurtbox[1].x1 + 10 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 + 10 end) pat:update_frame(606,0,12, { tex_index = 267 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY2 , duration = 1 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(606,0,4).collision , fflags = 0x00007004 }) pat:update_frame(606,0,12,function(frame) frame.hurtbox[1].y1 = frame.hurtbox[1].y1 - baseY2 frame.hurtbox[1].y2 = frame.hurtbox[1].y2 - baseY2 frame.hurtbox[1].x1 = frame.hurtbox[1].x1 + 10 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 + 10 end) pat:update_frame(606,0,13, { tex_index = 267 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY1 , duration = 1 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(606,0,4).collision , fflags = 0x00007004 }) pat:update_frame(606,0,13,function(frame) frame.hurtbox[1].y1 = frame.hurtbox[1].y1 - baseY1 frame.hurtbox[1].y2 = frame.hurtbox[1].y2 - baseY1 frame.hurtbox[1].x1 = frame.hurtbox[1].x1 + 10 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 + 10 end) pat:update_frame(606,0,14, { tex_index = 267 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY0 , duration = 1 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(606,0,4).collision , fflags = 0x00007004 }) pat:update_frame(606,0,14,function(frame) frame.hurtbox[1].y1 = frame.hurtbox[1].y1 - baseY0 frame.hurtbox[1].y2 = frame.hurtbox[1].y2 - baseY0 frame.hurtbox[1].x1 = frame.hurtbox[1].x1 + 10 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 + 10 end) --invul from here? pat:update_frame(606,0,15, { tex_index = 427 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY0 , duration = 29 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(606,0,15).collision , fflags = 0x00007004 }) pat:update_frame(606,0,15,function(frame) frame.collision[1].y1 = frame.collision[1].y1 - 120 frame.hurtbox[1].y1 = frame.hurtbox[1].y1 - baseY0 frame.hurtbox[1].y2 = frame.hurtbox[1].y2 - baseY0 frame.hurtbox[1].x1 = frame.hurtbox[1].x1 + 10 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 + 10 end) pat:update_frame(606,0,16, { tex_index = 427 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY0 , duration = 1 , hurtbox = pat:get_frame(606,0,15).hurtbox , collision = pat:get_frame(606,0,15).collision , fflags = 0x00007004 }) pat:update_frame(606,0,49, { tex_index = 267 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY10 , duration = 1 , hurtbox = pat:get_frame(606,0,4).hurtbox , collision = pat:get_frame(606,0,4).collision , fflags = 0x00000004 }) pat:update_frame(606,0,48, { tex_index = 267 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY9 , duration = 1 , hurtbox = pat:get_frame(606,0,5).hurtbox , collision = pat:get_frame(606,0,4).collision , fflags = 0x00000004 }) pat:update_frame(606,0,47, { tex_index = 267 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY8 , duration = 1 , hurtbox = pat:get_frame(606,0,6).hurtbox , collision = pat:get_frame(606,0,4).collision , fflags = 0x00000004 }) pat:update_frame(606,0,46, { tex_index = 267 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY7 , duration = 1 , hurtbox = pat:get_frame(606,0,7).hurtbox , collision = pat:get_frame(606,0,4).collision , fflags = 0x00000004 }) pat:update_frame(606,0,45, { tex_index = 267 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY6 , duration = 1 , hurtbox = pat:get_frame(606,0,8).hurtbox , collision = pat:get_frame(606,0,4).collision , fflags = 0x00000004 }) pat:update_frame(606,0,44, { tex_index = 266 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY5 , duration = 1 , hurtbox = pat:get_frame(606,0,9).hurtbox , collision = pat:get_frame(606,0,4).collision , fflags = 0x00000004 }) pat:update_frame(606,0,43, { tex_index = 266 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY4 , duration = 1 , hurtbox = pat:get_frame(606,0,10).hurtbox , collision = pat:get_frame(606,0,4).collision , fflags = 0x00000004 }) pat:update_frame(606,0,42, { tex_index = 266 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY3 , duration = 1 , hurtbox = pat:get_frame(606,0,11).hurtbox , collision = pat:get_frame(606,0,4).collision , fflags = 0x00000004 }) pat:update_frame(606,0,41, { tex_index = 266 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY2 , duration = 1 , hurtbox = pat:get_frame(606,0,12).hurtbox , collision = pat:get_frame(606,0,4).collision , fflags = 0x00000004 }) pat:update_frame(606,0,40, { tex_index = 266 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY1 , duration = 1 , hurtbox = pat:get_frame(606,0,13).hurtbox , collision = pat:get_frame(606,0,4).collision , fflags = 0x00000004 }) pat:update_frame(606,0,50, { tex_index = 522 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(1,0,1).hurtbox , collision = pat:get_frame(1,0,1).collision , fflags = 0x00000001 }) pat:update_frame(606,0,51, { tex_index = 522 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2-1+1 , hurtbox = pat:get_frame(1,0,1).hurtbox , collision = pat:get_frame(1,0,1).collision , fflags = 0x00000001 }) pat:update_frame(606,0,52, { tex_index = 523 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4-3+10 , hurtbox = pat:get_frame(1,0,1).hurtbox , collision = pat:get_frame(1,0,1).collision , fflags = 0x00000001 }) pat:update_frame(606,0,53, { tex_index = 523 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5-3+10 , hurtbox = pat:get_frame(1,0,1).hurtbox , collision = pat:get_frame(1,0,1).collision , fflags = 0x00000001 }) pat:update_frame(606,0,54, { tex_index = 213 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3+1 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000001 }) --pat:remove_frame(606,0,54) --I changed 0x7004 to 0x4 from 18~ to reduce inv duration pat:update_frame(606,0,17, { tex_index = 425 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY0 , duration = 4 , hurtbox = pat:get_frame(606,0,15).hurtbox , collision = pat:get_frame(606,0,15).collision , fflags = 0x00007004 }) pat:update_frame(606,0,17,function(frame) local size = 60 local addY = -80 frame.attackbox = pat:get_frame(0,0,0).hurtbox frame.attackbox[1].x1 = -size frame.attackbox[1].x2 = size frame.attackbox[1].y1 = -size +addY frame.attackbox[1].y2 = size +addY frame.attackbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.attackbox[2].x1 = -size * 1.3 frame.attackbox[2].x2 = size * 1.3 frame.attackbox[2].y1 = -size * 0.6 +addY frame.attackbox[2].y2 = size * 0.6 +addY frame.attackbox[3] = pat:get_frame(0,0,0).hurtbox[1] frame.attackbox[3].x1 = -size * 0.6 frame.attackbox[3].x2 = size * 0.6 frame.attackbox[3].y1 = -size * 1.3 +addY frame.attackbox[3].y2 = size * 1.3 +addY frame.hurtbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[2].x1 = -50 frame.hurtbox[2].x2 = 50 frame.hurtbox[2].y1 = -200 frame.hurtbox[2].y2 = 0 end) pat:update_frame(606,0,18, { tex_index = 426 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY0 , duration = 4 , hurtbox = pat:get_frame(606,0,17).hurtbox , collision = pat:get_frame(606,0,17).collision , fflags = 0x00000004 , attackbox = pat:get_frame(606,0,17).attackbox }) pat:update_frame(606,0,19, { tex_index = 427 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY0 , duration = 4 , hurtbox = pat:get_frame(606,0,17).hurtbox , collision = pat:get_frame(606,0,17).collision , fflags = 0x00000004 , attackbox = pat:get_frame(606,0,17).attackbox }) pat:update_frame(606,0,20, { tex_index = 428 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY0 , duration = 1 , hurtbox = pat:get_frame(606,0,17).hurtbox , collision = pat:get_frame(606,0,17).collision , fflags = 0x00000004 , attackbox = pat:get_frame(606,0,17).attackbox }) pat:update_frame(606,0,21, { tex_index = 428 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY0 , duration = 3 , hurtbox = pat:get_frame(606,0,17).hurtbox , collision = pat:get_frame(606,0,17).collision , fflags = 0x00000004 , attackbox = pat:get_frame(606,0,17).attackbox }) pat:update_frame(606,0,22, { tex_index = 427 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY0 , duration = 4 , hurtbox = pat:get_frame(606,0,17).hurtbox , collision = pat:get_frame(606,0,17).collision , fflags = 0x00000004 , attackbox = pat:get_frame(606,0,17).attackbox }) pat:update_frame(606,0,23, { tex_index = 426 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY0 , duration = 4 , hurtbox = pat:get_frame(606,0,17).hurtbox , collision = pat:get_frame(606,0,17).collision , fflags = 0x00000004 , attackbox = pat:get_frame(606,0,17).attackbox }) pat:update_frame(606,0,24, { tex_index = 425 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY0 , duration = 1 , hurtbox = pat:get_frame(606,0,17).hurtbox , collision = pat:get_frame(606,0,17).collision , fflags = 0x00000004 , attackbox = pat:get_frame(606,0,17).attackbox }) pat:update_frame(606,0,25, { tex_index = 425 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY0 , duration = 3 , hurtbox = pat:get_frame(606,0,17).hurtbox , collision = pat:get_frame(606,0,17).collision , fflags = 0x00000004 , attackbox = pat:get_frame(606,0,17).attackbox }) pat:update_frame(606,0,26, { tex_index = 426 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY0 , duration = 4 , hurtbox = pat:get_frame(606,0,17).hurtbox , collision = pat:get_frame(606,0,17).collision , fflags = 0x00000004 , attackbox = pat:get_frame(606,0,17).attackbox }) pat:update_frame(606,0,27, { tex_index = 427 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY0 , duration = 4 , hurtbox = pat:get_frame(606,0,17).hurtbox , collision = pat:get_frame(606,0,17).collision , fflags = 0x00000004 , attackbox = pat:get_frame(606,0,17).attackbox }) pat:update_frame(606,0,28, { tex_index = 428 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY0 , duration = 1 , hurtbox = pat:get_frame(606,0,17).hurtbox , collision = pat:get_frame(606,0,17).collision , fflags = 0x00000004 , attackbox = pat:get_frame(606,0,17).attackbox }) pat:update_frame(606,0,29, { tex_index = 428 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY0 , duration = 3 , hurtbox = pat:get_frame(606,0,17).hurtbox , collision = pat:get_frame(606,0,17).collision , fflags = 0x00000004 , attackbox = pat:get_frame(606,0,17).attackbox }) pat:update_frame(606,0,30, { tex_index = 427 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY0 , duration = 4 , hurtbox = pat:get_frame(606,0,17).hurtbox , collision = pat:get_frame(606,0,17).collision , fflags = 0x00000004 , attackbox = pat:get_frame(606,0,17).attackbox }) pat:update_frame(606,0,31, { tex_index = 426 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY0 , duration = 4 , hurtbox = pat:get_frame(606,0,17).hurtbox , collision = pat:get_frame(606,0,17).collision , fflags = 0x00000004 , attackbox = pat:get_frame(606,0,17).attackbox }) pat:update_frame(606,0,32, { tex_index = 425 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY0 , duration = 1 , hurtbox = pat:get_frame(606,0,17).hurtbox , collision = pat:get_frame(606,0,17).collision , fflags = 0x00000004 , attackbox = pat:get_frame(606,0,17).attackbox }) pat:update_frame(606,0,33, { tex_index = 425 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY0 , duration = 3 , hurtbox = pat:get_frame(606,0,17).hurtbox , collision = pat:get_frame(606,0,17).collision , fflags = 0x00000004 , attackbox = pat:get_frame(606,0,17).attackbox }) pat:update_frame(606,0,34, { tex_index = 426 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY0 , duration = 4 , hurtbox = pat:get_frame(606,0,17).hurtbox , collision = pat:get_frame(606,0,17).collision , fflags = 0x00000004 , attackbox = pat:get_frame(606,0,17).attackbox }) pat:update_frame(606,0,35, { tex_index = 427 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY0 , duration = 4 , hurtbox = pat:get_frame(606,0,17).hurtbox , collision = pat:get_frame(606,0,17).collision , fflags = 0x00000004 , attackbox = pat:get_frame(606,0,17).attackbox }) pat:update_frame(606,0,36, { tex_index = 428 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY0 , duration = 1 , hurtbox = pat:get_frame(606,0,17).hurtbox , collision = pat:get_frame(606,0,17).collision , fflags = 0x00000004 , attackbox = pat:get_frame(606,0,17).attackbox }) pat:update_frame(606,0,37, { tex_index = 428 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY0 , duration = 3 , hurtbox = pat:get_frame(606,0,17).hurtbox , collision = pat:get_frame(606,0,17).collision , fflags = 0x00000004 , attackbox = pat:get_frame(606,0,17).attackbox }) pat:update_frame(606,0,38, { tex_index = 427 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY0 , duration = 4 , hurtbox = pat:get_frame(606,0,17).hurtbox , collision = pat:get_frame(606,0,17).collision , fflags = 0x00000004 , attackbox = pat:get_frame(606,0,17).attackbox }) pat:update_frame(606,0,39, { tex_index = 426 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY0 , duration = 4 , hurtbox = pat:get_frame(606,0,17).hurtbox , collision = pat:get_frame(606,0,17).collision , fflags = 0x00000004 , attackbox = pat:get_frame(606,0,17).attackbox }) for idx = 17 , 39 do pat:update_frame(606,0,idx,function(frame) set_fflag(frame,FF_AIRBORNE) frame.damage = 600 frame.chip_damage = 60 frame.untech = 9999 frame.aflags = pat:get_frame(309,2,0).aflags --frame.fflags = pat:get_frame(800,0,0).fflags --frame.fflags = 0x01000001 frame.limit = 2 frame.combo_correction = CC_NONE frame.hit_ani_air = 71 frame.hit_ani_ground = 71 frame.proration = 940 frame.sp_damage = 0 frame.attack_level = AL_HEAVY frame.card_gain_hit = 0 frame.card_gain_block = 0 frame.launch_vector_x = 600 frame.launch_vector_y = 600 frame.hit_sfx = 3 frame.hit_effect = 3 frame.unknown_9 = 100 frame.hitstop_self = 10 frame.hitstop_enemy = 10 frame.blockstop_self = 10 frame.blockstop_enemy = 10 unset_aflag(frame,AF_PROJECTILE) unset_aflag(frame,AF_GROUND_UNBLOCKABLE) set_aflag(frame,AF_AIR_BLOCKABLE) unset_aflag(frame,AF_UNGRAZABLE) set_aflag(frame,AF_SPELL_ATTACK) end) end pat:remove_frame(856,0,1) for idx = 1 , 255 do pat:split_frame(856,0,0,1,1) end for idx = 0 , 255 do pat:update_frame(856,0,idx,function(frame) frame.attackbox = pat:get_frame(0,0,0).attackbox frame.tex_index = 128 frame.tex_w = 512 frame.tex_h = 512 frame.tex_offset_x = 256 frame.tex_offset_y = 256 frame.scale_x = 40 frame.scale_y = 40 frame.blending_mode = 0 local tempA = 16-idx*0.06 frame.angle_z = idx * tempA if (idx<10) then frame.scale_x = 4*idx frame.scale_y = 4*idx end end) end pat:update_frame(856,2,0,{scale_x = 500 , scale_y = 20 , tex_offset_x = 176}) pat:update_frame(856,2,1,{scale_x = 500 , scale_y = 20 , tex_offset_x = 176}) end function mods.s1sc_ring(pat) --817 local baseX = 128 local baseY = 256 local baseW = 160 local baseH = 160 pat:remove_frame(600,0,16) pat:update_frame(600,0,0, { tex_index = 417 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(520,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(600,0,1, { tex_index = 418 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(520,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(600,0,2, { tex_index = 419 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 9-3 , hurtbox = pat:get_frame(520,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(600,0,3, { tex_index = 419 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 40 , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(600,0,4, { tex_index = 420 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(520,0,8).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(600,0,5, { tex_index = 420 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(520,0,8).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(600,0,6, { tex_index = 421 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(520,0,10).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(600,0,7, { tex_index = 422 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(520,0,10).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(600,0,8, { tex_index = 422 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(520,0,10).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(600,0,9, { tex_index = 422 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(520,0,10).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(600,0,10, { tex_index = 422 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(520,0,10).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(600,0,11, { tex_index = 422 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(520,0,10).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(600,0,12, { tex_index = 422 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(520,0,10).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(600,0,13, { tex_index = 422 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 12 , hurtbox = pat:get_frame(520,0,10).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(600,0,14, { tex_index = 423 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(520,3,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(600,0,15, { tex_index = 424 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(520,3,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(650,0,0, { tex_index = 417 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-24 , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(520,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(650,0,1, { tex_index = 417 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-24 , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(520,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(650,0,2, { tex_index = 418 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-12 , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(532,0,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(650,0,3, { tex_index = 419 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-12 , tex_offset_y = baseY , duration = 9-3 , hurtbox = pat:get_frame(532,0,2).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(650,0,4, { tex_index = 419 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-12 , tex_offset_y = baseY , duration = 40 , collision = pat:get_frame(6,1,0).collision }) --pat:update_frame(650,0,4, { tex_index = 420 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+20 , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(532,0,4).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(650,0,5, { tex_index = 420 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+20 , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(532,0,4).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(650,0,6, { tex_index = 421 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+26 , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(532,0,6).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(650,0,7, { tex_index = 422 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+26 , tex_offset_y = baseY , duration = 18 , hurtbox = pat:get_frame(532,0,6).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(650,1,0, { tex_index = 422 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+26 , tex_offset_y = baseY , duration = 25 , hurtbox = pat:get_frame(532,0,6).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(650,2,0, { tex_index = 423 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+20 , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(532,0,9).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(650,2,1, { tex_index = 424 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+20 , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(532,0,9).hurtbox , collision = pat:get_frame(6,1,0).collision }) --pat:get_sequence(850,0):set_looped(false) pat:get_sequence(850,0):set_priority(30,0) for idx = 0 , 1 do pat:update_frame(850,1,idx,{tex_w = 0}) end for idx = 0 , 0 do if (idx==2) then else pat:update_frame(850,idx,0,function(frame) frame.tex_index = 128 frame.tex_w = 512 frame.tex_h = 512 frame.tex_offset_x = 256 frame.tex_offset_y = 256 frame.scale_x = 50 frame.scale_y = 50 frame.angle_x = 0 frame.angle_y = 0 frame.angle_z = 0 frame.duration = 30 frame.damage = 1500 frame.chip_damage = 300 frame.proration = 850 frame.limit = 100 frame.untech = 120 frame.card_gain_hit = 0 frame.card_gain_block = 0 frame.hit_sfx = 4 frame.sp_damage = 200 frame.combo_correction = CC_SMASH_ATTACK frame.hit_ani_air = 74 frame.hit_ani_ground = 74 frame.launch_vector_x = 3000 frame.launch_vector_y = 1500 frame.attack_level = AL_SUPERHEAVY local size = 80 frame.attackbox = pat:get_frame(0,0,0).hurtbox frame.attackbox[1].x1 = -size frame.attackbox[1].x2 = size frame.attackbox[1].y1 = -size frame.attackbox[1].y2 = size frame.attackbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.attackbox[2].x1 = -size * 1.3 frame.attackbox[2].x2 = size * 1.3 frame.attackbox[2].y1 = -size * 0.6 frame.attackbox[2].y2 = size * 0.6 frame.attackbox[3] = pat:get_frame(0,0,0).hurtbox[1] frame.attackbox[3].x1 = -size * 0.6 frame.attackbox[3].x2 = size * 0.6 frame.attackbox[3].y1 = -size * 1.3 frame.attackbox[3].y2 = size * 1.3 end) pat:remove_frame(850,idx,1) for idz = 1 , 15 do pat:split_frame(850,idx,0,1,1) end for idz = 1 , 15 do pat:update_frame(850,idx,idz,function(frame) frame.tex_index = 151+(idz) frame.tex_w = 640 frame.tex_h = 640 frame.tex_offset_x = 320 frame.tex_offset_y = 320 if (idz>10) then local alpha = 255-(idz-10)*50 frame.color_r = alpha frame.color_g = alpha frame.color_b = alpha end if (idz==15) then frame.tex_w = 0 frame.duration = 200 end end) end pat:update_frame(850,idx,0,{duration = 240}) end end end function mods.s2sc_field(pat) local baseX = 128 local baseY = 256 local baseW = 128 local baseH = 160 local baseY0 = 6 pat:split_frame(611,3,2,1,1) pat:split_frame(611,3,2,1,1) pat:update_frame(611,0,0, { tex_index = 440 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY0 , duration = 3 , hurtbox = pat:get_frame(540,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(611,0,1, { tex_index = 440 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY0 , duration = 3 , hurtbox = pat:get_frame(540,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(611,0,2, { tex_index = 441 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY0 , duration = 5 , hurtbox = pat:get_frame(540,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(611,0,3, { tex_index = 441 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY0 , duration = 20 , hurtbox = pat:get_frame(540,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(611,0,4, { tex_index = 441 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY0 , duration = 40 , hurtbox = pat:get_frame(540,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(611,0,5, { tex_index = 442 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(611,1,0, { tex_index = 443 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(611,1,1, { tex_index = 444 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(611,1,2, { tex_index = 445 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(611,2,0, { tex_index = 443 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(611,2,1, { tex_index = 444 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(611,2,2, { tex_index = 445 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(611,2,3, { tex_index = 443 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(611,2,4, { tex_index = 444 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(611,2,5, { tex_index = 445 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(611,3,0, { tex_index = 443 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 6 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(611,3,1, { tex_index = 444 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 6 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(611,3,2, { tex_index = 445 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 6 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(611,3,3, { tex_index = 52 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(611,3,4, { tex_index = 316 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(861,0,0,function(frame) frame.tex_index = 102 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 = 200 frame.color_r = 255 frame.color_g = 255 frame.color_b = 255 frame.blending_mode = 1 end) for idx = 1 , 16 do pat:split_frame(861,0,0,1,1) end for idx = 0 , 16 do local alpha = 255 - idx*17 pat:update_frame(861,0,idx,function(frame) frame.color_r = alpha frame.color_g = alpha frame.color_b = alpha if (idx == 16) then frame.duration = 60 frame.color_r = 0 frame.color_g = 0 frame.color_b = 0 end end) end pat:get_sequence(861,1,0):set_looped(false) pat:update_frame(861,1,0,function(frame) frame.tex_index = 102 frame.tex_w = 0 frame.tex_h = 128 frame.tex_offset_x = 16 frame.tex_offset_y = 64 frame.scale_x = 8000 frame.scale_y = 20 frame.blending_mode = 1 frame.duration = 300 end) pat:update_frame(861,2,0,function(frame) frame.tex_w = 0 frame.duration = 1 end) --820,2,0 is useless pat:get_sequence(861,3):set_priority(20,0) for idx = 1 , 92 do pat:split_frame(861,3,0,1,1) end for idx = 0 , 92 do pat:update_frame(861,3,idx,function(frame) frame.tex_index = 102 frame.tex_w = 32 frame.tex_h = 128 frame.tex_offset_x = 16 frame.tex_offset_y = 64 frame.scale_x = 4000 frame.scale_y = 100 frame.blending_mode = 1 if (idx >= 10) then frame.attackbox = pat:get_frame(0,0,0).hurtbox frame.attackbox[1].x1 = -2000 frame.attackbox[1].x2 = 2000 frame.attackbox[1].y1 = -15 frame.attackbox[1].y2 = 15 frame.damage = 500 frame.chip_damage = 25 frame.untech = 120 frame.aflags = pat:get_frame(820,3,10).aflags unset_aflag(frame,AF_SKILL_ATTACK) set_aflag(frame,AF_SPELL_ATTACK) --frame.fflags = pat:get_frame(800,0,0).fflags frame.fflags = 0x01000001 frame.limit = 10 frame.combo_correction = CC_LIFT_ATTACK frame.hit_ani_air = 71 frame.hit_ani_ground = 71 frame.proration = 940 frame.sp_damage = 5 frame.attack_level = AL_MEDIUM frame.card_gain_hit = 20 frame.card_gain_block = 20 frame.launch_vector_x = 1500 frame.launch_vector_y = 600 frame.hit_sfx = 3 frame.hit_effect = 3 frame.unknown_9 = 100 frame.hitstop_self = 0 frame.hitstop_enemy = 10 frame.blockstop_self = 0 frame.blockstop_enemy = 0 set_aflag(frame,AF_PROJECTILE) unset_aflag(frame,AF_GROUND_UNBLOCKABLE) set_aflag(frame,AF_AIR_BLOCKABLE) unset_aflag(frame,AF_UNGRAZABLE) set_aflag(frame,AF_UNREFLECTABLE) end local ymod = 460 -10*idx local xmod = 0 local scalemod = 100/frame.scale_y frame.tex_offset_y = frame.tex_offset_y - (ymod)*scalemod frame.tex_offset_x = frame.tex_offset_x - (xmod)*scalemod if (idx >= 10) then frame.attackbox[1].y1 = frame.attackbox[1].y1 + (ymod) frame.attackbox[1].y2 = frame.attackbox[1].y2 + (ymod) frame.attackbox[1].x1 = frame.attackbox[1].x1 + (xmod) frame.attackbox[1].x2 = frame.attackbox[1].x2 + (xmod) end if (idx > 87) then frame.attackbox = pat:get_frame(0,0,0).attackbox end if (idx > 90) then frame.duration = 600 frame.tex_w = 0 end end) end end function mods.s2sc_poison(pat) local baseX = 128 local baseX0 = 128 local baseY = 256 local baseW = 128 local baseH = 160 for idx = 4 , 12 do pat:split_frame(608,0,3,1,1) end pat:update_frame(608,0,0, { tex_index = 506 , tex_w = baseW , tex_h = baseH , tex_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(608,0,1, { tex_index = 507 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 20 }) pat:update_frame(608,0,2, { tex_index = 506 , tex_w = baseW , tex_h = baseH , tex_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(608,0,3, { tex_index = 508 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(608,0,4, { tex_index = 509 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(608,0,5, { tex_index = 508 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(608,0,6, { tex_index = 509 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(608,0,7, { tex_index = 508 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(608,0,8, { tex_index = 509 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(608,0,9, { tex_index = 508 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(608,0,10, { tex_index = 509 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(608,0,11, { tex_index = 508 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(608,0,12, { tex_index = 509 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(608,0,13, { tex_index = 508 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(608,0,13,function(frame) frame.hurtbox[1].x1 = frame.hurtbox[1].x1 - 30 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 - 30 frame.hurtbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[1].y2 = frame.hurtbox[1].y1 + 65 frame.hurtbox[2].y1 = frame.hurtbox[2].y1 + 40 end) pat:update_frame(608,0,14, { tex_index = 506 , tex_w = baseW , tex_h = baseH , tex_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(608,0,15, { tex_index = 507 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 5 }) pat:update_frame(608,0,16, { tex_index = 213 , tex_w = baseW , tex_h = baseH , tex_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(608,0,17, { tex_index = 213 , tex_w = baseW , tex_h = baseH , tex_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(608,0,18, { tex_index = 213 , tex_w = baseW , tex_h = baseH , tex_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 = 1 , 59 do pat:split_frame(858,3,0,1,1) end for idx = 0 , 19 do pat:update_frame(858,3,idx,function(frame) frame.scale_y = 100 + idx*3 frame.duration = 1 end) end for idx = 20 , 59 do pat:update_frame(858,3,idx,function(frame) frame.scale_y = 160 - (idx-20)*1.5 frame.duration = 1 end) end end function mods.s3sc_starmine(pat) local baseX = 128 local baseY = 256 local baseW = 128 local baseH = 160 local baseY0 = 6 local baseY1 = 20 local baseY2 = 4 pat:split_frame(602,0,8,1,1) pat:split_frame(602,2,3,1,1) pat:update_frame(602,0,0, { tex_index = 440 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY0 , duration = 1 , hurtbox = pat:get_frame(540,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(602,0,1, { tex_index = 440 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY0 , duration = 1 , hurtbox = pat:get_frame(540,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(602,0,2, { tex_index = 440 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY0 , duration = 1 , hurtbox = pat:get_frame(540,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(602,0,3, { tex_index = 440 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY0 , duration = 1 , hurtbox = pat:get_frame(540,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(602,0,4, { tex_index = 441 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY0 , duration = 1 , hurtbox = pat:get_frame(540,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(602,0,5, { tex_index = 441 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY0 , duration = 1 , hurtbox = pat:get_frame(540,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(602,0,6, { tex_index = 441 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY0 , duration = 1 , hurtbox = pat:get_frame(540,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(602,0,7, { tex_index = 441 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY0 , duration = 40 , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(602,0,8, { tex_index = 441 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY0 , duration = 30 , hurtbox = pat:get_frame(540,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(602,0,9, { tex_index = 442 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(602,1,0, { tex_index = 443 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(602,1,1, { tex_index = 444 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(602,1,2, { tex_index = 445 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(602,2,0, { tex_index = 443 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 6 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(602,2,1, { tex_index = 444 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 6 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(602,2,2, { tex_index = 445 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 6 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(602,2,3, { tex_index = 52 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(602,2,4, { tex_index = 316 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:split_frame(652,0,8,1,1) pat:split_frame(652,2,1,1,1) pat:split_frame(652,2,1,1,1) pat:update_frame(652,0,0, { tex_index = 510 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY1 , duration = 1 , hurtbox = pat:get_frame(540,0,1).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(652,0,0,function(frame) frame.hurtbox[1].y1 = frame.hurtbox[1].y1 - 20 frame.hurtbox[1].y2 = frame.hurtbox[1].y2 - 25 frame.hurtbox[2].y1 = frame.hurtbox[2].y1 - 20 frame.hurtbox[2].y2 = frame.hurtbox[2].y2 - 25 end) pat:update_frame(652,0,1, { tex_index = 510 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY1 , duration = 1 , hurtbox = pat:get_frame(652,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(652,0,2, { tex_index = 510 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY1 , duration = 1 , hurtbox = pat:get_frame(652,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(652,0,3, { tex_index = 510 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY1 , duration = 1 , hurtbox = pat:get_frame(652,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(652,0,4, { tex_index = 511 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY1+4 , duration = 1 , hurtbox = pat:get_frame(652,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(652,0,5, { tex_index = 511 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY1+4 , duration = 1 , hurtbox = pat:get_frame(652,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(652,0,6, { tex_index = 511 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY1+4 , duration = 1 , hurtbox = pat:get_frame(652,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(652,0,7, { tex_index = 511 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY1+4 , duration = 40 , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(652,0,8, { tex_index = 511 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY1+4 , duration = 30 , hurtbox = pat:get_frame(652,0,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(652,0,9, { tex_index = 446 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY2 , duration = 3 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(652,1,0, { tex_index = 447 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY2 , duration = 3 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(652,1,1, { tex_index = 448 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY2 , duration = 3 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(652,1,2, { tex_index = 449 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY2 , duration = 3 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(652,2,0, { tex_index = 447 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY2 , duration = 6 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(652,2,1, { tex_index = 448 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY2 , duration = 6 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(652,2,2, { tex_index = 449 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY2 , duration = 6 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(652,2,3, { tex_index = 283 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY2 , duration = 5 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:get_sequence(852,0):set_priority(30,0) pat:update_frame(852,1,0,{tex_w = 0 , duration = 1 , attackbox = pat:get_frame(0,0,0).attackbox}) pat:update_frame(852,1,1,{tex_w = 0 , duration = 1 }) --pat:update_frame(852,2,0,{tex_w = 0}) --pat:update_frame(852,2,0,{tex_index = 502 , tex_w = 128 , tex_h = 128 , tex_offset_x = 64 , tex_offset_y = 64 , scale_x = 100 , scale_y = 100 , blending_mode = 1}) pat:update_frame(852,4,0,{tex_w = 0}) pat:update_frame(852,5,0,{tex_w = 0}) pat:update_frame(852,2,0,{tex_index = 505 , tex_w = 256 , tex_h = 256 , tex_offset_x = 128 , tex_offset_y = 128 , scale_x = 600 , scale_y = 600 , blending_mode = 2}) for idx = 1 , 25 do pat:split_frame(852,2,0,1,1) end for idx = 0 , 25 do pat:update_frame(852,2,idx,function(frame) local alpha = 125 - idx*5 frame.color_r = alpha frame.color_g = alpha frame.color_b = alpha local size = idx*50 frame.scale_x = size frame.scale_y = size if (idx >= 25) then frame.tex_w = 0 frame.duration = 900 end end) end pat:update_frame(852,3,0,{tex_index = 172 , tex_w = 128 , tex_h = 128 , tex_offset_x = 64 , tex_offset_y = 64 , scale_x = 600 , scale_y = 600 , blending_mode = 2}) for idx = 1 , 25 do pat:split_frame(852,3,0,1,1) end for idx = 0 , 25 do pat:update_frame(852,3,idx,function(frame) local alpha = 30 frame.color_r = alpha frame.color_g = alpha frame.color_b = alpha local size = idx*50 frame.scale_x = size frame.scale_y = size if (idx >= 25) then frame.tex_w = 0 frame.duration = 900 end end) end local maxDur = 640 for idx = 1 , maxDur do pat:split_frame(852,0,0,1,1) end for idx = 0 , maxDur do pat:update_frame(852,0,idx,function(frame) set_fflag(frame, FF_AFTER_IMAGE) set_fflag(frame, FF_LOOP_ANIMATION) frame.tex_index = 128 frame.tex_w = 512 frame.tex_h = 512 frame.tex_offset_x = 256 frame.tex_offset_y = 256 frame.blending_mode = 1 frame.color_r = 125 frame.color_g = 125 frame.color_b = 125 if (idx >= maxDur-15) then frame.tex_index = 151+(idx-(maxDur-15)) frame.tex_w = 640 frame.tex_h = 640 frame.tex_offset_x = 320 frame.tex_offset_y = 320 local alpha = (maxDur-15)-idx frame.color_r = alpha * 17 frame.color_g = alpha * 17 frame.color_b = alpha * 17 end local scal = idx/20 if (scal > 1) then scal = 1 end frame.scale_x = (70+20) * scal frame.scale_y = (70+20) * scal local ang = -90 + (2 * idx) local xmod = scal*(320+80) * math.cos(ang * 3.14159/180) local ymod = scal*(320+80) * math.sin(ang * 3.14159/180) local size = (110+30) * scal local scalemod = 100/frame.scale_x frame.attackbox = pat:get_frame(0,0,0).hurtbox frame.attackbox[1].x1 = size * -1 frame.attackbox[1].x2 = size frame.attackbox[1].y1 = size * -1 frame.attackbox[1].y2 = size frame.attackbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.attackbox[2].x1 = size * -1 * 1.3 frame.attackbox[2].x2 = size * 1.3 frame.attackbox[2].y1 = size * -1 * 0.6 frame.attackbox[2].y2 = size * 0.6 frame.attackbox[3] = pat:get_frame(0,0,0).hurtbox[1] frame.attackbox[3].x1 = size * -1 * 0.6 frame.attackbox[3].x2 = size * 0.6 frame.attackbox[3].y1 = size * -1 * 1.3 frame.attackbox[3].y2 = size * 1.3 frame.tex_offset_y = frame.tex_offset_y - (ymod)*scalemod frame.attackbox[1].y1 = frame.attackbox[1].y1 + (ymod) frame.attackbox[1].y2 = frame.attackbox[1].y2 + (ymod) frame.attackbox[2].y1 = frame.attackbox[2].y1 + (ymod) frame.attackbox[2].y2 = frame.attackbox[2].y2 + (ymod) frame.attackbox[3].y1 = frame.attackbox[3].y1 + (ymod) frame.attackbox[3].y2 = frame.attackbox[3].y2 + (ymod) frame.tex_offset_x = frame.tex_offset_x - (xmod)*scalemod frame.attackbox[1].x1 = frame.attackbox[1].x1 + (xmod) frame.attackbox[1].x2 = frame.attackbox[1].x2 + (xmod) frame.attackbox[2].x1 = frame.attackbox[2].x1 + (xmod) frame.attackbox[2].x2 = frame.attackbox[2].x2 + (xmod) frame.attackbox[3].x1 = frame.attackbox[3].x1 + (xmod) frame.attackbox[3].x2 = frame.attackbox[3].x2 + (xmod) if (idx < 20) then frame.attackbox = pat:get_frame(0,0,0).attackbox end if (idx > (maxDur-15)) then frame.attackbox = pat:get_frame(0,0,0).attackbox end frame.damage = 150 frame.chip_damage = 15 frame.untech = 60 frame.aflags = pat:get_frame(800,0,0).aflags set_aflag(frame,AF_SPELL_ATTACK) --frame.fflags = pat:get_frame(800,0,0).fflags frame.fflags = 0x01000001 frame.limit = 2 frame.combo_correction = CC_LIFT_ATTACK frame.hit_ani_air = 71 frame.hit_ani_ground = 71 frame.proration = 980 frame.sp_damage = 10 frame.attack_level = AL_HEAVY frame.card_gain_hit = 0 frame.card_gain_block = 0 frame.launch_vector_x = 500 frame.launch_vector_y = 500 frame.hit_sfx = 9 frame.hit_effect = 15 frame.unknown_9 = 100 frame.hitstop_self = 0 frame.hitstop_enemy = 10 frame.blockstop_self = 0 frame.blockstop_enemy = 5 set_fflag(frame, FF_AFTER_IMAGE) set_fflag(frame, FF_LOOP_ANIMATION) set_aflag(frame,AF_UNREFLECTABLE) set_aflag(frame,AF_PROJECTILE) unset_aflag(frame,AF_GROUND_UNBLOCKABLE) set_aflag(frame,AF_AIR_BLOCKABLE) unset_aflag(frame,AF_UNGRAZABLE) end) end end function mods.s3sc_crown(pat) --603 --853 local baseX1 = 128 local baseY1 = 256 local baseW1 = 128 local baseH1 = 160 local baseX = 160 local baseY = 256 local baseW = 160 local baseH = 160 local baseY0 = -10 pat:update_frame(603,0,0, { tex_index = 54 , tex_w = baseW1 , tex_h = baseH1 , tex_offset_x = baseX1 , tex_offset_y = baseY1 +baseY0 , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(603,0,1, { tex_index = 54 , tex_w = baseW1 , tex_h = baseH1 , tex_offset_x = baseX1 , tex_offset_y = baseY1 +baseY0 , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(603,0,2, { tex_index = 55 , tex_w = baseW1 , tex_h = baseH1 , tex_offset_x = baseX1 , tex_offset_y = baseY1 +baseY0 , duration = 10 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(603,0,3, { tex_index = 55 , tex_w = baseW1 , tex_h = baseH1 , tex_offset_x = baseX1 , tex_offset_y = baseY1 +baseY0 , duration = 40 , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(603,0,4, { tex_index = 458 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 1 , hurtbox = pat:get_frame(605,1,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(603,0,5, { tex_index = 458 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 1 , hurtbox = pat:get_frame(605,1,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:remove_frame(603,1,2) pat:update_frame(603,1,0, { tex_index = 462 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(605,1,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(603,1,1, { tex_index = 463 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(605,1,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:split_frame(603,2,1,1,1) pat:split_frame(603,2,1,1,1) pat:update_frame(603,2,0, { tex_index = 462 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 , hurtbox = pat:get_frame(605,1,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(603,2,1, { tex_index = 463 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 , hurtbox = pat:get_frame(605,1,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(603,2,2, { tex_index = 464 , tex_w = baseW1 , tex_h = baseH1 , tex_offset_x = baseX1 , tex_offset_y = baseY1 +baseY0 , duration = 3 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(603,2,3, { tex_index = 464 , tex_w = baseW1 , tex_h = baseH1 , tex_offset_x = baseX1 , tex_offset_y = baseY1 +baseY0 , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(853,3,0,function(frame) frame.duration = 1 frame.tex_w = 0 end) pat:get_sequence(853,2):set_looped(false) for idx = 1 , 20 do pat:split_frame(853,2,0,1,1) end for idx = 0 , 20 do pat:update_frame(853,2,idx,function(frame) frame.tex_index = 107 + idx%21 frame.tex_w = 128 frame.tex_h = 64 frame.tex_offset_x = 16 frame.tex_offset_y = 48 frame.scale_x = 200 frame.scale_y = 100 frame.duration = 1 local alpha = 85 frame.color_r = alpha frame.color_g = alpha frame.color_b = alpha end) end pat:remove_frame(853,1,1) for idx = 1 , 20 do pat:split_frame(853,1,0,1,1) end for idx = 0 , 20 do pat:update_frame(853,1,idx,function(frame) unset_fflag(frame, FF_AFTER_IMAGE) unset_fflag(frame, FF_LOOP_ANIMATION) frame.tex_index = 107 + idx%21 frame.tex_w = 0 frame.tex_h = 64 frame.tex_offset_x = -16 frame.tex_offset_y = 68 frame.scale_x = 200 frame.scale_y = 200 frame.duration = 1 --[[ frame.attackbox = pat:get_frame(0,0,0).hurtbox frame.attackbox[2] = pat:get_frame(0,0,0).hurtbox[1] local idz = 3 if (idx < 3) then frame.attackbox[1].x1 = 30 frame.attackbox[1].x2 = 100 + 40*idx frame.attackbox[1].y1 = -90 frame.attackbox[1].y2 = -40 idz=1 if (idx < 2) then frame.attackbox[2] = null idz=1 else frame.attackbox[2].x1 = 120 frame.attackbox[2].x2 = 130 + 40*idx frame.attackbox[2].y1 = -110 frame.attackbox[2].y2 = -70 idz=2 end else frame.attackbox[1].x1 = 30 frame.attackbox[1].x2 = 100 + 120 frame.attackbox[2].x1 = 120 frame.attackbox[2].x2 = 130 + 120 frame.attackbox[1].y1 = -90 frame.attackbox[1].y2 = -40 frame.attackbox[2].y1 = -110 frame.attackbox[2].y2 = -70 frame.attackbox[3] = pat:get_frame(0,0,0).hurtbox[1] frame.attackbox[3].x1 = 160 frame.attackbox[3].x2 = 120 + 120 frame.attackbox[3].y1 = -130 frame.attackbox[3].y2 = -90 idz=3 end for idy = 1 , idz do frame.attackbox[idy].y1 = frame.attackbox[idy].y1 + 60 frame.attackbox[idy].y2 = frame.attackbox[idy].y2 + 60 end for idy = 1 , idz do frame.attackbox[idy].x1 = frame.attackbox[idy].x1 * 1.5 frame.attackbox[idy].x2 = frame.attackbox[idy].x2 * 1.5 frame.attackbox[idy].y1 = frame.attackbox[idy].y1 * 1.5 frame.attackbox[idy].y2 = frame.attackbox[idy].y2 * 1.5 end ]]-- frame.hitstop_enemy = 10 frame.blockstop_enemy = 10 frame.launch_vector_y = 1650 end) end pat:get_sequence(853,0):set_looped(false) pat:update_frame(853,0,0,{tex_w = 0 , duration = 21}) for idx = 0 , 0 do pat:update_frame(853,0,0,function(frame) frame.attackbox = pat:get_frame(0,0,0).hurtbox frame.attackbox[2] = pat:get_frame(0,0,0).hurtbox[1] local idz = 3 frame.attackbox[1].x1 = 10 frame.attackbox[1].x2 = 100 + 120 frame.attackbox[2].x1 = 120 frame.attackbox[2].x2 = 130 + 120 frame.attackbox[1].y1 = -90 frame.attackbox[1].y2 = -40 frame.attackbox[2].y1 = -110 frame.attackbox[2].y2 = -70 frame.attackbox[3] = pat:get_frame(0,0,0).hurtbox[1] frame.attackbox[3].x1 = 160 frame.attackbox[3].x2 = 120 + 120 frame.attackbox[3].y1 = -130 frame.attackbox[3].y2 = -90 idz=3 for idy = 1 , idz do frame.attackbox[idy].y1 = frame.attackbox[idy].y1 + 60 frame.attackbox[idy].y2 = frame.attackbox[idy].y2 + 60 end for idy = 1 , idz do frame.attackbox[idy].x1 = frame.attackbox[idy].x1 * 1.5 frame.attackbox[idy].x2 = frame.attackbox[idy].x2 * 1.5 frame.attackbox[idy].y1 = frame.attackbox[idy].y1 * 1.5 frame.attackbox[idy].y2 = frame.attackbox[idy].y2 * 1.5 end frame.hitstop_enemy = 10 frame.blockstop_enemy = 10 frame.launch_vector_x = 2500 frame.launch_vector_y = 1000 frame.damage = 250 frame.chip_damage = 25 frame.proration = 950 frame.sp_damage = 10 frame.hit_ani_ground = 74 frame.hit_ani_air = 74 frame.limit = 4 frame.combo_correction = CC_SMASH_ATTACK set_aflag(frame,AF_DRAINS_ON_GRAZE) end) end end function mods.s3sc_elixir(pat) local baseX = 128 local baseX0 = 128 local baseY = 256 local baseW = 128 local baseH = 160 for idx = 4 , 12 do pat:split_frame(608,0,3,1,1) end pat:update_frame(609,0,0, { tex_index = 506 , tex_w = baseW , tex_h = baseH , tex_offset_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(609,0,1, { tex_index = 507 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(609,0,2, { tex_index = 507 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(609,0,3, { tex_index = 507 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , collision = pat:get_frame(0,0,0).collision , duration = 40 }) pat:update_frame(609,0,4, { tex_index = 507 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 16 }) pat:update_frame(609,0,5, { tex_index = 506 , tex_w = baseW , tex_h = baseH , tex_offset_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(609,0,6, { tex_index = 508 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(608,0,13).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(609,0,7, { tex_index = 509 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(608,0,13).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(609,0,8, { tex_index = 508 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(608,0,13).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(609,0,9, { tex_index = 509 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(608,0,13).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(609,1,0, { tex_index = 508 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(608,0,13).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(609,1,1, { tex_index = 509 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(608,0,13).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:split_frame(609,2,1,1,1) pat:update_frame(609,2,0, { tex_index = 506 , tex_w = baseW , tex_h = baseH , tex_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(609,2,1, { tex_index = 507 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 5 }) pat:update_frame(609,2,2, { tex_index = 213 , tex_w = baseW , tex_h = baseH , tex_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(609,3,0, { tex_index = 239 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , collision = pat:get_frame(6,1,0).collision }) --1 pat:update_frame(609,3,1, { tex_index = 240 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , collision = pat:get_frame(6,1,0).collision }) --2 pat:update_frame(609,3,2, { tex_index = 241 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , collision = pat:get_frame(6,1,0).collision }) --3 pat:update_frame(609,4,0, { tex_index = 242 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , collision = pat:get_frame(6,1,0).collision }) --4 pat:update_frame(609,4,1, { tex_index = 243 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , collision = pat:get_frame(6,1,0).collision }) --5 end function mods.s3sc_usb(pat) --860 local baseX = 128 local baseY = 256 local baseW = 128 local baseH = 160 local baseY0 = 6 pat:split_frame(610,3,2,1,1) pat:split_frame(610,3,2,1,1) pat:update_frame(610,0,0, { tex_index = 440 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY0 , duration = 3 , hurtbox = pat:get_frame(540,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(610,0,1, { tex_index = 440 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY0 , duration = 3 , hurtbox = pat:get_frame(540,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(610,0,2, { tex_index = 441 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY0 , duration = 5 , hurtbox = pat:get_frame(540,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(610,0,3, { tex_index = 441 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY0 , duration = 5 , hurtbox = pat:get_frame(540,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(610,0,4, { tex_index = 441 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY0 , duration = 40 , hurtbox = pat:get_frame(540,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(610,0,5, { tex_index = 442 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(610,1,0, { tex_index = 443 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(610,1,1, { tex_index = 444 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(610,1,2, { tex_index = 445 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(610,2,0, { tex_index = 443 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(610,2,1, { tex_index = 444 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(610,2,2, { tex_index = 445 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(610,2,3, { tex_index = 443 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(610,2,4, { tex_index = 444 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(610,2,5, { tex_index = 445 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(610,3,0, { tex_index = 443 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 6 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(610,3,1, { tex_index = 444 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 6 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(610,3,2, { tex_index = 445 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 6 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(610,3,3, { tex_index = 52 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(610,3,4, { tex_index = 316 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) for idx = 0 , 1 do pat:update_frame(860,1,idx,{tex_w=0}) end pat:get_sequence(860,0):set_priority(30,0) pat:get_sequence(860,0):set_looped(false) for idx = 2 , 99 do pat:split_frame(860,0,1,1,1) end for idx = 0 , 99 do pat:update_frame(860,0,idx,function(frame) frame.fflags = pat:get_frame(801,0,0).fflags frame.aflags = pat:get_frame(801,0,0).aflags frame.tex_index = 172 frame.tex_w = 512 frame.tex_h = 512 frame.tex_offset_x = 256 frame.tex_offset_y = 256 frame.scale_x = 200-- + (idx%2)*10 frame.scale_y = 200-- + (idx%2)*10 frame.color_r = 255 - (idx%2)*50 frame.color_g = 255 - (idx%2)*50 frame.color_b = 255 - (idx%2)*50 frame.damage = 500 frame.proration = 900 frame.chip_damage = 50 frame.limit = 20 frame.sp_damage = 75 frame.combo_correction = CC_LIFT_ATTACK frame.hit_ani_air = 71 frame.hit_ani_ground = 71 frame.launch_vector_y = 900 frame.launch_vector_x = 600 frame.blockstop_enemy = 10 local radius = 420 local width = 80 frame.attackbox[1].x1 = -radius -- width/2 frame.attackbox[1].x2 = -radius + width frame.attackbox[1].y1 = -radius frame.attackbox[1].y2 = radius frame.attackbox[2] = pat:get_frame(0,0,0).hurtbox frame.attackbox[2].x1 = radius - width frame.attackbox[2].x2 = radius --+ width/2 frame.attackbox[2].y1 = -radius frame.attackbox[2].y2 = radius frame.attackbox[3] = pat:get_frame(0,0,0).hurtbox frame.attackbox[3].x1 = -radius frame.attackbox[3].x2 = radius frame.attackbox[3].y1 = -radius -- width/2 frame.attackbox[3].y2 = -radius + width frame.attackbox[4] = pat:get_frame(0,0,0).hurtbox frame.attackbox[4].x1 = -radius frame.attackbox[4].x2 = radius frame.attackbox[4].y1 = radius - width frame.attackbox[4].y2 = radius --+ width/2 frame.hurtbox = pat:get_frame(0,0,0).hurtbox frame.hurtbox = frame.attackbox if (idx < 10) then --frame.scale_x = idx*20 --frame.scale_y = idx*20 frame.duration = 1 --frame.angle_z = 360 - 36 * idx local alpha = idx*25 frame.color_r = alpha frame.color_g = alpha frame.color_b = alpha frame.attackbox = pat:get_frame(0,0,0).attackbox else frame.duration = 2 end if (idx >= 90) and (idx < 100) then local alpha = 255-(idx-90)*25 frame.color_r = alpha frame.color_g = alpha frame.color_b = alpha frame.attackbox = pat:get_frame(0,0,0).attackbox frame.duration = 1 end if (idx >= 100) then frame.tex_w = 0 frame.attackbox = pat:get_frame(0,0,0).attackbox frame.duration = 1 end end) end end function mods.s3sc_break(pat) local baseX = 128 local baseY = 256 local baseW = 128 local baseH = 160 pat:update_frame(607,0,0, { tex_index = 506 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(607,0,1, { tex_index = 507 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 12 }) pat:update_frame(607,0,2, { tex_index = 507 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , collision = pat:get_frame(0,0,0).collision , duration = 40 }) pat:update_frame(607,0,3, { tex_index = 530 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(565,0,7).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(607,0,4, { tex_index = 531 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(565,0,8).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 9 }) pat:update_frame(607,0,5, { tex_index = 531 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(565,0,8).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 9 }) pat:update_frame(607,0,6, { tex_index = 531 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(565,0,8).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 9 }) pat:update_frame(607,0,7, { tex_index = 531 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(565,0,8).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 9 }) pat:update_frame(607,0,8, { tex_index = 531 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(565,0,8).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 9 }) pat:update_frame(607,0,9, { tex_index = 531 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(565,0,8).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 9 }) pat:update_frame(607,0,10, { tex_index = 531 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(565,0,8).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 9 }) pat:update_frame(607,0,11, { tex_index = 531 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(565,0,8).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 9 }) pat:update_frame(607,0,12, { tex_index = 531 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(565,0,8).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 9 }) pat:update_frame(607,0,13, { tex_index = 531 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(565,0,8).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 9-5 }) pat:update_frame(607,0,14, { tex_index = 531 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(565,0,8).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 9-5 }) pat:update_frame(607,0,15, { tex_index = 213 , tex_w = baseW , tex_h = baseH , tex_offset_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,16, { tex_index = 521 , tex_w = baseW , tex_h = baseH , tex_offset_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 , 1 do pat:update_frame(857,0,idx,function(frame) frame.attackbox = pat:get_frame(0,0,0).attackbox frame.tex_w = 0 end) pat:update_frame(857,1,idx,function(frame) frame.tex_w = 0 end) pat:update_frame(857,2,idx,function(frame) frame.tex_w = 0 end) pat:update_frame(857,7,idx,function(frame) frame.tex_w = 0 end) pat:update_frame(857,11,idx,function(frame) frame.tex_w = 0 end) end for idx = 3 , 6 do pat:update_frame(857,idx,0,function(frame) frame.tex_w = 0 frame.scale_y = 0 frame.tax_h = 0 end) end pat:update_frame(857,8,0,function(frame) frame.tex_w = 0 end) pat:update_frame(857,12,0,function(frame) frame.tex_w = 0 end) pat:update_frame(857,10,0,function(frame) frame.tex_index = 105 end) for idx = 1 , 59 do pat:split_frame(857,9,0,1,1) end for idx = 0 , 59 do pat:add_particle_info(857,9,idx) pat:update_frame(857,9,idx,function(frame) set_fflag(frame, FF_AFTER_IMAGE) set_fflag(frame, FF_LOOP_ANIMATION) frame.tex_index = 101 frame.blending_mode = 1 frame.tex_w = 64 frame.tex_h = 64 frame.tex_offset_x = 32 frame.tex_offset_y = 32 frame.angle_x = 0 frame.angle_y = 0 frame.angle_z = 0 frame.scale_x = 150 frame.scale_y = 150 local ang = (idx*6)%360 frame.angle_z = ang*-1 local scalemod = 100/frame.scale_x local ymod = 0 local xmod = 0*idx frame.attackbox = pat:get_frame(0,0,0).hurtbox frame.attackbox[1].x1 = -20 frame.attackbox[1].x2 = 20 frame.attackbox[1].y1 = -20 frame.attackbox[1].y2 = 20 frame.tex_offset_y = frame.tex_offset_y - (ymod)*scalemod frame.attackbox[1].y1 = frame.attackbox[1].y1 + (ymod) frame.attackbox[1].y2 = frame.attackbox[1].y2 + (ymod) frame.tex_offset_x = frame.tex_offset_x - (xmod)*scalemod frame.attackbox[1].x1 = frame.attackbox[1].x1 + (xmod) frame.attackbox[1].x2 = frame.attackbox[1].x2 + (xmod) frame.hurtbox = frame.attackbox frame.damage = 250 frame.chip_damage = 25 frame.sp_damage = 20 frame.proration = 920 frame.card_gain_hit = 0 frame.card_gain_block = 0 frame.limit = 5 frame.untech = 60 --frame.aflags = pat:get_frame(825,8,0).aflags --frame.fflags = pat:get_frame(825,8,0).fflags --frame.fflags = 0x01000001 frame.combo_correction = CC_NONE frame.hit_ani_air = 71 frame.hit_ani_ground = 0 frame.attack_level = AL_HEAVY frame.card_gain_hit = 0 frame.card_gain_block = 0 frame.launch_vector_x = 600 frame.launch_vector_y = 600 frame.hit_sfx = 3 frame.hit_effect = 3 frame.unknown_9 = 100 frame.hitstop_self = 0 frame.hitstop_enemy = 10 frame.blockstop_self = 0 frame.blockstop_enemy = 2 end) end end function mods.s4sc_blast(pat) local baseX = 128 local baseY = 256 local baseW = 160 local baseH = 160 pat:split_frame(604,0,4,1,1) pat:update_frame(604,0,0, { tex_index = 417 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4-1 , hurtbox = pat:get_frame(520,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(604,0,1, { tex_index = 418 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(520,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(604,0,2, { tex_index = 419 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 40 , hurtbox = pat:get_frame(520,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(604,0,3, { tex_index = 419 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4-2 , hurtbox = pat:get_frame(520,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(604,0,4, { tex_index = 420 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 6 , hurtbox = pat:get_frame(520,0,8).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(604,0,5, { tex_index = 421 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 6 , hurtbox = pat:get_frame(520,0,10).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(604,1,0, { tex_index = 422 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(520,0,10).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(604,1,1, { tex_index = 422 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(520,0,10).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(604,1,2, { tex_index = 422 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(520,0,10).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(604,2,0, { tex_index = 422 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(520,0,10).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(604,2,1, { tex_index = 422 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(520,0,10).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(604,2,2, { tex_index = 422 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(520,0,10).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(604,2,3, { tex_index = 422 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(520,0,10).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(604,2,4, { tex_index = 422 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(520,0,10).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(604,2,5, { tex_index = 422 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(520,0,10).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(604,2,6, { tex_index = 422 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(520,0,10).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(604,2,7, { tex_index = 422 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(520,0,10).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(604,2,8, { tex_index = 422 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(520,0,10).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(604,2,9, { tex_index = 423 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 , hurtbox = pat:get_frame(520,3,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(604,2,10, { tex_index = 424 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 , hurtbox = pat:get_frame(520,3,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(854,4,0,{tex_w = 0 , duration = 25}) for idx = 1, 42 do pat:split_frame(854,4,1,2,2) end for idx = 0 , 42 do pat:update_frame(854,4,idx,function(frame) frame.scale_x = 15 + idx%2 frame.scale_y = 75 + 2*(idx%2) if (idx%2 == 0) then local color = 255 frame.color_r = color frame.color_g = color frame.color_b = color end if (idx>35) then local color = 255 - 50 * (idx-35) frame.color_r = color frame.color_g = color frame.color_b = color elseif (idx>=1 and idx<=5) then local color = 50 * idx frame.color_r = color frame.color_g = color frame.color_b = color end if (idx>40) then frame.tex_w = 0 frame.duration = 10 end end) end pat:update_frame(854,3,2,{tex_w = 0}) pat:update_frame(854,3,1,{tex_w = 0}) pat:update_frame(854,3,0,{tex_w = 0}) for idx = 1 , 8 do pat:remove_frame(854,2,1) end pat:update_frame(854,2,0,{tex_w = 0}) for idx = 0 , 5 do pat:update_frame(854,0,idx,{tex_w = 0}) end pat:update_frame(854,0,5,{attackbox = pat:get_frame(0,0,0).attackbox}) for idx = 1 , 5 do pat:remove_frame(854,1,1) end for idx = 1 , 86 do pat:split_frame(854,1,0,1,1) end for idx = 0 , 86 do pat:update_frame(854,1,idx,function(frame) set_fflag(frame, FF_AFTER_IMAGE) set_fflag(frame, FF_LOOP_ANIMATION) frame.tex_index = 128 frame.tex_w = 512 frame.tex_h = 512 frame.tex_offset_x = 256 frame.tex_offset_y = 256 frame.scale_x = 100 frame.scale_y = 100 frame.duration = 1 frame.angle_z = frame.angle_z + 180 if (idx >= 20) then if (idx >= 70) then frame.tex_index = 151+(idx-70) frame.tex_w = 640 frame.tex_h = 640 frame.tex_offset_x = 320 frame.tex_offset_y = 320 frame.duration = 1 end if (idx > 75) then local alpha = 255-25*(idx-75) frame.color_r = alpha frame.color_g = alpha frame.color_b = alpha end end if (idx<5) then local alpha = 50*(idx+1) frame.color_r = alpha frame.color_g = alpha frame.color_b = alpha end local scalemod = 100/frame.scale_x local ang = 165 - 6*idx if (idx>25) then ang = 165 - 6*25 - (idx-25)*0.5 end if (idx>20) then frame.tex_w = 512-3*(idx-20) if (idx >= 70) then frame.tex_w = 640 end end local ymod = 400 * math.cos(ang * 3.14159/180) local xmod = 400 * math.sin(ang * 3.14159/180) local base = 100 frame.attackbox = pat:get_frame(0,0,0).hurtbox frame.attackbox[1].x1 = base *-1 frame.attackbox[1].x2 = base frame.attackbox[1].y1 = base *-1 frame.attackbox[1].y2 = base frame.attackbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.attackbox[2].x1 = base *-1 * 1.3 frame.attackbox[2].x2 = base * 1.3 frame.attackbox[2].y1 = base *-1 * 0.6 frame.attackbox[2].y2 = base * 0.6 frame.attackbox[3] = pat:get_frame(0,0,0).hurtbox[1] frame.attackbox[3].x1 = base *-1 * 0.6 frame.attackbox[3].x2 = base * 0.6 frame.attackbox[3].y1 = base *-1 * 1.3 frame.attackbox[3].y2 = base * 1.3 for idz = 1 , 3 do frame.attackbox[idz].x1 = frame.attackbox[idz].x1 * 1.5 frame.attackbox[idz].x2 = frame.attackbox[idz].x2 * 1.5 frame.attackbox[idz].y1 = frame.attackbox[idz].y1 * 1.5 frame.attackbox[idz].y2 = frame.attackbox[idz].y2 * 1.5 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.attackbox[2].y1 = frame.attackbox[2].y1 + (ymod) frame.attackbox[2].y2 = frame.attackbox[2].y2 + (ymod) frame.attackbox[3].y1 = frame.attackbox[3].y1 + (ymod) frame.attackbox[3].y2 = frame.attackbox[3].y2 + (ymod) frame.tex_offset_x = frame.tex_offset_x + (xmod)*scalemod frame.attackbox[1].x1 = frame.attackbox[1].x1 + (xmod) frame.attackbox[1].x2 = frame.attackbox[1].x2 + (xmod) frame.attackbox[2].x1 = frame.attackbox[2].x1 + (xmod) frame.attackbox[2].x2 = frame.attackbox[2].x2 + (xmod) frame.attackbox[3].x1 = frame.attackbox[3].x1 + (xmod) frame.attackbox[3].x2 = frame.attackbox[3].x2 + (xmod) frame.hitstop_enemy = 0 if (idx < 10) then frame.launch_vector_x = 1000 frame.launch_vector_y = 1200 frame.hit_ani_air = 71 frame.hit_ani_ground = 71 elseif (idx < 15) then frame.launch_vector_x = 1000 frame.launch_vector_y = 0 frame.hit_ani_air = 71 frame.hit_ani_ground = 71 elseif (idx < 20) then frame.launch_vector_x = 1000 frame.launch_vector_y = -2500 frame.hit_ani_air = 88 frame.hit_ani_ground = 88 else frame.launch_vector_x = 250 frame.launch_vector_y = -2500 frame.hit_ani_air = 88 frame.hit_ani_ground = 88 end --[[ frame.launch_vector_x = 0 frame.launch_vector_y = -2500 frame.hit_ani_air = 88 frame.hit_ani_ground = 88]]-- frame.limit = 2 frame.damage = 600 frame.proration = 920 frame.hit_sfx = 6 frame.untech = 9999 if (idx > 25) then set_aflag(frame,AF_UNGRAZABLE) --frame.hitstop_enemy = 10 frame.limit = 2 frame.damage = 600 frame.proration = 920 frame.hit_sfx = 4 frame.untech = 9999 --frame.launch_vector_y = -5000 frame.attackbox[4] = pat:get_frame(0,0,0).hurtbox[1] frame.attackbox[4].x1 = frame.attackbox[1].x1 -350 + idx * 3 frame.attackbox[4].x2 = frame.attackbox[1].x2 -350 + idx * 3 frame.attackbox[4].y1 = frame.attackbox[1].y1 -140 frame.attackbox[4].y2 = frame.attackbox[1].y2 +140 end if (idx >= 72) then frame.attackbox = pat:get_frame(0,0,0).attackbox end if (idx>=85) then frame.tex_w = 0 frame.duration = 20 end frame.combo_correction = CC_SMASH_ATTACK end) end end function mods.s5sc_lre(pat) --855 --605 --655 local baseX1 = 128 local baseY1 = 256 local baseW1 = 128 local baseH1 = 160 local baseX = 160 local baseY = 256 local baseW = 160 local baseH = 160 local baseY0 = -10 pat:update_frame(605,0,0, { tex_index = 54 , tex_w = baseW1 , tex_h = baseH1 , tex_offset_x = baseX1 , tex_offset_y = baseY1 +baseY0 , duration = 1 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(605,0,1, { tex_index = 54 , tex_w = baseW1 , tex_h = baseH1 , tex_offset_x = baseX1 , tex_offset_y = baseY1 +baseY0 , duration = 1 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(605,0,2, { tex_index = 54 , tex_w = baseW1 , tex_h = baseH1 , tex_offset_x = baseX1 , tex_offset_y = baseY1 +baseY0 , duration = 1 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(605,0,3, { tex_index = 54 , tex_w = baseW1 , tex_h = baseH1 , tex_offset_x = baseX1 , tex_offset_y = baseY1 +baseY0 , duration = 1 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(605,0,4, { tex_index = 55 , tex_w = baseW1 , tex_h = baseH1 , tex_offset_x = baseX1 , tex_offset_y = baseY1 +baseY0 , duration = 1 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(605,0,5, { tex_index = 55 , tex_w = baseW1 , tex_h = baseH1 , tex_offset_x = baseX1 , tex_offset_y = baseY1 +baseY0 , duration = 1 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(605,0,6, { tex_index = 55 , tex_w = baseW1 , tex_h = baseH1 , tex_offset_x = baseX1 , tex_offset_y = baseY1 +baseY0 , duration = 9 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(605,0,7, { tex_index = 55 , tex_w = baseW1 , tex_h = baseH1 , tex_offset_x = baseX1 , tex_offset_y = baseY1 +baseY0 , duration = 40 , collision = pat:get_frame(0,0,0).collision }) pat:get_sequence(605,1):set_looped(false) pat:split_frame(605,1,2,1,1) pat:split_frame(605,1,2,1,1) pat:split_frame(605,1,2,1,1) pat:update_frame(605,1,0, { tex_index = 458 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 , hurtbox = pat:get_frame(306,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(605,1,0,function(frame) for idx = 1 , 3 do frame.hurtbox[idx].y1 = frame.hurtbox[idx].y1 - baseY0 frame.hurtbox[idx].y2 = frame.hurtbox[idx].y2 - baseY0 end frame.hurtbox[1].y2 = 0 end) pat:update_frame(605,1,1, { tex_index = 459 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 , hurtbox = pat:get_frame(605,1,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(605,1,2, { tex_index = 460 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 , hurtbox = pat:get_frame(605,1,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(605,1,3, { tex_index = 461 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 , hurtbox = pat:get_frame(605,1,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(605,1,4, { tex_index = 462 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 , hurtbox = pat:get_frame(605,1,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(605,1,5, { tex_index = 463 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 , hurtbox = pat:get_frame(605,1,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(605,2,0, { tex_index = 462 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 , hurtbox = pat:get_frame(605,1,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(605,2,1, { tex_index = 463 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 , hurtbox = pat:get_frame(605,1,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(605,2,2, { tex_index = 464 , tex_w = baseW1 , tex_h = baseH1 , tex_offset_x = baseX1 , tex_offset_y = baseY1 +baseY0 , duration = 3 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(605,2,3, { tex_index = 464 , tex_w = baseW1 , tex_h = baseH1 , tex_offset_x = baseX1 , tex_offset_y = baseY1 +baseY0 , duration = 2 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) baseY0 = 10 baseY2 = 8 pat:update_frame(655,0,0, { tex_index = 54 , tex_w = baseW1 , tex_h = baseH1 , tex_offset_x = baseX1 , tex_offset_y = baseY1 +baseY0 , duration = 1 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(655,0,1, { tex_index = 54 , tex_w = baseW1 , tex_h = baseH1 , tex_offset_x = baseX1 , tex_offset_y = baseY1 +baseY0 , duration = 1 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(655,0,2, { tex_index = 54 , tex_w = baseW1 , tex_h = baseH1 , tex_offset_x = baseX1 , tex_offset_y = baseY1 +baseY0 , duration = 1 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(655,0,3, { tex_index = 54 , tex_w = baseW1 , tex_h = baseH1 , tex_offset_x = baseX1 , tex_offset_y = baseY1 +baseY0 , duration = 1 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(655,0,4, { tex_index = 55 , tex_w = baseW1 , tex_h = baseH1 , tex_offset_x = baseX1 , tex_offset_y = baseY1 +baseY0 , duration = 1 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(655,0,5, { tex_index = 55 , tex_w = baseW1 , tex_h = baseH1 , tex_offset_x = baseX1 , tex_offset_y = baseY1 +baseY0 , duration = 1 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(655,0,6, { tex_index = 55 , tex_w = baseW1 , tex_h = baseH1 , tex_offset_x = baseX1 , tex_offset_y = baseY1 +baseY0 , duration = 9 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(655,0,7, { tex_index = 55 , tex_w = baseW1 , tex_h = baseH1 , tex_offset_x = baseX1 , tex_offset_y = baseY1 +baseY0 , duration = 40 , collision = pat:get_frame(6,1,0).collision }) pat:get_sequence(655,1):set_looped(false) pat:split_frame(655,1,2,1,1) pat:split_frame(655,1,2,1,1) pat:split_frame(655,1,2,1,1) pat:update_frame(655,1,0, { tex_index = 56 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX1 , tex_offset_y = baseY +baseY0 , duration = 5 , hurtbox = pat:get_frame(306,0,4).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(655,1,1, { tex_index = 57 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX1 , tex_offset_y = baseY +baseY0 , duration = 5 , hurtbox = pat:get_frame(306,0,4).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(655,1,2, { tex_index = 58 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX1 , tex_offset_y = baseY +baseY0 , duration = 5 , hurtbox = pat:get_frame(306,0,4).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(655,1,3, { tex_index = 59 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX1 , tex_offset_y = baseY +baseY0 , duration = 5 , hurtbox = pat:get_frame(306,0,4).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(655,1,4, { tex_index = 60 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX1 , tex_offset_y = baseY +baseY0 , duration = 5 , hurtbox = pat:get_frame(306,0,4).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(655,1,5, { tex_index = 61 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX1 , tex_offset_y = baseY +baseY0 , duration = 5 , hurtbox = pat:get_frame(306,0,4).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(655,2,0, { tex_index = 60 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX1 , tex_offset_y = baseY +baseY0 , duration = 5 , hurtbox = pat:get_frame(306,0,4).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(655,2,1, { tex_index = 61 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX1 , tex_offset_y = baseY +baseY0 , duration = 5 , hurtbox = pat:get_frame(306,0,4).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(655,3,0, { tex_index = 62 , tex_w = baseW1 , tex_h = baseH1 , tex_offset_x = baseX1 , tex_offset_y = baseY1 +baseY0 , duration = 3 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(655,3,1, { tex_index = 62 , tex_w = baseW1 , tex_h = baseH1 , tex_offset_x = baseX1 , tex_offset_y = baseY1 +baseY0 , duration = 1 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(655,3,2, { tex_index = 62 , tex_w = baseW1 , tex_h = baseH1 , tex_offset_x = baseX1 , tex_offset_y = baseY1 +baseY0 , duration = 1 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) --[[ pat:update_frame(306,0,0, { tex_index = 54 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY0 , duration = 2 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(306,0,1, { tex_index = 54 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY0 , duration = 2 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(306,0,2, { tex_index = 55 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY0 , duration = 2 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(306,0,3, { tex_index = 55 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY0 , duration = 4 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(306,0,4, { tex_index = 56 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY0 , duration = 5 , hurtbox = pat:get_frame(306,0,4).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(306,0,5, { tex_index = 57 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY0 , duration = 5 , hurtbox = pat:get_frame(306,0,4).hurtbox , attackbox = pat:get_frame(306,0,4).attackbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(306,0,6, { tex_index = 58 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY0 , duration = 5 , hurtbox = pat:get_frame(306,0,4).hurtbox , attackbox = pat:get_frame(306,0,4).attackbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(306,0,7, { tex_index = 59 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY0 , duration = 5 , hurtbox = pat:get_frame(306,0,4).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(306,0,8, { tex_index = 60 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY0 , duration = 5 , hurtbox = pat:get_frame(306,0,4).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(306,0,9, { tex_index = 61 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY0 , duration = 5 , hurtbox = pat:get_frame(306,0,4).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(306,0,10, { tex_index = 62 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY0 , duration = 3 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(306,0,11, { tex_index = 62 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY +baseY0 , duration = 2 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision })]]-- --178 pat:remove_frame(855,0,2) pat:remove_frame(855,0,1) for idx = 1 , 3 do pat:split_frame(855,0,0,1,1) end for idx = 0 , 3 do pat:update_frame(855,0,idx,function(frame) frame.tex_index = 178-- + idx%2 frame.tex_w = 128 frame.tex_h = 128 frame.tex_offset_x = 0 frame.tex_offset_y = 64 frame.blending_mode = 1 frame.scale_x = 150 frame.scale_y = 150 frame.duration = 200 frame.damage = 0 frame.chip_damage = 0 frame.sp_damage = 50 frame.attackbox[1].x1 = frame.attackbox[1].x1 + 180 frame.attackbox[1].x2 = frame.attackbox[1].x2 + 150 frame.attackbox[1].y1 = frame.attackbox[1].y1 + 100 frame.attackbox[1].y2 = frame.attackbox[1].y2 - 100 frame.attackbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.attackbox[2].x1 = frame.attackbox[1].x2 - 200 frame.attackbox[2].x2 = frame.attackbox[1].x2 + 50 frame.attackbox[2].y1 = frame.attackbox[1].y1 - 80 frame.attackbox[2].y2 = frame.attackbox[1].y2 + 80 set_aflag(frame,AF_DRAINS_ON_GRAZE) if (idx==0) then --5a frame.hit_ani_ground = 301 frame.hit_ani_air = 306 frame.color_r = 255 frame.color_g = 255 frame.color_b = 255 elseif (idx==1) then --6a frame.hit_ani_ground = 302 frame.hit_ani_air = 307 frame.color_r = 255 frame.color_g = 255 frame.color_b = 255 elseif (idx==2) then --3a frame.hit_ani_ground = 304 frame.hit_ani_air = 308 frame.color_r = 255 frame.color_g = 255 frame.color_b = 255 elseif (idx==3) then --8a frame.hit_ani_ground = 304 frame.hit_ani_air = 309 frame.color_r = 255 frame.color_g = 255 frame.color_b = 255 end end) end end return function(pat) mods.fix_frames(pat) mods.invis_things(pat) mods.n5a(pat) mods.n5aa(pat) mods.nf5a(pat) mods.n6a(pat) mods.n2a(pat) mods.n3a(pat) mods.n5aaa(pat) mods.n5aaaa(pat) mods.nj5a(pat) mods.nj6a(pat) mods.nj2a(pat) mods.nj8a(pat) mods.b5b(pat) mods.b5c(pat) mods.b2c(pat) mods.n66a(pat) mods.n66b(pat) mods.n66c(pat) mods.systems(pat) mods.d236(pat) mods.d623(pat) mods.d214(pat) mods.d22(pat) mods.a236_bend(pat) mods.a236_drop(pat) mods.a623_clone(pat) mods.a623_usb(pat) mods.a214_scan(pat) mods.a214_ring(pat) mods.a22_split(pat) mods.a22_spectral(pat) mods.s1sc_break(pat) mods.s1sc_ring(pat) mods.s2sc_field(pat) mods.s2sc_poison(pat) mods.s3sc_starmine(pat) --mods.s3sc_crown(pat) moved down mods.s3sc_elixir(pat) mods.s3sc_usb(pat) mods.s3sc_break(pat) mods.s4sc_blast(pat) mods.s5sc_lre(pat) mods.s3sc_crown(pat) end