Here is my code:
PROGRAM ship_shoot;
GLOBAL
sprites;
shotflag;
score=0;
lives=3;
seedfire=0;
enfireflag=0;
PRIVATE
Begin
graph_mode=mode_16bits;
set_mode(m640x480);
sprites=load_fpg("new.fpg");
write_int(0,10,25,0,offset score);
write_int(0,10,35,0,offset enfireflag)...