Class for passage type recognition
Fixes in move and state for middle pass