So I have a new problem when I click on federation on the alliance menu it looks like it just runs that loop again instead of going to the page that its supposed to.. I copied and pasted the code from a button that does work and it still doesn't work.. what am I missing with the federation code?
Alliance:
paste image 4,0,0
play sound 3
set text font "lcars"
set text size 28
ink rgb(255,180,0), rgb(0,0,0)
center text 458,35,"Federation" ; wait 100
center text 458,68,"Bjoran" ; wait 100
center text 458,100,"Borg" ; wait 100
center text 458,130,"Cardassian" ; wait 100
center text 458,163,"Dominion" ; wait 100
center text 458,198,"Ferengi" ; wait 100
center text 586,35,"Klingon" ; wait 100
center text 586,68,"Maquis" ; wait 100
center text 586,100,"Romulan" ; wait 100
center text 712,35,"Back" ; wait 100
Do
Mx=MouseX(): My=MouseY(): Mc=MouseClick()
Rem Borg Button
If Mx > 398 and My > 92 And Mx < 500 And My < 120
paste image 13,12,31
if mc=1 then play sound 3
endif
Rem Bjoran Button
If Mx > 398 and My > 66 And Mx < 500 And My < 88
paste image 12,12,31
if mc=1 then play sound 3
endif
Rem Federation Button
If Mx > 398 and My > 36 And Mx < 500 And My < 60
paste image 17,12,31
if mc=1 then gosub Federation
endif
Rem Cardassian Button
If Mx > 398 and My > 129 And Mx < 500 And My < 152
paste image 14,12,31
if mc=1 then play sound 3
endif
Rem Dominion Button
If Mx > 398 and My > 162 And Mx < 500 And My < 183
paste image 15,12,31
if mc=1 then play sound 3
endif
Rem Ferengi Button
If Mx > 398 and My > 192 And Mx < 500 And My < 218
paste image 16,12,31
if mc=1 then play sound 3
endif
Rem Klingon Button
If Mx > 566 and My > 38 And Mx < 646 And My < 60
paste image 18,12,31
if mc=1 then play sound 3
endif
Rem Maquis Button
If Mx > 566 and My > 69 And Mx < 646 And My < 88
paste image 19,12,31
if mc=1 then play sound 3
endif
Rem Romulan Button
If Mx > 566 and My > 103 And Mx < 646 And My < 120
paste image 11,12,31
if mc=1 then play sound 3
endif
Rem Back Button
If Mx > 692 and My > 38 And Mx < 750 And My < 60
if mc=1 then gosub main_menu
endif
Loop
Like i said the button to main_menu works I can click it all day long and bounce back and forth from the alliance page to the menu no problem.. the resolution to this problem is annoying me...
Gaming is not just entertainment,
Gaming is a lifestyle!!