I’m having trouble with trying to make 3 temporary variables, and then adding them all to a *create variable so they can be used in the future.
I want to track the number of catches someone makes throughout the entire game.
The error I’m getting is:
Error: Mission_2 line 29: Invalid expression at char 7, expected NUMBER, STRING, VAR or PARENTHETICAL, was: EQUALITY [=]
My code looks like this:
How many pidgeons did you end up catching? Catch *temp catch_1 *set catch_1 0 *temp catch_2 *set catch_2 0 *temp catch_3 *set catch_3 0 *input_number catch_1 0 100 *if ( catch_1 <10 ) Ah, that's not enough! Please go get me some more. *goto_scene Mission_2 *else Whoa good job! *line_break Did you catch any of it's evolutions? Pidgenottos? *input_number catch_2 0 100 *if ( catch_2 >1 ) Excellent! Pidgeonots? *input_number catch_3 0 100 *if ( catch_3 >1 ) Well aren't you are a hard worker! *set catch = catch_1 *set sparkledust = 100* catch *goto mission2