This is a stompable Goomba/Paragoomba that behaves like in SMB3. Extra bit determines if it'll be a regular Goomba or a Bouncing Paragoomba. Includes a define in the ASM file which allows you to use a separate palette for both variations or not.
(Rykon-V73): Made the tilemap easier and added the option to either hurt or kill Mario and the exploding option. You should the 2nd sprite for explosion and added a GFX for the 2nd version with explosion GFX. The 2 versions are converted to .json.
As per rule 2, rejected because it's a simple edit. Your defines for graphics add nothing (you could have added a description to the existing ones instead) and the explosion and hurt routine defines don't add much to the Goomba either to warrant an update.
There also is the fact that the explosion code isn't compatible with SA-1, not to mention you store to $1540 twice, the second time with half the duration of the explosion.