Para ésto sería mejor hacerlo con variables, sería mucho más sencillo y no gastarías flags, pero cómo lo pides con flags, te lo hago con flags:
#dynamic 0x800000
#org @inicio
checkflag 0x807
if 0x1 goto @end
msgbox @text 0x6
applymovement 0xFF @mov1
waitmovement 0xFF
end
#org @text
= Primero...