42777 {
42779 {
42780 return;
42781 }
42782 int num = -1;
42784 {
42786 for (
int i = 0;
i < 200;
i++)
42787 {
42790 {
42792 }
42793 }
42794 }
42795 bool flag = false;
42797 {
42799 {
42802 {
42803 float scale = 1f;
42806 {
42807 scale = 1.5f;
42808 }
42810 {
42811 scale = 1.5f;
42812 }
42814 {
42815 scale = 1.5f;
42816 }
42818 {
42819 scale = 1.5f;
42820 }
42822 {
42823 scale = 1.5f;
42824 }
42826 {
42827 scale = 1.5f;
42828 }
42830 {
42831 scale = 1.5f;
42832 }
42834 {
42835 scale = 1.5f;
42836 }
42838 {
42839 scale = 1.5f;
42840 }
42842 {
42843 scale = 1.5f;
42844 }
42846 {
42847 scale = 1.5f;
42848 }
42850 {
42851 scale = 1.5f;
42852 }
42854 {
42855 scale = 1.5f;
42856 }
42858 {
42859 scale = 1.5f;
42860 }
42862 {
42863 scale = 1.5f;
42864 }
42866 {
42867 scale = 1.5f;
42868 }
42870 {
42871 scale = 1.5f;
42872 }
42874 {
42875 scale = 1.5f;
42876 }
42878 {
42879 scale = 1.5f;
42880 }
42882 {
42883 scale = 1.5f;
42884 }
42886 {
42887 scale = 1.5f;
42888 }
42891 {
42893 }
42895 {
42897 {
42898 scale = 1.5f;
42899 if (!flag)
42900 {
42901 flag = true;
42903 float num4 = 999999f;
42904 for (
int j = 0;
j < 200;
j++)
42905 {
42907 {
42910 {
42913 }
42914 }
42915 }
42917 {
42919 {
42921 }
42922 else
42923 {
42925 }
42929 {
42931 }
42932 float num6 = Lighting.Brightness((
int)((
npc[
num2].position.X + (float)(
npc[
num2].width / 2)) / 16f), (int)((
npc[
num2].position.Y + (
float)(
npc[
num2].height / 2) +
npc[
num2].gfxOffY) / 16f));
42935 }
42936 else
42937 {
42939 }
42940 }
42941 }
42942 else
42943 {
42945 {
42946 case 7:
42948 break;
42949 case 95:
42951 break;
42952 case 10:
42954 break;
42955 case 87:
42957 break;
42958 default:
42960 {
42961 case 412:
42963 break;
42964 case 39:
42966 break;
42967 case 98:
42969 break;
42970 case 454:
42972 break;
42973 default:
42975 {
42976 case 510:
42978 break;
42979 case 621:
42981 break;
42982 case 513:
42984 break;
42985 case 117:
42987 break;
42988 default:
42990 {
42993 }
42995 {
42998 }
42999 break;
43000 case 118:
43001 case 119:
43002 case 511:
43003 case 512:
43004 case 514:
43005 case 515:
43006 case 622:
43007 case 623:
43008 break;
43009 }
43010 break;
43011 case 40:
43012 case 41:
43013 case 99:
43014 case 100:
43015 case 413:
43016 case 414:
43017 case 455:
43018 case 456:
43019 case 457:
43020 case 458:
43021 case 459:
43022 break;
43023 }
43024 break;
43025 case 8:
43026 case 9:
43027 case 11:
43028 case 12:
43029 case 88:
43030 case 89:
43031 case 90:
43032 case 91:
43033 case 92:
43034 case 96:
43035 case 97:
43036 break;
43037 }
43038 }
43039 }
43040 }
43042 {
43046 {
43049 {
43051 }
43055 }
43056 }
43058 {
43060 int num7 = DD2Event.TimeLeftBetweenWaves / 60;
43061 string text =
$"{num7}";
43066 }
43068 }
43069 }
43070 for (
int k = 0;
k < 255;
k++)
43071 {
43073 {
43075 {
43078 }
43080 {
43083 }
43084 }
43085 }
43086 }
static int TimeLeftBetweenWaves
static Asset< DynamicSpriteFont > MouseText
static SpriteBatch spriteBatch
static Vector2 ReverseGravitySupport(Vector2 pos, float height=0f)
static byte HealthBarDrawSettings
void DrawHealthBar(float X, float Y, int Health, int MaxHealth, float alpha, float scale=1f, bool noFlip=false)
static Vector2 screenPosition
static Vector2 destroyerHB
void DrawInterface_Healthbar_Worm(NPC head, int tailID, float scale)
static float NPCAddHeight(NPC theNPC)
static Player LocalPlayer
static void DrawColorCodedStringShadow(SpriteBatch spriteBatch, DynamicSpriteFont font, TextSnippet[] snippets, Vector2 position, Color baseColor, float rotation, Vector2 origin, Vector2 baseScale, float maxWidth=-1f, float spread=2f)
static Vector2 DrawColorCodedString(SpriteBatch spriteBatch, DynamicSpriteFont font, TextSnippet[] snippets, Vector2 position, Color baseColor, float rotation, Vector2 origin, Vector2 baseScale, out int hoveredSnippet, float maxWidth, bool ignoreColors=false)
static Vector2 DrawColorCodedStringWithShadow(SpriteBatch spriteBatch, DynamicSpriteFont font, TextSnippet[] snippets, Vector2 position, float rotation, Vector2 origin, Vector2 baseScale, out int hoveredSnippet, float maxWidth=-1f, float spread=2f)
static Vector2 GetStringSize(DynamicSpriteFont font, string text, Vector2 baseScale, float maxWidth=-1f)