From f0da0b568e8ffcfd906c71ba55a2905c52b05a75 Mon Sep 17 00:00:00 2001 From: eldexterr <44853315+eldexterr@users.noreply.github.com> Date: Wed, 22 Sep 2021 20:26:43 -0700 Subject: [PATCH] Added some missing notes to common_structs.h (#423) * Update common_structs.h This ones are actually flags used by Power Rush and Mega Rush, I dunno if they're used for something else tho. But if you enter in Danger State (2-5HP) and you have equipped Power Rush dangerFlags will be 0x02 not 0x01. * BattleStatus(0x172-0x177) Added missing notes from BattleStatus(0x172) & (0x174) * Update common_structs.h 0x174 declaration is fixed, and now uses currentTurnEnemy instead of currentTurnActor --- include/common_structs.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/common_structs.h b/include/common_structs.h index 5e9a795820..dfa2101b4a 100644 --- a/include/common_structs.h +++ b/include/common_structs.h @@ -729,7 +729,8 @@ typedef struct BattleStatus { /* 0x140 */ s16 enemyIDs[24]; /* 0x170 */ char unk_170; /* 0x171 */ s8 numEnemyActors; - /* 0x172 */ char unk_172[6]; + /* 0x172 */ s16 currentTurnEnemyID; + /* 0x174 */ struct Actor* currentTurnEnemy; /* 0x178 */ s8 moveCategory; /* 0x179 */ char unk_179; /* 0x17A */ s16 selectedItemID;