anchor.diff:  
   class SnoConeVendingMachine extends Vendor {
   	int openCount = 0;
  +
  +	// Should always be facingRight to prevent seeing SNO becoming ONS,
  +	// so this is used for walking direction tracking.
  +	bool facingRightInSpirit;
   
   	SnoConeVendingMachine(String id, String streetName, String tsid, num x, num y) : super(id, streetName, tsid, x, y) {
   		type = 'Sno Cone Vending Machine';
  
positive.code: 			int roll = rand.nextInt(5);
  			switch (roll) {
  				case 0:
  				// try to attract buyers
  					setState('attract');
  					break;
  
  				case 1:
  					if(!facingRight) {
  						setState('walk_left', repeat: rand.nextInt(5));
  					} else {
  						setState('walk_right', repeat: rand.nextInt(5));
  					}
  					break;
  
  				case 2:
  				case 3:
  				case 4:
  				// do nothing
  					setState('idle_stand');
  					break;
  			}
  
negative.code: 		if (currentState.stateName == "walk_left" || currentState.stateName == "walk_right") {
  			moveXY(wallAction: (Wall wall) {
  				setState('walk_end');
  				facingRightInSpirit = !facingRightInSpirit;
  			});
  		}
  
  