I've messed up the code a bit. Even if you rescued Nezuko whenever the game runs a check for Masumi's death it kill Nezuko instead of her.
I only rescued her not masumi cuz i didn't known how to heal her, should i use elf liquid?