I wrote above why. And this error is in all Maddy's dialogues, if you do not have enough intelligence in the dialogue where intelligence is needed, for example 5,10,15 as in your code, if below, causes an error in saves.
That's very weird, that shouldn't have any effect