If I understood Fergus correctly all that is needed to do it is compare the value of turn instead of mln. Like
if == 1 turn:
... // code for first prelude step
elseif == turn 2:
... // code for second prelude step
else:
gosub HandleMove true;
... // code for performing the gating if needed
endif;
The only thing I am still in doubt about is whether the current betza.txt include file on which the PTA-generated code relies tests for a move being the final one in a safe and reliable way. Because it uses mln for the test rather than turn. But that would affect every preset automated through the PTA, and I have never encountered a case where it did not work.
If I understood Fergus correctly all that is needed to do it is compare the value of turn instead of mln. Like
The only thing I am still in doubt about is whether the current betza.txt include file on which the PTA-generated code relies tests for a move being the final one in a safe and reliable way. Because it uses mln for the test rather than turn. But that would affect every preset automated through the PTA, and I have never encountered a case where it did not work.