From 469ec5f248ce3f3708940dfaedcb1b1c2d6d3380 Mon Sep 17 00:00:00 2001 From: GriffinR Date: Fri, 21 Aug 2020 02:36:48 -0400 Subject: Document contest AI commands --- include/contest.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/contest.h') diff --git a/include/contest.h b/include/contest.h index d008b8fce..d53aec212 100644 --- a/include/contest.h +++ b/include/contest.h @@ -201,7 +201,7 @@ struct ContestantStatus bool8 repeatedMove:1; bool8 unused2:1; bool8 repeatedPrevMove:1; // never read - bool8 unk15_3:1; + bool8 completedComboFlag:1; bool8 hasJudgesAttention:1; bool8 judgesAttentionWasRemoved:1; bool8 usedComboMove:1; @@ -234,7 +234,7 @@ struct ContestAIInfo /*0x10*/ u8 currentAICheck; /*0x14*/ u32 aiChecks; /*0x18*/ s16 scriptResult; - /*0x1A*/ s16 scriptArr[3]; + /*0x1A*/ s16 vars[3]; /*0x20*/ const u8 *stack[8]; /*0x40*/ u8 stackSize; /*0x41*/ u8 contestantId; -- cgit v1.2.3 From fbb70b372743fca1c9323e0011a498e672d4707b Mon Sep 17 00:00:00 2001 From: GriffinR Date: Fri, 21 Aug 2020 14:47:55 -0400 Subject: Document contest AI scripts --- include/contest.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'include/contest.h') diff --git a/include/contest.h b/include/contest.h index d53aec212..1dd4340bd 100644 --- a/include/contest.h +++ b/include/contest.h @@ -90,7 +90,7 @@ struct ContestPokemon u8 nickname[POKEMON_NAME_LENGTH + 1]; u8 trainerName[PLAYER_NAME_LENGTH + 1]; u8 trainerGfxId; - u32 aiChecks; + u32 aiFlags; u8 whichRank:2; u8 aiPool_Cool:1; u8 aiPool_Beauty:1; @@ -231,8 +231,8 @@ struct ContestAIInfo /*0x05*/ u8 moveScores[MAX_MON_MOVES]; /*0x09*/ u8 aiAction; /*0x0A*/ u8 filler[6]; - /*0x10*/ u8 currentAICheck; - /*0x14*/ u32 aiChecks; + /*0x10*/ u8 currentAIFlag; + /*0x14*/ u32 aiFlags; /*0x18*/ s16 scriptResult; /*0x1A*/ s16 vars[3]; /*0x20*/ const u8 *stack[8]; -- cgit v1.2.3