summaryrefslogtreecommitdiff
path: root/src/engine/link.c
diff options
context:
space:
mode:
authorProjectRevoTPP <projectrevotpp@hotmail.com>2017-12-21 13:25:12 -0500
committerProjectRevoTPP <projectrevotpp@hotmail.com>2017-12-21 13:25:12 -0500
commit0f116854b2408ea7750e9c3f8da4d4ea2a3e0d38 (patch)
tree38bb9b6d56ea6c60be2087e9ff4e76b82c6a8d1b /src/engine/link.c
parent272cd213391b5ce87cb2aeac263b3eedb0f19a07 (diff)
parent85a8e5f1ded5a0a2354916617dd0b82091a42ee0 (diff)
Merge branch 'master' of https://github.com/pret/pokeruby into assert
Diffstat (limited to 'src/engine/link.c')
-rw-r--r--src/engine/link.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/engine/link.c b/src/engine/link.c
index 27afef937..28323207c 100644
--- a/src/engine/link.c
+++ b/src/engine/link.c
@@ -635,7 +635,7 @@ static void BuildSendCmd(u16 code)
break;
case 0xAAAB:
gSendCmd[0] = 0xAAAB;
- gSendCmd[1] = gScriptItemId;
+ gSendCmd[1] = gSpecialVar_ItemId;
break;
case 0xCCCC:
gSendCmd[0] = 0xCCCC;