summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMarcus Huderle <huderlem@gmail.com>2018-05-09 20:15:22 -0700
committerMarcus Huderle <huderlem@gmail.com>2018-05-09 20:27:03 -0700
commit43f7bec067280fd558f0e6b824302954a145df9c (patch)
tree959f2dbde54a884aa8a8aa93fadbc24e04a8b0b5 /src
parent37f5080ea893b79867726aad92425514e866a5dc (diff)
Misc labeling and cleanup, mostly item-related
Diffstat (limited to 'src')
-rw-r--r--src/berry.c13
-rw-r--r--src/data/items_de.h698
-rw-r--r--src/data/items_en.h698
-rw-r--r--src/heal_location.c6
-rw-r--r--src/item.c218
-rw-r--r--src/item_menu.c40
6 files changed, 754 insertions, 919 deletions
diff --git a/src/berry.c b/src/berry.c
index 16b5b2b22..349703299 100644
--- a/src/berry.c
+++ b/src/berry.c
@@ -1,4 +1,5 @@
#include "global.h"
+#include "constants/items.h"
#include "berry.h"
#include "field_control_avatar.h"
#include "event_object_movement.h"
@@ -6,24 +7,12 @@
#include "item.h"
#include "item_menu.h"
#include "item_use.h"
-#include "constants/items.h"
#include "main.h"
#include "menu.h"
#include "random.h"
#include "task.h"
#include "text.h"
-#define BERRY_NAME_LENGTH 6
-#define BERRY_REGROW_LIMIT 10
-#define MAX_BERRY_TREES 128
-
-#define BERRY_NONE 0
-#define FIRST_BERRY ITEM_CHERI_BERRY
-#define LAST_BERRY ITEM_ENIGMA_BERRY
-
-#define GETBERRYID(berry) ((berry - FIRST_BERRY) + 1)
-#define GETITEMID(berry) ((berry + FIRST_BERRY) - 1)
-
#ifdef ENGLISH
#define NAME_CHERI_BERRY _("CHERI")
#define NAME_CHESTO_BERRY _("CHESTO")
diff --git a/src/data/items_de.h b/src/data/items_de.h
index 92304e8b0..47227f2a1 100644
--- a/src/data/items_de.h
+++ b/src/data/items_de.h
@@ -8,7 +8,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Dummy,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -24,7 +24,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_MasterBall,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_POKE_BALLS,
.type = 0,
.fieldUseFunc = NULL,
@@ -40,7 +40,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_UltraBall,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_POKE_BALLS,
.type = 1,
.fieldUseFunc = NULL,
@@ -56,7 +56,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_GreatBall,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_POKE_BALLS,
.type = 2,
.fieldUseFunc = NULL,
@@ -72,7 +72,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_PokeBall,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_POKE_BALLS,
.type = 3,
.fieldUseFunc = NULL,
@@ -88,7 +88,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_SafariBall,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_POKE_BALLS,
.type = 4,
.fieldUseFunc = NULL,
@@ -104,7 +104,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_NetBall,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_POKE_BALLS,
.type = 5,
.fieldUseFunc = NULL,
@@ -120,7 +120,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_DiveBall,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_POKE_BALLS,
.type = 6,
.fieldUseFunc = NULL,
@@ -136,7 +136,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_NestBall,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_POKE_BALLS,
.type = 7,
.fieldUseFunc = NULL,
@@ -152,7 +152,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_RepeatBall,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_POKE_BALLS,
.type = 8,
.fieldUseFunc = NULL,
@@ -168,7 +168,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_TimerBall,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_POKE_BALLS,
.type = 9,
.fieldUseFunc = NULL,
@@ -184,7 +184,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_LuxuryBall,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_POKE_BALLS,
.type = 10,
.fieldUseFunc = NULL,
@@ -200,7 +200,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_PremierBall,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_POKE_BALLS,
.type = 11,
.fieldUseFunc = NULL,
@@ -216,7 +216,7 @@ const struct Item gItems[] =
.holdEffectParam = 20,
.description = gItemDescription_Potion,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_Medicine,
@@ -232,7 +232,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Antidote,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_Medicine,
@@ -248,7 +248,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_BurnHeal,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_Medicine,
@@ -264,7 +264,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_IceHeal,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_Medicine,
@@ -280,7 +280,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Awakening,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_Medicine,
@@ -296,7 +296,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_ParalyzeHeal,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_Medicine,
@@ -312,7 +312,7 @@ const struct Item gItems[] =
.holdEffectParam = 255,
.description = gItemDescription_FullRestore,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_Medicine,
@@ -328,7 +328,7 @@ const struct Item gItems[] =
.holdEffectParam = 255,
.description = gItemDescription_MaxPotion,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_Medicine,
@@ -344,7 +344,7 @@ const struct Item gItems[] =
.holdEffectParam = 200,
.description = gItemDescription_HyperPotion,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_Medicine,
@@ -360,7 +360,7 @@ const struct Item gItems[] =
.holdEffectParam = 50,
.description = gItemDescription_SuperPotion,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_Medicine,
@@ -376,7 +376,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_FullHeal,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_Medicine,
@@ -392,7 +392,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Revive,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_Medicine,
@@ -408,7 +408,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_MaxRevive,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_Medicine,
@@ -424,7 +424,7 @@ const struct Item gItems[] =
.holdEffectParam = 50,
.description = gItemDescription_FreshWater,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_Medicine,
@@ -440,7 +440,7 @@ const struct Item gItems[] =
.holdEffectParam = 60,
.description = gItemDescription_SodaPop,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_Medicine,
@@ -456,7 +456,7 @@ const struct Item gItems[] =
.holdEffectParam = 80,
.description = gItemDescription_Lemonade,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_Medicine,
@@ -472,7 +472,7 @@ const struct Item gItems[] =
.holdEffectParam = 100,
.description = gItemDescription_MoomooMilk,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_Medicine,
@@ -488,7 +488,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_EnergyPowder,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_Medicine,
@@ -504,7 +504,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_EnergyRoot,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_Medicine,
@@ -520,7 +520,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_HealPowder,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_Medicine,
@@ -536,7 +536,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_RevivalHerb,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_Medicine,
@@ -552,7 +552,7 @@ const struct Item gItems[] =
.holdEffectParam = 10,
.description = gItemDescription_Ether,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_PPRecovery,
@@ -568,7 +568,7 @@ const struct Item gItems[] =
.holdEffectParam = 255,
.description = gItemDescription_MaxEther,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_PPRecovery,
@@ -584,7 +584,7 @@ const struct Item gItems[] =
.holdEffectParam = 10,
.description = gItemDescription_Elixir,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_PPRecovery,
@@ -600,7 +600,7 @@ const struct Item gItems[] =
.holdEffectParam = 255,
.description = gItemDescription_MaxElixir,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_PPRecovery,
@@ -616,7 +616,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_LavaCookie,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_Medicine,
@@ -632,7 +632,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_BlueFlute,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_Medicine,
@@ -648,7 +648,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_YellowFlute,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -664,7 +664,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_RedFlute,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -680,7 +680,7 @@ const struct Item gItems[] =
.holdEffectParam = 50,
.description = gItemDescription_BlackFlute,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_BlackWhiteFlute,
@@ -696,7 +696,7 @@ const struct Item gItems[] =
.holdEffectParam = 150,
.description = gItemDescription_WhiteFlute,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_BlackWhiteFlute,
@@ -712,7 +712,7 @@ const struct Item gItems[] =
.holdEffectParam = 20,
.description = gItemDescription_BerryJuice,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_Medicine,
@@ -728,7 +728,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_SacredAsh,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_SacredAsh,
@@ -744,7 +744,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_ShoalSalt,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -760,7 +760,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_ShoalShell,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -776,7 +776,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_RedShard,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -792,7 +792,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_BlueShard,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -808,7 +808,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_YellowShard,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -824,7 +824,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_GreenShard,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -840,7 +840,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Dummy,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -856,7 +856,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Dummy,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -872,7 +872,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Dummy,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -888,7 +888,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Dummy,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -904,7 +904,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Dummy,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -920,7 +920,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Dummy,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -936,7 +936,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Dummy,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -952,7 +952,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Dummy,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -968,7 +968,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Dummy,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -984,7 +984,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Dummy,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -1000,7 +1000,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Dummy,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -1016,7 +1016,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_HPUp,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_Medicine,
@@ -1032,7 +1032,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Protein,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_Medicine,
@@ -1048,7 +1048,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Iron,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_Medicine,
@@ -1064,7 +1064,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Carbos,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_Medicine,
@@ -1080,7 +1080,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Calcium,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_Medicine,
@@ -1096,7 +1096,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_RareCandy,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_RareCandy,
@@ -1112,7 +1112,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_PPUp,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_PPUp,
@@ -1128,7 +1128,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Zinc,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_Medicine,
@@ -1144,7 +1144,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_PPMax,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_PPUp,
@@ -1160,7 +1160,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Dummy,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -1176,7 +1176,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_GuardSpec,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -1192,7 +1192,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_DireHit,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -1208,7 +1208,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_XAttack,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -1224,7 +1224,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_XDefend,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -1240,7 +1240,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_XSpeed,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -1256,7 +1256,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_XAccuracy,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -1272,7 +1272,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_XSpecial,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -1288,7 +1288,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_PokeDoll,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -1304,7 +1304,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_FluffyTail,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -1320,7 +1320,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Dummy,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -1336,7 +1336,7 @@ const struct Item gItems[] =
.holdEffectParam = 200,
.description = gItemDescription_SuperRepel,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_Repel,
@@ -1352,7 +1352,7 @@ const struct Item gItems[] =
.holdEffectParam = 250,
.description = gItemDescription_MaxRepel,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_Repel,
@@ -1368,7 +1368,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_EscapeRope,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 2,
.fieldUseFunc = ItemUseOutOfBattle_EscapeRope,
@@ -1384,7 +1384,7 @@ const struct Item gItems[] =
.holdEffectParam = 100,
.description = gItemDescription_Repel,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_Repel,
@@ -1400,7 +1400,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Dummy,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -1416,7 +1416,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Dummy,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -1432,7 +1432,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Dummy,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -1448,7 +1448,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Dummy,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -1464,7 +1464,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Dummy,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -1480,7 +1480,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Dummy,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -1496,7 +1496,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_SunStone,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_EvolutionStone,
@@ -1512,7 +1512,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_MoonStone,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_EvolutionStone,
@@ -1528,7 +1528,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_FireStone,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_EvolutionStone,
@@ -1544,7 +1544,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_ThunderStone,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_EvolutionStone,
@@ -1560,7 +1560,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_WaterStone,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_EvolutionStone,
@@ -1576,7 +1576,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_LeafStone,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_EvolutionStone,
@@ -1592,7 +1592,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Dummy,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -1608,7 +1608,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Dummy,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -1624,7 +1624,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Dummy,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -1640,7 +1640,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Dummy,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -1656,7 +1656,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_TinyMushroom,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -1672,7 +1672,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_BigMushroom,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -1688,7 +1688,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Dummy,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -1704,7 +1704,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Pearl,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -1720,7 +1720,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_BigPearl,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -1736,7 +1736,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Stardust,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -1752,7 +1752,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_StarPiece,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -1768,7 +1768,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Nugget,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -1784,7 +1784,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_HeartScale,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -1800,7 +1800,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Dummy,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -1816,7 +1816,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Dummy,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -1832,7 +1832,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Dummy,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -1848,7 +1848,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Dummy,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -1864,7 +1864,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Dummy,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -1880,7 +1880,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Dummy,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -1896,7 +1896,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Dummy,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -1912,7 +1912,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Dummy,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -1928,7 +1928,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Dummy,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -1944,7 +1944,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_OrangeMail,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 0,
.fieldUseFunc = ItemUseOutOfBattle_Mail,
@@ -1960,7 +1960,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_HarborMail,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 0,
.fieldUseFunc = ItemUseOutOfBattle_Mail,
@@ -1976,7 +1976,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_GlitterMail,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 0,
.fieldUseFunc = ItemUseOutOfBattle_Mail,
@@ -1992,7 +1992,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_MechMail,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 0,
.fieldUseFunc = ItemUseOutOfBattle_Mail,
@@ -2008,7 +2008,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_WoodMail,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 0,
.fieldUseFunc = ItemUseOutOfBattle_Mail,
@@ -2024,7 +2024,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_WaveMail,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 0,
.fieldUseFunc = ItemUseOutOfBattle_Mail,
@@ -2040,7 +2040,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_BeadMail,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 0,
.fieldUseFunc = ItemUseOutOfBattle_Mail,
@@ -2056,7 +2056,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_ShadowMail,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 0,
.fieldUseFunc = ItemUseOutOfBattle_Mail,
@@ -2072,7 +2072,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_TropicMail,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 0,
.fieldUseFunc = ItemUseOutOfBattle_Mail,
@@ -2088,7 +2088,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_DreamMail,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 0,
.fieldUseFunc = ItemUseOutOfBattle_Mail,
@@ -2104,7 +2104,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_FabMail,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 0,
.fieldUseFunc = ItemUseOutOfBattle_Mail,
@@ -2120,7 +2120,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_RetroMail,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 0,
.fieldUseFunc = ItemUseOutOfBattle_Mail,
@@ -2136,7 +2136,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_CheriBerry,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_BERRIES,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_Medicine,
@@ -2152,7 +2152,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_ChestoBerry,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_BERRIES,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_Medicine,
@@ -2168,7 +2168,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_PechaBerry,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_BERRIES,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_Medicine,
@@ -2184,7 +2184,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_RawstBerry,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_BERRIES,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_Medicine,
@@ -2200,7 +2200,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_AspearBerry,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_BERRIES,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_Medicine,
@@ -2216,7 +2216,7 @@ const struct Item gItems[] =
.holdEffectParam = 10,
.description = gItemDescription_LeppaBerry,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_BERRIES,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_PPRecovery,
@@ -2232,7 +2232,7 @@ const struct Item gItems[] =
.holdEffectParam = 10,
.description = gItemDescription_OranBerry,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_BERRIES,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_Medicine,
@@ -2248,7 +2248,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_PersimBerry,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_BERRIES,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -2264,7 +2264,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_LumBerry,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_BERRIES,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_Medicine,
@@ -2280,7 +2280,7 @@ const struct Item gItems[] =
.holdEffectParam = 30,
.description = gItemDescription_SitrusBerry,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_BERRIES,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_Medicine,
@@ -2296,7 +2296,7 @@ const struct Item gItems[] =
.holdEffectParam = 8,
.description = gItemDescription_FigyBerry,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_BERRIES,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -2312,7 +2312,7 @@ const struct Item gItems[] =
.holdEffectParam = 8,
.description = gItemDescription_WikiBerry,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_BERRIES,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -2328,7 +2328,7 @@ const struct Item gItems[] =
.holdEffectParam = 8,
.description = gItemDescription_MagoBerry,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_BERRIES,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -2344,7 +2344,7 @@ const struct Item gItems[] =
.holdEffectParam = 8,
.description = gItemDescription_AguavBerry,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_BERRIES,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -2360,7 +2360,7 @@ const struct Item gItems[] =
.holdEffectParam = 8,
.description = gItemDescription_IapapaBerry,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_BERRIES,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -2376,7 +2376,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_RazzBerry,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_BERRIES,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -2392,7 +2392,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_BlukBerry,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_BERRIES,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -2408,7 +2408,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_NanabBerry,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_BERRIES,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -2424,7 +2424,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_WepearBerry,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_BERRIES,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -2440,7 +2440,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_PinapBerry,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_BERRIES,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -2456,7 +2456,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_PomegBerry,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_BERRIES,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -2472,7 +2472,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_KelpsyBerry,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_BERRIES,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -2488,7 +2488,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_QualotBerry,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_BERRIES,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -2504,7 +2504,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_HondewBerry,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_BERRIES,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -2520,7 +2520,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_GrepaBerry,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_BERRIES,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -2536,7 +2536,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_TamatoBerry,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_BERRIES,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -2552,7 +2552,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_CornnBerry,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_BERRIES,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -2568,7 +2568,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_MagostBerry,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_BERRIES,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -2584,7 +2584,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_RabutaBerry,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_BERRIES,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -2600,7 +2600,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_NomelBerry,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_BERRIES,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -2616,7 +2616,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_SpelonBerry,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_BERRIES,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -2632,7 +2632,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_PamtreBerry,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_BERRIES,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -2648,7 +2648,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_WatmelBerry,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_BERRIES,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -2664,7 +2664,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_DurinBerry,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_BERRIES,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -2680,7 +2680,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_BelueBerry,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_BERRIES,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -2696,7 +2696,7 @@ const struct Item gItems[] =
.holdEffectParam = 4,
.description = gItemDescription_LiechiBerry,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_BERRIES,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -2712,7 +2712,7 @@ const struct Item gItems[] =
.holdEffectParam = 4,
.description = gItemDescription_GanlonBerry,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_BERRIES,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -2728,7 +2728,7 @@ const struct Item gItems[] =
.holdEffectParam = 4,
.description = gItemDescription_SalacBerry,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_BERRIES,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -2744,7 +2744,7 @@ const struct Item gItems[] =
.holdEffectParam = 4,
.description = gItemDescription_PetayaBerry,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_BERRIES,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -2760,7 +2760,7 @@ const struct Item gItems[] =
.holdEffectParam = 4,
.description = gItemDescription_ApicotBerry,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_BERRIES,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -2776,7 +2776,7 @@ const struct Item gItems[] =
.holdEffectParam = 4,
.description = gItemDescription_LansatBerry,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_BERRIES,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -2792,7 +2792,7 @@ const struct Item gItems[] =
.holdEffectParam = 4,
.description = gItemDescription_StarfBerry,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_BERRIES,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -2808,7 +2808,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_EnigmaBerry,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_BERRIES,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_EnigmaBerry,
@@ -2824,7 +2824,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Dummy,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -2840,7 +2840,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Dummy,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -2856,7 +2856,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Dummy,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -2872,7 +2872,7 @@ const struct Item gItems[] =
.holdEffectParam = 10,
.description = gItemDescription_BrightPowder,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -2888,7 +2888,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_WhiteHerb,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -2904,7 +2904,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_MachoBrace,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -2920,7 +2920,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_ExpShare,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -2936,7 +2936,7 @@ const struct Item gItems[] =
.holdEffectParam = 20,
.description = gItemDescription_QuickClaw,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -2952,7 +2952,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_SootheBell,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -2968,7 +2968,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_MentalHerb,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -2984,7 +2984,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_ChoiceBand,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -3000,7 +3000,7 @@ const struct Item gItems[] =
.holdEffectParam = 10,
.description = gItemDescription_KingsRock,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -3016,7 +3016,7 @@ const struct Item gItems[] =
.holdEffectParam = 10,
.description = gItemDescription_SilverPowder,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -3032,7 +3032,7 @@ const struct Item gItems[] =
.holdEffectParam = 10,
.description = gItemDescription_AmuletCoin,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -3048,7 +3048,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_CleanseTag,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -3064,7 +3064,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_SoulDew,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -3080,7 +3080,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_DeepSeaTooth,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -3096,7 +3096,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_DeepSeaScale,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -3112,7 +3112,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_SmokeBall,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -3128,7 +3128,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Everstone,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -3144,7 +3144,7 @@ const struct Item gItems[] =
.holdEffectParam = 10,
.description = gItemDescription_FocusBand,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -3160,7 +3160,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_LuckyEgg,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -3176,7 +3176,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_ScopeLens,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -3192,7 +3192,7 @@ const struct Item gItems[] =
.holdEffectParam = 10,
.description = gItemDescription_MetalCoat,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -3208,7 +3208,7 @@ const struct Item gItems[] =
.holdEffectParam = 10,
.description = gItemDescription_Leftovers,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -3224,7 +3224,7 @@ const struct Item gItems[] =
.holdEffectParam = 10,
.description = gItemDescription_DragonScale,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -3240,7 +3240,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_LightBall,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -3256,7 +3256,7 @@ const struct Item gItems[] =
.holdEffectParam = 10,
.description = gItemDescription_SoftSand,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -3272,7 +3272,7 @@ const struct Item gItems[] =
.holdEffectParam = 10,
.description = gItemDescription_HardStone,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -3288,7 +3288,7 @@ const struct Item gItems[] =
.holdEffectParam = 10,
.description = gItemDescription_MiracleSeed,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -3304,7 +3304,7 @@ const struct Item gItems[] =
.holdEffectParam = 10,
.description = gItemDescription_BlackGlasses,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -3320,7 +3320,7 @@ const struct Item gItems[] =
.holdEffectParam = 10,
.description = gItemDescription_BlackBelt,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -3336,7 +3336,7 @@ const struct Item gItems[] =
.holdEffectParam = 10,
.description = gItemDescription_Magnet,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -3352,7 +3352,7 @@ const struct Item gItems[] =
.holdEffectParam = 10,
.description = gItemDescription_MysticWater,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -3368,7 +3368,7 @@ const struct Item gItems[] =
.holdEffectParam = 10,
.description = gItemDescription_SharpBeak,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -3384,7 +3384,7 @@ const struct Item gItems[] =
.holdEffectParam = 10,
.description = gItemDescription_PoisonBarb,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -3400,7 +3400,7 @@ const struct Item gItems[] =
.holdEffectParam = 10,
.description = gItemDescription_NeverMeltIce,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -3416,7 +3416,7 @@ const struct Item gItems[] =
.holdEffectParam = 10,
.description = gItemDescription_SpellTag,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -3432,7 +3432,7 @@ const struct Item gItems[] =
.holdEffectParam = 10,
.description = gItemDescription_TwistedSpoon,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -3448,7 +3448,7 @@ const struct Item gItems[] =
.holdEffectParam = 10,
.description = gItemDescription_Charcoal,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -3464,7 +3464,7 @@ const struct Item gItems[] =
.holdEffectParam = 10,
.description = gItemDescription_DragonFang,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -3480,7 +3480,7 @@ const struct Item gItems[] =
.holdEffectParam = 10,
.description = gItemDescription_SilkScarf,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -3496,7 +3496,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_UpGrade,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -3512,7 +3512,7 @@ const struct Item gItems[] =
.holdEffectParam = 8,
.description = gItemDescription_ShellBell,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -3528,7 +3528,7 @@ const struct Item gItems[] =
.holdEffectParam = 5,
.description = gItemDescription_SeaIncense,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -3544,7 +3544,7 @@ const struct Item gItems[] =
.holdEffectParam = 5,
.description = gItemDescription_LaxIncense,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -3560,7 +3560,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_LuckyPunch,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -3576,7 +3576,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_MetalPowder,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -3592,7 +3592,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_ThickClub,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -3608,7 +3608,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Stick,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -3624,7 +3624,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Dummy,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -3640,7 +3640,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Dummy,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -3656,7 +3656,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Dummy,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -3672,7 +3672,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Dummy,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -3688,7 +3688,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Dummy,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -3704,7 +3704,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Dummy,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -3720,7 +3720,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Dummy,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -3736,7 +3736,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Dummy,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -3752,7 +3752,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Dummy,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -3768,7 +3768,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Dummy,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -3784,7 +3784,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Dummy,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -3800,7 +3800,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Dummy,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -3816,7 +3816,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Dummy,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -3832,7 +3832,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Dummy,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -3848,7 +3848,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Dummy,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -3864,7 +3864,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Dummy,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -3880,7 +3880,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Dummy,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -3896,7 +3896,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Dummy,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -3912,7 +3912,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Dummy,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -3928,7 +3928,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Dummy,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -3944,7 +3944,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Dummy,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -3960,7 +3960,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Dummy,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -3976,7 +3976,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Dummy,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -3992,7 +3992,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Dummy,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -4008,7 +4008,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Dummy,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -4024,7 +4024,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Dummy,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -4040,7 +4040,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Dummy,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -4056,7 +4056,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Dummy,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -4072,7 +4072,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_RedScarf,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -4088,7 +4088,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_BlueScarf,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -4104,7 +4104,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_PinkScarf,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -4120,7 +4120,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_GreenScarf,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -4136,7 +4136,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_YellowScarf,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -4152,7 +4152,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_MachBike,
.importance = 1,
- .unk19 = 1,
+ .exitsBagOnUse = 1,
.pocket = POCKET_KEY_ITEMS,
.type = 2,
.fieldUseFunc = ItemUseOutOfBattle_Bike,
@@ -4168,7 +4168,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_CoinCase,
.importance = 1,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_KEY_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CoinCase,
@@ -4184,7 +4184,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Itemfinder,
.importance = 1,
- .unk19 = 1,
+ .exitsBagOnUse = 1,
.pocket = POCKET_KEY_ITEMS,
.type = 2,
.fieldUseFunc = ItemUseOutOfBattle_Itemfinder,
@@ -4200,7 +4200,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_OldRod,
.importance = 1,
- .unk19 = 1,
+ .exitsBagOnUse = 1,
.pocket = POCKET_KEY_ITEMS,
.type = 2,
.fieldUseFunc = ItemUseOutOfBattle_Rod,
@@ -4216,7 +4216,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_GoodRod,
.importance = 1,
- .unk19 = 1,
+ .exitsBagOnUse = 1,
.pocket = POCKET_KEY_ITEMS,
.type = 2,
.fieldUseFunc = ItemUseOutOfBattle_Rod,
@@ -4232,7 +4232,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_SuperRod,
.importance = 1,
- .unk19 = 1,
+ .exitsBagOnUse = 1,
.pocket = POCKET_KEY_ITEMS,
.type = 2,
.fieldUseFunc = ItemUseOutOfBattle_Rod,
@@ -4248,7 +4248,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_SSTicket,
.importance = 1,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_KEY_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -4264,7 +4264,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_ContestPass,
.importance = 1,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_KEY_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -4280,7 +4280,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Dummy,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -4296,7 +4296,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_WailmerPail,
.importance = 1,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_KEY_ITEMS,
.type = 2,
.fieldUseFunc = ItemUseOutOfBattle_WailmerPail,
@@ -4312,7 +4312,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_DevonGoods,
.importance = 2,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_KEY_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -4328,7 +4328,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_SootSack,
.importance = 1,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_KEY_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -4344,7 +4344,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_BasementKey,
.importance = 1,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_KEY_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -4360,7 +4360,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_AcroBike,
.importance = 1,
- .unk19 = 1,
+ .exitsBagOnUse = 1,
.pocket = POCKET_KEY_ITEMS,
.type = 2,
.fieldUseFunc = ItemUseOutOfBattle_Bike,
@@ -4376,7 +4376,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_PokeblockCase,
.importance = 1,
- .unk19 = 1,
+ .exitsBagOnUse = 1,
.pocket = POCKET_KEY_ITEMS,
.type = 3,
.fieldUseFunc = ItemUseOutOfBattle_PokeblockCase,
@@ -4392,7 +4392,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Letter,
.importance = 2,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_KEY_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -4408,7 +4408,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_EonTicket,
.importance = 1,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_KEY_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -4424,7 +4424,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_RedOrb,
.importance = 2,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_KEY_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -4440,7 +4440,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_BlueOrb,
.importance = 2,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_KEY_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -4456,7 +4456,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Scanner,
.importance = 1,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_KEY_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -4472,7 +4472,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_GoGoggles,
.importance = 1,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_KEY_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -4488,7 +4488,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Meteorite,
.importance = 1,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_KEY_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -4504,7 +4504,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Room1Key,
.importance = 1,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_KEY_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -4520,7 +4520,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Room2Key,
.importance = 1,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_KEY_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -4536,7 +4536,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Room4Key,
.importance = 1,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_KEY_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -4552,7 +4552,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Room6Key,
.importance = 1,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_KEY_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -4568,7 +4568,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_StorageKey,
.importance = 1,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_KEY_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -4584,7 +4584,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_RootFossil,
.importance = 1,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_KEY_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -4600,7 +4600,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_ClawFossil,
.importance = 1,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_KEY_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -4616,7 +4616,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_DevonScope,
.importance = 1,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_KEY_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -4632,7 +4632,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_TM01,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_TM_HM,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_TMHM,
@@ -4648,7 +4648,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_TM02,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_TM_HM,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_TMHM,
@@ -4664,7 +4664,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_TM03,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_TM_HM,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_TMHM,
@@ -4680,7 +4680,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_TM04,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_TM_HM,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_TMHM,
@@ -4696,7 +4696,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_TM05,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_TM_HM,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_TMHM,
@@ -4712,7 +4712,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_TM06,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_TM_HM,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_TMHM,
@@ -4728,7 +4728,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_TM07,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_TM_HM,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_TMHM,
@@ -4744,7 +4744,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_TM08,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_TM_HM,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_TMHM,
@@ -4760,7 +4760,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_TM09,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_TM_HM,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_TMHM,
@@ -4776,7 +4776,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_TM10,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_TM_HM,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_TMHM,
@@ -4792,7 +4792,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_TM11,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_TM_HM,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_TMHM,
@@ -4808,7 +4808,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_TM12,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_TM_HM,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_TMHM,
@@ -4824,7 +4824,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_TM13,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_TM_HM,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_TMHM,
@@ -4840,7 +4840,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_TM14,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_TM_HM,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_TMHM,
@@ -4856,7 +4856,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_TM15,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_TM_HM,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_TMHM,
@@ -4872,7 +4872,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_TM16,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_TM_HM,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_TMHM,
@@ -4888,7 +4888,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_TM17,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_TM_HM,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_TMHM,
@@ -4904,7 +4904,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_TM18,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_TM_HM,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_TMHM,
@@ -4920,7 +4920,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_TM19,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_TM_HM,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_TMHM,
@@ -4936,7 +4936,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_TM20,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_TM_HM,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_TMHM,
@@ -4952,7 +4952,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_TM21,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_TM_HM,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_TMHM,
@@ -4968,7 +4968,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_TM22,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_TM_HM,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_TMHM,
@@ -4984,7 +4984,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_TM23,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_TM_HM,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_TMHM,
@@ -5000,7 +5000,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_TM24,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_TM_HM,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_TMHM,
@@ -5016,7 +5016,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_TM25,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_TM_HM,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_TMHM,
@@ -5032,7 +5032,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_TM26,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_TM_HM,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_TMHM,
@@ -5048,7 +5048,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_TM27,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_TM_HM,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_TMHM,
@@ -5064,7 +5064,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_TM28,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_TM_HM,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_TMHM,
@@ -5080,7 +5080,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_TM29,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_TM_HM,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_TMHM,
@@ -5096,7 +5096,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_TM30,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_TM_HM,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_TMHM,
@@ -5112,7 +5112,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_TM31,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_TM_HM,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_TMHM,
@@ -5128,7 +5128,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_TM32,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_TM_HM,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_TMHM,
@@ -5144,7 +5144,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_TM33,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_TM_HM,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_TMHM,
@@ -5160,7 +5160,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_TM34,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_TM_HM,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_TMHM,
@@ -5176,7 +5176,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_TM35,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_TM_HM,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_TMHM,
@@ -5192,7 +5192,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_TM36,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_TM_HM,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_TMHM,
@@ -5208,7 +5208,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_TM37,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_TM_HM,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_TMHM,
@@ -5224,7 +5224,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_TM38,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_TM_HM,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_TMHM,
@@ -5240,7 +5240,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_TM39,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_TM_HM,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_TMHM,
@@ -5256,7 +5256,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_TM40,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_TM_HM,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_TMHM,
@@ -5272,7 +5272,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_TM41,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_TM_HM,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_TMHM,
@@ -5288,7 +5288,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_TM42,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_TM_HM,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_TMHM,
@@ -5304,7 +5304,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_TM43,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_TM_HM,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_TMHM,
@@ -5320,7 +5320,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_TM44,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_TM_HM,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_TMHM,
@@ -5336,7 +5336,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_TM45,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_TM_HM,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_TMHM,
@@ -5352,7 +5352,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_TM46,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_TM_HM,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_TMHM,
@@ -5368,7 +5368,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_TM47,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_TM_HM,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_TMHM,
@@ -5384,7 +5384,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_TM48,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_TM_HM,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_TMHM,
@@ -5400,7 +5400,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_TM49,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_TM_HM,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_TMHM,
@@ -5416,7 +5416,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_TM50,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_TM_HM,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_TMHM,
@@ -5432,7 +5432,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_HM01,
.importance = 1,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_TM_HM,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_TMHM,
@@ -5448,7 +5448,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_HM02,
.importance = 1,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_TM_HM,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_TMHM,
@@ -5464,7 +5464,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_HM03,
.importance = 1,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_TM_HM,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_TMHM,
@@ -5480,7 +5480,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_HM04,
.importance = 1,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_TM_HM,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_TMHM,
@@ -5496,7 +5496,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_HM05,
.importance = 1,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_TM_HM,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_TMHM,
@@ -5512,7 +5512,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_HM06,
.importance = 1,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_TM_HM,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_TMHM,
@@ -5528,7 +5528,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_HM07,
.importance = 1,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_TM_HM,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_TMHM,
@@ -5544,7 +5544,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_HM08,
.importance = 1,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_TM_HM,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_TMHM,
@@ -5560,7 +5560,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Dummy,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -5576,7 +5576,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Dummy,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
diff --git a/src/data/items_en.h b/src/data/items_en.h
index 3660f4590..60f62752d 100644
--- a/src/data/items_en.h
+++ b/src/data/items_en.h
@@ -8,7 +8,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Dummy,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -24,7 +24,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_MasterBall,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_POKE_BALLS,
.type = 0,
.fieldUseFunc = NULL,
@@ -40,7 +40,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_UltraBall,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_POKE_BALLS,
.type = 1,
.fieldUseFunc = NULL,
@@ -56,7 +56,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_GreatBall,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_POKE_BALLS,
.type = 2,
.fieldUseFunc = NULL,
@@ -72,7 +72,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_PokeBall,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_POKE_BALLS,
.type = 3,
.fieldUseFunc = NULL,
@@ -88,7 +88,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_SafariBall,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_POKE_BALLS,
.type = 4,
.fieldUseFunc = NULL,
@@ -104,7 +104,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_NetBall,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_POKE_BALLS,
.type = 5,
.fieldUseFunc = NULL,
@@ -120,7 +120,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_DiveBall,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_POKE_BALLS,
.type = 6,
.fieldUseFunc = NULL,
@@ -136,7 +136,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_NestBall,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_POKE_BALLS,
.type = 7,
.fieldUseFunc = NULL,
@@ -152,7 +152,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_RepeatBall,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_POKE_BALLS,
.type = 8,
.fieldUseFunc = NULL,
@@ -168,7 +168,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_TimerBall,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_POKE_BALLS,
.type = 9,
.fieldUseFunc = NULL,
@@ -184,7 +184,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_LuxuryBall,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_POKE_BALLS,
.type = 10,
.fieldUseFunc = NULL,
@@ -200,7 +200,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_PremierBall,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_POKE_BALLS,
.type = 11,
.fieldUseFunc = NULL,
@@ -216,7 +216,7 @@ const struct Item gItems[] =
.holdEffectParam = 20,
.description = gItemDescription_Potion,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_Medicine,
@@ -232,7 +232,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Antidote,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_Medicine,
@@ -248,7 +248,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_BurnHeal,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_Medicine,
@@ -264,7 +264,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_IceHeal,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_Medicine,
@@ -280,7 +280,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Awakening,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_Medicine,
@@ -296,7 +296,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_ParalyzeHeal,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_Medicine,
@@ -312,7 +312,7 @@ const struct Item gItems[] =
.holdEffectParam = 255,
.description = gItemDescription_FullRestore,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_Medicine,
@@ -328,7 +328,7 @@ const struct Item gItems[] =
.holdEffectParam = 255,
.description = gItemDescription_MaxPotion,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_Medicine,
@@ -344,7 +344,7 @@ const struct Item gItems[] =
.holdEffectParam = 200,
.description = gItemDescription_HyperPotion,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_Medicine,
@@ -360,7 +360,7 @@ const struct Item gItems[] =
.holdEffectParam = 50,
.description = gItemDescription_SuperPotion,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_Medicine,
@@ -376,7 +376,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_FullHeal,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_Medicine,
@@ -392,7 +392,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Revive,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_Medicine,
@@ -408,7 +408,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_MaxRevive,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_Medicine,
@@ -424,7 +424,7 @@ const struct Item gItems[] =
.holdEffectParam = 50,
.description = gItemDescription_FreshWater,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_Medicine,
@@ -440,7 +440,7 @@ const struct Item gItems[] =
.holdEffectParam = 60,
.description = gItemDescription_SodaPop,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_Medicine,
@@ -456,7 +456,7 @@ const struct Item gItems[] =
.holdEffectParam = 80,
.description = gItemDescription_Lemonade,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_Medicine,
@@ -472,7 +472,7 @@ const struct Item gItems[] =
.holdEffectParam = 100,
.description = gItemDescription_MoomooMilk,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_Medicine,
@@ -488,7 +488,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_EnergyPowder,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_Medicine,
@@ -504,7 +504,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_EnergyRoot,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_Medicine,
@@ -520,7 +520,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_HealPowder,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_Medicine,
@@ -536,7 +536,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_RevivalHerb,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_Medicine,
@@ -552,7 +552,7 @@ const struct Item gItems[] =
.holdEffectParam = 10,
.description = gItemDescription_Ether,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_PPRecovery,
@@ -568,7 +568,7 @@ const struct Item gItems[] =
.holdEffectParam = 255,
.description = gItemDescription_MaxEther,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_PPRecovery,
@@ -584,7 +584,7 @@ const struct Item gItems[] =
.holdEffectParam = 10,
.description = gItemDescription_Elixir,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_PPRecovery,
@@ -600,7 +600,7 @@ const struct Item gItems[] =
.holdEffectParam = 255,
.description = gItemDescription_MaxElixir,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_PPRecovery,
@@ -616,7 +616,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_LavaCookie,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_Medicine,
@@ -632,7 +632,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_BlueFlute,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_Medicine,
@@ -648,7 +648,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_YellowFlute,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -664,7 +664,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_RedFlute,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -680,7 +680,7 @@ const struct Item gItems[] =
.holdEffectParam = 50,
.description = gItemDescription_BlackFlute,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_BlackWhiteFlute,
@@ -696,7 +696,7 @@ const struct Item gItems[] =
.holdEffectParam = 150,
.description = gItemDescription_WhiteFlute,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_BlackWhiteFlute,
@@ -712,7 +712,7 @@ const struct Item gItems[] =
.holdEffectParam = 20,
.description = gItemDescription_BerryJuice,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_Medicine,
@@ -728,7 +728,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_SacredAsh,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_SacredAsh,
@@ -744,7 +744,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_ShoalSalt,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -760,7 +760,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_ShoalShell,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -776,7 +776,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_RedShard,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -792,7 +792,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_BlueShard,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -808,7 +808,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_YellowShard,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -824,7 +824,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_GreenShard,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -840,7 +840,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Dummy,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -856,7 +856,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Dummy,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -872,7 +872,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Dummy,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -888,7 +888,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Dummy,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -904,7 +904,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Dummy,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -920,7 +920,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Dummy,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -936,7 +936,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Dummy,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -952,7 +952,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Dummy,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -968,7 +968,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Dummy,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -984,7 +984,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Dummy,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -1000,7 +1000,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Dummy,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -1016,7 +1016,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_HPUp,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_Medicine,
@@ -1032,7 +1032,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Protein,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_Medicine,
@@ -1048,7 +1048,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Iron,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_Medicine,
@@ -1064,7 +1064,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Carbos,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_Medicine,
@@ -1080,7 +1080,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Calcium,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_Medicine,
@@ -1096,7 +1096,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_RareCandy,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_RareCandy,
@@ -1112,7 +1112,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_PPUp,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_PPUp,
@@ -1128,7 +1128,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Zinc,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_Medicine,
@@ -1144,7 +1144,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_PPMax,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_PPUp,
@@ -1160,7 +1160,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Dummy,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -1176,7 +1176,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_GuardSpec,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -1192,7 +1192,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_DireHit,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -1208,7 +1208,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_XAttack,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -1224,7 +1224,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_XDefend,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -1240,7 +1240,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_XSpeed,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -1256,7 +1256,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_XAccuracy,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -1272,7 +1272,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_XSpecial,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -1288,7 +1288,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_PokeDoll,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -1304,7 +1304,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_FluffyTail,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -1320,7 +1320,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Dummy,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -1336,7 +1336,7 @@ const struct Item gItems[] =
.holdEffectParam = 200,
.description = gItemDescription_SuperRepel,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_Repel,
@@ -1352,7 +1352,7 @@ const struct Item gItems[] =
.holdEffectParam = 250,
.description = gItemDescription_MaxRepel,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_Repel,
@@ -1368,7 +1368,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_EscapeRope,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 2,
.fieldUseFunc = ItemUseOutOfBattle_EscapeRope,
@@ -1384,7 +1384,7 @@ const struct Item gItems[] =
.holdEffectParam = 100,
.description = gItemDescription_Repel,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_Repel,
@@ -1400,7 +1400,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Dummy,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -1416,7 +1416,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Dummy,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -1432,7 +1432,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Dummy,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -1448,7 +1448,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Dummy,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -1464,7 +1464,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Dummy,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -1480,7 +1480,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Dummy,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -1496,7 +1496,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_SunStone,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_EvolutionStone,
@@ -1512,7 +1512,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_MoonStone,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_EvolutionStone,
@@ -1528,7 +1528,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_FireStone,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_EvolutionStone,
@@ -1544,7 +1544,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_ThunderStone,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_EvolutionStone,
@@ -1560,7 +1560,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_WaterStone,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_EvolutionStone,
@@ -1576,7 +1576,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_LeafStone,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_EvolutionStone,
@@ -1592,7 +1592,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Dummy,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -1608,7 +1608,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Dummy,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -1624,7 +1624,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Dummy,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -1640,7 +1640,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Dummy,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -1656,7 +1656,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_TinyMushroom,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -1672,7 +1672,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_BigMushroom,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -1688,7 +1688,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Dummy,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -1704,7 +1704,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Pearl,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -1720,7 +1720,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_BigPearl,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -1736,7 +1736,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Stardust,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -1752,7 +1752,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_StarPiece,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -1768,7 +1768,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Nugget,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -1784,7 +1784,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_HeartScale,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -1800,7 +1800,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Dummy,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -1816,7 +1816,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Dummy,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -1832,7 +1832,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Dummy,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -1848,7 +1848,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Dummy,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -1864,7 +1864,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Dummy,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -1880,7 +1880,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Dummy,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -1896,7 +1896,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Dummy,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -1912,7 +1912,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Dummy,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -1928,7 +1928,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Dummy,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -1944,7 +1944,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_OrangeMail,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 0,
.fieldUseFunc = ItemUseOutOfBattle_Mail,
@@ -1960,7 +1960,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_HarborMail,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 0,
.fieldUseFunc = ItemUseOutOfBattle_Mail,
@@ -1976,7 +1976,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_GlitterMail,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 0,
.fieldUseFunc = ItemUseOutOfBattle_Mail,
@@ -1992,7 +1992,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_MechMail,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 0,
.fieldUseFunc = ItemUseOutOfBattle_Mail,
@@ -2008,7 +2008,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_WoodMail,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 0,
.fieldUseFunc = ItemUseOutOfBattle_Mail,
@@ -2024,7 +2024,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_WaveMail,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 0,
.fieldUseFunc = ItemUseOutOfBattle_Mail,
@@ -2040,7 +2040,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_BeadMail,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 0,
.fieldUseFunc = ItemUseOutOfBattle_Mail,
@@ -2056,7 +2056,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_ShadowMail,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 0,
.fieldUseFunc = ItemUseOutOfBattle_Mail,
@@ -2072,7 +2072,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_TropicMail,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 0,
.fieldUseFunc = ItemUseOutOfBattle_Mail,
@@ -2088,7 +2088,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_DreamMail,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 0,
.fieldUseFunc = ItemUseOutOfBattle_Mail,
@@ -2104,7 +2104,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_FabMail,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 0,
.fieldUseFunc = ItemUseOutOfBattle_Mail,
@@ -2120,7 +2120,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_RetroMail,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 0,
.fieldUseFunc = ItemUseOutOfBattle_Mail,
@@ -2136,7 +2136,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_CheriBerry,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_BERRIES,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_Medicine,
@@ -2152,7 +2152,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_ChestoBerry,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_BERRIES,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_Medicine,
@@ -2168,7 +2168,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_PechaBerry,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_BERRIES,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_Medicine,
@@ -2184,7 +2184,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_RawstBerry,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_BERRIES,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_Medicine,
@@ -2200,7 +2200,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_AspearBerry,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_BERRIES,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_Medicine,
@@ -2216,7 +2216,7 @@ const struct Item gItems[] =
.holdEffectParam = 10,
.description = gItemDescription_LeppaBerry,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_BERRIES,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_PPRecovery,
@@ -2232,7 +2232,7 @@ const struct Item gItems[] =
.holdEffectParam = 10,
.description = gItemDescription_OranBerry,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_BERRIES,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_Medicine,
@@ -2248,7 +2248,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_PersimBerry,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_BERRIES,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -2264,7 +2264,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_LumBerry,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_BERRIES,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_Medicine,
@@ -2280,7 +2280,7 @@ const struct Item gItems[] =
.holdEffectParam = 30,
.description = gItemDescription_SitrusBerry,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_BERRIES,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_Medicine,
@@ -2296,7 +2296,7 @@ const struct Item gItems[] =
.holdEffectParam = 8,
.description = gItemDescription_FigyBerry,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_BERRIES,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -2312,7 +2312,7 @@ const struct Item gItems[] =
.holdEffectParam = 8,
.description = gItemDescription_WikiBerry,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_BERRIES,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -2328,7 +2328,7 @@ const struct Item gItems[] =
.holdEffectParam = 8,
.description = gItemDescription_MagoBerry,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_BERRIES,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -2344,7 +2344,7 @@ const struct Item gItems[] =
.holdEffectParam = 8,
.description = gItemDescription_AguavBerry,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_BERRIES,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -2360,7 +2360,7 @@ const struct Item gItems[] =
.holdEffectParam = 8,
.description = gItemDescription_IapapaBerry,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_BERRIES,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -2376,7 +2376,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_RazzBerry,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_BERRIES,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -2392,7 +2392,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_BlukBerry,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_BERRIES,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -2408,7 +2408,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_NanabBerry,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_BERRIES,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -2424,7 +2424,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_WepearBerry,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_BERRIES,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -2440,7 +2440,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_PinapBerry,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_BERRIES,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -2456,7 +2456,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_PomegBerry,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_BERRIES,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -2472,7 +2472,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_KelpsyBerry,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_BERRIES,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -2488,7 +2488,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_QualotBerry,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_BERRIES,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -2504,7 +2504,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_HondewBerry,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_BERRIES,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -2520,7 +2520,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_GrepaBerry,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_BERRIES,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -2536,7 +2536,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_TamatoBerry,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_BERRIES,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -2552,7 +2552,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_CornnBerry,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_BERRIES,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -2568,7 +2568,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_MagostBerry,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_BERRIES,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -2584,7 +2584,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_RabutaBerry,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_BERRIES,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -2600,7 +2600,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_NomelBerry,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_BERRIES,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -2616,7 +2616,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_SpelonBerry,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_BERRIES,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -2632,7 +2632,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_PamtreBerry,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_BERRIES,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -2648,7 +2648,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_WatmelBerry,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_BERRIES,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -2664,7 +2664,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_DurinBerry,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_BERRIES,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -2680,7 +2680,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_BelueBerry,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_BERRIES,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -2696,7 +2696,7 @@ const struct Item gItems[] =
.holdEffectParam = 4,
.description = gItemDescription_LiechiBerry,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_BERRIES,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -2712,7 +2712,7 @@ const struct Item gItems[] =
.holdEffectParam = 4,
.description = gItemDescription_GanlonBerry,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_BERRIES,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -2728,7 +2728,7 @@ const struct Item gItems[] =
.holdEffectParam = 4,
.description = gItemDescription_SalacBerry,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_BERRIES,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -2744,7 +2744,7 @@ const struct Item gItems[] =
.holdEffectParam = 4,
.description = gItemDescription_PetayaBerry,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_BERRIES,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -2760,7 +2760,7 @@ const struct Item gItems[] =
.holdEffectParam = 4,
.description = gItemDescription_ApicotBerry,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_BERRIES,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -2776,7 +2776,7 @@ const struct Item gItems[] =
.holdEffectParam = 4,
.description = gItemDescription_LansatBerry,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_BERRIES,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -2792,7 +2792,7 @@ const struct Item gItems[] =
.holdEffectParam = 4,
.description = gItemDescription_StarfBerry,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_BERRIES,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -2808,7 +2808,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_EnigmaBerry,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_BERRIES,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_EnigmaBerry,
@@ -2824,7 +2824,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Dummy,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -2840,7 +2840,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Dummy,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -2856,7 +2856,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Dummy,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -2872,7 +2872,7 @@ const struct Item gItems[] =
.holdEffectParam = 10,
.description = gItemDescription_BrightPowder,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -2888,7 +2888,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_WhiteHerb,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -2904,7 +2904,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_MachoBrace,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -2920,7 +2920,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_ExpShare,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -2936,7 +2936,7 @@ const struct Item gItems[] =
.holdEffectParam = 20,
.description = gItemDescription_QuickClaw,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -2952,7 +2952,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_SootheBell,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -2968,7 +2968,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_MentalHerb,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -2984,7 +2984,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_ChoiceBand,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -3000,7 +3000,7 @@ const struct Item gItems[] =
.holdEffectParam = 10,
.description = gItemDescription_KingsRock,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -3016,7 +3016,7 @@ const struct Item gItems[] =
.holdEffectParam = 10,
.description = gItemDescription_SilverPowder,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -3032,7 +3032,7 @@ const struct Item gItems[] =
.holdEffectParam = 10,
.description = gItemDescription_AmuletCoin,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -3048,7 +3048,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_CleanseTag,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -3064,7 +3064,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_SoulDew,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -3080,7 +3080,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_DeepSeaTooth,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -3096,7 +3096,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_DeepSeaScale,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -3112,7 +3112,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_SmokeBall,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -3128,7 +3128,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Everstone,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -3144,7 +3144,7 @@ const struct Item gItems[] =
.holdEffectParam = 10,
.description = gItemDescription_FocusBand,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -3160,7 +3160,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_LuckyEgg,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -3176,7 +3176,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_ScopeLens,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -3192,7 +3192,7 @@ const struct Item gItems[] =
.holdEffectParam = 10,
.description = gItemDescription_MetalCoat,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -3208,7 +3208,7 @@ const struct Item gItems[] =
.holdEffectParam = 10,
.description = gItemDescription_Leftovers,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -3224,7 +3224,7 @@ const struct Item gItems[] =
.holdEffectParam = 10,
.description = gItemDescription_DragonScale,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -3240,7 +3240,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_LightBall,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -3256,7 +3256,7 @@ const struct Item gItems[] =
.holdEffectParam = 10,
.description = gItemDescription_SoftSand,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -3272,7 +3272,7 @@ const struct Item gItems[] =
.holdEffectParam = 10,
.description = gItemDescription_HardStone,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -3288,7 +3288,7 @@ const struct Item gItems[] =
.holdEffectParam = 10,
.description = gItemDescription_MiracleSeed,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -3304,7 +3304,7 @@ const struct Item gItems[] =
.holdEffectParam = 10,
.description = gItemDescription_BlackGlasses,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -3320,7 +3320,7 @@ const struct Item gItems[] =
.holdEffectParam = 10,
.description = gItemDescription_BlackBelt,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -3336,7 +3336,7 @@ const struct Item gItems[] =
.holdEffectParam = 10,
.description = gItemDescription_Magnet,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -3352,7 +3352,7 @@ const struct Item gItems[] =
.holdEffectParam = 10,
.description = gItemDescription_MysticWater,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -3368,7 +3368,7 @@ const struct Item gItems[] =
.holdEffectParam = 10,
.description = gItemDescription_SharpBeak,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -3384,7 +3384,7 @@ const struct Item gItems[] =
.holdEffectParam = 10,
.description = gItemDescription_PoisonBarb,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -3400,7 +3400,7 @@ const struct Item gItems[] =
.holdEffectParam = 10,
.description = gItemDescription_NeverMeltIce,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -3416,7 +3416,7 @@ const struct Item gItems[] =
.holdEffectParam = 10,
.description = gItemDescription_SpellTag,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -3432,7 +3432,7 @@ const struct Item gItems[] =
.holdEffectParam = 10,
.description = gItemDescription_TwistedSpoon,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -3448,7 +3448,7 @@ const struct Item gItems[] =
.holdEffectParam = 10,
.description = gItemDescription_Charcoal,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -3464,7 +3464,7 @@ const struct Item gItems[] =
.holdEffectParam = 10,
.description = gItemDescription_DragonFang,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -3480,7 +3480,7 @@ const struct Item gItems[] =
.holdEffectParam = 10,
.description = gItemDescription_SilkScarf,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -3496,7 +3496,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_UpGrade,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -3512,7 +3512,7 @@ const struct Item gItems[] =
.holdEffectParam = 8,
.description = gItemDescription_ShellBell,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -3528,7 +3528,7 @@ const struct Item gItems[] =
.holdEffectParam = 5,
.description = gItemDescription_SeaIncense,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -3544,7 +3544,7 @@ const struct Item gItems[] =
.holdEffectParam = 5,
.description = gItemDescription_LaxIncense,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -3560,7 +3560,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_LuckyPunch,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -3576,7 +3576,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_MetalPowder,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -3592,7 +3592,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_ThickClub,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -3608,7 +3608,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Stick,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -3624,7 +3624,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Dummy,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -3640,7 +3640,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Dummy,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -3656,7 +3656,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Dummy,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -3672,7 +3672,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Dummy,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -3688,7 +3688,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Dummy,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -3704,7 +3704,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Dummy,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -3720,7 +3720,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Dummy,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -3736,7 +3736,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Dummy,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -3752,7 +3752,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Dummy,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -3768,7 +3768,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Dummy,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -3784,7 +3784,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Dummy,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -3800,7 +3800,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Dummy,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -3816,7 +3816,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Dummy,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -3832,7 +3832,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Dummy,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -3848,7 +3848,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Dummy,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -3864,7 +3864,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Dummy,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -3880,7 +3880,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Dummy,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -3896,7 +3896,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Dummy,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -3912,7 +3912,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Dummy,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -3928,7 +3928,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Dummy,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -3944,7 +3944,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Dummy,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -3960,7 +3960,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Dummy,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -3976,7 +3976,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Dummy,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -3992,7 +3992,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Dummy,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -4008,7 +4008,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Dummy,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -4024,7 +4024,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Dummy,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -4040,7 +4040,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Dummy,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -4056,7 +4056,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Dummy,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -4072,7 +4072,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_RedScarf,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -4088,7 +4088,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_BlueScarf,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -4104,7 +4104,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_PinkScarf,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -4120,7 +4120,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_GreenScarf,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -4136,7 +4136,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_YellowScarf,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -4152,7 +4152,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_MachBike,
.importance = 1,
- .unk19 = 1,
+ .exitsBagOnUse = 1,
.pocket = POCKET_KEY_ITEMS,
.type = 2,
.fieldUseFunc = ItemUseOutOfBattle_Bike,
@@ -4168,7 +4168,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_CoinCase,
.importance = 1,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_KEY_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CoinCase,
@@ -4184,7 +4184,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Itemfinder,
.importance = 1,
- .unk19 = 1,
+ .exitsBagOnUse = 1,
.pocket = POCKET_KEY_ITEMS,
.type = 2,
.fieldUseFunc = ItemUseOutOfBattle_Itemfinder,
@@ -4200,7 +4200,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_OldRod,
.importance = 1,
- .unk19 = 1,
+ .exitsBagOnUse = 1,
.pocket = POCKET_KEY_ITEMS,
.type = 2,
.fieldUseFunc = ItemUseOutOfBattle_Rod,
@@ -4216,7 +4216,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_GoodRod,
.importance = 1,
- .unk19 = 1,
+ .exitsBagOnUse = 1,
.pocket = POCKET_KEY_ITEMS,
.type = 2,
.fieldUseFunc = ItemUseOutOfBattle_Rod,
@@ -4232,7 +4232,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_SuperRod,
.importance = 1,
- .unk19 = 1,
+ .exitsBagOnUse = 1,
.pocket = POCKET_KEY_ITEMS,
.type = 2,
.fieldUseFunc = ItemUseOutOfBattle_Rod,
@@ -4248,7 +4248,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_SSTicket,
.importance = 1,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_KEY_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -4264,7 +4264,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_ContestPass,
.importance = 1,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_KEY_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -4280,7 +4280,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Dummy,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -4296,7 +4296,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_WailmerPail,
.importance = 1,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_KEY_ITEMS,
.type = 2,
.fieldUseFunc = ItemUseOutOfBattle_WailmerPail,
@@ -4312,7 +4312,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_DevonGoods,
.importance = 2,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_KEY_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -4328,7 +4328,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_SootSack,
.importance = 1,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_KEY_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -4344,7 +4344,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_BasementKey,
.importance = 1,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_KEY_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -4360,7 +4360,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_AcroBike,
.importance = 1,
- .unk19 = 1,
+ .exitsBagOnUse = 1,
.pocket = POCKET_KEY_ITEMS,
.type = 2,
.fieldUseFunc = ItemUseOutOfBattle_Bike,
@@ -4376,7 +4376,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_PokeblockCase,
.importance = 1,
- .unk19 = 1,
+ .exitsBagOnUse = 1,
.pocket = POCKET_KEY_ITEMS,
.type = 3,
.fieldUseFunc = ItemUseOutOfBattle_PokeblockCase,
@@ -4392,7 +4392,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Letter,
.importance = 2,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_KEY_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -4408,7 +4408,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_EonTicket,
.importance = 1,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_KEY_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -4424,7 +4424,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_RedOrb,
.importance = 2,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_KEY_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -4440,7 +4440,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_BlueOrb,
.importance = 2,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_KEY_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -4456,7 +4456,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Scanner,
.importance = 1,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_KEY_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -4472,7 +4472,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_GoGoggles,
.importance = 1,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_KEY_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -4488,7 +4488,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Meteorite,
.importance = 1,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_KEY_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -4504,7 +4504,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Room1Key,
.importance = 1,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_KEY_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -4520,7 +4520,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Room2Key,
.importance = 1,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_KEY_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -4536,7 +4536,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Room4Key,
.importance = 1,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_KEY_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -4552,7 +4552,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Room6Key,
.importance = 1,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_KEY_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -4568,7 +4568,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_StorageKey,
.importance = 1,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_KEY_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -4584,7 +4584,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_RootFossil,
.importance = 1,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_KEY_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -4600,7 +4600,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_ClawFossil,
.importance = 1,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_KEY_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -4616,7 +4616,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_DevonScope,
.importance = 1,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_KEY_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -4632,7 +4632,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_TM01,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_TM_HM,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_TMHM,
@@ -4648,7 +4648,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_TM02,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_TM_HM,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_TMHM,
@@ -4664,7 +4664,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_TM03,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_TM_HM,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_TMHM,
@@ -4680,7 +4680,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_TM04,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_TM_HM,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_TMHM,
@@ -4696,7 +4696,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_TM05,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_TM_HM,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_TMHM,
@@ -4712,7 +4712,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_TM06,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_TM_HM,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_TMHM,
@@ -4728,7 +4728,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_TM07,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_TM_HM,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_TMHM,
@@ -4744,7 +4744,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_TM08,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_TM_HM,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_TMHM,
@@ -4760,7 +4760,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_TM09,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_TM_HM,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_TMHM,
@@ -4776,7 +4776,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_TM10,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_TM_HM,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_TMHM,
@@ -4792,7 +4792,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_TM11,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_TM_HM,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_TMHM,
@@ -4808,7 +4808,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_TM12,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_TM_HM,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_TMHM,
@@ -4824,7 +4824,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_TM13,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_TM_HM,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_TMHM,
@@ -4840,7 +4840,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_TM14,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_TM_HM,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_TMHM,
@@ -4856,7 +4856,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_TM15,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_TM_HM,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_TMHM,
@@ -4872,7 +4872,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_TM16,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_TM_HM,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_TMHM,
@@ -4888,7 +4888,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_TM17,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_TM_HM,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_TMHM,
@@ -4904,7 +4904,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_TM18,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_TM_HM,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_TMHM,
@@ -4920,7 +4920,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_TM19,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_TM_HM,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_TMHM,
@@ -4936,7 +4936,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_TM20,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_TM_HM,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_TMHM,
@@ -4952,7 +4952,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_TM21,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_TM_HM,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_TMHM,
@@ -4968,7 +4968,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_TM22,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_TM_HM,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_TMHM,
@@ -4984,7 +4984,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_TM23,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_TM_HM,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_TMHM,
@@ -5000,7 +5000,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_TM24,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_TM_HM,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_TMHM,
@@ -5016,7 +5016,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_TM25,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_TM_HM,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_TMHM,
@@ -5032,7 +5032,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_TM26,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_TM_HM,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_TMHM,
@@ -5048,7 +5048,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_TM27,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_TM_HM,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_TMHM,
@@ -5064,7 +5064,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_TM28,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_TM_HM,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_TMHM,
@@ -5080,7 +5080,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_TM29,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_TM_HM,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_TMHM,
@@ -5096,7 +5096,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_TM30,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_TM_HM,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_TMHM,
@@ -5112,7 +5112,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_TM31,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_TM_HM,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_TMHM,
@@ -5128,7 +5128,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_TM32,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_TM_HM,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_TMHM,
@@ -5144,7 +5144,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_TM33,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_TM_HM,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_TMHM,
@@ -5160,7 +5160,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_TM34,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_TM_HM,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_TMHM,
@@ -5176,7 +5176,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_TM35,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_TM_HM,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_TMHM,
@@ -5192,7 +5192,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_TM36,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_TM_HM,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_TMHM,
@@ -5208,7 +5208,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_TM37,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_TM_HM,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_TMHM,
@@ -5224,7 +5224,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_TM38,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_TM_HM,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_TMHM,
@@ -5240,7 +5240,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_TM39,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_TM_HM,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_TMHM,
@@ -5256,7 +5256,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_TM40,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_TM_HM,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_TMHM,
@@ -5272,7 +5272,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_TM41,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_TM_HM,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_TMHM,
@@ -5288,7 +5288,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_TM42,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_TM_HM,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_TMHM,
@@ -5304,7 +5304,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_TM43,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_TM_HM,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_TMHM,
@@ -5320,7 +5320,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_TM44,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_TM_HM,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_TMHM,
@@ -5336,7 +5336,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_TM45,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_TM_HM,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_TMHM,
@@ -5352,7 +5352,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_TM46,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_TM_HM,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_TMHM,
@@ -5368,7 +5368,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_TM47,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_TM_HM,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_TMHM,
@@ -5384,7 +5384,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_TM48,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_TM_HM,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_TMHM,
@@ -5400,7 +5400,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_TM49,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_TM_HM,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_TMHM,
@@ -5416,7 +5416,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_TM50,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_TM_HM,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_TMHM,
@@ -5432,7 +5432,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_HM01,
.importance = 1,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_TM_HM,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_TMHM,
@@ -5448,7 +5448,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_HM02,
.importance = 1,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_TM_HM,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_TMHM,
@@ -5464,7 +5464,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_HM03,
.importance = 1,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_TM_HM,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_TMHM,
@@ -5480,7 +5480,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_HM04,
.importance = 1,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_TM_HM,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_TMHM,
@@ -5496,7 +5496,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_HM05,
.importance = 1,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_TM_HM,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_TMHM,
@@ -5512,7 +5512,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_HM06,
.importance = 1,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_TM_HM,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_TMHM,
@@ -5528,7 +5528,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_HM07,
.importance = 1,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_TM_HM,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_TMHM,
@@ -5544,7 +5544,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_HM08,
.importance = 1,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_TM_HM,
.type = 1,
.fieldUseFunc = ItemUseOutOfBattle_TMHM,
@@ -5560,7 +5560,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Dummy,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
@@ -5576,7 +5576,7 @@ const struct Item gItems[] =
.holdEffectParam = 0,
.description = gItemDescription_Dummy,
.importance = 0,
- .unk19 = 0,
+ .exitsBagOnUse = 0,
.pocket = POCKET_ITEMS,
.type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
diff --git a/src/heal_location.c b/src/heal_location.c
index a10c7a7b8..4c78f5921 100644
--- a/src/heal_location.c
+++ b/src/heal_location.c
@@ -2,8 +2,6 @@
#include "heal_location.h"
#include "constants/maps.h"
-#define NUM_HEAL_LOCATIONS 22
-
static const struct HealLocation sHealLocations[] =
{
{MAP_GROUP(LITTLEROOT_TOWN_BRENDANS_HOUSE_2F), MAP_NUM(LITTLEROOT_TOWN_BRENDANS_HOUSE_2F), 4, 2},
@@ -34,7 +32,7 @@ u32 GetHealLocationIndexByMap(u16 mapGroup, u16 mapNum)
{
u32 i;
- for (i = 0; i < NUM_HEAL_LOCATIONS; i++)
+ for (i = 0; i < ARRAY_COUNT(sHealLocations); i++)
{
if (sHealLocations[i].group == mapGroup && sHealLocations[i].map == mapNum)
return i + 1;
@@ -56,7 +54,7 @@ const struct HealLocation *GetHealLocation(u32 index)
{
if (index == 0)
return NULL;
- else if (index > NUM_HEAL_LOCATIONS)
+ else if (index > ARRAY_COUNT(sHealLocations))
return NULL;
else
return &sHealLocations[index - 1];
diff --git a/src/item.c b/src/item.c
index e6294884b..470b4d430 100644
--- a/src/item.c
+++ b/src/item.c
@@ -17,7 +17,8 @@ struct Item
u8 holdEffectParam;
const u8 *description;
u8 importance;
- u8 unk19;
+ u8 exitsBagOnUse; // unused, but items which have this field set to 1 all
+ // exit the Bag when they are used.
u8 pocket;
u8 type;
ItemUseFunc fieldUseFunc;
@@ -26,7 +27,7 @@ struct Item
u8 secondaryId;
};
-extern u8 gUnknown_02038560;
+extern u8 gCurSelectedItemSlotIndex;
extern struct BagPocket gBagPockets[NUM_BAG_POCKETS];
// These constants are used in gItems
@@ -63,7 +64,7 @@ void CopyItemName(u16 itemId, u8 *string)
{
if (itemId == ITEM_ENIGMA_BERRY)
{
- StringCopy(string, GetBerryInfo(0x2B)->name); // berry 0x2b = enigma berry
+ StringCopy(string, GetBerryInfo(GETBERRYID(ITEM_ENIGMA_BERRY))->name);
StringAppend(string, gOtherText_Berry2);
}
else
@@ -173,7 +174,6 @@ bool8 CheckBagHasSpace(u16 itemId, u16 count)
// This function matches if gBagPockets is declared non-const,
// but it should be fixed anyway.
-//#ifdef NONMATCHING
bool8 AddBagItem(u16 itemId, u16 count)
{
u8 i;
@@ -238,158 +238,6 @@ bool8 AddBagItem(u16 itemId, u16 count)
memcpy(gBagPockets[pocket].itemSlots, newItems, gBagPockets[pocket].capacity * sizeof(struct ItemSlot));
return TRUE;
}
-//#else
-//NAKED
-//bool8 AddBagItem(u16 itemId, u16 count)
-//{
-// asm(".syntax unified\n\
-// push {r4-r7,lr}\n\
-// mov r7, r9\n\
-// mov r6, r8\n\
-// push {r6,r7}\n\
-// sub sp, 0x100\n\
-// lsls r0, 16\n\
-// lsrs r0, 16\n\
-// mov r8, r0\n\
-// lsls r1, 16\n\
-// lsrs r4, r1, 16\n\
-// bl ItemId_GetPocket\n\
-// lsls r0, 24\n\
-// cmp r0, 0\n\
-// beq _080A9510\n\
-// mov r0, r8\n\
-// bl ItemId_GetPocket\n\
-// subs r0, 0x1\n\
-// lsls r0, 24\n\
-// lsrs r6, r0, 24\n\
-// ldr r1, _080A94F8 @ =gBagPockets\n\
-// lsls r0, r6, 3\n\
-// adds r5, r0, r1\n\
-// ldr r1, [r5]\n\
-// ldrb r2, [r5, 0x4]\n\
-// lsls r2, 2\n\
-// mov r0, sp\n\
-// bl memcpy\n\
-// ldr r7, _080A94FC @ =0x000003e7\n\
-// cmp r6, 0x3\n\
-// beq _080A9468\n\
-// movs r7, 0x63\n\
-//_080A9468:\n\
-// movs r1, 0\n\
-// ldrb r0, [r5, 0x4]\n\
-// cmp r1, r0\n\
-// bcs _080A94B2\n\
-// subs r0, r6, 0x2\n\
-// lsls r0, 24\n\
-// lsrs r0, 24\n\
-// mov r12, r0\n\
-//_080A9478:\n\
-// lsls r0, r1, 2\n\
-// mov r2, sp\n\
-// adds r3, r2, r0\n\
-// ldrh r0, [r3]\n\
-// cmp r0, r8\n\
-// bne _080A94A6\n\
-// ldrh r2, [r3, 0x2]\n\
-// adds r0, r2, r4\n\
-// cmp r0, r7\n\
-// ble _080A9500\n\
-// mov r0, r12\n\
-// cmp r0, 0x1\n\
-// bls _080A9510\n\
-// subs r0, r7, r2\n\
-// subs r0, r4, r0\n\
-// lsls r0, 16\n\
-// lsrs r4, r0, 16\n\
-// strh r7, [r3, 0x2]\n\
-// ldr r2, _080A94F8 @ =gBagPockets\n\
-// mov r9, r2\n\
-// lsls r3, r6, 3\n\
-// cmp r4, 0\n\
-// beq _080A9516\n\
-//_080A94A6:\n\
-// adds r0, r1, 0x1\n\
-// lsls r0, 24\n\
-// lsrs r1, r0, 24\n\
-// ldrb r0, [r5, 0x4]\n\
-// cmp r1, r0\n\
-// bcc _080A9478\n\
-//_080A94B2:\n\
-// ldr r2, _080A94F8 @ =gBagPockets\n\
-// mov r9, r2\n\
-// lsls r3, r6, 3\n\
-// cmp r4, 0\n\
-// beq _080A9516\n\
-// movs r1, 0\n\
-// adds r0, r3, r2\n\
-// ldrb r0, [r0, 0x4]\n\
-// cmp r1, r0\n\
-// bcs _080A94F2\n\
-// mov r6, r9\n\
-// adds r5, r3, r6\n\
-//_080A94CA:\n\
-// lsls r0, r1, 2\n\
-// mov r6, sp\n\
-// adds r2, r6, r0\n\
-// ldrh r0, [r2]\n\
-// cmp r0, 0\n\
-// bne _080A94E6\n\
-// mov r0, r8\n\
-// strh r0, [r2]\n\
-// cmp r4, r7\n\
-// bls _080A9514\n\
-// subs r0, r4, r7\n\
-// lsls r0, 16\n\
-// lsrs r4, r0, 16\n\
-// strh r7, [r2, 0x2]\n\
-//_080A94E6:\n\
-// adds r0, r1, 0x1\n\
-// lsls r0, 24\n\
-// lsrs r1, r0, 24\n\
-// ldrb r2, [r5, 0x4]\n\
-// cmp r1, r2\n\
-// bcc _080A94CA\n\
-//_080A94F2:\n\
-// cmp r4, 0\n\
-// beq _080A9516\n\
-// b _080A9510\n\
-// .align 2, 0\n\
-//_080A94F8: .4byte gBagPockets\n\
-//_080A94FC: .4byte 0x000003e7\n\
-//_080A9500:\n\
-// strh r0, [r3, 0x2]\n\
-// ldr r0, _080A950C @ =gBagPockets\n\
-// lsls r1, r6, 3\n\
-// adds r1, r0\n\
-// b _080A951A\n\
-// .align 2, 0\n\
-//_080A950C: .4byte gBagPockets\n\
-//_080A9510:\n\
-// movs r0, 0\n\
-// b _080A9528\n\
-//_080A9514:\n\
-// strh r4, [r2, 0x2]\n\
-//_080A9516:\n\
-// mov r6, r9\n\
-// adds r1, r3, r6\n\
-//_080A951A:\n\
-// ldr r0, [r1]\n\
-// ldrb r2, [r1, 0x4]\n\
-// lsls r2, 2\n\
-// mov r1, sp\n\
-// bl memcpy\n\
-// movs r0, 0x1\n\
-//_080A9528:\n\
-// add sp, 0x100\n\
-// pop {r3,r4}\n\
-// mov r8, r3\n\
-// mov r9, r4\n\
-// pop {r4-r7}\n\
-// pop {r1}\n\
-// bx r1\n\
-// .syntax divided\n");
-//}
-//#endif
bool8 RemoveBagItem(u16 itemId, u16 count)
{
@@ -409,21 +257,21 @@ bool8 RemoveBagItem(u16 itemId, u16 count)
if (totalQuantity < count)
return FALSE; //We don't have enough of the item
- if (gBagPockets[pocket].capacity > gUnknown_02038560
- && gBagPockets[pocket].itemSlots[gUnknown_02038560].itemId == itemId)
+ if (gBagPockets[pocket].capacity > gCurSelectedItemSlotIndex
+ && gBagPockets[pocket].itemSlots[gCurSelectedItemSlotIndex].itemId == itemId)
{
- if (gBagPockets[pocket].itemSlots[gUnknown_02038560].quantity >= count)
+ if (gBagPockets[pocket].itemSlots[gCurSelectedItemSlotIndex].quantity >= count)
{
- gBagPockets[pocket].itemSlots[gUnknown_02038560].quantity -= count;
+ gBagPockets[pocket].itemSlots[gCurSelectedItemSlotIndex].quantity -= count;
count = 0;
}
else
{
- count -= gBagPockets[pocket].itemSlots[gUnknown_02038560].quantity;
- gBagPockets[pocket].itemSlots[gUnknown_02038560].quantity = 0;
+ count -= gBagPockets[pocket].itemSlots[gCurSelectedItemSlotIndex].quantity;
+ gBagPockets[pocket].itemSlots[gCurSelectedItemSlotIndex].quantity = 0;
}
- if (gBagPockets[pocket].itemSlots[gUnknown_02038560].quantity == 0)
- gBagPockets[pocket].itemSlots[gUnknown_02038560].itemId = 0;
+ if (gBagPockets[pocket].itemSlots[gCurSelectedItemSlotIndex].quantity == 0)
+ gBagPockets[pocket].itemSlots[gCurSelectedItemSlotIndex].itemId = 0;
if (count == 0)
return TRUE;
}
@@ -456,11 +304,11 @@ u8 GetPocketByItemId(u16 itemId)
return ItemId_GetPocket(itemId);
}
-void ClearItemSlots(struct ItemSlot *itemSlots, u8 b)
+void ClearItemSlots(struct ItemSlot *itemSlots, u8 capacity)
{
u16 i;
- for (i = 0; i < b; i++)
+ for (i = 0; i < capacity; i++)
{
itemSlots[i].itemId = 0;
itemSlots[i].quantity = 0;
@@ -471,7 +319,7 @@ static s32 FindFreePCItemSlot(void)
{
s8 i;
- for (i = 0; i < 50; i++)
+ for (i = 0; i < PC_ITEMS_COUNT; i++)
{
if (gSaveBlock1.pcItems[i].itemId == 0)
return i;
@@ -484,7 +332,7 @@ u8 CountUsedPCItemSlots(void)
u8 usedSlots = 0;
u8 i;
- for (i = 0; i < 50; i++)
+ for (i = 0; i < PC_ITEMS_COUNT; i++)
{
if (gSaveBlock1.pcItems[i].itemId != 0)
usedSlots++;
@@ -496,7 +344,7 @@ bool8 CheckPCHasItem(u16 itemId, u16 count)
{
u8 i;
- for (i = 0; i < 50; i++)
+ for (i = 0; i < PC_ITEMS_COUNT; i++)
{
if (gSaveBlock1.pcItems[i].itemId == itemId && gSaveBlock1.pcItems[i].quantity >= count)
return TRUE;
@@ -508,13 +356,13 @@ bool8 AddPCItem(u16 itemId, u16 count)
{
u8 i;
s8 freeSlot;
- struct ItemSlot newItems[50];
+ struct ItemSlot newItems[PC_ITEMS_COUNT];
//Copy PC items
memcpy(newItems, gSaveBlock1.pcItems, sizeof(newItems));
//Use any item slots that already contain this item
- for (i = 0; i < 50; i++)
+ for (i = 0; i < PC_ITEMS_COUNT; i++)
{
if (newItems[i].itemId == itemId)
{
@@ -564,9 +412,9 @@ static void CompactPCItems(void)
u16 i;
u16 j;
- for (i = 0; i < 49; i++)
+ for (i = 0; i < PC_ITEMS_COUNT - 1; i++)
{
- for (j = i + 1; j <= 49; j++)
+ for (j = i + 1; j <= PC_ITEMS_COUNT - 1; j++)
{
if (gSaveBlock1.pcItems[i].itemId == 0)
{
@@ -582,11 +430,11 @@ void SwapRegisteredBike(void)
{
switch (gSaveBlock1.registeredItem)
{
- case 0x103:
- gSaveBlock1.registeredItem = 0x110;
+ case ITEM_MACH_BIKE:
+ gSaveBlock1.registeredItem = ITEM_ACRO_BIKE;
break;
- case 0x110:
- gSaveBlock1.registeredItem = 0x103;
+ case ITEM_ACRO_BIKE:
+ gSaveBlock1.registeredItem = ITEM_MACH_BIKE;
break;
}
}
@@ -629,25 +477,25 @@ const u8 *ItemId_GetDescription(u16 itemId)
return gItems[SanitizeItemId(itemId)].description;
}
-bool32 ItemId_CopyDescription(u8 *a, u32 itemId, u32 c)
+bool32 ItemId_CopyDescription(u8 *dest, u32 itemId, u32 textLine)
{
- u32 r5 = c + 1;
+ u32 curTextLine = textLine + 1;
const u8 *description = gItems[SanitizeItemId(itemId)].description;
- u8 *str = a;
+ u8 *str = dest;
for (;;)
{
if (*description == 0xFF || *description == 0xFE)
{
- r5--;
- if (r5 == 0)
+ curTextLine--;
+ if (curTextLine == 0)
{
*str = 0xFF;
return TRUE;
}
if (*description == 0xFF)
return FALSE;
- str = a;
+ str = dest;
description++;
}
else
@@ -661,9 +509,9 @@ u8 ItemId_GetImportance(u16 itemId)
}
// unused
-u8 ItemId_GetUnknownValue(u16 itemId)
+u8 ItemId_GetExitsBagOnUse(u16 itemId)
{
- return gItems[SanitizeItemId(itemId)].unk19;
+ return gItems[SanitizeItemId(itemId)].exitsBagOnUse;
}
u8 ItemId_GetPocket(u16 itemId)
diff --git a/src/item_menu.c b/src/item_menu.c
index a5748cdab..e31801384 100644
--- a/src/item_menu.c
+++ b/src/item_menu.c
@@ -139,7 +139,7 @@ EWRAM_DATA static u8 gUnknown_0203855A = 0;
EWRAM_DATA static s8 gUnknown_0203855B = 0;
EWRAM_DATA static s8 gUnknown_0203855C = 0;
EWRAM_DATA u16 gSpecialVar_ItemId = 0;
-EWRAM_DATA u8 gUnknown_02038560 = 0;
+EWRAM_DATA u8 gCurSelectedItemSlotIndex = 0;
EWRAM_DATA u8 gUnknown_02038561 = 0;
EWRAM_DATA static u8 gUnknown_02038562 = 0;
EWRAM_DATA static u8 gUnknown_02038563 = 0;
@@ -268,7 +268,7 @@ static void OnItemSelect_PC(u8);
static void OnItemSelect_Battle(u8);
static void OnBagClose_Battle(u8);
-static const struct {TaskFunc onItemSelect; TaskFunc onBagClose;} gUnknown_083C16BC[] =
+static const struct {TaskFunc onItemSelect; TaskFunc onBagClose;} sItemSelectFuncs[] =
{
[RETURN_TO_FIELD_0] = {OnItemSelect_Field05, OnBagClose_Field0},
[RETURN_TO_BATTLE] = {OnItemSelect_Battle, OnBagClose_Battle},
@@ -1192,30 +1192,30 @@ static void sub_80A444C(u16 a, int b, int c, int d)
for (i = b; i <= c; i++)
{
- u8 r4;
+ u8 slot;
u8 r5;
u8 *text;
if (sub_80A42B0(i, d) == TRUE)
break;
- r4 = gBagPocketScrollStates[sCurrentBagPocket].scrollTop + i;
+ slot = gBagPocketScrollStates[sCurrentBagPocket].scrollTop + i;
r5 = i * 2 + 2;
text = gStringVar1;
text = sub_80A425C(a, text, i);
#if ENGLISH
- sub_8072C74(text, ItemId_GetName(gCurrentBagPocketItemSlots[r4].itemId), 0x60, 0);
+ sub_8072C74(text, ItemId_GetName(gCurrentBagPocketItemSlots[slot].itemId), 0x60, 0);
#else
- sub_8072C74(text, ItemId_GetName(gCurrentBagPocketItemSlots[r4].itemId), 0x63, 0);
+ sub_8072C74(text, ItemId_GetName(gCurrentBagPocketItemSlots[slot].itemId), 0x63, 0);
#endif
Menu_PrintText(gStringVar1, 14, r5);
- if (gUnknown_02038558 != 0)
+ if (gUnknown_02038558)
{
- if (gCurrentBagPocketItemSlots[r4].itemId == gSaveBlock1.registeredItem)
+ if (gCurrentBagPocketItemSlots[slot].itemId == gSaveBlock1.registeredItem)
DrawSelectIcon(i);
}
else
{
- if (gCurrentBagPocketItemSlots[r4].itemId == gSaveBlock1.registeredItem)
+ if (gCurrentBagPocketItemSlots[slot].itemId == gSaveBlock1.registeredItem)
MoveSelectIcon(i);
else
EraseSelectIcon(i);
@@ -1838,7 +1838,7 @@ static bool8 sub_80A4F74(u8 a)
static void sub_80A50C8(u8 taskId)
{
- s16 *r5 = gTasks[taskId].data;
+ s16 *taskData = gTasks[taskId].data;
if (!gPaletteFade.active)
{
@@ -1852,7 +1852,7 @@ static void sub_80A50C8(u8 taskId)
&& !(sCurrentBagPocket == BAG_POCKET_BERRIES || sCurrentBagPocket == BAG_POCKET_TMs_HMs)
&& (sReturnLocation == RETURN_TO_FIELD_0 || sReturnLocation == RETURN_TO_BATTLE))
{
- if (r5[10] == 0)
+ if (taskData[10] == 0)
{
if (gBagPocketScrollStates[sCurrentBagPocket].scrollTop + gBagPocketScrollStates[sCurrentBagPocket].cursorPos != gBagPocketScrollStates[sCurrentBagPocket].numSlots)
{
@@ -1881,10 +1881,10 @@ static void sub_80A50C8(u8 taskId)
{
if (gBagPocketScrollStates[sCurrentBagPocket].scrollTop + gBagPocketScrollStates[sCurrentBagPocket].cursorPos == gBagPocketScrollStates[sCurrentBagPocket].numSlots)
{
- if (r5[10] == 0)
+ if (taskData[10] == 0)
{
gSpecialVar_ItemId = 0;
- gUnknown_083C16BC[sReturnLocation].onBagClose(taskId);
+ sItemSelectFuncs[sReturnLocation].onBagClose(taskId);
}
else
{
@@ -1894,12 +1894,12 @@ static void sub_80A50C8(u8 taskId)
}
else
{
- if (r5[10] == 0)
+ if (taskData[10] == 0)
{
PlaySE(SE_SELECT);
- gUnknown_02038560 = gBagPocketScrollStates[sCurrentBagPocket].scrollTop + gBagPocketScrollStates[sCurrentBagPocket].cursorPos;
- gSpecialVar_ItemId = gCurrentBagPocketItemSlots[gUnknown_02038560].itemId;
- gUnknown_083C16BC[sReturnLocation].onItemSelect(taskId);
+ gCurSelectedItemSlotIndex = gBagPocketScrollStates[sCurrentBagPocket].scrollTop + gBagPocketScrollStates[sCurrentBagPocket].cursorPos;
+ gSpecialVar_ItemId = gCurrentBagPocketItemSlots[gCurSelectedItemSlotIndex].itemId;
+ sItemSelectFuncs[sReturnLocation].onItemSelect(taskId);
StopVerticalScrollIndicators(TOP_ARROW);
StopVerticalScrollIndicators(BOTTOM_ARROW);
StopVerticalScrollIndicators(LEFT_ARROW);
@@ -1917,12 +1917,12 @@ static void sub_80A50C8(u8 taskId)
if (gMain.newKeys & B_BUTTON)
{
- if (r5[10] == 0)
+ if (taskData[10] == 0)
{
if (sReturnLocation != RETURN_TO_FIELD_5)
{
gSpecialVar_ItemId = 0;
- gUnknown_083C16BC[sReturnLocation].onBagClose(taskId);
+ sItemSelectFuncs[sReturnLocation].onBagClose(taskId);
}
}
else
@@ -1982,7 +1982,7 @@ static bool8 sub_80A5350(u8 taskId)
{
s16 *taskData = gTasks[taskId].data;
- if (SellMenu_QuantityRoller(taskId, gCurrentBagPocketItemSlots[gUnknown_02038560].quantity) == TRUE)
+ if (SellMenu_QuantityRoller(taskId, gCurrentBagPocketItemSlots[gCurSelectedItemSlotIndex].quantity) == TRUE)
{
// if (sCurrentBagPocket == BAG_POCKET_BERRIES) Can't get it to match this way
if (sCurrentBagPocket + 1 == BAG_POCKET_BERRIES + 1)