ok, i've got the functions and all, but i cant test them because everytime i use the #include "credits.c" they combine the two scripts and none of the buttons will work. I think its because of something missing in my main function. Here it is below, what else should go into it? These arent levels so level_load will not work.
function main()
{
video_mode = 7;
mouse_map = my_cursor;
mouse_mode = 4;
media_loop("mainmusic.wav",NULL,100);
}
thanks again