There's something wrong with this bank system and for the life of me I can't figure it out. Test in in-game to see what I mean...
Oh yeah, the two songs and the windowskin were created by me. Feel free to use them though.
There's not too much that's actually wrong with it, but you mislabelled your variables because you put them on a range from 0,...,2 instead of 1,...,3 ;8. And you didn't subtract and add temp to the variable stored either, and you didn't change the variable gold on hand to reflect the fact that temp was just removed or added to it