private void DropOnStep()
{
if (!_DoodlJumper.Lose)
{
foreach (Step step in _steps[(DoodleJumper.Top + (-1) * this.AutoScrollPosition.Y + ApplicationSettings.DoodleHight) / ApplicationSettings.StepsCount])
{
if (((DoodleJumper.Top + (-1) * this.AutoScrollPosition.Y + ApplicationSettings.DoodleHight) == step.y)
&& (DoodleJumper.Location.X < step.x2) && (DoodleJumper.Location.X + ApplicationSettings.DoodleLength > step.x1))
{
_DoodlJumper.FlyPhase = true;
}
if (((DoodleJumper.Top + (-1) * this.AutoScrollPosition.Y + ApplicationSettings.DoodleHight+1) == step.y)
&& (DoodleJumper.Location.X < step.x2) && (DoodleJumper.Location.X + ApplicationSettings.DoodleLength > step.x1)
&& (_DoodlJumper.FlyPhase == false))
{
step.label.Visible = false;
}
}
}
}