Boy/Girl highlights

So I created an "Are you a boy or a girl?" event. But now I'm looking for a script to add some eye candy to this event.

Basically, I want a picture of the boy character and the girl character. But the boy character will light up when you have the arrow on the "Boy" option, and the girl character will light up when you have the arrow on the girl option.

There are pictures below if you aren't exactly sure what I mean.

Also, how do I do that spoiler button thing? I'm sure it's much more effective than having the smaller pictures below.

Choice one.jpg

Choice two.jpg
I've moved this thread to RGSS3 Script Requests. Please be sure to post your threads in the correct forum next time. Thank you.
You can opt to have shadowed versions, and instead of using choices, you would use touch events + a sprite that looks like a cursor as your player's initial sprite...
Shana's way is probably the simplest way.

But you could also do it purely using pictures and an event command loop like:

Variable X = 1

Show Picture 1: Choice Text

Label: Change Selection

Variable X += 1

Variable X %= 2

Conditional Branch: Variable X == 0

    Show Picture 2: Highlighted Boy

    Show Picture 3: Shadowed Girl

Else

    Show Picture 2: Shadowed Boy

    Show Picture 3: Highlighted Girl

Branch END

Loop

    Wait: 4 frames

    Conditional Branch: The C Button is being pressed

        break loop

    Branch END

    Conditional Branch: The Left button is being pressed

        Jump to Label: Change Selection

    Branch END

    Conditional Branch: The Right button is being pressed

        Jump to Label: Change Selection

    Branch END

Loop END

Conditional Branch: Variable X == 0

    # Player has selected Boy

Else

    # Player has selected Girl

Branch END
I didn't really understands Shanas, sorry.. I'm a noob! So I don't know much about what many people here say, so usually doing a tiny tutorial helps a lot. Thanks a bunch, I'll see if it works :stache:
I'd say that algebra's method is shorter and easier...

Original thread: https://forums.rpgmakerweb.com/threads/boy-girl-highlights.22072/