Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
125 commits
Select commit Hold shift + click to select a range
4570fa0
aaa
assidion2 Jun 7, 2026
531e62d
aaaMerge branch 'master' of https://github.com/UsernameFodder/pmdsky-…
assidion2 Jun 7, 2026
2da053d
aaa
assidion2 Jun 7, 2026
0683913
aaa
assidion2 Jun 7, 2026
64c096b
aaa
assidion2 Jun 7, 2026
33fe952
aaa
assidion2 Jun 7, 2026
0503a70
aaa
assidion2 Jun 7, 2026
9825d35
aaa
assidion2 Jun 7, 2026
a638af3
aaa
assidion2 Jun 12, 2026
5ffa25f
aaa
assidion2 Jun 12, 2026
567ccd2
aaa
assidion2 Jun 12, 2026
63f179c
aaa
assidion2 Jun 12, 2026
8892475
aaa
assidion2 Jun 12, 2026
c26ee74
aaa
assidion2 Jun 13, 2026
200e1b7
aaa
assidion2 Jun 13, 2026
ab73edc
aaa
assidion2 Jun 13, 2026
a8a7d30
aaa
assidion2 Jun 13, 2026
0a9ed9f
aaa
assidion2 Jun 13, 2026
f489e44
aaa
assidion2 Jun 13, 2026
43dc1ec
aaa
assidion2 Jun 13, 2026
dbcfd34
aaa
assidion2 Jun 13, 2026
415cae8
aaa
assidion2 Jun 13, 2026
5db767b
aaa
assidion2 Jun 13, 2026
cebbaed
aaa
assidion2 Jun 13, 2026
ac0d314
aaa
assidion2 Jun 13, 2026
2ff8090
aaa
assidion2 Jun 13, 2026
f0658ea
aaa
assidion2 Jun 17, 2026
9dfe789
aaa
assidion2 Jun 17, 2026
957b360
aaaMerge branch 'master' of https://github.com/UsernameFodder/pmdsky-…
assidion2 Jun 18, 2026
272e768
aaa
assidion2 Jun 20, 2026
4f096c0
aaaMerge branch 'master' of https://github.com/UsernameFodder/pmdsky-…
assidion2 Jun 20, 2026
6f01a57
aaa
assidion2 Jun 20, 2026
4d5e32b
aaaMerge branch 'master' of https://github.com/UsernameFodder/pmdsky-…
assidion2 Jun 20, 2026
555506b
aaa
assidion2 Jun 22, 2026
9b06076
aaa
assidion2 Jun 22, 2026
37aed59
aaa
assidion2 Jun 22, 2026
2740c49
aaa
assidion2 Jun 22, 2026
8d62f1e
aaa
assidion2 Jun 22, 2026
a5ef11a
aaa
assidion2 Jun 22, 2026
006190b
aaa
assidion2 Jun 23, 2026
21a410f
aaa
assidion2 Jun 23, 2026
6db4cc7
aaa
assidion2 Jun 23, 2026
00e7910
aaa
assidion2 Jun 27, 2026
0a0ba11
aaa
assidion2 Jun 27, 2026
e900bb1
aaa
assidion2 Jun 27, 2026
3fff17f
aaa
assidion2 Jun 27, 2026
a24b8ee
aaa
assidion2 Jun 28, 2026
b45a0d9
aaa
assidion2 Jun 28, 2026
d323317
aaa
assidion2 Jun 28, 2026
ee0fc4e
aaa
assidion2 Jun 28, 2026
7b23ba4
aaa
assidion2 Jun 28, 2026
c8f985f
aaa
assidion2 Jun 28, 2026
a3664bf
aaa
assidion2 Jun 28, 2026
d728f83
aaaMerge branch 'master' of https://github.com/UsernameFodder/pmdsky-…
assidion2 Jun 28, 2026
b4665db
aaa
assidion2 Jun 28, 2026
9d696e2
aaa
assidion2 Jun 28, 2026
141a8e4
aaa
assidion2 Jun 29, 2026
faab3be
aaa
assidion2 Jun 29, 2026
b17781f
aaa
assidion2 Jun 29, 2026
b780599
aaa
assidion2 Jun 29, 2026
453e17c
aaa
assidion2 Jun 29, 2026
048f471
Update arm9.h
assidion2 Jun 30, 2026
d78a3a7
aaa
assidion2 Jun 30, 2026
cbe4a5d
aaa
assidion2 Jun 30, 2026
d092eeb
aaa
assidion2 Jun 30, 2026
edb8b9e
Update arm9.yml
assidion2 Jul 2, 2026
cbf3a8f
aaa
assidion2 Jul 3, 2026
b167d94
aaa
assidion2 Jul 4, 2026
d041a32
aaaMerge branch 'master' of https://github.com/assidion2/pmdsky-debug
assidion2 Jul 4, 2026
abaef05
aaa
assidion2 Jul 4, 2026
a55024d
aaa
assidion2 Jul 4, 2026
0c08e34
aaa
assidion2 Jul 4, 2026
f130286
aaa
assidion2 Jul 4, 2026
585bd1e
aaa
assidion2 Jul 4, 2026
4429428
aaa
assidion2 Jul 4, 2026
778226b
aaa
assidion2 Jul 4, 2026
316b1e9
aaa
assidion2 Jul 4, 2026
f9702a2
aaa
assidion2 Jul 4, 2026
32467c8
aaa
assidion2 Jul 4, 2026
96f2149
aaa
assidion2 Jul 4, 2026
ff6924a
aaa
assidion2 Jul 4, 2026
f32c22e
aaa
assidion2 Jul 4, 2026
593d2c3
aaa
assidion2 Jul 4, 2026
d5519b3
aaa
assidion2 Jul 5, 2026
855844f
aaa
assidion2 Jul 5, 2026
59e1ca8
aaa
assidion2 Jul 5, 2026
5aa7a0b
aaa
assidion2 Jul 5, 2026
faa36a1
aaa
assidion2 Jul 5, 2026
1af0a00
aaa
assidion2 Jul 5, 2026
edc1502
aaa
assidion2 Jul 5, 2026
fdc2526
aaa
assidion2 Jul 5, 2026
1758f5f
Update headers/types/common/common.h
assidion2 Jul 7, 2026
dbf6c29
Update symbols/overlay26.yml
assidion2 Jul 7, 2026
ed38263
Update symbols/overlay26.yml
assidion2 Jul 7, 2026
47cb260
Update symbols/overlay26.yml
assidion2 Jul 7, 2026
ce63ccd
Update symbols/overlay26.yml
assidion2 Jul 7, 2026
a2738ae
Update symbols/overlay26.yml
assidion2 Jul 7, 2026
d6e8565
Update symbols/overlay26.yml
assidion2 Jul 7, 2026
51a9416
Update symbols/overlay26.yml
assidion2 Jul 7, 2026
e640fcc
Update symbols/overlay26.yml
assidion2 Jul 7, 2026
2c75cb8
Update symbols/overlay26.yml
assidion2 Jul 7, 2026
fcd32e0
Update symbols/overlay26.yml
assidion2 Jul 7, 2026
86fdba4
Update symbols/overlay26.yml
assidion2 Jul 7, 2026
c121c58
Update symbols/overlay26.yml
assidion2 Jul 7, 2026
e787774
aaa
assidion2 Jul 13, 2026
2e8c9e1
aaaMerge branch 'master' of https://github.com/assidion2/pmdsky-debug
assidion2 Jul 13, 2026
bea9367
aaa
assidion2 Jul 13, 2026
a6e03f5
aaa
assidion2 Jul 13, 2026
bcca3c2
aaa
assidion2 Jul 13, 2026
e1a576b
aaa
assidion2 Jul 13, 2026
a3a2e14
aaa
assidion2 Jul 14, 2026
99f0dbf
Update symbols/overlay29.yml
assidion2 Jul 15, 2026
442cccd
Update symbols/overlay29.yml
assidion2 Jul 15, 2026
b16f8a5
aaa
assidion2 Jul 15, 2026
fcd9acd
aaa
assidion2 Jul 27, 2026
3821338
aaa
assidion2 Jul 27, 2026
5af39ff
aaa
assidion2 Jul 27, 2026
02e3ad7
aaa
assidion2 Jul 27, 2026
a720c02
aaa
assidion2 Jul 27, 2026
785d523
aaa
assidion2 Jul 27, 2026
ff75b59
aaa
assidion2 Jul 27, 2026
6a88fdd
aaa
assidion2 Jul 27, 2026
02e30f3
aaa
assidion2 Jul 27, 2026
5835415
aaa
assidion2 Jul 28, 2026
d8895c0
aaa
assidion2 Jul 28, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions headers/data/arm9.h
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@ extern int16_t IQ_SKILL_RESTRICTIONS[69];
extern struct secondary_terrain_type_8 SECONDARY_TERRAIN_TYPES[200];
extern struct monster_id_16 SENTRY_DUTY_MONSTER_IDS[102];
extern int32_t IQ_SKILLS[69];
extern int MIN_TEAM_MEMBER_IQ;
extern uint8_t IQ_GROUP_SKILLS[400];
extern int MONEY_QUANTITY_TABLE[100];
extern int16_t IQ_GUMMI_GAIN_TABLE[18][18];
Expand Down
2 changes: 2 additions & 0 deletions headers/data/overlay29.h
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ extern struct status_icon_flags STATUS_ICON_ARRAY_FREEZE[8];
extern struct status_icon_flags STATUS_ICON_ARRAY_CRINGE[8];
extern struct status_icon_flags STATUS_ICON_ARRAY_BIDE[14];
extern struct status_icon_flags STATUS_ICON_ARRAY_REFLECT[18];
extern struct window_params DUNGEON_CONTROLS_MENU_WINDOW_PARAMS;
extern enum direction_id POSITION_DISPLACEMENT_TO_DIRECTION[3][3];
extern int16_t DIRECTIONS_XY[8][2];
extern int FACING_DIRECTION_INCREMENTS[8];
Expand Down Expand Up @@ -97,6 +98,7 @@ extern undefined4 OV29_STATIC_INITIALIZER;
extern struct dungeon* DUNGEON_PTR;
extern struct dungeon* DUNGEON_PTR_MASTER;
extern struct top_screen_status* TOP_SCREEN_STATUS_PTR;
extern struct dungeon_controls_menu* DUNGEON_CONTROLS_MENU_PTR;
extern struct entity* LEADER_PTR;
extern struct prng_state DUNGEON_PRNG_STATE;
extern uint32_t DUNGEON_PRNG_STATE_SECONDARY_VALUES[5];
Expand Down
3 changes: 2 additions & 1 deletion headers/functions/arm9.h
Original file line number Diff line number Diff line change
Expand Up @@ -533,6 +533,7 @@ void DisplayAnimationControlCurrentFrame(struct animation_control* anim_ctrl);
void DisplayAndSwitchAnimationControlCurrentFrame(struct animation_control* anim_ctrl);
void FillOamAdjustmentInfo(struct animation_control* dst, uint16_t* src);
uint32_t AnimationControlGetAllocForMaxFrame(struct animation_control* anim_ctrl);
void SetAnimationControlPausedFlag(struct animation_control* anim_ctrl, bool new_val);
void DeleteWanTableEntry(struct wan_table* wan_table, int wan_id);
int AllocateWanTableEntry(struct wan_table* wan_table);
int FindWanTableEntry(struct wan_table* wan_table, const char* path);
Expand Down Expand Up @@ -1290,7 +1291,7 @@ void GetNameOfTeamMemberAtIdx(char* out, int roster_idx);
void GetRecoloredTeamMemberName(char* out, struct team_member* team_member);
void ChangeGiratinaFormIfSkyDungeon(enum dungeon_id dungeon_id);
void RevertGiratinaAndShaymin(uint8_t member_idx, undefined param_2);
void* OamTileNumberToVramAddress(uint16_t oam_tile_num, uint8_t screen);
void* OamTileNumberToVramAddress(uint16_t oam_tile_num, enum screen screen);
int GetIqSkillStringId(enum iq_skill_id iq_skill);
bool DoesTacticFollowLeader(enum tactic_id tactic_id);
void GetUnlockedTactics(enum tactic_id* unlocked_tactics, int level);
Expand Down
6 changes: 4 additions & 2 deletions headers/functions/overlay10.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ void UpdateInventoryMenu(struct window* window);
bool IsInventoryMenuState3(int window_id);
void CreateInventoryMenuOuter(int n_items, int param_2, int param_3, uint8_t* param_4,
undefined* param_5, undefined* param_6, uint32_t param_7);
void LoadPaletteBase(uint8_t sprite_index, bool is_4bpp);
int GetEffectAnimationField0x19(int anim_id);
bool ScreenEffectActive(enum screen screen);
bool AnimationHasMoreFrames(int param_1);
struct effect_animation* GetEffectAnimation(int anim_id);
struct move_animation* GetMoveAnimation(enum move_id move_id);
Expand All @@ -27,8 +29,8 @@ undefined4 DrawTeamStats(undefined4 param_1, int param_2, undefined4 param_3, ui
void UpdateTeamStats(void);
int FreeTeamStats(void);
int FreeMapAndTeam(void);
void ProcessTeamStatsLvHp(int idx);
void ProcessTeamStatsNameGender(int idx);
void ProcessTeamStatsLvHp(int window_id);
void ProcessTeamStatsNameGender(int window_id);
bool IsBackgroundTileset(int tileset_id);
void InitTilesetBuffer(void* buffer, int tileset_id, uint32_t malloc_flags);
int MainGame(int end_cond);
Expand Down
35 changes: 31 additions & 4 deletions headers/functions/overlay29.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ void SetDungeonEscapeFields(uint32_t successful_exit_tracker, bool end_floor_no_
uint32_t GetSuccessfulExitTracker(void);
void GetAndStoreButtonInput(void);
bool CheckTouchscreenArea(int x1, int y1, int x2, int y2);
void* OamTileNumberToVramAddressOv29(short oam_tile_num, uint8_t screen);
void* OamTileNumberToVramAddressOv29(short oam_tile_num, enum screen screen);
void ResetDungeonColorPalette(void);
struct trap* GetTrapInfo(struct entity* trap_entity);
struct item* GetItemInfo(struct entity* item_entity);
Expand Down Expand Up @@ -57,6 +57,7 @@ void UpdateCamera(undefined param_1);
bool ItemIsActive(struct entity* entity, enum item_id item_id);
int GetVisibilityRange(void);
void RevealWholeFloor(struct entity* entity);
bool DungeonScreenEffectActive(void);
int PlayEffectAnimationEntity(struct entity* entity, int effect_id, bool play_now, int param_4,
int param_5, undefined param_6, enum direction_id effect_dir,
uint16_t* custom_oam_adjustment_info);
Expand Down Expand Up @@ -87,10 +88,12 @@ void PlayDefensiveStatMultiplierDownEffect(struct entity* entity, int stat_index
void PlayHitChanceUpEffect(struct entity* entity, int stat_index);
void PlayHitChanceDownEffect(struct entity* entity, int stat_index);
void PlaySeByIdIfShouldDisplayEntity(struct entity* entity, int se_id);
void PlayStairsSfx(void);
bool ShouldDisplayEntityAdvanced(struct entity* entity);
void PlayEffectAnimation0x1A9(struct entity* entity);
void PlayEffectAnimation0x29(struct entity* entity);
void PlayEffectAnimation0x18E(struct entity* entity);
void PlayKeyDoorUnlockEffect(struct entity* entity, bool is_not_treasure_memo);
void PlayStairSensorArrowEffect(struct entity* entity, enum direction_id arrow_dir);
void LoadMappaFileAttributes(int quick_saved, bool disable_monsters, undefined* special_process);
enum trap_id GetRandomSpawnTrapId(void);
Expand All @@ -110,13 +113,17 @@ int InitializeTeamStats(void);
int UpdateTeamStatsWrapper(void);
int FreeTeamStatsWrapper(void);
void DisplayTeamStatsSprite(struct entity* team_member, int actual_idx, int roster_idx);
void InitDungeonControlsMenuWithBg(void);
void FreeDungeonControlsMenuWithBg(void);
void AssignTopScreenHandlers(void** funcs, top_screen_status_fn_t init_func,
top_screen_status_fn_t update_func, void* param_4,
top_screen_status_fn_t free_func);
void HandleTopScreenFades(void);
int FreeTopScreen(void);
void DungeonChangeTopScreenType(int top_screen_type);
void DrawDungeonControlsText(int window_id);
void InitDungeonControlsMenu(void);
void FreeDungeonControlsMenu(void);
enum direction_id GetDirectionTowardsPosition(struct position* origin, struct position* target);
int GetChebyshevDistance(struct position* position_a, struct position* position_b);
bool IsPositionActuallyInSight(struct position* origin, struct position* target,
Expand Down Expand Up @@ -229,14 +236,16 @@ int SpawnMonstersAroundPos(struct entity* monster, struct position* pos, uint8_t
void RevealTrapsNearby(struct entity* monster);
bool RevealTrapAtPos(int x, int y);
void CheckBossFightVictory(struct entity* fainted_entity, enum monster_behavior behavior,
bool change_music);
bool dont_change_music);
void ChangeTeamAnimationsToIdle(void);
bool IsFloorOver2(void);
bool ShouldRunMonsterAi(struct entity* monster);
bool DebugRecruitingEnabled(void);
void TryActivateIqBooster(void);
bool IsBehaviorLoneOutlaw(enum monster_behavior behavior);
bool IsSecretBazaarNpcBehavior(enum monster_behavior behavior);
void FreezeAnim(struct entity* entity);
void UnfreezeAnim(struct entity* entity);
bool TalkToSecretBazaarNpcStandard(int string_id, struct entity* shopkeeper,
enum portrait_emotion emotion);
bool TalkToSecretBazaarNpcWithYesNoMenu(int string_id, struct entity* shopkeeper,
Expand All @@ -258,15 +267,22 @@ void CheckLeaderTile(void);
void ChangeLeader(void);
enum monster_gender GetPlayerGender(void);
void HandleHeldItemSwaps(struct entity* entity);
void TryPlaceItem(struct entity* user);
void UseSingleUseItemSelf(struct entity* user);
void UseSingleUseItemWrapper(struct entity* user);
void UseSingleUseItem(struct entity* user, struct entity* target);
void UseThrowableItem(struct entity* user);
void TalkToTeamMemberInFront(struct entity* entity);
void PlayerUseMove(struct entity* entity);
void UseRegularAttackOrStruggle(struct entity* entity);
void ResetDamageData(struct damage_data* damage);
void FreeLoadedAttackSpriteAndMore(void);
uint16_t SetAndLoadCurrentAttackAnimation(enum pack_file_id pack_id, uint16_t file_index);
void ClearLoadedAttackSprite(void);
uint16_t GetLoadedAttackSpriteId(void);
int DungeonGetTotalSpriteFileSize(enum monster_id monster_id);
void LoadMonsterSprites(void);
void LoadActiveMonsterSprites(void);
uint16_t DungeonGetSpriteIndex(enum monster_id monster_id);
bool JoinedAtRangeCheck2Veneer(struct dungeon_id_8 joined_at);
bool FloorNumberIsEven(void);
Expand All @@ -277,10 +293,12 @@ void SwapMonsterWanFileIndex(int src_id, int dst_id);
void LoadMonsterSprite(enum monster_id monster_id, undefined param_2);
void DeleteMonsterSpriteFile(enum monster_id monster_id);
void DeleteAllMonsterSpriteFiles(void);
bool CanMonsterBeAddedToTeam(struct entity* entity);
void EuFaintCheck(bool non_team_member_fainted, bool set_unk_byte);
void HandleFaint(struct entity* fainted_entity, union damage_source damage_source,
struct entity* killer);
void MoveMonsterToPos(struct entity* entity, int x_pos, int y_pos, undefined param_4);
void MoveMonsterToPos(struct entity* entity, int x_pos, int y_pos, bool reset_prev_pos_fields);
struct entity* GetMonsterInFront(struct entity* entity);
void CreateMonsterSummaryFromEntity(struct monster_summary* monster_summary,
struct entity* monster_entity);
void FillRecruitInfo(struct recruit_info* recruit_info, struct entity* monster);
Expand Down Expand Up @@ -342,6 +360,9 @@ void InitOtherMonsterData(struct entity* entity, int fixed_room_stats_index, enu
void InitEnemySpawnStats(void);
void InitEnemyStatsAndMoves(struct move* move_list, int16_t* hp, uint8_t* offensive_stats,
uint8_t* defensive_stats);
void InitExplorerMazeMonsterStatsMovesAndIq(struct move* move_list, int16_t* hp,
uint8_t* offensive_stats, uint8_t* defensive_stats,
int16_t* iq, enum monster_behavior behavior);
void SpawnTeam(undefined param_1);
void SpawnInitialMonsters(void);
struct entity* SpawnMonster(struct spawned_monster_data* monster_data, bool cannot_be_asleep);
Expand Down Expand Up @@ -623,6 +644,8 @@ void ResetHitChanceStat(struct entity* user, struct entity* target, int stat_idx
bool ExclusiveItemEffectIsActiveWithLogging(struct entity* user, struct entity* target,
bool should_log, int message_id,
enum exclusive_item_effect_id effect_id);
void LogMessageWithTargetAndExclusiveItemName(struct entity* user, struct entity* target,
int message_id, enum exclusive_item_effect_id effect);
bool TryActivateQuickFeet(struct entity* attacker, struct entity* defender);
void TryInflictTerrifiedStatus(struct entity* user, struct entity* target);
bool TryInflictGrudgeStatus(struct entity* user, struct entity* target, bool log_message);
Expand Down Expand Up @@ -733,6 +756,7 @@ bool TargetRegularAttack(struct entity* user, enum direction_id* direction, bool
bool IsTargetInRange(struct entity* user, struct entity* target, enum direction_id direction,
int n_tiles);
bool ShouldUsePp(struct entity* entity);
void AiUseMove(struct entity* entity);
struct move_target_and_range GetEntityMoveTargetAndRange(struct entity* entity, struct move* move,
bool is_ai);
struct natural_gift_item_info* GetEntityNaturalGiftInfo(struct entity* entity);
Expand Down Expand Up @@ -894,6 +918,7 @@ void SetHiddenStairsField(enum hidden_stairs_type hidden_stairs);
enum hidden_stairs_type GetHiddenFloorField(void);
void SetHiddenFloorField(enum hidden_stairs_type hidden_floor);
void LoadWeather3DFiles(void);
bool Weather3DEffectActive(void);
void RenderWeather3D(void);
struct minimap_display_data* GetMinimapData(void);
void DrawMinimapTile(int x, int y);
Expand Down Expand Up @@ -979,6 +1004,7 @@ void ResetHiddenStairsSpawn(void);
void PlaceFixedRoomTile(struct tile* tile, union fixed_room_action action, int x, int y,
bool place_item_or_trap);
enum direction_id FixedRoomActionParamToDirection(uint8_t fixed_room_action_param);
void TryOpenKeyDoor(struct entity* user, struct tile* tile, int success_msg_id, int fail_msg_id);
void ApplyKeyEffect(struct entity* user, struct entity* target);
void LoadFixedRoomData(void);
int LoadFixedRoom(int param_1, int param_2, int param_3, undefined4 param_4);
Expand Down Expand Up @@ -1023,7 +1049,7 @@ void RemoveEmptyItemsInBagWrapper(void);
void GenerateItem(struct item* item, enum item_id item_id, uint16_t quantity,
enum gen_item_stickiness sticky_type);
void HandleRegularProjectileThrow(struct entity* user, struct item* item,
struct position* start_pos, enum direction dir,
struct position* start_pos, enum direction_id dir,
struct projectile_throw_info* projectile_throw_info);
void HandleCurvedProjectileThrow(struct entity* user, struct item* item, struct position* start_pos,
struct position* target_pos,
Expand Down Expand Up @@ -1101,6 +1127,7 @@ int GetAlertBoxLoadingStatus(void);
void LogMessage(struct entity* user, const char* message, bool show_popup);
void LogMessageById(struct entity* user, int message_id, bool show_popup);
bool AlertBoxIsActive(void);
bool FullyCloseAlertBox(void);
bool AlertBoxIsScrolling(void);
void WaitUntilAlertBoxTextIsLoaded(undefined param_1);
void WaitUntilAlertBoxPauseIsOver(undefined param_1);
Expand Down
2 changes: 1 addition & 1 deletion headers/types/common/common.h
Original file line number Diff line number Diff line change
Expand Up @@ -1289,7 +1289,7 @@ struct menu_control {
struct menu_load_entry active_entry; // 0xC4: The entry for the currently active menu
// 0xD4: 0 means no menu active, 1 means menu initializing, 2 means menu active, 3 means ???
int state;
// 0xD8: Whether the overlay in active_entry should be unloaded upon calling FreeMenu
// 0xD8: Whether the overlay in active_entry should be unloaded upon calling FreeActiveMenu
bool should_unload_overlay_on_free;
undefined field_0xd9;
undefined field_0xda;
Expand Down
9 changes: 6 additions & 3 deletions headers/types/common/graphics.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,13 @@
// Contains data relating to animation.
// Mentioned under the name of "AnimeCtrl" in a debug message.
struct animation_control {
uint16_t some_bitfield;
uint16_t some_bitfield1 : 14;
uint16_t anim_paused : 1;
uint16_t some_bitfield2 : 1;
uint16_t unk_flags1 : 4;
uint16_t no_auto_frame_switch : 1;
uint16_t unk_flags2 : 11;
uint16_t use_oam_adjustment_info : 1;
uint16_t unk_flags2 : 10;
undefined2 field2_0x4;
uint16_t anim_frame_duration;
undefined2 field4_0x8;
Expand Down Expand Up @@ -485,7 +488,7 @@ struct unk_palette_struct {
struct palette_data_substruct extended_palette_sub; // 0x3C: Unused for top screen
struct palette_data extended_palette_data; // 0x50: Unused for top screen
undefined field_0x78;
bool is_top_screen; // 0x79
struct screen_8 screen; // 0x79
undefined field_0x7a[34];
};
ASSERT_SIZE(struct unk_palette_struct, 156);
Expand Down
9 changes: 9 additions & 0 deletions headers/types/dungeon_mode/dungeon_mode.h
Original file line number Diff line number Diff line change
Expand Up @@ -2628,6 +2628,15 @@ struct recruit_info {
};
ASSERT_SIZE(struct recruit_info, 72);

struct dungeon_controls_menu {
int8_t window_id; // 0x0
undefined field_0x1;
undefined field_0x2;
undefined field_0x3;
struct preprocessor_args preprocessor_args; // 0x4
};
ASSERT_SIZE(struct dungeon_controls_menu, 84);

// Separate this out into its own file because it's massive
#include "dungeon.h"

Expand Down
20 changes: 16 additions & 4 deletions symbols/arm9.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5062,6 +5062,14 @@ arm9:

r0: animation_control
return: allocation for max frame
- name: SetAnimationControlPausedFlag
address:
EU: 0x201D234
description: |-
Changes the flag for whether the animation should be paused.

r0: animation_control
r1: whether the animation should be paused
- name: DeleteWanTableEntry
address:
EU: 0x201D278
Expand Down Expand Up @@ -12360,7 +12368,7 @@ arm9:
Maps an object's designated OAM tile number (bits 0-9 in attribute 2) to the address its texture should be placed at in VRAM.

r0: tile number
r1: 0 for bottom screen, 1 for top screen
r1: screen
return: VRAM tile address
- name: GetIqSkillStringId
address:
Expand Down Expand Up @@ -15318,6 +15326,12 @@ arm9:
Table of 4-byte values for each IQ skill that represent the required IQ value to unlock a skill.

type: int[69]
- name: MIN_TEAM_MEMBER_IQ
address:
EU: 0x20A2220
length:
EU: 0x4
description: The minimum IQ for a team member or Explorer Maze monster.
- name: IQ_GROUP_SKILLS
address:
EU: 0x20A2314
Expand Down Expand Up @@ -16458,9 +16472,7 @@ arm9:
type: int16_t[6]
- name: MENU_CONTROL_PTR
address:
EU: 0x20B06B4
NA: 0x20AFD98
JP: 0x20B11D8
EU: 0x20B06D4
length:
EU: 0x4
NA: 0x4
Expand Down
21 changes: 19 additions & 2 deletions symbols/overlay10.yml
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,16 @@ overlay10:
stack[0]: ?
stack[1]: ?
statk[2]: uint32_t
- name: LoadPaletteBase
address:
EU: 0x22BE09C
description: |-
Loads either the 8bpp or 4bpp palette base (from WAN file 292 or 1, respectively).

See https://github.com/WraithFire/wanimation-studio/blob/master/docs/README.md#sprite-modes

r0: sprite index in wan_table to load from
r1: 0 for 8bpp, 1 for 4bpp
- name: GetEffectAnimationField0x19
address:
EU: 0x22BE7F4
Expand All @@ -158,6 +168,13 @@ overlay10:

r0: anim_id
return: GetEffectAnimation(anim_id)->field_0x19.
- name: ScreenEffectActive
address:
EU: 0x22C0228
description: |-
Returns true if a screen effect (like Leaf Storm's or cutscene rain) is currently active on the given screen.

r0: screen
- name: AnimationHasMoreFrames
address:
EU: 0x22C0244
Expand Down Expand Up @@ -289,7 +306,7 @@ overlay10:
description: |-
Appears to populate the Lv./HP row in the "Team stats" top screen.

r0: index of some kind
r0: window id
- name: ProcessTeamStatsNameGender
address:
EU: 0x22C21BC
Expand All @@ -298,7 +315,7 @@ overlay10:
description: |-
Appears to populate the name/gender row in the "Team stats" top screen.

r0: index of some kind
r0: window id
- name: IsBackgroundTileset
address:
EU: 0x22C2ECC
Expand Down
Loading
Loading