It was a bit tricky. There's Javascript that hooks onto the Gameboy memory and that triggers mp3 sound sprites.