Each layer corresponds to a different song. In the Overworld Events, there are a few commands that specify what song is to be played in what layer. For instance, Layer 1 could be Peaceful Days, etc. you can catch the events in question by just searching for song names.