70911 {
70913 {
70914 return false;
70915 }
70916 if (!Main.tile[i,
j].halfBrick())
70917 {
70918 Main.tile[
i,
j].halfBrick(halfBrick:
true);
70919 }
70920 else
70921 {
70922 Main.tile[
i,
j].halfBrick(halfBrick:
false);
70923 }
70925 {
70929 if (!Main.tile[i,
j].halfBrick())
70930 {
70932 for (
int k = 0;
k < 255;
k++)
70933 {
70934 if (Main.player[
k].active && !Main.player[
k].dead &&
rectangle.Intersects(
new Rectangle((
int)Main.player[
k].position.X, (
int)Main.player[
k].position.Y, Main.player[
k].width, Main.player[
k].height)))
70935 {
70936 Main.player[
k].gfxOffY += Main.player[
k].position.Y + (float)Main.player[
k].height - (
float)
rectangle.Y;
70937 Main.player[
k].position.Y = rectangle.Y - Main.player[
k].height;
70938 }
70939 }
70940 }
70941 }
70942 return true;
70943 }
static void PlaySound(int type, Vector2 position, int style=1)
static bool CanPoundTile(int x, int y)
static void KillTile(int i, int j, bool fail=false, bool effectOnly=false, bool noItem=false)
static void SquareTileFrame(int i, int j, bool resetFrame=true)