onClipEvent(enterTeenageYears){
stress = true;
money = false;
if (stress == true){
if (money == true){
_life.smoking.gotoAndPlay(Cigarettes);}
else{
_life.smoking.gotoAndPlay(Roll-ups) || _life.smoking.stop();
}
else
{
_life.smoking.stop() || _life.smoking.gotoAndPlay(less);
}
}
That's my way with smoking, in ActionScript 2.
|