ACTOR SeaWeed1 22010
{
  Var float user_scale;
  Height 40
  Radius 16
  
  States
  {
  Spawn:
    SEAW A 0 NoDelay A_ChangeFlag("SPRITEFLIP", random(0,1))
	SEAW A 0 A_SetUserVarFloat("user_scale", FRandom(0.25,0.5))
	SEAW A 0 A_SetScale (user_scale, user_scale)
	SEAW A -1
    Stop
  }
}

ACTOR SeaWeed2 22011
{
  Var float user_scale;
  Height 40
  Radius 16
  
  States
  {
  Spawn:
    SEAW B 0 NoDelay A_ChangeFlag("SPRITEFLIP", random(0,1))
	SEAW B 0 A_SetUserVarFloat("user_scale", FRandom(0.25,0.5))
	SEAW B 0 A_SetScale (user_scale, user_scale)
	SEAW B -1
    Stop
  }
}

ACTOR SeaWeed3 22012
{
  Var float user_scale;
  Height 40
  Radius 16
  
  States
  {
  Spawn:
    SEAW C 0 NoDelay A_ChangeFlag("SPRITEFLIP", random(0,1))
	SEAW C 0 A_SetUserVarFloat("user_scale", FRandom(0.25,0.5))
	SEAW C 0 A_SetScale (user_scale, user_scale)
	SEAW C -1
    Stop
  }
}

ACTOR SeaWeed4 22013
{
  Var float user_scale;
  Height 40
  Radius 16
  
  States
  {
  Spawn:
    SEAW D 0 NoDelay A_ChangeFlag("SPRITEFLIP", random(0,1))
	SEAW D 0 A_SetUserVarFloat("user_scale", FRandom(0.25,0.5))
	SEAW D 0 A_SetScale (user_scale, user_scale)
	SEAW D -1
    Stop
  }
}

ACTOR SeaWeed5 22014
{
  Var float user_scale;
  Height 40
  Radius 16
  
  States
  {
  Spawn:
    SEAW E 0 NoDelay A_ChangeFlag("SPRITEFLIP", random(0,1))
	SEAW E 0 A_SetUserVarFloat("user_scale", FRandom(0.25,0.5))
	SEAW E 0 A_SetScale (user_scale, user_scale)
	SEAW E -1
    Stop
  }
}

ACTOR SeaWeed6 22015
{
  Var float user_scale;
  Height 40
  Radius 16
  
  States
  {
  Spawn:
    SEAW F 0 NoDelay A_ChangeFlag("SPRITEFLIP", random(0,1))
	SEAW F 0 A_SetUserVarFloat("user_scale", FRandom(0.25,0.5))
	SEAW F 0 A_SetScale (user_scale, user_scale)
	SEAW F -1
    Stop
  }
}

ACTOR SeaWeedPatch1 22016
{
  Var int user_distance;
  Var int user_amount;

  Renderstyle none
  +NOBLOCKMAP
  +NOSECTOR
  +DONTSPLASH
  
  States
  {
  Spawn:
    SEAW A 1 NoDelay A_SetUserVar("user_amount", Args[0])
	SEAW A 0 A_SetUserVar("user_distance", Args[1])
  SpawnWeed:
    SEAW A 1 A_SetUserVar("user_amount", user_amount-1)
    SEAW A 0 A_SpawnItemEx ("SeaWeed1", random (0, user_distance), 0, 0, 0, 0, 0, random (1, 360), 0, 0, 0)
	SEAW A 0 A_JumpIf(user_amount==0,"StopWeed")
	loop
  StopWeed:
	SEAW A 1
	stop
  }
}

