Ash is exclusive to the anime, but was ported over to the games later on as a minor character we hear from but don’t see (His Greinja, Charizard, and Pikachu are event pokemon)
The character in the game is called Red
The sprite is Blue (the character Gary is based on)