I'm currently working on my Zelda II hack, Zelda II: Amida. I've encountered a very strange bug, that I can't seem to solve. Every time I try to exit the first temple after I've put in the crystal, the game crashes. It doesn't matter what exit I take, even if I backtrack all the way back to the beginning of the temple, it will still crash while exiting to the world map.
I've pinpointed this back to that the crystal placement must be the cause of this bug. Since, when I completely finish the temple without placing the crystal and trying to exit, it still works. Only when exiting after placing the crystal, the game crashes. When you place the crystal you have the candle and the power glove in your possession.
The room of the crystal statue is still situated in scene 13 of palace set A. You exit the temple to 63 pg1, just like in the original game.
So... Did anyone encounter this bug before? And so yes, is it known what causes this and how to solve it? I'm really stuck here.