From 5d752bbe49f5d559932fdfbb2247fb72199e0c2a Mon Sep 17 00:00:00 2001 From: SBird Date: Wed, 3 Jun 2020 14:26:22 +0200 Subject: shop: document some constants s.t. object events don't break --- include/shop.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/shop.h b/include/shop.h index 164d6f3c2..c338103b4 100644 --- a/include/shop.h +++ b/include/shop.h @@ -41,7 +41,7 @@ struct ShopData /*0x200B*/ u8 scrollIndicatorsTaskId; /*0x200C*/ u8 iconSlot; /*0x200D*/ u8 itemSpriteIds[2]; - /*0x2010*/ s16 viewportObjects[16][5]; + /*0x2010*/ s16 viewportObjects[OBJECT_EVENTS_COUNT][5]; }; void CreatePokemartMenu(const u16 *); -- cgit v1.2.3