diff options
author | yenatch <yenatch@gmail.com> | 2017-06-14 21:48:44 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-14 21:48:44 -0400 |
commit | daf3212ee1f2e790441c6c4651559c8aee5472b2 (patch) | |
tree | a27705ab196c9d45c03b5d2efad4dde79eaed69a /src/battle_ai.c | |
parent | 48a15638c63f2b3d4b2d12d346e466ddca006570 (diff) | |
parent | 373dfb57102675130ab714ba9e21bd41c7b74795 (diff) |
Merge pull request #319 from camthesaxman/decompile_battle_7
decompile battle_7
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 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; } |