The code handed to you at the end of the first Azada is Magic Book.
It is not just a closing flourish. Carry it into the second game and it opens the safe hidden behind the portrait in the library, which is well worth the detour for what is inside.