Umm, well the source is probably way too hard for beginners, but i'll give it to you anyways.
It's even harder to understand my code because I don't really comment my code and it is just messy.
BTW, pictures for the NXT are .ric, sounds are .rso.
Just open the file with a text editor. It's better with the actual program for it since it's color coded and lots of other stuff.