Versuchs mal ihne doppelte If.

if ad_wandler > mittel AND ad_wandler <= dunkel then goto dunkel

Grüße Wolfgang