diff options
author | GriffinR <griffin.g.richards@gmail.com> | 2021-11-13 23:32:10 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-13 23:32:10 -0500 |
commit | 70577e844ddcb8092ab9e55dd0dd7993f68f4122 (patch) | |
tree | 7a09999f6ac2fc2d1b36ece5ec484ec6527a201f /include/data.h | |
parent | 8d18d03c791c40bad532c62f217b0f82aadec6d2 (diff) | |
parent | f42eafc85b007cd27e90bc9a1350d589e31bda43 (diff) |
Merge pull request #1548 from GriffinRichards/doc-banim
Document battle_anim_mons
Diffstat (limited to 'include/data.h')
-rw-r--r-- | include/data.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/data.h b/include/data.h index 374435cba..2d3619e67 100644 --- a/include/data.h +++ b/include/data.h @@ -21,6 +21,10 @@ struct MonCoords u8 y_offset; }; +#define MON_COORDS_SIZE(width, height)(DIV_ROUND_UP(width, 8) << 4 | DIV_ROUND_UP(height, 8)) +#define GET_MON_COORDS_WIDTH(size)((size >> 4) * 8) +#define GET_MON_COORDS_HEIGHT(size)((size & 0xF) * 8) + struct TrainerMonNoItemDefaultMoves { u16 iv; |