Skip to content

Commit

Permalink
Sync entity pixel pos funcs from decomp
Browse files Browse the repository at this point in the history
- Fill in region addresses for other new symbols
  • Loading branch information
AnonymousRandomPerson committed Oct 15, 2024
1 parent a36be95 commit 3042e63
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 0 deletions.
2 changes: 2 additions & 0 deletions headers/functions/overlay29.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ struct trap* GetTrapInfo(struct entity* trap_entity);
struct item* GetItemInfo(struct entity* item_entity);
struct tile* GetTileAtEntity(struct entity* entity);
void UpdateEntityPixelPos(struct entity* entity, struct pixel_position* pixel_pos);
void IncrementEntityPixelPosXY(struct entity *entity, uint32_t x, uint32_t y);
void SetEntityPixelPosXY(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);
Expand Down
6 changes: 6 additions & 0 deletions symbols/arm9.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4807,6 +4807,8 @@ arm9:
- name: GetRankString
address:
EU: 0x2024D88
NA: 0x2024AF4
JP: 0x2024B44
description: |-
Gets the string corresponding to the player's current explorer rank.
Expand Down Expand Up @@ -5223,6 +5225,8 @@ arm9:
- name: PrintBadgeMark
address:
EU: 0x202A728
NA: 0x202A434
JP: 0x202A78C
description: |-
Prints the specified badge mark on the screen.
Expand All @@ -5235,6 +5239,8 @@ arm9:
- name: PrintMark
address:
EU: 0x202A750
NA: 0x202A45C
JP: 0x202A7B4
description: |-
Prints a mark from one of the .w16 files in FONT.
Expand Down
18 changes: 18 additions & 0 deletions symbols/overlay29.yml
Original file line number Diff line number Diff line change
Expand Up @@ -381,6 +381,24 @@ overlay29:
r0: Entity pointer
r1: Pixel position to use, or null to use the entity's own position
- name: SetEntityPixelPosXY
description: |-
r0: Entity pointer
r1: x
r2: y
address:
EU: 0x22E23C4
NA: 0x22E1A84
JP: 0x22E3114
- name: IncrementEntityPixelPosXY
description: |-
r0: Entity pointer
r1: x
r2: y
address:
EU: 0x22E23D0
NA: 0x22E1A90
JP: 0x22E3120
- name: CreateEnemyEntity
address:
EU: 0x22E2A00
Expand Down

0 comments on commit 3042e63

Please sign in to comment.