.hitTimer EQUB &26 \ Zeroed in ResetVariablesName: hitTimer [Show more] Type: Variable Category: The Theme Summary: The time since we hit an alien, so we can time its explosion Deep dive: Explosions and turbulenceContext: See this variable in context in the source code References: This variable is used as follows: * AlienInAcornsville uses hitTimer * ApplyFlightModel (Part 3 of 7) uses hitTimer * CheckAlienWeakSpot uses hitTimer * CheckIfAlienIsHit (Part 2 of 2) uses hitTimer * ExplodeAlien uses hitTimer * FireGuns uses hitTimer * MainLoop (Part 6 of 15) uses hitTimer * ResetVariables uses hitTimer
The hit timer starts at 27 when we make a hit. While it is non-zero, the gun can't be fired and any attacking aliens stop moving until the timer runs down. This is called EPLO in the original source.