Decompile aiIfNumCloseArghsLessThan, aiIfNumCloseArghsGreaterThan and chrGetNumCloseArghs

This commit is contained in:
Ryan Dwyer
2019-11-28 17:09:44 +10:00
parent f3748ce202
commit c4c7d5b6e9
6 changed files with 43 additions and 86 deletions
+10
View File
@@ -560,6 +560,16 @@
value, \
label,
#define if_num_close_arghs_lt(value, label) \
mkshort(0x007f), \
value, \
label,
#define if_num_close_arghs_gt(value, label) \
mkshort(0x0080), \
value, \
label,
// Checks chr bank 3 0x00000100. If set, unsets it and follows label.
#define if_just_injured(chr, label) \
mkshort(0x0083), \
+1 -1
View File
@@ -366,7 +366,7 @@ u32 func0f049644(void);
u32 func0f049fcc(struct chrdata *chr);
u32 func0f04a0e4(struct chrdata *chr);
s32 chrGetNumArghs(struct chrdata *chr);
u32 func0f04a108(void);
s32 chrGetNumCloseArghs(struct chrdata *chr);
u32 func0f04a110(struct chrdata *chr, u32 arg1);
u32 func0f04a1ac(struct chrdata *chr, u32 arg1);
bool func0f04a2b4(struct chrdata *chr);
+2 -2
View File
@@ -129,8 +129,8 @@
/*0x007c*/ bool aiIfStageIdGreaterThan(void);
/*0x007d*/ bool aiIfNumArghsLessThan(void);
/*0x007e*/ bool aiIfNumArghsGreaterThan(void);
/*0x007f*/ bool ai007f(void);
/*0x0080*/ bool ai0080(void);
/*0x007f*/ bool aiIfNumCloseArghsLessThan(void);
/*0x0080*/ bool aiIfNumCloseArghsGreaterThan(void);
/*0x0081*/ bool ai0081(void);
/*0x0082*/ bool ai0082(void);
/*0x0083*/ bool ai0083(void);