Decompile aiSetPadPresetToInvestigationTerminal

This commit is contained in:
Ryan Dwyer
2019-11-30 21:58:42 +10:00
parent f51b894ed5
commit aa43b4b57f
6 changed files with 68 additions and 75 deletions
+10 -1
View File
@@ -1364,7 +1364,16 @@
src4, \
0x00,
#define jog_to_object(object) \
/**
* Takes the given object, looks at the pad ID that the object is sitting on,
* then uses a lookup table at g_InvestigationPadMap to decide which pad to set
* as the current chr's pad preset.
*
* It's only used for investigation scientists to run to a spot in front of the
* terminal. Due to the fact that this lookup table is hard coded in a global
* location, it's recommended to keep usage of this function to one stage only.
*/
#define set_pad_preset_to_investigation_terminal(object) \
mkshort(0x0142), \
object, \
0x00,
+1 -1
View File
@@ -320,7 +320,7 @@
/*0x013f*/ bool ai013f(void);
/*0x0140*/ bool ai0140(void);
/*0x0141*/ bool aiShuffleInvestigationTerminals(void);
/*0x0142*/ bool ai0142(void);
/*0x0142*/ bool aiSetPadPresetToInvestigationTerminal(void);
/*0x0143*/ bool ai0143(void);
/*0x0144*/ bool ai0144(void);
/*0x0145*/ bool aiRebuildTeams(void);
+1 -1
View File
@@ -418,7 +418,7 @@ extern s16 ciquiptable_bank0[];
extern s16 ciquiptable_bank1[];
extern s16 ciquiptable_bank2[];
extern s16 ciquiptable_bank3[];
extern u32 var80069730;
extern u16 g_InvestigationPadMap[40];
extern u32 var80069780;
extern u32 var8006978c;
extern u16 special_animations[];