You can cry if you want to.
Just 'cos there's a party going on doesn't make it any less serious, or sad... a funeral can be a celebration and a mourning at the same time.