actor Item1NC : Item1
{
    //$Category RNC-Items
    Inventory.Icon "RNCIT3"
    States
    {
        SpawnLoop:
            NCI1 Q 1
            loop
        Use:
            NCI1 Q 0 A_Jumpif(!CallACS("core_CheckFooting"), "Under")
            NCI1 Q 0 A_SpawnItemEx("Item1PlatformNC", 56, 0, 28, 1)
            stop
        Under:
            NCI1 Q 0 A_SpawnItemEx("Item1PlatformNCUnder", 0, 0, 0, 1)
            NCI1 Q 0 A_ChangeVelocity(momx, momy, 0, CVF_REPLACE)
            stop
    }
}

actor Item1NC_Respawn : Item1_Respawn
{
	translation "192:192=4:4", "198:198=57:57"
}

actor Item1NC_RespawnShadow : Item1_RespawnShadow
{
	States
	{
        Spawn:
            NCI1 Q 0
            goto 8BDMItemRespawnShadow::Spawn
	}
}

actor Item1PlatformNC : Item1Platform
{
    States
    {
        Spawn:
            NCI1 L 1
            NCI1 L 0 A_Stop
            NCI1 L 0 A_ChangeFlag(MISSILE,0)
            NCI1 L 0 A_ChangeFlag(THRUGHOST,0)
            NCI1 L 0 A_PlaySoundEx("assists/item1spawn", "Body")
            NCI1 LMLMLMLMLMLMLMLM 3
            NCI1 LZMZLZMZLZ 3
            goto Death
    }
}

actor Item1PlatformNCUnder : Item1PlatformNC
{
    States
    {
        Death:
            TNT1 A 0 A_CheckFlag(MISSILE, "DeathRetry")
            goto Super::Death
        DeathRetry:
            TNT1 A 0 A_SpawnItemEx("Item1PlatformNCUnderWall")
            stop
    }
}

actor Item1PlatformNCUnderWall : Item1PlatformNC
{
    radius 16
}