[@Main]
{
#IF
CHECKMAP 0157A
#ACT
GOTO @AZTMOVE
#ELSEACT
GOTO @AZT1

[@AZT1]
#IF
CHECKMAP D501A
#ACT
GOTO @AZTMOVE
#ELSEACT
GOTO @AZT2

[@AZT2]
#IF
CHECKMAP D502A
#ACT
GOTO @AZTMOVE
#ELSEACT
GOTO @AZT3

[@AZT3]
#IF
CHECKMAP D503A
#ACT
GOTO @AZTMOVE

[@AZTMOVE]
#ACT
MOVE D502
}