I am thinking about making a similar tool for visually generating code for the CVBasic compiler, but its possible that the current approach (individual variables) won't work when one has lots of sprites available. Maybe using a more scratch-like block language would work better on this situation, even though the conversion of the code would have to be less direct.