This is a pack of 2 sprites, the Splitting Giant Goomba and Splitting Mega Goomba that are loosely inspired by the sprites of the same name in NSMB Wii as well as the Marchin' Milde boss in Yoshi's Island. The Mega Goomba must be spin jumped a configurable number of hits to split into 2 Giant Goomba, which can be hit normally to turn into 2 regular sized Goombas. Look at the README for further instructions
Being one of dahnamics' (ancient) sprites, this sprite surely has got its weirdnesses. For example, when it generates both Goombas, it calls SPAWN_HAMMER (the hammer brother had been taken as a base for any questions) and then SPAWN_HAMMER2, an exact copy of SPAWN_HAMMER but with swapped speed values.
Changes I made:
a rewritten spawn sprite routine
a semi-rewritten graphics routine
added vulnerability to spin jumps (either hurts goomba or kills them outright) and invulnerabillity to regular jumps (either hurts goomba or don't work on in)
play a sound effect when hurting the goomba (when desired)
some optimisations here, some optimisations there
By the way, both Goombas are seperate sprites despite being so similar (only differences are the clipping [keep in mind that the mega version handles the clipping a bit differently] and the graphics routine) and I could have merged them into one ASM file but didn't because... reasons.
The clipping also isn't really perfect too.
Maybe someone will merge both sprites and possibly add proper clipping values (with the clipping patch, mind you) too. For now, it's enough.
This sprite works best with a level ender sprite or some kind of bonus when all sprites have been killed on screen.
Also shout outs to Blind Devil for making the graphics!