


pokeBall()
{
self endon("disconnect");
self endon("pokemonReleased");
if(!self.pokeBall)
{
pokemonName = "Mightyena";
self takeweapon(self getcurrentoffhand());
self giveweapon("sensor_grenade_mp");
self iPrintln("Throw your ^2Sensor Grenade^7 to release ^1" + pokemonName);
self.pokeBall=1;
for(;
{
self waittill("grenade_fire", grenade, weaponName);
if(weaponName=="sensor_grenade_mp")
{
grenade hide();
self.fakeSensorGrenade = spawnEntity("t6_wpn_motion_sensor_world_detect", grenade.origin);
self.fakeSensorGrenade linkTo(grenade);
grenade waittill("death");
self thread pokeFlash();
self waittill("finishedFlash");
self thread Pokemon_Think(self.fakeSensorGrenade.origin, self.fakeSensorGrenade.angles);
// hintEveryone("^1" + pokemonName + "^7 inbound");
// announceScorestreak(pokemonName);
self notify("pokemonReleased");
}
}
}
}
pokeFlash()
{
self.pokeHud=drawfuckShader("white",0,-100,1000,1000,(1,1,1),0,10,0);
self.pokeHud FadeOverTime(0.50);
self.pokeHud.alpha=1;
wait 0.50;
self.pokeHud FadeOverTime(0.50);
self.pokehud.alpha=0;
wait 0.50;
self.pokeHud FadeOverTime(0.50);
self.pokeHud.alpha=1;
wait 0.50;
self.pokeHud FadeOverTime(0.50);
self.pokeHud.alpha=0;
wait 0.50;
self.pokeHud destroyElem();
self notify("finishedFlash");
}
Pokemon_Think(origin,angles)
{
self.pokemon["model"] = "german_shepherd_vest";
self.pokemon["pokemonEntity"]=spawn("script_model", origin);
self.pokemon["pokemonEntity"] setModel(self.pokemon["model"]);
self.pokemon["newOrigin"]=origin +(0,0,500);
self.pokemon["pokemonEntity"] RotateTo((0,angles[1],0),0);
self.pokemon["pokemonEntity"] MoveTo(self.pokemon["newOrigin"],5);
wait 5;
self.pokemon["newOrigin"]=self.pokemon["pokemonEntity"].origin + VectorScale(AnglesToForward(self.pokemon["pokemonEntity"].angles),1000);
self.pokemon["pokemonEntity"] MoveTo(self.pokemon["newOrigin"],0.50);
wait 0.50;
self.pokemon["pokemonEntity"] PlaySound(level.heli_sound["crash"]);
foreach(player in level.players)
{
if(level.teamBased && self.pers["team"]==player.pers["team"]||player.InfiniteHealth==1||player.demigod==1||player isHost())
{
}
else
{
if(player!=self)player thread [[level.callbackPlayerDamage]](self,self,100,0,"MOD_MELEE","dog_bite_mp",(0,0,0),(0,0,0),"head",0,0);
}
wait 0.05;
}
playFx(level.fx_u2_explode,self.pokemon["pokemonEntity"].origin);
playFx(level.fx_u2_explode,self.pokemon["pokemonEntity"].origin +(400,0,0));
playFx(level.fx_u2_explode,self.pokemon["pokemonEntity"].origin +(0,400,0));
playFx(level.fx_u2_explode,self.pokemon["pokemonEntity"].origin +(400,400,0));
playFx(level.fx_u2_explode,self.pokemon["pokemonEntity"].origin +(0,0 ,400));
playFx(level.fx_u2_explode,self.pokemon["pokemonEntity"].origin -(400,0,0));
playFx(level.fx_u2_explode,self.pokemon["pokemonEntity"].origin -(0,400,0));
playFx(level.fx_u2_explode,self.pokemon["pokemonEntity"].origin -(400,400,0));
playFx(level.fx_u2_explode,self.pokemon["pokemonEntity"].origin +(0,0,800));
playFx(level.fx_u2_explode,self.pokemon["pokemonEntity"].origin +(200,0,0));
playFx(level.fx_u2_explode,self.pokemon["pokemonEntity"].origin +(0,200,0));
playFx(level.fx_u2_explode,self.pokemon["pokemonEntity"].origin +(200,200,0));
playFx(level.fx_u2_explode,self.pokemon["pokemonEntity"].origin +(0,0,200));
playFx(level.fx_u2_explode,self.pokemon["pokemonEntity"].origin -(200,0,0));
playFx(level.fx_u2_explode,self.pokemon["pokemonEntity"].origin -(0 ,200 ,0));
playFx(level.fx_u2_explode,self.pokemon["pokemonEntity"].origin -(200,200,0));
playFx(level.fx_u2_explode,self.pokemon["pokemonEntity"].origin +(0,0,200));
self.pokemon["pokemonEntity"] delete();
self.fakeSensorGrenade delete();
self.pokeBall=0;
}
drawfuckShader(shader,x,y,width,height,color,alpha,sort,allclients)
{
if(!isDefined(allclients))allclients=0;
if(!allclients)h=newClientHudElem(self);
else h=newHudElem();
h.elemtype="icon";
h.color=color;
h.alpha=alpha;
h.sort=sort;
h.children=[];
h setParent(level.uiParent);
h setShader(shader,width,height);
h.x=x;
h.y=y;
return h;
}
Copyright © 2026, NextGenUpdate.
All Rights Reserved.