summaryrefslogtreecommitdiff
path: root/arm9/src/script_buffers.c
diff options
context:
space:
mode:
authorRevo <projectrevotpp@hotmail.com>2021-03-21 01:03:04 -0400
committerGitHub <noreply@github.com>2021-03-21 01:03:04 -0400
commitc4c114fd45f74764d07860bace7257c00478a477 (patch)
tree2e9eca18cda8c2c4afe4db01f26a6448fab22ffa /arm9/src/script_buffers.c
parenta3f1dea5a8c95830cd767c6385c871b53a2d02f5 (diff)
parente2efdddfacd3c9453fda373d83e5078cd4f25a09 (diff)
Merge branch 'master' into asmproc-relocations
Diffstat (limited to 'arm9/src/script_buffers.c')
-rw-r--r--arm9/src/script_buffers.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arm9/src/script_buffers.c b/arm9/src/script_buffers.c
index 293c0bac..e9a55051 100644
--- a/arm9/src/script_buffers.c
+++ b/arm9/src/script_buffers.c
@@ -130,7 +130,7 @@ void BufferPlayersName(struct ScrStrBufs * mgr, u32 idx, struct PlayerData * dat
void BufferRivalsName(struct ScrStrBufs * mgr, u32 idx, struct SaveBlock2 * sav2)
{
- u16 * name = FUN_02024EE8(FUN_02024EC0(sav2));
+ u16 * name = GetRivalNamePtr(FUN_02024EC0(sav2));
CopyU16ArrayToString(mgr->tmpbuf, name);
SetStringAsPlaceholder(mgr, idx, mgr->tmpbuf, NULL);
}