it should be one of the last safes you open, you find the code in the graveyard.
if you just want the code, scroll down....
6998
I figure out that code after use that crystal ball third time XD
Your game is very nice!