Passage: DelphiExperimentFinish
Error: <<set>>: bad evaluation: Cannot read properties of undefined (reading 'delphihearts')
<<set $Flag["delphihearts"] += 18>>
I used debug mode to check the active flags, and delphihearts is set to 5, and I can’t change it. I tried using <<set>> on other Flags, such as hascanteen, with the same error. I also tried using <<print>> on both hascanteen and delphihearts, to the same error
Edit: been doing some testing to try fix the issue, it seems that you are using
<<set $Flags[“X”] …>>
for that, but typically you use
<<SetFlags “x” …>>
I modified it, and am testing now
Edit 2:
Ok changing this has prevented me from importing saves, so I will leave this here.
Edit 3: Nvm, I tested it using the in game debug menu, running
<<SetFlag “delphihearts” += 18>>
and the flags value changed from “5” to “+=” so im making progress. Now I just need to figure out how to put in the correct value.
Edit 4: unable to recreate solution