summaryrefslogtreecommitdiff
path: root/include/dungeon_entity.h
diff options
context:
space:
mode:
authorCheng Hann Gan <chenghanngan.us@gmail.com>2021-09-28 12:50:36 -0400
committerGitHub <noreply@github.com>2021-09-28 09:50:36 -0700
commit12aec1bb718eb7b04d4a5506030154b0cce454a0 (patch)
treecc460ac2d94ec83522565fd11127df0fa172d5a4 /include/dungeon_entity.h
parent0d3b11e81a215875fc533db17895613c47a4da73 (diff)
Created species/item data JSONs (#57)
* Created species data JSON * Added item data JSON * Removed address field from JSONs -Moved constants/item.h import to item.h. * Used default values for some JSON fields -Use item ID macros for item evolutions.
Diffstat (limited to 'include/dungeon_entity.h')
-rw-r--r--include/dungeon_entity.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/dungeon_entity.h b/include/dungeon_entity.h
index e7d0fc1..6b11b8a 100644
--- a/include/dungeon_entity.h
+++ b/include/dungeon_entity.h
@@ -160,7 +160,9 @@ struct DungeonEntityData
u8 fillF8[0xFA - 0xF8];
/* 0xFA */ u8 terrifiedTurnsLeft; // Doubles as a bool for whether the Pokémon is terrified.
u8 unkFB;
- /* 0xFC */ bool8 forceUseItem; // If true, an AI Pokémon is forced to try using their held item next turn. Unknown when this is set in regular gameplay.
+ // Set to true if the player makes a teammate use their held item.
+ // This is done by going to the teammate's held item in the toolbox and selecting "Use".
+ /* 0xFC */ bool8 useHeldItem;
/* 0xFD */ u8 perishSongTimer; // When this reaches 0, the Pokémon faints from Perish Song. Doubles as a bool for whether the Pokémon is afflicted by Perish Song.
u8 fillFE[0x100 - 0xFE];
/* 0x100 */ u8 targetingDecoy; // If the Pokémon is targeting a decoy, this indicates whether the decoy target is a team or wild Pokémon.