Um, I played a game that had the same soundtrack powers, music and everything. the only difference was the character. it was called another gentleman's adventure i think.
It was a special reskin that I made for coolmath games website. I was accused for pirating my own game once because of this lol. There is even a notification in the "Another Gentleman Adventure" description on coolmath that states that it's just a reskin of original 1985 game. Yet even after all these years people keep asking this questions xD
Yeah, that's the funny story. Guys from Cool Math Games worried that my non-commercial fan-game could provoke a copyright claim from Nintendo (you never can be too cautious I guess). That's why they asked me to change the main character's sprite and the name (because it didn't make sense without Mario reference) before publishing this game on their website. They mentioned that it's a reskin of 1985 in the description on their website but people rarely read those. Should've put the disclaimer inside the reskinned version itself xD
PS: the funniest part were the people who accused me for stealing Another Gentleman's Adventure. Yet they somehow didn't notice all the other Mario references that left in the game like mushroom that makes you big, green pipes, enemy design, etc. Usually I pointed out that to end any pointless arguing about which game was the original.