EAST
case EAST:
case EAST:
case EAST:
case EAST:
case EAST:
direction = EAST;
direction = EAST;
case EAST:
direction = EAST;
case EAST:
case '>': facing = EAST; break;
case EAST:
if (been_there[row][col + 1] & EAST)
been_there[r][col] |= EAST;
case EAST: col++; break;
case EAST:
else if (dir == EAST
stat |= EAST;
case WEST | EAST:
case EAST:
if (dirmask & EAST) {
dir = EAST;
mask |= EAST, count++;
if (mask & EAST)
mask &= ~EAST, count--;
if (n >= 0 && mask & EAST)
dir = EAST, n--;
case EAST:
dirmask |= EAST, count++;
dirmask |= EAST, count++;
dirmask |= EAST, count++;
dirmask |= EAST, count++;
else if (dirmask & EAST)
dirmask &= ~EAST;
if (!(EAST(dir) || WEST(dir)))
if ((dx > 0 && !EAST(dir)) || (dx < 0 && !WEST(dir)))