Are you using the aliases as the piece IDs instead of the original piece IDs specified by the set file being used? If so, that will not work. You need to use the piece IDs originally specified by the set file, as the alias command only makes a visual change to the piece ID (it does not change the internal ID used in the code).
The Game-Code generator is not alias-aware. It just uses the piece IDs you specify in the diagram as piece labels. If you want to use aliases, it is up to you to edit the generated Game Code for adding the alias commands, and to decide whether you want to use the aliases or piece labels as piece ID in the Diagram.
The Game-Code generator is not alias-aware. It just uses the piece IDs you specify in the diagram as piece labels. If you want to use aliases, it is up to you to edit the generated Game Code for adding the alias commands, and to decide whether you want to use the aliases or piece labels as piece ID in the Diagram.