ACTOR SeaWeedPatch2 22017
{
  Var int user_distance;
  Var int user_amount;

  Renderstyle none
  +NOBLOCKMAP
  +NOSECTOR
  +DONTSPLASH
  
  States
  {
  Spawn:
    SEAW B 1 NoDelay A_SetUserVar("user_amount", Args[0])
	SEAW B 0 A_SetUserVar("user_distance", Args[1])
  SpawnWeed:
    SEAW B 1 A_SetUserVar("user_amount", user_amount-1)
    SEAW B 0 A_SpawnItemEx ("SeaWeed2", random (0, user_distance), 0, 0, 0, 0, 0, random (1, 360), 0, 0, 0)
	SEAW B 0 A_JumpIf(user_amount==0,"StopWeed")
	loop
  StopWeed:
	SEAW B 1
	stop
  }
}

ACTOR SeaWeedPatch3 22018
{
  Var int user_distance;
  Var int user_amount;

  Renderstyle none
  +NOBLOCKMAP
  +NOSECTOR
  +DONTSPLASH
  
  States
  {
  Spawn:
    SEAW C 1 NoDelay A_SetUserVar("user_amount", Args[0])
	SEAW C 0 A_SetUserVar("user_distance", Args[1])
  SpawnWeed:
    SEAW C 1 A_SetUserVar("user_amount", user_amount-1)
    SEAW C 0 A_SpawnItemEx ("SeaWeed3", random (0, user_distance), 0, 0, 0, 0, 0, random (1, 360), 0, 0, 0)
	SEAW C 0 A_JumpIf(user_amount==0,"StopWeed")
	loop
  StopWeed:
	SEAW C 1
	stop
  }
}

ACTOR SeaWeedPatch4 22019
{
  Var int user_distance;
  Var int user_amount;

  Renderstyle none
  +NOBLOCKMAP
  +NOSECTOR
  +DONTSPLASH
  
  States
  {
  Spawn:
    SEAW D 1 NoDelay A_SetUserVar("user_amount", Args[0])
	SEAW D 0 A_SetUserVar("user_distance", Args[1])
  SpawnWeed:
    SEAW D 1 A_SetUserVar("user_amount", user_amount-1)
    SEAW D 0 A_SpawnItemEx ("SeaWeed4", random (0, user_distance), 0, 0, 0, 0, 0, random (1, 360), 0, 0, 0)
	SEAW D 0 A_JumpIf(user_amount==0,"StopWeed")
	loop
  StopWeed:
	SEAW D 1
	stop
  }
}

ACTOR SeaWeedPatch5 22020
{
  Var int user_distance;
  Var int user_amount;

  Renderstyle none
  +NOBLOCKMAP
  +NOSECTOR
  +DONTSPLASH
  
  States
  {
  Spawn:
    SEAW E 1 NoDelay A_SetUserVar("user_amount", Args[0])
	SEAW E 0 A_SetUserVar("user_distance", Args[1])
  SpawnWeed:
    SEAW E 1 A_SetUserVar("user_amount", user_amount-1)
    SEAW E 0 A_SpawnItemEx ("SeaWeed5", random (0, user_distance), 0, 0, 0, 0, 0, random (1, 360), 0, 0, 0)
	SEAW E 0 A_JumpIf(user_amount==0,"StopWeed")
	loop
  StopWeed:
	SEAW E 1
	stop
  }
}

ACTOR SeaWeedPatch6 22021
{
  Var int user_distance;
  Var int user_amount;

  Renderstyle none
  +NOBLOCKMAP
  +NOSECTOR
  +DONTSPLASH
  
  States
  {
  Spawn:
    SEAW F 1 NoDelay A_SetUserVar("user_amount", Args[0])
	SEAW F 0 A_SetUserVar("user_distance", Args[1])
  SpawnWeed:
    SEAW F 1 A_SetUserVar("user_amount", user_amount-1)
    SEAW F 0 A_SpawnItemEx ("SeaWeed6", random (0, user_distance), 0, 0, 0, 0, 0, random (1, 360), 0, 0, 0)
	SEAW F 0 A_JumpIf(user_amount==0,"StopWeed")
	loop
  StopWeed:
	SEAW F 1
	stop
  }
}