Edge of Sanity - The Spectral Sorrows, 1993 (melody starts at 0:26 and goes until 1:45) Super Mario Land, Game Boy, 1989 (melody starts at 1:15) lol
There's definitely similarities, but as for if they intended this or were directly influenced by the game, you'd have to ask the musicians themselves. Accidental similarities in music are totally possible, especially if we're talking about a mono soundtrack
I love Edge of Sanity and that has always been one of my favorite melodies from the band. The Nintendo song is only a little bit different. Just post on the Dan Swano form and ask him.