// SRB1 HotROBO - Ported by Glaber (original SOC) and MIDIMan (conversion to Lua)

freeslot(
	"MT_SRB1_VOLCANOGUY",
	"S_SRB1_VOLCANOGUY1",
	"S_SRB1_VOLCANOGUY2",
	"SPR_SRBD"
)

mobjinfo[MT_SRB1_VOLCANOGUY] = {
	//$Name HotRobo
	//$Sprite SRBDA0
	//$Category SRB1 Enemies
	doomednum = 4003,
	spawnstate = S_SRB1_VOLCANOGUY1,
	spawnhealth = 1,
	seestate = S_SRB1_VOLCANOGUY2,
	reactiontime = 2,
	painchance = 3072,
	deathstate = S_XPLD_FLICKY,
	deathsound = sfx_pop,
	speed = 4*FRACUNIT,
	radius = 20*FRACUNIT,
	height = 40*FRACUNIT,
	flags = MF_SPECIAL|MF_SHOOTABLE|MF_ENEMY|MF_NOGRAVITY|MF_SLIDEME
}

states[S_SRB1_VOLCANOGUY1] =	{SPR_SRBD,	A,	2,	A_Look,		0,	0,	S_SRB1_VOLCANOGUY1}
states[S_SRB1_VOLCANOGUY2] =	{SPR_SRBD,	A,	2,	A_BuzzFly,	0,	0,	S_SRB1_VOLCANOGUY2}
