Because you have a typo in your code, probably from copying and pasting existing code. You have:
when it should be:
It's a common mistake. :)
Global bat2.bat=New bat bat2\frame=0 bat2\x=40 bat2\y=60 bat2\gfx=gfx_bat bat2\lft =0 bat2\up =0 bat2\alive=1 bat1\id =2 bat1\xmax =40 bat1\ymax =220 bat1\xmin =40 bat1\ymin=60
when it should be:
Global bat2.bat=New bat bat2\frame=0 bat2\x=40 bat2\y=60 bat2\gfx=gfx_bat bat2\lft =0 bat2\up =0 bat2\alive=1 bat2\id =2 bat2\xmax =40 bat2\ymax =220 bat2\xmin =40 bat2\ymin=60
It's a common mistake. :)