You can use compare, setvar, addvar, subvar,.. instead of checkflag.
example: using 0x5016 var instead of flag 0x200
setflag 0x200 = setvar 0x5016 0x1
checkflag 0x200 = compare 0x5016 0x1 (if 0x1 goto @....., etc... it works the same)
(checkflags doesn't work for me, too :) )