Talk:World/@comment-28241556-20151007155839/@comment-26817273-20151009180551

Current number of boxes broken is at 0x61984, aka GOOL global variable 0x3E. I'm not sure about where the box count values are located, but these shouldn't be hard to figure out. In the GOOL code for the level completion screen object, I'd expect to find an instruction that compares the value of global 0x3E with perhaps some other GOOL global that has been loaded with the level box count, in determining whether or not to reward the player with the gem. Then, in the assembly I'd expect to find the code that writes to that global the box count value-perhaps grabbed from somewhere in the NSD.