HOPKINS: Renamed some local variables used for BobItem initialization
HOPKINS: Converted iRegul to an EventMode enumeration