Egg cycle/Generation III and IV

Every time an Egg cycle is completed, the game goes through the Eggs in the player's party in order and performs the following: As a consequence of this logic, in order to hatch a given Egg, the player must walk one more Egg cycle than the Egg's base Egg cycle value. As an example, a new Egg has an Egg cycle value of 5, but the player must walk 6 Egg cycles in order to hatch it. By the same token, if a Pokémon with or  is in the party, instead of an Egg taking   (rounded up) Egg cycles to hatch,   (rounded up) Egg cycles must be walked.
 * If the Egg's Egg cycle count is 0, the Egg hatches and no other Eggs are processed.
 * Otherwise, subtract 1 from the Egg's cycle count.
 * In or Generation IV games, if a Pokémon with  or  is in the party, subtract 2 instead of 1 (but to no less than 0).

When an Egg is received from the Day Care Man, the counter for the current number of steps taken in the current Egg cycle is set to 1 in Generation III or to 0 in Generation IV.