ECOUNTER
c[ECOUNTER] = 96; /* start regeneration correctly */
if (d[ECOUNTER]-- <= 0) {
d[ECOUNTER] = 100 + 4 * (d[HARDGAME] - d[LEVEL] - d[ENERGY]);