diff options
author | Cameron Hall <camthesaxman@users.noreply.github.com> | 2017-01-24 22:31:44 -0600 |
---|---|---|
committer | YamaArashi <YamaArashi@users.noreply.github.com> | 2017-01-24 20:31:44 -0800 |
commit | 9442bdcbf3abf3e44d2829ec72bfe23649c7d8ac (patch) | |
tree | f29295a7bb462df130b9269b66857d778fa56aac /src/rom4.c | |
parent | 3f2ea6a1f076575d0c61ca0b71917704e38f6dd7 (diff) |
decompile more of naming_screen (#216)
* decompile more code
* incbin graphics data
* decompile more code
Diffstat (limited to 'src/rom4.c')
-rw-r--r-- | src/rom4.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rom4.c b/src/rom4.c index 621dd203b..bc9af5c66 100644 --- a/src/rom4.c +++ b/src/rom4.c @@ -2542,7 +2542,7 @@ void CreateLinkPlayerSprite(u8 linkPlayerId) if (linkPlayerMapObj->active) { - u8 val = sub_805983C(0, mapObj->mapobj_bit_1); + u8 val = GetRivalAvatarGraphicsIdByStateIdAndGender(0, mapObj->mapobj_bit_1); mapObj->spriteId = AddPseudoFieldObject(val, SpriteCB_LinkPlayer, 0, 0, 0); sprite = &gSprites[mapObj->spriteId]; sprite->coordOffsetEnabled = TRUE; |