summaryrefslogtreecommitdiff
path: root/src/pokemon/pokemon_3.c
diff options
context:
space:
mode:
authorProjectRevoTPP <projectrevotpp@hotmail.com>2017-11-04 21:44:50 -0400
committerProjectRevoTPP <projectrevotpp@hotmail.com>2017-11-04 21:44:50 -0400
commit003d16e7a178e440c41f2bca365bf8f8f2a60b0e (patch)
tree2976739dd7cb4460a276192a5878071209a3e5b4 /src/pokemon/pokemon_3.c
parent5b9043daceda790ec5f48938c2d7487e261af9a5 (diff)
finish first wave of fixes
Diffstat (limited to 'src/pokemon/pokemon_3.c')
-rw-r--r--src/pokemon/pokemon_3.c4
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;