In my game, I have a pair of siblings as the main characters. The player picks one of them as their player character, and the other becomes an NPC.
If possible, I'd really like to avoid having to make a conditional branch every time I want to show their faces in a text box. The easiest way for me to do that is to switch which face file refers to which character. I'm wondering if there's a way to do that using Javascript. Is is possible to rename the files in this way? Or does anyone know an easier way to make this happen?
Thanks!
If possible, I'd really like to avoid having to make a conditional branch every time I want to show their faces in a text box. The easiest way for me to do that is to switch which face file refers to which character. I'm wondering if there's a way to do that using Javascript. Is is possible to rename the files in this way? Or does anyone know an easier way to make this happen?
Thanks!