My code.
The problem: For some reason it keeps saying Saoirse_WarWlk.png is not defined. Before you ask, the file does exist.
I've been bashing my head in on this one for quite some time, so I've decided to reach out.
For further context this code is checking if the player has picked a male or female character. This code is in the block of a conditional that is for if the player picks the warrior class.
var tmp = $gameVariables.value(1)
if (tmp = 0) {
$gameParty.members()[1].setCharacterImage(Aiden.png,1)
$gameParty.members()[1].setFaceImage(Aiden_Warrior_Talk.png,1)
$gameParty.members()[1].setBattlerImage(Aiden_Battle.png)
}
else {
$gameParty.members()[1].setCharacterImage(Saoirse_WarWlk.png,1)
$gameParty.members()[1].setFaceImage(Saoirse_WarTlk.png,1)
$gameParty.members()[1].setBattlerImage(Saoirse_WarBtl.png)
}
The problem: For some reason it keeps saying Saoirse_WarWlk.png is not defined. Before you ask, the file does exist.
I've been bashing my head in on this one for quite some time, so I've decided to reach out.
For further context this code is checking if the player has picked a male or female character. This code is in the block of a conditional that is for if the player picks the warrior class.