Is this some weird Nintendo algorithm? If so, would be nice to comment that these constants are not under our control.