////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
// PLAYER                                                                     //
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////

actor BatmanPlayer : PlayerPawn
{
  Speed 1
  Health 100
  Radius 16
  Height 56
  Mass 100
  PainChance 255

  Player.JumpZ 0 // stops jumping
  Player.DisplayName "Batman"
  Player.CrouchSprite "PLYC"
  Player.StartItem "BatmanBatarang"
  Player.StartItem "BatmanFist"
  Player.StartItem "BatmanClipBox", 50

  Player.WeaponSlot 1, BatmanFist, BatmanTazer
  Player.WeaponSlot 2, BatmanBatarang
  Player.WeaponSlot 3, BatmanBlastgun, BatmanAzerealGlove
  Player.WeaponSlot 4, BatmanChaingun
  Player.WeaponSlot 5, BatmanSmokeBomb
  Player.WeaponSlot 6, BatmanFlamer
  Player.WeaponSlot 7, BatmanFinalGlove
  Player.ColorRange 112, 127

  -CANPASS //fixed 3d collision bugs
  
  States
  {
  Spawn:
    PLAY A -1
    Loop
  See:
    PLAY ABCD 4 
    Loop
  Missile:
    PLAY E 12 
    Goto Spawn
  Melee:
    PLAY F 6 BRIGHT
    Goto Missile
  Pain:
    PLAY G 4 
    PLAY G 4 A_Pain
    Goto Spawn
  Death:
    PLAY H 0 A_PlayerSkinCheck("AltSkinDeath")
  Death1:
    PLAY H 10
    PLAY I 10 A_PlayerScream
    PLAY J 10 A_NoBlocking
    PLAY KLM 10
    PLAY N -1
    Stop
  AltSkinDeath:
    PLAY H 6
    PLAY I 6 A_PlayerScream
    PLAY JK 6
    PLAY L 6 A_NoBlocking
    PLAY MNO 6
    PLAY P -1
    Stop
  }
}
