summaryrefslogtreecommitdiff
path: root/src/battle_ai.c
diff options
context:
space:
mode:
authorProjectRevoTPP <projectrevotpp@hotmail.com>2017-06-14 21:55:35 -0400
committerProjectRevoTPP <projectrevotpp@hotmail.com>2017-06-14 21:55:35 -0400
commit07080a6e5921f7844decac66ac36e2a5296ff778 (patch)
tree91ee5276494ed423b3c3cd1344a9d0444a418dee /src/battle_ai.c
parentb3dc66655ec1f5ebc822424c2f8094de2bea70cc (diff)
parentdaf3212ee1f2e790441c6c4651559c8aee5472b2 (diff)
Merge branch 'master' of https://github.com/pret/pokeruby
Diffstat (limited to 'src/battle_ai.c')
-rw-r--r--src/battle_ai.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/battle_ai.c b/src/battle_ai.c
index dbd926000..4f00cc7cb 100644
--- a/src/battle_ai.c
+++ b/src/battle_ai.c
@@ -1998,7 +1998,7 @@ static void BattleAICmd_get_item(void)
index = gEnemyMonIndex;
// this hack and a half matches. whatever. i dont care. someone else fix this mess later. PS: still cant fix this.
- AI_THINKING_STRUCT->funcResult = unk_2000000[0x160CC + (index * 2)];
+ AI_THINKING_STRUCT->funcResult = ewram[0x160CC + (index * 2)];
gAIScriptPtr += 2;
}