// NPC made by Arcainne if (playerenters) { show; } if (playertouchsme) { toweapons Frozen Life; } if (weaponfired&&playermp>1) { playerdir = 2; playersprite = 24; showimg 6,blueflagctf.png,playerx+.5,playery-4; set startmagic; freezeplayer .05; timeout = 0.05; } else timeout = 0; if (timeout&&playermp>10) { if (startmagic) { this.c0x=playerx+.5; this.c0y=playery-4; this.c1x=playerx+.70; this.c1y=playery-3.75; this.c2x=playerx+1.30; this.c2y=playery-3.75; this.c3x=playerx+1.80; this.c3y=playery-3.75; this.c4x=playerx+2.30; this.c4y=playery-3.75; this.c5x=playerx+2.80; this.c5y=playery-4; unset startmagic; this.go=1; } if (this.go==1) { playerhearts+=.5; showimg 0,crystalflash.mng,this.c0x,this.c0y; showimg 1,crystalflash.mng,this.c1x,this.c1y; showimg 2,crystalflash.mng,this.c2x,this.c2y; showimg 3,crystalflash.mng,this.c3x,this.c3y; showimg 4,crystalflash.mng,this.c4x,this.c4y; showimg 5,crystalflash.mng,this.c5x,this.c5y; showimg 6,blueflagctf.png,playerx+.5,playery-4; this.c0x-=(this.c0x-(playerx))/10; this.c1x-=(this.c1x-(playerx+.5))/8; this.c2x-=(this.c2x-(playerx+.75))/6; this.c3x-=(this.c3x-(playerx+1.25))/12; this.c4x-=(this.c4x-(playerx+2.5))/11; this.c5x-=(this.c5x-(playerx+2))/10; this.c0y-=(this.c0y-(playery+2.5))/10; this.c1y-=(this.c1y-(playery+2.5))/8; this.c2y-=(this.c2y-(playery+2.5))/6; this.c3y-=(this.c3y-(playery+2.5))/12; this.c4y-=(this.c4y-(playery+2.5))/11; this.c5y-=(this.c5y-(playery+2.5))/10; if(this.c0y-playery>2.25){ this.c0x=playerx+.5; this.c0y=playery-4; } if(this.c1y-playery>2.25){ this.c1x=playerx+.70; this.c1y=playery-3.75; } if(this.c2y-playery>2.25){ this.c2x=playerx+1.30; this.c2y=playery-3.75; } if(this.c3y-playery>2.25){ this.c3x=playerx+1.80; this.c3y=playery-3.75; } if(this.c4y-playery>2.25){ this.c4x=playerx+2.30; this.c4y=playery-3.75; } if(this.c5y-playery>2.25){ this.c5x=playerx+2.80; this.c5y=playery-4; } } playermp-=.05; freezeplayer .05; timeout = .05; play chest.wav; } if (timeout&&playermp<10) { timeout = 0; freezeplayer 0; this.go=0; hideimg 0; hideimg 1; hideimg 2; hideimg 3; hideimg 4; hideimg 5; hideimg 6; } if (playerhearts==playerfullhearts) { timeout = 0; freezeplayer 0; this.go=0; hideimg 0; hideimg 1; hideimg 2; hideimg 3; hideimg 4; hideimg 5; hideimg 6; }