summaryrefslogtreecommitdiff
path: root/src/trade.c
diff options
context:
space:
mode:
authorPikalaxALT <pikalaxalt@gmail.com>2020-02-03 16:41:25 -0500
committerPikalaxALT <pikalaxalt@gmail.com>2020-02-03 16:41:25 -0500
commit7bd0a83d359beafc69a1a63cb51b11e98186a292 (patch)
tree1993b16281eea96f2850e36a958d7cfd3db0a4d7 /src/trade.c
parentd522588538e39b8d8a6dc47b557dcc4ae322a093 (diff)
I'm so original with these commit names
Diffstat (limited to 'src/trade.c')
-rw-r--r--src/trade.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/trade.c b/src/trade.c
index fe5f53be9..b851d2093 100644
--- a/src/trade.c
+++ b/src/trade.c
@@ -2746,7 +2746,7 @@ int GetUnionRoomTradeMessageId(struct GFtgtGnameSub a0, struct GFtgtGnameSub a1,
u8 r4 = a0.isChampion;
u8 r10 = a1.hasNationalDex;
u8 r0 = a1.isChampion;
- u8 r1 = a1.unk_01_2;
+ u8 r1 = a1.version;
u8 r2;
if (r1 == VERSION_FIRE_RED || r1 == VERSION_LEAF_GREEN)