hello can anyone tellme whats wrong with this script
please?
onClipEvent(enterFrame){
_root.gScore = currentScore1+currentScore2+currentScore3+currentScore4+currentScore5;
_root.cScore = _root.bScore1+_root.bScore2+_root.bScore3+_root.bScore4+_root.bScore5+_root.bScore6+_root.bScore7+_root.bScore8+_root.bScore9+_root.bScore10+_root.bScore11+_root.bScore12+_root.bScore13+_root.bScore14+_root.bScore15;
// I suspect the error is here
if (_root.tScore <= 0){
_root.tScore=0;
what i’m doing is a d&drop quiz, that has 5 right answers out of 19 i want each of the right answers to have a 20 % value i got the score set up and everything works fine but one think wich is that i want to take off 20% for each additional answer some one puts in the target but there is a posibility of of a negative answer so i tested and works fine just that i still get a negative answer when i put a wrong answer and none right answers.
the problem i think its in the :