- 29
- Posts
- 14
- Years
- Seen Sep 9, 2014
It's not working...It's been a long time since I've written AS2, but you could possibly try this.
Code:totalScore = 0; //variable used to keep track of your current score on (press) { totalScore+=1; this.parent.pokemoncaughteasy.gotoAndStop(totalScore); //unload Movie Behavior if(this == Number(this)){ unloadMovieNum(this); } else { this.unloadMovie(); } //End Behavior }
So I removed the first line:
"This script contains no errors"
LIES
the script wouldn't work, neither does it work with the first line.
Do I need to add the totalscore to some other place?
You gotta remember I'm putting it on 151 different Pokémon.
Maybe I should add the first line to the frame instead of the mc?
Or should I change the variable of totalscore to the "currentFrame" or something?