why does clover from undertale yellow get 100 HP from hitting lv 20 but frisk from undertale gets 99 HP from lv 20

The reason for this difference in HP gain at level 20 between Clover and Frisk in Undertale may be due to balancing and storytelling reasons by the game developers.

In Undertale, each character's stats and abilities are carefully designed to fit their role in the story and gameplay. Clover is a Bonus Boss character in Undertale Yellow, and gaining 100 HP at level 20 may be intended to make them a formidable opponent for the player to face. On the other hand, Frisk is the main protagonist of Undertale, and their stats and abilities are balanced differently to provide a different gameplay experience.

Ultimately, the specific reasons for the different HP gains at level 20 for Clover and Frisk may vary depending on the design choices made by the developers of the respective games.