summaryrefslogtreecommitdiff
path: root/src/mori_debug_menu.c
diff options
context:
space:
mode:
authorMarijn van der Werf <marijn.vanderwerf@gmail.com>2016-12-03 04:02:05 +0100
committerMarijn van der Werf <marijn.vanderwerf@gmail.com>2016-12-04 11:48:29 +0100
commitccbdc1c6ab1fa53382ecd84a0b801d97b3f57f99 (patch)
treeaea2ce2ff5fc8cd4be1a767aaffc529d9483be38 /src/mori_debug_menu.c
parent32fa3b735ac79bae1386a921103cd0af2ae9244a (diff)
Fix warning in mori_debug_menu.c
Diffstat (limited to 'src/mori_debug_menu.c')
-rw-r--r--src/mori_debug_menu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mori_debug_menu.c b/src/mori_debug_menu.c
index fd253d0a6..fbb796ca4 100644
--- a/src/mori_debug_menu.c
+++ b/src/mori_debug_menu.c
@@ -105,7 +105,7 @@ s8 MoriDebugMenu_BreedEgg(void)
s8 MoriDebugMenu_LongName(void)
{
- SetMonData(gPlayerParty, 2, &gUnknown_0839B257);
+ SetMonData(gPlayerParty, MON_DATA_NICKNAME, gUnknown_0839B257);
sub_8071C20();
return 1;
}