So I would like to know if this is possible. I want to have it to where some music plays if you are about to get near an enemy before engaging it into battle as a warning that an enemy is near by. I would like to have it to where if the enemy is on the screen, then the music will change, warning you that it is close by but once away from the screen, music no longer plays.
That just sounds like Dynamic Sounds
http://forum.chaos-project.com/index.php/topic,4813.0.html
Use a BGS that plays music. Now I don't think it supports changing BGM so you will have to experiment with that.
Yeah, this was what I was looking for, thanks. Also, if you have a solution to my problem, which I posted in the Dynamic Sounds thread, please do provide it if you can.