I apologize if this sounds silly, but the script.rpy file for the DiscoFramework includes that same syntax ("
menu (nvl=True):
") and still works.
Maybe I'm misunderstanding you. Sorry.
Thank you for the clarification. Since the issue is persisting, I would recommend starting with the framework's script setup and adding (pasting in) your visual novel's custom scripts around it, rather than the other way around. This would help to avoid missing any lines of script that are being left out through the transfer.