Danny,
I dont understand very well what you are doing.
These are just some observations on you "apple" handler.
Code: Select all
on apples
if fld "fBallsCaught" <= "3apple" then
subtract 3 from fld "minApples"
if fld "fBallsCaught" <= "2apple" then
subtract 2 from fld "minApples"
if fld "fBallsCaught" <= "1apple" then
subtract 1 from fld "minApples"
end if
end if
end if
end apples
You do a string compare and not a numeric compare on
if fld "fBallsCaught" <= "3apple"
if that is what you want you might get away with it but it is confusing.
if I enter 1apple into field "fBallsCaught" it subtracts 6 from field "minApples" is that what you want?
Or do you want to say
Code: Select all
if fld "fBallsCaught" <= FIELD "3apple" then
assuming you meas FIELD and FIELD "3apple" contains a number then you would do a numeric compare. But in your code you dont say FIELD.
But still you subtract 6 if 1 is in a field 1apple. I dont get it.
if you are playing my game and you get two stars then you might want to play again to get three. If I just add it then the field on the other card will say 5 but there is a limit in my game of 75 total stars, so it would throw it off.
I don't see where the stars come into play in your code. And since I don't know the game I have no idea how to help you except in the very generic way I did in the previous post.
Kind regards
Bernd