@ManicMinxy you use a lot a useless
jump and
label.
Line 12003 and following :
Code:
menu:
"I like it... Did you do something to your hair?":
scene aaac (25)
[...]
jump jaklsdfljsljdadadsljfjl
"I like it... Are you wearing make up? I like your natural face...":
$ Alexa_Points += 1
[...]
jump jaklsdfljsljdadadsljfjl
"It's... I like it... ":
scene aaac (23)
[...]
jump jaklsdfljsljdadadsljfjl
label jaklsdfljsljdadadsljfjl:
The
jump are useless. Whatever choice is made, at the end the script will continue at the first line after the menu block. So remove them (and the label in the same time), it will reduce drastically the number of labels.
line 12030 and following :
Code:
menu:
"Oh yeah... Hug...":
jump soepjfpjosepjojeosfjosef
"*Raise your arms to hug her*":
jump soepjfpjosepjojeosfjosef
label soepjfpjosepjojeosfjosef:
scene aaac (30)
Same than above, except that the lack of content in the menu make mandatory the use of
pass (which mean "do nothing, but note that it's not an empty block").
So you can achieve exactly the same result with :
Code:
menu:
"Oh yeah... Hug...":
pass
"*Raise your arms to hug her*":
pass
scene aaac (30)
Once again it will drastically reduce the number of labels.
line 12068 and following:
Code:
if Alexa_Points >= 5:
scene aaac (45)
[...]
jump continueefsefesfeesfesefssef
else:
jump continueefsefesfeesfesefssef
label continueefsefesfeesfesefssef:
The
else block is totally useless since there's nothing inside. In the same time, what apply for
menu also apply for an
if structure. Whatever happen, the script will continue with the first line after the whole structure ; so the
jump are totally useless.
Yet another change which will drastically reduce the number of labels.
You should also rethink the whole structure of your script. The one you actually use will make your brain explode soon or later.
Line 12280 to 12379, you've five discussions with Eliza :
Code:
label proElizawhat:
if WineandIce >= 1:
scene Warth
[...]
jump proSalon
else:
jump jaeasgeseagaseasgeegasgeasg
label jaeasgeseagaseasgeegasgeasg:
if youjustgotthememberspass >= 1:
scene Warth
[...]
jump proSalon
if collectvipcardplz >= 1:
scene Warth
[...]
jump proSalon
else:
jump sjopefjsepofjpsefojsefp
label sjopefjsepofjpsefojsefp:
if Haveyouhadbreakfast >= 1:
scene Warth
[...]
jump proSalon
else:
jump sihefoeihsfoiehfhoiehosefhoesiohsifheoihg
label sihefoeihsfoiehfhoiehosefhoesiohsifheoihg:
scene tyu (4)
[...]
jump proSalon
It would be better to put each one in it's own label. This will clean the
if structure and make it way more readable :
Code:
label proElizawhat:
if WineandIce >= 1:
jump proElizawhat01
elif youjustgotthememberspass >= 1:
jump proElizawhat02
elif collectvipcardplz >= 1:
jump proElizawhat03
elif Haveyouhadbreakfast >= 1: jump proElizawhat04
else:
jump proElizawhat05
Then you create an "eliza.rpy" file, in which you put what was in each
if block :
Code:
label proElizawhat01:
scene Warth
pause
scene tyu (10)
with fade
e "Hey [player] what's up?"
scene tyu (8)
x "Oh where might I find some ice and wine? Brooke asked me to get some..."
scene tyu (12)
e "Well you can always access your minibar... Plus there should be a complementary bottle of wine or something...!"
x "Thanks!"
scene tyu (10)
e "If you need anything else you know where to find me..."
scene tyu (12)
x "Thanks!"
scene Warth
with fade
pause
jump proSalon
label proElizawhat02:
[...]
label proElizawhat03:
[...]
label proElizawhat04:
[...]
label proElizawhat05:
[...]
Not only the "proElizawhat" label is now more readable, but you'll also clean a little the "script.rpy" file, making it more understandable.
Do the same with every room, moving the scenes in external ".rpy" files (whatever you grouped them by room, character or something else). At the end, not only the "script.rpy" will have less than 1000 lines (more if you keep the introduction in it), but it will also have a clear structure easy to update. In the same time, the scenes themselves will be more easy to find (since they'll be in the file related to the room, character or the other thing) this even if you keep the (so wrong) habit to "blindly and randomly key press" the names of your labels.