i tried to change values in the save file but it doesn't work sadly, maybe i did it the wrong way. i just set the kylira value to the one i copied from a just created game so idk.
If you make the value of the ELF quest flag 5 Kylira will be a companion, but you won't be able to get Kylira back on the map unless you modify the "kylira" to match a map node (which you won't know the ids of, but you could guess one)
The nodeCode is 10000 if you're going down that path :) Set numberOfEncounters to 1. Rest in the Inn and head out again. If that doesn't work. I changed the KYLIRA value to 43 as well. ELF quest I set to 3.