summaryrefslogtreecommitdiff
path: root/src/battle_ai.c
diff options
context:
space:
mode:
authorPikalaxALT <pikalaxalt@gmail.com>2017-06-14 21:59:09 -0400
committerPikalaxALT <pikalaxalt@gmail.com>2017-06-14 21:59:09 -0400
commit8219bb53d59c426de31c43ec3a045b61d7108798 (patch)
tree4df07e04c1271bcd5073c3ef268378c57458ebee /src/battle_ai.c
parentfb18a31ae9174cb040255bad900c2df3f94e41ac (diff)
parentdaf3212ee1f2e790441c6c4651559c8aee5472b2 (diff)
Merge branch 'master' of 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;
}