Originally released as a pair of interlinkable Game Boy role-playing video games developed by Game Freak , Pokémon has since become the second-most successful and lucrative video game-based media franchise in the world, behind only Nintendo's own Mario franchise .