Update src/item_use.c
Co-authored-by: LOuroboros <lunosouroboros@gmail.com>
This commit is contained in:
parent
2f61407c78
commit
5fed45e40b
1 changed files with 2 additions and 1 deletions
|
@ -983,7 +983,8 @@ static const u8 sText_CantThrowPokeBall_SemiInvulnerable[] = _("Cannot throw a b
|
||||||
void ItemUseInBattle_PokeBall(u8 taskId)
|
void ItemUseInBattle_PokeBall(u8 taskId)
|
||||||
{
|
{
|
||||||
#if TX_DEBUG_SYSTEM == TRUE
|
#if TX_DEBUG_SYSTEM == TRUE
|
||||||
if (FlagGet(FLAG_SYS_NO_CATCHING)){
|
if (FlagGet(FLAG_SYS_NO_CATCHING))
|
||||||
|
{
|
||||||
static const u8 sText_BallsCannotBeUsed[] = _("Poké Balls cannot be used\nright now!\p");
|
static const u8 sText_BallsCannotBeUsed[] = _("Poké Balls cannot be used\nright now!\p");
|
||||||
DisplayItemMessage(taskId, 1, sText_BallsCannotBeUsed, CloseItemMessage);
|
DisplayItemMessage(taskId, 1, sText_BallsCannotBeUsed, CloseItemMessage);
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in a new issue