Now, I've set up the loop with the various variables and labels and its worked fine.
I want to make it so that if a player decided to replay the whole game again the variable from their previous playthroughs would be reset basically.
I've tried the
Code: Select all
"END"
$ persistent._clear()
return
and it didn't seem to work.
Here's everything I've set up so far.
At the outset:
Code: Select all
define CHARNME2 = DynamicCharacter('CHAR_Name', color="#298A08")
define Evl = DynamicCharacter('Cake_Name', color="#FE2E64")
define CHARNME = DynamicCharacter('CHAR_Name', color="#58FA58")
$ menuchoice1 = 0
$ menuchoice2 = 0
label start:
menu:
"Choose to play"
"Side A":
jump ACT_I_NM2
"Side B":
jump ACT_I_NM
label ACT_I_Tet:
$ menuchoice1 = 0
$ menuchoice2 = 0
$ CHAR_Name = "NM"
Code: Select all
label first_choice:
Tet "W-wait~!"
label same_options:
menu:
"Plead with Her":
if menuchoice1 == False:
$ menuchoice1 = True
jump wrong_choice
"Persuade Her":
jump game_continue
label wrong_choice:
if menuchoice1 == 1:
jump baka_desu
else:
"BAD END"
Evl "Hey! I can't just let you kill us both off. Try Again."
$ menuchoice1 += 1
jump first_choice
label baka_desu:
Evl "Are you trying to get us killed?"
Evl "Try Again."
jump same_options
label game_continue:
"Gameplay goes on..."
I don't know if I messed up somewhere or something else. But I want to know what can I put at the end so that someone doing a second playthrough would be able to see the 'Bad End' route again, or is that not possible?