Original: the main character, Hareta, gained a Riolu egg which hatched into a Riolu later on in that chapter and then evolved into Lucario.
Simplified: the main character, Hareta, gained a Riolu egg which hatched into a Riolu later on in that chapter and then evolved in to Lucario.