91620 {
91622 if (((
nPC.type >= 430 &&
nPC.type <= 436) ||
nPC.type == 591) &&
nPC.ai[2] > 5f)
91623 {
91624 int num = 34;
91625 if (
nPC.spriteDirection < 0)
91626 {
91627 npcRect.X -= num;
91628 npcRect.Width += num;
91629 }
91630 else
91631 {
91632 npcRect.Width += num;
91633 }
91635 }
91636 else if (
nPC.type >= 494 &&
nPC.type <= 495 &&
nPC.ai[2] > 5f)
91637 {
91639 if (
nPC.spriteDirection < 0)
91640 {
91642 npcRect.Width +=
num2;
91643 }
91644 else
91645 {
91646 npcRect.Width +=
num2;
91647 }
91649 }
91650 else if (
nPC.type == 460)
91651 {
91653 rectangle.X = (int)
nPC.Center.X;
91654 if (
nPC.direction < 0)
91655 {
91657 }
91658 rectangle.Y = (int)
nPC.position.Y +
nPC.height - 20;
91660 {
91663 }
91664 }
91665 else if (
nPC.type == 417 &&
nPC.ai[0] == 6f &&
nPC.ai[3] > 0f &&
nPC.ai[3] < 4f)
91666 {
91669 {
91672 }
91673 }
91674 else if (
nPC.type == 466)
91675 {
91677 rectangle3.X = (int)
nPC.Center.X;
91678 if (
nPC.direction < 0)
91679 {
91681 }
91682 rectangle3.Y = (int)
nPC.position.Y +
nPC.height - 32;
91684 {
91687 }
91688 }
91689 else if (
nPC.type == 576 ||
nPC.type == 577)
91690 {
91692 bool flag = true;
91693 int y =
nPC2.frame.Y;
91697 switch (y)
91698 {
91699 case 15:
91701 rectangle4.Width = 120;
91702 rectangle4.Height = 30;
91704 break;
91705 case 16:
91707 rectangle4.Width = 120;
91708 rectangle4.Height = 60;
91710 break;
91711 case 17:
91713 rectangle4.Width = 100;
91714 rectangle4.Height = 90;
91716 break;
91717 case 18:
91719 rectangle4.Width = 100;
91720 rectangle4.Height = 50;
91723 break;
91724 default:
91725 flag = false;
91726 break;
91727 }
91728 if (flag)
91729 {
91730 rectangle4.X = (int)
nPC2.Center.X -
num3 *
nPC2.direction;
91731 if (
nPC2.direction < 0)
91732 {
91734 }
91737 {
91740 }
91741 }
91742 }
91743 else if ((
nPC.type == 552 ||
nPC.type == 553 ||
nPC.type == 554) &&
nPC.ai[0] > 0f &&
nPC.ai[0] < 24f)
91744 {
91746 rectangle5.X = (int)
nPC.Center.X;
91747 if (
nPC.direction < 0)
91748 {
91750 }
91751 rectangle5.Y = (int)
nPC.position.Y +
nPC.height - 20;
91753 {
91756 }
91757 }
91758 else
91759 {
91760 if (
nPC.type != 668)
91761 {
91762 return;
91763 }
91764 npcRect.Height -= 80;
91772 {
91773 rectangle6.Width = 64;
91774 rectangle6.Height = 180;
91777 if (
nPC3.ai[0] == 4f)
91778 {
91780 }
91781 }
91782 else
91783 {
91785 }
91787 {
91788 rectangle6.X = (int)
nPC3.Center.X -
num5 *
nPC3.direction;
91789 if (
nPC3.direction < 0)
91790 {
91792 }
91795 {
91797 }
91798 }
91799 }
91800 }