42162 {
42164 {
42165 return;
42166 }
42167 bool flag = false;
42168 int num = Main.tile[
i,
j].frameX / 18;
42170 while (num >= 4)
42171 {
42173 num -= 4;
42174 }
42176 int num3 = Main.tile[
i,
j].frameY / 18;
42179 {
42182 }
42185 for (
int k = num;
k < num + 4;
k++)
42186 {
42189 {
42190 if (Main.tile[
k,
l] ==
null)
42191 {
42192 Main.tile[
k,
l] =
new Tile();
42193 }
42194 if (!Main.tile[
k,
l].active() || Main.tile[
k,
l].type !=
type || Main.tile[
k,
l].frameX !=
num5 || Main.tile[
k,
l].frameY !=
num6)
42195 {
42196 flag = true;
42197 }
42199 }
42200 if (Main.tile[
k,
num3 + 3] ==
null)
42201 {
42203 }
42205 {
42206 flag = true;
42207 }
42209 }
42210 if (!flag)
42211 {
42212 return;
42213 }
42215 for (
int m = num;
m < num + 4;
m++)
42216 {
42218 {
42219 if (Main.tile[
m,
n].type ==
type && Main.tile[
m,
n].active())
42220 {
42222 }
42223 }
42224 }
42227 {
42228 case 1:
42230 break;
42231 case 2:
42233 break;
42234 case 3:
42235 case 4:
42237 break;
42238 }
42242 {
42244 {
42246 }
42247 }
42248 }
static bool destroyObject
static void KillTile(int i, int j, bool fail=false, bool effectOnly=false, bool noItem=false)
static void TileFrame(int i, int j, bool resetFrame=false, bool noBreak=false)
static bool SolidTileAllowBottomSlope(int i, int j)
static IEntitySource GetItemSource_FromTileBreak(int x, int y)