Functions Wacky

All working, might want a few more comments for those who don't play
heroclix to read code