private void DrawSpritesHook(On.PlayerGraphics.orig_DrawSprites orig, PlayerGraphics self, RoomCamera.SpriteLeaser sLeaser, RoomCamera rCam, float timeStacker, Vector2 camPos) { self.ApplyPalette(sLeaser, rCam, rCam.currentPalette); orig.Invoke(self, sLeaser, rCam, timeStacker, camPos); if (self.player.playerState.slugcatCharacter == PlayerManager.GetCustomPlayer("Electric").SlugcatIndex) { for (int i = 0; i < EVars.Count; i++) { if (EVars[i].ply == self.player) { if (!EVars[i].antennaActive) { sLeaser.sprites[13].scale = 0.01f; sLeaser.sprites[12].scale = 0.01f; } else { sLeaser.sprites[13].scale = 2.3f; sLeaser.sprites[12].scaleX = 0.95f; sLeaser.sprites[12].scaleY = 4f; } sLeaser.sprites[12].x = sLeaser.sprites[3].x; sLeaser.sprites[12].y = sLeaser.sprites[3].y + 2f; sLeaser.sprites[12].rotation = sLeaser.sprites[3].rotation; sLeaser.sprites[13].x = sLeaser.sprites[3].x; sLeaser.sprites[13].y = sLeaser.sprites[3].y + 2.6f; sLeaser.sprites[13].rotation = sLeaser.sprites[3].rotation; } } } }