require("config.util") local mods = {} --[[ sounds 0 = 5b 1 = 5c 2 = 6c 3 = 236b ]]-- --[[ 1) move id in xml (ground, air, and bullets if needed) 2) replace the .bmps (npp+: check regular expression, find ".*.bmp ) 600 601 602 603 604 605 606 607 608 609 610 611 619 651 (601) 656 (606) 657 (607) systems: 690 parsing the codes: 1 replace esi+00000 with esi+0x (check normal) 1b replace esp+ with esp+0x 2 replace {.* with nothing (check regular exp) 3a search for call 0x820230 and call +99F0 etc 3 replace call th123.exe+ with call 0x4 (uncheck regular exp) 5 replace th123.exe+ with LABEL 6 add the LABELs manually 7 use macro to remove addresses 8 fix the rest yourself 8a replace fstp st(0) with fstp st0 8b push 0x , mov 0x , and cmp ,0x 8bb replace [space]0 with [space]0x0 8c replace [LABEL4 with [0x8 9 replace LABEL.*- with nothing (check regular exp) 10 check for starter variables 11 check for enders NOTES: -check for calls (call 0x44.. instead of 0x820230, etc) -call 0x499F0 -> 0x4099F0 -fix push seq ids -check for fstp stuff at start of 0F bullet etc -ebp isnt used in 0F bullet -bullet needs add esp,0x000002B8 -fix ebx,eax,ecx etc at start -check 0xFF -> 0xFFFFFFFF stuff ] ] ]]-- function mods.fix_frames(pat) local baseX = 79*2 +8 local baseY = 155*2 +4 local baseW = 185 local baseH = 205 local baseDur = 6 --shield pat:update_frame(998,0,0, { tex_w = 256 , tex_offset_x = 128 , tex_h = 256 , tex_offset_y = 128 , scale_x = 100 , scale_y = 100 } ) pat:update_frame(998,1,0, { tex_w = 256 , tex_offset_x = 128 , tex_h = 256 , tex_offset_y = 128 , scale_x = 100 , scale_y = 100 } ) --stand pat:update_frame(0,0,0, { tex_index = 494 , 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 + 15 frame.collision[1].y1 = frame.collision[1].y1 + 35 end) pat:update_frame(0,0,1, { tex_index = 495 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = baseDur , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(0,0,2, { tex_index = 496 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = baseDur , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(0,0,3, { tex_index = 497 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = baseDur , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(0,0,4, { tex_index = 498 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = baseDur , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(0,0,5, { tex_index = 499 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = baseDur , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) for idx = 6 , 9 do pat:remove_frame(0,0,6) end pat:update_frame(1,0,0, { tex_index = 499 , 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 = 351 , 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(1,0,1,function(frame) frame.hurtbox[1].y1 = frame.hurtbox[1].y1 + 25 frame.collision[1].y1 = frame.collision[1].y1 + 25 end) pat:update_frame(1,0,2, { tex_index = 351 , 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(1,0,3, { tex_index = 352 , 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(1,0,3,function(frame) frame.hurtbox[1].y1 = frame.hurtbox[1].y1 + 10 frame.collision[1].y1 = frame.collision[1].y1 + 15 end) pat:update_frame(1,0,4, { tex_index = 352 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(1,0,3).hurtbox , collision = pat:get_frame(1,0,3).collision }) pat:update_frame(1,0,5, { tex_index = 353 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(1,0,3).hurtbox , collision = pat:get_frame(1,0,3).collision }) pat:update_frame(1,0,5,function(frame) frame.hurtbox[1].y1 = frame.hurtbox[1].y1 + 15 frame.collision[1].y1 = frame.collision[1].y1 + 15 end) pat:update_frame(2,0,0, { tex_index = 353 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(1,0,5).hurtbox , collision = pat:get_frame(1,0,5).collision }) pat:update_frame(3,0,0, { tex_index = 353 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(2,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(3,0,1, { tex_index = 354 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-18 , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(1,0,4).hurtbox , collision = pat:get_frame(1,0,4).collision }) pat:update_frame(3,0,2, { tex_index = 354 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-18 , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(1,0,4).hurtbox , collision = pat:get_frame(1,0,4).collision }) pat:update_frame(3,0,3, { tex_index = 351 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 , hurtbox = pat:get_frame(1,0,1).hurtbox , collision = pat:get_frame(1,0,1).collision }) for idx = 6 , 7 do pat:split_frame(4,0,5,1,1) end pat:update_frame(4,0,0, { 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 , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(4,0,1, { 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 , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(4,0,2, { 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 , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(4,0,3, { 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 , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(4,0,4, { 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 , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(4,0,5, { tex_index = 522 , 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 = 500 , 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 = 501 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = baseDur , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) for idx = 0 , 7 do pat:add_particle_info(5,0,idx) end pat:remove_frame(5,0,8) pat:update_frame(5,0,0, { tex_index = 509 , 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 }) pat:update_frame(5,0,1, { tex_index = 510 , 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 }) pat:update_frame(5,0,2, { tex_index = 511 , 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 }) pat:update_frame(5,0,3, { tex_index = 512 , 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 }) pat:update_frame(5,0,4, { tex_index = 513 , 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 }) pat:update_frame(5,0,5, { tex_index = 514 , 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 }) pat:update_frame(5,0,6, { tex_index = 515 , 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 }) pat:update_frame(5,0,7, { tex_index = 516 , 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 }) for idx = 0 , 7 do pat:update_frame(5,0,idx,function(frame) frame.scale_x = 200 frame.scale_y = 200 frame.angle_y = 180 end) end --jump pat:update_frame(6,0,0, { tex_index = 186 , 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 = 351 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 1 , hurtbox = pat:get_frame(3,0,3).hurtbox , collision = pat:get_frame(3,0,3).collision }) pat:update_frame(6,0,2, { tex_index = 351 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(6,0,1).hurtbox , collision = pat:get_frame(6,0,1).collision }) pat:update_frame(6,1,0, { tex_index = 177 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+8 , duration = 1 }) pat:update_frame(6,1,0,function(frame) frame.hurtbox[1].y1 = frame.hurtbox[1].y1 + 20 frame.hurtbox[1].y2 = frame.hurtbox[2].y2 + 5 frame.hurtbox[1].x1 = -30 frame.hurtbox[1].x2 = 30 frame.hurtbox[2] = null frame.collision[1].y1 = frame.collision[1].y1 + 10 frame.collision[1].y2 = frame.collision[1].y2 + 10 end) pat:update_frame(6,1,1, { tex_index = 177 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+8 , duration = 8 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(6,2,0, { tex_index = 178 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-4 , duration = 5 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(6,2,1, { tex_index = 184 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-10 , duration = 5 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(6,2,2, { tex_index = 502 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-10 , duration = 5 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(6,2,3, { tex_index = 179 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-10 , duration = 5 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(6,2,4, { tex_index = 502 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-10 , duration = 5 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(6,2,5, { tex_index = 185 , 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,2,5, { tex_index = 181 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+10 , duration = 5 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(6,3,0, { tex_index = 182 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = baseDur , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(6,3,1, { tex_index = 503 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = baseDur , 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 = 182 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = baseDur , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(9,0,1, { tex_index = 503 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = baseDur , hurtbox = pat:get_frame(9,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) -- landing pat:update_frame(10,0,0, { tex_index = 351 , 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(10,0,1, { tex_index = 351 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(10,0,0).hurtbox , collision = pat:get_frame(10,0,0).collision }) pat:update_frame(10,0,2, { tex_index = 186 , 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(10,0,2,function(frame) frame.hurtbox[1].y1 = frame.hurtbox[1].y1 + 10 --frame.collision[1].y1 = frame.collision[1].y1 + 10 end) -- dash --unused frame attackAb006 --pat:split_frame(200,0,1,2,2) --pat:update_frame(200,0,0, { tex_index = 186 , 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(200,0,0, { tex_index = 351 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(6,0,1).hurtbox , collision = pat:get_frame(6,0,1).collision }) pat:update_frame(200,0,1, { tex_index = 128 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+44 , duration = 3 , hurtbox = pat:get_frame(3,0,1).hurtbox , collision = pat:get_frame(200,0,0).collision }) pat:update_frame(200,0,1,function(frame) frame.hurtbox[1].y1 = frame.hurtbox[1].y1 + 20 frame.hurtbox[1].x1 = frame.hurtbox[1].x1 - 20 end) pat:update_frame(200,1,0, { tex_index = 124 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-24 , tex_offset_y = baseY , duration = 5 , collision = pat:get_frame(200,0,0).collision }) pat:update_frame(200,1,0,function(frame) frame.hurtbox[3].y1 = frame.hurtbox[3].y1 + 15 frame.hurtbox[3].x2 = frame.hurtbox[3].x2 + 20 frame.hurtbox[2].y1 = frame.hurtbox[2].y1 + 15 frame.hurtbox[2].y2 = frame.hurtbox[2].y2 + 15 frame.hurtbox[1].y1 = frame.hurtbox[1].y1 + 30 frame.hurtbox[1].y2 = frame.hurtbox[1].y2 + 30 end) pat:update_frame(200,1,1, { tex_index = 125 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-24 , tex_offset_y = baseY , duration = 5 , hurtbox = pat:get_frame(200,1,0).hurtbox , collision = pat:get_frame(200,1,0).collision }) -- dashend pat:update_frame(204,0,0, { tex_index = 124 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-24 , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(200,1,0).hurtbox , collision = pat:get_frame(200,1,0).collision }) pat:update_frame(204,0,1, { tex_index = 124 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-24 , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(200,1,0).hurtbox , collision = pat:get_frame(200,1,0).collision }) pat:update_frame(204,0,2, { tex_index = 351 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(200,0,0).hurtbox , collision = pat:get_frame(200,0,0).collision }) pat:update_frame(204,0,3, { tex_index = 351 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(200,0,0).hurtbox , collision = pat:get_frame(200,0,0).collision }) pat:update_frame(204,0,4, { tex_index = 186 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(10,0,2).hurtbox , collision = pat:get_frame(10,0,2).collision }) pat:update_frame(204,0,5, { tex_index = 186 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(10,0,2).hurtbox , collision = pat:get_frame(10,0,2).collision }) -- airdash pat:update_frame(202,0,0, { tex_index = 177 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+8 , duration = 3 , hurtbox = pat:get_frame(9,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) --pat:update_frame(202,0,0, { tex_index = 186 , 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 , collision = pat:get_frame(0,0,0).collision }) --pat:update_frame(202,0,1, { tex_index = 351 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+30 , duration = 3 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(202,0,1, { tex_index = 128 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+78 , duration = 3 , hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(202,0,1,function(frame) frame.hurtbox[1].y1 = frame.hurtbox[1].y1 -34 frame.hurtbox[1].y2 = frame.hurtbox[1].y2 -40 end) pat:update_frame(202,1,0, { tex_index = 125 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-12 , tex_offset_y = baseY+10 , duration = 3 , hurtbox = pat:get_frame(200,1,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(202,1,0,function(frame) for idx = 1 , 3 do frame.hurtbox[idx].x1 = frame.hurtbox[idx].x1 -12 frame.hurtbox[idx].x2 = frame.hurtbox[idx].x2 -12 frame.hurtbox[idx].y1 = frame.hurtbox[idx].y1 -10 frame.hurtbox[idx].y2 = frame.hurtbox[idx].y2 -10 end frame.hurtbox[3].x1 = frame.hurtbox[3].x1 + 20 frame.hurtbox[2].x1 = frame.hurtbox[2].x1 + 10 frame.hurtbox[3].y2 = frame.hurtbox[3].y2 - 20 end) pat:update_frame(202,2,0, { tex_index = 124 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-12 , tex_offset_y = baseY+14 , duration = 5 , hurtbox = pat:get_frame(202,1,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(202,2,1, { tex_index = 125 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-12 , tex_offset_y = baseY+14 , duration = 5 , hurtbox = pat:get_frame(202,1,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(202,2,2, { tex_index = 124 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-12 , tex_offset_y = baseY+14 , duration = 5 , hurtbox = pat:get_frame(202,1,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(202,2,3, { tex_index = 125 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-12 , tex_offset_y = baseY+14 , duration = 5 , hurtbox = pat:get_frame(202,1,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(202,2,4, { tex_index = 124 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-12 , tex_offset_y = baseY+14 , duration = 5 , hurtbox = pat:get_frame(202,1,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(202,2,5, { tex_index = 124 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-12 , tex_offset_y = baseY+14 , duration = 3 , hurtbox = pat:get_frame(202,1,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(202,2,6, { tex_index = 177 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+8 , duration = 3 , hurtbox = pat:get_frame(9,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:remove_frame(202,2,4) pat:update_frame(202,3,0, { tex_index = 182 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = baseDur , hurtbox = pat:get_frame(9,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(202,3,1, { tex_index = 503 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = baseDur , hurtbox = pat:get_frame(9,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) -- backdash pat:update_frame(201,0,0, { tex_index = 351 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(200,0,0).hurtbox , collision = pat:get_frame(200,0,0).collision }) pat:update_frame(201,1,0, { tex_index = 126 , 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(201,1,0,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 + 20 frame.hurtbox[2].y1 = -90 frame.hurtbox[2].y2 = -0 frame.hurtbox[1].y2 = -50 frame.collision[1].y1 = frame.collision[1].y1 + 10 end) pat:update_frame(201,2,0, { tex_index = 188 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 , hurtbox = pat:get_frame(201,1,0).hurtbox , collision = pat:get_frame(201,1,0).collision }) pat:update_frame(201,2,1, { tex_index = 126 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 , hurtbox = pat:get_frame(201,1,0).hurtbox , collision = pat:get_frame(201,1,0).collision }) pat:update_frame(201,3,0, { tex_index = 188 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 , hurtbox = pat:get_frame(201,1,0).hurtbox , collision = pat:get_frame(201,1,0).collision }) pat:update_frame(201,3,1, { tex_index = 126 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 , hurtbox = pat:get_frame(201,1,0).hurtbox , collision = pat:get_frame(201,1,0).collision }) pat:update_frame(201,4,0, { tex_index = 351 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(201,0,0).hurtbox , collision = pat:get_frame(201,0,0).collision }) pat:update_frame(201,4,1, { tex_index = 186 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(204,0,4).hurtbox , collision = pat:get_frame(204,0,4).collision }) -- air backdash pat:update_frame(203,0,0, { tex_index = 351 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+20 , duration = 2 , hurtbox = pat:get_frame(9,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(203,0,1, { tex_index = 126 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(201,1,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(203,0,1,function(frame) frame.hurtbox[2].y2 = frame.hurtbox[2].y2 - 10 frame.fflags = pat:get_frame(203,0,3).fflags end) pat:update_frame(203,0,2, { tex_index = 188 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(203,0,1).hurtbox , collision = pat:get_frame(9,0,0).collision , fflags = pat:get_frame(203,0,3).fflags }) pat:update_frame(203,0,3, { tex_index = 126 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 , hurtbox = pat:get_frame(203,0,1).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(203,0,4, { tex_index = 188 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 , hurtbox = pat:get_frame(203,0,1).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(203,0,5, { tex_index = 126 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 , hurtbox = pat:get_frame(203,0,1).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(203,0,6, { tex_index = 188 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 , hurtbox = pat:get_frame(203,0,1).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:remove_frame(203,0,6) pat:update_frame(203,1,0, { tex_index = 126 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 , hurtbox = pat:get_frame(203,0,1).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(203,1,1, { tex_index = 188 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 , hurtbox = pat:get_frame(203,0,1).hurtbox , collision = pat:get_frame(9,0,0).collision }) --pat:update_frame(203,1,1, { tex_index = 351 , 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(203,1,2, { tex_index = 177 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+8 , duration = 5 , hurtbox = pat:get_frame(9,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(203,2,0, { tex_index = 182 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = baseDur , hurtbox = pat:get_frame(9,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(203,2,1, { tex_index = 503 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = baseDur , hurtbox = pat:get_frame(9,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) --highjump --hj8 pat:update_frame(208,0,0, { tex_index = 186 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(6,0,0).hurtbox , collision = pat:get_frame(6,0,0).collision }) pat:update_frame(208,0,1, { tex_index = 351 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 1 , hurtbox = pat:get_frame(6,0,1).hurtbox , collision = pat:get_frame(6,0,1).collision }) pat:update_frame(208,0,2, { tex_index = 351 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(6,0,2).hurtbox , collision = pat:get_frame(6,0,2).collision }) pat:update_frame(208,1,0, { tex_index = 177 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+8 , 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 = 177 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+8 , duration = 8 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(208,2,0, { tex_index = 178 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-4 , duration = 6 , hurtbox = pat:get_frame(6,2,0).hurtbox , collision = pat:get_frame(6,2,0).collision , fflags = 0x00000464 }) pat:update_frame(208,2,1, { tex_index = 184 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-10 , duration = 6 , hurtbox = pat:get_frame(6,2,1).hurtbox , collision = pat:get_frame(6,2,1).collision }) pat:update_frame(208,2,2, { tex_index = 502 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-10 , duration = 6 , hurtbox = pat:get_frame(6,2,2).hurtbox , collision = pat:get_frame(6,2,2).collision }) pat:update_frame(208,2,3, { tex_index = 179 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-10 , duration = 6 , hurtbox = pat:get_frame(6,2,3).hurtbox , collision = pat:get_frame(6,2,3).collision }) pat:update_frame(208,2,4, { tex_index = 502 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-10 , duration = 6 , hurtbox = pat:get_frame(6,2,4).hurtbox , collision = pat:get_frame(6,2,4).collision }) pat:update_frame(208,2,5, { tex_index = 185 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 6 , hurtbox = pat:get_frame(6,2,5).hurtbox , collision = pat:get_frame(6,2,5).collision }) --pat:update_frame(6,2,5, { tex_index = 181 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+10 , duration = 5 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(208,3,0, { tex_index = 182 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = baseDur , hurtbox = pat:get_frame(9,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(208,3,1, { tex_index = 503 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = baseDur , hurtbox = pat:get_frame(9,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) -- 6628 dj8 pat:update_frame(211,0,0, { tex_index = 186 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(6,0,0).hurtbox , collision = pat:get_frame(6,0,0).collision }) pat:update_frame(211,0,1, { tex_index = 351 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 1 , hurtbox = pat:get_frame(6,0,1).hurtbox , collision = pat:get_frame(6,0,1).collision }) pat:update_frame(211,0,2, { tex_index = 351 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(6,0,2).hurtbox , collision = pat:get_frame(6,0,2).collision }) pat:update_frame(211,1,0, { tex_index = 177 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+8 , 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 = 177 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+8 , duration = 8 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(211,2,0, { tex_index = 178 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-4 , duration = 6 , hurtbox = pat:get_frame(6,2,0).hurtbox , collision = pat:get_frame(6,2,0).collision , fflags = 0x00000464 }) pat:update_frame(211,2,1, { tex_index = 184 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-10 , duration = 6 , hurtbox = pat:get_frame(6,2,1).hurtbox , collision = pat:get_frame(6,2,1).collision }) pat:update_frame(211,2,2, { tex_index = 502 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-10 , duration = 6 , hurtbox = pat:get_frame(6,2,2).hurtbox , collision = pat:get_frame(6,2,2).collision }) pat:update_frame(211,2,3, { tex_index = 179 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-10 , duration = 6 , hurtbox = pat:get_frame(6,2,3).hurtbox , collision = pat:get_frame(6,2,3).collision }) pat:update_frame(211,2,4, { tex_index = 502 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-10 , duration = 6 , hurtbox = pat:get_frame(6,2,4).hurtbox , collision = pat:get_frame(6,2,4).collision }) pat:update_frame(211,2,5, { tex_index = 185 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 6 , hurtbox = pat:get_frame(6,2,5).hurtbox , collision = pat:get_frame(6,2,5).collision }) --pat:update_frame(6,2,5, { tex_index = 181 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+10 , duration = 5 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(211,3,0, { tex_index = 182 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = baseDur , hurtbox = pat:get_frame(9,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(211,3,1, { tex_index = 503 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = baseDur , hurtbox = pat:get_frame(9,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) -- 6629 dj9 pat:update_frame(212,0,0, { tex_index = 186 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(6,0,0).hurtbox , collision = pat:get_frame(6,0,0).collision }) pat:update_frame(212,0,1, { tex_index = 351 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 1 , hurtbox = pat:get_frame(6,0,1).hurtbox , collision = pat:get_frame(6,0,1).collision }) pat:update_frame(212,0,2, { tex_index = 351 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(6,0,2).hurtbox , collision = pat:get_frame(6,0,2).collision }) pat:update_frame(212,1,0, { tex_index = 177 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+8 , duration = 1 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(212,1,1, { tex_index = 177 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+8 , duration = 8 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(212,2,0, { tex_index = 178 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-4 , duration = 6 , hurtbox = pat:get_frame(6,2,0).hurtbox , collision = pat:get_frame(6,2,0).collision , fflags = 0x00000464 }) pat:update_frame(212,2,1, { tex_index = 184 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-10 , duration = 6 , hurtbox = pat:get_frame(6,2,1).hurtbox , collision = pat:get_frame(6,2,1).collision }) pat:update_frame(212,2,2, { tex_index = 502 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-10 , duration = 6 , hurtbox = pat:get_frame(6,2,2).hurtbox , collision = pat:get_frame(6,2,2).collision }) pat:update_frame(212,2,3, { tex_index = 179 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-10 , duration = 6 , hurtbox = pat:get_frame(6,2,3).hurtbox , collision = pat:get_frame(6,2,3).collision }) pat:update_frame(212,2,4, { tex_index = 502 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-10 , duration = 6 , hurtbox = pat:get_frame(6,2,4).hurtbox , collision = pat:get_frame(6,2,4).collision }) pat:update_frame(212,2,5, { tex_index = 185 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 6 , hurtbox = pat:get_frame(6,2,5).hurtbox , collision = pat:get_frame(6,2,5).collision }) --pat:update_frame(6,2,5, { tex_index = 181 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+10 , duration = 5 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(212,3,0, { tex_index = 182 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = baseDur , hurtbox = pat:get_frame(9,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(212,3,1, { tex_index = 503 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = baseDur , hurtbox = pat:get_frame(9,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) -- 2DD pat:update_frame(220,0,0, { tex_index = 186 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(6,0,0).hurtbox , collision = pat:get_frame(6,0,0).collision }) pat:update_frame(220,0,1, { tex_index = 351 , 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(220,0,2, { tex_index = 351 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(6,0,2).hurtbox , collision = pat:get_frame(6,0,2).collision }) pat:update_frame(220,1,0, { tex_index = 177 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+8 , 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 = 177 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+8 , duration = 8 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(220,2,0, { tex_index = 178 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-4 , duration = 6 , hurtbox = pat:get_frame(6,2,0).hurtbox , collision = pat:get_frame(6,2,0).collision , fflags = 0x00000404 }) pat:update_frame(220,2,1, { tex_index = 184 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-10 , duration = 6 , hurtbox = pat:get_frame(6,2,1).hurtbox , collision = pat:get_frame(6,2,1).collision }) pat:update_frame(220,2,2, { tex_index = 502 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-10 , duration = 6 , hurtbox = pat:get_frame(6,2,2).hurtbox , collision = pat:get_frame(6,2,2).collision }) pat:update_frame(220,2,3, { tex_index = 179 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-10 , duration = 6 , hurtbox = pat:get_frame(6,2,3).hurtbox , collision = pat:get_frame(6,2,3).collision }) pat:update_frame(220,2,4, { tex_index = 502 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-10 , duration = 6 , hurtbox = pat:get_frame(6,2,4).hurtbox , collision = pat:get_frame(6,2,4).collision }) pat:update_frame(220,2,5, { tex_index = 185 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 6 , hurtbox = pat:get_frame(6,2,5).hurtbox , collision = pat:get_frame(6,2,5).collision }) --pat:update_frame(6,2,5, { tex_index = 181 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+10 , duration = 5 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(220,3,0, { tex_index = 182 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = baseDur , hurtbox = pat:get_frame(9,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(220,3,1, { tex_index = 503 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = baseDur , hurtbox = pat:get_frame(9,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) -- 6DD pat:update_frame(223,0,0, { tex_index = 351 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(200,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(223,0,1, { tex_index = 128 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+44 , duration = 7 , hurtbox = pat:get_frame(200,0,1).hurtbox , collision = pat:get_frame(200,0,1).collision }) pat:update_frame(223,1,0, { tex_index = 124 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-24 , tex_offset_y = baseY , duration = 5 , hurtbox = pat:get_frame(200,1,0).hurtbox , collision = pat:get_frame(200,1,0).collision }) pat:update_frame(223,1,1, { tex_index = 125 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-24 , tex_offset_y = baseY , duration = 5 , hurtbox = pat:get_frame(200,1,0).hurtbox , collision = pat:get_frame(200,1,0).collision }) -- 4DD pat:update_frame(224,0,0, { tex_index = 351 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 8 , hurtbox = pat:get_frame(201,0,0).hurtbox , collision = pat:get_frame(201,0,0).collision }) pat:update_frame(224,1,0, { tex_index = 126 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(201,1,0).hurtbox , collision = pat:get_frame(201,1,0).collision }) pat:update_frame(224,2,0, { tex_index = 188 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 , hurtbox = pat:get_frame(201,1,0).hurtbox , collision = pat:get_frame(201,1,0).collision }) pat:update_frame(224,2,1, { tex_index = 126 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 , hurtbox = pat:get_frame(201,1,0).hurtbox , collision = pat:get_frame(201,1,0).collision }) pat:update_frame(224,3,0, { tex_index = 188 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 , hurtbox = pat:get_frame(201,1,0).hurtbox , collision = pat:get_frame(201,1,0).collision }) pat:update_frame(224,3,1, { tex_index = 126 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 , hurtbox = pat:get_frame(201,1,0).hurtbox , collision = pat:get_frame(201,1,0).collision }) pat:update_frame(224,4,0, { tex_index = 351 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 8 , hurtbox = pat:get_frame(201,0,0).hurtbox , collision = pat:get_frame(201,0,0).collision }) pat:update_frame(224,4,1, { tex_index = 186 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(204,0,4).hurtbox , collision = pat:get_frame(204,0,4).collision }) -- j4DD pat:update_frame(225,0,0, { tex_index = 351 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+20 , duration = 6 , hurtbox = pat:get_frame(9,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(225,0,1, { tex_index = 126 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(203,0,1).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(225,0,2, { tex_index = 188 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(203,0,1).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(225,0,3, { tex_index = 126 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(203,0,1).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(225,0,4, { tex_index = 188 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(203,0,1).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(225,0,5, { tex_index = 126 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(203,0,1).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(225,0,6, { tex_index = 188 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(203,0,1).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(225,0,7, { tex_index = 126 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(203,0,1).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(225,0,8, { tex_index = 188 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(203,0,1).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(225,0,9, { tex_index = 177 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+8 , duration = 4 , hurtbox = pat:get_frame(9,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) -- j6DD pat:update_frame(226,0,0, { tex_index = 177 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+8 , duration = 3 , hurtbox = pat:get_frame(202,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(226,0,1, { tex_index = 128 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+78 , duration = 3 , hurtbox = pat:get_frame(202,0,1).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(226,1,0, { tex_index = 125 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-12 , tex_offset_y = baseY+10 , duration = 3 , hurtbox = pat:get_frame(202,1,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(226,2,0, { tex_index = 124 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-12 , tex_offset_y = baseY+14 , duration = 4 , hurtbox = pat:get_frame(202,1,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(226,2,1, { tex_index = 125 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-12 , tex_offset_y = baseY+14 , duration = 4 , hurtbox = pat:get_frame(202,1,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(226,2,2, { tex_index = 124 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-12 , tex_offset_y = baseY+14 , duration = 4 , hurtbox = pat:get_frame(202,1,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(226,2,3, { tex_index = 125 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-12 , tex_offset_y = baseY+14 , duration = 3 , hurtbox = pat:get_frame(202,1,0).hurtbox , collision = pat:get_frame(9,0,0).collision , fflags = 0x00000434}) pat:update_frame(226,2,4, { tex_index = 124 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-12 , tex_offset_y = baseY+14 , duration = 1 , hurtbox = pat:get_frame(202,1,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(226,2,5, { tex_index = 124 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-12 , tex_offset_y = baseY+14 , duration = 2 , hurtbox = pat:get_frame(202,1,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(226,2,6, { tex_index = 177 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+8 , duration = 3 , hurtbox = pat:get_frame(9,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) --pat:remove_frame(226,2,4) -- hardlanding pat:update_frame(215,0,0, { tex_index = 351 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 8 , hurtbox = pat:get_frame(10,0,0).hurtbox , collision = pat:get_frame(10,0,0).collision }) pat:update_frame(215,0,1, { tex_index = 351 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(10,0,1).hurtbox , collision = pat:get_frame(10,0,1).collision }) pat:update_frame(215,0,2, { tex_index = 186 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(10,0,2).hurtbox , collision = pat:get_frame(10,0,2).collision }) -- flight pat:remove_frame(214,0,2) --pat:update_frame(214,0,0, { tex_index = 177 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+8 , duration = 3 , hurtbox = pat:get_frame(9,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(214,0,0, { tex_index = 178 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-4 , duration = 3 , hurtbox = pat:get_frame(9,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(214,0,1, { tex_index = 184 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-10 , duration = 3 , hurtbox = pat:get_frame(9,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) -- forward pat:update_frame(214,1,0, { tex_index = 187 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX/2 , tex_offset_y = (baseY-4)/2 , duration = 5 , hurtbox = pat:get_frame(9,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(214,1,1, { tex_index = 124 , tex_w = baseW , tex_h = baseH , tex_offset_x = (baseX-12)/2 , tex_offset_y = (baseY+14)/2 , duration = 3 , hurtbox = pat:get_frame(202,1,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(214,1,2, { tex_index = 125 , tex_w = baseW , tex_h = baseH , tex_offset_x = (baseX-12)/2 , tex_offset_y = (baseY+14)/2 , duration = 3 , hurtbox = pat:get_frame(202,1,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(214,2,0, { tex_index = 124 , tex_w = baseW , tex_h = baseH , tex_offset_x = (baseX-12)/2 , tex_offset_y = (baseY+14)/2 , duration = 5 , hurtbox = pat:get_frame(202,1,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(214,2,1, { tex_index = 125 , tex_w = baseW , tex_h = baseH , tex_offset_x = (baseX-12)/2 , tex_offset_y = (baseY+14)/2 , duration = 5 , hurtbox = pat:get_frame(202,1,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(214,3,0, { tex_index = 187 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX/2 , tex_offset_y = (baseY-4)/2 , duration = 4 , hurtbox = pat:get_frame(9,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) --pat:update_frame(214,3,1, { tex_index = 185 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX/2 , tex_offset_y = (baseY)/2 , duration = 3 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) --pat:update_frame(214,3,2, { tex_index = 185 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX/2 , tex_offset_y = (baseY)/2 , duration = 3 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(214,3,1, { tex_index = 182 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX/2 , tex_offset_y = (baseY)/2 , duration = 3 , hurtbox = pat:get_frame(9,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(214,3,2, { tex_index = 503 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX/2 , tex_offset_y = (baseY)/2 , duration = 3 , hurtbox = pat:get_frame(9,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(214,9,0, { tex_index = 187 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX/2 , tex_offset_y = (baseY-4)/2 , duration = 4 , hurtbox = pat:get_frame(9,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(214,9,1, { tex_index = 185 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX/2 , tex_offset_y = (baseY)/2 , duration = 3 , hurtbox = pat:get_frame(9,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(214,9,2, { tex_index = 185 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX/2 , tex_offset_y = (baseY)/2 , duration = 3 , hurtbox = pat:get_frame(9,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) -- backward pat:update_frame(214,6,0, { tex_index = 187 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX/2 , tex_offset_y = (baseY-4)/2 , duration = 5 , hurtbox = pat:get_frame(9,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(214,6,1, { tex_index = 124 , tex_w = baseW , tex_h = baseH , tex_offset_x = (baseX-12)/2 , tex_offset_y = (baseY+14)/2 , duration = 3 , hurtbox = pat:get_frame(202,1,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(214,6,1,function(frame) for idx = 1 , 3 do local temp = frame.hurtbox[idx].x1 * -1 frame.hurtbox[idx].x1 = frame.hurtbox[idx].x2 * -1 frame.hurtbox[idx].x2 = temp end end) pat:update_frame(214,6,2, { tex_index = 125 , tex_w = baseW , tex_h = baseH , tex_offset_x = (baseX-12)/2 , tex_offset_y = (baseY+14)/2 , duration = 3 , hurtbox = pat:get_frame(214,6,1).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(214,7,0, { tex_index = 124 , tex_w = baseW , tex_h = baseH , tex_offset_x = (baseX-12)/2 , tex_offset_y = (baseY+14)/2 , duration = 5 , hurtbox = pat:get_frame(214,6,1).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(214,7,1, { tex_index = 125 , tex_w = baseW , tex_h = baseH , tex_offset_x = (baseX-12)/2 , tex_offset_y = (baseY+14)/2 , duration = 5 , hurtbox = pat:get_frame(214,6,1).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(214,8,0, { tex_index = 187 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX/2 , tex_offset_y = (baseY-4)/2 , duration = 4 , hurtbox = pat:get_frame(9,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) --pat:update_frame(214,8,1, { tex_index = 185 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX/2 , tex_offset_y = (baseY)/2 , duration = 3 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) --pat:update_frame(214,8,2, { tex_index = 185 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX/2 , tex_offset_y = (baseY)/2 , duration = 3 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(214,8,1, { tex_index = 182 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX/2 , tex_offset_y = (baseY)/2 , duration = 3 , hurtbox = pat:get_frame(9,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(214,8,2, { tex_index = 503 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX/2 , tex_offset_y = (baseY)/2 , duration = 3 , hurtbox = pat:get_frame(9,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(214,11,0, { tex_index = 187 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX/2 , tex_offset_y = (baseY-4)/2 , duration = 4 , hurtbox = pat:get_frame(9,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(214,11,1, { tex_index = 185 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX/2 , tex_offset_y = (baseY)/2 , duration = 3 , hurtbox = pat:get_frame(9,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(214,11,2, { tex_index = 185 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX/2 , tex_offset_y = (baseY)/2 , duration = 3 , hurtbox = pat:get_frame(9,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) -- upward for idx = 2 , 6 do pat:remove_frame(214,4,2) end pat:update_frame(214,4,0, { tex_index = 182 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 , hurtbox = pat:get_frame(9,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(214,4,1, { tex_index = 503 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 , hurtbox = pat:get_frame(9,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(214,5,0, { tex_index = 182 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 , hurtbox = pat:get_frame(9,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(214,5,1, { tex_index = 503 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 , hurtbox = pat:get_frame(9,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(214,10,0, { tex_index = 178 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-4 , duration = 5 , hurtbox = pat:get_frame(9,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(214,10,1, { tex_index = 184 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-10 , duration = 5 , hurtbox = pat:get_frame(9,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(214,10,2, { tex_index = 502 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-10 , duration = 5 , hurtbox = pat:get_frame(9,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(214,10,3, { tex_index = 179 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-10 , duration = 5 , hurtbox = pat:get_frame(9,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(214,10,4, { tex_index = 502 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-10 , duration = 5 , hurtbox = pat:get_frame(9,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(214,10,5, { tex_index = 185 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 , hurtbox = pat:get_frame(9,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) -- 40 ~ 49 ??? -- 50 - 89 hit -- 96 - 99 down -- 100 - 114 cinematics -- 140 - 149 ??? -- 150 - 166 blockstuns -- 180 airtech -- 197 - 199 wake ups --hitupper pat:update_frame(50,0,0, { tex_index = 173 , tex_w = baseW , tex_h = baseH , tex_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 }) --hup0 pat:update_frame(50,0,0,function(frame) frame.hurtbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[3] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[1].x1 = frame.hurtbox[1].x1 - 80 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 - 40 frame.hurtbox[1].y1 = frame.hurtbox[1].y1 + 20 frame.hurtbox[1].y2 = frame.hurtbox[1].y1 + 60 frame.hurtbox[2].x1 = frame.hurtbox[2].x1 - 50 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 - 20 frame.hurtbox[2].y1 = frame.hurtbox[2].y1 + 40 frame.hurtbox[2].y2 = frame.hurtbox[2].y1 + 60 frame.hurtbox[3].x1 = frame.hurtbox[3].x1 - 15 frame.hurtbox[3].y1 = frame.hurtbox[3].y1 + 60 end) pat:update_frame(50,0,1, { tex_index = 174 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(50,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) --hup1 pat:update_frame(50,0,1,function(frame) frame.hurtbox[1].y1 = frame.hurtbox[1].y1 - 5 frame.hurtbox[1].x1 = frame.hurtbox[1].x1 + 5 end) pat:update_frame(50,0,2, { tex_index = 175 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(50,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) --hup2 pat:update_frame(50,0,2,function(frame) frame.hurtbox[1].x1 = frame.hurtbox[1].x1 + 40 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 + 20 frame.hurtbox[2].x1 = frame.hurtbox[2].x1 + 30 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 + 15 frame.hurtbox[1].y1 = frame.hurtbox[1].y1 - 20 frame.hurtbox[2].y1 = frame.hurtbox[2].y1 - 20 end) pat:update_frame(51,0,0, { tex_index = 173 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(50,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 10 }) --hup0 pat:update_frame(51,0,1, { tex_index = 174 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(50,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) --hup1 pat:update_frame(51,0,2, { tex_index = 175 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(50,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) --hup2 pat:update_frame(52,0,0, { tex_index = 173 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(50,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 13 }) --hup0 pat:update_frame(52,0,1, { tex_index = 174 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(50,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 6 }) --hup1 pat:update_frame(52,0,2, { tex_index = 175 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(50,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 6 }) --hup2 -- 53 hitspin pat:update_frame(53,0,0, { tex_index = 175 , tex_w = baseW , tex_h = baseH , tex_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 }) --hup2 pat:update_frame(53,1,0, { tex_index = 161 , tex_w = baseW , tex_h = baseH , tex_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 }) --hsp0 pat:update_frame(53,1,1, { tex_index = 162 , tex_w = baseW , tex_h = baseH , tex_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 }) --hsp1 pat:update_frame(53,1,2, { tex_index = 163 , tex_w = baseW , tex_h = baseH , tex_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 }) --hsp2 pat:update_frame(53,1,3, { tex_index = 164 , tex_w = baseW , tex_h = baseH , tex_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 }) --hsp3 pat:update_frame(53,1,4, { tex_index = 165 , tex_w = baseW , tex_h = baseH , tex_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 }) --hsp4 pat:update_frame(53,1,5, { tex_index = 166 , tex_w = baseW , tex_h = baseH , tex_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 }) --hsp5 pat:update_frame(53,2,0, { tex_index = 161 , tex_w = baseW , tex_h = baseH , tex_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 }) --hsp0 pat:update_frame(53,2,1, { tex_index = 162 , tex_w = baseW , tex_h = baseH , tex_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 }) --hsp1 pat:update_frame(53,2,2, { tex_index = 163 , tex_w = baseW , tex_h = baseH , tex_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 }) --hsp2 pat:update_frame(53,2,3, { tex_index = 164 , tex_w = baseW , tex_h = baseH , tex_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 }) --hsp3 pat:update_frame(53,2,4, { tex_index = 165 , tex_w = baseW , tex_h = baseH , tex_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 }) --hsp4 pat:update_frame(53,2,5, { tex_index = 166 , tex_w = baseW , tex_h = baseH , tex_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 }) --hsp5 --pat:update_frame(53,3,0, { tex_index = 173 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 13 }) --hup0 pat:update_frame(53,3,0, { tex_index = 174 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) --hup1 pat:update_frame(53,3,1, { tex_index = 175 , tex_w = baseW , tex_h = baseH , tex_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 }) --hup2 --hitunder pat:update_frame(56,0,0, { tex_index = 170 , tex_w = baseW , tex_h = baseH , tex_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 }) --hud0 pat:update_frame(56,0,0,function(frame) frame.hurtbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[1].x1 = frame.hurtbox[1].x1 - 30 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 - 10 frame.hurtbox[1].y1 = frame.hurtbox[1].y1 + 40 frame.hurtbox[1].y2 = frame.hurtbox[1].y2 - 40 frame.hurtbox[2].y1 = frame.hurtbox[1].y1 + 80 end) pat:update_frame(56,0,1, { tex_index = 171 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(56,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) --hud1 pat:update_frame(56,0,1,function(frame) frame.hurtbox[1].y1 = frame.hurtbox[1].y1 - 5 end) pat:update_frame(56,0,2, { tex_index = 172 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+12 , tex_offset_y = baseY , collision = pat:get_frame(0,0,0).collision , duration = 3 }) --hud2 pat:update_frame(56,0,2,function(frame) frame.hurtbox[1].x1 = frame.hurtbox[1].x1 - 5 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 - 5 frame.hurtbox[1].y1 = frame.hurtbox[1].y1 + 25 frame.hurtbox[1].y2 = frame.hurtbox[1].y2 + 25 frame.hurtbox[2].x1 = frame.hurtbox[2].x1 - 5 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 - 5 frame.hurtbox[2].y1 = frame.hurtbox[2].y1 - 40 end) pat:update_frame(57,0,0, { tex_index = 170 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(56,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 10 }) --hud0 pat:update_frame(57,0,1, { tex_index = 171 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(56,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) --hud1 pat:update_frame(57,0,2, { tex_index = 172 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+12 , tex_offset_y = baseY , hurtbox = pat:get_frame(56,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) --hud2 pat:update_frame(58,0,0, { tex_index = 170 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(56,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 13 }) --hud0 pat:update_frame(58,0,1, { tex_index = 171 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(56,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 6 }) --hud1 pat:update_frame(58,0,2, { tex_index = 172 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+12 , tex_offset_y = baseY , hurtbox = pat:get_frame(56,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 6 }) --hud2 --hitsit pat:update_frame(62,0,0, { tex_index = 158 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(2,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 5 }) --hs0 pat:update_frame(62,0,0,function(frame) frame.hurtbox[1].y1 = frame.hurtbox[1].y1 + 10 frame.hurtbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[2].y1 = frame.hurtbox[1].y1 + 50 frame.hurtbox[2].x1 = frame.hurtbox[1].x1 - 20 frame.hurtbox[2].x2 = frame.hurtbox[1].x2 + 20 end) pat:update_frame(62,0,1, { tex_index = 159 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(62,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 3 }) --hs1 pat:update_frame(62,0,2, { tex_index = 160 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(62,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 3 }) --hs2 pat:update_frame(63,0,0, { tex_index = 158 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(62,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 10 }) --hs0 pat:update_frame(63,0,1, { tex_index = 159 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(62,0,1).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 4 }) --hs1 pat:update_frame(63,0,2, { tex_index = 160 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(62,0,2).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 4 }) --hs2 pat:update_frame(64,0,0, { tex_index = 158 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(62,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 13 }) --hs0 pat:update_frame(64,0,1, { tex_index = 159 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(62,0,1).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 6 }) --hs1 pat:update_frame(64,0,2, { tex_index = 160 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(62,0,2).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 6 }) --hs2 --hitair light pat:update_frame(70,0,0, { tex_index = 170 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+20 , hurtbox = pat:get_frame(56,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 5 }) --hud0 pat:update_frame(70,0,0,function(frame) frame.hurtbox[1].y1 = frame.hurtbox[1].y1 - 20 frame.hurtbox[1].y2 = frame.hurtbox[1].y2 - 20 frame.hurtbox[2].y1 = frame.hurtbox[2].y1 - 20 frame.hurtbox[2].y2 = frame.hurtbox[2].y2 - 30 end) pat:update_frame(70,0,1, { tex_index = 171 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+18 , hurtbox = pat:get_frame(56,0,1).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 3 }) --hud1 pat:update_frame(70,0,1,function(frame) frame.hurtbox[1].y1 = frame.hurtbox[1].y1 - 20 frame.hurtbox[1].y2 = frame.hurtbox[1].y2 - 20 frame.hurtbox[2].y1 = frame.hurtbox[2].y1 - 20 frame.hurtbox[2].y2 = frame.hurtbox[2].y2 - 30 end) pat:update_frame(70,0,2, { tex_index = 172 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+12 , tex_offset_y = baseY+4 , hurtbox = pat:get_frame(56,0,2).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 3 }) --hud2 pat:update_frame(70,0,2,function(frame) frame.hurtbox[2].y1 = frame.hurtbox[2].y1 - 10 frame.hurtbox[2].y2 = frame.hurtbox[2].y2 - 20 end) pat:update_frame(70,1,0, { tex_index = 178 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-4 , duration = 5 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(70,1,1, { tex_index = 184 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-10 , duration = 5 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(70,1,2, { tex_index = 502 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-10 , duration = 5 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(70,1,3, { tex_index = 179 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-10 , duration = 5 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(70,1,4, { tex_index = 502 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-10 , duration = 5 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(70,1,5, { tex_index = 185 , 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(70,2,0, { tex_index = 182 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 6 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(70,2,1, { tex_index = 503 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 6 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) --hitair pat:update_frame(71,0,0, { tex_index = 150 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , collision = pat:get_frame(9,0,0).collision , duration = 3 }) --0 pat:update_frame(71,0,0,function(frame) frame.hurtbox[1].y1 = frame.hurtbox[1].y1 + 10 frame.hurtbox[1].y2 = frame.hurtbox[1].y2 + 10 end) pat:update_frame(71,1,0, { tex_index = 151 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , collision = pat:get_frame(9,0,0).collision , duration = 10 }) --1 pat:update_frame(71,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].y1 = frame.hurtbox[1].y1 + 25 frame.hurtbox[1].y2 = frame.hurtbox[1].y2 + 25 end) pat:update_frame(71,2,0, { tex_index = 152 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-8 , collision = pat:get_frame(9,0,0).collision , duration = 4 }) --2 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 - 10 frame.hurtbox[1].y2 = frame.hurtbox[1].y2 - 10 frame.hurtbox[2].y1 = frame.hurtbox[2].y1 + 5 frame.hurtbox[2].y2 = frame.hurtbox[2].y2 + 10 end) pat:update_frame(71,2,1, { tex_index = 153 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-16 , collision = pat:get_frame(9,0,0).collision , duration = 4 }) --3 pat:update_frame(71,2,1,function(frame) frame.hurtbox[1].x1 = frame.hurtbox[1].x1 - 10 frame.hurtbox[1].y2 = frame.hurtbox[1].y2 + 10 frame.hurtbox[2].y2 = frame.hurtbox[1].y2 - 10 end) pat:update_frame(71,2,2, { tex_index = 154 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-6 , tex_offset_y = baseY-28 , collision = pat:get_frame(9,0,0).collision , duration = 4 }) --4 pat:update_frame(71,2,2,function(frame) frame.hurtbox[1].x1 = frame.hurtbox[1].x1 - 20 frame.hurtbox[1].y1 = frame.hurtbox[1].y1 - 15 frame.hurtbox[2].y2 = frame.hurtbox[2].y2 + 10 frame.hurtbox[1].y2 = frame.hurtbox[1].y2 - 5 end) pat:update_frame(71,2,3, { tex_index = 155 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-20 , collision = pat:get_frame(9,0,0).collision , duration = 4 }) --5 pat:update_frame(71,2,3,function(frame) frame.hurtbox[1].y2 = frame.hurtbox[1].y2 - 10 end) pat:update_frame(71,3,0, { tex_index = 156 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , collision = pat:get_frame(9,0,0).collision , duration = 5 }) --6 pat:update_frame(71,3,0,function(frame) frame.hurtbox[2].y1 = frame.hurtbox[2].y1 + 10 end) pat:update_frame(71,3,1, { tex_index = 157 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(71,3,0).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 5 }) --7 pat:update_frame(73,0,0, { tex_index = 150 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(71,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 3 }) --0 pat:update_frame(73,1,0, { tex_index = 153 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-16 , hurtbox = pat:get_frame(71,2,1).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 4 }) --3 pat:update_frame(73,2,0, { tex_index = 155 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-20 , hurtbox = pat:get_frame(71,2,3).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 4 }) --5 pat:update_frame(73,3,0, { tex_index = 156 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(71,3,0).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 4 }) --6 pat:update_frame(73,3,1, { tex_index = 157 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(71,3,1).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 4 }) --7 pat:update_frame(76,0,0, { tex_index = 150 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(71,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 3 }) --0 pat:update_frame(76,1,0, { tex_index = 151 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(71,1,0).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 2 }) --1 pat:update_frame(76,1,1, { tex_index = 152 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-8 , hurtbox = pat:get_frame(71,2,0).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 2 }) --2 pat:update_frame(76,1,2, { tex_index = 153 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-16 , hurtbox = pat:get_frame(71,2,1).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 2 }) --3 pat:update_frame(76,1,3, { tex_index = 154 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-6 , tex_offset_y = baseY-28 , hurtbox = pat:get_frame(71,2,2).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 2 }) --4 pat:update_frame(76,1,4, { tex_index = 155 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-20 , hurtbox = pat:get_frame(71,2,3).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 2 }) --5 pat:update_frame(76,2,0, { tex_index = 156 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(71,3,0).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 5 }) --6 pat:update_frame(76,2,1, { tex_index = 157 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(71,3,1).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 5 }) --7 pat:update_frame(77,0,0, { tex_index = 150 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(71,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 3 }) --0 pat:update_frame(77,0,1, { tex_index = 151 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(71,1,0).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 2 }) --1 pat:update_frame(77,0,2, { tex_index = 152 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-8 , hurtbox = pat:get_frame(71,2,0).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 2 }) --2 pat:update_frame(77,0,3, { tex_index = 153 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-16 , hurtbox = pat:get_frame(71,2,1).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 2 }) --3 pat:update_frame(77,0,4, { tex_index = 154 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-6 , tex_offset_y = baseY-28 , hurtbox = pat:get_frame(71,2,2).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 2 }) --4 pat:update_frame(77,0,5, { tex_index = 155 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-20 , hurtbox = pat:get_frame(71,2,3).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 2 }) --5 pat:update_frame(77,1,0, { tex_index = 156 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(71,3,0).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 5 }) --6 pat:update_frame(77,1,1, { tex_index = 157 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(71,3,1).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 5 }) --7 pat:update_frame(78,0,0, { tex_index = 150 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(71,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 3 }) --0 pat:update_frame(78,1,0, { tex_index = 151 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(71,1,0).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 4 }) --1 pat:update_frame(78,2,0, { tex_index = 152 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-8 , hurtbox = pat:get_frame(71,2,0).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 4 }) --2 pat:update_frame(78,2,1, { tex_index = 153 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-16 , hurtbox = pat:get_frame(71,2,1).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 4 }) --3 pat:update_frame(78,2,2, { tex_index = 154 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-6 , tex_offset_y = baseY-28 , hurtbox = pat:get_frame(71,2,2).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 4 }) --4 pat:update_frame(78,2,3, { tex_index = 155 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-20 , hurtbox = pat:get_frame(71,2,3).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 4 }) --5 pat:update_frame(78,3,0, { tex_index = 156 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(71,3,0).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 5 }) --6 pat:update_frame(78,3,1, { tex_index = 157 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(71,3,1).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 5 }) --7 --probably irrelevant? pat:update_frame(83,0,0, { tex_index = 150 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(71,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 4 }) --0 for idx = 1 , 12 do pat:update_frame(83,0,idx, { tex_index = 173 , tex_w = baseW , tex_h = baseH , tex_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 }) --hup0 end pat:update_frame(83,1,0, { tex_index = 151 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(71,1,0).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 10 }) --1 pat:update_frame(83,1,1, { tex_index = 152 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-8 , hurtbox = pat:get_frame(71,2,0).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 4 }) --2 pat:update_frame(83,1,2, { tex_index = 153 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-16 , hurtbox = pat:get_frame(71,2,1).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 4 }) --3 pat:update_frame(83,1,3, { tex_index = 154 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-6 , tex_offset_y = baseY-28 , hurtbox = pat:get_frame(71,2,2).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 4 }) --4 pat:update_frame(83,1,4, { tex_index = 155 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-20 , hurtbox = pat:get_frame(71,2,3).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 4 }) --5 pat:update_frame(83,2,0, { tex_index = 156 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(71,3,0).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 5 }) --6 pat:update_frame(83,2,1, { tex_index = 157 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(71,3,1).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 5 }) --7 pat:update_frame(84,0,0, { tex_index = 172 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+8 , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 20 }) --hud2 pat:update_frame(84,1,0, { tex_index = 173 , tex_w = baseW , tex_h = baseH , tex_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 }) --hup0 pat:update_frame(84,1,1, { tex_index = 174 , tex_w = baseW , tex_h = baseH , tex_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 }) --hup1 pat:update_frame(84,1,2, { tex_index = 175 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) --hup2 pat:update_frame(85,0,0, { tex_index = 172 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+8 , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 20 }) --hud2 pat:update_frame(85,1,0, { tex_index = 173 , tex_w = baseW , tex_h = baseH , tex_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 }) --hup0 pat:update_frame(85,1,1, { tex_index = 174 , tex_w = baseW , tex_h = baseH , tex_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 }) --hup1 pat:update_frame(85,1,2, { tex_index = 175 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) --hup2 pat:update_frame(86,0,0, { tex_index = 151 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(71,1,0).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 10 }) --1 pat:update_frame(87,0,0, { tex_index = 151 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(71,1,0).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 10 }) --1 --down pat:update_frame(89,0,0, { tex_index = 131 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 }) --d0 pat:update_frame(89,0,1, { tex_index = 132 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 }) --d1 pat:update_frame(89,0,2, { tex_index = 133 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 }) --d2 pat:update_frame(89,1,0, { tex_index = 151 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(71,1,0).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 2 }) --1 pat:update_frame(89,1,1, { tex_index = 152 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-8 , hurtbox = pat:get_frame(71,2,0).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 2 }) --2 pat:update_frame(89,1,2, { tex_index = 153 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-16 , hurtbox = pat:get_frame(71,2,1).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 2 }) --3 pat:update_frame(89,1,3, { tex_index = 154 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-6 , tex_offset_y = baseY-28 , hurtbox = pat:get_frame(71,2,2).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 2 }) --4 pat:update_frame(89,1,4, { tex_index = 155 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-20 , hurtbox = pat:get_frame(71,2,3).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 2 }) --5 pat:update_frame(89,2,0, { tex_index = 156 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(71,3,0).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 5 }) --6 pat:update_frame(89,2,1, { tex_index = 157 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(71,3,1).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 5 }) --7 --96 --down (true) pat:update_frame(97,0,0, { tex_index = 131 , 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 = 132 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 }) --d1 pat:update_frame(97,1,0, { tex_index = 133 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 }) --d2 pat:update_frame(97,1,1, { tex_index = 134 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 }) --d3 pat:update_frame(97,2,0, { tex_index = 135 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 20 }) --d4 pat:update_frame(97,3,0, { tex_index = 135 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 }) --d5 pat:update_frame(97,3,1, { tex_index = 136 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 }) --d6 pat:update_frame(97,3,2, { tex_index = 137 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 }) --d7 pat:update_frame(97,3,3, { tex_index = 138 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 6 }) --d8 pat:update_frame(98,0,0, { tex_index = 138 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY }) --d8 pat:update_frame(99,0,0, { tex_index = 138 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY }) --d8 pat:update_frame(99,1,0, { tex_index = 138 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY }) --d8 pat:update_frame(99,2,0, { tex_index = 138 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY }) --d8 pat:update_frame(99,3,0, { tex_index = 138 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY }) --d8 --cinematics pat:update_frame(100,0,0, { tex_index = 175 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY }) --hup2 pat:update_frame(101,0,0, { tex_index = 175 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-9 , tex_offset_y = baseY-70 }) --hup2 pat:update_frame(102,0,0, { tex_index = 172 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+8 , tex_offset_y = baseY }) --hud2 pat:update_frame(103,0,0, { tex_index = 172 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-70 }) --hud2 pat:update_frame(104,0,0, { tex_index = 159 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY }) --hs1 pat:update_frame(105,0,0, { tex_index = 159 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , tex_offset_y = baseY-35 }) --hs1 pat:update_frame(106,0,0, { tex_index = 151 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY }) --1 pat:update_frame(107,0,0, { tex_index = 151 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-12 , tex_offset_y = baseY-70 }) --1 pat:update_frame(108,0,0, { tex_index = 153 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-16 , tex_offset_y = baseY }) --3 pat:update_frame(109,0,0, { tex_index = 153 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-12-16 , tex_offset_y = baseY-50 }) --3 pat:update_frame(110,0,0, { tex_index = 157 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY }) --7 pat:update_frame(111,0,0, { tex_index = 157 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+1 , tex_offset_y = baseY-30 }) --7 pat:update_frame(112,0,0, { tex_index = 131 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY }) --d0 pat:update_frame(112,0,1, { tex_index = 132 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY }) --d1 pat:update_frame(112,1,0, { tex_index = 133 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY }) --d2 pat:update_frame(112,1,1, { tex_index = 134 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY }) --d3 pat:update_frame(112,2,0, { tex_index = 135 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY }) --d4 pat:update_frame(112,3,0, { tex_index = 135 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY }) --d5 pat:update_frame(112,3,1, { tex_index = 136 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY }) --d6 pat:update_frame(112,3,2, { tex_index = 137 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY }) --d7 pat:update_frame(112,3,3, { tex_index = 138 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY }) --d8 pat:update_frame(112,4,0, { tex_index = 138 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY }) --d8 pat:update_frame(113,0,0, { tex_index = 135 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY }) --d4 pat:update_frame(113,1,0, { tex_index = 135 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY }) --d5 pat:update_frame(113,1,1, { tex_index = 136 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY }) --d6 pat:update_frame(113,1,2, { tex_index = 137 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY }) --d7 pat:update_frame(113,1,3, { tex_index = 138 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY }) --d8 pat:update_frame(113,2,0, { tex_index = 138 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY }) --d8 pat:update_frame(114,0,0, { tex_index = 138 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY }) --d8 --140 crash pat:update_frame(140,0,0, { tex_index = 174 , tex_w = baseW , tex_h = baseH , tex_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 }) --hup1 for idx = 1 , 6 do pat:update_frame(140,0,idx, { tex_index = 173 , tex_w = baseW , tex_h = baseH , tex_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 }) --hup0 end pat:update_frame(140,0,7, { tex_index = 174 , tex_w = baseW , tex_h = baseH , tex_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 }) --hup1 --142 pat:update_frame(142,0,0, { hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) --143 crash pat:update_frame(143,0,0, { tex_index = 174 , tex_w = baseW , tex_h = baseH , tex_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 }) --hup1 for idx = 0 , 1 do pat:update_frame(143,1,idx, { tex_index = 173 , tex_w = baseW , tex_h = baseH , tex_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 }) --hup0 end pat:update_frame(143,2,0, { tex_index = 174 , tex_w = baseW , tex_h = baseH , tex_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 }) --hup1 pat:update_frame(145,0,0, { tex_index = 150 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(71,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 3 }) --0 pat:update_frame(145,1,0, { tex_index = 151 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(71,1,0).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 10 }) --1 pat:update_frame(145,2,0, { tex_index = 152 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-8 , hurtbox = pat:get_frame(71,2,0).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 4 }) --2 pat:update_frame(145,2,1, { tex_index = 153 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-16 , hurtbox = pat:get_frame(71,2,1).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 4 }) --3 pat:update_frame(145,2,2, { tex_index = 154 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-6 , tex_offset_y = baseY-28 , hurtbox = pat:get_frame(71,2,2).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 4 }) --4 pat:update_frame(145,2,3, { tex_index = 155 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-20 , hurtbox = pat:get_frame(71,2,3).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 4 }) --5 pat:update_frame(145,3,0, { tex_index = 156 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(71,3,0).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 5 }) --6 pat:update_frame(145,3,1, { tex_index = 157 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(71,3,1).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 5 }) --7 --guards --guardupper pat:update_frame(150,0,0, { tex_index = 148 , tex_w = baseW , tex_h = baseH , tex_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 }) --gu0 pat:update_frame(150,0,1, { tex_index = 148 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 9 }) --gu1 pat:update_frame(151,0,0, { tex_index = 148 , tex_w = baseW , tex_h = baseH , tex_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 }) --gu0 pat:update_frame(151,0,1, { tex_index = 148 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 15 }) --gu1 pat:update_frame(152,0,0, { tex_index = 148 , tex_w = baseW , tex_h = baseH , tex_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 }) --gu0 pat:update_frame(152,0,1, { tex_index = 148 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 21 }) --gu1 pat:update_frame(153,0,0, { tex_index = 148 , tex_w = baseW , tex_h = baseH , tex_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 }) --gu0 pat:update_frame(153,0,1, { tex_index = 148 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 27 }) --gu1 --guardunder pat:update_frame(154,0,0, { tex_index = 146 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(2,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 1 }) --gud0 pat:update_frame(154,0,1, { tex_index = 146 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(2,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 9 }) --gud1 pat:update_frame(155,0,0, { tex_index = 146 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(2,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 1 }) --gud0 pat:update_frame(155,0,1, { tex_index = 146 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(2,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 15 }) --gud1 pat:update_frame(156,0,0, { tex_index = 146 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(2,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 1 }) --gud0 pat:update_frame(156,0,1, { tex_index = 146 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(2,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 21 }) --gud1 pat:update_frame(157,0,0, { tex_index = 146 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(2,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 1 }) --gud0 pat:update_frame(157,0,1, { tex_index = 146 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(2,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 27 }) --gud1 --guardair pat:update_frame(158,0,0, { tex_index = 148 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(9,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 2 }) --gu0 pat:update_frame(158,0,1, { tex_index = 148 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(9,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 18 }) --gu1 --guardbupper pat:update_frame(159,0,0, { tex_index = 144 , tex_w = baseW , tex_h = baseH , tex_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 }) --gbu0 pat:update_frame(159,0,1, { tex_index = 144 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 10 }) --gbu1 pat:update_frame(160,0,0, { tex_index = 144 , tex_w = baseW , tex_h = baseH , tex_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 }) --gbu0 pat:update_frame(160,0,1, { tex_index = 144 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 18 }) --gbu1 pat:update_frame(161,0,0, { tex_index = 144 , tex_w = baseW , tex_h = baseH , tex_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 }) --gbu0 pat:update_frame(161,0,1, { tex_index = 144 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 26 }) --gbu1 pat:update_frame(162,0,0, { tex_index = 144 , tex_w = baseW , tex_h = baseH , tex_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 }) --gbu0 pat:update_frame(162,0,1, { tex_index = 144 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 30 }) --gbu1 --guardbunder pat:update_frame(163,0,0, { tex_index = 142 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(2,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 2 }) --gbud0 pat:update_frame(163,0,1, { tex_index = 142 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(2,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 10 }) --gbud1 pat:update_frame(164,0,0, { tex_index = 142 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(2,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 2 }) --gbud0 pat:update_frame(164,0,1, { tex_index = 142 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(2,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 18 }) --gbud1 pat:update_frame(165,0,0, { tex_index = 142 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(2,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 2 }) --gbud0 pat:update_frame(165,0,1, { tex_index = 142 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(2,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 26 }) --gbud1 pat:update_frame(166,0,0, { tex_index = 142 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(2,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 2 }) --gbud0 pat:update_frame(166,0,1, { tex_index = 142 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(2,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 30 }) --gbud1 --airtech pat:update_frame(180,0,0, { tex_index = 177 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+8 , duration = 15 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(180,0,1, { tex_index = 178 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-4 , duration = 5 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(180,0,2, { tex_index = 184 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-10 , duration = 5 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(180,0,3, { tex_index = 502 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-10 , duration = 5 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(180,0,4, { tex_index = 179 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-10 , duration = 5 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(180,0,5, { tex_index = 502 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-10 , duration = 5 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(180,0,6, { tex_index = 185 , 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(180,1,0, { tex_index = 182 , 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(180,1,1, { tex_index = 503 , 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 }) --rolltech pat:update_frame(197,0,0, { tex_index = 504 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 }) --su0 pat:update_frame(197,0,1, { tex_index = 504 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 }) --su0 pat:update_frame(197,0,2, { tex_index = 505 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 }) --su1 pat:update_frame(197,0,3, { tex_index = 506 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 }) --su2 pat:update_frame(197,1,0, { tex_index = 126 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 }) pat:update_frame(197,1,1, { tex_index = 126 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 }) pat:update_frame(197,2,0, { tex_index = 188 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 }) pat:update_frame(197,2,1, { tex_index = 126 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 }) pat:update_frame(197,3,0, { tex_index = 351 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 6 , collision = pat:get_frame(201,4,0).collision }) pat:update_frame(197,3,1, { tex_index = 351 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , collision = pat:get_frame(201,4,0).collision }) pat:update_frame(197,3,2, { tex_index = 186 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , collision = pat:get_frame(201,4,1).collision }) pat:update_frame(197,3,3, { tex_index = 186 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 1 , collision = pat:get_frame(201,4,1).collision }) --notech pat:update_frame(199,0,0, { tex_index = 504 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 }) --su0 pat:update_frame(199,0,1, { tex_index = 505 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 }) --su1 pat:update_frame(199,0,2, { tex_index = 506 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 }) --su2 pat:update_frame(199,0,3, { tex_index = 352 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , collision = pat:get_frame(1,0,3).collision }) pat:update_frame(199,0,4, { tex_index = 353 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 1 , collision = pat:get_frame(1,0,3).collision }) end function mods.n5a(pat) local baseX = 79*2 +8 local baseY = 155*2 +4 local baseW = 185 local baseH = 205 pat:update_frame(300,0,0, { tex_index = 0 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-16 , 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(300,0,1, { tex_index = 1 , 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,2, { tex_index = 1 , 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 = 3 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-16 , 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,2, { tex_index = 3 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-16 , 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,2,function(frame) frame.hurtbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[2].x1 = frame.hurtbox[1].x2 - 30 frame.hurtbox[2].x2 = frame.hurtbox[1].x2 + 20 frame.hurtbox[2].y1 = frame.hurtbox[1].y1 + 40 frame.hurtbox[2].y2 = frame.hurtbox[1].y1 + 80 end) pat:update_frame(300,0,3, { tex_index = 2 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-16 , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(300,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) --hit pat:update_frame(300,0,3,function(frame) frame.hurtbox[2].x2 = frame.hurtbox[2].x2 + 40 frame.hurtbox[2].y2 = frame.hurtbox[2].y2 + 15 frame.attackbox[3] = null frame.attackbox[2] = null frame.attackbox[1].y1 = frame.attackbox[1].y1 + 10 frame.attackbox[1].x2 = frame.attackbox[1].x2 - 5 + 15 end) pat:update_frame(300,0,4, { tex_index = 2 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-16 , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(300,0,3).hurtbox , attackbox = pat:get_frame(0,0,0).attackbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(300,0,5, { tex_index = 2 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-16 , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(300,0,3).hurtbox , attackbox = pat:get_frame(0,0,0).attackbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(300,0,6, { tex_index = 2 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-16 , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(300,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(300,0,7, { tex_index = 3 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-16 , tex_offset_y = baseY , duration = 6 , hurtbox = pat:get_frame(300,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(300,0,8, { tex_index = 0 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-16 , tex_offset_y = baseY , duration = 7 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(300,0,3,function(frame) frame.damage = 500 frame.aflags = 0x00004006 end) pat:update_frame(330,0,0, { tex_index = 0 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-16 , 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(330,0,1, { tex_index = 3 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-16 , 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(330,0,2, { tex_index = 3 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-16 , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(300,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(330,0,3, { tex_index = 2 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-16 , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(300,0,3).hurtbox , attackbox = pat:get_frame(300,0,3).attackbox , collision = pat:get_frame(0,0,0).collision }) --hit pat:update_frame(330,0,4, { tex_index = 2 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-16 , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(300,0,3).hurtbox , attackbox = pat:get_frame(0,0,0).attackbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(330,0,5, { tex_index = 2 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-16 , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(300,0,3).hurtbox , attackbox = pat:get_frame(0,0,0).attackbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(330,0,6, { tex_index = 2 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-16 , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(300,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(330,0,7, { tex_index = 3 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-16 , tex_offset_y = baseY , duration = 6 , hurtbox = pat:get_frame(300,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(330,0,8, { tex_index = 0 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-16 , tex_offset_y = baseY , duration = 7 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(330,0,3,function(frame) frame.damage = 500 frame.aflags = 0x00004006 set_aflag(frame,AF_COUNTER_HIT) end) for idx = 0 , 10 do --pat:update_frame(848,1,idx,{tex_w = 0}) pat:update_frame(848,1,idx,function(frame) frame.tex_index = 99 frame.tex_w = 128 frame.tex_h = 128 frame.tex_offset_x = 64 frame.tex_offset_y = 64 frame.duration = 1 frame.scale_x = 55-5*idx frame.scale_y = 55-5*idx local scalemod = 100/frame.scale_x local ymod = -110 local xmod = 90 frame.tex_offset_y = frame.tex_offset_y - (ymod)*scalemod frame.tex_offset_x = frame.tex_offset_x - (xmod)*scalemod if (idx == 0) then frame.duration = 4 frame.tex_w = 0 end end) end --848 --1 = 5a --2 = 2a -> j2a --3 = f5a --4 = 6a --5 = 3a --6 = j5a --7 = j6a , 66c --8 = j2a -> j8a --9 = 66a --10 = 66a --11 = 66a --12 = 5aaa -> 2a end function mods.n5aa(pat) local baseX = 79*2 +8 local baseY = 155*2 +4 local baseW = 185 local baseH = 205 pat:update_frame(320,0,0, { tex_index = 4 , 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(320,0,1, { tex_index = 4 , 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(320,0,2, { tex_index = 6 , 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(320,0,2,function(frame) frame.hurtbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[2].x1 = frame.hurtbox[1].x1 + 15 frame.hurtbox[2].x2 = frame.hurtbox[1].x2 + 15 frame.hurtbox[2].y1 = frame.hurtbox[2].y1 + 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[1].x1 - 25 frame.hurtbox[3].x2 = frame.hurtbox[1].x2 - 5 frame.hurtbox[3].y1 = -80 frame.hurtbox[3].y2 = 0 frame.hurtbox[1].y1 = frame.hurtbox[2].y2 - 20 frame.hurtbox[1].y2 = frame.hurtbox[3].y1 + 20 end) pat:update_frame(320,0,3, { tex_index = 6 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(320,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(320,0,4, { tex_index = 7 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(320,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) --hit pat:update_frame(320,0,4,function(frame) frame.hurtbox[2].y1 = frame.hurtbox[2].y1 + 10 frame.hurtbox[2].y2 = frame.hurtbox[2].y2 + 10 frame.hurtbox[2].x1 = frame.hurtbox[2].x1 + 15 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 + 30 frame.hurtbox[1].x1 = frame.hurtbox[1].x1 + 0 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 + 40 frame.hurtbox[1].y1 = frame.hurtbox[1].y1 + 5 frame.hurtbox[3].x2 = frame.hurtbox[3].x2 + 20 frame.attackbox[1].x2 = frame.attackbox[1].x1 + 55 frame.attackbox[1].x1 = frame.attackbox[1].x1 - 25 frame.attackbox[1].y2 = frame.attackbox[1].y1 + 50 end) pat:update_frame(320,0,5, { tex_index = 7 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(320,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(320,0,6, { tex_index = 7 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(320,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(320,0,7, { tex_index = 7 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(320,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(320,0,8, { tex_index = 8 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(320,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(320,0,8,function(frame) frame.hurtbox[1].x1 = frame.hurtbox[1].x1 + 25 frame.hurtbox[2].x1 = frame.hurtbox[2].x1 - 10 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 - 30 frame.hurtbox[2].y1 = frame.hurtbox[2].y1 - 10 end) pat:update_frame(320,0,9, { tex_index = 6 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(320,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(320,0,4,function(frame) frame.damage = 350 frame.proration = 880 end) for idx = 0 , 31 do pat:update_frame(848,3,idx,{tex_w = 0}) end end function mods.n2a(pat) local baseX = 79*2 +8 local baseY = 155*2 +4 local baseW = 185 local baseH = 205 pat:update_frame(303,0,0, { tex_index = 18 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(2,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(303,0,1, { tex_index = 19 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(2,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(303,0,2, { tex_index = 20 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(2,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision }) --hit pat:update_frame(303,0,2,function(frame) frame.hurtbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[2].x1 = frame.hurtbox[1].x2 - 30 frame.hurtbox[2].x2 = frame.hurtbox[1].x2 + 40 frame.hurtbox[2].y1 = frame.hurtbox[1].y1 + 60 frame.hurtbox[2].y2 = frame.hurtbox[2].y1 + 40 frame.attackbox[1].x1 = frame.attackbox[2].x1 frame.attackbox[1].x2 = frame.attackbox[2].x2 frame.attackbox[1].y1 = frame.attackbox[2].y1 frame.attackbox[1].y2 = frame.attackbox[2].y2 frame.attackbox[2] = null frame.attackbox[1].y2 = frame.attackbox[1].y2 + 20 frame.attackbox[1].x2 = frame.attackbox[1].x2 - 15 +20 end) pat:update_frame(303,0,3, { tex_index = 21 , 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 = 21 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2+1 , hurtbox = pat:get_frame(303,0,2).hurtbox , collision = pat:get_frame(2,0,0).collision }) --pat:update_frame(303,0,5, { tex_index = 22 , 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(303,0,5, { tex_index = 20 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3+1 , hurtbox = pat:get_frame(303,0,2).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(303,0,6, { tex_index = 31 , 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(303,0,2,function(frame) frame.damage = 400 frame.proration = 930 end) for idx = 0 , 9 do pat:update_frame(848,2,idx,{tex_w = 0}) end for idx = 11 , 31 do pat:remove_frame(848,12,11) end for idx = 0 , 10 do --pat:update_frame(848,1,idx,{tex_w = 0}) pat:update_frame(848,12,idx,function(frame) frame.tex_index = 100 frame.tex_w = 128 frame.tex_h = 128 frame.tex_offset_x = 64 frame.tex_offset_y = 64 frame.duration = 1 frame.scale_x = 55-5*idx frame.scale_y = 2*(55-5*idx) local scalemod = 100/frame.scale_x local ymod = 80 local xmod = 60 frame.tex_offset_y = frame.tex_offset_y - (ymod)*scalemod frame.tex_offset_x = frame.tex_offset_x - (xmod)*scalemod if (idx == 0) then frame.duration = 5 frame.tex_w = 0 end end) end end function mods.nf5a(pat) local baseX = 79*2 +8 local baseY = 155*2 +4 local baseW = 185 local baseH = 205 pat:update_frame(301,0,0, { tex_index = 4 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(320,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(301,0,1, { tex_index = 4 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(320,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(301,0,2, { tex_index = 6 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(320,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(301,0,3, { tex_index = 6 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(320,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(301,0,4, { tex_index = 7 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4+3 , hurtbox = pat:get_frame(320,0,4).hurtbox , attackbox = pat:get_frame(320,0,4).attackbox , collision = pat:get_frame(0,0,0).collision }) --hit pat:update_frame(301,0,5, { tex_index = 7 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(320,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(301,0,6, { tex_index = 7 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(320,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(301,0,7, { tex_index = 7 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(320,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(301,0,8, { tex_index = 8 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(320,0,8).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(301,0,9, { tex_index = 6 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(320,0,9).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(301,0,4,function(frame) frame.damage = 500 frame.attack_level = AL_MEDIUM end) end function mods.n6a(pat) local baseX = 79*2 +8 local baseY = 155*2 +4 local baseW = 185 local baseH = 205 pat:update_frame(302,0,0, { tex_index = 67 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-20 , 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(302,0,0,function(frame) frame.hurtbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[2].x1 = frame.hurtbox[1].x1 + 25 frame.hurtbox[2].x2 = frame.hurtbox[1].x2 + 35 frame.hurtbox[2].y1 = frame.hurtbox[2].y1 + 30 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[1].x1 - 25 frame.hurtbox[3].x2 = frame.hurtbox[1].x2 + 30 frame.hurtbox[3].y1 = -60 frame.hurtbox[3].y2 = 0 frame.hurtbox[1].x1 = frame.hurtbox[1].x1 + 10 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 + 30 frame.hurtbox[1].y1 = frame.hurtbox[1].y1 + 50 frame.hurtbox[1].y2 = frame.hurtbox[3].y1 + 20 frame.collision[1].y1 = frame.collision[1].y1 + 10 end) pat:update_frame(302,0,1, { tex_index = 67 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-20 , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(302,0,0).hurtbox , collision = pat:get_frame(302,0,0).collision }) pat:update_frame(302,0,2, { tex_index = 68 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-20 , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(302,0,0).hurtbox , collision = pat:get_frame(302,0,0).collision }) pat:update_frame(302,0,3, { tex_index = 68 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-20 , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(302,0,0).hurtbox , collision = pat:get_frame(302,0,0).collision }) pat:update_frame(302,0,4, { tex_index = 68 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-20 , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(302,0,0).hurtbox , collision = pat:get_frame(302,0,0).collision }) pat:update_frame(302,0,5, { tex_index = 70 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-20 , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(302,0,0).hurtbox , collision = pat:get_frame(302,0,0).collision }) pat:update_frame(302,0,5,function(frame) frame.hurtbox[1].y1 = frame.hurtbox[1].y1 + 20 frame.hurtbox[1].x1 = frame.hurtbox[1].x1 + 10 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 + 60 frame.hurtbox[2].x1 = frame.hurtbox[2].x1 + 20 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 + 25 frame.hurtbox[3].x1 = frame.hurtbox[3].x1 + 10 frame.hurtbox[3].x2 = frame.hurtbox[3].x2 + 10 frame.collision[1].y1 = frame.collision[1].y1 + 0 end) pat:update_frame(302,0,6, { tex_index = 69 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-20 , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(302,0,5).hurtbox , collision = pat:get_frame(302,0,5).collision }) --hit pat:update_frame(302,0,6,function(frame) frame.attackbox[4] = null frame.attackbox[1].x2 = frame.attackbox[1].x2 - 60 frame.attackbox[2].x2 = frame.attackbox[2].x2 - 60 frame.attackbox[3].x1 = frame.attackbox[3].x1 - 60 frame.attackbox[3].x2 = frame.attackbox[3].x2 - 60 frame.attackbox[1].y1 = frame.attackbox[1].y1 + 40 frame.attackbox[2].y1 = frame.attackbox[2].y1 + 30 frame.attackbox[3].y1 = frame.attackbox[3].y1 - 40 end) pat:update_frame(302,0,7, { tex_index = 69 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-20 , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(302,0,5).hurtbox , collision = pat:get_frame(302,0,5).collision }) pat:update_frame(302,0,8, { tex_index = 69 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-20 , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(302,0,5).hurtbox , collision = pat:get_frame(302,0,5).collision }) pat:update_frame(302,0,9, { tex_index = 69 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-20 , tex_offset_y = baseY , duration = 10-1 , hurtbox = pat:get_frame(302,0,5).hurtbox , collision = pat:get_frame(302,0,5).collision }) pat:update_frame(302,0,10, { tex_index = 70 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-20 , tex_offset_y = baseY , duration = 5 , hurtbox = pat:get_frame(302,0,5).hurtbox , collision = pat:get_frame(302,0,5).collision }) pat:update_frame(302,0,11, { tex_index = 71 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-20 , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(302,0,0).hurtbox , collision = pat:get_frame(302,0,0).collision }) pat:update_frame(302,0,11,function(frame) 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 frame.hurtbox[3].x1 = frame.hurtbox[3].x1 + 10 frame.hurtbox[3].x2 = frame.hurtbox[3].x2 - 10 frame.hurtbox[1].x1 = frame.hurtbox[1].x1 + 5 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 + 5 end) pat:update_frame(302,0,12, { tex_index = 71 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-20 , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(302,0,11).hurtbox , collision = pat:get_frame(302,0,0).collision }) pat:update_frame(302,1,0, { tex_index = 68 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-20 , tex_offset_y = baseY , duration = 15 , hurtbox = pat:get_frame(302,0,3).hurtbox , collision = pat:get_frame(302,0,0).collision }) pat:update_frame(302,1,1, { tex_index = 68 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-20 , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(302,0,4).hurtbox , collision = pat:get_frame(302,0,0).collision }) pat:update_frame(302,1,2, { tex_index = 70 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-20 , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(302,0,5).hurtbox , collision = pat:get_frame(302,0,5).collision }) pat:update_frame(302,1,3, { tex_index = 69 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-20 , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(302,0,6).hurtbox , attackbox = pat:get_frame(302,0,6).attackbox , collision = pat:get_frame(302,0,5).collision }) --hit pat:update_frame(302,1,4, { tex_index = 69 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-20 , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(302,0,7).hurtbox , collision = pat:get_frame(302,0,5).collision }) pat:update_frame(302,1,5, { tex_index = 69 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-20 , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(302,0,8).hurtbox , collision = pat:get_frame(302,0,5).collision }) pat:update_frame(302,1,6, { tex_index = 69 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-20 , tex_offset_y = baseY , duration = 10 , hurtbox = pat:get_frame(302,0,9).hurtbox , collision = pat:get_frame(302,0,5).collision }) pat:update_frame(302,1,7, { tex_index = 70 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-20 , tex_offset_y = baseY , duration = 5 , hurtbox = pat:get_frame(302,0,10).hurtbox , collision = pat:get_frame(302,0,5).collision }) pat:update_frame(302,1,8, { tex_index = 71 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-20 , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(302,0,11).hurtbox , collision = pat:get_frame(302,0,5).collision }) pat:update_frame(302,1,9, { tex_index = 71 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-20 , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(302,0,12).hurtbox , collision = pat:get_frame(302,0,0).collision }) pat:update_frame(302,0,6,function(frame) frame.hit_ani_air = 77 frame.hit_ani_ground = 53 frame.damage = 800 end) pat:update_frame(302,1,3,function(frame) frame.hit_ani_air = 77 frame.hit_ani_ground = 53 frame.launch_vector_x = 2450 frame.launch_vector_y = 1450 frame.combo_correction = CC_SMASH_ATTACK end) for idx = 0 , 31 do --pat:update_frame(848,4,idx,{tex_w = 0}) end for idx = 15 , 31 do pat:remove_frame(848,4,15) end for idx = 0 , 14 do pat:update_frame(848,4,idx,function(frame) frame.tex_index = 100 frame.tex_w = 0 frame.tex_h = 128 frame.tex_offset_y = 64 frame.scale_x = idx*15 frame.scale_y = idx*30 frame.tex_offset_x = 64 - 64*100/frame.scale_x if (idx > 9) then frame.color_r = 255-(idx-4)*50 frame.color_g = 255-(idx-4)*50 frame.color_b = 255-(idx-4)*50 end frame.duration = 1 end) end end function mods.n3a(pat) local baseX = 79*2 +8 local baseY = 155*2 +4 local baseW = 185 local baseH = 205 pat:update_frame(304,0,0, { tex_index = 31 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4-1 , hurtbox = pat:get_frame(2,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(304,0,1, { tex_index = 32 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4-1 , hurtbox = pat:get_frame(2,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(304,0,2, { tex_index = 34 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(2,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(304,0,2,function(frame) frame.hurtbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[2].x1 = frame.hurtbox[1].x1 frame.hurtbox[2].x2 = frame.hurtbox[1].x2 frame.hurtbox[2].y1 = frame.hurtbox[1].y1 frame.hurtbox[2].y2 = frame.hurtbox[1].y2 frame.hurtbox[1].x1 = frame.hurtbox[1].x1 - 30 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 - 20 frame.hurtbox[1].y2 = frame.hurtbox[1].y1 + 60 frame.hurtbox[2].y1 = frame.hurtbox[2].y1 + 40 end) --pat:update_frame(304,0,2, { tex_index = 33 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(2,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(304,0,3, { tex_index = 34 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(304,0,2).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(304,0,4, { tex_index = 35 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(2,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision }) --hit pat:update_frame(304,0,4,function(frame) frame.hurtbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[2].x1 = frame.hurtbox[1].x1 - 40 frame.hurtbox[2].x2 = frame.hurtbox[1].x2 + 20 frame.hurtbox[2].y1 = frame.hurtbox[1].y1 + 40 frame.hurtbox[2].y2 = frame.hurtbox[1].y2 - 15 frame.attackbox[1].x1 = -60*1.25 frame.attackbox[1].x2 = 120*1.25 frame.attackbox[1].y1 = -80 frame.attackbox[1].y2 = -0 frame.attackbox[2].x1 = -25*1.25 frame.attackbox[2].x2 = 80*1.25 frame.attackbox[2].y1 = -105 frame.attackbox[2].y2 = -0 frame.attackbox[3].x1 = 0*1.25 frame.attackbox[3].x2 = 50*1.25 frame.attackbox[3].y1 = -120 frame.attackbox[3].y2 = -0 end) pat:update_frame(304,0,5, { tex_index = 35 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 16-2 , hurtbox = pat:get_frame(304,0,4).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(304,0,6, { tex_index = 35 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(304,0,4).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(304,0,7, { tex_index = 32 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(304,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(304,0,8, { tex_index = 32 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(304,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(304,0,9, { tex_index = 31 , 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(304,0,10, { tex_index = 31 , 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(304,1,0, { tex_index = 34 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 15 , hurtbox = pat:get_frame(304,0,2).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(304,1,1, { tex_index = 34 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(304,0,3).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(304,1,2, { tex_index = 35 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(304,0,4).hurtbox , attackbox = pat:get_frame(304,0,4).attackbox , collision = pat:get_frame(2,0,0).collision }) --hit pat:update_frame(304,1,3, { tex_index = 35 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 16-2 , hurtbox = pat:get_frame(304,0,5).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(304,1,4, { tex_index = 35 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(304,0,6).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(304,1,5, { tex_index = 32 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(304,0,7).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(304,1,6, { tex_index = 32 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(304,0,8).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(304,1,7, { tex_index = 31 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(304,0,9).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(304,1,8, { tex_index = 31 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(304,0,10).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(304,0,4,function(frame) frame.damage = 800 frame.hit_ani_air = 71 frame.hit_ani_ground = 0 frame.launch_vector_x = 600 frame.launch_vector_y = 1000 set_aflag(frame,AF_STAGGER) end) pat:update_frame(304,1,2,function(frame) --frame.damage = 800 frame.hit_ani_air = 71 frame.hit_ani_ground = 0 frame.launch_vector_x = 600 frame.launch_vector_y = 1000 set_aflag(frame,AF_STAGGER) end) for idx = 0 , 12 do --pat:update_frame(848,5,idx,{tex_w = 0}) end --pat:remove_frame(848,5,12) for idx = 0 , 12 do pat:update_frame(848,5,idx,function(frame) frame.tex_index = 284 + idx -1 frame.tex_w = 192 frame.tex_h = 128 frame.tex_offset_x = 96 frame.tex_offset_y = 128 frame.scale_x = 200 frame.scale_y = 100 frame.duration = 1 if (idx == 0) then frame.tex_w = 0 end end) end end function mods.n5aaa(pat) local baseX = 79*2 +8 local baseY = 155*2 +4 local baseW = 185 local baseH = 205 --pat:get_sequence(321,0):set_priority(20,50) pat:update_frame(321,0,0, { tex_index = 67 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-20 , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(302,0,0).hurtbox , collision = pat:get_frame(302,0,0).collision }) pat:update_frame(321,0,1, { tex_index = 67 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-20 , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(302,0,0).hurtbox , collision = pat:get_frame(302,0,0).collision }) pat:update_frame(321,0,2, { tex_index = 68 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-20 , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(302,0,2).hurtbox , collision = pat:get_frame(302,0,0).collision }) pat:update_frame(321,0,3, { tex_index = 68 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-20 , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(302,0,2).hurtbox , collision = pat:get_frame(302,0,0).collision }) pat:update_frame(321,0,4, { tex_index = 70 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-20 , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(302,0,5).hurtbox , collision = pat:get_frame(302,0,5).collision }) pat:update_frame(321,0,5, { tex_index = 69 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-20 , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(302,0,6).hurtbox , attackbox = pat:get_frame(302,0,6).attackbox , collision = pat:get_frame(302,0,5).collision }) --hit pat:update_frame(321,0,6, { tex_index = 69 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-20 , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(302,0,6).hurtbox , collision = pat:get_frame(302,0,5).collision }) pat:update_frame(321,0,7, { tex_index = 69 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-20 , tex_offset_y = baseY , duration = 10 , hurtbox = pat:get_frame(302,0,6).hurtbox , collision = pat:get_frame(302,0,5).collision }) pat:update_frame(321,0,8, { tex_index = 70 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-20 , tex_offset_y = baseY , duration = 5 , hurtbox = pat:get_frame(302,0,10).hurtbox , collision = pat:get_frame(302,0,5).collision }) pat:update_frame(321,0,9, { tex_index = 71 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-20 , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(302,0,12).hurtbox , collision = pat:get_frame(302,0,5).collision }) pat:update_frame(321,0,10, { tex_index = 71 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-20 , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(302,0,12).hurtbox , collision = pat:get_frame(302,0,0).collision }) pat:update_frame(321,0,5,function(frame) --frame.hit_ani_air = 77 --frame.hit_ani_ground = 53 frame.damage = 850 end) for idx = 0 , 31 do --pat:update_frame(848,12,idx,{tex_w = 0}) end end function mods.nj5a(pat) local baseX = 79*2 +8 local baseY = 155*2 +4 local baseW = 185 local baseH = 205 pat:update_frame(306,0,0, { tex_index = 179 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-10 , duration = 3 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(306,0,1, { tex_index = 51 , 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(306,0,1,function(frame) frame.hurtbox[1].y2 = frame.hurtbox[1].y2 - 25 end) pat:update_frame(306,0,2, { tex_index = 52 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(306,0,1).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(306,0,2,function(frame) frame.hurtbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[2].x1 = frame.hurtbox[1].x2 - 20 frame.hurtbox[2].x2 = frame.hurtbox[2].x1 + 60 frame.hurtbox[2].y1 = frame.hurtbox[1].y1 + 35 frame.hurtbox[2].y2 = frame.hurtbox[2].y1 + 60 end) pat:update_frame(306,0,3, { tex_index = 53 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(306,0,2).hurtbox , collision = pat:get_frame(9,0,0).collision }) --hit pat:update_frame(306,0,3,function(frame) frame.attackbox[1].x1 = frame.attackbox[1].x1 - 20 frame.attackbox[1].x2 = frame.attackbox[1].x1 + 25 frame.attackbox[1].y1 = -30 frame.attackbox[1].y2 = -10 frame.attackbox[2].x1 = frame.attackbox[1].x1 + 20 +0 frame.attackbox[2].x2 = frame.attackbox[1].x2 + 20 frame.attackbox[2].y1 = -65 frame.attackbox[2].y2 = -25 frame.attackbox[3].x1 = frame.attackbox[1].x1 + 25 +5 frame.attackbox[3].x2 = frame.attackbox[1].x2 + 35 frame.attackbox[3].y1 = -140 frame.attackbox[3].y2 = -50 end) pat:update_frame(306,0,4, { tex_index = 53 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(306,0,2).hurtbox , attackbox = pat:get_frame(306,0,3).attackbox , collision = pat:get_frame(9,0,0).collision }) --hit pat:update_frame(306,0,5, { tex_index = 53 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(306,0,2).hurtbox , attackbox = pat:get_frame(306,0,3).attackbox , collision = pat:get_frame(9,0,0).collision }) --hit pat:update_frame(306,0,6, { tex_index = 53 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 , hurtbox = pat:get_frame(306,0,2).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(306,0,7, { tex_index = 53 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5+2+2 , hurtbox = pat:get_frame(306,0,2).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(306,0,8, { tex_index = 179 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-10 , duration = 3 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(306,0,9, { tex_index = 179 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-10 , duration = 2 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(306,0,10, { tex_index = 185 , 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(9,0,0).collision }) for idx = 3 , 5 do pat:update_frame(306,0,idx,function(frame) frame.launch_vector_x = 600 frame.launch_vector_y = 1000 frame.hit_ani_air = 71 frame.hit_ani_ground = 0 frame.combo_correction = CC_NONE frame.damage = 400 frame.proration = 920 end) end for idx = 0 , 10 do pat:update_frame(848,6,idx,function(frame) frame.tex_index = 297 + idx frame.duration = 2 frame.scale_x = 100 frame.scale_y = 200 frame.tex_w = 128 frame.tex_h = 128 frame.tex_offset_x = 64-32 frame.tex_offset_y = 64 +48 if (idx==0) then end if (idx==0) then frame.tex_w = 127 frame.tex_h = 64 frame.tex_offset_y = -12 +64 +48 elseif (idx==10) then frame.tex_w = 128 frame.tex_h = 61 frame.tex_offset_y = -55 +64 +48 end end) end --pat:remove_frame(848,6,8) pat:remove_frame(848,6,7) pat:remove_frame(848,6,5) pat:remove_frame(848,6,4) pat:remove_frame(848,6,3) pat:remove_frame(848,6,2) end function mods.nj6a(pat) local baseX = 79*2 +8 local baseY = 155*2 +4 local baseW = 185 local baseH = 205 pat:update_frame(307,0,0, { tex_index = 179 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-10 , duration = 3 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(307,0,1, { tex_index = 184 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-10 , duration = 4-0 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) --pat:update_frame(307,0,2, { tex_index = 54 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+4 , tex_offset_y = baseY+40 , duration = 3 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(307,0,2, { tex_index = 56 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+4 , tex_offset_y = baseY+40 , duration = 2 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(307,0,2,function(frame) frame.hurtbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[2].x1 = frame.hurtbox[1].x1 - 25 frame.hurtbox[2].x2 = frame.hurtbox[1].x2 - 25 frame.hurtbox[2].y1 = frame.hurtbox[2].y1 + 20 frame.hurtbox[2].y2 = frame.hurtbox[2].y1 + 80 frame.hurtbox[3] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[3].x1 = frame.hurtbox[1].x1 + 25 frame.hurtbox[3].x2 = frame.hurtbox[1].x2 + 25 frame.hurtbox[3].y1 = -105 frame.hurtbox[3].y2 = -60 frame.hurtbox[1].y1 = frame.hurtbox[2].y1 + 30 frame.hurtbox[1].y2 = -50 end) pat:update_frame(307,0,3, { tex_index = 56 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+4 , tex_offset_y = baseY+40 , duration = 2 , hurtbox = pat:get_frame(307,0,2).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(307,0,4, { tex_index = 55 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+20 , tex_offset_y = baseY+46 , duration = 4 , hurtbox = pat:get_frame(307,0,2).hurtbox , collision = pat:get_frame(9,0,0).collision }) --hit pat:update_frame(307,0,4,function(frame) frame.hurtbox[3].x2 = frame.hurtbox[3].x2 + 35 +40 frame.attackbox[4] = null frame.attackbox[3] = null local amp = 1.15 frame.attackbox[1].x1 = 20 frame.attackbox[1].x2 = 110 * amp frame.attackbox[1].y1 = -80 * amp frame.attackbox[1].y2 = -30 * amp frame.attackbox[2].x1 = 50 * amp frame.attackbox[2].x2 = 150 * amp frame.attackbox[2].y1 = -90 * amp frame.attackbox[2].y2 = -50 * amp end) pat:update_frame(307,0,5, { tex_index = 55 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+20 , tex_offset_y = baseY+46 , duration = 12 +11 , hurtbox = pat:get_frame(307,0,4).hurtbox , collision = pat:get_frame(9,0,0).collision , attackbox = pat:get_frame(0,0,0).attackbox }) --hit pat:update_frame(307,0,6, { tex_index = 55 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+20 , tex_offset_y = baseY+46 , duration = 4 , hurtbox = pat:get_frame(307,0,4).hurtbox , collision = pat:get_frame(9,0,0).collision , attackbox = pat:get_frame(0,0,0).attackbox }) --hit pat:update_frame(307,0,7, { tex_index = 56 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+4 , tex_offset_y = baseY+40 , duration = 4 , hurtbox = pat:get_frame(307,0,2).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(307,0,8, { tex_index = 179 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-10 , duration = 4 , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(307,0,9, { tex_index = 185 , 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(9,0,0).collision }) for idx = 4 , 4 do pat:update_frame(307,0,idx,function(frame) frame.launch_vector_x = 600 frame.launch_vector_y = 1000 frame.hit_ani_air = 71 frame.hit_ani_ground = 0 frame.combo_correction = CC_NONE frame.untech = 45 frame.damage = 800 frame.proration = 850 end) end for idx = 12 , 15 do pat:remove_frame(848,7,12) end for idx = 0 , 11 do pat:update_frame(848,7,idx,function(frame) frame.tex_index = 216 + idx frame.tex_w = 128 frame.tex_h = 128 frame.tex_offset_x = 64-42 frame.tex_offset_y = 64+52 frame.scale_x = 160 * 1.15 frame.scale_y = 100 * 1.15 frame.duration = 1 end) end end function mods.nj2a(pat) local baseX = 79*2 +8 local baseY = 155*2 +4 local baseW = 185 local baseH = 205 --pat:update_frame(308,0,0, { tex_index = 185 , 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(9,0,0).collision }) pat:update_frame(308,0,0, { tex_index = 486 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+0 , duration = 3 , hurtbox = pat:get_frame(9,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(308,0,1, { tex_index = 487 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+0 , duration = 3 , hurtbox = pat:get_frame(9,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(308,0,1,function(frame) frame.hurtbox[1].y1 = frame.hurtbox[1].y1 + 10 frame.hurtbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[2].x1 = frame.hurtbox[1].x1 - 25 frame.hurtbox[2].x2 = frame.hurtbox[1].x2 + 5 frame.hurtbox[2].y1 = frame.hurtbox[1].y1 + 5 frame.hurtbox[2].y2 = frame.hurtbox[2].y1 + 60 end) pat:update_frame(308,0,2, { tex_index = 488 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+0 , duration = 1 , hurtbox = pat:get_frame(9,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(308,0,2,function(frame) frame.hurtbox[1].y1 = frame.hurtbox[1].y1 - 10 frame.hurtbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[2].x1 = frame.hurtbox[1].x1 - 25 frame.hurtbox[2].x2 = frame.hurtbox[1].x2 - 10 frame.hurtbox[2].y1 = frame.hurtbox[1].y1 + 15 frame.hurtbox[2].y2 = frame.hurtbox[2].y1 + 60 end) pat:update_frame(308,0,3, { tex_index = 488 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+0 , duration = 1 , hurtbox = pat:get_frame(308,0,2).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(308,0,4, { tex_index = 488 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+0 , duration = 5 , hurtbox = pat:get_frame(308,0,2).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(308,0,5, { tex_index = 45 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+0 , duration = 4 , hurtbox = pat:get_frame(9,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) --hit pat:update_frame(308,0,5,function(frame) frame.hurtbox[1].y1 = frame.hurtbox[1].y1 + 20 frame.hurtbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[2].x1 = frame.hurtbox[1].x1 - 25 frame.hurtbox[2].x2 = frame.hurtbox[1].x2 - 10 frame.hurtbox[2].y1 = frame.hurtbox[1].y1 + 5 frame.hurtbox[2].y2 = frame.hurtbox[1].y1 + 50 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[1].x2 + 35 frame.hurtbox[3].y1 = frame.hurtbox[1].y1 - 5 frame.hurtbox[3].y2 = frame.hurtbox[1].y1 + 55 frame.attackbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.attackbox[3] = pat:get_frame(0,0,0).hurtbox[1] local amp = 1.4 frame.attackbox[1].x1 = -55 * amp frame.attackbox[1].x2 = 75 * amp frame.attackbox[1].y1 = (-45 +10) * amp frame.attackbox[1].y2 = (-5 +10) * amp frame.attackbox[2].x1 = -80 * amp frame.attackbox[2].x2 = -45 * amp frame.attackbox[2].y1 = (-70 +10) * amp frame.attackbox[2].y2 = (-30 +10) * amp frame.attackbox[3].x1 = 30 * amp frame.attackbox[3].x2 = 105 * amp frame.attackbox[3].y1 = (-70 +10) * amp frame.attackbox[3].y2 = (-35 +10) * amp end) pat:update_frame(308,0,6, { tex_index = 46 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+0 , duration = 4 , hurtbox = pat:get_frame(308,0,5).hurtbox , collision = pat:get_frame(9,0,0).collision , attackbox = pat:get_frame(0,0,0).attackbox }) pat:update_frame(308,0,7, { tex_index = 46 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+0 , duration = 4 , hurtbox = pat:get_frame(308,0,5).hurtbox , collision = pat:get_frame(9,0,0).collision , attackbox = pat:get_frame(0,0,0).attackbox }) pat:update_frame(308,0,8, { tex_index = 46 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+0 , duration = 4 , hurtbox = pat:get_frame(308,0,5).hurtbox , collision = pat:get_frame(9,0,0).collision , attackbox = pat:get_frame(0,0,0).attackbox }) pat:update_frame(308,0,9, { tex_index = 46 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+0 , duration = 14+5 , hurtbox = pat:get_frame(308,0,5).hurtbox , collision = pat:get_frame(9,0,0).collision }) --pat:update_frame(308,0,10, { tex_index = 486 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+0 , duration = 5 , hurtbox = pat:get_frame(9,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) --pat:update_frame(308,0,11, { tex_index = 486 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+0 , duration = 5 , hurtbox = pat:get_frame(9,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(308,0,10, { tex_index = 185 , 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(9,0,0).collision }) pat:update_frame(308,0,11, { tex_index = 177 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+8 , duration = 3 , hurtbox = pat:get_frame(9,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(308,0,12, { tex_index = 177 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+8 , duration = 2 , hurtbox = pat:get_frame(9,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) for idx = 5 , 5 do pat:update_frame(308,0,idx,function(frame) frame.launch_vector_x = 1200 frame.launch_vector_y = -2400 frame.hit_ani_air = 73 frame.hit_ani_ground = 73 frame.combo_correction = CC_NONE frame.untech = 45 frame.damage = 850 frame.limit = 40 frame.proration = 880 frame.hitstop_self = 10 frame.hitstop_enemy = 10 frame.blockstop_self = 10 frame.blockstop_enemy = 10 frame.sp_damage = 200 set_aflag(frame,AF_COUNTER_HIT) end) end pat:split_frame(848,2,0,2,2) for idx = 0 , 10 do pat:update_frame(848,2,idx,function(frame) frame.tex_index = 205 +10 -idx frame.duration = 2 frame.scale_x = 150 * 1.25 frame.scale_y = 150 * 1.25 frame.tex_w = 128 frame.tex_h = 192 frame.angle_z = 90 frame.angle_y = -180 frame.tex_offset_x = 96 + 4 frame.tex_offset_y = 96 - 24 end) end end function mods.nj8a(pat) local baseX = 79*2 +8 local baseY = 155*2 +4 local baseW = 185 local baseH = 205 pat:remove_frame(309,0,7) pat:split_frame(309,0,2,4,4) pat:split_frame(309,0,6,4,4) pat:update_frame(309,0,0, { tex_index = 61 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+12 , duration = 4 , hurtbox = pat:get_frame(9,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(309,0,0,function(frame) frame.hurtbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[2].x1 = frame.hurtbox[1].x1 - 10 frame.hurtbox[2].x2 = frame.hurtbox[1].x2 - 10 frame.hurtbox[2].y1 = frame.hurtbox[1].y1 - 20 frame.hurtbox[2].y2 = frame.hurtbox[2].y1 + 50 frame.hurtbox[1].y1 = frame.hurtbox[1].y1 + 20 end) pat:update_frame(309,0,1, { tex_index = 60 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+12 , duration = 3 , hurtbox = pat:get_frame(9,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(309,0,1,function(frame) frame.hurtbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[2].x1 = frame.hurtbox[1].x1 - 25 frame.hurtbox[2].x2 = frame.hurtbox[1].x2 - 25 frame.hurtbox[2].y1 = frame.hurtbox[1].y1 - 20 frame.hurtbox[2].y2 = frame.hurtbox[2].y1 + 65 frame.hurtbox[1].y1 = frame.hurtbox[1].y1 + 20 end) pat:update_frame(309,0,2, { tex_index = 61 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+12 , duration = 3 , hurtbox = pat:get_frame(309,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(309,0,3, { tex_index = 62 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+12 , duration = 3 , hurtbox = pat:get_frame(9,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(309,0,3,function(frame) frame.hurtbox[1].y1 = frame.hurtbox[1].y1 - 40 frame.hurtbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[2].x1 = frame.hurtbox[1].x2 - 20 frame.hurtbox[2].x2 = frame.hurtbox[1].x2 + 40 frame.hurtbox[2].y1 = frame.hurtbox[1].y1 + 60 frame.hurtbox[2].y2 = frame.hurtbox[2].y1 + 40 end) pat:update_frame(309,0,4, { tex_index = 63 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+12 , duration = 3 , hurtbox = pat:get_frame(9,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) --hit pat:update_frame(309,0,4,function(frame) frame.hurtbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[2].x1 = frame.hurtbox[1].x1 - 15 frame.hurtbox[2].x2 = frame.hurtbox[1].x2 + 25 frame.hurtbox[2].y1 = frame.hurtbox[1].y1 - 40 frame.hurtbox[2].y2 = frame.hurtbox[2].y1 + 75 local amp = 1.2 frame.attackbox[1].x1 = (frame.attackbox[2].x1 +20) * amp frame.attackbox[1].x2 = frame.attackbox[2].x2 * amp frame.attackbox[1].y1 = frame.attackbox[2].y1 * amp frame.attackbox[1].y2 = frame.attackbox[2].y2 * amp frame.attackbox[1].y2 = (frame.attackbox[1].y2 + 60) frame.attackbox[1].x2 = (frame.attackbox[1].x2 - 20) frame.attackbox[2].x1 = (frame.attackbox[1].x1 + 10) frame.attackbox[2].x2 = (frame.attackbox[1].x2 + 10) * amp frame.attackbox[2].y1 = (frame.attackbox[1].y1 + 30) frame.attackbox[2].y2 = (frame.attackbox[2].y1 + 90) end) pat:update_frame(309,0,5, { tex_index = 64 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+12 , duration = 3 , hurtbox = pat:get_frame(309,0,4).hurtbox , attackbox = pat:get_frame(309,0,4).attackbox , collision = pat:get_frame(9,0,0).collision }) --hit pat:update_frame(309,0,6, { tex_index = 64 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+12 , duration = 24+4 , hurtbox = pat:get_frame(309,0,4).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(309,0,7, { tex_index = 60 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+12 , duration = 4 , hurtbox = pat:get_frame(309,0,1).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(309,0,8, { tex_index = 61 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+12 , duration = 4 , hurtbox = pat:get_frame(309,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) for idx = 4 , 5 do pat:update_frame(309,0,idx,function(frame) frame.damage = 850 frame.proration = 850 end) end for idx = 0 , 12 do pat:update_frame(848,8,idx,function(frame) frame.tex_index = 271 + idx frame.duration = 2 frame.scale_x = 100 * 1.2 frame.scale_y = 200 * 1.2 frame.tex_w = 128 frame.tex_h = 128 frame.tex_offset_x = 64-48 -20 frame.tex_offset_y = 64+64 if (idx==12) then frame.tex_h = 64 frame.tex_offset_y = 64+64 end end) end --pat:remove_frame(848,8,11) pat:remove_frame(848,8,9) pat:remove_frame(848,8,7) pat:remove_frame(848,8,5) pat:remove_frame(848,8,3) pat:remove_frame(848,8,1) end function mods.n66a(pat) local baseX = 79*2 +8 local baseY = 155*2 +4 local baseW = 185 local baseH = 205 pat:update_frame(305,0,0, { tex_index = 4 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(320,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(305,0,1, { tex_index = 4 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(320,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(305,0,2, { tex_index = 6 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 7 , hurtbox = pat:get_frame(320,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(305,0,3, { tex_index = 7 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4+6 , hurtbox = pat:get_frame(320,0,4).hurtbox , attackbox = pat:get_frame(320,0,4).attackbox , collision = pat:get_frame(0,0,0).collision }) --hit pat:update_frame(305,0,4, { tex_index = 7 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 19-5-7 , hurtbox = pat:get_frame(320,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(305,0,5, { tex_index = 8 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(320,0,8).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(305,0,6, { tex_index = 6 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(320,0,9).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(305,0,3,function(frame) frame.damage = 500 frame.limit = 0 frame.attackbox[1].x2 = frame.attackbox[1].x2 - 10 end) for idx = 0 , 1 do pat:update_frame(848,9,idx,{tex_w = 0}) pat:update_frame(848,10,idx,{tex_w = 0}) end pat:update_frame(848,11,0,{tex_w = 0}) end function mods.n66b(pat) local baseX = 79*2 +8 local baseY = 155*2 +4 local baseW = 185 local baseH = 205 pat:update_frame(408,0,0, { tex_index = 351 , 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(408,0,1, { tex_index = 54 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+4 , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(307,0,2).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(408,0,1,function(frame) for idx = 1 , 3 do frame.hurtbox[idx].y1 = frame.hurtbox[idx].y1 + 40 frame.hurtbox[idx].y2 = 0 end frame.hurtbox[3] = null end) pat:update_frame(408,0,2, { tex_index = 56 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+4 , tex_offset_y = baseY , duration = 1 , hurtbox = pat:get_frame(307,0,2).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(408,0,2,function(frame) for idx = 1 , 3 do frame.hurtbox[idx].y1 = frame.hurtbox[idx].y1 + 40 frame.hurtbox[idx].y2 = 0 end end) pat:update_frame(408,0,3, { tex_index = 56 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+4 , tex_offset_y = baseY , duration = 1 , hurtbox = pat:get_frame(408,0,2).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(408,0,4, { tex_index = 56 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+4 , tex_offset_y = baseY , duration = 1 , hurtbox = pat:get_frame(408,0,2).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(408,0,5, { tex_index = 56 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+4 , tex_offset_y = baseY , duration = 1 , hurtbox = pat:get_frame(408,0,2).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(408,0,6, { tex_index = 55 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+20 , tex_offset_y = baseY , duration = 12 , hurtbox = pat:get_frame(307,0,4).hurtbox , collision = pat:get_frame(2,0,0).collision }) --hit pat:update_frame(408,0,6,function(frame) for idx = 1 , 3 do frame.hurtbox[idx].y1 = frame.hurtbox[idx].y1 + 40 frame.hurtbox[idx].y2 = 0 end frame.hurtbox[3].x2 = frame.hurtbox[3].x2 - 20 frame.attackbox[4] = null frame.attackbox[3] = null frame.attackbox[2] = null frame.attackbox[1].x2 = frame.hurtbox[3].x2 + 5 frame.attackbox[1].x1 = 30 frame.attackbox[1].y1 = -45 frame.attackbox[1].y2 = 0 frame.aflags = pat:get_frame(304,0,4).aflags frame.hit_ani_air = 72 frame.hit_ani_ground = 72 frame.launch_vector_x = 0 frame.launch_vector_y = 650 frame.combo_correction = CC_LIFT_ATTACK frame.damage = 800 frame.proration = 850 end) pat:update_frame(408,0,7, { tex_index = 55 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+20 , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(408,0,6).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(408,0,8, { tex_index = 55 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+20 , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(408,0,6).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(408,0,9, { tex_index = 55 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+20 , tex_offset_y = baseY , duration = 1 , hurtbox = pat:get_frame(408,0,6).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(408,0,10, { tex_index = 56 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+4 , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(408,0,2).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(408,0,11, { tex_index = 54 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX+4 , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(408,0,1).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(408,0,12, { tex_index = 351 , 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 }) end function mods.n66c(pat) local baseX = 79*2 +8 local baseY = 155*2 +4 local baseW = 185 local baseH = 205 pat:get_sequence(418,1):set_looped(false) pat:split_frame(418,0,11,2,2) pat:update_frame(418,0,0, { tex_index = 67 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-20 , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(302,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = pat:get_frame(302,0,0).fflags }) pat:update_frame(418,0,1, { tex_index = 67 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-20 , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(302,0,0).hurtbox , collision = pat:get_frame(302,0,0).collision , fflags = pat:get_frame(302,0,1).fflags }) pat:update_frame(418,0,2, { tex_index = 68 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-20 , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(302,0,0).hurtbox , collision = pat:get_frame(302,0,0).collision , fflags = pat:get_frame(302,0,2).fflags }) pat:update_frame(418,0,3, { tex_index = 68 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-20 , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(302,0,0).hurtbox , collision = pat:get_frame(302,0,0).collision , fflags = pat:get_frame(302,0,3).fflags }) pat:update_frame(418,0,4, { tex_index = 68 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-20 , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(302,0,0).hurtbox , collision = pat:get_frame(302,0,0).collision , fflags = pat:get_frame(302,0,4).fflags }) pat:update_frame(418,0,5, { tex_index = 70 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-20 , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(302,0,5).hurtbox , collision = pat:get_frame(302,0,0).collision , fflags = pat:get_frame(302,0,5).fflags }) pat:update_frame(418,0,6, { tex_index = 69 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-20 , tex_offset_y = baseY , duration = 8 , hurtbox = pat:get_frame(302,0,5).hurtbox , attackbox = pat:get_frame(302,0,6).attackbox , collision = pat:get_frame(302,0,5).collision , fflags = pat:get_frame(302,0,6).fflags }) --hit pat:update_frame(418,0,7, { tex_index = 69 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-20 , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(302,0,5).hurtbox , attackbox = pat:get_frame(0,0,0).attackbox , collision = pat:get_frame(302,0,5).collision , fflags = pat:get_frame(302,0,7).fflags }) pat:update_frame(418,0,8, { tex_index = 69 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-20 , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(302,0,5).hurtbox , attackbox = pat:get_frame(0,0,0).attackbox , collision = pat:get_frame(302,0,5).collision , fflags = pat:get_frame(302,0,8).fflags }) pat:update_frame(418,0,9, { tex_index = 69 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-20 , tex_offset_y = baseY , duration = 8 , hurtbox = pat:get_frame(302,0,5).hurtbox , collision = pat:get_frame(302,0,5).collision , fflags = pat:get_frame(302,0,9).fflags }) pat:update_frame(418,0,10, { tex_index = 70 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-20 , tex_offset_y = baseY , duration = 5 , hurtbox = pat:get_frame(302,0,5).hurtbox , collision = pat:get_frame(302,0,5).collision , fflags = pat:get_frame(302,0,10).fflags }) pat:update_frame(418,0,11, { tex_index = 71 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-20 , tex_offset_y = baseY , duration = 3-0 , hurtbox = pat:get_frame(302,0,11).hurtbox , collision = pat:get_frame(302,0,0).collision , fflags = pat:get_frame(302,0,11).fflags }) pat:update_frame(418,0,12, { tex_index = 71 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-20 , tex_offset_y = baseY , duration = 2-0 , hurtbox = pat:get_frame(302,0,11).hurtbox , collision = pat:get_frame(302,0,0).collision , fflags = pat:get_frame(302,0,12).fflags }) pat:remove_frame(418,1,1) pat:update_frame(418,1,0, { tex_index = 71 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-20 , tex_offset_y = baseY , duration = 1 , hurtbox = pat:get_frame(302,0,11).hurtbox , collision = pat:get_frame(302,0,0).collision , fflags = pat:get_frame(302,0,12).fflags }) pat:remove_frame(418,2,2) pat:remove_frame(418,2,1) pat:update_frame(418,2,0, { tex_index = 71 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-20 , tex_offset_y = baseY , duration = 1 , hurtbox = pat:get_frame(302,0,11).hurtbox , collision = pat:get_frame(302,0,0).collision , fflags = pat:get_frame(302,0,12).fflags }) pat:update_frame(418,0,6,function(frame) frame.aflags = pat:get_frame(302,0,6).aflags frame.damage = 800 frame.proration = 850 frame.untech = 45 frame.limit = 40 frame.combo_correction = CC_SMASH_ATTACK frame.launch_vector_x = 2000 frame.launch_vector_y = 1000 frame.hit_ani_air = 74 frame.hit_ani_ground = 74 end) for idx = 2 , 6 do pat:update_frame(418,0,idx,function(frame) set_fflag(frame,FF_GRAZE) end) end end function mods.b5b(pat) local baseX = 79*2 +8 local baseY = 155*2 +4 local baseW = 185 local baseH = 205 pat:update_frame(400,0,0, { tex_index = 327 , 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(400,0,1, { tex_index = 327 , 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(400,0,2, { tex_index = 328 , 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(400,0,3, { tex_index = 328 , 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(400,0,4, { tex_index = 328 , 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(400,0,5, { tex_index = 328 , 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(400,0,6, { tex_index = 331 , 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(400,0,6,function(frame) frame.hurtbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[2].x1 = frame.hurtbox[1].x2 - 20 frame.hurtbox[2].x2 = frame.hurtbox[1].x2 + 30 frame.hurtbox[2].y1 = frame.hurtbox[1].y1 - 5 frame.hurtbox[2].y2 = frame.hurtbox[2].y1 + 55 end) pat:update_frame(400,0,7, { tex_index = 330 , 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(400,0,7,function(frame) frame.hurtbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[2].x1 = frame.hurtbox[1].x2 - 20 frame.hurtbox[2].x2 = frame.hurtbox[1].x2 + 55 frame.hurtbox[2].y1 = frame.hurtbox[1].y1 + 10 frame.hurtbox[2].y2 = frame.hurtbox[2].y1 + 40 end) pat:update_frame(400,0,8, { tex_index = 329 , 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(400,0,8,function(frame) frame.hurtbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[2].x1 = frame.hurtbox[1].x2 - 20 frame.hurtbox[2].x2 = frame.hurtbox[1].x2 + 55 frame.hurtbox[2].y1 = frame.hurtbox[1].y1 + 45 frame.hurtbox[2].y2 = frame.hurtbox[2].y1 + 40 end) pat:update_frame(400,0,9, { tex_index = 329 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3+2 , hurtbox = pat:get_frame(400,0,8).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(400,0,10, { tex_index = 329 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(400,0,8).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00200021}) pat:update_frame(400,0,11, { tex_index = 329 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(400,0,8).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00200021 }) pat:update_frame(400,0,12, { tex_index = 329 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(400,0,8).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00200021 }) pat:update_frame(400,0,13, { tex_index = 329 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3+10 , hurtbox = pat:get_frame(400,0,8).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(400,0,14, { tex_index = 328 , 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(401,0,16) pat:remove_frame(401,0,15) pat:update_frame(401,0,0, { tex_index = 327 , 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(401,0,1, { tex_index = 327 , 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(401,0,2, { tex_index = 328 , 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(401,0,3, { tex_index = 328 , 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(401,0,4, { tex_index = 328 , 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(401,0,5, { tex_index = 328 , 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(401,0,6, { tex_index = 331 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(400,0,6).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(401,0,7, { tex_index = 330 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(400,0,7).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(401,0,8, { tex_index = 329 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(400,0,8).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(401,0,9, { tex_index = 329 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3+2 , hurtbox = pat:get_frame(400,0,8).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(401,0,10, { tex_index = 329 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(400,0,8).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00200021 }) pat:update_frame(401,0,11, { tex_index = 329 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(400,0,8).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00200021 }) pat:update_frame(401,0,12, { tex_index = 329 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(400,0,8).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00200021 }) pat:update_frame(401,0,13, { tex_index = 329 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3+10 , hurtbox = pat:get_frame(400,0,8).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(401,0,14, { tex_index = 328 , 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(404,0,0, { tex_index = 60 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+12 , duration = 2 , hurtbox = pat:get_frame(309,0,1).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(404,0,1, { tex_index = 60 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+12 , duration = 1 , hurtbox = pat:get_frame(309,0,1).hurtbox , collision = pat:get_frame(9,0,0).collision }) --pat:update_frame(404,0,0, { tex_index = 327 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+2 , duration = 2 , hurtbox = pat:get_frame(9,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(404,0,0,function(frame) --frame.hurtbox[1].y2 = frame.hurtbox[1].y2 + 15 end) --pat:update_frame(404,0,1, { tex_index = 327 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+2 , duration = 1 , hurtbox = pat:get_frame(404,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(404,0,2, { tex_index = 25 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+2 , duration = 2 , hurtbox = pat:get_frame(9,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(404,0,3, { tex_index = 25 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+2 , duration = 2 , hurtbox = pat:get_frame(404,0,2).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(404,0,4, { tex_index = 25 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+2 , duration = 1 , hurtbox = pat:get_frame(404,0,2).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(404,0,5, { tex_index = 25 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+2 , duration = 1 , hurtbox = pat:get_frame(404,0,2).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(404,0,6, { tex_index = 28 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+2 , duration = 3 , hurtbox = pat:get_frame(404,0,2).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(404,0,6,function(frame) frame.hurtbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[2].x1 = frame.hurtbox[1].x2 - 20 frame.hurtbox[2].x2 = frame.hurtbox[1].x2 + 30 frame.hurtbox[2].y1 = frame.hurtbox[1].y1 - 5 frame.hurtbox[2].y2 = frame.hurtbox[2].y1 + 55 end) pat:update_frame(404,0,7, { tex_index = 27 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+2 , duration = 3 , hurtbox = pat:get_frame(404,0,2).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(404,0,7,function(frame) frame.hurtbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[2].x1 = frame.hurtbox[1].x2 - 20 frame.hurtbox[2].x2 = frame.hurtbox[1].x2 + 55 frame.hurtbox[2].y1 = frame.hurtbox[1].y1 + 10 frame.hurtbox[2].y2 = frame.hurtbox[2].y1 + 40 end) pat:update_frame(404,0,8, { tex_index = 26 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+2 , duration = 3 , hurtbox = pat:get_frame(404,0,2).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(404,0,8,function(frame) frame.hurtbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[2].x1 = frame.hurtbox[1].x2 - 20 frame.hurtbox[2].x2 = frame.hurtbox[1].x2 + 55 frame.hurtbox[2].y1 = frame.hurtbox[1].y1 + 45 frame.hurtbox[2].y2 = frame.hurtbox[2].y1 + 40 end) pat:update_frame(404,0,9, { tex_index = 26 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+2 , duration = 3+2 , hurtbox = pat:get_frame(404,0,8).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(404,0,10, { tex_index = 26 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+2 , duration = 3 , hurtbox = pat:get_frame(404,0,8).hurtbox , collision = pat:get_frame(9,0,0).collision , fflags = 0x00200024 }) pat:update_frame(404,0,11, { tex_index = 26 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+2 , duration = 3 , hurtbox = pat:get_frame(404,0,8).hurtbox , collision = pat:get_frame(9,0,0).collision , fflags = 0x00200024 }) pat:update_frame(404,0,12, { tex_index = 26 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+2 , duration = 3 , hurtbox = pat:get_frame(404,0,8).hurtbox , collision = pat:get_frame(9,0,0).collision , fflags = 0x00200024 }) pat:update_frame(404,0,13, { tex_index = 26 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+2 , duration = 3+10 , hurtbox = pat:get_frame(404,0,8).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(404,0,14, { tex_index = 25 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+2 , duration = 4 , hurtbox = pat:get_frame(404,0,2).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(404,2,0, { tex_index = 351 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(10,0,0).hurtbox , collision = pat:get_frame(10,0,0).collision }) pat:update_frame(404,2,1, { tex_index = 351 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(10,0,1).hurtbox , collision = pat:get_frame(10,0,1).collision }) pat:update_frame(404,2,2, { tex_index = 186 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(10,0,2).hurtbox , collision = pat:get_frame(10,0,2).collision }) pat:update_frame(406,0,0, { tex_index = 60 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+12 , duration = 2 , hurtbox = pat:get_frame(404,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(406,0,1, { tex_index = 60 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+12 , duration = 1 , hurtbox = pat:get_frame(404,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) --pat:update_frame(406,0,0, { tex_index = 327 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+2 , duration = 2 , hurtbox = pat:get_frame(404,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) --pat:update_frame(406,0,1, { tex_index = 327 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+2 , duration = 1 , hurtbox = pat:get_frame(404,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(406,0,2, { tex_index = 25 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+2 , duration = 2 , hurtbox = pat:get_frame(404,0,2).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(406,0,3, { tex_index = 25 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+2 , duration = 2 , hurtbox = pat:get_frame(404,0,2).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(406,0,4, { tex_index = 25 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+2 , duration = 1 , hurtbox = pat:get_frame(404,0,2).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(406,0,5, { tex_index = 25 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+2 , duration = 1 , hurtbox = pat:get_frame(404,0,2).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(406,0,6, { tex_index = 28 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+2 , duration = 3 , hurtbox = pat:get_frame(404,0,6).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(406,0,7, { tex_index = 27 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+2 , duration = 3 , hurtbox = pat:get_frame(404,0,7).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(406,0,8, { tex_index = 26 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+2 , duration = 3 , hurtbox = pat:get_frame(404,0,8).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(406,0,9, { tex_index = 26 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+2 , duration = 3+2 , hurtbox = pat:get_frame(404,0,8).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(406,0,10, { tex_index = 26 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+2 , duration = 3 , hurtbox = pat:get_frame(404,0,8).hurtbox , collision = pat:get_frame(9,0,0).collision , fflags = 0x00200024 }) pat:update_frame(406,0,11, { tex_index = 26 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+2 , duration = 3 , hurtbox = pat:get_frame(404,0,8).hurtbox , collision = pat:get_frame(9,0,0).collision , fflags = 0x00200024 }) pat:update_frame(406,0,12, { tex_index = 26 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+2 , duration = 3 , hurtbox = pat:get_frame(404,0,8).hurtbox , collision = pat:get_frame(9,0,0).collision , fflags = 0x00200024 }) pat:update_frame(406,0,13, { tex_index = 26 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+2 , duration = 3+10 , hurtbox = pat:get_frame(404,0,8).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(406,0,14, { tex_index = 328 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+2 , duration = 4 , hurtbox = pat:get_frame(404,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(406,2,0, { tex_index = 351 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(10,0,0).hurtbox , collision = pat:get_frame(10,0,0).collision }) pat:update_frame(406,2,1, { tex_index = 351 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(10,0,1).hurtbox , collision = pat:get_frame(10,0,1).collision }) pat:update_frame(406,2,2, { tex_index = 186 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(10,0,2).hurtbox , collision = pat:get_frame(10,0,2).collision }) pat:copy_sequence(991,990,0) pat:copy_sequence(992,990,0) pat:update_frame(990,0,0,function(frame) frame.tex_index = 508 end) pat:update_frame(991,0,0,function(frame) frame.tex_index = 523 end) pat:update_frame(992,0,0,function(frame) frame.tex_index = 524 end) pat:update_frame(800,0,0,{ tex_index = 100 , tex_w = 128 , tex_h = 128 , tex_offset_x = 64 , tex_offset_y = 64 , scale_x = 100 , scale_y = 100 }) pat:update_frame(800,1,0,{ tex_index = 99 , tex_w = 128 , tex_h = 128 , tex_offset_x = 64 , tex_offset_y = 64 , scale_x = 100 , scale_y = 100 }) pat:update_frame(800,8,0,{ tex_index = 100 , tex_w = 0 , tex_h = 128 , tex_offset_x = 64 , tex_offset_y = 64 , scale_x = 100 , scale_y = 100 }) pat:update_frame(800,9,0,{ tex_index = 99 , tex_w = 0 , tex_h = 128 , tex_offset_x = 64 , tex_offset_y = 64 , scale_x = 100 , scale_y = 100 }) pat:update_frame(800,4,0,{ tex_index = 100 , tex_w = 128 , tex_h = 128 , tex_offset_x = 64 , tex_offset_y = 64 , scale_x = 30 , scale_y = 30 }) pat:update_frame(800,5,0,{ tex_index = 99 , tex_w = 128 , tex_h = 128 , tex_offset_x = 64 , tex_offset_y = 64 , scale_x = 30 , scale_y = 30 }) for idx = 0 , 1 do pat:update_frame(800,idx,0,function(frame) frame.attackbox[1].x1 = -25 frame.attackbox[1].x2 = 25 frame.attackbox[1].y1 = -25 frame.attackbox[1].y2 = 25 frame.attack_level = AL_HEAVY frame.hitstop_enemy = 14 frame.blockstop_enemy = 2 frame.hitstop_self = 0 frame.blockstop_self = 0 frame.untech = 35 frame.damage = 350 frame.proration = 880 frame.sp_damage = 80 frame.hit_ani_air = 71 frame.hit_ani_ground = 0 frame.combo_correction = CC_NONE frame.launch_vector_x = 600 frame.launch_vector_y = 1200 frame.limit = 15 frame.card_gain_hit = 20--50 frame.card_gain_block = 20--40 end) end end function mods.b6b(pat) end function mods.b2b(pat) local baseX = 79*2 +8 local baseY = 155*2 +4 local baseW = 185 local baseH = 205 pat:split_frame(402,0,4,4,4) for idx = 11 , 14 do pat:split_frame(402,0,8,4,4) end pat:update_frame(402,0,0, { tex_index = 31 , 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 , fflags = 0x00000042 }) pat:update_frame(402,0,1, { tex_index = 31 , 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 , fflags = 0x00000042 }) pat:update_frame(402,0,2, { tex_index = 32 , 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 , fflags = 0x00000042 }) pat:update_frame(402,0,3, { tex_index = 32 , 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 , fflags = 0x00000042 }) pat:update_frame(402,0,4, { tex_index = 32 , 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 , fflags = 0x00000042 }) pat:update_frame(402,0,5, { tex_index = 34 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2+5 , hurtbox = pat:get_frame(304,0,2).hurtbox , collision = pat:get_frame(2,0,0).collision , fflags = 0x00000042 }) pat:update_frame(402,0,6, { tex_index = 35 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(304,0,4).hurtbox , collision = pat:get_frame(2,0,0).collision , fflags = 0x00000042 }) --hit pat:update_frame(402,0,7, { tex_index = 35 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3-2 , hurtbox = pat:get_frame(304,0,4).hurtbox , collision = pat:get_frame(2,0,0).collision , fflags = 0x00000042 }) pat:update_frame(402,0,8, { tex_index = 35 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(304,0,4).hurtbox , collision = pat:get_frame(2,0,0).collision , fflags = 0x00000022 }) pat:update_frame(402,0,9, { tex_index = 35 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3+2 , hurtbox = pat:get_frame(304,0,4).hurtbox , collision = pat:get_frame(2,0,0).collision , fflags = 0x00000022 }) pat:update_frame(402,0,10, { tex_index = 35 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(304,0,4).hurtbox , collision = pat:get_frame(2,0,0).collision , fflags = 0x00000022 }) pat:update_frame(402,0,11, { tex_index = 35 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(304,0,4).hurtbox , collision = pat:get_frame(2,0,0).collision , fflags = 0x00200022 }) pat:update_frame(402,0,12, { tex_index = 35 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3+10 , hurtbox = pat:get_frame(304,0,4).hurtbox , collision = pat:get_frame(2,0,0).collision , fflags = 0x00200022 }) pat:update_frame(402,0,13, { tex_index = 32 , 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,14, { tex_index = 31 , 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 }) end function mods.b5c(pat) local baseX = 79*2 +8 local baseY = 155*2 +4 local baseW = 185 local baseH = 205 pat:update_frame(410,0,0, { tex_index = 347 , 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(410,0,1, { tex_index = 1 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-12 , 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(410,0,1,function(frame) frame.hurtbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[2].x1 = frame.hurtbox[1].x1 - 10 frame.hurtbox[2].x2 = frame.hurtbox[1].x2 - 10 frame.hurtbox[2].y1 = frame.hurtbox[1].y1 - 5 frame.hurtbox[2].y2 = frame.hurtbox[2].y1 + 50 frame.hurtbox[1].y1 = frame.hurtbox[1].y1 + 20 end) pat:update_frame(410,0,2, { tex_index = 1 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-12 , 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(410,0,3, { tex_index = 348 , 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(410,0,3,function(frame) frame.hurtbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[2].x1 = frame.hurtbox[1].x1 + 15 frame.hurtbox[2].x2 = frame.hurtbox[1].x2 + 15 frame.hurtbox[2].y2 = frame.hurtbox[1].y1 + 40 frame.hurtbox[3] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[3].x1 = frame.hurtbox[1].x1 + 25 frame.hurtbox[3].x2 = frame.hurtbox[1].x2 + 25 frame.hurtbox[3].y1 = frame.hurtbox[1].y1 + 45 frame.hurtbox[3].y2 = frame.hurtbox[3].y1 + 35 frame.hurtbox[1].y1 = frame.hurtbox[1].y1 + 40 end) pat:update_frame(410,0,4, { tex_index = 348 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 1 , hurtbox = pat:get_frame(410,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(410,0,5, { tex_index = 349 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(410,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(410,0,6, { tex_index = 350 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(410,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(410,0,7, { tex_index = 348 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(410,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(410,0,8, { tex_index = 349 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(410,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = pat:get_frame(410,0,12).fflags }) pat:update_frame(410,0,9, { tex_index = 350 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(410,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = pat:get_frame(410,0,12).fflags }) pat:update_frame(410,0,10, { tex_index = 348 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(410,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = pat:get_frame(410,0,12).fflags }) pat:update_frame(410,0,11, { tex_index = 349 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(410,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = pat:get_frame(410,0,12).fflags }) pat:update_frame(410,0,12, { tex_index = 350 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 16+7 , hurtbox = pat:get_frame(410,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(410,0,13, { tex_index = 346 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , tex_offset_y = baseY , duration = 5-1 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(410,0,14, { tex_index = 346 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , 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(410,0,14, { tex_index = 522 , 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(410,0,15, { tex_index = 380 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-6 , 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(410,0,16, { tex_index = 380 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-6 , 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(410,1,0, { tex_index = 1 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-12 , tex_offset_y = baseY , duration = 20 , hurtbox = pat:get_frame(410,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(410,1,1, { tex_index = 348 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 1 , hurtbox = pat:get_frame(410,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(410,1,2, { tex_index = 348 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 1 , hurtbox = pat:get_frame(410,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(410,1,3, { tex_index = 349 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(410,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(410,1,4, { tex_index = 350 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(410,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(410,1,5, { tex_index = 348 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(410,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(410,1,6, { tex_index = 349 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(410,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = pat:get_frame(410,0,12).fflags }) pat:update_frame(410,1,7, { tex_index = 350 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(410,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = pat:get_frame(410,0,12).fflags }) pat:update_frame(410,1,8, { tex_index = 348 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(410,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = pat:get_frame(410,0,12).fflags }) pat:update_frame(410,1,9, { tex_index = 349 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(410,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = pat:get_frame(410,0,12).fflags }) pat:update_frame(410,1,10, { tex_index = 350 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 16+7 , hurtbox = pat:get_frame(410,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(410,1,11, { tex_index = 346 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , tex_offset_y = baseY , duration = 5-1 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(410,1,12, { tex_index = 346 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , 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(410,1,12, { tex_index = 522 , 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(410,1,13, { tex_index = 380 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-6 , 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(410,1,14, { tex_index = 380 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-6 , 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(414,0,0, { tex_index = 347 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(414,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(414,0,0,function(frame) frame.hurtbox[1].y2 = frame.hurtbox[1].y2 + 15 end) pat:update_frame(414,0,1, { tex_index = 1 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-12 , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(414,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(414,0,1,function(frame) frame.hurtbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[2].x1 = frame.hurtbox[1].x1 - 10 frame.hurtbox[2].x2 = frame.hurtbox[1].x2 - 10 frame.hurtbox[2].y1 = frame.hurtbox[1].y1 - 5 frame.hurtbox[2].y2 = frame.hurtbox[2].y1 + 50 frame.hurtbox[1].y1 = frame.hurtbox[1].y1 + 20 end) pat:update_frame(414,0,2, { tex_index = 1 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-12 , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(414,0,1).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(414,0,3, { tex_index = 348 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 1 , hurtbox = pat:get_frame(414,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(414,0,3,function(frame) frame.hurtbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[2].x1 = frame.hurtbox[1].x1 + 15 frame.hurtbox[2].x2 = frame.hurtbox[1].x2 + 15 frame.hurtbox[2].y2 = frame.hurtbox[1].y1 + 40 frame.hurtbox[3] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[3].x1 = frame.hurtbox[1].x1 + 25 frame.hurtbox[3].x2 = frame.hurtbox[1].x2 + 25 frame.hurtbox[3].y1 = frame.hurtbox[1].y1 + 45 frame.hurtbox[3].y2 = frame.hurtbox[3].y1 + 35 frame.hurtbox[1].y1 = frame.hurtbox[1].y1 + 40 end) pat:update_frame(414,0,4, { tex_index = 348 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 1 , hurtbox = pat:get_frame(414,0,3).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(414,0,5, { tex_index = 349 , 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(9,0,0).collision }) pat:update_frame(414,0,6, { tex_index = 350 , 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(9,0,0).collision }) pat:update_frame(414,0,7, { tex_index = 348 , 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(9,0,0).collision }) pat:update_frame(414,0,8, { tex_index = 349 , 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(9,0,0).collision , fflags = pat:get_frame(414,0,12).fflags }) pat:update_frame(414,0,9, { tex_index = 350 , 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(9,0,0).collision , fflags = pat:get_frame(414,0,12).fflags }) pat:update_frame(414,0,10, { tex_index = 348 , 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(9,0,0).collision , fflags = pat:get_frame(414,0,12).fflags }) pat:update_frame(414,0,11, { tex_index = 349 , 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(9,0,0).collision , fflags = pat:get_frame(414,0,12).fflags }) pat:update_frame(414,0,12, { tex_index = 350 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 16+7 , hurtbox = pat:get_frame(414,0,3).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(414,0,13, { tex_index = 346 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , tex_offset_y = baseY , duration = 5-1 , hurtbox = pat:get_frame(414,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(414,0,14, { tex_index = 346 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , tex_offset_y = baseY , duration = 1 , hurtbox = pat:get_frame(414,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) --pat:update_frame(414,0,14, { tex_index = 522 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(414,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(414,0,15, { tex_index = 380 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-6 , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(414,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(414,0,16, { tex_index = 380 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-6 , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(414,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(414,1,0, { tex_index = 1 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-12 , tex_offset_y = baseY , duration = 20 , hurtbox = pat:get_frame(414,0,1).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(414,1,1, { tex_index = 348 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 1 , hurtbox = pat:get_frame(414,0,3).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(414,1,2, { tex_index = 348 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 1 , hurtbox = pat:get_frame(414,0,3).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(414,1,3, { tex_index = 349 , 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(9,0,0).collision }) pat:update_frame(414,1,4, { tex_index = 350 , 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(9,0,0).collision }) pat:update_frame(414,1,5, { tex_index = 348 , 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(9,0,0).collision }) pat:update_frame(414,1,6, { tex_index = 349 , 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(9,0,0).collision , fflags = pat:get_frame(414,0,12).fflags }) pat:update_frame(414,1,7, { tex_index = 350 , 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(9,0,0).collision , fflags = pat:get_frame(414,0,12).fflags }) pat:update_frame(414,1,8, { tex_index = 348 , 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(9,0,0).collision , fflags = pat:get_frame(414,0,12).fflags }) pat:update_frame(414,1,9, { tex_index = 349 , 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(9,0,0).collision , fflags = pat:get_frame(414,0,12).fflags }) pat:update_frame(414,1,10, { tex_index = 350 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 16+7 , hurtbox = pat:get_frame(414,0,3).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(414,1,11, { tex_index = 346 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , tex_offset_y = baseY , duration = 5-1 , hurtbox = pat:get_frame(414,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(414,1,12, { tex_index = 346 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , tex_offset_y = baseY , duration = 1 , hurtbox = pat:get_frame(414,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) --pat:update_frame(414,1,12, { tex_index = 522 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(414,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(414,1,13, { tex_index = 380 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-6 , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(414,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(414,1,14, { tex_index = 380 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-6 , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(414,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(414,2,0, { tex_index = 351 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(10,0,0).hurtbox , collision = pat:get_frame(10,0,0).collision }) pat:update_frame(414,2,1, { tex_index = 351 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(10,0,1).hurtbox , collision = pat:get_frame(10,0,1).collision }) pat:update_frame(414,2,2, { tex_index = 186 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(10,0,2).hurtbox , collision = pat:get_frame(10,0,2).collision }) -- 801,0 spawn effect -- 801,1 5c -- 801,2 unused -- 801,3 6c core -- 801,4 6c trail -- 801,5 unused -- spawn effect pat:remove_frame(801,0,1) pat:update_frame(801,0,0,function(frame) frame.tex_w = 0 end) pat:remove_frame(801,1,1) pat:remove_frame(801,3,1) pat:remove_frame(801,5,1) pat:remove_frame(801,6,1) pat:remove_frame(801,7,1) for idx = 1 , 7 do -- 6c core if (idx ~= 4) then for idy = 0 , 4 do pat:split_frame(801,idx,0,1,1) end pat:get_sequence(801,idx):set_priority(20,0) for idy = 0 , 4 do pat:update_frame(801,idx,idy,function(frame) frame.tex_index = 84+4 frame.tex_w = 192 frame.tex_h = 192 frame.tex_offset_x = 96 frame.tex_offset_y = 96 frame.scale_x = (idy+1)/5*130 frame.scale_y = (idy+1)/5*130 frame.attackbox = pat:get_frame(0,0,0).hurtbox frame.attackbox[1].x1 = -65 frame.attackbox[1].x2 = 65 frame.attackbox[1].y1 = -40 frame.attackbox[1].y2 = 40 frame.damage = 250 frame.limit = 10 frame.chip_damage = 0 frame.sp_damage = 50 frame.proration = 930 frame.untech = 45 if (idx >= 5) then frame.scale_x = (idy+1)/5*180 frame.scale_y = (idy+1)/5*180 frame.attackbox[1].x1 = -90 frame.attackbox[1].x2 = 90 frame.attackbox[1].y1 = -60 frame.attackbox[1].y2 = 60 frame.damage = 400 frame.sp_damage = 75 end frame.duration = 300 if (idy ~= 4) then frame.duration = 1 frame.attackbox = pat:get_frame(0,0,0).attackbox end frame.hitstop_enemy = 10 frame.blockstop_enemy = 4 frame.hitstop_self = 0 frame.blockstop_self = 0 frame.card_gain_hit = 50--20 frame.card_gain_block = 40--20 frame.attack_level = AL_HEAVY frame.hit_ani_air = 71 frame.hit_ani_ground = 71 frame.launch_vector_x = 500 frame.launch_vector_y = 1250 frame.combo_correction = CC_LIFT_ATTACK frame.fflags = 0x01000000 frame.aflags = 0x0041040e frame.unknown_9 = 100 frame.hit_effect = pat:get_frame(801,3,0).hit_effect frame.hit_sfx = pat:get_frame(801,3,0).hit_sfx end) end end end -- 6c trail pat:update_frame(801,4,0,function(frame) --frame.tex_index = 91 --frame.tex_w = 128 --frame.tex_h = 128 --frame.tex_offset_x = 64 --frame.tex_offset_y = 64 frame.scale_x = 100 frame.scale_y = 100 frame.color_b = 0 frame.color_g = 0 end) end function mods.b6c(pat) local baseX = 79*2 +8 local baseY = 155*2 +4 local baseW = 185 local baseH = 205 pat:update_frame(411,0,0, { tex_index = 347 , 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(411,0,1, { tex_index = 1 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-12 , 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 = 1 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-12 , 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,3, { tex_index = 348 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 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 = 348 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 1 , hurtbox = pat:get_frame(410,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(411,0,5, { tex_index = 349 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(410,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(411,0,6, { tex_index = 350 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(410,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(411,0,7, { tex_index = 348 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(410,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(411,0,8, { tex_index = 349 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(410,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = pat:get_frame(411,0,12).fflags }) pat:update_frame(411,0,9, { tex_index = 350 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(410,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = pat:get_frame(411,0,12).fflags }) pat:update_frame(411,0,10, { tex_index = 348 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(410,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = pat:get_frame(411,0,12).fflags }) pat:update_frame(411,0,11, { tex_index = 349 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(410,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = pat:get_frame(411,0,12).fflags }) pat:update_frame(411,0,12, { tex_index = 350 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 16+7 , hurtbox = pat:get_frame(410,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(411,0,13, { tex_index = 346 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , tex_offset_y = baseY , duration = 5-1 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(411,0,14, { tex_index = 346 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , 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(411,0,14, { tex_index = 522 , 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(411,0,15, { tex_index = 380 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-6 , 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(411,0,16, { tex_index = 380 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-6 , 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(411,1,0, { tex_index = 1 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-12 , tex_offset_y = baseY , duration = 20 , hurtbox = pat:get_frame(410,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(411,1,1, { tex_index = 348 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 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 = 348 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 1 , hurtbox = pat:get_frame(410,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(411,1,3, { tex_index = 349 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(410,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(411,1,4, { tex_index = 350 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(410,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(411,1,5, { tex_index = 348 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(410,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(411,1,6, { tex_index = 349 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(410,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = pat:get_frame(411,0,12).fflags }) pat:update_frame(411,1,7, { tex_index = 350 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(410,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = pat:get_frame(411,0,12).fflags }) pat:update_frame(411,1,8, { tex_index = 348 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(410,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = pat:get_frame(411,0,12).fflags }) pat:update_frame(411,1,9, { tex_index = 349 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(410,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = pat:get_frame(411,0,12).fflags }) pat:update_frame(411,1,10, { tex_index = 350 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 16+7 , hurtbox = pat:get_frame(410,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(411,1,11, { tex_index = 346 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , tex_offset_y = baseY , duration = 5-1 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(411,1,12, { tex_index = 346 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , 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(411,1,12, { tex_index = 522 , 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(411,1,13, { tex_index = 380 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-6 , 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(411,1,14, { tex_index = 380 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-6 , 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(415,0,0, { tex_index = 347 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+2 , duration = 4 , hurtbox = pat:get_frame(414,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(415,0,1, { tex_index = 1 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-12 , tex_offset_y = baseY+2 , duration = 4 , hurtbox = pat:get_frame(414,0,1).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(415,0,2, { tex_index = 1 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-12 , tex_offset_y = baseY+2 , duration = 4 , hurtbox = pat:get_frame(414,0,1).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(415,0,3, { tex_index = 348 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+2 , duration = 1 , hurtbox = pat:get_frame(414,0,3).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(415,0,4, { tex_index = 348 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+2 , duration = 1 , hurtbox = pat:get_frame(414,0,3).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(415,0,5, { tex_index = 349 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+2 , duration = 4 , hurtbox = pat:get_frame(414,0,3).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(415,0,6, { tex_index = 350 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+2 , duration = 4 , hurtbox = pat:get_frame(414,0,3).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(415,0,7, { tex_index = 348 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+2 , duration = 4 , hurtbox = pat:get_frame(414,0,3).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(415,0,8, { tex_index = 349 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+2 , duration = 4 , hurtbox = pat:get_frame(414,0,3).hurtbox , collision = pat:get_frame(9,0,0).collision , fflags = pat:get_frame(415,0,12).fflags }) pat:update_frame(415,0,9, { tex_index = 350 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+2 , duration = 4 , hurtbox = pat:get_frame(414,0,3).hurtbox , collision = pat:get_frame(9,0,0).collision , fflags = pat:get_frame(415,0,12).fflags }) pat:update_frame(415,0,10, { tex_index = 348 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+2 , duration = 4 , hurtbox = pat:get_frame(414,0,3).hurtbox , collision = pat:get_frame(9,0,0).collision , fflags = pat:get_frame(415,0,12).fflags }) pat:update_frame(415,0,11, { tex_index = 349 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+2 , duration = 4 , hurtbox = pat:get_frame(414,0,3).hurtbox , collision = pat:get_frame(9,0,0).collision , fflags = pat:get_frame(415,0,12).fflags }) pat:update_frame(415,0,12, { tex_index = 350 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+2 , duration = 16+7 , hurtbox = pat:get_frame(414,0,3).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(415,0,13, { tex_index = 346 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , tex_offset_y = baseY+2 , duration = 5-1 , hurtbox = pat:get_frame(414,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(415,0,14, { tex_index = 346 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , tex_offset_y = baseY+2 , duration = 1 , hurtbox = pat:get_frame(414,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) --pat:update_frame(415,0,14, { tex_index = 522 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+2 , duration = 4 , hurtbox = pat:get_frame(414,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(415,0,15, { tex_index = 380 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-6 , tex_offset_y = baseY+2 , duration = 2 , hurtbox = pat:get_frame(414,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(415,0,16, { tex_index = 380 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-6 , tex_offset_y = baseY+2 , duration = 2 , hurtbox = pat:get_frame(414,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(415,1,0, { tex_index = 1 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-12 , tex_offset_y = baseY+2 , duration = 20 , hurtbox = pat:get_frame(414,0,1).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(415,1,1, { tex_index = 348 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+2 , duration = 1 , hurtbox = pat:get_frame(414,0,3).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(415,1,2, { tex_index = 348 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+2 , duration = 1 , hurtbox = pat:get_frame(414,0,3).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(415,1,3, { tex_index = 349 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+2 , duration = 4 , hurtbox = pat:get_frame(414,0,3).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(415,1,4, { tex_index = 350 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+2 , duration = 4 , hurtbox = pat:get_frame(414,0,3).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(415,1,5, { tex_index = 348 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+2 , duration = 4 , hurtbox = pat:get_frame(414,0,3).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(415,1,6, { tex_index = 349 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+2 , duration = 4 , hurtbox = pat:get_frame(414,0,3).hurtbox , collision = pat:get_frame(9,0,0).collision , fflags = pat:get_frame(415,0,12).fflags }) pat:update_frame(415,1,7, { tex_index = 350 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+2 , duration = 4 , hurtbox = pat:get_frame(414,0,3).hurtbox , collision = pat:get_frame(9,0,0).collision , fflags = pat:get_frame(415,0,12).fflags }) pat:update_frame(415,1,8, { tex_index = 348 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+2 , duration = 4 , hurtbox = pat:get_frame(414,0,3).hurtbox , collision = pat:get_frame(9,0,0).collision , fflags = pat:get_frame(415,0,12).fflags }) pat:update_frame(415,1,9, { tex_index = 349 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+2 , duration = 4 , hurtbox = pat:get_frame(414,0,3).hurtbox , collision = pat:get_frame(9,0,0).collision , fflags = pat:get_frame(415,0,12).fflags }) pat:update_frame(415,1,10, { tex_index = 350 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+2 , duration = 16+7 , hurtbox = pat:get_frame(414,0,3).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(415,1,11, { tex_index = 346 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , tex_offset_y = baseY+2 , duration = 5-1 , hurtbox = pat:get_frame(414,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(415,1,12, { tex_index = 346 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , tex_offset_y = baseY+2 , duration = 1 , hurtbox = pat:get_frame(414,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) --pat:update_frame(415,1,12, { tex_index = 522 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+2 , duration = 4 , hurtbox = pat:get_frame(414,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(415,1,13, { tex_index = 380 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-6 , tex_offset_y = baseY+2 , duration = 2 , hurtbox = pat:get_frame(414,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(415,1,14, { tex_index = 380 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-6 , tex_offset_y = baseY+2 , duration = 2 , hurtbox = pat:get_frame(414,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(415,2,0, { tex_index = 351 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(10,0,0).hurtbox , collision = pat:get_frame(10,0,0).collision }) pat:update_frame(415,2,1, { tex_index = 351 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(10,0,1).hurtbox , collision = pat:get_frame(10,0,1).collision }) pat:update_frame(415,2,2, { tex_index = 186 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(10,0,2).hurtbox , collision = pat:get_frame(10,0,2).collision }) end function mods.b2c(pat) local baseX = 79*2 +8 local baseY = 155*2 +4 local baseW = 185 local baseH = 205 pat:update_frame(412,0,0, { tex_index = 347 , 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(412,0,1, { tex_index = 1 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-12 , 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(412,0,2, { tex_index = 1 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-12 , 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(412,0,3, { tex_index = 348 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 1 , hurtbox = pat:get_frame(410,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(412,0,4, { tex_index = 348 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 1 , hurtbox = pat:get_frame(410,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(412,0,5, { tex_index = 349 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(410,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(412,0,6, { tex_index = 350 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(410,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(412,0,7, { tex_index = 348 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(410,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(412,0,8, { tex_index = 349 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(410,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = pat:get_frame(412,0,12).fflags }) pat:update_frame(412,0,9, { tex_index = 350 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(410,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = pat:get_frame(412,0,12).fflags }) pat:update_frame(412,0,10, { tex_index = 348 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(410,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = pat:get_frame(412,0,12).fflags }) pat:update_frame(412,0,11, { tex_index = 349 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(410,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = pat:get_frame(412,0,12).fflags }) pat:update_frame(412,0,12, { tex_index = 350 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 16+7 , hurtbox = pat:get_frame(410,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(412,0,13, { tex_index = 346 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , tex_offset_y = baseY , duration = 5-1 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(412,0,14, { tex_index = 346 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , 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(412,0,14, { tex_index = 522 , 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(412,0,15, { tex_index = 380 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-6 , 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(412,0,16, { tex_index = 380 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-6 , 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(412,1,0, { tex_index = 1 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-12 , tex_offset_y = baseY , duration = 20 , hurtbox = pat:get_frame(410,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(412,1,1, { tex_index = 348 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 1 , hurtbox = pat:get_frame(410,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(412,1,2, { tex_index = 348 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 1 , hurtbox = pat:get_frame(410,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(412,1,3, { tex_index = 349 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(410,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(412,1,4, { tex_index = 350 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(410,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(412,1,5, { tex_index = 348 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(410,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(412,1,6, { tex_index = 349 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(410,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = pat:get_frame(412,0,12).fflags }) pat:update_frame(412,1,7, { tex_index = 350 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(410,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = pat:get_frame(412,0,12).fflags }) pat:update_frame(412,1,8, { tex_index = 348 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(410,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = pat:get_frame(412,0,12).fflags }) pat:update_frame(412,1,9, { tex_index = 349 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(410,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = pat:get_frame(412,0,12).fflags }) pat:update_frame(412,1,10, { tex_index = 350 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 16+7 , hurtbox = pat:get_frame(410,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(412,1,11, { tex_index = 346 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , tex_offset_y = baseY , duration = 5-1 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(412,1,12, { tex_index = 346 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , 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(412,1,12, { tex_index = 522 , 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(412,1,13, { tex_index = 380 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-6 , 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(412,1,14, { tex_index = 380 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-6 , 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(416,0,0, { tex_index = 347 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+2 , duration = 4 , hurtbox = pat:get_frame(414,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(416,0,1, { tex_index = 1 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-12 , tex_offset_y = baseY+2 , duration = 4 , hurtbox = pat:get_frame(414,0,1).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(416,0,2, { tex_index = 1 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-12 , tex_offset_y = baseY+2 , duration = 4 , hurtbox = pat:get_frame(414,0,1).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(416,0,3, { tex_index = 348 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+2 , duration = 1 , hurtbox = pat:get_frame(414,0,3).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(416,0,4, { tex_index = 348 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+2 , duration = 1 , hurtbox = pat:get_frame(414,0,3).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(416,0,5, { tex_index = 349 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+2 , duration = 4 , hurtbox = pat:get_frame(414,0,3).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(416,0,6, { tex_index = 350 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+2 , duration = 4 , hurtbox = pat:get_frame(414,0,3).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(416,0,7, { tex_index = 348 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+2 , duration = 4 , hurtbox = pat:get_frame(414,0,3).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(416,0,8, { tex_index = 349 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+2 , duration = 4 , hurtbox = pat:get_frame(414,0,3).hurtbox , collision = pat:get_frame(9,0,0).collision , fflags = pat:get_frame(416,0,12).fflags }) pat:update_frame(416,0,9, { tex_index = 350 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+2 , duration = 4 , hurtbox = pat:get_frame(414,0,3).hurtbox , collision = pat:get_frame(9,0,0).collisionn , fflags = pat:get_frame(416,0,12).fflags }) pat:update_frame(416,0,10, { tex_index = 348 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+2 , duration = 4 , hurtbox = pat:get_frame(414,0,3).hurtbox , collision = pat:get_frame(9,0,0).collisionn , fflags = pat:get_frame(416,0,12).fflags }) pat:update_frame(416,0,11, { tex_index = 349 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+2 , duration = 4 , hurtbox = pat:get_frame(414,0,3).hurtbox , collision = pat:get_frame(9,0,0).collision , fflags = pat:get_frame(416,0,12).fflags }) pat:update_frame(416,0,12, { tex_index = 350 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+2 , duration = 16+7 , hurtbox = pat:get_frame(414,0,3).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(416,0,13, { tex_index = 346 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , tex_offset_y = baseY+2 , duration = 5-1 , hurtbox = pat:get_frame(414,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(416,0,14, { tex_index = 346 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , tex_offset_y = baseY+2 , duration = 1 , hurtbox = pat:get_frame(414,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) --pat:update_frame(416,0,14, { tex_index = 522 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+2 , duration = 4 , hurtbox = pat:get_frame(414,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(416,0,15, { tex_index = 380 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-6 , tex_offset_y = baseY+2 , duration = 2 , hurtbox = pat:get_frame(414,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(416,0,16, { tex_index = 380 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-6 , tex_offset_y = baseY+2 , duration = 2 , hurtbox = pat:get_frame(414,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(416,1,0, { tex_index = 1 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-12 , tex_offset_y = baseY+2 , duration = 20 , hurtbox = pat:get_frame(414,0,1).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(416,1,1, { tex_index = 348 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+2 , duration = 1 , hurtbox = pat:get_frame(414,0,3).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(416,1,2, { tex_index = 348 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+2 , duration = 1 , hurtbox = pat:get_frame(414,0,3).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(416,1,3, { tex_index = 349 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+2 , duration = 4 , hurtbox = pat:get_frame(414,0,3).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(416,1,4, { tex_index = 350 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+2 , duration = 4 , hurtbox = pat:get_frame(414,0,3).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(416,1,5, { tex_index = 348 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+2 , duration = 4 , hurtbox = pat:get_frame(414,0,3).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(416,1,6, { tex_index = 349 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+2 , duration = 4 , hurtbox = pat:get_frame(414,0,3).hurtbox , collision = pat:get_frame(9,0,0).collision , fflags = pat:get_frame(416,0,12).fflags }) pat:update_frame(416,1,7, { tex_index = 350 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+2 , duration = 4 , hurtbox = pat:get_frame(414,0,3).hurtbox , collision = pat:get_frame(9,0,0).collision , fflags = pat:get_frame(416,0,12).fflags }) pat:update_frame(416,1,8, { tex_index = 348 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+2 , duration = 4 , hurtbox = pat:get_frame(414,0,3).hurtbox , collision = pat:get_frame(9,0,0).collision , fflags = pat:get_frame(416,0,12).fflags }) pat:update_frame(416,1,9, { tex_index = 349 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+2 , duration = 4 , hurtbox = pat:get_frame(414,0,3).hurtbox , collision = pat:get_frame(9,0,0).collision , fflags = pat:get_frame(416,0,12).fflags }) pat:update_frame(416,1,10, { tex_index = 350 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+2 , duration = 16+7 , hurtbox = pat:get_frame(414,0,3).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(416,1,11, { tex_index = 346 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , tex_offset_y = baseY+2 , duration = 5-1 , hurtbox = pat:get_frame(414,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(416,1,12, { tex_index = 346 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , tex_offset_y = baseY+2 , duration = 1 , hurtbox = pat:get_frame(414,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) --pat:update_frame(416,1,12, { tex_index = 522 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+2 , duration = 4 , hurtbox = pat:get_frame(414,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(416,1,13, { tex_index = 380 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-6 , tex_offset_y = baseY+2 , duration = 2 , hurtbox = pat:get_frame(414,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(416,1,14, { tex_index = 380 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-6 , tex_offset_y = baseY+2 , duration = 2 , hurtbox = pat:get_frame(414,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(416,2,0, { tex_index = 351 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(10,0,0).hurtbox , collision = pat:get_frame(10,0,0).collision }) pat:update_frame(416,2,1, { tex_index = 351 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(10,0,1).hurtbox , collision = pat:get_frame(10,0,1).collision }) pat:update_frame(416,2,2, { tex_index = 186 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(10,0,2).hurtbox , collision = pat:get_frame(10,0,2).collision }) end function mods.d236(pat) --[[ d236 : vine atk 236 lance : venus flight trap 236 wisp : trees d214 : bullets 214 laser : 214 bloom : jump bullets d623 : mind reading buff 623 spin : spawn bullet when opponent shoots bullets 623 flip : d421 : hypnosis: gain cards 421 grab : grab hypnosis 421 wisp : psychedelic kaleidoscope: damaging laser that gives meter when grazed or hitting ]]-- --520 ~ 523 --815 local baseX = 79*2 +8 local baseY = 155*2 +4 local baseW = 185 local baseH = 205 pat:update_frame(520,0,0, { tex_index = 327 , 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,1, { tex_index = 327 , 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,2, { tex_index = 328 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2+2 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(520,0,3, { tex_index = 328 , 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(520,0,4, { tex_index = 331 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(400,0,6).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(520,0,5, { tex_index = 330 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(400,0,7).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(520,0,6, { tex_index = 329 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(400,0,8).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000041 }) pat:update_frame(520,0,7, { tex_index = 329 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(400,0,8).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(520,0,8, { tex_index = 329 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(400,0,8).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(520,0,9, { tex_index = 329 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(400,0,8).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(520,0,10, { tex_index = 329 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(400,0,8).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(520,0,11, { tex_index = 329 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(400,0,8).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(520,0,12, { tex_index = 329 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(400,0,8).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(520,0,13, { tex_index = 329 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(400,0,8).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(520,0,14, { tex_index = 329 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(400,0,8).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(520,0,15, { tex_index = 329 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(400,0,8).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(520,0,16, { tex_index = 329 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 18+2 , hurtbox = pat:get_frame(400,0,8).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(520,0,17, { tex_index = 329 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3+2 , hurtbox = pat:get_frame(400,0,8).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(520,0,18, { tex_index = 328 , 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(520,0,18,4,4) pat:split_frame(520,0,18,4,4) pat:update_frame(520,0,18, { tex_index = 330 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(400,0,7).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(520,0,19, { tex_index = 331 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(400,0,6).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(520,0,20, { tex_index = 328 , 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(521,0,0, { tex_index = 327 , 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(521,0,1, { tex_index = 327 , 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(521,0,2, { tex_index = 328 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2+4 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(521,0,3, { tex_index = 328 , 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(521,0,4, { tex_index = 328 , 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(521,0,5, { tex_index = 331 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(400,0,6).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(521,0,6, { tex_index = 330 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(400,0,7).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000041 }) pat:update_frame(521,0,7, { tex_index = 330 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(400,0,7).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(521,0,8, { tex_index = 330 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(400,0,7).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(521,0,9, { tex_index = 330 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(400,0,7).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(521,0,10, { tex_index = 330 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(400,0,7).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(521,0,11, { tex_index = 330 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(400,0,7).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(521,0,12, { tex_index = 330 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(400,0,7).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(521,0,13, { tex_index = 330 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(400,0,7).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(521,0,14, { tex_index = 330 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(400,0,7).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(521,0,15, { tex_index = 330 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(400,0,7).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(521,0,16, { tex_index = 330 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 18+2 , hurtbox = pat:get_frame(400,0,7).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(521,0,17, { tex_index = 329 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3+2 , hurtbox = pat:get_frame(400,0,8).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(521,0,18, { tex_index = 328 , 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(521,0,18,4,4) pat:split_frame(521,0,18,4,4) pat:update_frame(521,0,17, { tex_index = 330 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3+2 , hurtbox = pat:get_frame(400,0,7).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(521,0,18, { tex_index = 330 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(400,0,7).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(521,0,19, { tex_index = 331 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(400,0,6).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(521,0,20, { tex_index = 328 , 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(522,0,0, { tex_index = 60 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+12 , duration = 2 , hurtbox = pat:get_frame(404,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(522,0,1, { tex_index = 60 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+12 , duration = 2 , hurtbox = pat:get_frame(404,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) --pat:update_frame(522,0,0, { tex_index = 327 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+2 , duration = 2 , hurtbox = pat:get_frame(404,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) --pat:update_frame(522,0,1, { tex_index = 327 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+2 , duration = 2 , hurtbox = pat:get_frame(404,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(522,0,2, { tex_index = 25 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+2 , duration = 2 , hurtbox = pat:get_frame(404,0,2).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(522,0,3, { tex_index = 25 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+2 , duration = 2 , hurtbox = pat:get_frame(404,0,2).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(522,0,4, { tex_index = 28 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+2 , duration = 2 , hurtbox = pat:get_frame(404,0,6).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(522,0,5, { tex_index = 27 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+2 , duration = 2 , hurtbox = pat:get_frame(404,0,7).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(522,0,6, { tex_index = 26 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+2 , duration = 3 , hurtbox = pat:get_frame(404,0,8).hurtbox , collision = pat:get_frame(9,0,0).collision , fflags = 0x00000044 }) --fire pat:update_frame(522,0,7, { tex_index = 26 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+2 , duration = 3 , hurtbox = pat:get_frame(404,0,8).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(522,0,8, { tex_index = 26 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+2 , duration = 3 , hurtbox = pat:get_frame(404,0,8).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(522,0,9, { tex_index = 26 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+2 , duration = 3 , hurtbox = pat:get_frame(404,0,8).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(522,0,10, { tex_index = 26 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+2 , duration = 3 , hurtbox = pat:get_frame(404,0,8).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(522,0,11, { tex_index = 26 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+2 , duration = 3 , hurtbox = pat:get_frame(404,0,8).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(522,0,12, { tex_index = 26 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+2 , duration = 3 , hurtbox = pat:get_frame(404,0,8).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(522,0,13, { tex_index = 26 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+2 , duration = 3 , hurtbox = pat:get_frame(404,0,8).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(522,0,14, { tex_index = 26 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+2 , duration = 3 , hurtbox = pat:get_frame(404,0,8).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(522,0,15, { tex_index = 26 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+2 , duration = 3 , hurtbox = pat:get_frame(404,0,8).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(522,0,16, { tex_index = 26 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+2 , duration = 18+2 , hurtbox = pat:get_frame(404,0,8).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(522,0,17, { tex_index = 26 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+2 , duration = 3+2 , hurtbox = pat:get_frame(404,0,8).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(522,0,18, { tex_index = 25 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+2 , duration = 4 , hurtbox = pat:get_frame(404,0,2).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:split_frame(522,0,18,4,4) pat:split_frame(522,0,18,4,4) pat:update_frame(522,0,18, { tex_index = 27 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(404,0,7).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(522,0,19, { tex_index = 28 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(404,0,6).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(522,0,20, { tex_index = 25 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(404,0,2).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(522,2,0, { tex_index = 351 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(10,0,0).hurtbox , collision = pat:get_frame(10,0,0).collision }) pat:update_frame(522,2,1, { tex_index = 351 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(10,0,1).hurtbox , collision = pat:get_frame(10,0,1).collision }) pat:update_frame(522,2,2, { tex_index = 186 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(10,0,2).hurtbox , collision = pat:get_frame(10,0,2).collision }) pat:update_frame(523,0,0, { tex_index = 60 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+12 , duration = 2 , hurtbox = pat:get_frame(404,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(523,0,1, { tex_index = 60 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+12 , duration = 2 , hurtbox = pat:get_frame(404,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) --pat:update_frame(523,0,0, { tex_index = 327 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+2 , duration = 2 , hurtbox = pat:get_frame(404,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) --pat:update_frame(523,0,1, { tex_index = 327 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+2 , duration = 2 , hurtbox = pat:get_frame(404,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(523,0,2, { tex_index = 25 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+2 , duration = 2 , hurtbox = pat:get_frame(404,0,2).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(523,0,3, { tex_index = 25 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+2 , duration = 2 , hurtbox = pat:get_frame(404,0,2).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(523,0,4, { tex_index = 25 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+2 , duration = 2 , hurtbox = pat:get_frame(404,0,2).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(523,0,5, { tex_index = 28 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+2 , duration = 2 , hurtbox = pat:get_frame(404,0,6).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(523,0,6, { tex_index = 27 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+2 , duration = 3 , hurtbox = pat:get_frame(404,0,7).hurtbox , collision = pat:get_frame(9,0,0).collision , fflags = 0x00000044 }) --fire --pat:update_frame(523,0,7, { tex_index = 329 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+2 , duration = 3 , hurtbox = pat:get_frame(404,0,8).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(523,0,7, { tex_index = 27 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+2 , duration = 3 , hurtbox = pat:get_frame(404,0,7).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(523,0,8, { tex_index = 27 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+2 , duration = 3 , hurtbox = pat:get_frame(404,0,7).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(523,0,9, { tex_index = 27 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+2 , duration = 3 , hurtbox = pat:get_frame(404,0,7).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(523,0,10, { tex_index = 27 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+2 , duration = 3 , hurtbox = pat:get_frame(404,0,7).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(523,0,11, { tex_index = 27 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+2 , duration = 3 , hurtbox = pat:get_frame(404,0,7).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(523,0,12, { tex_index = 27 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+2 , duration = 3 , hurtbox = pat:get_frame(404,0,7).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(523,0,13, { tex_index = 27 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+2 , duration = 3 , hurtbox = pat:get_frame(404,0,7).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(523,0,14, { tex_index = 27 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+2 , duration = 3 , hurtbox = pat:get_frame(404,0,7).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(523,0,15, { tex_index = 27 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+2 , duration = 3 , hurtbox = pat:get_frame(404,0,7).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(523,0,16, { tex_index = 27 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+2 , duration = 18+2 , hurtbox = pat:get_frame(404,0,7).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(523,0,17, { tex_index = 26 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+2 , duration = 3+2 , hurtbox = pat:get_frame(404,0,8).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(523,0,18, { tex_index = 25 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+2 , duration = 4 , hurtbox = pat:get_frame(404,0,2).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:split_frame(523,0,18,4,4) pat:split_frame(523,0,18,4,4) pat:update_frame(523,0,17, { tex_index = 27 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3+2 , hurtbox = pat:get_frame(404,0,7).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(523,0,18, { tex_index = 27 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(404,0,7).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(523,0,19, { tex_index = 28 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(404,0,6).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(523,0,20, { tex_index = 25 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(404,0,2).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(523,2,0, { tex_index = 351 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(10,0,0).hurtbox , collision = pat:get_frame(10,0,0).collision }) pat:update_frame(523,2,1, { tex_index = 351 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(10,0,1).hurtbox , collision = pat:get_frame(10,0,1).collision }) pat:update_frame(523,2,2, { tex_index = 186 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(10,0,2).hurtbox , collision = pat:get_frame(10,0,2).collision }) pat:update_frame(815,0,0,{tex_index = 100 , scale_x = 240 , scale_y = 240 }) pat:update_frame(815,0,1,{tex_index = 100 , scale_x = 250 , scale_y = 250 }) for idy = 1 , 3 do pat:update_frame(815,idy,0,function(frame) frame.duration = 1 frame.tex_w = 0 end) for idx = 1 , 1 +13-1 do pat:split_frame(815,idy,1,1,1) end for idx = 1 , 1 +13 do pat:update_frame(815,idy,idx,function(frame) --frame.tex_index = 105 + 13 - (idx-1) scal = 1.2 + (idy-1)/5 frame.tex_index = 105 -1 +idx frame.tex_w = 985 frame.tex_h = 736 frame.tex_offset_x = 479 frame.tex_offset_y = 479 frame.angle_z = 90 frame.scale_y = 70 * scal frame.scale_x = 70 * scal if (idx > 9+1) then --frame.scale_y = 100 + (idx-(9+1)) * 50 --frame.scale_x = 100 + (idx-(9+1)) * 50 end frame.duration = 2 frame.attackbox[1].x1 = -40 idx1 = idx-2 if (idx1==1) then frame.attackbox[1].x2 = 80 * scal frame.attackbox[1].y1 = -20 * scal frame.attackbox[1].y2 = 20 * scal frame.attackbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.attackbox[2].x1 = -10 frame.attackbox[2].x2 = 60 * scal frame.attackbox[2].y1 = -60 * scal frame.attackbox[2].y2 = 60 * scal elseif (idx1==2) then frame.attackbox[1].x2 = 120 * scal frame.attackbox[1].y1 = -20 * scal frame.attackbox[1].y2 = 20 * scal frame.attackbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.attackbox[2].x1 = 20 * scal frame.attackbox[2].x2 = 100 * scal frame.attackbox[2].y1 = -80 * scal frame.attackbox[2].y2 = 80 * scal elseif (idx1==3) then frame.attackbox[1].x2 = 180 * scal frame.attackbox[1].y1 = -20 * scal frame.attackbox[1].y2 = 20 * scal frame.attackbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.attackbox[2].x1 = 40 * scal frame.attackbox[2].x2 = 160 * scal frame.attackbox[2].y1 = -60 * scal frame.attackbox[2].y2 = 60 * scal elseif (idx1==4) then frame.attackbox[1].x2 = 240 * scal frame.attackbox[1].y1 = -20 * scal frame.attackbox[1].y2 = 20 * scal frame.attackbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.attackbox[2].x1 = 40 * scal frame.attackbox[2].x2 = 120 * scal frame.attackbox[2].y1 = -40 * scal frame.attackbox[2].y2 = 40 * scal elseif (idx1>=6) then frame.attackbox[1].x2 = (320 - ((idx1-4)*30)) * scal frame.attackbox[1].y1 = -20 * scal frame.attackbox[1].y2 = 20 * scal if (frame.attackbox[1].x2 <= 0) then frame.attackbox = pat:get_frame(0,0,0).attackbox end elseif (idx1>=5) then frame.attackbox[1].x2 = 320 * scal frame.attackbox[1].y1 = -20 * scal frame.attackbox[1].y2 = 20 * scal frame.duration = 12 else end frame.damage = 300 frame.chip_damage = 30 frame.proration = 950 if (idx <= 5) then frame.damage = 500 frame.chip_damage = 50 frame.proration = 950 end frame.limit = 10 frame.untech = 45 frame.launch_vector_x = 600 frame.launch_vector_y = 1450 frame.combo_correction = CC_LIFT_ATTACK frame.attack_level = AL_HEAVY frame.hit_ani_air = 71 frame.hit_ani_ground = 71 frame.untech = 50 frame.launch_vector_x = 2450 frame.launch_vector_y = 1450 frame.combo_correction = CC_SMASH_ATTACK frame.hit_ani_air = 74 frame.hit_ani_ground = 74 frame.sp_damage = 80 frame.card_gain_hit = 20--30 frame.card_gain_block = 20--30 frame.hitstop_self = 0 frame.hitstop_enemy = 16 frame.blockstop_self = 0 frame.blockstop_enemy = 10 end) end pat:update_frame(815,idy,15,{ tex_w = 0 , attackbox = pat:get_frame(0,0,0).attackbox }) pat:remove_frame(815,idy,1) pat:remove_frame(815,idy,1) end end function mods.d214(pat) --simple barrage local baseX = 79*2 +8 local baseY = 155*2 +4 local baseW = 185 local baseH = 205 for idy = 0 , 3 do pat:update_frame(500+idy,0,0, { tex_index = 380 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(500+idy,0,1, { tex_index = 377 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(500+idy,0,2, { tex_index = 378 , tex_w = baseW , tex_h = baseH , tex_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-4 }) pat:update_frame(500+idy,0,3, { tex_index = 378 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(500+idy,0,4, { tex_index = 379 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(500+idy,0,4,function(frame) frame.hurtbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[2].x1 = frame.hurtbox[1].x2 - 20 frame.hurtbox[2].x2 = frame.hurtbox[1].x2 + 30 frame.hurtbox[2].y1 = frame.hurtbox[1].y1 + 25 frame.hurtbox[2].y2 = frame.hurtbox[2].y1 + 40 end) pat:update_frame(500+idy,0,5, { tex_index = 379 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(500+idy,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(500+idy,0,6, { tex_index = 379 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(500+idy,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = pat:get_frame(500+idy,0,9).fflags }) pat:update_frame(500+idy,0,7, { tex_index = 379 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(500+idy,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = pat:get_frame(500+idy,0,9).fflags }) pat:update_frame(500+idy,0,8, { tex_index = 379 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(500+idy,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = pat:get_frame(500+idy,0,9).fflags }) pat:update_frame(500+idy,0,9, { tex_index = 379 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(500+idy,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(500+idy,0,10, { tex_index = 379 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(500+idy,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4+6+2 }) pat:update_frame(500+idy,0,11, { tex_index = 377 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(500+idy,0,12, { tex_index = 380 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) if (idy >= 2) then for idx = 4 , 10 do pat:update_frame(500+idy,0,idx,function(frame) frame.hurtbox[1].y2 = frame.hurtbox[1].y2 - 10 end) end pat:update_frame(500+idy,2,0, { tex_index = 351 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(10,0,0).hurtbox , collision = pat:get_frame(10,0,0).collision }) pat:update_frame(500+idy,2,1, { tex_index = 351 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(10,0,1).hurtbox , collision = pat:get_frame(10,0,1).collision }) pat:update_frame(500+idy,2,2, { tex_index = 186 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(10,0,2).hurtbox , collision = pat:get_frame(10,0,2).collision }) end end pat:update_frame(810,12,0,function(frame) end) pat:update_frame(810,0,0,{ tex_index = 100 , tex_w = 128 , tex_h = 128 , tex_offset_x = 64 , tex_offset_y = 64 , scale_x = 50 , scale_y = 20 }) pat:update_frame(810,1,0,{ tex_index = 99 , tex_w = 128 , tex_h = 128 , tex_offset_x = 64 , tex_offset_y = 64 , scale_x = 150 , scale_y = 150 }) pat:update_frame(810,2,0,{ tex_index = 100 , tex_w = 128 , tex_h = 128 , tex_offset_x = 64 , tex_offset_y = 64 , scale_x = 150 , scale_y = 150 }) pat:update_frame(810,3,0,{ tex_index = 99 , tex_w = 128 , tex_h = 128 , tex_offset_x = 64 , tex_offset_y = 64 , scale_x = 50 , scale_y = 20 }) pat:update_frame(810,4,0,{ tex_index = 100 , tex_w = 128 , tex_h = 128 , tex_offset_x = 64 , tex_offset_y = 64 , scale_x = 20 , scale_y = 10 }) pat:update_frame(810,5,0,{ tex_index = 99 , tex_w = 128 , tex_h = 128 , tex_offset_x = 64 , tex_offset_y = 64 , scale_x = 40 , scale_y = 40 }) pat:update_frame(810,6,0,{ tex_index = 100 , tex_w = 128 , tex_h = 128 , tex_offset_x = 64 , tex_offset_y = 64 , scale_x = 40 , scale_y = 40 }) pat:update_frame(810,7,0,{ tex_index = 99 , tex_w = 128 , tex_h = 128 , tex_offset_x = 64 , tex_offset_y = 64 , scale_x = 20 , scale_y = 10 }) pat:get_sequence(810,0):set_priority(10,0) pat:get_sequence(810,1):set_priority(20,0) pat:get_sequence(810,2):set_priority(20,0) pat:get_sequence(810,3):set_priority(10,0) for idx = 0 , 3 do if (idx == 0 or idx == 3) then pat:update_frame (810,idx,0,function(frame) frame.attackbox[1].x1 = -10 frame.attackbox[1].x2 = 10 frame.attackbox[1].y1 = -10 frame.attackbox[1].y2 = 10 frame.limit = 2 frame.damage = 100 frame.chip_damage = 10 frame.proration = 950 frame.untech = 25 frame.card_gain_hit = 20 frame.card_gain_block = 20 end) else end end for idx = 1 , 2 do pat:update_frame (810,idx,0,function(frame) frame.attackbox[1].x1 = -25 frame.attackbox[1].x2 = 25 frame.attackbox[1].y1 = -25 frame.attackbox[1].y2 = 25 frame.limit = 5 frame.damage = 250 frame.chip_damage = 25 frame.proration = 920 frame.untech = 25 frame.card_gain_hit = 20--30 frame.card_gain_block = 20--30 end) end pat:update_frame(810,8,0,{tex_w = 0}) pat:update_frame(810,9,0,{tex_w = 0}) pat:update_frame(810,10,0,{tex_w = 0}) pat:update_frame(810,11,0,{tex_w = 0}) pat:update_frame(810,13,0,function(frame) end) end function mods.d421(pat) --hypnosis, card break local baseX = 79*2 +8 local baseY = 155*2 +4 local baseW = 185 local baseH = 205 pat:update_frame(540,0,0, { tex_index = 347 , 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 = 0x00000041}) pat:update_frame(540,0,1, { tex_index = 1 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-12 , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(410,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000041 }) pat:update_frame(540,0,2, { tex_index = 1 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-12 , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(410,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000041 }) pat:update_frame(540,0,3, { tex_index = 348 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 1 , hurtbox = pat:get_frame(410,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000041 }) pat:update_frame(540,0,4, { tex_index = 348 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 1+1 , hurtbox = pat:get_frame(410,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000041 }) pat:update_frame(540,0,5, { tex_index = 341 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(410,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000041 }) pat:update_frame(540,0,6, { tex_index = 341 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(410,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000041 }) pat:update_frame(540,1,0, { tex_index = 342 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(410,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000041 }) pat:update_frame(540,1,1, { tex_index = 340 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(410,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000041 }) pat:update_frame(540,1,2, { tex_index = 341 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(410,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000041 }) pat:update_frame(540,1,3, { tex_index = 342 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(410,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000041 }) pat:update_frame(540,1,4, { tex_index = 340 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(410,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000041 }) pat:update_frame(540,1,5, { tex_index = 341 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(410,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000041 }) pat:update_frame(540,1,6, { tex_index = 342 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(410,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000041 }) pat:update_frame(540,1,7, { tex_index = 340 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(410,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000041 }) pat:update_frame(540,1,8, { tex_index = 341 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(410,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000041 }) pat:update_frame(540,1,9, { tex_index = 342 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(410,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000041 }) pat:update_frame(540,2,0, { tex_index = 340 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(410,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000021 }) pat:update_frame(540,2,1, { tex_index = 341 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(410,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000021 }) pat:update_frame(540,2,2, { tex_index = 342 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(410,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000021 }) pat:update_frame(540,2,3, { tex_index = 340 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(410,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00200021 }) pat:update_frame(540,2,4, { tex_index = 341 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4+4 , hurtbox = pat:get_frame(410,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00200021 }) pat:update_frame(540,2,5, { tex_index = 342 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 16+4 , hurtbox = pat:get_frame(410,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(540,3,0, { tex_index = 346 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , 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(540,3,1, { tex_index = 380 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-6 , 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(540,1,9) pat:remove_frame(540,1,8) pat:remove_frame(540,1,7) pat:remove_frame(540,1,6) pat:remove_frame(540,1,5) pat:remove_frame(540,1,4) pat:update_frame(541,0,0, { tex_index = 347 , 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 = 0x00000041 }) pat:update_frame(541,0,1, { tex_index = 1 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-12 , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(410,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000041 }) pat:update_frame(541,0,2, { tex_index = 1 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-12 , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(410,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000041 }) pat:update_frame(541,0,3, { tex_index = 348 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 1 , hurtbox = pat:get_frame(410,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000041 }) pat:update_frame(541,0,4, { tex_index = 348 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 1+1 , hurtbox = pat:get_frame(410,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000041 }) pat:update_frame(541,0,5, { tex_index = 341 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(410,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000041 }) pat:update_frame(541,0,6, { tex_index = 341 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(410,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000041 }) pat:update_frame(541,1,0, { tex_index = 342 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(410,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000041 }) pat:update_frame(541,1,1, { tex_index = 340 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(410,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000041 }) pat:update_frame(541,1,2, { tex_index = 341 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(410,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000041 }) pat:update_frame(541,1,3, { tex_index = 342 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(410,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000041 }) pat:update_frame(541,2,0, { tex_index = 340 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(410,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000021 }) pat:update_frame(541,2,1, { tex_index = 341 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(410,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000021 }) pat:update_frame(541,2,2, { tex_index = 342 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(410,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000021 }) pat:update_frame(541,2,3, { tex_index = 340 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(410,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00200021 }) pat:update_frame(541,2,4, { tex_index = 341 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4+4 , hurtbox = pat:get_frame(410,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00200021 }) pat:update_frame(541,2,5, { tex_index = 342 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 16+4 , hurtbox = pat:get_frame(410,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(541,3,0, { tex_index = 346 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , 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(541,3,1, { tex_index = 380 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-6 , 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(542,0,0, { tex_index = 347 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(414,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision , fflags = 0x00000044 }) pat:update_frame(542,0,1, { tex_index = 1 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-12 , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(414,0,1).hurtbox , collision = pat:get_frame(9,0,0).collision , fflags = 0x00000044 }) pat:update_frame(542,0,2, { tex_index = 1 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-12 , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(414,0,1).hurtbox , collision = pat:get_frame(9,0,0).collision , fflags = 0x00000044 }) pat:update_frame(542,0,3, { tex_index = 348 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 1 , hurtbox = pat:get_frame(414,0,3).hurtbox , collision = pat:get_frame(9,0,0).collision , fflags = 0x00000044 }) pat:update_frame(542,0,4, { tex_index = 348 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 1+1 , hurtbox = pat:get_frame(414,0,3).hurtbox , collision = pat:get_frame(9,0,0).collision , fflags = 0x00000044 }) pat:update_frame(542,0,5, { tex_index = 341 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(414,0,3).hurtbox , collision = pat:get_frame(9,0,0).collision , fflags = 0x00000044 }) pat:update_frame(542,0,6, { tex_index = 341 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(414,0,3).hurtbox , collision = pat:get_frame(9,0,0).collision , fflags = 0x00000044 }) pat:update_frame(542,1,0, { tex_index = 342 , 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(9,0,0).collision , fflags = 0x00000044 }) pat:update_frame(542,1,1, { tex_index = 340 , 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(9,0,0).collision , fflags = 0x00000044 }) pat:update_frame(542,1,2, { tex_index = 341 , 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(9,0,0).collision , fflags = 0x00000044 }) pat:update_frame(542,1,3, { tex_index = 342 , 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(9,0,0).collision , fflags = 0x00000044 }) pat:update_frame(542,1,4, { tex_index = 340 , 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(9,0,0).collision , fflags = 0x00000044 }) pat:update_frame(542,1,5, { tex_index = 341 , 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(9,0,0).collision , fflags = 0x00000044 }) pat:update_frame(542,1,6, { tex_index = 342 , 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(9,0,0).collision , fflags = 0x00000044 }) pat:update_frame(542,1,7, { tex_index = 340 , 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(9,0,0).collision , fflags = 0x00000044 }) pat:update_frame(542,1,8, { tex_index = 341 , 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(9,0,0).collision , fflags = 0x00000044 }) pat:update_frame(542,1,9, { tex_index = 342 , 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(9,0,0).collision , fflags = 0x00000044 }) pat:update_frame(542,2,0, { tex_index = 340 , 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(9,0,0).collision , fflags = 0x00000024 }) pat:update_frame(542,2,1, { tex_index = 341 , 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(9,0,0).collision , fflags = 0x00000024 }) pat:update_frame(542,2,2, { tex_index = 342 , 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(9,0,0).collision , fflags = 0x00000024 }) pat:update_frame(542,2,3, { tex_index = 340 , 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(9,0,0).collision , fflags = 0x00200024 }) pat:update_frame(542,2,4, { tex_index = 341 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4+4 , hurtbox = pat:get_frame(414,0,3).hurtbox , collision = pat:get_frame(9,0,0).collision , fflags = 0x00200024 }) pat:update_frame(542,2,5, { tex_index = 342 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 16+4 , hurtbox = pat:get_frame(414,0,3).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(542,3,0, { tex_index = 346 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , tex_offset_y = baseY , duration = 5 , hurtbox = pat:get_frame(414,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(542,3,1, { tex_index = 380 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-6 , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(414,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(542,3,2, { tex_index = 380 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-6 , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(414,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(542,4,0, { tex_index = 351 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(10,0,0).hurtbox , collision = pat:get_frame(10,0,0).collision }) pat:update_frame(542,4,1, { tex_index = 351 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(10,0,1).hurtbox , collision = pat:get_frame(10,0,1).collision }) pat:update_frame(542,4,2, { tex_index = 186 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(10,0,2).hurtbox , collision = pat:get_frame(10,0,2).collision }) pat:remove_frame(542,1,9) pat:remove_frame(542,1,8) pat:remove_frame(542,1,7) pat:remove_frame(542,1,6) pat:remove_frame(542,1,5) pat:remove_frame(542,1,4) pat:update_frame(543,0,0, { tex_index = 347 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(414,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision , fflags = 0x00000044 }) pat:update_frame(543,0,1, { tex_index = 1 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-12 , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(414,0,1).hurtbox , collision = pat:get_frame(9,0,0).collision , fflags = 0x00000044 }) pat:update_frame(543,0,2, { tex_index = 1 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-12 , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(414,0,1).hurtbox , collision = pat:get_frame(9,0,0).collision , fflags = 0x00000044 }) pat:update_frame(543,0,3, { tex_index = 348 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 1 , hurtbox = pat:get_frame(414,0,3).hurtbox , collision = pat:get_frame(9,0,0).collision , fflags = 0x00000044 }) pat:update_frame(543,0,4, { tex_index = 348 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 1+1 , hurtbox = pat:get_frame(414,0,3).hurtbox , collision = pat:get_frame(9,0,0).collision , fflags = 0x00000044 }) pat:update_frame(543,0,5, { tex_index = 341 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(414,0,3).hurtbox , collision = pat:get_frame(9,0,0).collision , fflags = 0x00000044 }) pat:update_frame(543,0,6, { tex_index = 341 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(414,0,3).hurtbox , collision = pat:get_frame(9,0,0).collision , fflags = 0x00000044 }) pat:update_frame(543,1,0, { tex_index = 342 , 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(9,0,0).collision , fflags = 0x00000044 }) pat:update_frame(543,1,1, { tex_index = 340 , 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(9,0,0).collision , fflags = 0x00000044 }) pat:update_frame(543,1,2, { tex_index = 341 , 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(9,0,0).collision , fflags = 0x00000044 }) pat:update_frame(543,1,3, { tex_index = 342 , 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(9,0,0).collision , fflags = 0x00000044 }) pat:update_frame(543,2,0, { tex_index = 340 , 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(9,0,0).collision , fflags = 0x00000024 }) pat:update_frame(543,2,1, { tex_index = 341 , 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(9,0,0).collision , fflags = 0x00000024 }) pat:update_frame(543,2,2, { tex_index = 342 , 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(9,0,0).collision , fflags = 0x00000024 }) pat:update_frame(543,2,3, { tex_index = 340 , 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(9,0,0).collision , fflags = 0x00200024 }) pat:update_frame(543,2,4, { tex_index = 341 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4+4 , hurtbox = pat:get_frame(414,0,3).hurtbox , collision = pat:get_frame(9,0,0).collision , fflags = 0x00200024 }) pat:update_frame(543,2,5, { tex_index = 342 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 16+4 , hurtbox = pat:get_frame(414,0,3).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(543,3,0, { tex_index = 346 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , tex_offset_y = baseY , duration = 5 , hurtbox = pat:get_frame(414,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(543,3,1, { tex_index = 380 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-6 , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(414,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(543,3,2, { tex_index = 380 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-6 , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(414,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(543,4,0, { tex_index = 351 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(10,0,0).hurtbox , collision = pat:get_frame(10,0,0).collision }) pat:update_frame(543,4,1, { tex_index = 351 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(10,0,1).hurtbox , collision = pat:get_frame(10,0,1).collision }) pat:update_frame(543,4,2, { tex_index = 186 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(10,0,2).hurtbox , collision = pat:get_frame(10,0,2).collision }) pat:get_sequence(820,1):set_priority(10,0) pat:update_frame(820,0,0,{tex_w = 0}) pat:update_frame(820,0,1,{tex_w = 0}) for idx = 2 , 287 do pat:split_frame(820,1,0,1,1) end for idx = 0 , 287 do pat:update_frame(820,1,idx,function(frame) frame.tex_index = 228+idx%36 frame.tex_w = 256 frame.tex_h = 256 frame.tex_offset_x = 128 frame.tex_offset_y = 128 frame.duration = 1 frame.scale_x = 150 frame.scale_y = 150 frame.color_r = 75--255 frame.color_g = 0 frame.color_b = 255--155 if (idx<15) then local alpha = idx * 17--10 frame.color_r = idx*5--idx*17 frame.color_g = 0 frame.color_b = alpha end frame.attackbox = pat:get_frame(0,0,0).attackbox frame.hurtbox = pat:get_frame(0,0,0).attackbox frame.hitstop_enemy = 20 frame.blockstop_enemy = 0 frame.limit = 10 frame.damage = 300 frame.chip_damage = 30 frame.sp_damage = 50 frame.proration = 750 if (idx>=5) then local iSize = 100 frame.attackbox = pat:get_frame(0,0,0).hurtbox frame.attackbox[1].x1 = -1 * iSize frame.attackbox[1].x2 = iSize frame.attackbox[1].y1 = -1 * iSize frame.attackbox[1].y2 = iSize frame.attackbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.attackbox[2].x1 = -1 * iSize * 1.25 frame.attackbox[2].x2 = iSize * 1.25 frame.attackbox[2].y1 = -1 * iSize * .5 frame.attackbox[2].y2 = iSize * .5 frame.attackbox[3] = pat:get_frame(0,0,0).hurtbox[1] frame.attackbox[3].x1 = -1 * iSize * .5 frame.attackbox[3].x2 = iSize * .5 frame.attackbox[3].y1 = -1 * iSize * 1.25 frame.attackbox[3].y2 = iSize * 1.25 end end) end --pat:update_frame(820,1,179,{color_r = 255}) for idx = 2 , 35 do pat:split_frame(820,2,0,1,1) end for idx = 0 , 35 do pat:update_frame(820,2,idx,function(frame) frame.tex_index = 228+idx frame.tex_w = 256 frame.tex_h = 256 frame.tex_offset_x = 128 frame.tex_offset_y = 128 frame.duration = 1 frame.scale_x = 150 frame.scale_y = 150 frame.color_r = 75--255 frame.color_g = 0 frame.color_b = 255--155 end) end pat:update_frame(820,3,0,function(frame) frame.blending_mode = 1 frame.tex_index = 89 frame.tex_w = 0 frame.tex_h = 192 frame.tex_offset_x = 96 frame.tex_offset_y = 96 frame.scale_x = 50 frame.scale_y = 50 end) end function mods.d623(pat) --input reader, buff local baseX = 79*2 +8 local baseY = 155*2 +4 local baseW = 185 local baseH = 205 for idy = 0 , 1 do pat:split_frame(560+idy,0,0,1,1) if (idy==0) then pat:split_frame(560+idy,0,0,1,1) end pat:get_sequence(560+idy,1):set_looped(false) pat:update_frame(560+idy,0,0, { tex_index = 416 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 5 , fflags = 0x00000041 }) pat:update_frame(560+idy,0,1, { tex_index = 417 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(525,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 5+idy*4 , fflags = 0x00000041 }) pat:update_frame(560+idy,0,2, { tex_index = 418 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(525,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 5 , fflags = 0x00000041 }) pat:update_frame(560+idy,1,0, { tex_index = 418 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(525,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 1 , fflags = 0x00000041 }) pat:update_frame(560+idy,1,1, { tex_index = 418 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(525,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 1 , fflags = 0x00000041 }) --6 if (idy==1) then for idz = 0 , 2 do pat:update_frame(560+idy,0,idz,function(frame) set_fflag(frame,FF_GRAZE) end) end for idz = 0 , 1 do pat:update_frame(560+idy,1,idz,function(frame) set_fflag(frame,FF_GRAZE) end) end end for idx = 2 , 3 do pat:update_frame(560+idy,idx,0, { tex_index = 419 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(525,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 , fflags = 0x00000041 }) pat:update_frame(560+idy,idx,1, { tex_index = 420 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(525,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 , fflags = 0x00000041 }) pat:update_frame(560+idy,idx,2, { tex_index = 418 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(525,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 1 , fflags = 0x00000001 , attackbox = pat:get_frame(0,0,0).attackbox }) pat:update_frame(560+idy,idx,3, { tex_index = 418 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(525,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 1 , fflags = 0x00000001 , attackbox = pat:get_frame(0,0,0).attackbox }) pat:update_frame(560+idy,idx,4, { tex_index = 418 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(525,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 1 , fflags = 0x00000001 , attackbox = pat:get_frame(0,0,0).attackbox }) pat:update_frame(560+idy,idx,5, { tex_index = 418 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(525,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 1 , fflags = 0x00000001 , attackbox = pat:get_frame(0,0,0).attackbox }) pat:update_frame(560+idy,idx,6, { tex_index = 419 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(525,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 1 , fflags = 0x00000001 }) pat:update_frame(560+idy,idx,7, { tex_index = 419 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(525,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 1 , fflags = 0x00000001 }) pat:update_frame(560+idy,idx,8, { tex_index = 419 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(525,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 1 , fflags = 0x00000001 }) pat:update_frame(560+idy,idx,9, { tex_index = 419 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(525,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 1+2 , fflags = 0x00000001 }) pat:update_frame(560+idy,idx,10, { tex_index = 417 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(525,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 , fflags = 0x00200001 }) pat:update_frame(560+idy,idx,11, { tex_index = 416 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 1 , fflags = 0x00200001 }) pat:update_frame(560+idy,idx,12, { tex_index = 416 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 1 , fflags = 0x00200001 }) pat:update_frame(560+idy,idx,13, { tex_index = 416 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 , fflags = 0x00200001 }) if (idy==1) then for idz = 0 , 9 do pat:update_frame(560+idy,idx,idz,function(frame) set_fflag(frame,FF_GRAZE) end) end end end end --2 --560 --825 for idx = 6 , 15 do --pat:remove_frame(825,0,6) end for idx = 16 , 27 do pat:split_frame(825,0,15,1,1) end for idx = 1 , 10 do pat:split_frame(825,1,0,1,1) end pat:get_sequence(825,1):set_looped(false) pat:update_frame(825,0,0, { tex_index = 523 + 354 + 0 , tex_w = 128 , tex_h = 64 , tex_offset_x = 65 , tex_offset_y = 32 , scale_x = 100 , scale_y = 100 , angle_y = 0 , angle_x = 0 , angle_z = 0 , duration = 1 }) pat:update_frame(825,0,1, { tex_index = 523 + 354 + 0 , tex_w = 128 , tex_h = 64 , tex_offset_x = 65 , tex_offset_y = 32 , scale_x = 100 , scale_y = 100 , angle_y = 0 , angle_x = 0 , angle_z = 0 , duration = 1 }) pat:update_frame(825,0,2, { tex_index = 523 + 354 + 1 , tex_w = 128 , tex_h = 64 , tex_offset_x = 65 , tex_offset_y = 32 , scale_x = 100 , scale_y = 100 , angle_y = 0 , angle_x = 0 , angle_z = 0 , duration = 1 }) pat:update_frame(825,0,3, { tex_index = 523 + 354 + 2 , tex_w = 128 , tex_h = 64 , tex_offset_x = 65 , tex_offset_y = 32 , scale_x = 100 , scale_y = 100 , angle_y = 0 , angle_x = 0 , angle_z = 0 , duration = 1 }) pat:update_frame(825,0,4, { tex_index = 523 + 354 + 3 , tex_w = 128 , tex_h = 64 , tex_offset_x = 65 , tex_offset_y = 32 , scale_x = 100 , scale_y = 100 , angle_y = 0 , angle_x = 0 , angle_z = 0 , duration = 1 }) pat:update_frame(825,0,5, { tex_index = 523 + 354 + 4 , tex_w = 128 , tex_h = 64 , tex_offset_x = 65 , tex_offset_y = 32 , scale_x = 100 , scale_y = 100 , angle_y = 0 , angle_x = 0 , angle_z = 0 , duration = 1 }) pat:update_frame(825,0,6, { tex_index = 523 + 354 + 5 , tex_w = 128 , tex_h = 64 , tex_offset_x = 65 , tex_offset_y = 32 , scale_x = 100 , scale_y = 100 , angle_y = 0 , angle_x = 0 , angle_z = 0 , duration = 1 }) pat:update_frame(825,0,7, { tex_index = 523 + 354 + 6 , tex_w = 128 , tex_h = 64 , tex_offset_x = 65 , tex_offset_y = 32 , scale_x = 100 , scale_y = 100 , angle_y = 0 , angle_x = 0 , angle_z = 0 , duration = 1 }) pat:update_frame(825,0,8, { tex_index = 523 + 354 + 7 , tex_w = 128 , tex_h = 64 , tex_offset_x = 65 , tex_offset_y = 32 , scale_x = 100 , scale_y = 100 , angle_y = 0 , angle_x = 0 , angle_z = 0 , duration = 1 }) pat:update_frame(825,0,9, { tex_index = 523 + 354 + 8 , tex_w = 128 , tex_h = 64 , tex_offset_x = 65 , tex_offset_y = 32 , scale_x = 100 , scale_y = 100 , angle_y = 0 , angle_x = 0 , angle_z = 0 , duration = 1 }) pat:update_frame(825,0,10,{ tex_index = 523 + 354 + 9 , tex_w = 128 , tex_h = 64 , tex_offset_x = 65 , tex_offset_y = 32 , scale_x = 100 , scale_y = 100 , angle_y = 0 , angle_x = 0 , angle_z = 0 , duration = 1 }) pat:update_frame(825,0,11,{ tex_index = 523 + 354 + 10 , tex_w = 128 , tex_h = 64 , tex_offset_x = 65 , tex_offset_y = 32 , scale_x = 100 , scale_y = 100 , angle_y = 0 , angle_x = 0 , angle_z = 0 , duration = 1 }) pat:update_frame(825,0,12,{ tex_index = 523 + 354 + 11 , tex_w = 128 , tex_h = 64 , tex_offset_x = 65 , tex_offset_y = 32 , scale_x = 100 , scale_y = 100 , angle_y = 0 , angle_x = 0 , angle_z = 0 , duration = 1 }) pat:update_frame(825,0,13,{ tex_index = 523 + 354 + 12 , tex_w = 128 , tex_h = 64 , tex_offset_x = 65 , tex_offset_y = 32 , scale_x = 100 , scale_y = 100 , angle_y = 0 , angle_x = 0 , angle_z = 0 , duration = 1 }) pat:update_frame(825,0,14,{ tex_index = 523 + 354 + 13 , tex_w = 128 , tex_h = 64 , tex_offset_x = 65 , tex_offset_y = 32 , scale_x = 100 , scale_y = 100 , angle_y = 0 , angle_x = 0 , angle_z = 0 , duration = 1 }) pat:update_frame(825,0,15,{ tex_index = 523 + 354 + 14 , tex_w = 128 , tex_h = 64 , tex_offset_x = 65 , tex_offset_y = 32 , scale_x = 100 , scale_y = 100 , angle_y = 0 , angle_x = 0 , angle_z = 0 , duration = 1 }) pat:update_frame(825,0,16,{ tex_index = 523 + 354 + 15 , tex_w = 128 , tex_h = 64 , tex_offset_x = 65 , tex_offset_y = 32 , scale_x = 100 , scale_y = 100 , angle_y = 0 , angle_x = 0 , angle_z = 0 , duration = 1 }) pat:update_frame(825,0,17,{ tex_index = 523 + 354 + 15 + 10 , tex_w = 128 , tex_h = 64 , tex_offset_x = 65 , tex_offset_y = 32 , scale_x = 100 , scale_y = 100 , angle_y = 0 , angle_x = 0 , angle_z = 0 , duration = 1 }) pat:update_frame(825,0,18,{ tex_index = 523 + 354 + 15 + 11 , tex_w = 128 , tex_h = 64 , tex_offset_x = 65 , tex_offset_y = 32 , scale_x = 100 , scale_y = 100 , angle_y = 0 , angle_x = 0 , angle_z = 0 , duration = 1 }) pat:update_frame(825,0,19,{ tex_index = 523 + 354 + 15 + 12 , tex_w = 128 , tex_h = 64 , tex_offset_x = 65 , tex_offset_y = 32 , scale_x = 100 , scale_y = 100 , angle_y = 0 , angle_x = 0 , angle_z = 0 , duration = 1 }) pat:update_frame(825,0,20,{ tex_index = 523 + 354 + 15 + 13 , tex_w = 128 , tex_h = 64 , tex_offset_x = 65 , tex_offset_y = 32 , scale_x = 100 , scale_y = 100 , angle_y = 0 , angle_x = 0 , angle_z = 0 , duration = 1 }) pat:update_frame(825,0,21,{ tex_index = 523 + 354 + 15 + 14 , tex_w = 128 , tex_h = 64 , tex_offset_x = 65 , tex_offset_y = 32 , scale_x = 100 , scale_y = 100 , angle_y = 0 , angle_x = 0 , angle_z = 0 , duration = 1 }) pat:update_frame(825,0,22,{ tex_index = 523 + 354 + 15 + 15 , tex_w = 128 , tex_h = 64 , tex_offset_x = 65 , tex_offset_y = 32 , scale_x = 100 , scale_y = 100 , angle_y = 0 , angle_x = 0 , angle_z = 0 , duration = 1 }) pat:update_frame(825,0,23,{ tex_index = 523 + 354 + 15 + 16 , tex_w = 128 , tex_h = 64 , tex_offset_x = 65 , tex_offset_y = 32 , scale_x = 100 , scale_y = 100 , angle_y = 0 , angle_x = 0 , angle_z = 0 , duration = 1 }) pat:update_frame(825,0,24,{ tex_index = 523 + 354 + 15 + 17 , tex_w = 128 , tex_h = 64 , tex_offset_x = 65 , tex_offset_y = 32 , scale_x = 100 , scale_y = 100 , angle_y = 0 , angle_x = 0 , angle_z = 0 , duration = 1 }) pat:update_frame(825,0,25,{ tex_index = 523 + 354 + 15 + 18 , tex_w = 128 , tex_h = 64 , tex_offset_x = 65 , tex_offset_y = 32 , scale_x = 100 , scale_y = 100 , angle_y = 0 , angle_x = 0 , angle_z = 0 , duration = 1 }) pat:update_frame(825,0,26,{ tex_index = 523 + 354 + 15 + 19 , tex_w = 128 , tex_h = 64 , tex_offset_x = 65 , tex_offset_y = 32 , scale_x = 100 , scale_y = 100 , angle_y = 0 , angle_x = 0 , angle_z = 0 , duration = 1 }) pat:update_frame(825,0,27,{ tex_index = 523 + 354 + 0 , tex_w = 128 , tex_h = 64 , tex_offset_x = 65 , tex_offset_y = 32 , scale_x = 100 , scale_y = 100 , angle_y = 0 , angle_x = 0 , angle_z = 0 , duration = 1 }) pat:update_frame(825,1,0, { tex_index = 523 + 354 + 15 + 5 , tex_w = 128 , tex_h = 96 , tex_offset_x = 65 , tex_offset_y = 48 , scale_x = 100 , scale_y = 100 , angle_y = 0 , angle_x = 0 , angle_z = 0 , duration = 1 }) pat:update_frame(825,1,1, { tex_index = 523 + 354 + 15 + 1 , tex_w = 128 , tex_h = 96 , tex_offset_x = 65 , tex_offset_y = 48 , scale_x = 100 , scale_y = 100 , angle_y = 0 , angle_x = 0 , angle_z = 0 , duration = 1 }) pat:update_frame(825,1,2, { tex_index = 523 + 354 + 15 + 2 , tex_w = 128 , tex_h = 96 , tex_offset_x = 65 , tex_offset_y = 48 , scale_x = 100 , scale_y = 100 , angle_y = 0 , angle_x = 0 , angle_z = 0 , duration = 1 }) pat:update_frame(825,1,3, { tex_index = 523 + 354 + 15 + 3 , tex_w = 128 , tex_h = 96 , tex_offset_x = 65 , tex_offset_y = 48 , scale_x = 100 , scale_y = 100 , angle_y = 0 , angle_x = 0 , angle_z = 0 , duration = 1 }) pat:update_frame(825,1,4, { tex_index = 523 + 354 + 15 + 4 , tex_w = 128 , tex_h = 96 , tex_offset_x = 65 , tex_offset_y = 48 , scale_x = 100 , scale_y = 100 , angle_y = 0 , angle_x = 0 , angle_z = 0 , duration = 1 }) pat:update_frame(825,1,5, { tex_index = 523 + 354 + 15 + 5 , tex_w = 128 , tex_h = 96 , tex_offset_x = 65 , tex_offset_y = 48 , scale_x = 100 , scale_y = 100 , angle_y = 0 , angle_x = 0 , angle_z = 0 , duration = 1 }) pat:update_frame(825,1,6, { tex_index = 523 + 354 + 15 + 6 , tex_w = 128 , tex_h = 96 , tex_offset_x = 65 , tex_offset_y = 48 , scale_x = 100 , scale_y = 100 , angle_y = 0 , angle_x = 0 , angle_z = 0 , duration = 1 }) pat:update_frame(825,1,7, { tex_index = 523 + 354 + 15 + 7 , tex_w = 128 , tex_h = 96 , tex_offset_x = 65 , tex_offset_y = 48 , scale_x = 100 , scale_y = 100 , angle_y = 0 , angle_x = 0 , angle_z = 0 , duration = 1 }) pat:update_frame(825,1,8, { tex_index = 523 + 354 + 15 + 8 , tex_w = 128 , tex_h = 96 , tex_offset_x = 65 , tex_offset_y = 48 , scale_x = 100 , scale_y = 100 , angle_y = 0 , angle_x = 0 , angle_z = 0 , duration = 1 }) pat:update_frame(825,1,9 ,{ tex_index = 523 + 354 + 15 + 9 , tex_w = 128 , tex_h = 96 , tex_offset_x = 65 , tex_offset_y = 48 , scale_x = 100 , scale_y = 100 , angle_y = 0 , angle_x = 0 , angle_z = 0 , duration = 1 }) pat:update_frame(825,1,10,{ tex_index = 523 + 354 + 15 + 5 , tex_w = 128 , tex_h = 96 , tex_offset_x = 65 , tex_offset_y = 48 , scale_x = 100 , scale_y = 100 , angle_y = 0 , angle_x = 0 , angle_z = 0 , duration = 1 }) for idx = 0 , 27 do pat:update_frame(825,0,idx,{blending_mode = 0 , color_r = 255 , color_g = 255 , color_b = 255 , color_a = 155 , scale_x = 70 , scale_y = 70 }) end for idx = 0 , 10 do pat:update_frame(825,1,idx,{blending_mode = 0 , color_r = 255 , color_g = 255 , color_b = 255 , color_a = 155 , scale_x = 70 , scale_y = 70 }) end end function mods.a236_lance_tree(pat) --525 ~ 526 --816 local baseX = 79*2 +8 local baseY = 155*2 +4 local baseW = 185 local baseH = 205 --pat:update_frame(525,0,0, { tex_index = 327 , 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 }) for idy = 0 , 1 do pat:update_frame(525+idy,0,0, { tex_index = 416 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) pat:update_frame(525+idy,0,1, { tex_index = 416 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) pat:update_frame(525+idy,0,2, { tex_index = 417 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(525+idy,0,2,function(frame) frame.hurtbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[2].y1 = frame.hurtbox[1].y1 + 50 frame.hurtbox[2].y2 = frame.hurtbox[2].y1 + 50 frame.hurtbox[2].x1 = frame.hurtbox[2].x1 - 30 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 + 30 end) pat:update_frame(525+idy,0,3, { tex_index = 417 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(525+idy,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(525+idy,0,4, { tex_index = 418 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) pat:update_frame(525+idy,0,4,function(frame) frame.hurtbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[2].y1 = frame.hurtbox[1].y1 + 50 frame.hurtbox[2].y2 = frame.hurtbox[2].y1 + 50 frame.hurtbox[2].x1 = frame.hurtbox[2].x1 - 15 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 + 15 end) pat:update_frame(525+idy,0,5, { tex_index = 418 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(525+idy,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) pat:update_frame(525+idy,0,6, { tex_index = 419 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(525+idy,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(525+idy,0,7, { tex_index = 420 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(525+idy,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(525+idy,0,8, { tex_index = 418 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(525+idy,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(525+idy,0,9, { tex_index = 419 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(525+idy,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(525+idy,0,10, { tex_index = 420 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(525+idy,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(525+idy,0,11, { tex_index = 418 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(525+idy,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(525+idy,0,12, { tex_index = 419 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(525+idy,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(525+idy,0,13, { tex_index = 420 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(525+idy,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(525+idy,0,14, { tex_index = 418 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(525+idy,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(525+idy,0,15, { tex_index = 419 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(525+idy,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(525+idy,0,16, { tex_index = 420 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(525+idy,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 14 }) pat:update_frame(525+idy,0,17, { tex_index = 417 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(525+idy,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(525+idy,0,18, { tex_index = 416 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(525+idy,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) end pat:get_sequence(816,12):set_looped(false) pat:get_sequence(816,15):set_looped(false) pat:get_sequence(816,12):set_priority(20,0) for idy = 2 , 4 do pat:split_frame(816,16,0,1,1) end pat:get_sequence(816,16):set_priority(20,0) for idy = 0 , 4 do pat:update_frame(816,16,idy,function(frame) frame.color_r = 255 frame.color_g = 255 frame.color_b = 255 frame.color_a = 255 frame.blending_mode = 0 frame.tex_index = 84+0 frame.tex_w = 192 frame.tex_h = 192 frame.tex_offset_x = 96 frame.tex_offset_y = 96 frame.scale_x = (idy+1)/5*120 * .5 frame.scale_y = (idy+1)/5*120 * .5 frame.attackbox = pat:get_frame(0,0,0).hurtbox frame.attackbox[1].x1 = -30 frame.attackbox[1].x2 = 30 frame.attackbox[1].y1 = -20 frame.attackbox[1].y2 = 20 frame.damage = 500 frame.limit = 20 frame.chip_damage = 0 frame.sp_damage = 100 frame.proration = 900 frame.untech = 45 frame.duration = 300 if (idy ~= 4) then frame.duration = 1 frame.attackbox = pat:get_frame(0,0,0).attackbox end if (idy == 0) then frame.duration = 30 frame.tex_w = 0 end if (idy == 1) then frame.duration = 2 end if (idy == 2) then frame.duration = 2 end if (idy == 3) then frame.duration = 2 end frame.hitstop_enemy = 10 frame.blockstop_enemy = 10 frame.hitstop_self = 0 frame.blockstop_self = 0 frame.card_gain_hit = 10--50 frame.card_gain_block = 10--50 frame.attack_level = AL_HEAVY frame.hit_ani_air = 71 frame.hit_ani_ground = 71 frame.launch_vector_x = 500 frame.launch_vector_y = 1250 frame.combo_correction = CC_LIFT_ATTACK --frame.fflags = 0x01000000 --frame.aflags = 0x0041040e frame.unknown_9 = 100 frame.hit_effect = pat:get_frame(801,3,0).hit_effect frame.hit_sfx = pat:get_frame(801,3,0).hit_sfx end) end pat:remove_frame(816,12,1) for idx = 1 , 69 do pat:split_frame(816,12,0,1,1) end for idx = 0 , 69 do pat:update_frame(816,12,idx,function(frame) scal = 0 frame.tex_index = 105 +13 - (idx/4) if (idx > 32) then frame.tex_index = 105+4 scal = 50 end if (idx > 40) then frame.tex_index = 105+3 scal = 100 end if (idx > 60) then frame.tex_index = 105+2 scal = 100 end if (idx > 64) then frame.tex_index = 105+13 scal = 50 end if (idx == 69) then frame.tex_w = 0 frame.duration = 10 end frame.tex_w = 985 frame.tex_h = 736 frame.tex_offset_x = 479 frame.tex_offset_y = 479 frame.scale_x = 100+scal + 3*((idx%8)) frame.scale_y = 150+scal*1.5 + 9*((idx%8)) if (idx > 48 and idx <= 56) then frame.scale_x = 120+scal frame.scale_y = 180+scal*1.5 frame.duration = 80 --frame.duration = 300 end if (idx == 56) then frame.duration = 100 end frame.scale_x = frame.scale_x * .5 frame.scale_y = frame.scale_y * .5 if (idx <= 32) then frame.attackbox = pat:get_frame(0,0,0).hurtbox frame.attackbox[1].x1 = (-50)*0.4 frame.attackbox[1].x2 = (50)*0.4 frame.attackbox[1].y1 = (-180 - idx*12)*0.4 frame.attackbox[1].y2 = (0)*0.4 elseif (idx <= 40) then frame.attackbox = pat:get_frame(0,0,0).hurtbox frame.attackbox[1].x1 = (-50 - (idx-32)*30)*0.4 frame.attackbox[1].x2 = (50 + (idx-32)*30)*0.4 frame.attackbox[1].y1 = (-180 - 32*12)*0.4 frame.attackbox[1].y2 = (0)*0.4 frame.attackbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.attackbox[2].x1 = (-50 - (idx-32)*40)*0.4 frame.attackbox[2].x2 = (50 + (idx-32)*40)*0.4 frame.attackbox[2].y1 = ((-180 - 32*12) * 0.4)*0.4 frame.attackbox[2].y2 = (0)*0.4 end frame.hurtbox = pat:get_frame(0,0,0).attackbox frame.fflags = 0x00c00000 frame.aflags = 0x0041000f unset_aflag(frame,AF_SPELL_ATTACK) set_aflag(frame,AF_SKILL_ATTACK) set_aflag(frame,AF_LOWBLOCK_OK) set_aflag(frame,AF_HIGHBLOCK_OK) set_aflag(frame,AF_AIR_BLOCKABLE) unset_aflag(frame,AF_ATTACK_LOW) unset_aflag(frame,AF_ATTACK_HIGH) unset_aflag(frame,AF_ATTACK_AIR) set_aflag(frame,AF_PROJECTILE) unset_aflag(frame,AF_DRAINS_ON_GRAZE) unset_aflag(frame,AF_COUNTER_HIT) frame.damage = 800 frame.chip_damage = 200 frame.limit = 40 frame.proration = 850 frame.hitstop_enemy = 30 frame.hitstop_self = 0 frame.blockstop_enemy = 10 frame.blockstop_self = 0 frame.untech = 45 frame.card_gain_hit = 20 frame.card_gain_block = 20 frame.sp_damage = 200 frame.launch_vector_x = 0 frame.launch_vector_y = 1450 end) end for idx = 1 , 69 do pat:split_frame(816,15,0,1,1) end for idx = 0 , 69 do pat:update_frame(816,15,idx,function(frame) scal = 0 frame.tex_index = 105 +13 - (idx/4) if (idx > 32) then frame.tex_index = 105+4 scal = 50 end if (idx > 40) then frame.tex_index = 105+3 scal = 100 end if (idx > 60) then frame.tex_index = 105+2 scal = 100 end if (idx > 64) then frame.tex_index = 105+13 scal = 50 end if (idx == 69) then frame.tex_w = 0 frame.duration = 10 end frame.tex_w = 985 frame.tex_h = 736 frame.tex_offset_x = 479 frame.tex_offset_y = 479 frame.scale_x = 150+scal*1.5 + 4*((idx%8)) frame.scale_y = 100+scal + 6*((idx%8)) if (idx > 48 and idx <= 56) then frame.scale_x = 180+scal*1.5 frame.scale_y = 120+scal frame.duration = 80 --frame.duration = 300 end if (idx == 56) then frame.duration = 100 end frame.scale_x = frame.scale_x * .5 frame.scale_y = frame.scale_y * .5 end) end end function mods.a236_wisp_trap(pat) --530 ~ 531 --817 local baseX = 79*2 +8 local baseY = 155*2 +4 local baseW = 185 local baseH = 205 --pat:update_frame(525,0,0, { tex_index = 327 , 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 }) for idy = 0 , 1 do pat:update_frame(530+idy,0,0, { tex_index = 416 , tex_w = baseW , tex_h = baseH , tex_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(530+idy,0,1, { tex_index = 416 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2-1 }) pat:update_frame(530+idy,0,2, { tex_index = 417 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4-1 }) pat:update_frame(530+idy,0,2,function(frame) frame.hurtbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[2].y1 = frame.hurtbox[1].y1 + 50 frame.hurtbox[2].y2 = frame.hurtbox[2].y1 + 50 frame.hurtbox[2].x1 = frame.hurtbox[2].x1 - 30 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 + 30 end) pat:update_frame(530+idy,0,3, { tex_index = 417 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(530+idy,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4-3 }) pat:update_frame(530+idy,0,4, { tex_index = 418 , tex_w = baseW , tex_h = baseH , tex_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(530+idy,0,4,function(frame) frame.hurtbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[2].y1 = frame.hurtbox[1].y1 + 50 frame.hurtbox[2].y2 = frame.hurtbox[2].y1 + 50 frame.hurtbox[2].x1 = frame.hurtbox[2].x1 - 15 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 + 15 end) pat:update_frame(530+idy,0,5, { tex_index = 418 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(530+idy,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) pat:update_frame(530+idy,0,6, { tex_index = 419 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(530+idy,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(530+idy,0,7, { tex_index = 420 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(530+idy,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(530+idy,0,8, { tex_index = 418 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(530+idy,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(530+idy,0,9, { tex_index = 419 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(530+idy,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(530+idy,0,10, { tex_index = 420 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(530+idy,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(530+idy,0,11, { tex_index = 418 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(530+idy,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(530+idy,0,12, { tex_index = 419 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(530+idy,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(530+idy,0,13, { tex_index = 420 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(530+idy,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(530+idy,0,14, { tex_index = 418 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(530+idy,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(530+idy,0,15, { tex_index = 419 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(530+idy,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(530+idy,0,16, { tex_index = 420 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(530+idy,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 14 }) pat:update_frame(530+idy,0,17, { tex_index = 417 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(530+idy,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(530+idy,0,18, { tex_index = 416 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(530+idy,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) end pat:remove_frame(531,0,22) pat:remove_frame(531,0,21) pat:remove_frame(531,0,20) pat:remove_frame(531,0,19) pat:update_frame(531,0,11, { fflags = pat:get_frame(530,0,11).fflags }) pat:update_frame(531,0,12, { fflags = pat:get_frame(530,0,12).fflags }) pat:update_frame(817,0,0,function(frame) frame.scale_x = 700 frame.scale_y = 700 frame.color_r = 0 frame.color_g = 255 frame.color_b = 0 end) pat:update_frame(817,4,0,function(frame) frame.scale_x = 700 frame.scale_y = 700 frame.color_r = 255 frame.color_g = 0 frame.color_b = 0 end) pat:update_frame(817,3,0,function(frame) frame.tex_index = 105 +7 frame.tex_w = 985 frame.tex_h = 736 frame.tex_offset_x = 479 frame.tex_offset_y = 479 frame.scale_x = 250 frame.scale_y = 20 end) for idx = 2 , 13 do pat:split_frame(817,2,1,1,1) end for idx = 0 , 13 do pat:update_frame(817,2,idx,function(frame) frame.color_r = 125 frame.color_g = 125 frame.color_b = 125 if (idx == 0) then frame.tex_index = 105 +3 frame.duration = 4 frame.scale_x = 150 frame.scale_y = 150 elseif (idx == 1) then frame.tex_index = 105 +4 frame.duration = 20 frame.scale_x = 150 frame.scale_y = 150 elseif (idx == 12) then frame.tex_index = 105 +5 frame.duration = 4 frame.scale_x = 100 frame.scale_y = 150 elseif (idx == 13) then frame.tex_index = 105 +6 frame.duration = 40 frame.scale_x = 100 frame.scale_y = 150 else frame.tex_index = 105 +4 frame.duration = 1 frame.scale_x = 150 - (idx-1)*10 frame.scale_y = 200 end frame.tex_w = 985 frame.tex_h = 736 frame.tex_offset_x = 479 frame.tex_offset_y = 479-79+32 frame.attackbox = pat:get_frame(0,0,0).hurtbox frame.attackbox[1].x1 = -130 frame.attackbox[1].x2 = 130 frame.attackbox[1].y1 = -200 frame.attackbox[1].y2 = 40 frame.damage = 250 frame.chip_damage = 25 frame.untech = 60 frame.limit = 5 frame.proration = 950 frame.sp_damage = 35 frame.aflags = 0x0041000f frame.fflags = 0x00000000 frame.combo_correction = CC_LIFT_ATTACK frame.hit_ani_air = 71 frame.hit_ani_ground = 71 frame.attack_level = AL_HEAVY frame.card_gain_hit = 10 frame.card_gain_block = 10 frame.launch_vector_x = 0 frame.launch_vector_y = 600 frame.hit_sfx = 3 frame.hit_effect = 3 frame.unknown_9 = 100 frame.hitstop_self = 0 frame.hitstop_enemy = 30 frame.blockstop_self = 0 frame.blockstop_enemy = 30 set_aflag(frame,AF_SKILL_ATTACK) 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) set_aflag(frame,AF_DRAINS_ON_GRAZE) end) end pat:get_sequence(817,1):set_priority(0,0) pat:get_sequence(817,2):set_priority(0,0) for idx = 2 , 20 do pat:split_frame(817,1,1,1,1) end for idx = 0 , 20 do pat:update_frame(817,1,idx,function(frame) if (idx < 6) then frame.tex_index = 105 +idx/3 frame.duration = 1 elseif (idx < 9) then frame.tex_index = 105 +2 frame.duration = 1 if (idx == 8) then frame.duration = 600 end else frame.tex_index = 105 +2 end frame.tex_w = 985 frame.tex_h = 736 frame.tex_offset_x = 479 frame.tex_offset_y = 479 frame.scale_x = 200 + (2-(idx%3))*10 frame.scale_y = 200 + (2-(idx%3))*10 frame.attackbox[1].x1 = -130 frame.attackbox[1].x2 = 130 frame.attackbox[1].y1 = -200 frame.attackbox[1].y2 = 40 frame.damage = 250 frame.chip_damage = 25 frame.untech = 60 frame.limit = 5 frame.proration = 950 frame.sp_damage = 35 frame.aflags = 0x0041000f frame.fflags = 0x00000000 frame.combo_correction = CC_LIFT_ATTACK frame.hit_ani_air = 71 frame.hit_ani_ground = 71 frame.attack_level = AL_HEAVY frame.card_gain_hit = 10 frame.card_gain_block = 10 frame.launch_vector_x = 0 frame.launch_vector_y = 600 frame.hit_sfx = 3 frame.hit_effect = 3 frame.unknown_9 = 100 frame.hitstop_self = 0 frame.hitstop_enemy = 30 frame.blockstop_self = 0 frame.blockstop_enemy = 30 set_aflag(frame,AF_SKILL_ATTACK) 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) end end function mods.a214_bloom_dodge(pat) --leap shoot --510 local baseX = 79*2 +8 local baseY = 155*2 +4 local baseW = 185 local baseH = 205 pat:update_frame(510,0,0, { tex_index = 0 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-16 , 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(510,0,1, { tex_index = 327 , 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(510,0,2, { tex_index = 328 , 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(510,1,0, { tex_index = 175 , 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(510,1,1, { tex_index = 73 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 7 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(510,1,2, { tex_index = 3 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-16 , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(300,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(510,1,3, { tex_index = 74 , 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(510,1,4, { tex_index = 74 , 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(510,1,5, { tex_index = 74 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 24 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(510,1,6, { tex_index = 177 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+8 , duration = 4 , hurtbox = pat:get_frame(9,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(510,2,0, { tex_index = 182 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = baseDur , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision , fflags = 0x00000034 }) pat:update_frame(510,2,1, { tex_index = 503 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = baseDur , hurtbox = pat:get_frame(9,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision , fflags = 0x00000034 }) pat:get_sequence(510,2):set_priority(0,0) pat:update_frame(511,0,0, { tex_index = 0 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-16 , 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(511,0,1, { tex_index = 327 , 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(511,0,2, { tex_index = 328 , 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(511,1,6,4,4) pat:update_frame(511,1,0, { tex_index = 175 , 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(511,1,1, { tex_index = 73 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 7 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(511,1,2, { tex_index = 3 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-16 , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(300,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(511,1,3, { tex_index = 488 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+0 , duration = 5 , hurtbox = pat:get_frame(308,0,2).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(511,1,4, { tex_index = 45 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+0 , duration = 4 , hurtbox = pat:get_frame(308,0,5).hurtbox , collision = pat:get_frame(9,0,0).collision }) --hit pat:update_frame(511,1,5, { tex_index = 46 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+0 , duration = 24 , hurtbox = pat:get_frame(308,0,5).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(511,1,6, { tex_index = 486 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+0 , duration = 5 , hurtbox = pat:get_frame(9,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(511,1,7, { tex_index = 185 , 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(9,0,0).collision }) pat:update_frame(511,2,0, { tex_index = 182 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = baseDur , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision , fflags = 0x00000034 }) pat:update_frame(511,2,1, { tex_index = 503 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = baseDur , hurtbox = pat:get_frame(9,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision , fflags = 0x00000034 }) pat:get_sequence(511,2):set_priority(0,0) pat:update_frame(512,0,0, { tex_index = 0 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-16 , 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(512,0,1, { tex_index = 327 , 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(512,0,2, { tex_index = 328 , 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(512,1,0, { tex_index = 175 , 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(512,1,1, { tex_index = 73 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 7 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(512,1,2, { tex_index = 3 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-16 , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(300,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(512,1,3, { tex_index = 74 , 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(512,1,4, { tex_index = 74 , 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(512,1,5, { tex_index = 74 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 24 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(512,1,6, { tex_index = 177 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+8 , duration = 4 , hurtbox = pat:get_frame(9,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(512,2,0, { tex_index = 182 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = baseDur , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision , fflags = 0x00000034 }) pat:update_frame(512,2,1, { tex_index = 503 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = baseDur , hurtbox = pat:get_frame(9,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision , fflags = 0x00000034 }) pat:get_sequence(512,2):set_priority(0,0) pat:update_frame(513,0,0, { tex_index = 0 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-16 , 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(513,0,1, { tex_index = 327 , 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(513,0,2, { tex_index = 328 , 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(513,1,6,4,4) pat:update_frame(513,1,0, { tex_index = 175 , 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(513,1,1, { tex_index = 73 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 7 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(513,1,2, { tex_index = 3 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-16 , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(300,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(513,1,3, { tex_index = 488 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+0 , duration = 5 , hurtbox = pat:get_frame(308,0,2).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(513,1,4, { tex_index = 45 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+0 , duration = 4 , hurtbox = pat:get_frame(308,0,5).hurtbox , collision = pat:get_frame(9,0,0).collision }) --hit pat:update_frame(513,1,5, { tex_index = 46 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+0 , duration = 24 , hurtbox = pat:get_frame(308,0,5).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(513,1,6, { tex_index = 486 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+0 , duration = 5 , hurtbox = pat:get_frame(9,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(513,1,7, { tex_index = 185 , 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(9,0,0).collision })]]-- pat:update_frame(513,1,0, { tex_index = 175 , 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(513,1,1, { tex_index = 73 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 7 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(513,1,2, { tex_index = 3 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-16 , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(300,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(513,1,3, { tex_index = 74 , 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(513,1,4, { tex_index = 74 , 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(513,1,5, { tex_index = 74 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 24 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(513,1,6, { tex_index = 177 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+8 , duration = 4 , hurtbox = pat:get_frame(9,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(513,2,0, { tex_index = 182 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = baseDur , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(513,2,1, { tex_index = 503 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = baseDur , hurtbox = pat:get_frame(9,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) for idy = 0 , 1 do for idx = 4 , 5 do pat:update_frame(812,idx,idy,function(frame) frame.tex_w = 0 frame.attackbox = pat:get_frame(0,0,0).attackbox frame.hurtbox = pat:get_frame(0,0,0).attackbox end) end end --pat:update_frame(812,6,0,{ scale_x = 400}) pat:update_frame(812,2,0,{ tex_index = 100 , tex_w = 128 , tex_h = 128 , tex_offset_x = 64 , tex_offset_y = 64 , scale_x = 20 , scale_y = 10 }) pat:get_sequence(812,1):set_priority(10,0) for idx = 2 , 106 do pat:split_frame(812,1,0,1,1) end for idx = 0 , 106 do pat:update_frame(812,1,idx,function(frame) frame.tex_index = 99 frame.tex_w = 128 frame.tex_h = 128 frame.tex_offset_x = 64 frame.tex_offset_y = 64 frame.scale_x = 120 frame.scale_y = 60 frame.attackbox = pat:get_frame(0,0,0).hurtbox frame.attackbox[1].x1 = -20 frame.attackbox[1].x2 = 20 frame.attackbox[1].y1 = -15 frame.attackbox[1].y2 = 15 local scalemod = 100/frame.scale_x local ymod = 0 local xmod = 0--idx*(0.2*idx) frame.tex_offset_y = frame.tex_offset_y - (ymod)*scalemod frame.attackbox[1].y1 = frame.attackbox[1].y1 + (ymod) frame.attackbox[1].y2 = frame.attackbox[1].y2 + (ymod) frame.tex_offset_x = frame.tex_offset_x - (xmod)*scalemod frame.attackbox[1].x1 = frame.attackbox[1].x1 + (xmod) frame.attackbox[1].x2 = frame.attackbox[1].x2 + (xmod) set_fflag(frame, FF_AFTER_IMAGE) set_fflag(frame, FF_LOOP_ANIMATION) set_aflag(frame, AF_UNREFLECTABLE) frame.limit = 2 frame.damage = 150 frame.chip_damage = 15 frame.proration = 960 frame.untech = 30 frame.card_gain_hit = 10 frame.card_gain_block = 10 frame.sp_damage = 20 frame.hit_ani_ground = 0 end) end end function mods.a214_lasers_mirror(pat) --505~508 --811 local baseX = 79*2 +8 local baseY = 155*2 +4 local baseW = 185 local baseH = 205 for idy = 0 , 3 do pat:update_frame(505+idy,0,0, { tex_index = 380 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(505+idy,0,1, { tex_index = 377 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(505+idy,0,2, { tex_index = 378 , tex_w = baseW , tex_h = baseH , tex_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-4 }) pat:update_frame(505+idy,0,3, { tex_index = 378 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(505+idy,0,4, { tex_index = 379 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(505+idy,0,4,function(frame) frame.hurtbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[2].x1 = frame.hurtbox[1].x2 - 20 frame.hurtbox[2].x2 = frame.hurtbox[1].x2 + 30 frame.hurtbox[2].y1 = frame.hurtbox[1].y1 + 25 frame.hurtbox[2].y2 = frame.hurtbox[2].y1 + 40 end) pat:update_frame(505+idy,0,5, { tex_index = 379 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(500+idy,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(505+idy,0,6, { tex_index = 379 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(500+idy,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = pat:get_frame(500+idy,0,9).fflags }) pat:update_frame(505+idy,0,7, { tex_index = 379 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(500+idy,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = pat:get_frame(500+idy,0,9).fflags }) pat:update_frame(505+idy,0,8, { tex_index = 379 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(500+idy,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = pat:get_frame(500+idy,0,9).fflags }) pat:update_frame(505+idy,0,9, { tex_index = 379 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(500+idy,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(505+idy,0,10, { tex_index = 379 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(500+idy,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4+6+2 }) pat:update_frame(505+idy,0,11, { tex_index = 377 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(505+idy,0,12, { tex_index = 380 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) if (idy >= 2) then for idx = 4 , 10 do pat:update_frame(505+idy,0,idx,function(frame) frame.hurtbox[1].y2 = frame.hurtbox[1].y2 - 10 end) end pat:update_frame(505+idy,2,0, { tex_index = 351 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(10,0,0).hurtbox , collision = pat:get_frame(10,0,0).collision }) pat:update_frame(505+idy,2,1, { tex_index = 351 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(10,0,1).hurtbox , collision = pat:get_frame(10,0,1).collision }) pat:update_frame(505+idy,2,2, { tex_index = 186 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(10,0,2).hurtbox , collision = pat:get_frame(10,0,2).collision }) end end pat:remove_frame(811,0,1) pat:remove_frame(811,1,1) pat:remove_frame(811,2,1) pat:remove_frame(811,3,1) for idx = 0 , 7 do pat:update_frame(811,idx,0,function(frame) frame.tex_index = 87 frame.tex_w = 64 frame.tex_h = 64 frame.tex_offset_x = 32 frame.tex_offset_y = 32 end) end for idx = 8 , 11 do pat:update_frame(811,idx,0,function(frame) frame.color_r = 105 frame.color_g = 105 frame.color_b = 255 frame.damage = 400 end) end for idx = 2 , 300 do pat:split_frame(811,12,1,1,1) end pat:get_sequence(811,12):set_priority(10,0) for idx = 0 , 300 do pat:update_frame(811,12,idx,function(frame) frame.duration = 1 frame.tex_index = 395-14 + idx%10 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 = 150 frame.hurtbox = pat:get_frame(0,0,0).hurtbox frame.hurtbox[1].x1 = -30 frame.hurtbox[1].x2 = 30 frame.hurtbox[1].y1 = -80 frame.hurtbox[1].y2 = 80 frame.attackbox = pat:get_frame(0,0,0).attackbox if (idx<10) then frame.scale_x = 15*idx frame.scale_y = 15*idx end if (idx>=290) then frame.scale_x = 15*(300-idx) frame.scale_y = 15*(300-idx) end if (idx==300) then frame.scale_x = 0 frame.scale_y = 0 frame.duration = 20 end end) end --pat:update_frame(811,14,0,{ scale_x = 500}) --pat:update_frame(811,14,1,{ scale_x = 500}) end function mods.a421_grab_grab(pat) local baseX = 79*2 +8 local baseY = 155*2 +4 local baseW = 185 local baseH = 205 for idy = 0 , 1 do --pat:update_frame(550+idy,0,0, { tex_index = 351 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 , hurtbox = pat:get_frame(6,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(550+idy,0,0, { tex_index = 4 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 , hurtbox = pat:get_frame(320,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(550+idy,0,1, { tex_index = 6 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 8 , hurtbox = pat:get_frame(320,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(550+idy,0,2, { tex_index = 8 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 , hurtbox = pat:get_frame(320,0,8).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(550+idy,1,0, { tex_index = 7 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(320,0,4).hurtbox , attackbox = pat:get_frame(320,0,4).attackbox , collision = pat:get_frame(0,0,0).collision }) --hit pat:update_frame(550+idy,1,1, { tex_index = 7 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(320,0,4).hurtbox , attackbox = pat:get_frame(320,0,4).attackbox , collision = pat:get_frame(0,0,0).collision }) --hit pat:update_frame(550+idy,2,0, { tex_index = 7 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 , hurtbox = pat:get_frame(320,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(550+idy,2,1, { tex_index = 7 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 , hurtbox = pat:get_frame(320,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(550+idy,2,2, { tex_index = 8 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(320,0,8).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(550+idy,2,3, { tex_index = 8 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(320,0,8).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(550+idy,2,4, { tex_index = 6 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(320,0,9).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(550+idy,2,5, { tex_index = 6 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(320,0,9).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(550+idy,3,0, { tex_index = 7 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 }) pat:update_frame(550+idy,3,1, { tex_index = 7 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 }) pat:update_frame(550+idy,4,0, { tex_index = 7 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 6 }) pat:update_frame(550+idy,4,1, { tex_index = 8 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 }) pat:update_frame(550+idy,4,2, { tex_index = 6 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 3 }) pat:update_frame(550+idy,4,3, { tex_index = 6 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 }) pat:update_frame(550+idy,5,0, { tex_index = 182 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) pat:update_frame(550+idy,5,1, { tex_index = 503 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(9,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(550+idy,6,0, { tex_index = 7 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 , hurtbox = pat:get_frame(320,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000001 }) pat:update_frame(550+idy,6,1, { tex_index = 8 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 , hurtbox = pat:get_frame(320,0,8).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000001 }) pat:update_frame(550+idy,6,2, { tex_index = 6 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 , hurtbox = pat:get_frame(320,0,9).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000001 }) for idz = 0 , 2 do pat:update_frame(550+idy,0,idz,function(frame) unset_fflag(frame,FF_AIRBORNE) end) end for idz = 0 , 1 do pat:update_frame(550+idy,1,idz,function(frame) unset_fflag(frame,FF_AIRBORNE) end) end for idz = 0 , 5 do pat:update_frame(550+idy,2,idz,function(frame) unset_fflag(frame,FF_AIRBORNE) end) end for idz = 0 , 1 do pat:update_frame(550+idy,3,idz,function(frame) unset_fflag(frame,FF_AIRBORNE) end) end for idz = 0 , 3 do pat:update_frame(550+idy,4,idz,function(frame) unset_fflag(frame,FF_AIRBORNE) end) end for idz = 0 , 1 do pat:update_frame(550+idy,5,idz,function(frame) unset_fflag(frame,FF_AIRBORNE) end) end for idz = 0 , 2 do pat:update_frame(550+idy,6,idz,function(frame) unset_fflag(frame,FF_AIRBORNE) end) end end pat:update_frame(551,0,1,{ duration = 8+12 }) for idx = 0 , 1 do pat:update_frame(550,1,idx,function(frame) frame.aflags = 0x00004003 frame.fflags = 0x00000061 set_aflag(frame,AF_AIR_BLOCKABLE) frame.attack_level = AL_HEAVY end) end for idx = 0 , 1 do pat:update_frame(551,1,idx,function(frame) set_aflag(frame,AF_GRAB) frame.attackbox[1].y1 = -10 frame.attackbox[1].y2 = 0 frame.attack_level = AL_HEAVY end) end for idx = 15 , 95 do pat:split_frame(822,0,0,1,1) end for idx = 2 , 35 do pat:split_frame(822,2,0,1,1) end for idx = 0 , 95 do pat:update_frame(822,0,idx,function(frame) frame.tex_index = 228+idx%36 frame.tex_w = 256 frame.tex_h = 256 frame.tex_offset_x = 128 frame.tex_offset_y = 128 frame.duration = 1 frame.scale_x = 150 frame.scale_y = 150 frame.color_r = 0 frame.color_g = 155 frame.color_b = 155 if (idx<15) then local alpha = idx * 17 frame.color_r = 0 frame.color_g = idx*10 frame.color_b = idx*10 end frame.attackbox = pat:get_frame(0,0,0).attackbox frame.hurtbox = pat:get_frame(0,0,0).attackbox end) end for idx = 0 , 35 do pat:update_frame(822,2,idx,function(frame) frame.tex_index = 228+idx%36 frame.tex_w = 256 frame.tex_h = 256 frame.tex_offset_x = 128 frame.tex_offset_y = 128 frame.duration = 1 frame.scale_x = 50 frame.scale_y = 50 frame.color_r = 0 frame.color_g = 155 frame.color_b = 155 if (idx<15) then local alpha = idx * 17 frame.color_r = 0 frame.color_g = idx*10 frame.color_b = idx*10 end frame.attackbox = pat:get_frame(0,0,0).attackbox frame.hurtbox = pat:get_frame(0,0,0).attackbox end) end end function mods.a421_wisp_field(pat) --545~546 --821 local baseX = 79*2 +8 local baseY = 155*2 +4 local baseW = 185 local baseH = 205 pat:get_sequence(545,1):set_looped(false) pat:remove_frame(545,1,1) pat:update_frame(545,0,0, { tex_index = 347 , 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,0,1, { tex_index = 1 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-12 , 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(545,0,2, { tex_index = 1 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-12 , 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(545,0,3, { tex_index = 348 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 1 , hurtbox = pat:get_frame(410,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(545,0,4, { tex_index = 348 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 1+2 , hurtbox = pat:get_frame(410,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(545,0,5, { tex_index = 341 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(410,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(545,0,6, { tex_index = 341 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(410,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(545,1,0, { tex_index = 342 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(410,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(545,2,0, { tex_index = 340 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(410,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000021 }) pat:update_frame(545,2,1, { tex_index = 341 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(410,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000021 }) pat:update_frame(545,2,2, { tex_index = 342 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(410,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000021 }) pat:update_frame(545,2,3, { tex_index = 340 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(410,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000021 }) pat:update_frame(545,2,4, { tex_index = 341 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(410,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000021 }) pat:update_frame(545,2,5, { tex_index = 342 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 16 , hurtbox = pat:get_frame(410,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(545,3,0, { tex_index = 346 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , 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(545,3,1, { tex_index = 380 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-6 , 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(546,1):set_looped(false) pat:remove_frame(546,1,1) pat:update_frame(546,0,0, { tex_index = 347 , 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,0,1, { tex_index = 1 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-12 , 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(546,0,2, { tex_index = 1 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-12 , 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(546,0,3, { tex_index = 348 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 1 , hurtbox = pat:get_frame(410,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(546,0,4, { tex_index = 348 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 1+2 , hurtbox = pat:get_frame(410,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(546,0,5, { tex_index = 341 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(410,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(546,0,6, { tex_index = 341 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(410,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(546,1,0, { tex_index = 342 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(410,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(546,2,0, { tex_index = 340 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(410,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000021 }) pat:update_frame(546,2,1, { tex_index = 341 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(410,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000021 }) pat:update_frame(546,2,2, { tex_index = 342 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(410,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000021 }) pat:update_frame(546,2,3, { tex_index = 340 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(410,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000021 }) pat:update_frame(546,2,4, { tex_index = 341 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(410,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000021 }) pat:update_frame(546,2,5, { tex_index = 342 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 16 , hurtbox = pat:get_frame(410,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(546,3,0, { tex_index = 346 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , 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(546,3,1, { tex_index = 380 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-6 , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) for idx = 1 , 360 do pat:split_frame(821,0,0,1,1) end for idx = 0 , 360 do pat:update_frame(821,0,idx,function(frame) frame.tex_index = 228+((idx/2)%36) frame.tex_w = 256 frame.tex_h = 256 frame.tex_offset_x = 128 frame.tex_offset_y = 128 frame.duration = 1 frame.scale_x = 400 frame.scale_y = 400 frame.color_r = 125--255 frame.color_g = 35 frame.color_b = 0--155 if (idx<15) then local alpha = idx * 17--10 frame.color_r = alpha*0.5--idx*17 frame.color_g = idx*2.5 frame.color_b = 0 end if (idx>=345) then local alpha = (360-idx) * 17--10 frame.color_r = alpha*0.5--idx*17 frame.color_g = (360-idx)*2.5 frame.color_b = 0 end if (idx == 360) then frame.color_r = 0 frame.color_g = 0 frame.color_b = 0 end end) end for idx = 0 , 1 do pat:update_frame(821,1,idx,function(frame) frame.attackbox = pat:get_frame(0,0,0).attackbox frame.scale_x = 20 frame.scale_y = 20 end) end end function mods.a623_spin_react(pat) --570 571 --827 local baseX = 79*2 +8 local baseY = 155*2 +4 local baseW = 185 local baseH = 205 for idy = 0 , 0 do pat:update_frame(570+idy,0,0, { tex_index = 416 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 5 , fflags = 0x00000041 }) pat:update_frame(570+idy,0,1, { tex_index = 417 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(525,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 5+idy*4 , fflags = 0x00000041 }) pat:update_frame(570+idy,0,2, { tex_index = 418 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(525,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 1 , fflags = 0x00000041 }) pat:update_frame(570+idy,0,3, { tex_index = 418 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(525,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 1 , fflags = 0x00000041 }) pat:update_frame(570+idy,0,4, { tex_index = 418 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(525,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 1 , fflags = 0x00000041 }) pat:update_frame(570+idy,0,5, { tex_index = 418 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(525,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 1 , fflags = 0x00000041 }) pat:update_frame(570+idy,0,6, { tex_index = 419 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(525,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 1 , fflags = 0x00000041 }) pat:update_frame(570+idy,0,7, { tex_index = 419 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(525,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 1 , fflags = 0x00000041 }) pat:update_frame(570+idy,0,8, { tex_index = 419 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(525,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 1 , fflags = 0x00000041 }) pat:update_frame(570+idy,0,9, { tex_index = 419 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(525,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 1 , fflags = 0x00000041 }) pat:update_frame(570+idy,0,10, { tex_index = 420 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(525,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 , fflags = 0x00000041 , attackbox = pat:get_frame(0,0,0).attackbox }) pat:update_frame(570+idy,0,11, { tex_index = 420 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(525,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 , fflags = 0x00000041 , attackbox = pat:get_frame(0,0,0).attackbox }) pat:update_frame(570+idy,0,12, { tex_index = 418 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(525,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 , fflags = 0x00000001 }) pat:update_frame(570+idy,0,13, { tex_index = 419 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(525,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 , fflags = 0x00000001 }) pat:update_frame(570+idy,0,14, { tex_index = 417 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(525,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 , fflags = 0x00200001 }) pat:update_frame(570+idy,0,15, { tex_index = 416 , tex_w = baseW , tex_h = baseH , tex_offset_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 = 0x00200001 }) for idz = 0 , 15 do pat:update_frame(570+idy,0,idz,function(frame) set_fflag(frame,FF_GRAZE) end) end end for idy = 1 , 1 do pat:update_frame(570+idy,0,0, { tex_index = 416 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 5 , fflags = 0x00000041 }) pat:update_frame(570+idy,0,1, { tex_index = 417 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(525,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 5+idy*4 , fflags = 0x00000041 }) for idx = 5 , 15 do pat:remove_frame(570+idy,1,5) end pat:update_frame(570+idy,1,0, { tex_index = 418 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(525,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 1 , fflags = 0x00000041 }) pat:update_frame(570+idy,1,1, { tex_index = 418 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(525,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 1 , fflags = 0x00000041 }) pat:update_frame(570+idy,1,2, { tex_index = 418 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(525,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 1 , fflags = 0x00000041 }) pat:update_frame(570+idy,1,3, { tex_index = 418 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(525,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 1 , fflags = 0x00000041 }) pat:update_frame(570+idy,1,4, { tex_index = 419 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(525,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 1 , fflags = 0x00000041 }) for idz = 0 , 1 do pat:update_frame(570+idy,0,idz,function(frame) set_fflag(frame,FF_GRAZE) end) end for idz = 0 , 4 do pat:update_frame(570+idy,1,idz,function(frame) set_fflag(frame,FF_GRAZE) end) end for idx = 2 , 4 do pat:update_frame(570+idy,idx,0, { tex_index = 419 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(525,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 1 , fflags = 0x00000041 }) pat:update_frame(570+idy,idx,1, { tex_index = 419 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(525,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 1 , fflags = 0x00000041 }) pat:update_frame(570+idy,idx,2, { tex_index = 419 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(525,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 1 , fflags = 0x00000041 }) pat:update_frame(570+idy,idx,3, { tex_index = 420 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(525,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 , fflags = 0x00000041 , attackbox = pat:get_frame(0,0,0).attackbox }) pat:update_frame(570+idy,idx,4, { tex_index = 420 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(525,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 , fflags = 0x00000041 , attackbox = pat:get_frame(0,0,0).attackbox }) pat:update_frame(570+idy,idx,5, { tex_index = 418 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(525,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 , fflags = 0x00000001 }) pat:update_frame(570+idy,idx,6, { tex_index = 419 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(525,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 , fflags = 0x00000001 }) pat:update_frame(570+idy,idx,7, { tex_index = 417 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(525,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 , fflags = 0x00200001 }) pat:update_frame(570+idy,idx,8, { tex_index = 416 , tex_w = baseW , tex_h = baseH , tex_offset_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 = 0x00200001 }) for idz = 0 , 8 do pat:update_frame(570+idy,idx,idz,function(frame) set_fflag(frame,FF_GRAZE) end) end end end pat:update_frame(570,1,0, { tex_index = 0 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-16 , 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,1,1, { tex_index = 327 , 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(570,1,2, { tex_index = 328 , 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(570,1,3, { tex_index = 175 , 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(570,1,4, { tex_index = 73 , 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(570,1,5, { tex_index = 3 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-16 , tex_offset_y = baseY , duration = 5+8 , hurtbox = pat:get_frame(300,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(570,1,6, { tex_index = 3 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-16 , tex_offset_y = baseY , duration = 1 , hurtbox = pat:get_frame(300,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(570,1,7, { tex_index = 3 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-16 , tex_offset_y = baseY , duration = 1 , hurtbox = pat:get_frame(300,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(570,1,8, { tex_index = 3 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-16 , tex_offset_y = baseY , duration = 1 , hurtbox = pat:get_frame(300,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(570,1,9, { tex_index = 3 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-16 , tex_offset_y = baseY , duration = 1 , hurtbox = pat:get_frame(300,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(570,1,10, { tex_index = 3 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-16 , tex_offset_y = baseY , duration = 1 , hurtbox = pat:get_frame(300,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(570,1,11, { tex_index = 0 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-16 , tex_offset_y = baseY , duration = 5 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) for idx = 12 , 15 do pat:remove_frame(570,1,12) end pat:update_frame(570,2,0, { tex_index = 0 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-16 , 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,2,1, { tex_index = 327 , 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(570,2,2, { tex_index = 328 , 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(570,2,3, { tex_index = 175 , 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(570,2,4, { tex_index = 73 , 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(570,2,5, { tex_index = 3 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-16 , tex_offset_y = baseY , duration = 5+8 , hurtbox = pat:get_frame(300,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(570,2,6, { tex_index = 3 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-16 , tex_offset_y = baseY , duration = 1 , hurtbox = pat:get_frame(300,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(570,2,7, { tex_index = 3 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-16 , tex_offset_y = baseY , duration = 1 , hurtbox = pat:get_frame(300,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(570,2,8, { tex_index = 3 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-16 , tex_offset_y = baseY , duration = 1 , hurtbox = pat:get_frame(300,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(570,2,9, { tex_index = 3 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-16 , tex_offset_y = baseY , duration = 1 , hurtbox = pat:get_frame(300,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(570,2,10, { tex_index = 3 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-16 , tex_offset_y = baseY , duration = 1 , hurtbox = pat:get_frame(300,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(570,2,11, { tex_index = 0 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-16 , tex_offset_y = baseY , duration = 5 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) for idx = 12 , 15 do pat:remove_frame(570,2,12) end for idx = 0 , 11 do pat:update_frame(570,2,idx,function(frame) set_fflag(frame,FF_AIRBORNE) end) end for idx = 1 , 2 do for idz = 0 , 4 do pat:update_frame(570,idx,idz,function(frame) set_fflag(frame,FF_MELEE_INV) set_fflag(frame,FF_BULLET_INV) set_fflag(frame,FF_GRAB_INV) set_fflag(frame,FF_GRAZE) frame.attackbox = pat:get_frame(0,0,0).attackbox end) end for idz = 5 , 11 do pat:update_frame(570,idx,idz,function(frame) set_fflag(frame,FF_GRAZE) set_fflag(frame,FF_GUARD_CANCEL) frame.attackbox = pat:get_frame(0,0,0).attackbox end) end end for idx = 9 , 11 do pat:split_frame(571,4,8,1,1) end pat:update_frame(571,4,0, { tex_index = 0 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-16 , 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(571,4,1, { tex_index = 327 , 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(571,4,2, { tex_index = 328 , 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).attackbox }) pat:update_frame(571,4,3, { tex_index = 175 , 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).attackbox }) pat:update_frame(571,4,4, { tex_index = 73 , 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).attackbox }) pat:update_frame(571,4,5, { tex_index = 3 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-16 , tex_offset_y = baseY , duration = 5+8 , hurtbox = pat:get_frame(300,0,2).hurtbox , collision = pat:get_frame(0,0,0).attackbox }) pat:update_frame(571,4,6, { tex_index = 3 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-16 , tex_offset_y = baseY , duration = 1 , hurtbox = pat:get_frame(300,0,2).hurtbox , collision = pat:get_frame(0,0,0).attackbox }) pat:update_frame(571,4,7, { tex_index = 3 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-16 , tex_offset_y = baseY , duration = 1 , hurtbox = pat:get_frame(300,0,2).hurtbox , collision = pat:get_frame(0,0,0).attackbox }) pat:update_frame(571,4,8, { tex_index = 3 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-16 , tex_offset_y = baseY , duration = 1 , hurtbox = pat:get_frame(300,0,2).hurtbox , collision = pat:get_frame(0,0,0).attackbox }) pat:update_frame(571,4,9, { tex_index = 3 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-16 , tex_offset_y = baseY , duration = 1 , hurtbox = pat:get_frame(300,0,2).hurtbox , collision = pat:get_frame(0,0,0).attackbox }) pat:update_frame(571,4,10, { tex_index = 3 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-16 , tex_offset_y = baseY , duration = 1 , hurtbox = pat:get_frame(300,0,2).hurtbox , collision = pat:get_frame(0,0,0).attackbox }) pat:update_frame(571,4,11, { tex_index = 0 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-16 , tex_offset_y = baseY , duration = 5 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) for idz = 0 , 4 do pat:update_frame(571,4,idz,function(frame) unset_fflag(frame,FF_MELEE_INV) unset_fflag(frame,FF_BULLET_INV) unset_fflag(frame,FF_GRAB_INV) set_fflag(frame,FF_GRAZE) frame.attackbox = pat:get_frame(0,0,0).attackbox end) end for idz = 5 , 11 do pat:update_frame(571,4,idz,function(frame) set_fflag(frame,FF_GRAZE) set_fflag(frame,FF_GUARD_CANCEL) frame.attackbox = pat:get_frame(0,0,0).attackbox end) end pat:update_frame(827,0,8,function(frame) frame.duration = 400 end) pat:split_frame(827,3,13,1,1) for idy = 2 , 3 do pat:get_sequence(827,idy):set_looped(true) for idx = 15 , 19 do pat:split_frame(827,idy,14,1,1) end for idx = 0 , 19 do pat:update_frame(827,idy,idx,function(frame) frame.duration = 1 frame.tex_index = 395 + idx%20 frame.tex_w = 128 frame.tex_h = 128 frame.tex_offset_x = 64 frame.tex_offset_y = 128 frame.scale_x = 200 frame.scale_y = 200 frame.color_r = 155 frame.color_g = 155 end) end end end function mods.systems(pat) --690 --691 --692 --695 --696 --697 --698 local baseX = 79*2 +8 local baseY = 155*2 +4 local baseW = 185 local baseH = 205 pat:update_frame(690,0,0, { tex_index = 494 , 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(690,0,1, { tex_index = 421+0 , 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(690,0,2, { tex_index = 421+1 , 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(690,0,3, { tex_index = 421+2 , 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(690,0,4, { tex_index = 421+2 , 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(690,0,5, { tex_index = 421+3 , 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(690,1,0, { tex_index = 421+4 , 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(690,1,1, { tex_index = 421+5 , 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(690,1,2, { tex_index = 421+6 , 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(690,1,3, { tex_index = 421+6 , 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(690,1,4, { tex_index = 421+6 , 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(690,1,5, { tex_index = 421+6 , 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(690,1,6, { tex_index = 421+6 , 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(690,1,7, { tex_index = 421+6 , 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(690,1,8, { tex_index = 421+6 , 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(690,1,9, { tex_index = 421+6 , 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(690,1,10, { tex_index = 421+7 , 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(691,0,0, { tex_index = 494 , 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(691,0,1, { tex_index = 421+0 , 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(691,0,2, { tex_index = 421+1 , 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(691,0,3, { tex_index = 421+2 , 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(691,0,4, { tex_index = 421+2 , 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(691,0,5, { tex_index = 421+3 , 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(691,1,0, { tex_index = 421+4 , 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(691,1,1, { tex_index = 421+5 , 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(691,1,2, { tex_index = 421+6 , 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(691,1,3, { tex_index = 421+6 , 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(691,1,4, { tex_index = 421+6 , 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(691,1,5, { tex_index = 421+6 , 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(691,1,6, { tex_index = 421+6 , 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(691,1,7, { tex_index = 421+6 , 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(691,1,8, { tex_index = 421+6 , 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(691,1,9, { tex_index = 421+6 , 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(691,1,10, { tex_index = 421+7 , 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(692,0,0, { tex_index = 494 , 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(692,0,1, { tex_index = 421+0 , 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(692,0,2, { tex_index = 421+1 , 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(692,0,3, { tex_index = 421+2 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2+5 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(692,0,4, { tex_index = 421+3 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 7-5 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(692,0,5, { tex_index = 421+4 , 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(692,0,6, { tex_index = 421+5 , 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(692,1,0, { tex_index = 421+6 , 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(692,1,1, { tex_index = 421+6 , 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(692,2,0, { tex_index = 421+6 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 10 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(692,2,1, { tex_index = 421+6 , 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(692,2,2, { tex_index = 421+7 , 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(695,0,0, { tex_index = 494 , 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(695,0,1, { tex_index = 421+0 , 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(695,0,2, { tex_index = 421+1 , 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(695,0,3, { tex_index = 421+2 , 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(695,0,4, { tex_index = 421+2 , 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(695,0,5, { tex_index = 421+3 , 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(695,0,6, { tex_index = 421+4 , 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(695,0,7, { tex_index = 421+5 , 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(695,0,8, { tex_index = 421+6 , 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(695,0,9, { tex_index = 421+6 , 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(695,0,10, { tex_index = 421+6 , 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(695,0,11, { tex_index = 421+6 , 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(695,0,12, { tex_index = 421+6 , 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(695,0,13, { tex_index = 421+6 , 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(695,0,14, { tex_index = 421+6 , 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(695,0,15, { tex_index = 421+6 , 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(695,0,16, { tex_index = 421+6 , 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(695,0,17, { tex_index = 421+6 , 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(695,0,18, { tex_index = 421+7 , 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(696,0,0, { tex_index = 67 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-20 , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(302,0,0).hurtbox , collision = pat:get_frame(302,0,0).collision }) pat:update_frame(696,0,1, { tex_index = 67 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-20 , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(302,0,0).hurtbox , collision = pat:get_frame(302,0,0).collision }) pat:update_frame(696,0,2, { tex_index = 68 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-20 , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(302,0,2).hurtbox , collision = pat:get_frame(302,0,0).collision }) pat:update_frame(696,0,3, { tex_index = 68 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-20 , tex_offset_y = baseY , duration = 10 , hurtbox = pat:get_frame(302,0,2).hurtbox , collision = pat:get_frame(302,0,0).collision }) pat:update_frame(696,0,4, { tex_index = 68 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-20 , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(302,0,2).hurtbox , collision = pat:get_frame(302,0,0).collision }) pat:update_frame(696,0,5, { tex_index = 70 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-20 , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(302,0,5).hurtbox , collision = pat:get_frame(302,0,5).collision }) pat:update_frame(696,0,6, { tex_index = 69 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-20 , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(302,0,6).hurtbox , attackbox = pat:get_frame(302,0,6).attackbox , collision = pat:get_frame(302,0,5).collision }) --hit pat:update_frame(696,0,7, { tex_index = 69 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-20 , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(302,0,6).hurtbox , collision = pat:get_frame(302,0,5).collision }) pat:update_frame(696,0,8, { tex_index = 69 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-20 , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(302,0,6).hurtbox , collision = pat:get_frame(302,0,5).collision }) pat:update_frame(696,0,9, { tex_index = 69 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-20 , tex_offset_y = baseY , duration = 14 , hurtbox = pat:get_frame(302,0,6).hurtbox , collision = pat:get_frame(302,0,5).collision }) pat:update_frame(696,0,10, { tex_index = 70 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-20 , tex_offset_y = baseY , duration = 5 , hurtbox = pat:get_frame(302,0,10).hurtbox , collision = pat:get_frame(302,0,5).collision }) pat:update_frame(696,0,11, { tex_index = 71 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-20 , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(302,0,12).hurtbox , collision = pat:get_frame(302,0,5).collision }) pat:update_frame(696,0,12, { tex_index = 71 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-20 , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(302,0,12).hurtbox , collision = pat:get_frame(302,0,0).collision }) pat:update_frame(697,0,0, { tex_index = 67 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-20 , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(302,0,0).hurtbox , collision = pat:get_frame(302,0,0).collision }) pat:update_frame(697,0,1, { tex_index = 67 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-20 , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(302,0,0).hurtbox , collision = pat:get_frame(302,0,0).collision }) pat:update_frame(697,0,2, { tex_index = 68 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-20 , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(302,0,2).hurtbox , collision = pat:get_frame(302,0,0).collision }) pat:update_frame(697,1,0, { tex_index = 68 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-20 , tex_offset_y = baseY , duration = 12 , hurtbox = pat:get_frame(302,0,2).hurtbox , collision = pat:get_frame(302,0,0).collision }) pat:update_frame(697,2,0, { tex_index = 68 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-20 , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(302,0,2).hurtbox , collision = pat:get_frame(302,0,0).collision }) pat:update_frame(697,2,1, { tex_index = 70 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-20 , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(302,0,5).hurtbox , collision = pat:get_frame(302,0,5).collision }) pat:update_frame(697,3,0, { tex_index = 69 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-20 , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(302,0,6).hurtbox , attackbox = pat:get_frame(302,0,6).attackbox , collision = pat:get_frame(302,0,5).collision }) --hit pat:update_frame(697,3,1, { tex_index = 69 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-20 , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(302,0,6).hurtbox , collision = pat:get_frame(302,0,5).collision }) pat:update_frame(697,3,2, { tex_index = 69 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-20 , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(302,0,6).hurtbox , collision = pat:get_frame(302,0,5).collision }) pat:update_frame(697,3,3, { tex_index = 69 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-20 , tex_offset_y = baseY , duration = 9 , hurtbox = pat:get_frame(302,0,6).hurtbox , collision = pat:get_frame(302,0,5).collision }) pat:update_frame(697,4,0, { tex_index = 70 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-20 , tex_offset_y = baseY , duration = 5 , hurtbox = pat:get_frame(302,0,10).hurtbox , collision = pat:get_frame(302,0,5).collision }) pat:update_frame(697,4,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(302,0,12).hurtbox , collision = pat:get_frame(302,0,5).collision }) pat:update_frame(697,4,2, { tex_index = 71 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-20 , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(302,0,12).hurtbox , collision = pat:get_frame(302,0,0).collision }) pat:update_frame(698,0,0, { tex_index = 67 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-20 , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(302,0,0).hurtbox , collision = pat:get_frame(302,0,0).collision }) pat:update_frame(698,0,1, { tex_index = 67 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-20 , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(302,0,0).hurtbox , collision = pat:get_frame(302,0,0).collision }) pat:update_frame(698,0,2, { tex_index = 68 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-20 , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(302,0,2).hurtbox , collision = pat:get_frame(302,0,0).collision }) pat:update_frame(698,0,3, { tex_index = 68 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-20 , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(302,0,2).hurtbox , collision = pat:get_frame(302,0,0).collision }) pat:update_frame(698,1,0, { tex_index = 68 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-20 , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(302,0,2).hurtbox , collision = pat:get_frame(302,0,0).collision }) pat:update_frame(698,1,1, { tex_index = 70 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-20 , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(302,0,5).hurtbox , collision = pat:get_frame(302,0,5).collision }) pat:update_frame(698,2,0, { tex_index = 69 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-20 , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(302,0,6).hurtbox , attackbox = pat:get_frame(302,0,6).attackbox , collision = pat:get_frame(302,0,5).collision }) --hit pat:update_frame(698,2,1, { tex_index = 69 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-20 , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(302,0,6).hurtbox , collision = pat:get_frame(302,0,5).collision }) pat:update_frame(698,2,2, { tex_index = 69 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-20 , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(302,0,6).hurtbox , collision = pat:get_frame(302,0,5).collision }) pat:update_frame(698,2,3, { tex_index = 69 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-20 , tex_offset_y = baseY , duration = 14 , hurtbox = pat:get_frame(302,0,6).hurtbox , collision = pat:get_frame(302,0,5).collision }) pat:update_frame(698,3,0, { tex_index = 70 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-20 , tex_offset_y = baseY , duration = 5 , hurtbox = pat:get_frame(302,0,10).hurtbox , collision = pat:get_frame(302,0,5).collision }) pat:update_frame(698,3,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(302,0,12).hurtbox , collision = pat:get_frame(302,0,5).collision }) pat:update_frame(698,3,2, { tex_index = 71 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-20 , tex_offset_y = baseY , duration = 3 , hurtbox = pat:get_frame(302,0,12).hurtbox , collision = pat:get_frame(302,0,0).collision }) end function mods.sc_garden(pat) --607 -> 612 --862 local baseX = 79*2 +8 local baseY = 155*2 +4 local baseW = 185 local baseH = 205 for idx = 8 , 17 do pat:split_frame(612,0,7,2,2) end pat:update_frame(612,0,0, { tex_index = 416 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(612,0,1, { tex_index = 417 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(525,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(612,0,2, { tex_index = 417 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).attackbox , collision = pat:get_frame(0,0,0).collision , duration = 40 }) pat:update_frame(612,0,3, { tex_index = 418 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(525,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) pat:update_frame(612,0,4, { tex_index = 418 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(525,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) pat:update_frame(612,0,5, { tex_index = 419 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(525,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(612,0,6, { tex_index = 420 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(525,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(612,0,7, { tex_index = 418 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(525,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(612,0,8, { tex_index = 419 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(525,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(612,0,9, { tex_index = 420 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(525,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(612,0,10, { tex_index = 418 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(525,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(612,0,11, { tex_index = 419 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(525,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(612,0,12, { tex_index = 420 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(525,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(612,0,13, { tex_index = 418 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(525,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 , fflags = 0x00000001 }) pat:update_frame(612,0,14, { tex_index = 419 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(525,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 , fflags = 0x00000001 }) pat:update_frame(612,0,15, { tex_index = 420 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(525,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 14 , fflags = 0x00000001 }) pat:update_frame(612,0,16, { tex_index = 417 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(525,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 , fflags = 0x00000001 }) pat:update_frame(612,0,17, { tex_index = 416 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(525,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 , fflags = 0x00000001 }) for idy = 2 , 4 do pat:split_frame(862,16,0,1,1) end pat:get_sequence(862,16):set_priority(20,0) for idy = 0 , 4 do pat:update_frame(862,16,idy,function(frame) frame.color_r = 255 frame.color_g = 255 frame.color_b = 255 frame.color_a = 255 frame.blending_mode = 0 frame.tex_index = 84+0 frame.tex_w = 192 frame.tex_h = 192 frame.tex_offset_x = 96 frame.tex_offset_y = 96 frame.scale_x = (idy+1)/5*120 * .5 frame.scale_y = (idy+1)/5*120 * .5 frame.attackbox = pat:get_frame(0,0,0).hurtbox frame.attackbox[1].x1 = -30 frame.attackbox[1].x2 = 30 frame.attackbox[1].y1 = -20 frame.attackbox[1].y2 = 20 frame.damage = 500 frame.limit = 10 frame.chip_damage = 0 frame.sp_damage = 200 frame.proration = 900 frame.untech = 45 frame.hitstop_self = 0 frame.hitstop_enemy = 40 frame.blockstop_self = 0 frame.blockstop_enemy = 10 frame.duration = 300 if (idy ~= 4) then frame.duration = 1 frame.attackbox = pat:get_frame(0,0,0).attackbox end if (idy == 0) then frame.duration = 30 frame.tex_w = 0 end if (idy == 1) then frame.duration = 2 end if (idy == 2) then frame.duration = 2 end if (idy == 3) then frame.duration = 2 end frame.card_gain_hit = 0--50 frame.card_gain_block = 0--50 frame.attack_level = AL_HEAVY frame.hit_ani_air = 71 frame.hit_ani_ground = 71 frame.launch_vector_x = 500 frame.launch_vector_y = 1250 frame.combo_correction = CC_LIFT_ATTACK --frame.fflags = 0x01000000 --frame.aflags = 0x0041040e frame.unknown_9 = 100 frame.hit_effect = pat:get_frame(801,3,0).hit_effect frame.hit_sfx = pat:get_frame(801,3,0).hit_sfx end) end pat:get_sequence(862,12):set_looped(false) pat:get_sequence(862,15):set_looped(false) pat:remove_frame(862,12,1) for idx = 1 , 69 do pat:split_frame(862,12,0,1,1) end for idx = 0 , 69 do pat:update_frame(862,12,idx,function(frame) scal = 0 frame.tex_index = 105 +13 - (idx/4) if (idx > 32) then frame.tex_index = 105+4 scal = 50 end if (idx > 40) then frame.tex_index = 105+3 scal = 100 end if (idx > 60) then frame.tex_index = 105+2 scal = 100 end if (idx > 64) then frame.tex_index = 105+13 scal = 50 end if (idx == 69) then frame.tex_w = 0 frame.duration = 10 end frame.tex_w = 985 frame.tex_h = 736 frame.tex_offset_x = 479 frame.tex_offset_y = 479 frame.scale_x = 100+scal + 3*((idx%8)) frame.scale_y = 150+scal*1.5 + 9*((idx%8)) if (idx > 48 and idx <= 56) then frame.scale_x = 120+scal frame.scale_y = 180+scal*1.5 frame.duration = 100 --frame.duration = 300 end if (idx == 56) then frame.duration = 140 end frame.scale_x = frame.scale_x*1.65* .75 frame.scale_y = frame.scale_y*1.5* .75 if (idx <= 32) then frame.attackbox = pat:get_frame(0,0,0).hurtbox frame.attackbox[1].x1 = -50 frame.attackbox[1].x2 = 50 frame.attackbox[1].y1 = -180 - idx*12 frame.attackbox[1].y2 = 0 elseif (idx <= 40) then frame.attackbox = pat:get_frame(0,0,0).hurtbox frame.attackbox[1].x1 = -50 - (idx-32)*30 frame.attackbox[1].x2 = 50 + (idx-32)*30 frame.attackbox[1].y1 = -180 - 32*12 frame.attackbox[1].y2 = 0 frame.attackbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.attackbox[2].x1 = -50 - (idx-32)*40 frame.attackbox[2].x2 = 50 + (idx-32)*40 frame.attackbox[2].y1 = (-180 - 32*12) * 0.4 frame.attackbox[2].y2 = 0 end frame.hurtbox = pat:get_frame(0,0,0).attackbox frame.fflags = 0x00c00000 frame.aflags = 0x0041000f set_aflag(frame,AF_SPELL_ATTACK) unset_aflag(frame,AF_SKILL_ATTACK) set_aflag(frame,AF_LOWBLOCK_OK) set_aflag(frame,AF_HIGHBLOCK_OK) set_aflag(frame,AF_AIR_BLOCKABLE) unset_aflag(frame,AF_ATTACK_LOW) unset_aflag(frame,AF_ATTACK_HIGH) unset_aflag(frame,AF_ATTACK_AIR) set_aflag(frame,AF_PROJECTILE) set_aflag(frame,AF_DRAINS_ON_GRAZE) unset_aflag(frame,AF_COUNTER_HIT) frame.damage = 3800 frame.chip_damage = 950 frame.limit = 60 frame.proration = 500 frame.hitstop_enemy = 120 frame.hitstop_self = 0 frame.blockstop_enemy = 10 frame.blockstop_self = 0 frame.untech = 120 frame.card_gain_hit = 0 frame.card_gain_block = 0 frame.sp_damage = 300 frame.launch_vector_x = 0 frame.launch_vector_y = 1450 end) end for idx = 1 , 69 do pat:split_frame(862,15,0,1,1) end for idx = 0 , 69 do pat:update_frame(862,15,idx,function(frame) scal = 0 frame.tex_index = 105 +13 - (idx/4) if (idx > 32) then frame.tex_index = 105+4 scal = 50 end if (idx > 40) then frame.tex_index = 105+3 scal = 100 end if (idx > 60) then frame.tex_index = 105+2 scal = 100 end if (idx > 64) then frame.tex_index = 105+13 scal = 50 end if (idx == 69) then frame.tex_w = 0 frame.duration = 10 end frame.tex_w = 985 frame.tex_h = 736 frame.tex_offset_x = 479 frame.tex_offset_y = 479 frame.scale_x = 150+scal*1.5 + 4*((idx%8)) frame.scale_y = 100+scal + 6*((idx%8)) if (idx > 48 and idx <= 56) then frame.scale_x = 180+scal*1.5 frame.scale_y = 120+scal frame.duration = 100 --frame.duration = 300 end if (idx == 56) then frame.duration = 140 end frame.scale_x = frame.scale_x*1.5* .75 frame.scale_y = frame.scale_y*1.* .75 --frame.angle_y = 180 end) end end function mods.sc_fingerprint(pat) --606 -> 613 --863 end function mods.sc_hypnosis(pat) --604 --854 local baseX = 79*2 +8 local baseY = 155*2 +4 local baseW = 185 local baseH = 205 --pat:update_frame(604,0,0, { tex_index = 4 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-4 , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(604,0,0, { tex_index = 359+1 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(604,0,1, { tex_index = 359+2 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 40 }) pat:update_frame(604,0,2, { tex_index = 359+2 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 , fflags = 0x00000041 }) pat:update_frame(604,0,3, { tex_index = 359+6 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 , fflags = 0x00000041 }) pat:update_frame(604,0,4, { tex_index = 359+7 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , tex_offset_y = baseY , hurtbox = pat:get_frame(620,2,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 , fflags = 0x00000041 }) pat:update_frame(604,0,5, { tex_index = 359+8 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , tex_offset_y = baseY , hurtbox = pat:get_frame(620,1,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 , fflags = 0x00000041 }) pat:update_frame(604,0,6, { tex_index = 491 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , tex_offset_y = baseY , hurtbox = pat:get_frame(620,1,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 , fflags = 0x00000041 }) pat:update_frame(604,0,7, { tex_index = 492 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , tex_offset_y = baseY , hurtbox = pat:get_frame(620,1,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 , fflags = 0x00000041 }) pat:update_frame(604,0,8, { tex_index = 359+8 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , tex_offset_y = baseY , hurtbox = pat:get_frame(620,1,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 , fflags = 0x00000041 }) pat:split_frame(604,0,8,4,4) pat:split_frame(604,0,8,4,4) pat:update_frame(604,0,9, { tex_index = 491 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , tex_offset_y = baseY , hurtbox = pat:get_frame(620,1,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 , fflags = 0x00000041 }) pat:update_frame(604,0,10,{ tex_index = 492 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , tex_offset_y = baseY , hurtbox = pat:get_frame(620,1,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 , fflags = 0x00000041 }) pat:split_frame(604,1,1,4,4) pat:update_frame(604,1,0, { tex_index = 359+8 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , tex_offset_y = baseY , hurtbox = pat:get_frame(620,1,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 , fflags = 0x00000041 }) pat:update_frame(604,1,1, { tex_index = 491 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , tex_offset_y = baseY , hurtbox = pat:get_frame(620,1,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 , fflags = 0x00000041 }) pat:update_frame(604,1,2, { tex_index = 492 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , tex_offset_y = baseY , hurtbox = pat:get_frame(620,1,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 , fflags = 0x00000041 }) pat:update_frame(604,2,0, { tex_index = 359+7 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , tex_offset_y = baseY , hurtbox = pat:get_frame(620,2,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 , fflags = 0x00000041 }) pat:update_frame(604,2,1, { tex_index = 359+7 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , tex_offset_y = baseY , hurtbox = pat:get_frame(620,2,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 , fflags = 0x00000041 }) pat:update_frame(604,2,2, { tex_index = 359+5 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) for idx = 1 , 127 do pat:split_frame(854,4,0,1,1) end for idx = 0 , 127 do pat:update_frame(854,4,idx,function(frame) frame.tex_index = 228+((idx/2)%36) frame.blending_mode = 2 frame.tex_w = 256 frame.tex_h = 256 frame.tex_offset_x = 128 frame.tex_offset_y = 128 frame.duration = 1 frame.scale_x = 300 frame.scale_y = 1500 frame.color_r = 255 frame.color_g = 255 frame.color_b = 0 if (idx<15) then local alpha = idx * 17--10 frame.color_r = alpha--idx*17 frame.color_g = alpha frame.color_b = 0 end if (idx>=84) then local alpha = (120-idx) * 7--10 frame.color_r = alpha--idx*17 frame.color_g = alpha frame.color_b = 0 end if (idx > 120) then frame.color_r = 0 frame.color_g = 0 frame.color_b = 0 frame.duration = 90 end end) end end function mods.sc_souvenir(pat) --600 --850 local baseX = 79*2 +8 local baseY = 155*2 +4 local baseW = 185 local baseH = 205 pat:get_sequence(600,1):set_looped(false) pat:get_sequence(600,2):set_looped(false) pat:update_frame(600,0,0, { tex_index = 4 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-4 , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000041 }) pat:update_frame(600,0,1, { tex_index = 359+1 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000041 }) pat:update_frame(600,0,2, { tex_index = 359+2 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(600,0,3, { tex_index = 359+6 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000041 }) pat:update_frame(600,0,4, { tex_index = 359+7 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , tex_offset_y = baseY , hurtbox = pat:get_frame(620,2,0).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000041 }) for idx = 5 , 10 do pat:split_frame(600,0,4,4,4) end pat:update_frame(600,0,5, { tex_index = 359+8 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , tex_offset_y = baseY , hurtbox = pat:get_frame(620,1,0).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000041 }) pat:update_frame(600,0,6, { tex_index = 491 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , tex_offset_y = baseY , hurtbox = pat:get_frame(620,1,0).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000041 }) pat:update_frame(600,0,7, { tex_index = 492 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , tex_offset_y = baseY , hurtbox = pat:get_frame(620,1,0).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000041 }) pat:update_frame(600,0,8, { tex_index = 359+8 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , tex_offset_y = baseY , hurtbox = pat:get_frame(620,1,0).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000041 }) pat:update_frame(600,0,9, { tex_index = 491 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , tex_offset_y = baseY , hurtbox = pat:get_frame(620,1,0).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000001 }) pat:update_frame(600,0,10,{ tex_index = 492 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , tex_offset_y = baseY , hurtbox = pat:get_frame(620,1,0).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000001 }) pat:update_frame(600,1,0, { tex_index = 359+8 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , tex_offset_y = baseY , hurtbox = pat:get_frame(620,1,0).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000001 }) pat:update_frame(600,1,1, { tex_index = 491 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , tex_offset_y = baseY , hurtbox = pat:get_frame(620,1,0).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000001 }) pat:update_frame(600,1,2, { tex_index = 492 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , tex_offset_y = baseY , hurtbox = pat:get_frame(620,1,0).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000001 }) pat:update_frame(600,1,3, { tex_index = 359+8 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , tex_offset_y = baseY , hurtbox = pat:get_frame(620,1,0).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000001 }) pat:update_frame(600,1,4, { tex_index = 491 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , tex_offset_y = baseY , hurtbox = pat:get_frame(620,1,0).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000001 }) pat:update_frame(600,1,5, { tex_index = 492 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , tex_offset_y = baseY , hurtbox = pat:get_frame(620,1,0).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000001 }) pat:remove_frame(600,1,5) pat:remove_frame(600,1,4) pat:remove_frame(600,1,3) pat:split_frame(600,2,1,4,4) pat:update_frame(600,2,0, { tex_index = 359+8 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , tex_offset_y = baseY , hurtbox = pat:get_frame(620,1,0).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000001 }) pat:update_frame(600,2,1, { tex_index = 491 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , tex_offset_y = baseY , hurtbox = pat:get_frame(620,1,0).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000001 }) pat:update_frame(600,2,2, { tex_index = 492 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , tex_offset_y = baseY , hurtbox = pat:get_frame(620,1,0).hurtbox , collision = pat:get_frame(0,0,0).collision , fflags = 0x00000001 }) pat:update_frame(600,3,0, { tex_index = 359+7 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , tex_offset_y = baseY , hurtbox = pat:get_frame(620,2,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(600,3,1, { tex_index = 359+5 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) for idx = 1 , 127 do pat:split_frame(850,0,0,1,1) end for idx = 0 , 127 do pat:update_frame(850,0,idx,function(frame) frame.hurtbox = pat:get_frame(0,0,0).attackbox frame.attackbox = pat:get_frame(0,0,0).attackbox frame.tex_index = 228+((idx/2)%36) frame.blending_mode = 2 frame.tex_w = 256 frame.tex_h = 256 frame.tex_offset_x = 128 frame.tex_offset_y = 128 frame.duration = 1 frame.scale_x = 50 + idx*2.5 frame.scale_y = 50 + idx*2.5 frame.color_r = 0 frame.color_g = 0 frame.color_b = 255 if (idx<15) then local alpha = idx * 17--10 frame.color_r = 0--idx*17 frame.color_g = 0 frame.color_b = alpha end if (idx>=84) then local alpha = (120-idx) * 7--10 frame.color_r = 0--idx*17 frame.color_g = 0 frame.color_b = alpha end if (idx > 120) then frame.color_r = 0 frame.color_g = 0 frame.color_b = 0 frame.duration = 90 end end) end end function mods.sc_mines(pat) --606 --656 --856 local baseX = 79*2 +8 local baseY = 155*2 +4 local baseW = 185 local baseH = 205 pat:update_frame(606,0,0, { tex_index = 4 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-4 , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(606,0,1, { tex_index = 359+1 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(606,0,2, { tex_index = 359+2 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).attackbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(606,0,3, { tex_index = 359+3 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) --pat:update_frame(606,0,4, { tex_index = 359+4 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) --pat:update_frame(606,0,5, { tex_index = 359+5 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) --pat:update_frame(606,0,6, { tex_index = 359+6 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(606,0,4, { tex_index = 359+7 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , tex_offset_y = baseY , hurtbox = pat:get_frame(620,2,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) -- pat:update_frame(606,1,0, { tex_index = 359+8 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , tex_offset_y = baseY , hurtbox = pat:get_frame(620,1,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(606,1,1, { tex_index = 491 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , tex_offset_y = baseY , hurtbox = pat:get_frame(620,1,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(606,1,2, { tex_index = 492 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , tex_offset_y = baseY , hurtbox = pat:get_frame(620,1,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(606,1,3, { tex_index = 359+8 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , tex_offset_y = baseY , hurtbox = pat:get_frame(620,1,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(606,1,4, { tex_index = 491 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , tex_offset_y = baseY , hurtbox = pat:get_frame(620,1,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(606,1,5, { tex_index = 492 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , tex_offset_y = baseY , hurtbox = pat:get_frame(620,1,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) -- pat:get_sequence(606,2):set_looped(false) pat:split_frame(606,2,1,4,4) pat:update_frame(606,2,0, { tex_index = 359+8 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , tex_offset_y = baseY , hurtbox = pat:get_frame(620,1,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(606,2,1, { tex_index = 491 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , tex_offset_y = baseY , hurtbox = pat:get_frame(620,1,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(606,2,2, { tex_index = 492 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , tex_offset_y = baseY , hurtbox = pat:get_frame(620,1,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) -- pat:split_frame(606,3,1,4,4) pat:update_frame(606,3,0, { tex_index = 359+7 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , tex_offset_y = baseY , hurtbox = pat:get_frame(620,2,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 5 }) pat:update_frame(606,3,1, { tex_index = 359+6 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(606,3,2, { tex_index = 359+5 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) -- pat:update_frame(656,0,0, { tex_index = 4 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-4 , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(656,0,1, { tex_index = 359+1 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , tex_offset_y = baseY , hurtbox = pat:get_frame(9,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(656,0,2, { tex_index = 359+2 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).attackbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(656,0,3, { tex_index = 359+3 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , tex_offset_y = baseY , hurtbox = pat:get_frame(9,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) --pat:update_frame(656,0,4, { tex_index = 359+4 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , tex_offset_y = baseY , hurtbox = pat:get_frame(9,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) --pat:update_frame(656,0,5, { tex_index = 359+5 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , tex_offset_y = baseY , hurtbox = pat:get_frame(9,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) --pat:update_frame(656,0,6, { tex_index = 359+6 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , tex_offset_y = baseY , hurtbox = pat:get_frame(9,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(656,0,4, { tex_index = 359+7 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , tex_offset_y = baseY , hurtbox = pat:get_frame(670,2,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) -- pat:update_frame(656,1,0, { tex_index = 359+8 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , tex_offset_y = baseY , hurtbox = pat:get_frame(670,1,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(656,1,1, { tex_index = 491 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , tex_offset_y = baseY , hurtbox = pat:get_frame(670,1,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(656,1,2, { tex_index = 492 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , tex_offset_y = baseY , hurtbox = pat:get_frame(670,1,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(656,1,3, { tex_index = 359+8 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , tex_offset_y = baseY , hurtbox = pat:get_frame(670,1,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(656,1,4, { tex_index = 491 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , tex_offset_y = baseY , hurtbox = pat:get_frame(670,1,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(656,1,5, { tex_index = 492 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , tex_offset_y = baseY , hurtbox = pat:get_frame(670,1,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) -- pat:get_sequence(656,2):set_looped(false) pat:get_sequence(656,4):set_looped(false) pat:split_frame(656,2,1,4,4) pat:update_frame(656,2,0, { tex_index = 359+8 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , tex_offset_y = baseY , hurtbox = pat:get_frame(670,1,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(656,2,1, { tex_index = 491 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , tex_offset_y = baseY , hurtbox = pat:get_frame(670,1,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(656,2,2, { tex_index = 492 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , tex_offset_y = baseY , hurtbox = pat:get_frame(670,1,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) -- pat:update_frame(656,3,0, { tex_index = 359+5 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , tex_offset_y = baseY , hurtbox = pat:get_frame(9,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(656,3,1, { tex_index = 4 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-4 , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(656,4,0, { tex_index = 182 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 , hurtbox = pat:get_frame(9,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(656,4,1, { tex_index = 503 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 , hurtbox = pat:get_frame(9,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) --[[ pat:update_frame(656,5,0, { tex_index = 351 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(10,0,0).hurtbox , collision = pat:get_frame(10,0,0).collision }) pat:update_frame(656,5,1, { tex_index = 351 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 2 , hurtbox = pat:get_frame(10,0,1).hurtbox , collision = pat:get_frame(10,0,1).collision }) pat:update_frame(656,5,2, { tex_index = 186 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 4 , hurtbox = pat:get_frame(10,0,2).hurtbox , collision = pat:get_frame(10,0,2).collision }) ]]-- pat:update_frame(656,5,0, { tex_index = 503 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , duration = 5 , hurtbox = pat:get_frame(9,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:remove_frame(656,4,1) pat:remove_frame(656,5,2) pat:remove_frame(656,5,1) -- for idy = 0 , 3 do pat:split_frame(856,idy,0,1,1) for idx = 0 , 1 do pat:update_frame(856,idy,idx,{ tex_index = 93 , tex_w = 128 , tex_h = 128 , tex_offset_x = 64 , tex_offset_y = 64 , scale_x = 30 , scale_y = 30 , blending_mode = 2 }) pat:update_frame(856,idy,idx,function(frame) if (idx == 1) then frame.attackbox[1].x1 = -100 frame.attackbox[1].x2 = 100 frame.attackbox[1].y1 = -100 frame.attackbox[1].y2 = 100 frame.blending_mode = 1 frame.duration = 3 frame.damage = 600 frame.chip_damage = 60 frame.limit = 10 frame.proration = 920 frame.sp_damage = 100 frame.hit_ani_air = 77 frame.hit_ani_ground = 77 frame.combo_correction = CC_SMASH_ATTACK frame.launch_vector_x = 2500 frame.launch_vector_y = 1500 frame.hit_sfx = 4 frame.hit_effect = 6 else frame.attackbox = pat:get_frame(0,0,0).attackbox frame.duration = 358 end end) end pat:update_frame(856,4+idy,0,{ tex_index = 523+298, tex_w = 128 , tex_h = 128 , tex_offset_x = 64 , tex_offset_y = 64 , scale_x = 250 , scale_y = 250 }) -- index = 264 , 83 , 523+339 pat:update_frame(856,8+idy,0,{ tex_index = 93 , tex_w = 128 , tex_h = 128 , tex_offset_x = 64 , tex_offset_y = 64 , scale_x = 100 , scale_y = 100 }) end pat:update_frame(856,12,0,{ tex_index = 93 , tex_w = 128 , tex_h = 128 , tex_offset_x = 64 , tex_offset_y = 64 , scale_x = 30 , scale_y = 30 , blending_mode = 2 }) pat:update_frame(856,12,1,{ tex_index = 93 , tex_w = 128 , tex_h = 128 , tex_offset_x = 64 , tex_offset_y = 64 , scale_x = 30 , scale_y = 30 , blending_mode = 2 }) pat:update_frame(856,13,0,{ tex_index = 93 , tex_w = 128 , tex_h = 128 , tex_offset_x = 64 , tex_offset_y = 64 , scale_x = 30 , scale_y = 30 }) end function mods.sc_ghosts(pat) local baseX = 79*2 +8 local baseY = 155*2 +4 local baseW = 185 local baseH = 205 -- whats happening pat:split_frame(601,1,1,4,4) pat:update_frame(601,0,0, { tex_index = 347 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(601,0,1, { tex_index = 1 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-12 , tex_offset_y = baseY , hurtbox = pat:get_frame(410,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(601,0,2, { tex_index = 1 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-12 , tex_offset_y = baseY , hurtbox = pat:get_frame(410,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(601,0,3, { tex_index = 348 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(410,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(601,0,4, { tex_index = 348 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(410,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(601,0,5, { tex_index = 349 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(410,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(601,1,0, { tex_index = 350 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(410,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(601,1,1, { tex_index = 348 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(410,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(601,1,2, { tex_index = 349 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(410,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(601,2,0, { tex_index = 350 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(410,0,3).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(601,2,1, { tex_index = 346 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(601,2,2, { tex_index = 380 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-6 , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:split_frame(651,1,1,4,4) pat:update_frame(651,0,0, { tex_index = 347 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(9,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(651,0,1, { tex_index = 1 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-12 , tex_offset_y = baseY , hurtbox = pat:get_frame(414,0,1).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(651,0,2, { tex_index = 1 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-12 , tex_offset_y = baseY , hurtbox = pat:get_frame(414,0,1).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(651,0,3, { tex_index = 348 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(414,0,3).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(651,0,4, { tex_index = 348 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(414,0,3).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(651,0,5, { tex_index = 349 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(414,0,3).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(651,1,0, { tex_index = 350 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(414,0,3).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(651,1,1, { tex_index = 348 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(414,0,3).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(651,1,2, { tex_index = 349 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(414,0,3).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(651,2,0, { tex_index = 346 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , tex_offset_y = baseY , hurtbox = pat:get_frame(9,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(651,2,1, { tex_index = 380 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-6 , tex_offset_y = baseY , hurtbox = pat:get_frame(9,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(651,2,2, { tex_index = 177 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+8 , hurtbox = pat:get_frame(9,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(651,3,0, { tex_index = 182 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(9,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(651,3,1, { tex_index = 503 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(9,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(651,4,0, { tex_index = 351 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(10,0,0).hurtbox , collision = pat:get_frame(10,0,0).collision }) pat:update_frame(651,4,1, { tex_index = 351 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(10,0,1).hurtbox , collision = pat:get_frame(10,0,1).collision }) pat:update_frame(651,4,2, { tex_index = 186 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(10,0,2).hurtbox , collision = pat:get_frame(10,0,2).collision }) end function mods.sc_butterflies(pat) local baseX = 79*2 +8 local baseY = 155*2 +4 local baseW = 185 local baseH = 205 pat:update_frame(603,0,0, { tex_index = 4 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-4 , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(603,0,1, { tex_index = 359+1 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(603,0,2, { tex_index = 359+2 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(603,0,3, { tex_index = 359+6 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(603,0,4, { tex_index = 359+7 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , tex_offset_y = baseY , hurtbox = pat:get_frame(620,2,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(603,1,0, { tex_index = 359+8 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , tex_offset_y = baseY , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(603,1,1, { tex_index = 491 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , tex_offset_y = baseY , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(603,1,2, { tex_index = 492 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , tex_offset_y = baseY , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(603,1,3, { tex_index = 359+8 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , tex_offset_y = baseY , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(603,1,4, { tex_index = 491 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , tex_offset_y = baseY , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(603,1,5, { tex_index = 492 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , tex_offset_y = baseY , collision = pat:get_frame(0,0,0).collision }) pat:split_frame(603,2,1,4,4) pat:update_frame(603,2,0, { tex_index = 359+8 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , tex_offset_y = baseY , hurtbox = pat:get_frame(620,1,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(603,2,1, { tex_index = 491 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , tex_offset_y = baseY , hurtbox = pat:get_frame(620,1,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(603,2,2, { tex_index = 492 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , tex_offset_y = baseY , hurtbox = pat:get_frame(620,1,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(603,3,0, { tex_index = 359+7 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , tex_offset_y = baseY , hurtbox = pat:get_frame(620,2,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(603,3,1, { tex_index = 359+5 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(853,9, 0,{tex_index = 523 + 350}) pat:update_frame(853,10,0,{tex_index = 523 + 351}) --bulletAc1&2 --pat:update_frame(853,9, 0,{tex_index = 523 + 352}) --pat:update_frame(853,10,0,{tex_index = 523 + 353}) end function mods.sc_gungnir(pat) local baseX = 79*2 +8 local baseY = 155*2 +4 local baseW = 185 local baseH = 205 -- whats happening pat:update_frame(605,0,0, { tex_index = 4 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(605,0,1, { tex_index = 5 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(605,0,2, { tex_index = 5 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(605,0,3, { tex_index = 5 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(605,0,4, { tex_index = 5 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(605,0,5, { tex_index = 5 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(605,0,6, { tex_index = 5 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(301,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(605,0,7, { tex_index = 5 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(301,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(605,0,8, { tex_index = 5 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(301,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(605,0,9, { tex_index = 5 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(301,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(605,0,10, { tex_index = 5 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(301,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(605,0,11, { tex_index = 6 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(301,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(605,0,12, { tex_index = 7 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(301,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(605,0,13, { tex_index = 7 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(301,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(605,0,14, { tex_index = 7 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(301,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(605,0,15, { tex_index = 7 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(301,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(605,0,16, { tex_index = 8 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(301,0,8).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(605,0,17, { tex_index = 6 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(301,0,9).hurtbox , collision = pat:get_frame(0,0,0).collision }) -- 17 --gungnir sprites for idx = 0 , 34 do pat:update_frame(855,0,idx,{tex_index = 523 + 58 + idx}) end for idx = 0 , 5 do pat:update_frame(855,1,idx,{tex_index = 523 + 92}) end for idx = 0 , 1 do pat:update_frame(855,2,idx,{tex_index = 523 + 92}) end for idx = 0 , 0 do pat:update_frame(855,3,idx,{tex_index = 523 + 92}) end for idx = 0 , 1 do pat:update_frame(855,4,idx,{tex_index = 523 + 93}) end for idx = 0 , 0 do pat:update_frame(855,5,idx,{tex_index = 523 + 94}) end for idx = 0 , 14 do pat:update_frame(855,6,idx,{tex_index = 523 + 95 + idx}) end for idx = 0 , 0 do pat:update_frame(855,7,idx,{tex_index = 523 + 110}) end end function mods.sc_brokendoll(pat) local baseX = 79*2 +8 local baseY = 155*2 +4 local baseW = 185 local baseH = 205 -- whats happening pat:update_frame(628,0,0, { tex_index = 4 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(628,0,1, { tex_index = 5 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(628,0,2, { tex_index = 5 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(628,0,3, { tex_index = 5 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(628,0,4, { tex_index = 5 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(628,0,5, { tex_index = 5 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(628,0,6, { tex_index = 5 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(301,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(628,0,7, { tex_index = 5 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(301,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(628,0,8, { tex_index = 5 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(301,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(628,0,9, { tex_index = 5 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(301,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(628,0,10, { tex_index = 5 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(301,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(628,0,11, { tex_index = 6 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(301,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(628,0,12, { tex_index = 7 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(301,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(628,0,13, { tex_index = 7 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(301,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(628,0,14, { tex_index = 7 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(301,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(628,0,15, { tex_index = 7 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(301,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(628,0,16, { tex_index = 8 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(301,0,8).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(628,0,17, { tex_index = 6 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(301,0,9).hurtbox , collision = pat:get_frame(0,0,0).collision }) -- 17 --char anim for idx = 0 , 17 do pat:update_frame(628,0,idx,function(frame) local ani = idx+1 if (idx >= 6 and idx <= 14) then ani = 6 unset_fflag(frame,FF_GRAZE) elseif (idx > 14) then ani = idx-8 end if (idx <= 4) then frame.duration=frame.duration-1 end end) end pat:update_frame(628,0,6,{fflags = 0x00007001}) pat:update_frame(628,0,7,{fflags = 0x00007001}) pat:update_frame(628,0,9,{duration = 6-0}) pat:update_frame(628,0,15,function(frame) frame.duration = 20-5 end) pat:update_frame(628,0,8,{duration = pat:get_frame(628,0,8).duration - 1 , fflags = pat:get_frame(628,0,7).fflags , hurtbox = pat:get_frame(628,0,7).hurtbox}) pat:update_frame(628,0,9,{duration = pat:get_frame(628,0,9).duration - 2}) pat:update_frame(628,0,10,{duration = pat:get_frame(628,0,10).duration + 3}) for idx = 10 , 12 do pat:update_frame(628,0,idx,function(frame) set_fflag(frame,FF_GRAZE) end) end --854 for idx = 0 , 34 do pat:update_frame(878,0,idx,function(frame) frame.tex_index = 523 + 243+1+18+idx%30 frame.tex_offset_x = 64 frame.tex_offset_y = 64 frame.tex_w = 128 frame.tex_h = 128 frame.scale_x = frame.scale_x*.75 frame.tex_offset_x = 215 end) end for idx = 0 , 5 do pat:update_frame(878,1,idx,function(frame) frame.tex_w=0 end) end for idx = 0 , 19 do pat:split_frame(878,2,0,1,1) end for idx = 0 , 21 do pat:update_frame(878,2,idx,function(frame) local ani = idx+2 if (ani > 17) then ani = 17 end frame.tex_index = 523 + 243+1+ani frame.tex_offset_x = 64 frame.tex_offset_y = 64 frame.tex_w = 128 frame.tex_h = 128 frame.tex_offset_x = -25+idx*5 frame.tex_offset_y = frame.tex_offset_y - 15 frame.attackbox[3]=null frame.attackbox[2]=null frame.attackbox[1].x1=200-idx*20 frame.attackbox[1].x2=500-idx*20 frame.attackbox[1].y1=-70 frame.attackbox[1].y2=200 set_aflag(frame,AF_UNGRAZABLE) set_aflag(frame,AF_STAGGER) unset_aflag(frame,AF_COUNTER_HIT) frame.launch_vector_x = 0 frame.launch_vector_y = 2000 frame.hitstop_enemy = frame.hitstop_enemy+2 frame.blockstop_enemy = frame.blockstop_enemy+2 frame.sp_damage = frame.sp_damage*.75 frame.damage = frame.damage*1 frame.limit = 15 frame.combo_correction = CC_LIFT_ATTACK if (idx == 21) then frame.attackbox = pat:get_frame(0,0,0).attackbox frame.duration = 600 frame.tex_w = 0 end end) end pat:update_frame(878,3,0,function(frame) frame.tex_w=0 end) pat:update_frame(878,4,0,function(frame) frame.tex_index = 523 + 243 frame.tex_offset_x = 64 frame.tex_offset_y = 64 frame.tex_w = 128 frame.tex_h = 128 end) pat:update_frame(878,4,1,function(frame) frame.tex_index = 523 + 243 frame.tex_offset_x = 64 frame.tex_offset_y = 64 frame.tex_w = 128 frame.tex_h = 128 end) pat:update_frame(878,5,0,function(frame) frame.tex_index = 523 + 243 frame.tex_offset_x = 64 frame.tex_offset_y = 64 frame.tex_w = 128 frame.tex_h = 128 end) for idx = 0 , 14 do pat:update_frame(878,6,idx,function(frame) frame.tex_w=0 end) end pat:update_frame(878,7,0,function(frame) frame.tex_w=0 end) end function mods.sc_flowerspark(pat) local baseX = 79*2 +8 local baseY = 155*2 +4 local baseW = 185 local baseH = 205 pat:update_frame(629,0,0, { tex_index = 380 , tex_w = baseW , tex_h = baseH , tex_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(629,0,1, { tex_index = 377 , tex_w = baseW , tex_h = baseH , tex_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(629,0,2, { tex_index = 378 , tex_w = baseW , tex_h = baseH , tex_offset_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 , 9 do pat:update_frame(629,1,idx, { tex_index = 379 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , collision = pat:get_frame(0,0,0).collision , duration = 4 }) end pat:update_frame(629,2,0, { tex_index = 379 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(500,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(629,2,1, { tex_index = 379 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(500,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(629,2,2, { tex_index = 379 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(500,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(629,2,3, { tex_index = 379 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(500,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 14 }) pat:update_frame(629,2,4, { tex_index = 379 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(500,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(629,2,5, { tex_index = 377 , tex_w = baseW , tex_h = baseH , tex_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(629,2,6, { tex_index = 380 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) for idx = 0 , 8 do pat:update_frame(879,0,idx,function(frame) frame.tex_index = 523 + 282 frame.tex_w = 0 frame.tex_h = 64 frame.tex_offset_x = 32 frame.tex_offset_y = 32 frame.scale_x = 25*idx frame.scale_y = 25*idx end) end for idx = 1 , 8 do pat:remove_frame(879,0,1) end for idx = 1 , 8 do pat:remove_frame(879,3,1) end pat:update_frame(879,3,0,{tex_w = 0}) pat:update_frame(879,2,0,{tex_w = 0}) for idx = 9 , 189 do pat:split_frame(879,1,0,1,1) end for idx = 0 , 189 do pat:update_frame(879,1,idx,function(frame) frame.tex_index = 523 + 324 + idx%5 frame.tex_w = 64 frame.tex_h = 64 frame.tex_offset_x = 32 frame.tex_offset_y = 32 local scal = 100 if (idx < 40) then scal = 80 elseif (idx < 80) then scal = 120 elseif (idx < 120) then scal = 160 else scal = 200 end frame.scale_x = scal frame.scale_y = scal local ymod = 0 local xmod = -200 if (idx > 128 and idx <= 132) then frame.tex_index = 523 + 316 + idx-129 frame.tex_w = 1024 frame.tex_h = 128 frame.tex_offset_x = 32 frame.tex_offset_y = 64 end if (idx > 174 and idx <= 178) then frame.tex_index = 523 + 316 + (178-idx) frame.tex_w = 1024 frame.tex_h = 128 frame.tex_offset_x = 32 frame.tex_offset_y = 64 end if (idx >= 179) then frame.tex_index = 523 + 324 + idx%5 frame.tex_w = 64 frame.tex_h = 64 frame.tex_offset_x = 32 frame.tex_offset_y = 32 frame.duration = 20 end if (idx > 132 and idx <= 174) then frame.tex_index = 523 + 320 + idx%4 frame.tex_w = 1024 frame.tex_h = 128 frame.tex_offset_x = 32 frame.tex_offset_y = 64 frame.attackbox[3] = null frame.attackbox[2] = null frame.attackbox[1].x1 = 0 frame.attackbox[1].x2 = 4000 frame.attackbox[1].y1 = -80 frame.attackbox[1].y2 = 80 frame.damage = 500 frame.limit = 5 frame.proration = 900 frame.attack_level = AL_HEAVY frame.blockstop_enemy = 10 frame.hitstop_enemy = 10 frame.sp_damage = 50 frame.hit_ani_ground = 74 frame.hit_ani_air = 74 frame.launch_vector_x = 2500 frame.launch_vector_y = 1500 frame.untech = 45 set_aflag(frame,AF_COUNTER_HIT) frame.hit_sfx = 9 frame.hit_effect = 7 else frame.attackbox = pat:get_frame(0,0,0).attackbox end local scalemod = 100/frame.scale_x frame.tex_offset_y = frame.tex_offset_y - (ymod)*scalemod frame.tex_offset_x = frame.tex_offset_x - (xmod)*scalemod if (idx > 132 and idx <= 174) then frame.attackbox[1].x1 = frame.attackbox[1].x1 + (xmod) frame.attackbox[1].x2 = frame.attackbox[1].x2 + (xmod) frame.attackbox[1].y1 = frame.attackbox[1].y1 + (ymod) frame.attackbox[1].y2 = frame.attackbox[1].y2 + (ymod) end frame.hurtbox = frame.attackbox end) end end function mods.sc_oarfishshot(pat) local baseX = 79*2 +8 local baseY = 155*2 +4 local baseW = 185 local baseH = 205 pat:update_frame(607,0,0, { tex_index = 4 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-4 , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) --pat:update_frame(607,0,0, { tex_index = 359+0 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(607,0,1, { tex_index = 359+1 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(607,0,2, { tex_index = 359+2 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(607,0,3, { tex_index = 359+3 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(607,0,4, { tex_index = 359+4 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).attackbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(607,0,5, { tex_index = 359+5 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).attackbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(607,0,6, { tex_index = 359+6 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).attackbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(607,0,7, { tex_index = 359+7 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).attackbox , collision = pat:get_frame(0,0,0).collision }) -- 7 pat:split_frame(607,1,1,4,4) pat:update_frame(607,1,0, { tex_index = 359+8 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , tex_offset_y = baseY , hurtbox = pat:get_frame(620,1,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(607,1,1, { tex_index = 491 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , tex_offset_y = baseY , hurtbox = pat:get_frame(620,1,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(607,1,2, { tex_index = 492 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , tex_offset_y = baseY , hurtbox = pat:get_frame(620,1,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) -- 1 pat:update_frame(607,2,0, { tex_index = 359+7 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , tex_offset_y = baseY , hurtbox = pat:get_frame(620,2,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(607,2,1, { tex_index = 359+6 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(607,2,2, { tex_index = 4 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) -- 2 pat:update_frame(657,0,0, { tex_index = 4 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-4 , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) --pat:update_frame(607,0,0, { tex_index = 359+0 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) --pat:update_frame(657,0,1, { tex_index = 359+1 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(657,0,1, { tex_index = 359+2 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , tex_offset_y = baseY , hurtbox = pat:get_frame(9,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(657,0,2, { tex_index = 359+3 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , tex_offset_y = baseY , hurtbox = pat:get_frame(9,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(657,0,3, { tex_index = 359+4 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).attackbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(657,0,4, { tex_index = 359+5 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).attackbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(657,0,5, { tex_index = 359+6 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).attackbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(657,0,6, { tex_index = 359+7 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).attackbox , collision = pat:get_frame(9,0,0).collision }) -- 6 pat:split_frame(657,1,1,4,4) pat:update_frame(657,1,0, { tex_index = 359+8 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , tex_offset_y = baseY , hurtbox = pat:get_frame(670,1,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(657,1,1, { tex_index = 491 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , tex_offset_y = baseY , hurtbox = pat:get_frame(670,1,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(657,1,2, { tex_index = 492 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , tex_offset_y = baseY , hurtbox = pat:get_frame(670,1,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) -- 1 pat:update_frame(657,2,0, { tex_index = 359+7 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , tex_offset_y = baseY , hurtbox = pat:get_frame(670,2,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(657,2,1, { tex_index = 359+6 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , tex_offset_y = baseY , hurtbox = pat:get_frame(9,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(657,2,2, { tex_index = 359+5 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , tex_offset_y = baseY , hurtbox = pat:get_frame(9,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(657,2,3, { tex_index = 4 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-4 , tex_offset_y = baseY , hurtbox = pat:get_frame(9,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(657,2,4, { tex_index = 185 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) -- 4 --oarfish shot sprites for idx = 0 , 11 do pat:update_frame(857,0,idx,{tex_index = 523 + 2 + idx}) end for idx = 0 , 9 do pat:update_frame(857,1,idx,{tex_index = 523 + 14 + idx}) end for idx = 0 , 29 do pat:update_frame(857,2,idx,{tex_index = 523 + 24 + idx}) end for idx = 0 , 1 do pat:update_frame(857,3,idx,{tex_index = 523 + 54}) end for idx = 0 , 1 do pat:update_frame(857,4,idx,{tex_index = 523 + 55}) end for idx = 0 , 1 do pat:update_frame(857,5,idx,{tex_index = 523 + 56}) end for idx = 0 , 1 do pat:update_frame(857,6,idx,{tex_index = 523 + 57}) end end function mods.sc_lre(pat) local baseX = 79*2 +8 local baseY = 155*2 +4 local baseW = 185 local baseH = 205 pat:update_frame(620,0,0, { tex_index = 4 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-4 , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(620,0,1, { tex_index = 359+1 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(620,0,2, { tex_index = 359+2 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(620,0,3, { tex_index = 359+3 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(620,0,4, { tex_index = 359+4 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(620,0,5, { tex_index = 359+5 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(620,0,6, { tex_index = 359+6 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(620,0,7, { tex_index = 359+7 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).attackbox , collision = pat:get_frame(0,0,0).collision }) -- 7 pat:update_frame(620,1,0, { tex_index = 359+8 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(620,1,0,function(frame) frame.hurtbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[2].x1 = frame.hurtbox[2].x1 - 40 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 + 40 frame.hurtbox[2].y1 = frame.hurtbox[2].y1 + 10 frame.hurtbox[2].y2 = frame.hurtbox[2].y1 + 50 end) pat:update_frame(620,1,1, { tex_index = 491 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , tex_offset_y = baseY , hurtbox = pat:get_frame(620,1,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(620,1,2, { tex_index = 492 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , tex_offset_y = baseY , hurtbox = pat:get_frame(620,1,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) -- 2 pat:update_frame(620,2,0, { tex_index = 359+7 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(620,2,0,function(frame) frame.hurtbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[2].x1 = frame.hurtbox[2].x1 - 50 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 + 50 frame.hurtbox[2].y1 = frame.hurtbox[2].y1 + 40 frame.hurtbox[2].y2 = frame.hurtbox[2].y1 + 40 end) pat:update_frame(620,2,1, { tex_index = 359+6 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(620,2,2, { tex_index = 359+5 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(620,2,3, { tex_index = 4 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-4 , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) -- 3 pat:update_frame(670,0,0, { tex_index = 4 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-4 , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(670,0,1, { tex_index = 359+1 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , tex_offset_y = baseY , hurtbox = pat:get_frame(9,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(670,0,2, { tex_index = 359+2 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , tex_offset_y = baseY , hurtbox = pat:get_frame(9,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(670,0,3, { tex_index = 359+3 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , tex_offset_y = baseY , hurtbox = pat:get_frame(9,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(670,0,4, { tex_index = 359+4 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , tex_offset_y = baseY , hurtbox = pat:get_frame(9,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(670,0,5, { tex_index = 359+5 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , tex_offset_y = baseY , hurtbox = pat:get_frame(9,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(670,0,6, { tex_index = 359+6 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , tex_offset_y = baseY , hurtbox = pat:get_frame(9,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(670,0,7, { tex_index = 359+7 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).attackbox , collision = pat:get_frame(9,0,0).collision }) -- 7 pat:update_frame(670,1,0, { tex_index = 359+8 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , tex_offset_y = baseY , hurtbox = pat:get_frame(9,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(670,1,0,function(frame) frame.hurtbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[2].x1 = frame.hurtbox[2].x1 - 40 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 + 40 frame.hurtbox[2].y1 = frame.hurtbox[2].y1 + 10 frame.hurtbox[2].y2 = frame.hurtbox[2].y1 + 50 end) pat:update_frame(670,1,1, { tex_index = 491 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , tex_offset_y = baseY , hurtbox = pat:get_frame(670,1,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(670,1,2, { tex_index = 492 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , tex_offset_y = baseY , hurtbox = pat:get_frame(670,1,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) -- 2 pat:update_frame(670,2,0, { tex_index = 359+7 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(670,2,0,function(frame) frame.hurtbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[2].x1 = frame.hurtbox[2].x1 - 50 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 + 50 frame.hurtbox[2].y1 = frame.hurtbox[2].y1 + 40 frame.hurtbox[2].y2 = frame.hurtbox[2].y1 + 40 end) pat:update_frame(670,2,1, { tex_index = 359+6 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , tex_offset_y = baseY , hurtbox = pat:get_frame(9,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) -- 1 pat:update_frame(670,3,0, { tex_index = 359+5 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-10 , tex_offset_y = baseY , hurtbox = pat:get_frame(9,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(670,3,1, { tex_index = 4 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX-4 , tex_offset_y = baseY , hurtbox = pat:get_frame(9,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(670,3,2, { tex_index = 185 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(6,1,0).hurtbox , collision = pat:get_frame(6,1,0).collision }) -- 2 --LRE sprites for idx = 0 , 2 do pat:update_frame(870,0,idx,{tex_index = 523 + 111}) end for idx = 0 , 2 do pat:update_frame(870,1,idx,{tex_index = 523 + 111}) end end function mods.sc_9chars(pat) local baseX = 79*2 +8 local baseY = 155*2 +4 local baseW = 185 local baseH = 205 pat:update_frame(619,0,0, { tex_index = 62 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(619,0,1, { tex_index = 61 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(619,0,2, { tex_index = 60 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) for idx = 0 , 9 do pat:update_frame(619,1,idx, { tex_index = 60 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , collision = pat:get_frame(0,0,0).collision }) end pat:update_frame(619,2,0, { tex_index = 62 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(619,2,0,function(frame) 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 + 40 frame.hurtbox[2].y1 = frame.hurtbox[2].y1 + 40 frame.hurtbox[2].y2 = frame.hurtbox[2].y1 + 40 end) pat:update_frame(619,2,1, { tex_index = 62 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(619,2,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(619,2,2, { tex_index = 62 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(619,2,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(619,2,3, { tex_index = 62 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(619,2,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(619,2,4, { tex_index = 62 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(619,2,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(619,2,5, { tex_index = 62 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(619,2,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(619,2,6, { tex_index = 63 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(619,2,6,function(frame) frame.hurtbox[1].y1 = frame.hurtbox[1].y1 - 10 frame.hurtbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[2].x1 = frame.hurtbox[2].x1 - 30 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 - 30 frame.hurtbox[2].y1 = frame.hurtbox[2].y2 - 60 frame.hurtbox[2].y2 = frame.hurtbox[2].y2 - 5 end) pat:update_frame(619,2,7, { tex_index = 64 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(619,2,6).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(619,2,8, { tex_index = 64 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(619,2,6).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(619,2,9, { tex_index = 64 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(619,2,6).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(619,2,10, { tex_index = 64 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(619,2,6).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(619,2,11, { tex_index = 64 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(619,2,6).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(619,2,12, { tex_index = 64 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(619,2,6).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(619,2,13, { tex_index = 63 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(619,2,6).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(619,3,0, { tex_index = 416 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(619,3,1, { tex_index = 416 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(619,3,2, { tex_index = 417 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(525,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(619,3,3, { tex_index = 417 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(525,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(619,3,4, { tex_index = 417 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(525,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(619,3,5, { tex_index = 417 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(525,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(619,3,6, { tex_index = 417 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(525,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(619,3,7, { tex_index = 417 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(525,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(619,3,8, { tex_index = 417 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(525,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(619,3,9, { tex_index = 418 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(525,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(619,3,10, { tex_index = 420 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(525,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(619,3,11, { tex_index = 418 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(525,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(619,3,12, { tex_index = 419 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(525,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(619,3,13, { tex_index = 420 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(525,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(619,3,14, { tex_index = 418 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(525,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(619,3,15, { tex_index = 419 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(525,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(619,3,16, { tex_index = 420 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(525,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(619,3,17, { tex_index = 418 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(525,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(619,3,18, { tex_index = 419 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(525,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(619,3,19, { tex_index = 417 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(525,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(619,3,20, { tex_index = 416 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(869,0,0,{ tex_index = 523 + 135 }) pat:update_frame(869,0,1,{ tex_index = 523 + 135 }) pat:update_frame(869,1,0,{ tex_index = 523 + 136 }) pat:update_frame(869,1,1,{ tex_index = 523 + 136 }) pat:update_frame(869,2,0,{ tex_index = 523 + 137 }) pat:update_frame(869,3,0,{ tex_index = 523 + 138 }) pat:update_frame(869,3,1,{ tex_index = 523 + 139 }) pat:update_frame(869,3,2,{ tex_index = 523 + 140 }) pat:update_frame(869,3,3,{ tex_index = 523 + 141 }) pat:update_frame(869,3,4,{ tex_index = 523 + 142 }) pat:update_frame(869,4,0,{ tex_index = 523 + 143 }) pat:update_frame(869,4,1,{ tex_index = 523 + 144 }) pat:update_frame(869,4,2,{ tex_index = 523 + 145 }) pat:update_frame(869,4,3,{ tex_index = 523 + 146 }) pat:update_frame(869,4,4,{ tex_index = 523 + 147 }) end function mods.sc_evilzone(pat) local baseX = 64 +16 local baseY = 183 +44 pat:split_frame(622,2,0,1,1) pat:split_frame(622,2,0,1,1) pat:split_frame(622,2,0,1,1) pat:split_frame(622,2,0,1,1) local baseX = 79*2 +8 local baseY = 155*2 +4 local baseW = 185 local baseH = 205 pat:update_frame(622,0,0, { tex_index = 416 , tex_w = baseW , tex_h = baseH , tex_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(622,0,1, { tex_index = 416 , tex_w = baseW , tex_h = baseH , tex_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(622,0,2, { tex_index = 417 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(525,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(622,0,3, { tex_index = 417 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).attackbox , collision = pat:get_frame(0,0,0).collision , duration = 40 }) pat:update_frame(622,0,4, { tex_index = 418 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(525,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3+3 }) pat:update_frame(622,0,5, { tex_index = 418 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(525,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(622,0,6, { tex_index = 418 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(525,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) --6 pat:split_frame(622,1,0,4,4) pat:update_frame(622,1,0, { tex_index = 419 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(525,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(622,1,1, { tex_index = 420 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(525,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(622,1,2, { tex_index = 418 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(525,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) --1 pat:update_frame(622,2,0, { tex_index = 419 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(525,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(622,2,1, { tex_index = 420 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(525,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(622,2,2, { tex_index = 418 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(525,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(622,2,3, { tex_index = 419 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(525,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(622,2,4, { tex_index = 420 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(525,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(622,2,5, { tex_index = 417 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(525,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(622,2,6, { tex_index = 416 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(525,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) --6 pat:update_frame(872,0,0,{tex_index = 0 , tex_w = 0}) pat:update_frame(872,1,0,{tex_index = 523 +112 }) pat:update_frame(872,1,1,{tex_index = 523 +112 }) pat:update_frame(872,1,2,{tex_index = 523 +112 }) pat:update_frame(872,1,3,{tex_index = 523 +113 }) pat:update_frame(872,1,4,{tex_index = 523 +113 }) pat:update_frame(872,2,0,{tex_index = 523 +55 }) pat:update_frame(872,2,1,{tex_index = 523 +55 }) pat:update_frame(872,3,0,{tex_index = 523 +54 }) pat:update_frame(872,3,1,{tex_index = 523 +54 }) pat:update_frame(872,4,0,{tex_index = 523 +54 }) pat:update_frame(872,4,1,{tex_index = 523 +54 }) pat:update_frame(872,5,0,{tex_index = 523 +114 }) pat:update_frame(872,5,1,{tex_index = 523 +115 }) pat:update_frame(872,5,2,{tex_index = 523 +116 }) pat:update_frame(872,5,3,{tex_index = 523 +117 }) pat:update_frame(872,5,4,{tex_index = 523 +117 , tex_w = 0 }) pat:update_frame(872,6,0,{tex_index = 523 +56 }) pat:update_frame(872,6,1,{tex_index = 523 +56 }) pat:update_frame(872,7,0,{tex_index = 523 +54 }) pat:update_frame(872,7,1,{tex_index = 523 +54 }) pat:update_frame(872,7,2,{tex_index = 523 +54 }) for idx = 0 , 9 do pat:update_frame(872,8,idx,{tex_index = 523 + 14 + idx}) end pat:update_frame(872,9,0,{tex_index = 523 +57 }) pat:update_frame(872,2,0,function(frame) frame.attackbox[1].x1 = -2000 frame.attackbox[1].x2 = 2000 frame.attackbox[1].y1 = -2000 frame.attackbox[1].y2 = 2000 frame.damage = 2400 frame.chip_damage = 600 frame.limit = 100 frame.sp_damage = 200 end) pat:remove_frame(872,2,1) for idx = 1 , 19 do pat:split_frame(872,2,0,1,1) end pat:get_sequence(872,2):set_looped(false) for idx = 0 , 19 do pat:update_frame(872,2,idx,function(frame) frame.scale_x = 2000 - idx*100 frame.scale_y = 2000 - idx*100 local alpha = 180--30*idx frame.color_r = alpha frame.color_g = alpha frame.color_b = alpha if (idx > 6) then frame.attackbox = pat:get_frame(0,0,0).attackbox end end) end pat:get_sequence(872,3):set_looped(false) pat:get_sequence(872,4):set_looped(false) pat:get_sequence(872,5):set_looped(false) pat:get_sequence(872,6):set_looped(false) pat:get_sequence(872,7):set_looped(false) for idx = 0 , 9 do pat:update_frame(872,8,idx,function(frame) frame.attackbox = pat:get_frame(0,0,0).attackbox frame.scale_x = 1000 frame.scale_y = 1000 end) end end function mods.sc_apollo(pat) local baseX = 79*2 +8 local baseY = 155*2 +4 local baseW = 185 local baseH = 205 local baseY0 = 6 local baseY1 = 20 local baseY2 = 4 local baseX = 79*2 +8 local baseY = 155*2 +4 local baseW = 185 local baseH = 205 pat:split_frame(621,0,8,1,1) pat:split_frame(621,2,3,1,1) pat:update_frame(621,0,0, { tex_index = 416 , tex_w = baseW , tex_h = baseH , tex_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(621,0,1, { tex_index = 416 , tex_w = baseW , tex_h = baseH , tex_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(621,0,2, { tex_index = 416 , tex_w = baseW , tex_h = baseH , tex_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(621,0,3, { tex_index = 416 , tex_w = baseW , tex_h = baseH , tex_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(621,0,4, { tex_index = 417 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(525,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 1 }) pat:update_frame(621,0,5, { tex_index = 417 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(525,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 1 }) pat:update_frame(621,0,6, { tex_index = 417 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(525,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 1 }) pat:update_frame(621,0,7, { tex_index = 417 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).attackbox , collision = pat:get_frame(0,0,0).collision , duration = 40 }) pat:update_frame(621,0,8, { tex_index = 417 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(525,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 30 }) pat:update_frame(621,0,9, { tex_index = 418 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(525,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(621,1,0, { tex_index = 419 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(525,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(621,1,1, { tex_index = 420 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(525,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(621,1,2, { tex_index = 418 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(525,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(621,2,0, { tex_index = 419 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(525,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 6 }) pat:update_frame(621,2,1, { tex_index = 420 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(525,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 6 }) pat:update_frame(621,2,2, { tex_index = 418 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(525,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 6 }) pat:update_frame(621,2,3, { tex_index = 417 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(525,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(621,2,4, { tex_index = 416 , tex_w = baseW , tex_h = baseH , tex_offset_x = 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(671,0,8,1,1) pat:split_frame(671,2,1,1,1) pat:split_frame(671,2,1,1,1) pat:update_frame(671,0,0, { tex_index = 416 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 1 }) pat:update_frame(671,0,1, { tex_index = 416 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 1 }) pat:update_frame(671,0,2, { tex_index = 416 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 1 }) pat:update_frame(671,0,3, { tex_index = 416 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 1 }) pat:update_frame(671,0,4, { tex_index = 417 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(525,0,2).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 1 }) pat:update_frame(671,0,5, { tex_index = 417 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(525,0,2).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 1 }) pat:update_frame(671,0,6, { tex_index = 417 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(525,0,2).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 1 }) pat:update_frame(671,0,7, { tex_index = 417 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).attackbox , collision = pat:get_frame(9,0,0).collision , duration = 40 }) pat:update_frame(671,0,8, { tex_index = 417 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(525,0,2).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 30 }) pat:update_frame(671,0,9, { tex_index = 418 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(525,0,4).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 3 }) pat:update_frame(671,1,0, { tex_index = 419 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(525,0,4).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 4 }) pat:update_frame(671,1,1, { tex_index = 420 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(525,0,4).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 4 }) pat:update_frame(671,1,2, { tex_index = 418 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(525,0,4).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 4 }) pat:update_frame(671,2,0, { tex_index = 419 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(525,0,4).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 6 }) pat:update_frame(671,2,1, { tex_index = 418 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(525,0,4).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 6 }) pat:update_frame(671,2,2, { tex_index = 417 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(525,0,2).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 6 }) pat:update_frame(671,2,3, { tex_index = 416 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 5 }) for idx = 0 , 12 do pat:update_frame(848,0,idx,{ tex_w = 0 }) end pat:get_sequence(871,0):set_priority(30,0) pat:update_frame(871,1,0,{tex_index = 0 , tex_w = 0 , duration = 1 , attackbox = pat:get_frame(0,0,0).attackbox}) pat:update_frame(871,1,1,{tex_index = 0 , 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(871,4,0,{tex_index = 0 , tex_w = 0}) pat:update_frame(871,5,0,{tex_index = 0 , tex_w = 0}) pat:update_frame(871,2,0,{tex_index = 523 +118 , 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(871,2,0,1,1) end for idx = 0 , 25 do pat:update_frame(871,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(871,3,0,{tex_index = 523 +149 , 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(871,3,0,1,1) end for idx = 0 , 25 do pat:update_frame(871,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(871,0,0,1,1) end for idx = 0 , maxDur do pat:update_frame(871,0,idx,function(frame) set_fflag(frame, FF_AFTER_IMAGE) set_fflag(frame, FF_LOOP_ANIMATION) frame.tex_index = 523+119 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 = 523+120+(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 = 0x0041000f 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.sc_royalflare(pat) local baseX = 79*2 +8 local baseY = 155*2 +4 local baseW = 185 local baseH = 205 pat:update_frame(608,0,0, { tex_index = 416 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(525,0,0).hurtbox }) pat:update_frame(608,0,1, { tex_index = 416 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(525,0,0).hurtbox }) pat:update_frame(608,0,2, { tex_index = 417 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(525,0,2).hurtbox }) pat:update_frame(608,0,3, { tex_index = 417 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(525,0,2).hurtbox }) pat:update_frame(608,0,4, { tex_index = 417 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(525,0,2).hurtbox }) pat:update_frame(608,0,5, { tex_index = 417 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(525,0,2).hurtbox }) pat:update_frame(608,0,6, { tex_index = 417 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(525,0,2).hurtbox }) pat:update_frame(608,0,7, { tex_index = 418 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(525,0,4).hurtbox }) pat:update_frame(608,0,8, { tex_index = 419 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY }) pat:update_frame(608,0,9, { tex_index = 420 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY }) pat:update_frame(608,0,10, { tex_index = 418 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY }) pat:update_frame(608,0,11, { tex_index = 419 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY }) pat:update_frame(608,0,12, { tex_index = 420 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY }) pat:update_frame(608,0,13, { tex_index = 418 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY }) pat:update_frame(608,0,14, { tex_index = 419 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY }) pat:update_frame(608,0,15, { tex_index = 420 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY }) pat:update_frame(608,0,16, { tex_index = 418 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY }) pat:update_frame(608,0,17, { tex_index = 419 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY }) pat:update_frame(608,0,18, { tex_index = 420 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY }) pat:update_frame(608,0,19, { tex_index = 418 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY }) pat:update_frame(608,1,0, { tex_index = 419 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY }) pat:update_frame(608,1,1, { tex_index = 420 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY }) pat:update_frame(608,1,2, { tex_index = 418 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY }) pat:update_frame(608,2,0, { tex_index = 419 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(525,0,4).hurtbox }) pat:update_frame(608,2,1, { tex_index = 420 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(525,0,4).hurtbox }) pat:update_frame(608,2,2, { tex_index = 418 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(525,0,4).hurtbox }) pat:update_frame(608,3,0, { tex_index = 419 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(525,0,4).hurtbox }) pat:update_frame(608,3,1, { tex_index = 420 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(525,0,4).hurtbox }) pat:update_frame(608,3,2, { tex_index = 418 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(525,0,4).hurtbox }) pat:update_frame(608,3,3, { tex_index = 418 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(525,0,4).hurtbox }) pat:update_frame(608,3,4, { tex_index = 418 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(525,0,4).hurtbox }) pat:update_frame(608,3,5, { tex_index = 417 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(525,0,2).hurtbox }) pat:update_frame(608,3,6, { tex_index = 417 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(525,0,2).hurtbox }) pat:update_frame(608,3,7, { tex_index = 416 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(525,0,0).hurtbox }) pat:update_frame(608,3,8, { tex_index = 416 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(525,0,0).hurtbox }) --royal flare sprites pat:update_frame(858,0,0,{tex_index = 523 + 171 + 3 }) pat:update_frame(858,0,1,{tex_index = 523 + 171 + 4 }) pat:update_frame(858,0,2,{tex_index = 523 + 171 + 0 }) pat:update_frame(858,0,3,{tex_index = 523 + 171 + 1 }) pat:update_frame(858,0,4,{tex_index = 523 + 171 + 2 }) pat:update_frame(858,0,5,{tex_index = 523 + 171 + 1 }) pat:update_frame(858,0,6,{tex_index = 523 + 171 + 0 }) pat:update_frame(858,0,7,{tex_index = 523 + 171 + 4 }) pat:update_frame(858,0,8,{tex_index = 523 + 171 + 3 }) for idx = 0 , 1 do pat:update_frame(858,1,idx,{tex_index = 523 + 180}) end for idx = 0 , 0 do pat:update_frame(858,2,idx,{tex_index = 523 + 176}) end for idx = 0 , 0 do pat:update_frame(858,3,idx,{tex_index = 523 + 234}) end for idx = 0 , 1 do pat:update_frame(858,4,idx,{tex_index = 523 + 178}) end for idx = 0 , 0 do pat:update_frame(858,5,idx,{tex_index = 523 + 181}) end for idx = 0 , 1 do pat:update_frame(858,6,idx,{tex_index = 523 + 177}) end for idx = 0 , 1 do pat:update_frame(858,7,idx,{tex_index = 523 + 177}) end end function mods.sc_ceiling(pat) local baseX = 79*2 +8 local baseY = 155*2 +4 local baseW = 185 local baseH = 205 for idx = 8 , 19 do pat:update_frame(609,0,idx,function(frame) frame.fflags = 0x00000001 frame.hurtbox = pat:get_frame(0,0,0).attackbox end) end pat:update_frame(609,0,0, { tex_index = 61 , tex_w = baseW , tex_h = baseH , tex_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,1, { tex_index = 61 , tex_w = baseW , tex_h = baseH , tex_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(609,0,2, { tex_index = 60 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 10 }) pat:update_frame(609,0,3, { tex_index = 60 , tex_w = baseW , tex_h = baseH , tex_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(609,0,4, { tex_index = 62 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) pat:update_frame(609,0,4,function(frame) 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 + 40 frame.hurtbox[2].y1 = frame.hurtbox[2].y1 + 40 frame.hurtbox[2].y2 = frame.hurtbox[2].y1 + 40 end) pat:update_frame(609,0,5, { tex_index = 62 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(609,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) for idx = 20 , 37 do pat:split_frame(609,0,19,1,1) end pat:update_frame(609,0,6, { tex_index = 63 , tex_w = baseW , tex_h = baseH , tex_offset_x = 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,7, { tex_index = 63 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(609,0,6).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(609,0,8, { tex_index = 63 , 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(609,0,9, { tex_index = 63 , 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(609,0,10, { tex_index = 63 , 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(609,0,11, { tex_index = 63 , 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(609,0,12, { tex_index = 63 , 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(609,0,13, { tex_index = 63 , 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(609,0,14, { tex_index = 63 , 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(609,0,15, { tex_index = 63 , 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(609,0,16, { tex_index = 63 , 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(609,0,17, { tex_index = 63 , 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(609,0,18, { tex_index = 63 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(609,0,6).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(609,0,19, { tex_index = 63 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(609,0,6).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(609,0,20, { tex_index = 63 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(609,0,6).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(609,0,21, { tex_index = 63 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(609,0,6).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(609,0,22, { tex_index = 63 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(609,0,6).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(609,0,23, { tex_index = 63 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(609,0,6).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(609,0,24, { tex_index = 63 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(609,0,6).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(609,0,25, { tex_index = 63 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(609,0,6).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(609,0,26, { tex_index = 63 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(609,0,6).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(609,0,27, { tex_index = 63 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(609,0,6).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(609,0,28, { tex_index = 63 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(609,0,6).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(609,0,29, { tex_index = 63 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(609,0,6).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(609,0,30, { tex_index = 63 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(609,0,6).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(609,0,31, { tex_index = 63 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(609,0,6).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(609,0,32, { tex_index = 63 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(609,0,6).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(609,0,33, { tex_index = 63 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(609,0,6).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(609,0,34, { tex_index = 63 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(609,0,6).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(609,0,35, { tex_index = 63 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(609,0,6).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(609,0,36, { tex_index = 63 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(609,0,6).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(609,0,37, { tex_index = 63 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(609,0,6).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) for idx = 8 , 17 do pat:update_frame(609,0,idx,function(frame) frame.fflags = 0x00007001 frame.hurtbox = pat:get_frame(0,0,0).attackbox end) end for idx = 0 , 2 do pat:update_frame(609,1,idx,function(frame) frame.fflags = 0x00000001 frame.hurtbox = pat:get_frame(0,0,0).hurtbox end) end pat:get_sequence(609,1):set_looped(false) pat:get_sequence(609,2):set_looped(false) for idx = 9 , 13 do pat:split_frame(609,3,8,1,1) end pat:update_frame(609,3,0,{duration = 1}) pat:update_frame(609,1,0,{duration = 1}) pat:update_frame(609,2,0,{duration = 1}) pat:remove_frame(609,1,2) pat:remove_frame(609,2,2) pat:remove_frame(609,1,1) pat:remove_frame(609,2,1) pat:update_frame(609,1,0, { tex_index = 10 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(610,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 1 }) pat:update_frame(609,2,0, { tex_index = 10 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(609,1,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 1 }) pat:update_frame(609,3,0, { tex_index = 10 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(609,1,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) pat:update_frame(609,3,1, { tex_index = 11 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(610,0,6).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) pat:update_frame(609,3,2, { tex_index = 12 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(610,0,7).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 4 }) pat:update_frame(609,3,3, { tex_index = 12 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(609,3,2).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 4 }) pat:update_frame(609,3,4, { tex_index = 12 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(609,3,2).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 4 }) pat:update_frame(609,3,5, { tex_index = 12 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(609,3,2).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 4 }) pat:update_frame(609,3,6, { tex_index = 12 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(609,3,2).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 4 }) pat:update_frame(609,3,7, { tex_index = 12 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(609,3,2).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 4 }) pat:update_frame(609,3,8, { tex_index = 12 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(609,3,2).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 4 }) pat:update_frame(609,3,9, { tex_index = 12 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(609,3,2).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 4 }) pat:update_frame(609,3,10, { tex_index = 12 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(609,3,2).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 6 }) pat:update_frame(609,3,11, { tex_index = 12 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(609,3,2).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 20 }) pat:update_frame(609,3,12, { tex_index = 13 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(1,0,1).hurtbox , collision = pat:get_frame(1,0,1).collision , duration = 5 }) pat:update_frame(609,3,13, { tex_index = 14 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 4 }) --royal flare sprites pat:update_frame(859,0,0,{tex_index = 523 + 171 + 3 }) pat:update_frame(859,0,1,{tex_index = 523 + 171 + 4 }) pat:update_frame(859,0,2,{tex_index = 523 + 171 + 0 }) pat:update_frame(859,0,3,{tex_index = 523 + 171 + 1 }) pat:update_frame(859,0,4,{tex_index = 523 + 171 + 2 }) pat:update_frame(859,0,5,{tex_index = 523 + 171 + 1 }) pat:update_frame(859,0,6,{tex_index = 523 + 171 + 0 }) pat:update_frame(859,0,7,{tex_index = 523 + 171 + 4 }) pat:update_frame(859,0,8,{tex_index = 523 + 171 + 3 }) for idx = 0 , 1 do pat:update_frame(859,1,idx,{tex_index = 523 + 180}) end for idx = 0 , 0 do pat:update_frame(859,2,idx,{tex_index = 523 + 176}) end for idx = 0 , 0 do pat:update_frame(859,3,idx,{tex_index = 523 + 234}) end for idx = 0 , 1 do pat:update_frame(859,4,idx,{tex_index = 523 + 178}) end for idx = 0 , 0 do pat:update_frame(859,5,idx,{tex_index = 523 + 181}) end for idx = 0 , 1 do pat:update_frame(859,6,idx,{tex_index = 523 + 177}) end for idx = 0 , 1 do pat:update_frame(859,7,idx,{tex_index = 523 + 177}) end pat:get_sequence(859,1):set_looped(false) pat:remove_frame(859,1,1) pat:update_frame(859,1,0,{duration=1}) for idx = 1 , 8 do pat:remove_frame(859,0,1) end for idx = 1 , 120 do pat:split_frame(859,0,0,1,1) end for idx = 0 , 89 do pat:update_frame(859,0,idx,function(frame) frame.tex_index = 523 + 170 frame.tex_w = 128 frame.tex_h = 128 frame.tex_offset_x = 64 frame.tex_offset_y = 64 frame.scale_x = 8000 frame.scale_y = 8000 frame.color_r = 1.5*idx frame.color_g = 1.5*idx frame.color_b = 1.5*idx end) end for idx = 0 , 30 do pat:update_frame(859,0,90+idx,function(frame) frame.tex_index = 523 + 170 frame.tex_w = 128 frame.tex_h = 128 frame.tex_offset_x = 64 frame.tex_offset_y = 64 frame.scale_x = 8000 frame.scale_y = 8000 frame.color_r = 120-4*idx frame.color_g = 120-4*idx frame.color_b = 120-4*idx end) end pat:update_frame(859,2,0,{tex_w = 0}) pat:update_frame(859,3,0,{tex_w = 0}) pat:update_frame(859,4,0,{tex_w = 0}) pat:update_frame(859,4,1,{tex_w = 0}) pat:update_frame(859,5,0,{tex_w = 0}) pat:update_frame(859,6,0,{tex_w = 0 , duration = 1}) pat:update_frame(859,6,1,{tex_w = 0 , duration = 1}) pat:update_frame(859,7,0,{tex_w = 0}) pat:update_frame(859,7,1,{tex_w = 0}) pat:get_sequence(859,6):set_looped(false) pat:update_frame(859,2,0,function (frame) frame.tex_index = 523 + 150 frame.tex_w = 1024 frame.tex_h = 128 frame.tex_offset_x = 512 frame.tex_offset_y = 64 frame.blending_mode = 1 frame.angle_x = 0 frame.angle_y = 0 frame.angle_z = 0 frame.scale_x = 200 frame.scale_y = 400 frame.attackbox = pat:get_frame(0,0,0).hurtbox frame.attackbox[1].x1 = -2000 frame.attackbox[1].x2 = 2000 frame.attackbox[1].y1 = -110 frame.attackbox[1].y2 = 110 frame.damage = 800 frame.limit = 20 frame.proration = 850 frame.attack_level = AL_HEAVY frame.blockstop_self = 10 frame.hitstop_self = 10 frame.blockstop_enemy = 10 frame.hitstop_enemy = 10 frame.sp_damage = 150 frame.untech = 60 unset_aflag(frame,AF_COUNTER_HIT) frame.hit_sfx = 9 frame.hit_effect = 7 frame.hit_ani_air = 88 frame.hit_ani_ground = 88 frame.launch_vector_x = 1800 frame.launch_vector_y = -3500 frame.unknown_9 = 100 frame.duration = 200 frame.damage = 4000 frame.chip_damage = 1000 frame.sp_damage = 9999 frame.untech = 9999 set_aflag(frame,AF_GROUND_UNBLOCKABLE) unset_aflag(frame,AF_AIR_BLOCKABLE) unset_aflag(frame,AF_HIGHBLOCK_OK) unset_aflag(frame,AF_LOWBLOCK_OK) unset_aflag(frame,AF_COUNTER_HIT) set_aflag(frame,AF_ATTACK_HIGH) set_aflag(frame,AF_PROJECTILE) set_aflag(frame,AF_UNGRAZABLE) set_aflag(frame,AF_SPELL_ATTACK) frame.limit = 100 frame.proration = 750 frame.launch_vector_y = -4500 frame.combo_correction = CC_SMASH_ATTACK frame.attack_level = AL_SUPERHEAVY end) for idx = 1 , 119 do pat:split_frame(859,2,0,1,1) end for idx = 0 , 119 do pat:update_frame(859,2,idx,function(frame) if ((idx/20)%2<1) then frame.tex_index = 523 + 150 +idx%20 else frame.tex_index = 523 + 150 +19-idx%20 end local scalemod = 100/frame.scale_x local scalemody = 100/frame.scale_y local ymod = -600 + idx*40 local xmod = 0 if (ymod > 200) then ymod = 200 end frame.attackbox = pat:get_frame(0,0,0).hurtbox frame.attackbox[1].x1 = -2000 frame.attackbox[1].x2 = 2000 frame.attackbox[1].y1 = -110 frame.attackbox[1].y2 = 110 frame.tex_offset_y = frame.tex_offset_y - (ymod)*scalemody frame.attackbox[1].y1 = frame.attackbox[1].y1 + (ymod) frame.attackbox[1].y2 = frame.attackbox[1].y2 + (ymod) frame.tex_offset_x = frame.tex_offset_x - (xmod)*scalemod frame.attackbox[1].x1 = frame.attackbox[1].x1 + (xmod) frame.attackbox[1].x2 = frame.attackbox[1].x2 + (xmod) if (idx > 30) then frame.attackbox = pat:get_frame(0,0,0).attackbox --18f backdash required end end) end end function mods.sc_masterspark(pat) local baseX = 79*2 +8 local baseY = 155*2 +4 local baseW = 185 local baseH = 205 pat:update_frame(602,0,0, { tex_index = 4 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(301,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(602,0,1, { tex_index = 5 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(301,0,2).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(602,0,2, { tex_index = 5 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(602,0,3, { tex_index = 5 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(602,0,4, { tex_index = 6 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(602,0,5, { tex_index = 7 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , collision = pat:get_frame(0,0,0).collision }) -- 5 pat:update_frame(602,1,0, { tex_index = 7 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(301,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(602,1,1, { tex_index = 7 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(301,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(602,1,2, { tex_index = 7 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(301,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(602,1,3, { tex_index = 7 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(301,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(602,1,4, { tex_index = 7 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(301,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(602,1,5, { tex_index = 7 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(301,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) -- 5 pat:update_frame(602,2,0, { tex_index = 7 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(301,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(602,2,1, { tex_index = 7 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(301,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(602,2,2, { tex_index = 7 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(301,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(602,2,3, { tex_index = 7 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(301,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(602,2,4, { tex_index = 7 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(301,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(602,2,5, { tex_index = 7 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(301,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(602,2,6, { tex_index = 7 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(301,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(602,2,7, { tex_index = 7 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(301,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(602,2,8, { tex_index = 8 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(301,0,8).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(602,2,9, { tex_index = 6 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(301,0,9).hurtbox , collision = pat:get_frame(0,0,0).collision }) -- 9 --mspark sprites for idx = 0 , 24 do pat:update_frame(852,0,idx,{tex_index = 523 + 182 + idx}) end for idx = 0 , 24 do pat:update_frame(852,1,idx,{tex_index = 523 + 182 + idx}) end for idx = 0 , 7 do pat:update_frame(852,2,idx,{tex_index = 523 + 182 + 25 + idx}) end for idx = 0 , 7 do pat:update_frame(852,3,idx,{tex_index = 523 + 182 + 25 + idx}) end for idx = 0 , 24 do pat:update_frame(852,4,idx,{tex_index = 523 + 182 + idx}) end end function mods.sc_visor(pat) local baseX = 79*2 +8 local baseY = 155*2 +4 local baseW = 185 local baseH = 205 pat:update_frame(623,0,0, { tex_index = 380 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(623,0,1, { tex_index = 377 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(623,0,2, { tex_index = 378 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) for idx = 0 , 9 do pat:update_frame(623,1,idx, { tex_index = 379 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , collision = pat:get_frame(0,0,0).collision }) end pat:update_frame(623,2,0, { tex_index = 379 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(500,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(623,2,1, { tex_index = 379 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(500,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(623,2,2, { tex_index = 379 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(500,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(623,2,3, { tex_index = 379 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(500,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(623,2,4, { tex_index = 379 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(500,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 10 }) pat:update_frame(623,2,5, { tex_index = 377 , tex_w = baseW , tex_h = baseH , tex_offset_x = 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(623,2,6, { tex_index = 380 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) --visor sprites for idx = 0 , 8 do pat:update_frame(873,0,idx,{tex_index = 523 + 215 + idx}) end for idx = 0 , 8 do pat:update_frame(873,1,idx,{tex_index = 523 + 215 + 9 + idx}) end for idx = 0 , 0 do pat:update_frame(873,2,idx,{tex_index = 523 + 233}) end for idx = 0 , 8 do pat:update_frame(873,3,idx,{tex_index = 523 + 215 + 9 + idx}) end end function mods.sc_thorns(pat) local baseX = 79*2 +8 local baseY = 155*2 +4 local baseW = 185 local baseH = 205 pat:update_frame(624,0,0, { tex_index = 416 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(525,0,0).hurtbox }) pat:update_frame(624,0,1, { tex_index = 416 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(525,0,0).hurtbox }) pat:update_frame(624,0,2, { tex_index = 417 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(525,0,2).hurtbox }) pat:update_frame(624,0,3, { tex_index = 417 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).attackbox }) pat:update_frame(624,0,4, { tex_index = 418 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(525,0,4).hurtbox }) pat:update_frame(624,0,5, { tex_index = 418 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(525,0,4).hurtbox }) pat:update_frame(624,0,6, { tex_index = 418 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(525,0,4).hurtbox }) --6 pat:split_frame(624,1,0,4,4) pat:update_frame(624,1,0, { tex_index = 419 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(525,0,4).hurtbox }) pat:update_frame(624,1,1, { tex_index = 420 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(525,0,4).hurtbox }) pat:update_frame(624,1,2, { tex_index = 418 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(525,0,4).hurtbox }) --1 pat:update_frame(624,2,0, { tex_index = 419 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(525,0,4).hurtbox }) pat:update_frame(624,2,1, { tex_index = 417 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(525,0,2).hurtbox }) pat:update_frame(624,2,2, { tex_index = 416 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(525,0,0).hurtbox }) --2 pat:update_frame(874,0,0,{tex_index = 0 , tex_w = 0}) pat:update_frame(874,1,0,{tex_index = 523 +112 }) pat:update_frame(874,1,1,{tex_index = 523 +112 }) pat:update_frame(874,1,2,{tex_index = 523 +112 }) pat:update_frame(874,1,3,{tex_index = 523 +113 }) pat:update_frame(874,1,4,{tex_index = 523 +113 }) pat:update_frame(874,2,0,{tex_index = 523 +55 }) pat:update_frame(874,2,1,{tex_index = 523 +55 }) pat:update_frame(874,3,0,{tex_index = 523 +54 }) pat:update_frame(874,3,1,{tex_index = 523 +54 }) pat:update_frame(874,4,0,{tex_index = 523 +54 }) pat:update_frame(874,4,1,{tex_index = 523 +54 }) pat:update_frame(874,5,0,{tex_index = 523 +114 }) pat:update_frame(874,5,1,{tex_index = 523 +115 }) pat:update_frame(874,5,2,{tex_index = 523 +116 }) pat:update_frame(874,5,3,{tex_index = 523 +117 }) pat:update_frame(874,5,4,{tex_index = 523 +117 , tex_w = 0 }) pat:update_frame(874,6,0,{tex_index = 523 +56 }) pat:update_frame(874,6,1,{tex_index = 523 +56 }) pat:update_frame(874,7,0,{tex_index = 523 +54 }) pat:update_frame(874,7,1,{tex_index = 523 +54 }) pat:update_frame(874,7,2,{tex_index = 523 +54 }) for idx = 0 , 9 do pat:update_frame(874,8,idx,{tex_index = 523 + 14 + idx}) end pat:update_frame(874,9,0,{tex_index = 523 + 57 }) end function mods.sc_borders(pat) local baseX = 79*2 +8 local baseY = 155*2 +4 local baseW = 185 local baseH = 205 pat:update_frame(625,0,0, { tex_index = 380 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(625,0,1, { tex_index = 377 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(625,0,2, { tex_index = 378 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(625,0,3, { tex_index = 379 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(500,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(625,0,4, { tex_index = 379 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(500,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(625,0,5, { tex_index = 379 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(500,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(625,0,6, { tex_index = 379 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(500,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(625,0,7, { tex_index = 379 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(500,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(625,0,8, { tex_index = 379 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(500,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(625,0,9, { tex_index = 379 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(500,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(625,0,10, { tex_index = 377 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(625,0,11, { tex_index = 380 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(875,0,0,{tex_index = 523 + 235 }) pat:update_frame(875,1,0,{tex_index = 523 + 236 }) pat:update_frame(875,2,0,{tex_index = 523 + 236 }) pat:update_frame(875,3,0,{tex_index = 523 + 235 }) pat:update_frame(875,4,0,{tex_index = 523 + 237 }) end function mods.sc_fantasyorb(pat) --626 --676 --876 --fantasy orb sprites --fix trails local baseX = 79*2 +8 local baseY = 155*2 +4 local baseW = 185 local baseH = 205 pat:update_frame(626,0,0, { tex_index = 373 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(626,0,1, { tex_index = 373 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(626,0,2, { tex_index = 373 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(626,0,3, { tex_index = 372 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(626,0,4, { tex_index = 372 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(626,0,5, { tex_index = 373 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(626,0,6, { tex_index = 373 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(626,0,7, { tex_index = 373 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(626,0,8, { tex_index = 373 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(626,0,9, { tex_index = 374 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(626,1,0, { tex_index = 375 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(626,1,0,function(frame) frame.hurtbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[2].x1 = frame.hurtbox[2].x1 - 40 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 + 40 frame.hurtbox[2].y1 = frame.hurtbox[2].y1 + 40 frame.hurtbox[2].y2 = frame.hurtbox[2].y1 + 45 end) pat:update_frame(626,1,1, { tex_index = 375 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(626,1,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(626,2,0, { tex_index = 376 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(626,1,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(626,3,0, { tex_index = 374 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(626,3,1, { tex_index = 374 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(626,4,0, { tex_index = 351 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(10,0,0).hurtbox , collision = pat:get_frame(10,0,0).collision }) pat:update_frame(626,4,1, { tex_index = 351 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(10,0,1).hurtbox , collision = pat:get_frame(10,0,1).collision }) pat:update_frame(626,4,2, { tex_index = 351 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(10,0,1).hurtbox , collision = pat:get_frame(10,0,1).collision }) pat:update_frame(626,4,3, { tex_index = 186 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(10,0,2).hurtbox , collision = pat:get_frame(10,0,2).collision }) pat:update_frame(626,4,4, { tex_index = 186 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(10,0,2).hurtbox , collision = pat:get_frame(10,0,2).collision }) pat:update_frame(676,0,0, { tex_index = 373 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(9,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(676,0,1, { tex_index = 373 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(9,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(676,0,2, { tex_index = 373 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(9,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(676,0,3, { tex_index = 372 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(9,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(676,0,4, { tex_index = 372 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(9,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(676,0,5, { tex_index = 373 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(9,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(676,0,6, { tex_index = 373 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(9,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(676,0,7, { tex_index = 373 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(9,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(676,0,8, { tex_index = 373 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(9,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(676,0,9, { tex_index = 374 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(9,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(676,1,0, { tex_index = 375 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(626,1,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(676,1,1, { tex_index = 375 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(676,1,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(676,2,0, { tex_index = 376 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(676,1,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(676,3,0, { tex_index = 374 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(9,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(676,3,1, { tex_index = 177 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+8 , hurtbox = pat:get_frame(9,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(676,3,2, { tex_index = 182 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(9,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(676,3,3, { tex_index = 503 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(9,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(676,4,0, { tex_index = 351 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(10,0,0).hurtbox , collision = pat:get_frame(10,0,0).collision }) pat:update_frame(676,4,1, { tex_index = 351 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(10,0,1).hurtbox , collision = pat:get_frame(10,0,1).collision }) pat:update_frame(676,4,2, { tex_index = 351 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(10,0,1).hurtbox , collision = pat:get_frame(10,0,1).collision }) pat:update_frame(676,4,3, { tex_index = 186 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(10,0,2).hurtbox , collision = pat:get_frame(10,0,2).collision }) pat:update_frame(676,4,4, { tex_index = 186 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(10,0,2).hurtbox , collision = pat:get_frame(10,0,2).collision }) for idx = 0 , 2 do pat:update_frame(876,0,idx,{tex_index = 523 + 240}) end for idx = 0 , 2 do pat:update_frame(876,1,idx,{tex_index = 523 + 241}) end for idx = 0 , 2 do pat:update_frame(876,2,idx,{tex_index = 523 + 242}) end for idx = 0 , 2 do pat:update_frame(876,3,idx,{tex_index = 523 + 240}) end for idx = 0 , 2 do pat:update_frame(876,4,idx,{tex_index = 523 + 241}) end for idx = 0 , 2 do pat:update_frame(876,5,idx,{tex_index = 523 + 242}) end pat:update_frame(876,6,0,{tex_index = 523 + 343}) pat:update_frame(876,7,0,{tex_index = 523 + 344}) pat:update_frame(876,8,0,{tex_index = 523 + 345}) pat:update_frame(876,9,0,{tex_index = 523 + 346}) pat:update_frame(876,10,0,{tex_index = 523 + 347}) pat:update_frame(876,11,0,{tex_index = 523 + 348}) pat:copy_sequence(993,990,0) pat:copy_sequence(994,990,0) pat:copy_sequence(995,990,0) pat:update_frame(993,0,0,function(frame) frame.tex_index = 523 + 342 end) pat:update_frame(994,0,0,function(frame) frame.tex_index = 523 + 341 end) pat:update_frame(995,0,0,function(frame) frame.tex_index = 523 + 340 end) end function mods.sc_autumnfall(pat) --627 --677 --877 local baseX = 79*2 +8 local baseY = 155*2 +4 local baseW = 185 local baseH = 205 pat:split_frame(627,2,0,2,2) pat:split_frame(627,2,0,2,2) pat:split_frame(627,2,0,2,2) pat:update_frame(627,0,0, { tex_index = 373 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(627,0,1, { tex_index = 373 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2-1 }) pat:update_frame(627,0,2, { tex_index = 373 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(627,0,3, { tex_index = 372 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(627,0,4, { tex_index = 372 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(627,0,5, { tex_index = 373 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(627,0,6, { tex_index = 373 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(627,0,7, { tex_index = 373 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(627,0,8, { tex_index = 373 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(627,0,9, { tex_index = 374 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(627,1,0, { tex_index = 375 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(626,1,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(627,1,1, { tex_index = 375 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(626,1,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(627,2,0, { tex_index = 376 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(626,1,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(627,2,1, { tex_index = 374 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(627,2,2, { tex_index = 374 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(627,2,3, { tex_index = 374 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(627,3,0, { tex_index = 374 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(627,3,1, { tex_index = 374 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:remove_frame(627,4,1) pat:update_frame(627,4,0, { tex_index = 351 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(10,0,0).hurtbox , collision = pat:get_frame(10,0,0).collision }) pat:update_frame(627,4,1, { tex_index = 351 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(10,0,1).hurtbox , collision = pat:get_frame(10,0,1).collision }) pat:update_frame(627,4,2, { tex_index = 351 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(10,0,1).hurtbox , collision = pat:get_frame(10,0,1).collision }) pat:update_frame(627,4,3, { tex_index = 186 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(10,0,2).hurtbox , collision = pat:get_frame(10,0,2).collision }) pat:update_frame(677,0,0, { tex_index = 373 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(9,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(677,0,1, { tex_index = 373 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(9,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision , duration = 2-1 }) pat:update_frame(677,0,2, { tex_index = 373 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(9,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(677,0,3, { tex_index = 372 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(9,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(677,0,4, { tex_index = 372 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(9,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(677,0,5, { tex_index = 373 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(9,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(677,0,6, { tex_index = 373 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(9,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(677,0,7, { tex_index = 373 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(9,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(677,0,8, { tex_index = 373 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(9,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(677,0,9, { tex_index = 374 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(9,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(677,1,0, { tex_index = 375 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(676,1,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(677,1,1, { tex_index = 375 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(676,1,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(677,2,0, { tex_index = 376 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(676,1,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(677,3,0, { tex_index = 374 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(9,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(677,3,1, { tex_index = 177 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+8 , hurtbox = pat:get_frame(9,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(677,3,2, { tex_index = 182 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(9,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:update_frame(677,3,3, { tex_index = 503 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(9,0,0).hurtbox , collision = pat:get_frame(9,0,0).collision }) pat:remove_frame(627,4,1) pat:update_frame(677,4,0, { tex_index = 351 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(10,0,0).hurtbox , collision = pat:get_frame(10,0,0).collision }) pat:update_frame(677,4,1, { tex_index = 351 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(10,0,1).hurtbox , collision = pat:get_frame(10,0,1).collision }) pat:update_frame(677,4,2, { tex_index = 351 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(10,0,1).hurtbox , collision = pat:get_frame(10,0,1).collision }) pat:update_frame(677,4,3, { tex_index = 186 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(10,0,2).hurtbox , collision = pat:get_frame(10,0,2).collision }) pat:update_frame(877,0,1,{duration = 4 , tex_w = 0 , attackbox = pat:get_frame(0,0,0).attackbox}) pat:update_frame(877,1,1,{duration = 4 , tex_w = 0 , attackbox = pat:get_frame(0,0,0).attackbox}) pat:update_frame(877,2,1,{duration = 4 , tex_w = 0 , attackbox = pat:get_frame(0,0,0).attackbox}) pat:update_frame(877,3,1,{duration = 4 , tex_w = 0 , attackbox = pat:get_frame(0,0,0).attackbox}) pat:update_frame(877,4,1,{duration = 4 , tex_w = 0 , attackbox = pat:get_frame(0,0,0).attackbox}) pat:update_frame(877,5,1,{duration = 4 , tex_w = 0 , attackbox = pat:get_frame(0,0,0).attackbox}) for idx = 0 , 3 do for idx2 = 0 , 107-40 do pat:split_frame(877,idx,0,1,1) end end for idx = 0 , 3 do for idx2 = 0 , 110-40 do pat:update_frame(877,idx,idx2,function(frame) frame.duration = 1 if (idx2%15 > 12) then frame.tex_index = 523 + 314 + idx2%15 - 13 else frame.tex_index = 523 + 301 + idx2%15 end frame.tex_w = 128 frame.tex_h = 256 frame.tex_offset_x = 64 frame.tex_offset_y = 210 frame.scale_x = 400 frame.scale_y = 400 frame.scale_x = frame.scale_x * 2 frame.scale_y = frame.scale_y * 2 local scalemod = 100/frame.scale_x*1.25 local ymod = -1000 + 50*idx2 local xmod = 200--30*idx2 frame.angle_z = frame.angle_z - 10*idx2 - 90 frame.tex_offset_y = frame.tex_offset_y - (ymod)*scalemod frame.tex_offset_x = frame.tex_offset_x - (xmod)*scalemod frame.hitstop_enemy = 10 frame.blockstop_enemy = 10 frame.attack_level = AL_HEAVY frame.damage = 800 frame.proration = 950 frame.chip_damage = 200 frame.limit = 15 frame.untech = 60 frame.sp_damage = frame.sp_damage * 4 frame.launch_vector_x = 0 frame.launch_vector_y = -2400 frame.hit_ani_air = 88 frame.hit_ani_ground = 88 frame.combo_correction = CC_SMASH_ATTACK if (idx2 == 109-40) then frame.attackbox[1]=null elseif (idx2 == 110-40) then else frame.attackbox[1].x1 = frame.attackbox[1].x1 * 4 - 40 frame.attackbox[1].x2 = frame.attackbox[1].x2 * 4 + 40 frame.attackbox[1].y1 = frame.attackbox[1].y1 * 2 - 80 frame.attackbox[1].y2 = frame.attackbox[1].y2 * 2 + 30 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 (idx2 < 1) then --frame.tex_w = 0 --frame.attackbox = pat:get_frame(0,0,0).attackbox --end if (idx < 3) then frame.tex_w = 0 frame.attackbox = pat:get_frame(0,0,0).attackbox end end) end end pat:update_frame(877,0,0,{duration = 10 , tex_w = 0 , attackbox = pat:get_frame(0,0,0).attackbox }) pat:update_frame(877,1,0,{duration = 10 , tex_w = 0 , attackbox = pat:get_frame(0,0,0).attackbox }) pat:update_frame(877,2,0,{duration = 10 , tex_w = 0 , attackbox = pat:get_frame(0,0,0).attackbox }) pat:update_frame(877,3,0,{duration = 10 , tex_w = 0 , attackbox = pat:get_frame(0,0,0).attackbox }) pat:update_frame(877,4,0,{duration = 2 , tex_w = 0 , attackbox = pat:get_frame(0,0,0).attackbox }) pat:update_frame(877,5,0,{duration = 2 , tex_w = 0 , attackbox = pat:get_frame(0,0,0).attackbox }) pat:update_frame(877,4,1,{duration = 2 , tex_w = 0 , attackbox = pat:get_frame(0,0,0).attackbox }) pat:update_frame(877,5,1,{duration = 2 , tex_w = 0 , attackbox = pat:get_frame(0,0,0).attackbox }) pat:update_frame(877,4,2,{duration = 2 , tex_w = 0 , attackbox = pat:get_frame(0,0,0).attackbox }) pat:update_frame(877,5,2,{duration = 2 , tex_w = 0 , attackbox = pat:get_frame(0,0,0).attackbox }) pat:update_frame(877,6,0,{tex_index = 352 , tex_w = 0}) pat:update_frame(877,7,0,{tex_index = 352 , tex_w = 0}) pat:update_frame(877,8,0,{tex_index = 352 , tex_w = 0}) pat:update_frame(877,9,0,{tex_index = 352 , tex_w = 0}) pat:update_frame(877,10,0,{tex_index = 352 , tex_w = 0}) pat:update_frame(877,11,0,{tex_index = 352 , tex_w = 0}) --[[ pat:update_frame(890,0,0,{tex_w = 0}) pat:update_frame(890,1,0,{tex_w = 0}) pat:update_frame(890,2,0,{tex_w = 0}) pat:update_frame(891,0,0,{tex_w = 0}) pat:update_frame(891,1,0,{tex_w = 0}) pat:update_frame(891,2,0,{tex_w = 0})]]-- end function mods.sc_conflagration(pat) --610 --860 --conflagration sprites local baseX = 79*2 +8 local baseY = 155*2 +4 local baseW = 185 local baseH = 205 pat:update_frame(610,0,0, { tex_index = 14 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(610,0,1, { tex_index = 14 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(610,0,2, { tex_index = 351 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(1,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision }) --pat:update_frame(610,0,0, { tex_index = 14 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(610,0,3, { tex_index = 10 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-8 , hurtbox = pat:get_frame(0,0,0).attackbox , collision = pat:get_frame(0,0,0).collision }) --flash pat:update_frame(610,0,4, { tex_index = 10 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-8 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(610,0,4,function(frame) frame.hurtbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[2].x1 = frame.hurtbox[2].x1 - 40 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 - 40 frame.hurtbox[2].y1 = frame.hurtbox[2].y1 + 40 end) pat:update_frame(610,0,5, { tex_index = 10 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-8 , hurtbox = pat:get_frame(610,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(610,0,6, { tex_index = 11 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-6 , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(610,0,6,function(frame) frame.hurtbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.hurtbox[2].x1 = frame.hurtbox[2].x1 - 45 frame.hurtbox[2].x2 = frame.hurtbox[2].x2 + 45 frame.hurtbox[2].y1 = frame.hurtbox[2].y1 + 15 frame.hurtbox[2].y2 = frame.hurtbox[2].y1 + 45 frame.hurtbox[1].x1 = frame.hurtbox[1].x1 - 5 frame.hurtbox[1].x2 = frame.hurtbox[1].x2 + 5 end) pat:update_frame(610,0,7, { tex_index = 12 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision }) --boom pat:update_frame(610,0,7,function(frame) frame.hurtbox[1].y1 = frame.hurtbox[1].y1 + 60 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 + 20 frame.hurtbox[2].y1 = frame.hurtbox[1].y1 + 35 frame.hurtbox[2].y2 = frame.hurtbox[1].y2 end) pat:update_frame(610,0,8, { tex_index = 12 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(610,0,7).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(610,0,9, { tex_index = 12 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(610,0,7).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(610,0,10, { tex_index = 12 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(610,0,7).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(610,0,11, { tex_index = 12 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(610,0,7).hurtbox , collision = pat:get_frame(2,0,0).collision }) pat:update_frame(610,0,12, { tex_index = 12 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(610,0,7).hurtbox , collision = pat:get_frame(2,0,0).collision }) --pat:update_frame(610,0,13, { tex_index = 13 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(610,0,13, { tex_index = 128 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+44, hurtbox = pat:get_frame(1,0,1).hurtbox , collision = pat:get_frame(1,0,1).collision }) pat:update_frame(610,0,14, { tex_index = 14 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision }) pat:update_frame(860,0,0,{tex_index = 523 + 292 +3}) pat:update_frame(860,0,1,{tex_index = 523 + 292 +4}) pat:update_frame(860,0,2,{tex_index = 523 + 292 +0}) pat:update_frame(860,0,3,{tex_index = 523 + 292 +1}) pat:update_frame(860,0,4,{tex_index = 523 + 292 +2}) pat:update_frame(860,0,5,{tex_index = 523 + 292 +1}) pat:update_frame(860,0,6,{tex_index = 523 + 292 +0}) pat:update_frame(860,0,7,{tex_index = 523 + 292 +4}) pat:update_frame(860,0,8,{tex_index = 523 + 292 +3}) pat:update_frame(860,6,0,{tex_index = 523 + 292 +3}) pat:update_frame(860,6,1,{tex_index = 523 + 292 +4}) pat:update_frame(860,6,2,{tex_index = 523 + 292 +0}) pat:update_frame(860,6,3,{tex_index = 523 + 292 +1}) pat:update_frame(860,6,4,{tex_index = 523 + 292 +2}) pat:update_frame(860,6,5,{tex_index = 523 + 292 +1}) pat:update_frame(860,6,6,{tex_index = 523 + 292 +0}) pat:update_frame(860,6,7,{tex_index = 523 + 292 +4}) pat:update_frame(860,6,8,{tex_index = 523 + 292 +3}) pat:update_frame(860,9,0,{tex_index = 523 + 292 +3}) pat:update_frame(860,9,1,{tex_index = 523 + 292 +4}) pat:update_frame(860,9,2,{tex_index = 523 + 292 +0}) pat:update_frame(860,9,3,{tex_index = 523 + 292 +1}) pat:update_frame(860,9,4,{tex_index = 523 + 292 +2}) pat:update_frame(860,9,5,{tex_index = 523 + 292 +1}) pat:update_frame(860,9,6,{tex_index = 523 + 292 +0}) pat:update_frame(860,9,7,{tex_index = 523 + 292 +4}) pat:update_frame(860,9,8,{tex_index = 523 + 292 +3}) pat:update_frame(860,1,0,{tex_index = 523 + 297}) pat:update_frame(860,2,0,{tex_index = 523 + 298}) pat:update_frame(860,3,0,{tex_index = 523 + 298}) pat:update_frame(860,4,0,{tex_index = 523 + 299}) pat:update_frame(860,5,0,{tex_index = 523 + 300}) pat:update_frame(860,7,0,{tex_index = 523 + 298}) pat:update_frame(860,8,0,{tex_index = 523 + 300}) pat:update_frame(860,10,0,{tex_index = 523 + 300}) pat:update_frame(860,11,0,{tex_index = 523 + 339}) end function mods.sc_theflood(pat) --611 --861 --theflood sprites local baseX = 79*2 +8 local baseY = 155*2 +4 local baseW = 185 local baseH = 205 --[[ pat:update_frame(611,0,0, { tex_index = 366 , tex_w = 66 , tex_h = 95 , tex_offset_x = baseX +(10) , tex_offset_y = baseY +(0) , collision = pat:get_frame(0,0,0).collision , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 2 }) pat:update_frame(611,0,1, { tex_index = 417 , tex_w = 113 , tex_h = 93 , tex_offset_x = baseX +(54) , tex_offset_y = baseY +(-2) , collision = pat:get_frame(0,0,0).collision , hurtbox = pat:get_frame(525,0,1).hurtbox , duration = 1 }) pat:update_frame(611,0,2, { tex_index = 417 , tex_w = 113 , tex_h = 93 , tex_offset_x = baseX +(54) , tex_offset_y = baseY +(-2) , collision = pat:get_frame(0,0,0).collision , hurtbox = pat:get_frame(525,0,1).hurtbox , duration = 2 }) pat:update_frame(611,0,3, { tex_index = 418 , tex_w = 108 , tex_h = 95 , tex_offset_x = baseX +(84) , tex_offset_y = baseY +(0) , collision = pat:get_frame(0,0,0).collision , hurtbox = pat:get_frame(525,0,4).hurtbox , duration = 40 }) pat:update_frame(611,0,4, { tex_index = 418 , tex_w = 108 , tex_h = 95 , tex_offset_x = baseX +(84) , tex_offset_y = baseY +(0) , collision = pat:get_frame(0,0,0).collision , hurtbox = pat:get_frame(525,0,4).hurtbox , duration = 1 }) pat:update_frame(611,0,5, { tex_index = 418 , tex_w = 108 , tex_h = 95 , tex_offset_x = baseX +(84) , tex_offset_y = baseY +(0) , collision = pat:get_frame(0,0,0).collision , hurtbox = pat:get_frame(525,0,4).hurtbox , duration = 2 }) pat:update_frame(611,0,6, { tex_index = 419 , tex_w = 115 , tex_h = 93 , tex_offset_x = baseX +(82) , tex_offset_y = baseY +(-4) , collision = pat:get_frame(0,0,0).collision , hurtbox = pat:get_frame(525,0,5).hurtbox , duration = 3 }) pat:update_frame(611,0,7, { tex_index = 420 , tex_w = 68 , tex_h = 89 , tex_offset_x = baseX +(-46) , tex_offset_y = baseY +(-14) , collision = pat:get_frame(0,0,0).collision , hurtbox = pat:get_frame(525,0,6).hurtbox , duration = 3 }) pat:update_frame(611,0,8, { tex_index = 420 , tex_w = 68 , tex_h = 89 , tex_offset_x = baseX +(-46) , tex_offset_y = baseY +(-14) , collision = pat:get_frame(0,0,0).collision , hurtbox = pat:get_frame(525,0,6).hurtbox , duration = 7 }) pat:update_frame(611,0,9, { tex_index = 420 , tex_w = 68 , tex_h = 89 , tex_offset_x = baseX +(-46) , tex_offset_y = baseY +(-14) , collision = pat:get_frame(0,0,0).collision , hurtbox = pat:get_frame(525,0,6).hurtbox , duration = 7 }) pat:update_frame(611,0,10, { tex_index = 420 , tex_w = 68 , tex_h = 89 , tex_offset_x = baseX +(-46) , tex_offset_y = baseY +(-14) , collision = pat:get_frame(0,0,0).collision , hurtbox = pat:get_frame(525,0,6).hurtbox , duration = 24 }) pat:update_frame(611,0,11, { tex_index = 417 , tex_w = 113 , tex_h = 93 , tex_offset_x = baseX +(54) , tex_offset_y = baseY +(-2) , collision = pat:get_frame(0,0,0).collision , hurtbox = pat:get_frame(525,0,1).hurtbox , duration = 3 }) pat:update_frame(611,0,12, { tex_index = 417 , tex_w = 113 , tex_h = 93 , tex_offset_x = baseX +(54) , tex_offset_y = baseY +(-2) , collision = pat:get_frame(0,0,0).collision , hurtbox = pat:get_frame(525,0,1).hurtbox , duration = 1 }) pat:update_frame(611,0,13, { tex_index = 24 , tex_w = 94 , tex_h = 93 , tex_offset_x = baseX +(54) , tex_offset_y = baseY +(-2) , collision = pat:get_frame(0,0,0).collision , hurtbox = pat:get_frame(525,0,1).hurtbox , duration = 3 }) pat:update_frame(611,0,14, { tex_index = 366 , tex_w = 66 , tex_h = 95 , tex_offset_x = baseX +(10) , tex_offset_y = baseY +(0) , collision = pat:get_frame(0,0,0).collision , hurtbox = pat:get_frame(0,0,0).hurtbox , duration = 2 }) ]]-- pat:update_frame(611,0,0, { tex_index = 14 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) pat:update_frame(611,0,1, { tex_index = 14 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 1 }) pat:update_frame(611,0,2, { tex_index = 351 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(1,0,1).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) pat:update_frame(611,0,3, { tex_index = 10 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-8 , hurtbox = pat:get_frame(0,0,0).attackbox , collision = pat:get_frame(0,0,0).collision , duration = 40 }) --flash pat:update_frame(611,0,4, { tex_index = 10 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-8 , hurtbox = pat:get_frame(610,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 1 }) pat:update_frame(611,0,5, { tex_index = 10 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-8 , hurtbox = pat:get_frame(610,0,4).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) pat:update_frame(611,0,6, { tex_index = 11 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY-6 , hurtbox = pat:get_frame(610,0,6).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 3 }) pat:update_frame(611,0,7, { tex_index = 12 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(610,0,7).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 3 }) --boom pat:update_frame(611,0,8, { tex_index = 12 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(610,0,7).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 7 }) pat:update_frame(611,0,9, { tex_index = 12 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(610,0,7).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 7 }) pat:update_frame(611,0,10, { tex_index = 12 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(610,0,0).hurtbox , collision = pat:get_frame(2,0,0).collision , duration = 24 }) pat:update_frame(611,0,11, { tex_index = 128 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+44, hurtbox = pat:get_frame(1,0,1).hurtbox , collision = pat:get_frame(1,0,1).collision , duration = 3 }) pat:update_frame(611,0,12, { tex_index = 128 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY+44, hurtbox = pat:get_frame(1,0,1).hurtbox , collision = pat:get_frame(1,0,1).collision , duration = 1 }) pat:update_frame(611,0,13, { tex_index = 14 , tex_w = baseW , tex_h = baseH , tex_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(611,0,14, { tex_index = 14 , tex_w = baseW , tex_h = baseH , tex_offset_x = baseX , tex_offset_y = baseY , hurtbox = pat:get_frame(0,0,0).hurtbox , collision = pat:get_frame(0,0,0).collision , duration = 2 }) for idx = 0 , 8 do pat:update_frame(611,0,idx,function(frame) set_fflag(frame,FF_MELEE_INV) set_fflag(frame,FF_GRAZE) set_fflag(frame,FF_BULLET_INV) end) end pat:update_frame(861,0,0,{tex_index = 523 + 292 +3}) pat:update_frame(861,0,1,{tex_index = 523 + 292 +4}) pat:update_frame(861,0,2,{tex_index = 523 + 292 +0}) pat:update_frame(861,0,3,{tex_index = 523 + 292 +1}) pat:update_frame(861,0,4,{tex_index = 523 + 292 +2}) pat:update_frame(861,0,5,{tex_index = 523 + 292 +1}) pat:update_frame(861,0,6,{tex_index = 523 + 292 +0}) pat:update_frame(861,0,7,{tex_index = 523 + 292 +4}) pat:update_frame(861,0,8,{tex_index = 523 + 292 +3}) pat:update_frame(861,6,0,{tex_index = 523 + 292 +3}) pat:update_frame(861,6,1,{tex_index = 523 + 292 +4}) pat:update_frame(861,6,2,{tex_index = 523 + 292 +0}) pat:update_frame(861,6,3,{tex_index = 523 + 292 +1}) pat:update_frame(861,6,4,{tex_index = 523 + 292 +2}) pat:update_frame(861,6,5,{tex_index = 523 + 292 +1}) pat:update_frame(861,6,6,{tex_index = 523 + 292 +0}) pat:update_frame(861,6,7,{tex_index = 523 + 292 +4}) pat:update_frame(861,6,8,{tex_index = 523 + 292 +3}) pat:update_frame(861,9,0,{tex_index = 523 + 292 +3}) pat:update_frame(861,9,1,{tex_index = 523 + 292 +4}) pat:update_frame(861,9,2,{tex_index = 523 + 292 +0}) pat:update_frame(861,9,3,{tex_index = 523 + 292 +1}) pat:update_frame(861,9,4,{tex_index = 523 + 292 +2}) pat:update_frame(861,9,5,{tex_index = 523 + 292 +1}) pat:update_frame(861,9,6,{tex_index = 523 + 292 +0}) pat:update_frame(861,9,7,{tex_index = 523 + 292 +4}) pat:update_frame(861,9,8,{tex_index = 523 + 292 +3}) --ACTIVATE THESE LATER pat:update_frame(861,1,0,{tex_index = 523 + 297}) pat:update_frame(861,2,0,{tex_index = 523 + 349}) pat:update_frame(861,3,0,{tex_index = 523 + 349}) pat:update_frame(861,4,0,{tex_index = 523 + 299}) pat:update_frame(861,5,0,{tex_index = 523 + 300}) pat:update_frame(861,7,0,{tex_index = 523 + 349}) pat:update_frame(861,8,0,{tex_index = 523 + 300}) pat:update_frame(861,10,0,{tex_index = 523 + 300}) pat:update_frame(861,11,0,{tex_index = 523 + 339}) for idx = 1 , 8 do pat:remove_frame(861,0,1) end pat:update_frame(861,0,0,{tex_w = 0 , attackbox = pat:get_frame(0,0,0).attackbox }) pat:get_sequence(861,0):set_looped(false) pat:update_frame(861,1,0,function(frame) frame.attackbox = pat:get_frame(0,0,0).hurtbox frame.attackbox[1].x1 = - 100 frame.attackbox[1].x2 = 60 frame.attackbox[1].y1 = - 30 frame.attackbox[1].y2 = 50 frame.fflags = pat:get_frame(801,1,0).fflags frame.aflags = pat:get_frame(801,1,0).aflags set_aflag(frame,AF_SPELL_ATTACK) set_aflag(frame,AF_UNREFLECTABLE) unset_aflag(frame,AF_COUNTER_HIT) frame.damage = 3200 frame.chip_damage = 800 frame.sp_damage = 200 frame.limit = 100 frame.proration = 700 frame.untech = 120 frame.hitstop_enemy = 10 frame.hitstop_self = 0 frame.blockstop_enemy = 10 frame.blockstop_self = 0 frame.attack_level = AL_HEAVY frame.card_gain_hit = 0 frame.card_gain_block = 0 frame.combo_correction = CC_LIFT_ATTACK frame.hit_ani_air = 71 frame.hit_ani_ground = 71 frame.launch_vector_x = 800 frame.launch_vector_y = 2450 frame.unknown_9 = 100 frame.hit_effect = 4 frame.hit_sfx = 4 frame.duration = 20 --frame.angle_z = -5 frame.scale_y = 400 frame.scale_x = 200 end) for idx = 1 , 9 do pat:split_frame(861,1,0,1,1) end baseY = -20 pat:update_frame(861,1,0, { tex_index = 523 + 329 , tex_w = 81 , tex_h = 118 , tex_offset_x = (39) , tex_offset_y = (107) +baseY , duration = 2 }) pat:update_frame(861,1,1, { tex_index = 523 + 330 , tex_w = 116 , tex_h = 234 , tex_offset_x = (58) , tex_offset_y = (224) +baseY , duration = 2 , attackbox = pat:get_frame(861,1,0).attackbox }) pat:update_frame(861,1,1,function(frame) frame.attackbox[1].y1 = frame.attackbox[1].y1 - 80 frame.attackbox[1].x1 = frame.attackbox[1].x1 - 60 frame.attackbox[1].x2 = frame.attackbox[1].x2 + 60 -30 end) pat:update_frame(861,1,2, { tex_index = 523 + 331 , tex_w = 107 , tex_h = 259 , tex_offset_x = (54) , tex_offset_y = (248) +baseY , duration = 2 , attackbox = pat:get_frame(861,1,1).attackbox }) pat:update_frame(861,1,2,function(frame) frame.attackbox[1].y1 = frame.attackbox[1].y1 - 80 frame.attackbox[1].x1 = frame.attackbox[1].x1 - 40 frame.attackbox[1].x2 = frame.attackbox[1].x2 + 40 -20 end) pat:update_frame(861,1,3, { tex_index = 523 + 332 , tex_w = 159 , tex_h = 301 , tex_offset_x = (80) , tex_offset_y = (291) +baseY , duration = 2 , attackbox = pat:get_frame(861,1,2).attackbox }) pat:update_frame(861,1,3,function(frame) frame.attackbox[1].y1 = frame.attackbox[1].y1 - 80 frame.attackbox[1].x1 = frame.attackbox[1].x1 - 40 +20 frame.attackbox[1].x2 = frame.attackbox[1].x2 + 40 -20 frame.attackbox[2] = pat:get_frame(0,0,0).hurtbox[1] frame.attackbox[2].y2 = frame.attackbox[1].y2 frame.attackbox[2].y1 = frame.attackbox[2].y2 - 240 frame.attackbox[2].x1 = frame.attackbox[1].x1 - 120 +90 frame.attackbox[2].x2 = frame.attackbox[1].x2 + 120 -90 end) pat:update_frame(861,1,4, { tex_index = 523 + 333 , tex_w = 155 , tex_h = 300 , tex_offset_x = (78) , tex_offset_y = (290) +baseY , duration = 2 , attackbox = pat:get_frame(861,1,3).attackbox }) pat:update_frame(861,1,4,function(frame) frame.attackbox[1].y1 = frame.attackbox[1].y1 - 40 frame.attackbox[2].y2 = frame.attackbox[1].y2 frame.attackbox[2].y1 = frame.attackbox[1].y1 + 60 frame.attackbox[2].x1 = frame.attackbox[2].x1 - 40 +20 frame.attackbox[2].x2 = frame.attackbox[2].x2 + 40 -20 end) pat:update_frame(861,1,5, { tex_index = 523 + 334 , tex_w = 143 , tex_h = 286 , tex_offset_x = (72) , tex_offset_y = (276) +baseY , duration = 2 , attackbox = pat:get_frame(0,0,0).attackbox }) pat:update_frame(861,1,6, { tex_index = 523 + 335 , tex_w = 134 , tex_h = 300 , tex_offset_x = (67) , tex_offset_y = (290) +baseY , duration = 2 , attackbox = pat:get_frame(0,0,0).attackbox }) pat:update_frame(861,1,7, { tex_index = 523 + 336 , tex_w = 133 , tex_h = 282 , tex_offset_x = (66) , tex_offset_y = (272) +baseY , duration = 2 , attackbox = pat:get_frame(0,0,0).attackbox }) pat:update_frame(861,1,8, { tex_index = 523 + 337 , tex_w = 101 , tex_h = 214 , tex_offset_x = (51) , tex_offset_y = (273) +baseY , duration = 2 , attackbox = pat:get_frame(0,0,0).attackbox }) pat:update_frame(861,1,9, { tex_index = 523 + 338 , tex_w = 95 , tex_h = 114 , tex_offset_x = (48) , tex_offset_y = (239) +baseY , duration = 2 , attackbox = pat:get_frame(0,0,0).attackbox }) pat:update_frame(861,11,0,{tex_index = 523 + 339}) end function mods.sc_extra(pat) --X 600/850: 2SC RVRS Recollection "Terrible Souvenir" / use int from res butterfly --P 601+651/851: Recollection "Passage to the Underworld" (601) --O 602/852: POISON Recollection "Master Spark" (600) --P 603/853: Recollection "Endless Nap" (603) --X 604/854: 5SC GHOST Recollection "Terrifying Hypnotism" --O 605/855: TICKET Recollection "Spear the Gungnir" (604) -- 606+656/856: 214 SUPER Recollection "Mine Blast" --O 607+657/857: LANCE Recollection "Swimming Oarfish Shot" (610) --O 608/858: SPIN GHOST Recollection "Royal Flare" (603) --O 609/859: 5SC FAN Recollection "Vague Recollection of Kinkaku'ji" (603) -- 610/860: Recollection "Superdense Conflagration" (607) -- 611/861: Recollection "The Flood" (607) -- 612/862: "Subterranean Garden" (525) -- 613/863: Brain Sign "Brain Fingerprint" (606) -- 614/864: Recollection "Burnt Asteroid" (600) -- 615/865: Recollection "C. Ricochet" (610) -- 616/666/866: Recollection "Nest of Fireflies" (606/656) -- 617/867: Recollection "Gravity Beat" (609) -- 618/868: Recollection "Demon Binding Array" (604) --O 619/869: RES Recollection "9 Character Pierce" (610) --O 620+670/870: Recollection "Lunatic Red Eyes" (605) --O 621+671/871: Recollection "Apollo Hoax Theory" (602) --O 622/872: Recollection "Evil Zone" (609) --O 623/873: Recollection "Nuclear Visor" (613) --O 624/874: Recollection "Thundercloud Stickleback" (609) --O 625/875: Recollection "Objective Border" (605) -- 626+676/876: Recollection "Fantasy Orb" (600) -- 627+677/877: Recollection "Autumn Fall" (600) -- 628/878: Recollection "Broken Doll" (604) -- 629/879: Recollection "Flower Spark" (613) --[[ most pushads gets ruined if you use esp stuff inside it... please fix. sign: it crashes if you breakpoint or maybe not. It seems we are not allowed to break point with a pushad and end before a popad current problems: clown d22 clown a22 clown a22 sc ]]-- end return function(pat) mods.fix_frames(pat) mods.n5a(pat) mods.n5aa(pat) mods.nf5a(pat) mods.n2a(pat) mods.n6a(pat) mods.n3a(pat) mods.n5aaa(pat) mods.nj5a(pat) mods.nj6a(pat) mods.nj2a(pat) mods.nj8a(pat) mods.n66a(pat) mods.n66b(pat) mods.n66c(pat) mods.b5b(pat) mods.b6b(pat) mods.b2b(pat) mods.b5c(pat) mods.b6c(pat) mods.b2c(pat) mods.d236(pat) mods.a236_lance_tree(pat) mods.d214(pat) mods.d421(pat) mods.d623(pat) mods.a236_wisp_trap(pat) mods.a214_bloom_dodge(pat) mods.a214_lasers_mirror(pat) mods.a421_grab_grab(pat) mods.a421_wisp_field(pat) mods.a623_spin_react(pat) mods.systems(pat) mods.sc_extra(pat) mods.sc_garden(pat) mods.sc_fingerprint(pat) mods.sc_ghosts(pat) mods.sc_visor(pat) mods.sc_flowerspark(pat) mods.sc_fantasyorb(pat) mods.sc_autumnfall(pat) mods.sc_evilzone(pat) mods.sc_masterspark(pat) mods.sc_thorns(pat) mods.sc_borders(pat) mods.sc_gungnir(pat) mods.sc_brokendoll(pat) mods.sc_conflagration(pat) mods.sc_lre(pat) mods.sc_apollo(pat) mods.sc_oarfishshot(pat) mods.sc_royalflare(pat) mods.sc_ceiling(pat) mods.sc_9chars(pat) mods.sc_butterflies(pat) mods.sc_mines(pat) mods.sc_theflood(pat) mods.sc_hypnosis(pat) mods.sc_souvenir(pat) end