diff options
author | Cheng Hann Gan <chenghanngan.us@gmail.com> | 2021-10-28 12:01:07 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-28 09:01:07 -0700 |
commit | dd128d78c6da20395edcbe8dab8a224aa6679146 (patch) | |
tree | deec8715283a26754ec64e7dabdeca25faf7e361 /include/dungeon_entity.h | |
parent | c98fb2c11272680a20b9cfb9efe2ce482d3779dd (diff) |
Decomped more dungeon AI (#67)
* Decomped IsMovingClient()
* Fixed typos in boss dialogue
* Fixed spelling of Pelipper
* Decomped CannotUseItems
* Decomped ShouldAvoidEnemies()
* Decomped HasAbility()
* Decomped HasTactic()
* Decomped CannotMove
* Decomped CannotAct() and IsCharging()
Diffstat (limited to 'include/dungeon_entity.h')
-rw-r--r-- | include/dungeon_entity.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/dungeon_entity.h b/include/dungeon_entity.h index 58a7d24..d89b997 100644 --- a/include/dungeon_entity.h +++ b/include/dungeon_entity.h @@ -22,9 +22,9 @@ struct DungeonEntityData u8 fillB; /* 0xC */ u16 IQ; /* 0xE */ s16 HP; - /* 0x10 */ u16 maxHP; + /* 0x10 */ s16 maxHP; // Bosses have higher HP than normal for their level. This is the max HP they would normally have given their level. - /* 0x12 */ u16 originalHP; + /* 0x12 */ s16 originalHP; /* 0x14 */ u8 attack; /* 0x15 */ u8 specialAttack; /* 0x16 */ u8 defense; @@ -94,7 +94,7 @@ struct DungeonEntityData // Bitwise flags corresponding to selected IQ skills. /* 0x8C */ u8 IQSkillsSelected[4]; // IQ skills selected in the IQ skills menu. /* 0x90 */ u8 IQSkillsEnabled[4]; - /* 0x94 */ u8 tactics; + /* 0x94 */ u8 tactic; u8 fill95[0xA4 - 0x95]; /* 0xA4 */ u8 clientType; u8 fillA5[0xA8 - 0xA5]; |