Skip to content

Commit

Permalink
Document sprite data struct (#264)
Browse files Browse the repository at this point in the history
  • Loading branch information
Frostbyte0x70 authored Jul 26, 2024
1 parent 8ceaa47 commit 4db258e
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion headers/data/arm9.h
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ extern struct guest_monster GUEST_MONSTER_DATA[18];
extern struct rankup_table_entry RANK_UP_TABLE[13];
extern struct monster_id_16 DS_DOWNLOAD_TEAMS[56];
extern enum monster_id UNOWN_SPECIES_ADDITIONAL_CHARS[28];
extern undefined MONSTER_SPRITE_DATA[1200];
extern struct monster_sprite_data_entry MONSTER_SPRITE_DATA[600];
extern int16_t MISSION_MENU_STRING_IDS_1[8];
extern int16_t MISSION_MENU_STRING_IDS_2[8];
extern struct dungeon_unlock_entry MISSION_DUNGEON_UNLOCK_TABLE[3];
Expand Down
7 changes: 7 additions & 0 deletions headers/types/common/common.h
Original file line number Diff line number Diff line change
Expand Up @@ -1010,4 +1010,11 @@ struct touchscreen_status {
};
ASSERT_SIZE(struct touchscreen_status, 104);

// Contains information about the sprite size and sprite file size of a monster
struct monster_sprite_data_entry {
uint8_t sprite_size; // 0x0
uint8_t sprite_file_size; // 0x1
};
ASSERT_SIZE(struct monster_sprite_data_entry, 2);

#endif
1 change: 1 addition & 0 deletions symbols/arm9.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11869,6 +11869,7 @@ arm9:
EU: 0x4B0
NA: 0x4B0
JP: 0x4B0
description: Contains information about the sprite size and sprite file size of each monster
- name: REMOTE_STRINGS
address:
EU: 0x20A4140
Expand Down

0 comments on commit 4db258e

Please sign in to comment.