I think I figured out why it's crashing when you get the data bank and the encryption module.
The problem is the picture that's supposed to appear. It's listed as items/bank, when it should be misc/bank. It kept trying to call up an image, but was looking in the wrong place.
So if you change this line:
GFXP items/bank.png
to this:
GFXP misc/bank.png
that should stop the crashing.
I haven't tested out the fix yet, but I'll report back when I have.