En passant happens when the white pawn uses its first-move option to move forward two squares instead of one , and passes over a square that is occupied by an enemy ( black ) pawn . This arises when a pawn uses its initial-move option to advance two squares instead of one , and in so doing passes over a square that is attacked by an enemy pawn .