diff options
author | camthesaxman <cameronghall@cox.net> | 2017-06-10 12:56:59 -0500 |
---|---|---|
committer | camthesaxman <cameronghall@cox.net> | 2017-06-10 12:56:59 -0500 |
commit | 16db220259f321860e503282db86837124f3c66a (patch) | |
tree | ac49bbf99e9b6603fbc1f381e1d0b55f53e3d485 /src/battle_ai.c | |
parent | a46403232f325b0c7da93562376fe63887f8e7db (diff) |
move some common battle struct definitions to battle.h
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; } |