I'm pretty sure Generation 4 games don't really record moves that Pokemon forget, and the move reminder only looks at the Pokemon's level up learnset. I'm much less sure about what happens when a Pokemon first transfers to Generation 7 and then forgets the move.