I think I'm overlooking something very obvious, because I seem to be having a hard time getting a simple bit of coding to work.
Code: Select all
(Some dialogue)
if silica_regard == dimona_regard:
if game_cleared >= 1:
if dimona_regard > fenrir_disregard:
$arc == 3
else:
$arc ==0
else:
$arc ==0
else:
if silica_regard > dimona_regard:
$arc == 1
else:
$arc ==2
if arc ==0:
(Some dialogue)
if arc ==1:
(Some dialogue)
if arc ==2:
(Some Dialogue)
if arc ==3:
(Some Dialogue)
nvl clear
(Some Dialogue)
If these two variables are not equal, it checks to see which variable is the biggest out of fenrir_disregard, silica_regard, and dimona_regard, and sets arc to either 0, 1, or 2 respectively.
Ideally, that's how it should be working. However... It's not. I've tested this bit of code twice so far, and it doesn't seem to be working. Both times, fenrir_disregard and game_cleared was set to 0. The first time, silica_regard was at 4 and dimona_regard at 2, the second time, dimona_regard was at 4 and silica_regard was at -1.
I've checked to make sure all capitalization is in order and that all variables have been defined properly, and yet... Both of my tests so far have caused the game to leave arc at 0. What am I doing wrong?