i want to make point system so if you do something you get a point so with that im using
Code: Select all
$ Elly_points = 0
Code: Select all
label choice3:
if Elly_points <= 0:
"you do not have enought point to pick her up"
pause
jump outside2
# always add this for both choices after the menu, this hides the previous message that we left visible during the menu
call phone_after_menu
if Elly_points == 1:
# whenever you put the sender name to be "me" it is the player characters own message!
call message_start("me", "Yes ofcourse sweetheart, see you in a minute")
i then have another option where if you have picked her up you can go to work if not you must go back to pick her up but if you dont have points that event must be skipped but it does not it just say pickup is not defined
here are the code for the office and pickup
Code: Select all
label choice3:
if Elly_points <= 0:
"you do not have enought point to pick her up"
pause
jump outside2
# always add this for both choices after the menu, this hides the previous message that we left visible during the menu
call phone_after_menu
if Elly_points == 1:
# whenever you put the sender name to be "me" it is the player characters own message!
call message_start("me", "Yes ofcourse sweetheart, see you in a minute")
call message("Receptionest", "Thank you so much :)")
pause
$ Elly_pickup = True
jump outside2
label choice4:
call phone_after_menu
call message_start("me", "Not today")
call message("Receptionest", "ok thank you will make another plan.")
pause
$ Elly_pickup = False
pause
jump outside2
# this one puts away the phone!
call phone_end
label outside2:
call screen mapscreen
pause
label receptionest:
if Elly_pickup == True:
(player_name)"hey lets go to work "
show screen office
pause
jump work
label work:
if Elly_pickup == False:
show screen office
"Heading out to the office to get to the office in time."
pause