summaryrefslogtreecommitdiff
path: root/src/pokemon_summary_screen.c
diff options
context:
space:
mode:
authorPikalaxALT <pikalaxalt@gmail.com>2021-06-24 16:25:50 -0400
committerPikalaxALT <pikalaxalt@gmail.com>2021-06-24 16:45:00 -0400
commit1138ab2c4450c6aeac1941a346b0b26ff5fe5fd6 (patch)
tree3731a674b0b14628f509af913c3a3a026508173a /src/pokemon_summary_screen.c
parent57f52e8fae45465ef7cb93f407a80ab6efd57ec8 (diff)
Document pokedex.c, 1
Diffstat (limited to 'src/pokemon_summary_screen.c')
-rw-r--r--src/pokemon_summary_screen.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/pokemon_summary_screen.c b/src/pokemon_summary_screen.c
index 3ed7cee56..32b40566c 100644
--- a/src/pokemon_summary_screen.c
+++ b/src/pokemon_summary_screen.c
@@ -126,7 +126,7 @@ extern u8 StorageSystemGetNextMonIndex(struct BoxPokemon *, u8, u8, u8);
extern struct MusicPlayerInfo gMPlayInfo_BGM;
extern u8 gPPUpReadMasks[];
TaskFunc gUnknown_03005CF0;
-extern struct SpriteTemplate gUnknown_02024E8C;
+extern struct SpriteTemplate gCreatingSpriteTemplate;
extern const u8 gStatusPal_Icons[];
extern const u8 gStatusGfx_Icons[];
@@ -1838,7 +1838,7 @@ static u8 SummaryScreen_LoadPokemonSprite(struct Pokemon *mon, u8 *state)
&gMonFrontPicTable[species],
gMonFrontPicCoords[species].coords,
gMonFrontPicCoords[species].y_offset,
- ewram_addr,
+ (void *)EWRAM,
gMonSpriteGfx_Sprite_ptr[1],
species,
personality);
@@ -3988,7 +3988,7 @@ u8 SummaryScreen_CreatePokemonSprite(struct Pokemon *mon)
u8 spriteId;
species = GetMonData(mon, MON_DATA_SPECIES2);
- spriteId = CreateSprite(&gUnknown_02024E8C, 40, 64, 5);
+ spriteId = CreateSprite(&gCreatingSpriteTemplate, 40, 64, 5);
FreeSpriteOamMatrix(&gSprites[spriteId]);