Skip to content

Commit

Permalink
Document IsTacticSet (#294)
Browse files Browse the repository at this point in the history
  • Loading branch information
AnonymousRandomPerson authored Nov 23, 2024
1 parent 7aad0b4 commit 104d4fc
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
1 change: 1 addition & 0 deletions headers/functions/overlay29.h
Original file line number Diff line number Diff line change
Expand Up @@ -303,6 +303,7 @@ bool MonsterIsType(struct entity* entity, enum type_id type_id);
bool IsTypeAffectedByGravity(struct entity* entity, enum type_id type_id);
bool HasTypeAffectedByGravity(struct entity* entity, enum type_id type_id);
bool CanSeeInvisibleMonsters(struct entity* entity);
bool IsTacticSet(struct entity* entity, enum tactic_id tactic_id);
bool HasDropeyeStatus(struct entity* entity);
bool IqSkillIsEnabled(struct entity* entity, enum iq_skill_id iq_id);
void UpdateIqSkills(struct monster* monster);
Expand Down
13 changes: 12 additions & 1 deletion symbols/overlay29.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2545,7 +2545,7 @@ overlay29:
description: |-
Checks if a monster does not gain experience.
This basically just inverts IsSpecialStoryAlly, with the exception of also checking for the "Joined At" field being DUNGEON_CLIENT (is this set for mission clients?).
This basically just inverts IsSpecialStoryAlly, with the exception of also checking for the "Joined At" field being DUNGEON_CLIENT (set for mission clients).
r0: monster pointer
return: bool
Expand Down Expand Up @@ -3279,6 +3279,17 @@ overlay29:
r0: Entity pointer
return: True if the monster can see invisible monsters.
- name: IsTacticSet
address:
EU: 0x230294C
NA: 0x2301F20
JP: 0x2303470
description: |-
Returns whether a monster is set to use a specific tactic.
r0: Entity pointer
r1: Enum tactic_id
return: True if the monster is set to the given tactic.
- name: HasDropeyeStatus
address:
EU: 0x230297C
Expand Down

0 comments on commit 104d4fc

Please sign in to comment.