Syntax Error on line 2

Unknown error concerning the definition of subroutine postauto1.

Edit the Settings File for Monsters' Holiday5

For the sake of debugging, here is the full GAME Code program that this error occurred in. The lines have been properly indented to help you spot scope errors.

   0 alias M _MLV_AD m _MLV_ad
   1 alias W _DT_WU w _DT_wu
   2 sub postauto1
   3   if equal moved HYDHYD
   4     add _CBJ_NL1 dest
   5   endif
   6   if equal moved _CBJ_NL1
   7     add _JG_2N dest
   8   endif
   9   if equal moved _JG_2N
  10     add .JJZZ dest
  11   endif
  12   if equal moved .JJZZ
  13     add .NNTT dest
  14   endif
  15   if equal moved .NNTT
  16     add _JG_SDNN dest
  17   endif
  18   if equal moved _JG_SDNN
  19     add HYDHYD dest
  20   endif
  21   if equal moved hydhyd
  22     add _cbj_nl1 dest
  23   endif
  24   if equal moved _cbj_nl1
  25     add _jg_2n dest
  26   endif
  27   if equal moved _jg_2n
  28     add .jjzz dest
  29   endif
  30   if equal moved .jjzz
  31     add .nntt dest
  32   endif
  33   if equal moved .nntt
  34     add _jg_sdnn dest
  35   endif
  36   if equal moved _jg_sdnn
  37     add hydhyd dest
  38   endif
  39   if equal moved r
  40     add B_lb dest
  41   endif
  42   if equal moved B_lb
  43     add nn dest
  44   endif
  45   if equal moved nn
  46     add .bw dest
  47   endif
  48   if equal moved .bw
  49     add r dest
  50   endif
  51   if equal moved R
  52     add B_y dest
  53   endif
  54   if equal moved B_y
  55     add NN dest
  56   endif
  57   if equal moved NN
  58     add .BW dest
  59   endif
  60   if equal moved .BW
  61     add R dest
  62   endif
  63   if equal moved app
  64     add x dest
  65   endif
  66   if equal moved x
  67     add _MW_sp dest
  68     if equal moved _MW_sp
  69       add cp dest
  70       if equal moved cp
  71         add app dest
  72       endif
  73       if equal moved APP
  74         add X dest
  75       endif
  76       if equal moved X
  77         add _MW_SP dest
  78         if equal moved _MW_SP
  79           add CP dest
  80           if equal moved CP
  81             add APP dest
  82           endif
  83           if equal moved n1
  84             add b dest
  85           endif
  86           if equal moved b
  87             add gu dest
  88           endif
  89           if equal moved gu
  90             add .ew dest
  91           endif
  92           if equal moved .ew
  93             add n1 dest
  94           endif
  95           if equal moved N1
  96             add B dest
  97           endif
  98           if equal moved B
  99             add GU dest
 100           endif
 101           if equal moved GU
 102             add .EW dest
 103           endif
 104           if equal moved .EW
 105             add N1 dest
 106           endif
 107           if equal moved _DT_wu
 108             add k dest
 109           endif
 110           if equal moved k
 111             add q dest
 112             if equal moved q
 113             endif
 114             add _MLV_ad dest
 115             if equal moved _MLV_ad
 116               add _DT_wu dest
 117             endif
 118             if equal moved _DT_WU
 119               add K dest
 120             endif
 121             if equal moved K
 122               add Q dest
 123               if equal moved Q
 124                 add _MLV_AD dest
 125                 if equal moved _MLV_AD
 126                   add _DT_WU dest
 127                 endif
 128                 if equal moved Q_r
 129                   add GU_r dest
 130                 endif
 131                 if equal moved GU_r
 132                   add _JG_HEB_ dest
 133                 endif
 134                 if equal moved _JG_HEB_
 135                   add L_r dest
 136                 endif
 137                 if equal moved L_r
 138                   add Q_r dest
 139                 endif
 140                 if equal moved Q_g
 141                   add GU_g dest
 142                 endif
 143                 if equal moved GU_g
 144                   add _JG_heb_ dest
 145                 endif
 146                 if equal moved _JG_heb_
 147                   add L_g dest
 148                 endif
 149                 if equal moved L_g
 150                   add Q_g dest
 151                 endif
 152                 if equal moved sp
 153                   add sn dest
 154                 endif
 155                 if equal moved sn
 156                   add kr dest
 157                 endif
 158                 if equal moved kr
 159                   add mo dest
 160                 endif
 161                 if equal moved mo
 162                   add sp dest
 163                 endif
 164                 if equal moved SP
 165                   add SN dest
 166                 endif
 167                 if equal moved SN
 168                   add KR dest
 169                 endif
 170                 if equal moved KR
 171                   add MO dest
 172                 endif
 173                 if equal moved Mo
 174                   add SP dest
 175                 endif
 176                 if equal moved BT
 177                   add _JG_AP2GU dest
 178                 endif
 179                 if equal moved _JG_AP2GU
add SPF dest
 180                 endif
 181                 if equal moved SPF
 182                   add LAE dest
 183                   if equal moved LAE
 184                     add BT dest
 185                   endif
 186                   if equal moved bt
 187                     add _jg_apbf dest
 188                   endif
 189                   if equal moved _jg_apbf
 190                     add spf dest
 191                     if equal moved spf
 192                       add lae dest
 193                     endif
 194                     if equal moved lae
 195                       add bt dest
 196                     endif
 197                     if equal moved _JG_sp
 198                       add r270 dest
 199                     endif
 200                     if equal add r270 dest
 201                       add LAD dest
 202                     endif
 203                     if equal add LAD dest
 204                       add SPW dest
 205                     endif
 206                     if equal add SPW dest
 207                       add _JG_sp dest
 208                     endif
 209                     if equal moved _JG_SP
 210                       add R270 dest
 211                     endif
 212                     if equal moved R270
 213                       add LAD dest
 214                     endif
 215                     if equal add LAD dest
 216                       add SPW dest
 217                     endif
 218                     if equal add SPW dest
 219                       add _JG_SP dest
 220                     endif
 221                     if equal moved !ffc
 222                       add .!chr dest
 223                     endif
 224                     if equal moved .!chr
 225                       add _jj_zg dest
 226                     endif
 227                     if equal moved _jj_zg
 228                       add _jj_sg dest
 229                     endif
 230                     if equal moved _jj_sg
 231                       add !ffc dest
 232                     endif
 233                     if equal moved !FFC
 234                       add .!CHR dest
 235                     endif
 236                     if equal moved .!chr
 237                       add _JJ_ZG dest
 238                     endif
 239                     if equal moved _JJ_SG
 240                       add _JJ_SG dest
 241                     endif
 242                     if equal moved _jj_SG
 243                       add !FFC dest
 244                     endif
 245                   endsub
 246                   end
 247                   

functions

uservar

Array ( [0] => Array ( [main] => Array ( ) ) )

mline

Array ( [0] => MoveLine Object ( [movenum] => 0 [move] => [level] => 0 [comment] => [length] => 0 [newturn] => [turn] => 0 ) )

allmoves

Array ( )

movelist

constants

Array