comparison Player.cpp @ 100:81e93310f73c

rest screen, enemy status color fixed
author zipi
date Thu, 07 Feb 2013 22:23:10 +0000
parents 448b02e9b8a3
children acff5a5d563b
comparison
equal deleted inserted replaced
99:b7ff791b1333 100:81e93310f73c
6993 LABEL_112: 6993 LABEL_112:
6994 v3->PlaySound(36, 0); 6994 v3->PlaySound(36, 0);
6995 goto LABEL_173; 6995 goto LABEL_173;
6996 } 6996 }
6997 LABEL_172: 6997 LABEL_172:
6998 ((Player *)&stru_AA1058[3].pSounds[6972 * a2 + 40552])->SetCondition(6u, 1); 6998 pParty->pPlayers[a2-1].SetCondition(6u, 1);
6999 goto LABEL_173; 6999 goto LABEL_173;
7000 } 7000 }
7001 if ( pItemsTable->pItems[pParty->pPickedItem.uItemID].uEquipType == 14 ) 7001 if ( pItemsTable->pItems[pParty->pPickedItem.uItemID].uEquipType == 14 )
7002 { 7002 {
7003 switch ( pParty->pPickedItem.uItemID ) 7003 switch ( pParty->pPickedItem.uItemID )
7758 int v18; // edi@90 7758 int v18; // edi@90
7759 DDM_DLV_Header *v19; // eax@122 7759 DDM_DLV_Header *v19; // eax@122
7760 char v20; // cl@124 7760 char v20; // cl@124
7761 DDM_DLV_Header *v21; // eax@126 7761 DDM_DLV_Header *v21; // eax@126
7762 unsigned int v22; // edi@129 7762 unsigned int v22; // edi@129
7763 ItemGen *v23; // esi@134 7763 Player *v23; // esi@134
7764 ItemGen *v24; // ecx@135 7764 ItemGen *v24; // ecx@135
7765 signed int v25; // edx@135 7765 signed int v25; // edx@135
7766 ITEM_EQUIP_TYPE v26; // ebx@155 7766 ITEM_EQUIP_TYPE v26; // ebx@155
7767 char *v27; // edi@155 7767 char *v27; // edi@155
7768 int v28; // ebx@161 7768 int v28; // ebx@161
7833 case VAR_NumSkillPoints: 7833 case VAR_NumSkillPoints:
7834 v4 = this->uSkillPoints; 7834 v4 = this->uSkillPoints;
7835 goto _cmp_against_arg; 7835 goto _cmp_against_arg;
7836 case VAR_CircusPrises: 7836 case VAR_CircusPrises:
7837 v4 = 0; 7837 v4 = 0;
7838 v23 = pParty->pPlayers[0].pInventoryItems; 7838 v23 = pParty->pPlayers;//[0].pInventoryItems;
7839 do 7839 do
7840 { 7840 {
7841 v24 = v23; 7841 v24 = v23->pInventoryItems;
7842 v25 = 138; 7842 v25 = 138;
7843 do 7843 do
7844 { 7844 {
7845 switch ( v24->uItemID ) 7845 switch ( v24->uItemID )
7846 { 7846 {
7856 } 7856 }
7857 ++v24; 7857 ++v24;
7858 --v25; 7858 --v25;
7859 } 7859 }
7860 while ( v25 ); 7860 while ( v25 );
7861 v23 = (ItemGen *)((char *)v23 + 6972); 7861 ++v23;
7862 } 7862 }
7863 while ( (signed int)v23 < (signed int)&pParty->field_777C[85] ); 7863 while ( v23 <= &pParty->pPlayers[3] );
7864 goto _cmp_against_arg; 7864 goto _cmp_against_arg;
7865 case VAR_MonthEquals2: 7865 case VAR_MonthEquals2:
7866 v17 = pParty->uCurrentMonth == a1; 7866 v17 = pParty->uCurrentMonth == a1;
7867 goto _return2; 7867 goto _return2;
7868 case VAR_IsFlying: 7868 case VAR_IsFlying: