Match aiSetList

This commit is contained in:
Ryan Dwyer
2019-11-02 21:21:32 +10:00
parent 58de4a8bf7
commit e9464a6ac8
3 changed files with 28 additions and 83 deletions
+1 -1
View File
@@ -2,7 +2,7 @@
#define _IN_LIBRARY_H
#include <ultra64.h>
u8 *ailistFindById(s16 ailistid);
u8 *ailistFindById(u32 ailistid);
s32 getCurrentStageId(void);
+3 -3
View File
@@ -140,7 +140,7 @@ struct chrdata {
/*0x104*/ float maxdamage;
/*0x108*/ u8 *ailist;
/*0x10c*/ u16 aioffset;
/*0x10e*/ u16 aireturnlist;
/*0x10e*/ s16 aireturnlist;
/*0x110*/ s16 aishotlist;
/*0x112*/ u8 morale;
/*0x113*/ u8 alertness;
@@ -320,7 +320,7 @@ struct standardobj { // objtype 0x03
struct defaultobj base;
/*0x5c*/ u8 *ailist;
/*0x60*/ u16 aioffset;
/*0x62*/ u16 aireturnlist;
/*0x62*/ s16 aireturnlist;
};
struct image {
@@ -424,7 +424,7 @@ struct heliobj {
struct defaultobj base;
/*0x5c*/ u8 *ailist;
/*0x60*/ u16 aioffset;
/*0x62*/ u16 aireturnlist;
/*0x62*/ s16 aireturnlist;
/*0x64*/ u32 unk64;
/*0x68*/ u32 unk68;
/*0x6c*/ u32 unk6c;