extends SpriteChar; anim=newAnimation(); while(1){ if($syu.x>0 && $syu.x<=100) txt=1; if($syu.x>100) txt=2; anim.loop($pat_memo+0,$pat_memo+3,7); if(crashTo($syu)){ $expla.expla=txt; } else $expla.expla=0; update(); }