c $BBB0 waits for a key and sets SEED based on how long the routine runs for while a key is *NOT* pressed C $BBB0 preserve HL, DE, BC C $BBB3 jump to $BBC8 if current player is not human (i.e. quit routine) C $BBB9 preserve BC C $BBBA call KEY-SCAN in ROM C $BBBD restore BC C $BBBE increment counter (used to set SEED later) C $BBBF loop back to $BBB9 if no key was pressed C $BBC4 set SEED to the value of the counter C $BBC8 restore BC, DE, HL C $BBCB return