diff options
author | yenatch <yenatch@gmail.com> | 2017-07-05 18:11:34 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-05 18:11:34 -0400 |
commit | 3b3eb45b91c11b47504a80fcd853ec45abbbf445 (patch) | |
tree | 99daa00ca855631af74c92cd9c22dd8ae9c12429 /src/battle_ai.c | |
parent | 5a934970934661298d933a3e55c7cd672f0cda13 (diff) | |
parent | 2bedaf3824d27b6f8b3e3df9ec13604c0c6af749 (diff) |
Merge pull request #346 from ProjectRevoTPP/sound_check_menu
Sound check menu
Diffstat (limited to 'src/battle_ai.c')
-rw-r--r-- | src/battle_ai.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/battle_ai.c b/src/battle_ai.c index 9f95d23f3..d262e69c8 100644 --- a/src/battle_ai.c +++ b/src/battle_ai.c @@ -1990,7 +1990,7 @@ static void BattleAICmd_get_used_item(void) index = gBankTarget; // 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 = ewram[0x160CC + (index * 2)]; + AI_THINKING_STRUCT->funcResult = ewram[MULTI_DIM_ARR(index, B_16, 0x160CC)]; gAIScriptPtr += 2; } |