Document TV
This commit is contained in:
+2
-3
@@ -38,7 +38,6 @@
|
||||
#include "constants/metatile_behaviors.h"
|
||||
#include "constants/rgb.h"
|
||||
#include "constants/songs.h"
|
||||
#include "constants/tv.h"
|
||||
|
||||
#define TAG_SCROLL_ARROW 2100
|
||||
#define TAG_ITEM_ICON_BASE 2110
|
||||
@@ -48,7 +47,7 @@ static EWRAM_DATA struct ShopData *sShopData = NULL;
|
||||
static EWRAM_DATA struct ListMenuItem *sListMenuItems = NULL;
|
||||
static EWRAM_DATA u8 (*sItemNames)[16] = {0};
|
||||
static EWRAM_DATA u8 sPurchaseHistoryId = 0;
|
||||
EWRAM_DATA struct ItemSlot gMartPurchaseHistory[3] = {0};
|
||||
EWRAM_DATA struct ItemSlot gMartPurchaseHistory[SMARTSHOPPER_NUM_ITEMS] = {0};
|
||||
|
||||
static void Task_ShopMenu(u8 taskId);
|
||||
static void Task_HandleShopMenuQuit(u8 taskId);
|
||||
@@ -373,7 +372,7 @@ static void Task_HandleShopMenuQuit(u8 taskId)
|
||||
{
|
||||
ClearStdWindowAndFrameToTransparent(sMartInfo.windowId, 2);
|
||||
RemoveWindow(sMartInfo.windowId);
|
||||
SaveRecordedItemPurchasesForTVShow();
|
||||
TryPutSmartShopperOnAir();
|
||||
ScriptContext2_Disable();
|
||||
DestroyTask(taskId);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user