i think that is the "AirEnemyDetected=1" value
if you put this to 0 the game will stop or pause when a airplane is detected. But it depends if the weather is cloudy, sunny , foggy...
if the clouds are dense, a plane can jump over the sub without time to dive