I now implemented the 'self option' in the betza.txt include file:
Just remove the p and x from all the sets in the promotab, and replace it by the word self. (Always lower case, even in the sets of white pieces.) If this word is in the set the piece name of the moving piece will be added to the choices before further processing. This way you prevent there will be an x in the set when the mover is a p, or a p in the set when the mover is an x.
Perhaps you can test this; I did not test it myself, but it was a very simple change.
I now implemented the 'self option' in the betza.txt include file:
Just remove the p and x from all the sets in the promotab, and replace it by the word self. (Always lower case, even in the sets of white pieces.) If this word is in the set the piece name of the moving piece will be added to the choices before further processing. This way you prevent there will be an x in the set when the mover is a p, or a p in the set when the mover is an x.
Perhaps you can test this; I did not test it myself, but it was a very simple change.