rewrote rotmg.c instead of modifying very old code