Galaxium III wormhole4
From Hack Wars Wiki
int animate=getLocal("animate"); setLocal("animate",animate+1); if(animate>=5){ setFrame((getFrame()+1)%8); setLocal("animate",0); } drawTextWorld("Wormhole","courier",11,getX()-20,getY()-32,255,255,255,255); while(getCollidedCount()>0){ int s=collidedWith(); int objective=getGlobal("objective"); if(getLocal(s,"type")=="player"&&objective==0&&getGlobal("fade")==0){ setGlobal("fadecount",0); setGlobal("fade",2); } nextCollided(); } |
