diff --git a/src/item_use.c b/src/item_use.c index c0c2866018..cf5ca5b222 100755 --- a/src/item_use.c +++ b/src/item_use.c @@ -922,19 +922,19 @@ void ItemUseInBattle_PokeBall(u8 taskId) if (IsBattlerAlive(GetBattlerAtPosition(B_POSITION_OPPONENT_LEFT)) && IsBattlerAlive(GetBattlerAtPosition(B_POSITION_OPPONENT_RIGHT))) // There are two present pokemon. { - u8 textCantThrowPokeBall[] = _("Cannot throw a ball!\nThere are two pokemon out there!\p"); + static const u8 textCantThrowPokeBall[] = _("Cannot throw a ball!\nThere are two pokemon out there!\p"); if (!InBattlePyramid()) - DisplayItemMessage(taskId, 1, textCantThrowPokeBall, bag_menu_inits_lists_menu); + DisplayItemMessage(taskId, 1, textCantThrowPokeBall, BagMenu_InitListsMenu); else DisplayItemMessageInBattlePyramid(taskId, textCantThrowPokeBall, sub_81C6714); } else if (gBattlerInMenuId == GetBattlerAtPosition(B_POSITION_PLAYER_RIGHT)) // Attempting to throw a ball with the second pokemon. { - u8 textCantThrowPokeBall[] = _("Cannot throw a ball!\p"); + static const u8 textCantThrowPokeBall[] = _("Cannot throw a ball!\p"); if (!InBattlePyramid()) - DisplayItemMessage(taskId, 1, textCantThrowPokeBall, bag_menu_inits_lists_menu); + DisplayItemMessage(taskId, 1, textCantThrowPokeBall, BagMenu_InitListsMenu); else DisplayItemMessageInBattlePyramid(taskId, textCantThrowPokeBall, sub_81C6714); }