No worries! I was fully expecting the ROM editor to be on the back burner. You seem to have quite a lot on your plate, after all. I'm happy just to get information about the ROM editor and my issues; I wasn't expecting a fix! So thank you for finding the time to respond, and for going the extra mile on that one.
I don't know if I should feel stupid, or relieved. I've been banging my head into this issue to no avail, and of course the problem is just a rogue ) floating around. But on the other hand, it's something actually I can actually fix myself, so I'm happy for that! It might have been as simple as uttering the words "syntax error," but you've helped me a great deal by doing so. Thank you!
Unrelated: Since I've had trouble finding info while editing PSMD scripts, I'm going to leave a nugget of information for others to find.
You can use these lines to change the partner's gender. This comes in handy when you want to test both the cool and cute versions of a scene without a second save file.
SYSTEM:SetPartnerSex(SEX.MALE)
SYSTEM:SetPartnerSex(SEX.FEMALE)
Now, that's useful for testing instances of WINDOW:SwitchTalk, but I wanted to do more gender-unique changes to the cutscenes. So I would need a way to check the partner's current gender... I wasn't expecting to find anything, but opening up ExeFS/code.bin and searching through the gibberish did turn up an instance of "SetPartnerSex" and right next to it was "IsPartnerFemale"... But, trying to check if SYSTEM:IsPartnerFemale == true just gave me a syntax error. Perhaps there's a correct way to use that, or maybe it's just a nonfunctional thing.
Edit: Proving I really don't know what I'm doing, it was as simple as putting a '()' after it. Now I can do everything I wanted to!
if SYSTEM:IsPartnerFemale() then
cute partner stuff
else
cool partner stuff
end