Attempt to decompile ai0104

This commit is contained in:
Ryan Dwyer 2019-11-30 00:38:26 +10:00
parent 121b82e0ac
commit 70bd147c68
2 changed files with 16 additions and 1 deletions

View File

@ -8499,6 +8499,20 @@ glabel ai0104
/* f058b64: acab0438 */ sw $t3,0x438($a1)
);
// Mismatch due to temporary registers
//bool ai0104(void)
//{
// if (g_Vars.chrdata->proppreset1 >= 0) {
// struct defaultobj *obj = g_Vars.positions[g_Vars.chrdata->proppreset1].entity;
// obj->hidden &= ~OBJHIDDENFLAG_00200000;
// }
//
// g_Vars.chrdata->proppreset1 = -1;
// g_Vars.aioffset += 2;
//
// return false;
//}
/**
* @cmd 0105
*/

View File

@ -459,7 +459,8 @@
#define OBJECTFLAG2_80000000 0x80000000 // Not used in scripts
#define OBJHIDDENFLAG_ACTIVATED_BY_BOND 0x00004000
#define OBJHIDDENFLAG_ACTIVATED_BY_COOP 0x00040000
#define OBJHIDDENFLAG_ACTIVATED_BY_BOND 0x00004000
#define OBJHIDDENFLAG_00200000 0x00200000
#define OBJTYPE_DOOR 0x01
#define OBJTYPE_DOORSCALE 0x02