1
0
mirror of https://github.com/JezuzLizard/BO2-Reimagined.git synced 2025-07-08 04:48:13 -05:00

Unpad inside of parens

This commit is contained in:
Jbleezy
2023-12-16 20:01:17 -08:00
parent c87c2da9a0
commit d9b261f49e
158 changed files with 10853 additions and 10853 deletions

View File

@ -21,18 +21,18 @@ init()
screecher_init_done()
{
self endon( "death" );
self endon("death");
self.maxhealth = 150;
self.health = self.maxhealth;
while ( true )
while (true)
{
ground_ent = self getgroundent();
if ( isdefined( ground_ent ) && ground_ent == level.the_bus )
if (isdefined(ground_ent) && ground_ent == level.the_bus)
{
self dodamage( self.health + 666, self.origin );
self dodamage(self.health + 666, self.origin);
}
wait 0.1;
@ -41,37 +41,37 @@ screecher_init_done()
player_wait_land()
{
self endon( "disconnect" );
self endon("disconnect");
while ( !self isonground() )
while (!self isonground())
wait 0.1;
if ( level.portals.size > 0 )
if (level.portals.size > 0)
{
remove_portal = undefined;
foreach ( portal in level.portals )
foreach (portal in level.portals)
{
dist_sq = distance2dsquared( self.origin, portal.origin );
dist_sq = distance2dsquared(self.origin, portal.origin);
if ( dist_sq < 4096 )
if (dist_sq < 4096)
{
remove_portal = portal;
break;
}
}
if ( isdefined( remove_portal ) )
if (isdefined(remove_portal))
{
portal portal_use( self );
portal portal_use(self);
wait 0.5;
}
}
}
portal_use( player )
portal_use(player)
{
player playsoundtoplayer( "zmb_screecher_portal_warp_2d", player );
self thread teleport_player( player );
playsoundatposition( "zmb_screecher_portal_end", self.hole.origin );
player playsoundtoplayer("zmb_screecher_portal_warp_2d", player);
self thread teleport_player(player);
playsoundatposition("zmb_screecher_portal_end", self.hole.origin);
}