Thats what I've been trying to do, I've got them as two seperate functions, but it skips the Opening Credits and Goes straight to the menu.
This might Help. (Its a bit long, but easy to read)
Main Source File
REM Created: 11/07/2007 3:38:14 PM
REM
REM ***** Main Source File *****
REM Setting Sync Options
SYNC ON
SYNC RATE 0
SET WINDOW ON
SET WINDOW SIZE 320, 240
DO
OpeningTitles() 'Function
MainMenu() 'Function
SYNC
LOOP
Opening Credits Source File
FUNCTION OpeningTitles()
'Loading the Image Files
LOAD IMAGE "Picture/[Intro][01].png", 1
LOAD IMAGE "Picture/[Intro][02].png", 2
LOAD IMAGE "Picture/[Intro][03].png", 3
LOAD IMAGE "Picture/[Intro][04].png", 4
LOAD IMAGE "Picture/[Intro][05].png", 5
LOAD IMAGE "Picture/[Intro][06].png", 6
'======================================
'Define Variables
ImageNo# = 1
'======================================
DO
'First Sequence
IF ImageNo# = 1
SPRITE 1, 0, 0, 1
FOR Alpha = 0 TO 255 STEP 0.005
SET SPRITE ALPHA 1, Alpha
NEXT Alpha
FOR Pause = 1 TO 1000 STEP 0.05
NEXT Pause
FOR AlphaOut = 255 TO 0 STEP 0.005
SET SPRITE ALPHA 1, AlphaOut
NEXT AlphaOut
ImageNo# = 2
ENDIF
'Second Sequence
IF ImageNo# = 2
SPRITE 1, 0, 0, 2
FOR Alpha = 0 TO 255 STEP 0.005
SET SPRITE ALPHA 2, Alpha
NEXT Alpha
FOR Pause = 0 TO 1000 STEP 0.05
NEXT Pause
FOR AlphaOut = 255 TO 0 STEP 0.005
SET SPRITE ALPHA 2, AlphaOut
NEXT AlphaOut
ImageNo# = 3
ENDIF
'Third Sequence
IF ImageNo# = 3
SPRITE 1, 0, 0, 3
FOR Alpha = 0 TO 255 STEP 0.005
SET SPRITE ALPHA 3, Alpha
NEXT Alpha
FOR Pause = 1 TO 1000 STEP 0.05
NEXT Pause
FOR AlphaOut = 255 TO 0 STEP 0.005
SET SPRITE ALPHA 3, AlphaOut
NEXT AlphaOut
ImageNo# = 4
ENDIF
'Fourth Sequence
IF ImageNo# = 4
SPRITE 1, 0, 0, 4
FOR Alpha = 0 TO 255 STEP 0.005
SET SPRITE ALPHA 4, Alpha
NEXT Alpha
FOR Pause = 1 TO 1000 STEP 0.05
NEXT Pause
FOR AlphaOut = 255 TO 0 STEP 0.005
SET SPRITE ALPHA 4, AlphaOut
NEXT AlphaOut
ImageNo# = 5
ENDIF
'Fifth Sequence
IF ImageNo# = 5
SPRITE 1, 0, 0, 5
FOR Alpha = 0 TO 255 STEP 0.005
SET SPRITE ALPHA 5, Alpha
NEXT Alpha
FOR Pause = 1 TO 1000 STEP 0.05
NEXT Pause
FOR AlphaOut = 255 TO 0 STEP 0.005
SET SPRITE ALPHA 5, AlphaOut
NEXT AlphaOut
ImageNo# = 6
ENDIF
'Sixth Sequence
IF ImageNo# = 6
SPRITE 1, 0, 0, 6
FOR Alpha = 0 TO 255 STEP 0.005
SET SPRITE ALPHA 6, Alpha
NEXT Alpha
FOR Pause = 1 TO 1000 STEP 0.05
NEXT Pause
FOR AlphaOut = 255 TO 0 STEP 0.005
SET SPRITE ALPHA 6, AlphaOut
NEXT AlphaOut
ENDIF
FOR Del = 1 TO 6
DELETE IMAGE Del
NEXT Del
SYNC
LOOP
ENDFUNCTION
Source Code for Menu
FUNCTION MainMenu()
'Loading Images
SET IMAGE COLORKEY 000, 132, 132
LOAD IMAGE "Title/Title.png", 1
LOAD IMAGE "Title/Title Text Box.png", 2
LOAD IMAGE "Picture/[Title][Start][N].bmp", 3, 1
LOAD IMAGE "Picture/[Title][Start][H].bmp", 4, 1
LOAD IMAGE "Picture/[Title][Options][N].bmp", 5, 1
LOAD IMAGE "Picture/[Title][Options][H].bmp", 6, 1
LOAD IMAGE "Picture/[Title][Single][N].bmp", 7, 1
LOAD IMAGE "Picture/[Title][Single][H].bmp", 8, 1
LOAD IMAGE "Picture/[Title][Online][N].bmp", 9, 1
LOAD IMAGE "Picture/[Title][Online][H].bmp", 10, 1
CREATE ANIMATED SPRITE 5, "Sprite/[Arrow].bmp", 2, 1, 11
'===================================
'Defining Variables
CursorPosX# = 129 : CursorPosY# = 192 : CursorPos# = 1
Menu# = 1
'===================================
'Creating sprites
SPRITE 1, 000, 000, 1
SPRITE 2, 120, 184, 2 : SET SPRITE ALPHA 2, 128
SPRITE 5, CursorPosX#, CursorPosY#, 11 : SET SPRITE PRIORITY 5, 1
'===================================
DO
PLAY SPRITE 5, 1, 2, 200
'Setting Menu
IF Menu# = 1
IF CursorPos# = 1 THEN SPRITE 3, 144, 193, 4 : SPRITE 4, 140, 207, 5
'Cursor Controls
Arrowkey = SCANCODE()
IF Arrowkey = 208
CursorPosX# = 125 : CursorPosY# = 206
'Play SFX
SPRITE 3, 144, 193, 3
SPRITE 4, 140, 207, 6
SPRITE 5, CursorPosX#, CursorPosY#, 11
CursorPos# = 2
ENDIF
IF Arrowkey = 200
CursorPosX# = 129 : CursorPosY# = 192
'Play SFX
SPRITE 3, 144, 193, 4
SPRITE 4, 140, 207, 5
SPRITE 5, CursorPosX#, CursorPosY#, 11
CursorPos# = 1
ENDIF
IF SCANCODE() = 44 OR SCANCODE() = 28
'Play SFX
IF CursorPos# = 1
Menu# = 2
CursorPosX# = 114 : CursorPosY# = 192
SPRITE 5, CursorPosX#, CursorPosY#, 11
ENDIF
IF CursorPos# = 2
ENDIF
ENDIF
'===================================
ENDIF
IF Menu# = 2
IF CursorPos# = 1 THEN SPRITE 3, 129, 193, 8 : SPRITE 4, 145, 207, 9
'Cursor Controls
Arrowkey = SCANCODE()
IF Arrowkey = 208
CursorPosX# = 130 : CursorPosY# = 206
'Play SFX
SPRITE 3, 129, 193, 7
SPRITE 4, 145, 207, 10
SPRITE 5, CursorPosX#, CursorPosY#, 11
CursorPos# = 2
ENDIF
IF Arrowkey = 200
CursorPosX# = 114 : CursorPosY# = 192
'Play SFX
SPRITE 3, 129, 193, 8
SPRITE 4, 145, 207, 9
SPRITE 5, CursorPosX#, CursorPosY#, 11
CursorPos# = 1
ENDIF
IF SCANCODE() = 44 OR SCANCODE() = 28
'Play SFX
IF CursorPos# = 1
ENDIF
IF CursorPos# = 2
ENDIF
ENDIF
IF SCANCODE() = 45
Menu# = 1
CursorPosX# = 129 : CursorPosY# = 192
SPRITE 5, CursorPosX#, CursorPosY#, 11
ENDIF
'===================================
ENDIF
'===================================
SYNC
LOOP
ENDFUNCTION
Thanks in advance.
~Kyle Katarn