Bingo. You have loaded the background sprites with default texture flag, this seems to be additive. Simply Add the flag 4 to the loadsprite commands for the backgrounds, in the functions "Loadsprites" and Reload_back().
Additionally you have to add this line at the end of both functions:
EntityOrder back,1
To make sure the foreground is not drawn behind the background.
This was pretty tricky.
Additionally you have to add this line at the end of both functions:
EntityOrder back,1
To make sure the foreground is not drawn behind the background.
This was pretty tricky.