I giggled a little at that snippet. Can you perhaps log the results of the code snippet? Anyways I've noticed something for Zquest, the entire screen is either tinted white with the default DLL or entirely tinted pink by your modified DLL. The tint goes away after the initial dialog box but dialog box title bars are still rainbow coloured. Zelda-w.exe hasn't changed.

Image 1 = original DLL with faded white tint over the whole screen. Phone camera kinda sucks and our proper camera is worse but probably because it is flat ._.

Image 2 = Modified DLL with pink tint.


Zquest is in fullscreen mode as it is only fullscreen modes for Zelda-w and Zquest that are affected. I doubt many use Zquest in Fullscreen though.