Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
113 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
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
2 changes: 1 addition & 1 deletion headers/data/ram.h
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ extern int TRIPLE_KICK_SUCCESSIVE_HITS;
extern int METRONOME_NEXT_INDEX;
extern struct tile DEFAULT_TILE_COPY;
extern struct floor_generation_status FLOOR_GENERATION_STATUS;
extern struct secret_bazaar_dialogue_info* SECRET_BAZAAR_DIALOGUE_INFO_PTR;
extern struct dungeon_dialogue_info* DUNGEON_DIALOGUE_INFO_PTR;
extern struct stairs_menu* STAIRS_MENU_PTR;

#endif
4 changes: 3 additions & 1 deletion headers/functions/arm9.h
Original file line number Diff line number Diff line change
Expand Up @@ -461,7 +461,7 @@ void SelectWaza(int waza_id);
void PlayBgmByIdVeneer(enum music_id music_id);
void PlayBgmByIdVolumeVeneer(enum music_id music_id, undefined param_2, int volume);
bool IsMePlaying(int me_id);
void PlaySeByIdVolumeWrapper(int index);
void PlaySeByIdVolumeWrapper(int se_id);
void PlaySeVolumeWrapper(int index);
void PlayBgmById(enum music_id music_id);
void PlayBgmByIdVolume(enum music_id music_id, undefined param_2, int volume);
Expand Down Expand Up @@ -529,6 +529,8 @@ void SetAndPlayAnimationForAnimationControl(struct animation_control* anim_ctrl,
void SwitchAnimationControlToNextFrame(struct animation_control* anim_ctrl);
void LoadAnimationFrameAndIncrementInAnimationControl(struct animation_control* anim_ctrl,
struct wan_animation_frame* anim_frame);
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 DeleteWanTableEntry(struct wan_table* wan_table, int wan_id);
Expand Down
28 changes: 24 additions & 4 deletions headers/functions/overlay29.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,15 @@ void ResetDungeonColorPalette(void);
struct trap* GetTrapInfo(struct entity* trap_entity);
struct item* GetItemInfo(struct entity* item_entity);
struct tile* GetTileAtEntity(struct entity* entity);
void DisplayMonstersAndItems(void);
void UpdateEntityPixelPos(struct entity* entity, struct pixel_position* pixel_pos);
void SetEntityPixelPosXY(struct entity* entity, uint32_t x, uint32_t y);
void IncrementEntityPixelPosXY(struct entity* entity, uint32_t x, uint32_t y);
struct entity* CreateEnemyEntity(enum monster_id monster_id);
struct entity* SpawnTrap(enum trap_id trap_id, struct position* position, uint8_t team,
uint8_t flags);
struct entity* SpawnItemEntity(struct position* position);
void CreateTemporaryEntity(struct entity* entity);
bool ShouldMinimapDisplayEntity(struct entity* entity);
bool ShouldDisplayEntity(struct entity* entity, undefined param_2);
bool ShouldDisplayEntityWrapper(struct entity* entity);
Expand All @@ -61,6 +63,7 @@ int PlayEffectAnimationEntity(struct entity* entity, int effect_id, bool play_no
int PlayEffectAnimationPos(struct position* pos, int effect_id, bool play_now);
int PlayEffectAnimationPixelPos(struct pixel_position* pixel_pos, int effect_id, bool play_now);
void AnimationDelayOrSomething(undefined param_1);
void CopyStatusIconFlags(struct status_icon_flags* dst, struct entity* src);
void UpdateStatusIconFlags(struct entity* entity);
void PlayQuestionMarkEffect(struct entity* entity);
void PlayExclamationPointEffect(struct entity* entity);
Expand Down Expand Up @@ -113,12 +116,14 @@ void AssignTopScreenHandlers(void** funcs, top_screen_status_fn_t init_func,
void HandleTopScreenFades(void);
int FreeTopScreen(void);
void DungeonChangeTopScreenType(int top_screen_type);
void DrawDungeonControlsText(int window_id);
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,
bool user_has_dropeye);
bool IsPositionInSight(struct position* origin, struct position* target, bool user_has_dropeye);
bool IsPositionWithinTwoTiles(struct position* origin, struct position* target);
bool DisplayThrownItemShadow(int16_t x, int16_t y);
struct entity* GetLeader(void);
struct monster* GetLeaderMonster(void);
bool GetRandomTile(struct position* pos_out, bool exclude_key_doors);
Expand Down Expand Up @@ -191,6 +196,7 @@ bool AreLateGameTrapsEnabledWrapper(void);
void SpawnTraps(void);
void SpawnEnemyTrapAtPos(enum trap_id trap_id, int16_t x, int16_t y, uint8_t flags,
bool is_visible);
void CreateTrapAndStairsHallucinations(void);
void PrepareTrapperTrap(struct entity* entity, enum trap_id trap_id, uint8_t team);
bool CanLayTrap(struct position* pos);
bool TrySpawnTrap(struct position* pos, enum trap_id trap_id, uint8_t team, bool visible);
Expand Down Expand Up @@ -224,6 +230,8 @@ void RevealTrapsNearby(struct entity* monster);
bool RevealTrapAtPos(int x, int y);
void CheckBossFightVictory(struct entity* fainted_entity, enum monster_behavior behavior,
bool change_music);
void ChangeTeamAnimationsToIdle(void);
bool IsFloorOver2(void);
bool ShouldRunMonsterAi(struct entity* monster);
bool DebugRecruitingEnabled(void);
void TryActivateIqBooster(void);
Expand All @@ -236,6 +244,7 @@ bool TalkToSecretBazaarNpcWithYesNoMenu(int string_id, struct entity* shopkeeper
struct simple_menu_id_item* menu_items);
void MakeTargetFaceUserAndIdle(struct entity* target, struct entity* user);
void SubtractMoneyCarriedWithSfx(int amount);
void MakeSecretBazaarNpcsIdleInDirection(enum direction_id dir);
void ReopenMinimap(void);
void GonePebbleGradualPaletteShift(struct rgba* palette, uint32_t param_2);
bool TalkToSecretBazaarNpc(int string_id, struct entity* shopkeeper, enum portrait_emotion emotion,
Expand Down Expand Up @@ -295,7 +304,7 @@ bool CheckTeamMemberIdxVeneer(int member_idx);
bool CheckMonsterTeamMemberIdx(struct entity* entity);
bool IsMonsterIdInNormalRangeVeneer(enum monster_id monster_id);
void BoostIQ(struct entity* entity, int iq_boost, bool suppress_logs);
void ChangeMonsterAnimationToIdle(struct entity* entity, enum direction_id direction);
void MakeMonsterIdleInDirection2(struct entity* entity, enum direction_id direction);
bool ShouldMonsterHeadToStairs(struct entity* entity);
void DisplayLinkedMovesWarnings(struct entity* entity, int move_slot);
bool MewSpawnCheck(enum monster_id monster_id, bool fail_if_mew);
Expand Down Expand Up @@ -359,7 +368,7 @@ bool IsInvalidSpawnTile(enum monster_id monster_id, struct tile* tile);
enum mobility_type GetMobilityTypeAfterIqSkills(struct entity* monster,
enum mobility_type mobility_type);
bool CanMoveThroughWalls(struct entity* monster);
bool CannotStandOnTile(struct entity* monster, struct tile* tile);
bool CannotStandOnTile(struct entity* monster, struct position* tile_pos);
int CalcSpeedStage(struct entity* entity, int counter_weight);
int CalcSpeedStageWrapper(struct entity* entity);
int GetNumberOfAttacks(struct entity* entity);
Expand Down Expand Up @@ -438,9 +447,14 @@ void GetMonsterMoves(struct move_id_16* out_moves, enum monster_id monster_id, i
void EvolveMonster(struct entity* user, struct entity* target, enum monster_id new_monster_id);
void DisplayMonsterShadow(bool display_shadow, enum shadow_type shadow_type, bool yellow_circle,
int16_t x, int16_t y);
void DisplayMonster(struct entity* entity);
void AnimateFlyingMoves(struct entity* entity);
void ChangeMonsterAnimation(struct entity* monster, int8_t animation_id,
enum direction_id direction);
void ChangeMonsterAnimationToIdle(struct entity* monster, enum direction_id direction);
void ChangeMonsterAnimationToHurt(struct entity* monster, enum direction_id direction);
uint8_t GetIdleAnimationId(struct entity* entity);
void MakeMonsterIdleInDirection(struct entity* entity, enum direction_id direction);
void DetermineAllMonsterShadow(void);
enum shadow_type DetermineMonsterShadow(struct entity* monster);
bool DisplayActions(struct entity* param_1);
Expand Down Expand Up @@ -994,6 +1008,8 @@ void GenerateCleanItem(struct item* item, enum item_id item_id);
void TryLeaderItemPickUp(struct position* position, bool flag);
bool SpawnItem(struct position* position, struct item* item, bool flag);
void RemoveGroundItem(struct position* position, bool update_shop_counters);
bool DisplayItem(struct entity* item, bool hallucinate, bool on_floor, enum direction_id dir,
bool priority);
void SpawnDroppedItemWrapper(struct entity* entity, struct position* pos, struct item* item,
undefined4 param_4);
void SpawnDroppedItem(struct entity* entity, struct entity* item_entity, struct item* item,
Expand All @@ -1006,6 +1022,9 @@ void AddHeldItemToBag(struct monster* monster);
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 projectile_throw_info* projectile_throw_info);
void HandleCurvedProjectileThrow(struct entity* user, struct item* item, struct position* start_pos,
struct position* target_pos,
struct projectile_throw_info* projectile_throw_info);
Expand Down Expand Up @@ -1105,10 +1124,11 @@ void DisplayMessage2(struct portrait_params* portrait, int message_id, bool wait
bool YesNoMenu(undefined param_1, int string_id, int default_option, undefined param_4);
void CloseMinimap(void);
void DisplayMessageInternal(int message_id, bool wait_for_input, struct portrait_params* portrait,
undefined4 param_4, undefined4 param_5, undefined4 param_6);
undefined4 param_4, struct preprocessor_args* preprocessor_args,
undefined4 param_6);
void PrintMissionCompleteString(int string_id, undefined4 param_2, undefined4 param_3,
undefined4 param_4, undefined1 param_5);
void InitSecretBazaarDialogueInfo(void);
void InitDungeonDialogueInfo(void);
void OpenMenu(undefined param_1, undefined param_2, bool open_bag);
void StairsMenuAfterStep(struct entity* leader, bool leave_minimap_closed_after);
int DungeonModeSetupAndShowNameKeyboard(char* str_keyboard_result, char* buffer,
Expand Down
4 changes: 3 additions & 1 deletion headers/types/common/graphics.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@
// Mentioned under the name of "AnimeCtrl" in a debug message.
struct animation_control {
uint16_t some_bitfield;
undefined2 field1_0x2;
uint16_t unk_flags1 : 4;
uint16_t no_auto_frame_switch : 1;
uint16_t unk_flags2 : 11;
undefined2 field2_0x4;
uint16_t anim_frame_duration;
undefined2 field4_0x8;
Expand Down
12 changes: 7 additions & 5 deletions headers/types/dungeon_mode/dungeon_mode.h
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ struct statuses {
// A value of 1 mean "high up" (Fly/Bounce). A value of 2 means some other condition like
// Dig, Shadow Force, etc. Other values are treated as invalid. Also used for the move
// Seismic Toss when throwing up the target.
uint8_t two_turn_move_invincible;
struct two_turn_invincibility_8 two_turn_move_invincible;
// 0x63: Related to handling AI when a decoy is present on the floor?
// Seems to only be 0, 1, 2
undefined decoy_ai_tracker;
Expand Down Expand Up @@ -526,7 +526,9 @@ struct monster {
struct position pixel_pos; // 0x182: The monster's graphical position on screen?
undefined field_0x186;
undefined field_0x187;
int elevation_mirror; // 0x188: Mirror of the elevation field in struct entity
// 0x188: Works the same as the elevation field in struct entity, but is not
// tied to it.
int elevation2;
// 0x18C: Bitflags that cause non-damaging exclusive items to trigger on the
// attacker after they have completed their move. For example, the Eclipse Robe
// (Darkrai exclusive item) may afflict attacking enemies with the nightmare
Expand Down Expand Up @@ -708,7 +710,7 @@ struct entity {
enum entity_type type; // 0x0
struct position pos; // 0x4
struct position prev_pos; // 0x8
struct pixel_position pixel_pos; // 0xC
struct pixel_position pixel_pos; // 0xC: Shifted left by 8
struct pixel_position pixel_pos_mirror; // 0x14: Monsters only?
// 0x1C: Graphical parameter for evelation above the ground. Last byte behaves weirdly.
int elevation;
Expand Down Expand Up @@ -2577,7 +2579,7 @@ struct dungeon_button_input {
};
ASSERT_SIZE(struct dungeon_button_input, 14);

struct secret_bazaar_dialogue_info {
struct dungeon_dialogue_info {
undefined field_0x0[16];
int8_t dialogue_window_id; // 0x10
int8_t menu_window_id; // 0x11
Expand All @@ -2599,7 +2601,7 @@ struct secret_bazaar_dialogue_info {
struct simple_menu_id_item* menu_items; // 0x470
undefined4 field_0x474;
};
ASSERT_SIZE(struct secret_bazaar_dialogue_info, 1144);
ASSERT_SIZE(struct dungeon_dialogue_info, 1144);

// Temporary struct used by TryRecruit.
struct recruit_info {
Expand Down
14 changes: 14 additions & 0 deletions symbols/arm9.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5021,6 +5021,20 @@ arm9:

r0: animation_control
r1: animation_frame
- name: DisplayAnimationControlCurrentFrame
address:
EU: 0x201C660
description: |-
Displays the current frame of the animation_control struct.

r0: animation_control
- name: DisplayAndSwitchAnimationControlCurrentFrame
address:
EU: 0x201CFF8
description: |-
Displays the current frame of the animation_control struct and switches it afterwards if applicable.

r0: animation_control
- name: FillOamAdjustmentInfo
aliases:
- FillOamAttributeInfo
Expand Down
Loading
Loading