DEV Community

Anuja
Anuja

Posted on

keep getting the same error

I have been getting the same set of errors for this code no matter what I did, I even ran it through chat gpt and various code checkers

**File "game/script.rpy", line 276: expected statement.
f"%{a}s, yesterday was amazing! I'm glad we've had quality time together."
^

File "game/script.rpy", line 284: expected statement.
f"I like that idea, %{a}s. Sure, here's my number: 17344156421. Let's stay connected."
^

File "game/script.rpy", line 285: expected statement.
f"There you go! I'll wait for your message."
^

File "game/script.rpy", line 290: expected statement.
f"Haha, that's a fun idea! Here's my number: 17344156421. Don't get lost without me!"
^
**

label start_day_3:
"A new day of Spring Break begins, and you're eager to deepen your connections with the amazing people you've met. Whose contact information would you like to ask for first?"

menu:
    "1. Ask Faith for her number.":
        $chosen_girl = "faith"
        jump faith_contact

    "2. Ask Rancor for her number.":
        $chosen_girl = "rancor"
        jump rancor_contact

    "3. Ask Vahella for her number.":
        $chosen_girl = "vahella"
        jump vahella_contact
Enter fullscreen mode Exit fullscreen mode

label faith_contact:
scene afternoon_park with fadeIn
"As you spend a day with Faith, you feel a growing connection. Now, you want to ask for her contact number."

f"%{a}s, yesterday was amazing! I'm glad we've had quality time together."
a"Faith, I've really enjoyed spending time with you. How about we keep in touch after Spring Break? Can I get your number?"

"Faith blushes and smiles."

menu:
    "1. Smooth Talker":
        a"You know, just in case I want to plan more hangouts or simply chat. What do you think?"
        f"I like that idea, %{a}s. Sure, here's my number: 17344156421. Let's stay connected."
        f"There you go! I'll wait for your message."
        "You left Faith, promising to text her..."

    "2. Playful Approach":
        a"We should exchange numbers, you know. Just in case one of us gets lost in another mysterious cave. What do you say?"
        f"Haha, that's a fun idea! Here's my number: 17344156421. Don't get lost without me!"
        "You: I'll make sure not to lose it."
        "You left Faith, promising to text her..."

        menu:
            "Ask Rancor for her number.":
                jump rancor_contact
            "Ask Vahella for her number.":
                jump vahella_contact
            "End the day.":
                scene black with fadeIn
                "End of the day."
Enter fullscreen mode Exit fullscreen mode

Top comments (0)