<
 
BoneFish
 

File

Flags

Properties

//$categoryMonsters
activesound"shark/active"
deathsound"shark/death"
health60
height30
mass400
maxstepheight0
obituary"%o became plancton"
painchance128
painsound""
radius25
scale0.5
seesound"shark/sight"
speed8

States

Spawn: BFIS AB 2 A_LookEx(LOF_NOSOUNDCHECK, 0, 1024, 0, 0, "See") SHAR A 0 A_JumpIf(waterlevel < 2,"Dragdown") BFIS A 0 A_Wander SHAR A 0 A_JumpIf(waterlevel == 2,2) SHAR A 0 A_JumpIf(waterlevel == 1,1) loop TNT1 A 0 ThrustThingZ(0, 20, 1, 1) goto Spawn See: BFIS A 2 Fast A_Chase SHAR A 0 A_JumpIf(waterlevel < 2,"Dragdown2") SHAR A 0 A_JumpIf(waterlevel == 2,5) SHAR A 0 A_JumpIf(waterlevel == 1,4) BFIS A 2 Fast A_Chase SHAR A 0 A_JumpIf(waterlevel == 2,2) SHAR A 0 A_JumpIf(waterlevel == 1,1) loop TNT1 A 0 ThrustThingZ(0, 20, 1, 1) goto Spawn Melee: BFIS A 2 Fast A_FaceTarget SHAR A 0 A_JumpIf(waterlevel == 2,8) SHAR A 0 A_JumpIf(waterlevel == 1,7) BFIS A 2 Fast A_FaceTarget SHAR A 0 A_JumpIf(waterlevel == 2,8) SHAR A 0 A_JumpIf(waterlevel == 1,7) BFIS A 2 Fast A_FaceTarget SHAR A 0 A_JumpIf(waterlevel == 2,4) SHAR A 0 A_JumpIf(waterlevel == 1,3) BFIS C 4 Fast A_CustomMeleeAttack(random(1,2)*2,"demon/melee","none") SHAR A 0 A_JumpIf(waterlevel == 2,2) SHAR A 0 A_JumpIf(waterlevel == 1,1) goto See TNT1 A 0 ThrustThingZ(0, 20, 1, 1) goto See Pain: BFIS A 1 BFIS A 1 A_Pain BFIS A 1 SHAR A 0 A_JumpIf(waterlevel == 2,2) SHAR A 0 A_JumpIf(waterlevel == 1,1) goto See TNT1 A 0 ThrustThingZ(0, 20, 1, 1) goto See Dragdown: BFIS A 1 ThrustThingZ(0, 20, 1, 1) goto Spawn Dragdown2: BFIS A 1 ThrustThingZ(0, 20, 1, 1) goto See Death: TNT1 A 0 A_JumpIf(CallACS("DisScore")==1, "DeathNormal") TNT1 A 0 A_SpawnItemEx ("400_Score", 0, 0, 32, 0, 0, 1) DeathNormal: TNT1 A 0 A_GiveToTarget("ScoreItem", 400) TNT1 A 0 A_SpawnItemEx("Coin_disappear", 0, 0, random (8, 40), random (2, 3), 0, random (4, 6), random(0, 360)) BFIS A 1 A_Scream BFIS DEFG 2 TNT1 A 0 A_NoBlocking TNT1 A 0 A_SpawnItemEx("Coin_disappear", 0, 0, random (8, 40), random (2, 3), 0, random (4, 6), random(0, 360)) TNT1 A -1 A_SetFloorClip Stop

Class Hierarchy

Classes defined in \DEC_ENEM