Well...Having all your media in a zip file so we could compile your code to test it might help.
But I can give you a few pointers to try first.
It looks like you just copied the level 1 code and pasted it calling
it MainSection2:, but you never call MainSection2.
Even if you did call MainSection2 you would probably get errors because you
are loading objects using the same object numbers as level1, so a little more thought about design of your code might be in order.
1) Don't have your load media code at the start of your program, instead call a function to load media such as
This function would delete any loaded media from a previous level that isn't needed any more.
It would check to load any media for the requested level, making sure to load objects into unused object numbers, using
for deleting and loading objects as needed.
Hope this helps.