34703 {
34704 if (Main.tile[x, y + 1] == null)
34705 {
34706 return;
34707 }
34708 if (Main.tile[x, y + 1].topSlope())
34709 {
34711 {
34712 if ((Main.tile[x, y + 1].blockType() != 3 || !Main.tile[x - 1, y + 1].active() || Main.tile[x - 1, y + 1].blockType() != 0 || !
TileID.
Sets.
Platforms[Main.tile[x - 1, y + 1].type]) && (Main.tile[x, y + 1].blockType() != 2 || !Main.tile[x + 1, y + 1].active() || Main.tile[x + 1, y + 1].blockType() != 0 || !
TileID.
Sets.
Platforms[Main.tile[x + 1, y + 1].type]))
34713 {
34715 }
34716 }
34717 else
34718 {
34720 }
34721 }
34722 else
34723 {
34724 if (Main.tile[x, y + 1].active() && Main.tileTable[Main.tile[x, y + 1].type] && !Main.tile[x, y + 1].halfBrick())
34725 {
34726 return;
34727 }
34729 {
34731 {
34733 }
34734 }
34735 else
34736 {
34738 }
34739 }
34740 }
static void KillTile(int i, int j, bool fail=false, bool effectOnly=false, bool noItem=false)
static bool SolidTileAllowBottomSlope(int i, int j)