Ash was given a rival , Shigeru . In both the games and anime , the character was given a rival , in the latter this rival was named Gary ( named Shigeru in the Japanese version , after Tajiri 's idol\/mentor , Nintendo legend Shigeru Miyamoto ) .