Decompile aiIfChrInActiveRoom and discover if_chr_in_onscreen_room AI command

This commit is contained in:
Ryan Dwyer
2020-02-11 19:01:51 +10:00
parent 05d51b7883
commit d21b8304e5
4 changed files with 31 additions and 71 deletions
+5 -2
View File
@@ -604,9 +604,12 @@
mkshort(0x0047), \
label,
#define cmd0048(u1, label) \
/**
* Checks if the chr's room is onscreen.
*/
#define if_chr_in_onscreen_room(chr, label) \
mkshort(0x0048), \
u1, \
chr, \
label,
/**
+1 -1
View File
@@ -75,7 +75,7 @@
/*0x0045*/ bool ai0045(void);
/*0x0046*/ bool aiIfNeverBeenOnScreen(void);
/*0x0047*/ bool ai0047(void);
/*0x0048*/ bool ai0048(void);
/*0x0048*/ bool aiIfChrInActiveRoom(void);
/*0x0049*/ bool aiIfRoomActive(void);
/*0x004a*/ bool ai004a(void);
/*0x004b*/ bool aiIfNearMiss(void);