Hi can anyone help me out with this Mini game script?

INT. MAGIC CLASSROOM with PURPLE POTION to 1.918 312 306 at layer 3 in zone 1 with PURPLE POTION to 1.000 306 209 at layer 5 in zone 1 with MAGIC BALL6 to 1.000 14 209 at layer 5 in zone 2 with BLACK MAGIC to 1.360 36 205 at layer 5 in zone 2 with W. TABLE to 1.000 178 70 at layer 4 in zone 1
&cut to zone 2
&zoom on 320 358 to 229% in 0
&WIZARD spot 1.037 187 107 in zone 2 AND WIZARD moves to layer 5 AND WIZARD faces left
@WIZARD walks to spot 1.037 122 104 in zone 2 in 2 AND WIZARD is walk_sad_loop then
@pause for a beat
@zoom on 320 256 to 422% in 3 using easein
NARRATOR
You are entering a mini game.
Tap on the potion to learn more about it.
NARRATOR
Pick the correct potion and you will get extra points to use later.
label potion_mini_game
tappable
“PURPLE POTION”{

    NARRATOR

This is a reading minds potion.
NARR
When the user uses this potion they can read anyone’s minds.
NARRATOR
It increases the user’s damage and they can take more hits with no consequences.
This potion lasts 1 hour.
@pause for a beat
NARRATOR
Is this the correct potion?
choice “Yes” {
NARRATOR
You’re inccorect. Try again!
@pause for a beat
goto mini_game

} “No” {

goto mini_game
}
}

“MAGIC BALL6”{
NARRATOR
This is a health potion.
NARRATOR
When the user uses this potion it increases their immunity.
NARRATOR
If someone is injured it will cure them, but they will still be weak temporarily.
@pause for a beat
NARRATOR
Is this the correct potion?
choice “Yes” {

    NARRATOR

This is the correct potion. Good job!
@STRENGTH +3
readerMessage Strength +3

} “No” {

goto mini_game
}
}

“BLACK MAGIC”{
NARRATOR
This is a telport potion.
NARRATOR
When the user uses this potion they will be telport anywhere they want for however long they want.
@pause for a beat
NARRATOR
Is this the correct potion?
choice “Yes” {
NARRATOR
You’re incorrect. Try again!
@pause for a beat
goto mini_game

} “No” {

goto mini_game
}
}

These are a few problems I spotted.

You have PURPLE POTION twice. You only need it once.

erase then because you don’t have anything after it. You could add something, for example:

@WIZARD walks to spot 1.037 122 104 in zone 2 in 2 AND WIZARD does it while walk_sad_loop then WIZARD starts idle_sad

Your label name needs to match with your goto’s:

So either change all goto mini_game to goto potion_mini_game if you want to stick with label potion_mini_game or you could change label potion_mini_game to label mini_game if you aren’t going to change the goto in your coding above.

Incorrect is spelled wrong.

should be teleport.

I fixed those mistakes but it still says it’s incorrect.

image

Delete line 480, there shouldn’t be a space. So it’s:

}
}
“MAGIC BALL6”{

Or

}
}“MAGIC BALL 6”{

But NOT

}
}
<---- empty line
“MAGIC BALL6”{

Because you are skipping a line

Here as well. Don’t skip a line.

1 Like

Thank you so much!