diff options
author | ProjectRevoTPP <projectrevotpp@hotmail.com> | 2017-11-04 21:44:50 -0400 |
---|---|---|
committer | ProjectRevoTPP <projectrevotpp@hotmail.com> | 2017-11-04 21:44:50 -0400 |
commit | 003d16e7a178e440c41f2bca365bf8f8f2a60b0e (patch) | |
tree | 2976739dd7cb4460a276192a5878071209a3e5b4 /src/pokemon/pokemon_3.c | |
parent | 5b9043daceda790ec5f48938c2d7487e261af9a5 (diff) |
finish first wave of fixes
Diffstat (limited to 'src/pokemon/pokemon_3.c')
-rw-r--r-- | src/pokemon/pokemon_3.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pokemon/pokemon_3.c b/src/pokemon/pokemon_3.c index e9fb30415..9c2cb4730 100644 --- a/src/pokemon/pokemon_3.c +++ b/src/pokemon/pokemon_3.c @@ -203,7 +203,7 @@ void sub_803F324(int stat) u8 *sub_803F378(u16 itemId) { int i; - u8 *itemEffect; + const u8 *itemEffect; if (itemId == ITEM_ENIGMA_BERRY) { @@ -218,7 +218,7 @@ u8 *sub_803F378(u16 itemId) } else { - itemEffect = (u8 *) gItemEffectTable[itemId - 13]; + itemEffect = gItemEffectTable[itemId - 13]; } gStringBank = gBankInMenu; |