{"action":"created","comment":{"url":"https://api.github.com/repos/pret/pokefirered/pulls/comments/351070458","pull_request_review_id":323392959,"id":351070458,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDM1MTA3MDQ1OA==","diff_hunk":"@@ -0,0 +1,1283 @@\n+#include \"global.h\"\n+#include \"shop.h\"\n+#include \"menu.h\"\n+#include \"data.h\"\n+#include \"graphics.h\"\n+#include \"strings.h\"\n+#include \"list_menu.h\"\n+#include \"new_menu_helpers.h\"\n+#include \"party_menu.h\"\n+#include \"window.h\"\n+#include \"field_specials.h\"\n+#include \"field_weather.h\"\n+#include \"field_camera.h\"\n+#include \"task.h\"\n+#include \"text.h\"\n+#include \"item.h\"\n+#include \"item_menu.h\"\n+#include \"main.h\"\n+#include \"sound.h\"\n+#include \"string_util.h\"\n+#include \"overworld.h\"\n+#include \"window.h\"\n+#include \"palette.h\"\n+#include \"field_fadetransition.h\"\n+#include \"scanline_effect.h\"\n+#include \"item_menu_icons.h\"\n+#include \"bg.h\"\n+#include \"gpu_regs.h\"\n+#include \"malloc.h\"\n+#include \"decompress.h\"\n+#include \"menu_indicators.h\"\n+#include \"field_player_avatar.h\"\n+#include \"fieldmap.h\"\n+#include \"field_map_obj.h\"\n+#include \"money.h\"\n+#include \"quest_log.h\"\n+#include \"script.h\"\n+#include \"constants/songs.h\"\n+#include \"constants/items.h\"\n+#include \"constants/game_stat.h\"\n+\n+#define tItemCount data[1]\n+#define tItemId data[5]\n+#define tListTaskId data[7]\n+\n+// mart types\n+enum\n+{\n+    MART_TYPE_REGULAR = 0,\n+    MART_TYPE_TMHM,\n+    MART_TYPE_DECOR,\n+    MART_TYPE_DECOR2,\n+};\n+\n+// shop view window NPC info enum\n+enum\n+{\n+    EVENT_OBJ_ID,\n+    X_COORD,\n+    Y_COORD,\n+    ANIM_NUM\n+};\n+\n+struct ShopData\n+{\n+    /*0x00*/ void (*callback)(void);\n+    /*0x04*/ const u16 *itemList;\n+    /*0x08*/ u32 itemPrice;\n+    /*0x0C*/ u16 selectedRow;\n+    /*0x0E*/ u16 scrollOffset;\n+    /*0x10*/ u16 itemCount;\n+    /*0x12*/ u16 field12;\n+    /*0x14*/ u16 maxQuantity;\n+    /*0x16*/ u16 martType:4;    // 0x1 if tm list\n+             u16 unk16_4:5;\n+             u16 itemSlot:2;\n+             u16 unk16_11:5;\n+    /*0x18*/ u16 unk18;\n+};\n+\n+struct MartHistory\n+{\n+    /*0x00*/ u32 unk0;\n+    /*0x04*/ u16 unk4;\n+    /*0x06*/ u16 unk6;\n+    /*0x08*/ u8 unk8;\n+    /*0x09*/ u8 unk9;\n+    /*0x0A*/ u8 unkA;\n+    /*0x0B*/ u8 unkB;\n+    /*0x0C*/ u16 unkC;\n+    /*0x0E*/ u8 unkE[6];\n+    /*0x14*/ u8 unk14;\n+    /*0x15*/ u8 unk15;\n+    /*0x16*/ u8 unk16;\n+    /*0x17*/ u8 unk17;\n+}; /* size = 0x18 */\n+\n+static EWRAM_DATA s16 sViewportMapObjects[MAP_OBJECTS_COUNT][4] = {0};\n+EWRAM_DATA struct ShopData gShopData = {0};\n+static EWRAM_DATA u8 sShopMenuWindowId = 0;\n+EWRAM_DATA u16 (*gShopTilemapBuffer1)[0x400] = {0};\n+EWRAM_DATA u16 (*gShopTilemapBuffer2)[0x400] = {0};\n+EWRAM_DATA u16 (*gShopTilemapBuffer3)[0x400] = {0};\n+EWRAM_DATA u16 (*gShopTilemapBuffer4)[0x400] = {0};\n+EWRAM_DATA struct ListMenuItem *sShopMenuListMenu = {0};\n+static EWRAM_DATA u8 (*sShopMenuItemStrings)[13] = {0};\n+EWRAM_DATA struct MartHistory gShopMenuHistory = {0};\n+\n+//Function Declarations\n+static u8 CreateShopMenu(u8 a0);\n+static bool8 GetMartTypeFromItemList(bool32 a0);\n+static void SetShopItemsForSale(const u16 *items);\n+static void SetShopMenuCallback(MainCallback callback);\n+static void Task_ShopMenu(u8 taskId);\n+static void Task_HandleShopMenuBuy(u8 taskId);\n+static void Task_HandleShopMenuSell(u8 taskId);\n+static void CB2_GoToSellMenu(void);\n+static void Task_HandleShopMenuQuit(u8 taskId);\n+static void ClearShopMenuWindow(void);\n+static void Task_GoToBuyOrSellMenu(u8 taskId);\n+static void MapPostLoadHook_ReturnToShopMenu(void);\n+static void Task_ReturnToShopMenu(u8 taskId);\n+static void ShowShopMenuAfterExitingBuyOrSellMenu(u8 taskId);\n+static void CB2_BuyMenu(void);\n+static void VBlankCB_BuyMenu(void);\n+static void CB2_InitBuyMenu(void);\n+static bool8 InitShopData(void);\n+static void BuyMenuInitBgs(void);\n+static void BuyMenuDecompressBgGraphics(void);\n+static void sub_809B10C(bool32 a0);\n+static void BuyMenuDrawGraphics(void);\n+static bool8 BuyMenuBuildListMenuTemplate(void);\n+static void PokeMartWriteNameAndIdAt(struct ListMenuItem *list, u16 index, u8* dst);\n+static void BuyMenuPrintItemDescriptionAndShowItemIcon(s32 item, bool8 onInit, struct ListMenu *list);\n+static void BuyMenuPrintPriceInList(u8 windowId, s32 itemId, u8 y);\n+static void LoadTmHmNameInMart(s32 item);\n+static void BuyMenuPrintCursor(u8 listTaskId, u8 a1);\n+static void BuyMenuPrintCursorAtYPosition(u8 y, u8 a1);\n+static void BuyMenuFreeMemory(void);\n+static void SetShopExitCallback(void);\n+static void BuyMenuAddScrollIndicatorArrows(void);\n+static void BuyQuantityAddScrollIndicatorArrows(void);\n+static void BuyMenuRemoveScrollIndicatorArrows(void);\n+static void sub_809B764(void);\n+static void BuyMenuDrawMapBg(void);\n+static void BuyMenuDrawMapMetatile(s16 x, s16 y, const u16 *src, u8 metatileLayerType);\n+static void BuyMenuDrawMapMetatileLayer(u16 *dest, s16 offset1, s16 offset2, const u16 *src);\n+static void BuyMenuCollectEventObjectData(void);\n+static void BuyMenuDrawEventObjects(void);\n+static void BuyMenuCopyTilemapData(void);\n+static void BuyMenuPrintItemQuantityAndPrice(u8 taskId);\n+static void Task_BuyMenu(u8 taskId);\n+static void Task_BuyHowManyDialogueInit(u8 taskId);\n+static void Task_BuyHowManyDialogueHandleInput(u8 taskId);\n+static void CreateBuyMenuConfirmPurchaseWindow(u8 taskId);\n+static void BuyMenuTryMakePurchase(u8 taskId);\n+static void BuyMenuSubtractMoney(u8 taskId);\n+static void Task_ReturnToItemListAfterItemPurchase(u8 taskId);\n+static void BuyMenuReturnToItemList(u8 taskId);\n+static void ExitBuyMenu(u8 taskId);\n+static void Task_ExitBuyMenu(u8 taskId);\n+static void nullsub_52(u8 taskId);\n+static void nullsub_53(void);\n+static void RecordQuestLogItemPurchase(void);\n+\n+static const struct MenuAction sShopMenuActions_BuySellQuit[] =\n+{\n+    {gText_ShopBuy, {.void_u8 = Task_HandleShopMenuBuy}},\n+    {gText_ShopSell, {.void_u8 = Task_HandleShopMenuSell}},\n+    {gText_ShopQuit, {.void_u8 = Task_HandleShopMenuQuit}}\n+};\n+\n+static const struct YesNoFuncTable sShopMenuActions_BuyQuit[] =\n+{\n+    BuyMenuTryMakePurchase,\n+    BuyMenuReturnToItemList\n+};\n+\n+static const struct WindowTemplate sShopMenuWindowTemplate =\n+{\n+    .bg = 0,\n+    .tilemapLeft = 2,\n+    .tilemapTop = 1,\n+    .width = 12,\n+    .height = 6,\n+    .paletteNum = 15,\n+    .baseBlock = 8\n+};    \n+\n+static const struct BgTemplate sShopBuyMenuBgTemplates[4] =\n+{\n+    {\n+        .bg = 0,\n+        .charBaseIndex = 2,\n+        .mapBaseIndex = 31,\n+        .screenSize = 0,\n+        .paletteMode = 0,\n+        .priority = 0,\n+        .baseTile = 0\n+    },\n+    {\n+        .bg = 1,\n+        .charBaseIndex = 0,\n+        .mapBaseIndex = 30,\n+        .screenSize = 0,\n+        .paletteMode = 0,\n+        .priority = 1,\n+        .baseTile = 0\n+    },\n+    {\n+        .bg = 2,\n+        .charBaseIndex = 0,\n+        .mapBaseIndex = 29,\n+        .screenSize = 0,\n+        .paletteMode = 0,\n+        .priority = 2,\n+        .baseTile = 0\n+    },\n+    {\n+        .bg = 3,\n+        .charBaseIndex = 0,\n+        .mapBaseIndex = 28,\n+        .screenSize = 0,\n+        .paletteMode = 0,\n+        .priority = 3,\n+        .baseTile = 0\n+    }\n+};\n+\n+// Functions\n+static u8 CreateShopMenu(u8 a0)\n+{\n+    gShopData.martType = GetMartTypeFromItemList(a0) & 0xF;\n+    gShopData.selectedRow = 0;\n+    if (ContextNpcGetTextColor() == 0)\n+        gShopData.unk16_4 = 4;\n+    else\n+        gShopData.unk16_4 = 5;\n+    \n+    sShopMenuWindowId = AddWindow(&sShopMenuWindowTemplate);\n+    SetStdWindowBorderStyle(sShopMenuWindowId, 0);\n+    PrintTextArray(sShopMenuWindowId, 2, GetMenuCursorDimensionByFont(2, 0), 2, 16, 3, sShopMenuActions_BuySellQuit);\n+    Menu_InitCursor(sShopMenuWindowId, 2, 0, 2, 16, 3, 0);\n+    PutWindowTilemap(sShopMenuWindowId);\n+    CopyWindowToVram(sShopMenuWindowId, 1);\n+    return CreateTask(Task_ShopMenu, 8);\n+}\n+\n+static bool8 GetMartTypeFromItemList(bool32 a0)\n+{    \n+    u16 i;\n+    \n+    if (a0)\n+        return (u8)a0;\n+    goto MAIN;\n+    \n+    RETURN_1:\n+    return 1;\n+\n+    MAIN:\n+    i = 0;\n+    if (i >= gShopData.itemCount)\n+        goto RETURN_0;\n+    else if (gShopData.itemList[0] == 0)\n+        goto RETURN_0;\n+\n+    while (gShopData.itemList[i] != 0)\n+    {\n+        if (ItemId_GetPocket(gShopData.itemList[i]) == POCKET_TM_CASE)\n+            goto RETURN_1;\n+        ++i;\n+        if (i >= gShopData.itemCount)\n+            goto RETURN_0;\n+        else if (gShopData.itemList[i] == 0)\n+            goto RETURN_0;\n+    }\n+    \n+    RETURN_0:\n+    return 0;\n+}\n+\n+static void SetShopItemsForSale(const u16 *items)\n+{    \n+    struct ShopData *mart;\n+\n+    mart = &gShopData;\n+    mart->itemList = items;\n+    mart->itemCount = 0;\n+    if (mart->itemList[0] == 0)\n+        return;\n+\n+    do\n+    {\n+        ++gShopData.itemCount;\n+    } while (mart->itemList[gShopData.itemCount]);\n+}\n+\n+static void SetShopMenuCallback(MainCallback callback)\n+{\n+    gShopData.callback = callback;\n+}\n+\n+static void Task_ShopMenu(u8 taskId)\n+{\n+    s8 input = Menu_ProcessInputNoWrapAround();\n+    \n+    switch (input)\n+    {\n+    case MENU_NOTHING_CHOSEN:\n+        break;\n+    case MENU_B_PRESSED:\n+        PlaySE(SE_SELECT);\n+        Task_HandleShopMenuQuit(taskId);\n+        break;\n+    default:\n+        sShopMenuActions_BuySellQuit[Menu_GetCursorPos()].func.void_u8(taskId);\n+        break;\n+    }\n+}\n+\n+static void Task_HandleShopMenuBuy(u8 taskId)\n+{\n+    SetWordTaskArg(taskId, 0xE, (u32)CB2_InitBuyMenu);\n+    fade_screen(1, 0);\n+    gTasks[taskId].func = Task_GoToBuyOrSellMenu;\n+}\n+\n+static void Task_HandleShopMenuSell(u8 taskId)\n+{\n+    SetWordTaskArg(taskId, 0xE, (u32)CB2_GoToSellMenu);\n+    fade_screen(1, 0);\n+    gTasks[taskId].func = Task_GoToBuyOrSellMenu;    \n+}\n+\n+static void CB2_GoToSellMenu(void)\n+{\n+    GoToBagMenu(2, POCKET_POKE_BALLS, CB2_ReturnToField);\n+    gFieldCallback = MapPostLoadHook_ReturnToShopMenu;\n+}\n+\n+static void Task_HandleShopMenuQuit(u8 taskId)\n+{\n+    ClearShopMenuWindow();\n+    RecordQuestLogItemPurchase();\n+    DestroyTask(taskId);\n+    if (gShopData.callback != NULL)\n+        gShopData.callback();\n+}\n+\n+static void ClearShopMenuWindow(void)\n+{\n+    ClearStdWindowAndFrameToTransparent(sShopMenuWindowId, 2);\n+    RemoveWindow(sShopMenuWindowId);\n+}\n+\n+static void Task_GoToBuyOrSellMenu(u8 taskId)\n+{\n+    if (gPaletteFade.active)\n+        return;\n+    \n+    SetMainCallback2((void *)GetWordTaskArg(taskId, 0xE));\n+    FreeAllWindowBuffers();\n+    DestroyTask(taskId);\n+}\n+\n+static void MapPostLoadHook_ReturnToShopMenu(void)\n+{\n+    sub_807DC00();\n+    CreateTask(Task_ReturnToShopMenu, 8);\n+}\n+\n+static void Task_ReturnToShopMenu(u8 taskId)\n+{\n+    if (IsWeatherNotFadingIn() != TRUE)\n+        return;\n+    \n+    DisplayItemMessageOnField(taskId, GetMartUnk16_4(), gText_CanIHelpWithAnythingElse, ShowShopMenuAfterExitingBuyOrSellMenu);\n+}\n+\n+static void ShowShopMenuAfterExitingBuyOrSellMenu(u8 taskId)\n+{\n+    CreateShopMenu(gShopData.martType);\n+    DestroyTask(taskId);\n+}\n+\n+static void CB2_BuyMenu(void)\n+{\n+    RunTasks();\n+    AnimateSprites();\n+    BuildOamBuffer();\n+    UpdatePaletteFade();\n+    DoScheduledBgTilemapCopiesToVram();\n+}\n+\n+static void VBlankCB_BuyMenu(void)\n+{\n+    LoadOam();\n+    ProcessSpriteCopyRequests();\n+    TransferPlttBuffer();\n+}\n+\n+static void CB2_InitBuyMenu(void)\n+{\n+    u8 taskId;\n+    \n+    switch (gMain.state)\n+    {\n+    case 0:\n+        SetVBlankHBlankCallbacksToNull();\n+        CpuFastFill(0, (void *)OAM, 0x400);\n+        ScanlineEffect_Stop();\n+        ResetTempTileDataBuffers();\n+        FreeAllSpritePalettes();\n+        ResetPaletteFade();\n+        ResetSpriteData();\n+        ResetTasks();\n+        ClearScheduledBgCopiesToVram();\n+        ResetItemMenuIconState();\n+        if ((!(InitShopData())) || (!(BuyMenuBuildListMenuTemplate())))","path":"src/shop.c","position":419,"original_position":419,"commit_id":"f4b6a8195a0b5145b58afa81e87a457bda140c11","original_commit_id":"f4b6a8195a0b5145b58afa81e87a457bda140c11","user":{"login":"jiangzhengwenjz","id":15051292,"node_id":"MDQ6VXNlcjE1MDUxMjky","avatar_url":"https://avatars1.githubusercontent.com/u/15051292?v=4","gravatar_id":"","url":"https://api.github.com/users/jiangzhengwenjz","html_url":"https://github.com/jiangzhengwenjz","followers_url":"https://api.github.com/users/jiangzhengwenjz/followers","following_url":"https://api.github.com/users/jiangzhengwenjz/following{/other_user}","gists_url":"https://api.github.com/users/jiangzhengwenjz/gists{/gist_id}","starred_url":"https://api.github.com/users/jiangzhengwenjz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jiangzhengwenjz/subscriptions","organizations_url":"https://api.github.com/users/jiangzhengwenjz/orgs","repos_url":"https://api.github.com/users/jiangzhengwenjz/repos","events_url":"https://api.github.com/users/jiangzhengwenjz/events{/privacy}","received_events_url":"https://api.github.com/users/jiangzhengwenjz/received_events","type":"User","site_admin":false},"body":"too many parentheses. Remove the ones directly wrapping function calls","created_at":"2019-11-27T02:29:34Z","updated_at":"2019-11-27T02:38:30Z","html_url":"https://github.com/pret/pokefirered/pull/169#discussion_r351070458","pull_request_url":"https://api.github.com/repos/pret/pokefirered/pulls/169","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/pret/pokefirered/pulls/comments/351070458"},"html":{"href":"https://github.com/pret/pokefirered/pull/169#discussion_r351070458"},"pull_request":{"href":"https://api.github.com/repos/pret/pokefirered/pulls/169"}}},"pull_request":{"url":"https://api.github.com/repos/pret/pokefirered/pulls/169","id":345884110,"node_id":"MDExOlB1bGxSZXF1ZXN0MzQ1ODg0MTEw","html_url":"https://github.com/pret/pokefirered/pull/169","diff_url":"https://github.com/pret/pokefirered/pull/169.diff","patch_url":"https://github.com/pret/pokefirered/pull/169.patch","issue_url":"https://api.github.com/repos/pret/pokefirered/issues/169","number":169,"state":"open","locked":false,"title":"Shop","user":{"login":"ghoulslash","id":41651341,"node_id":"MDQ6VXNlcjQxNjUxMzQx","avatar_url":"https://avatars2.githubusercontent.com/u/41651341?v=4","gravatar_id":"","url":"https://api.github.com/users/ghoulslash","html_url":"https://github.com/ghoulslash","followers_url":"https://api.github.com/users/ghoulslash/followers","following_url":"https://api.github.com/users/ghoulslash/following{/other_user}","gists_url":"https://api.github.com/users/ghoulslash/gists{/gist_id}","starred_url":"https://api.github.com/users/ghoulslash/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ghoulslash/subscriptions","organizations_url":"https://api.github.com/users/ghoulslash/orgs","repos_url":"https://api.github.com/users/ghoulslash/repos","events_url":"https://api.github.com/users/ghoulslash/events{/privacy}","received_events_url":"https://api.github.com/users/ghoulslash/received_events","type":"User","site_admin":false},"body":"decompile asm/shop.s","created_at":"2019-11-26T18:48:42Z","updated_at":"2019-11-27T02:38:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":"db4d1ec6c153922465e8521810562370eaf34212","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/pret/pokefirered/pulls/169/commits","review_comments_url":"https://api.github.com/repos/pret/pokefirered/pulls/169/comments","review_comment_url":"https://api.github.com/repos/pret/pokefirered/pulls/comments{/number}","comments_url":"https://api.github.com/repos/pret/pokefirered/issues/169/comments","statuses_url":"https://api.github.com/repos/pret/pokefirered/statuses/f4b6a8195a0b5145b58afa81e87a457bda140c11","head":{"label":"ghoulslash:shop","ref":"shop","sha":"f4b6a8195a0b5145b58afa81e87a457bda140c11","user":{"login":"ghoulslash","id":41651341,"node_id":"MDQ6VXNlcjQxNjUxMzQx","avatar_url":"https://avatars2.githubusercontent.com/u/41651341?v=4","gravatar_id":"","url":"https://api.github.com/users/ghoulslash","html_url":"https://github.com/ghoulslash","followers_url":"https://api.github.com/users/ghoulslash/followers","following_url":"https://api.github.com/users/ghoulslash/following{/other_user}","gists_url":"https://api.github.com/users/ghoulslash/gists{/gist_id}","starred_url":"https://api.github.com/users/ghoulslash/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ghoulslash/subscriptions","organizations_url":"https://api.github.com/users/ghoulslash/orgs","repos_url":"https://api.github.com/users/ghoulslash/repos","events_url":"https://api.github.com/users/ghoulslash/events{/privacy}","received_events_url":"https://api.github.com/users/ghoulslash/received_events","type":"User","site_admin":false},"repo":{"id":221988454,"node_id":"MDEwOlJlcG9zaXRvcnkyMjE5ODg0NTQ=","name":"pokefirered","full_name":"ghoulslash/pokefirered","private":false,"owner":{"login":"ghoulslash","id":41651341,"node_id":"MDQ6VXNlcjQxNjUxMzQx","avatar_url":"https://avatars2.githubusercontent.com/u/41651341?v=4","gravatar_id":"","url":"https://api.github.com/users/ghoulslash","html_url":"https://github.com/ghoulslash","followers_url":"https://api.github.com/users/ghoulslash/followers","following_url":"https://api.github.com/users/ghoulslash/following{/other_user}","gists_url":"https://api.github.com/users/ghoulslash/gists{/gist_id}","starred_url":"https://api.github.com/users/ghoulslash/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ghoulslash/subscriptions","organizations_url":"https://api.github.com/users/ghoulslash/orgs","repos_url":"https://api.github.com/users/ghoulslash/repos","events_url":"https://api.github.com/users/ghoulslash/events{/privacy}","received_events_url":"https://api.github.com/users/ghoulslash/received_events","type":"User","site_admin":false},"html_url":"https://github.com/ghoulslash/pokefirered","description":"Disassembly of Pokémon Fire Red/Leaf Green","fork":true,"url":"https://api.github.com/repos/ghoulslash/pokefirered","forks_url":"https://api.github.com/repos/ghoulslash/pokefirered/forks","keys_url":"https://api.github.com/repos/ghoulslash/pokefirered/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ghoulslash/pokefirered/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ghoulslash/pokefirered/teams","hooks_url":"https://api.github.com/repos/ghoulslash/pokefirered/hooks","issue_events_url":"https://api.github.com/repos/ghoulslash/pokefirered/issues/events{/number}","events_url":"https://api.github.com/repos/ghoulslash/pokefirered/events","assignees_url":"https://api.github.com/repos/ghoulslash/pokefirered/assignees{/user}","branches_url":"https://api.github.com/repos/ghoulslash/pokefirered/branches{/branch}","tags_url":"https://api.github.com/repos/ghoulslash/pokefirered/tags","blobs_url":"https://api.github.com/repos/ghoulslash/pokefirered/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ghoulslash/pokefirered/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ghoulslash/pokefirered/git/refs{/sha}","trees_url":"https://api.github.com/repos/ghoulslash/pokefirered/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ghoulslash/pokefirered/statuses/{sha}","languages_url":"https://api.github.com/repos/ghoulslash/pokefirered/languages","stargazers_url":"https://api.github.com/repos/ghoulslash/pokefirered/stargazers","contributors_url":"https://api.github.com/repos/ghoulslash/pokefirered/contributors","subscribers_url":"https://api.github.com/repos/ghoulslash/pokefirered/subscribers","subscription_url":"https://api.github.com/repos/ghoulslash/pokefirered/subscription","commits_url":"https://api.github.com/repos/ghoulslash/pokefirered/commits{/sha}","git_commits_url":"https://api.github.com/repos/ghoulslash/pokefirered/git/commits{/sha}","comments_url":"https://api.github.com/repos/ghoulslash/pokefirered/comments{/number}","issue_comment_url":"https://api.github.com/repos/ghoulslash/pokefirered/issues/comments{/number}","contents_url":"https://api.github.com/repos/ghoulslash/pokefirered/contents/{+path}","compare_url":"https://api.github.com/repos/ghoulslash/pokefirered/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ghoulslash/pokefirered/merges","archive_url":"https://api.github.com/repos/ghoulslash/pokefirered/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ghoulslash/pokefirered/downloads","issues_url":"https://api.github.com/repos/ghoulslash/pokefirered/issues{/number}","pulls_url":"https://api.github.com/repos/ghoulslash/pokefirered/pulls{/number}","milestones_url":"https://api.github.com/repos/ghoulslash/pokefirered/milestones{/number}","notifications_url":"https://api.github.com/repos/ghoulslash/pokefirered/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ghoulslash/pokefirered/labels{/name}","releases_url":"https://api.github.com/repos/ghoulslash/pokefirered/releases{/id}","deployments_url":"https://api.github.com/repos/ghoulslash/pokefirered/deployments","created_at":"2019-11-15T19:19:39Z","updated_at":"2019-11-21T16:31:46Z","pushed_at":"2019-11-27T00:05:06Z","git_url":"git://github.com/ghoulslash/pokefirered.git","ssh_url":"git@github.com:ghoulslash/pokefirered.git","clone_url":"https://github.com/ghoulslash/pokefirered.git","svn_url":"https://github.com/ghoulslash/pokefirered","homepage":null,"size":28292,"stargazers_count":1,"watchers_count":1,"language":"Assembly","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"pret:master","ref":"master","sha":"19ecb1631b5fce1147077026a8eff890c6ec315a","user":{"login":"pret","id":10761592,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEwNzYxNTky","avatar_url":"https://avatars1.githubusercontent.com/u/10761592?v=4","gravatar_id":"","url":"https://api.github.com/users/pret","html_url":"https://github.com/pret","followers_url":"https://api.github.com/users/pret/followers","following_url":"https://api.github.com/users/pret/following{/other_user}","gists_url":"https://api.github.com/users/pret/gists{/gist_id}","starred_url":"https://api.github.com/users/pret/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pret/subscriptions","organizations_url":"https://api.github.com/users/pret/orgs","repos_url":"https://api.github.com/users/pret/repos","events_url":"https://api.github.com/users/pret/events{/privacy}","received_events_url":"https://api.github.com/users/pret/received_events","type":"Organization","site_admin":false},"repo":{"id":115841713,"node_id":"MDEwOlJlcG9zaXRvcnkxMTU4NDE3MTM=","name":"pokefirered","full_name":"pret/pokefirered","private":false,"owner":{"login":"pret","id":10761592,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEwNzYxNTky","avatar_url":"https://avatars1.githubusercontent.com/u/10761592?v=4","gravatar_id":"","url":"https://api.github.com/users/pret","html_url":"https://github.com/pret","followers_url":"https://api.github.com/users/pret/followers","following_url":"https://api.github.com/users/pret/following{/other_user}","gists_url":"https://api.github.com/users/pret/gists{/gist_id}","starred_url":"https://api.github.com/users/pret/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pret/subscriptions","organizations_url":"https://api.github.com/users/pret/orgs","repos_url":"https://api.github.com/users/pret/repos","events_url":"https://api.github.com/users/pret/events{/privacy}","received_events_url":"https://api.github.com/users/pret/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/pret/pokefirered","description":"Disassembly of Pokémon Fire Red/Leaf Green","fork":false,"url":"https://api.github.com/repos/pret/pokefirered","forks_url":"https://api.github.com/repos/pret/pokefirered/forks","keys_url":"https://api.github.com/repos/pret/pokefirered/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pret/pokefirered/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pret/pokefirered/teams","hooks_url":"https://api.github.com/repos/pret/pokefirered/hooks","issue_events_url":"https://api.github.com/repos/pret/pokefirered/issues/events{/number}","events_url":"https://api.github.com/repos/pret/pokefirered/events","assignees_url":"https://api.github.com/repos/pret/pokefirered/assignees{/user}","branches_url":"https://api.github.com/repos/pret/pokefirered/branches{/branch}","tags_url":"https://api.github.com/repos/pret/pokefirered/tags","blobs_url":"https://api.github.com/repos/pret/pokefirered/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pret/pokefirered/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pret/pokefirered/git/refs{/sha}","trees_url":"https://api.github.com/repos/pret/pokefirered/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pret/pokefirered/statuses/{sha}","languages_url":"https://api.github.com/repos/pret/pokefirered/languages","stargazers_url":"https://api.github.com/repos/pret/pokefirered/stargazers","contributors_url":"https://api.github.com/repos/pret/pokefirered/contributors","subscribers_url":"https://api.github.com/repos/pret/pokefirered/subscribers","subscription_url":"https://api.github.com/repos/pret/pokefirered/subscription","commits_url":"https://api.github.com/repos/pret/pokefirered/commits{/sha}","git_commits_url":"https://api.github.com/repos/pret/pokefirered/git/commits{/sha}","comments_url":"https://api.github.com/repos/pret/pokefirered/comments{/number}","issue_comment_url":"https://api.github.com/repos/pret/pokefirered/issues/comments{/number}","contents_url":"https://api.github.com/repos/pret/pokefirered/contents/{+path}","compare_url":"https://api.github.com/repos/pret/pokefirered/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pret/pokefirered/merges","archive_url":"https://api.github.com/repos/pret/pokefirered/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pret/pokefirered/downloads","issues_url":"https://api.github.com/repos/pret/pokefirered/issues{/number}","pulls_url":"https://api.github.com/repos/pret/pokefirered/pulls{/number}","milestones_url":"https://api.github.com/repos/pret/pokefirered/milestones{/number}","notifications_url":"https://api.github.com/repos/pret/pokefirered/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pret/pokefirered/labels{/name}","releases_url":"https://api.github.com/repos/pret/pokefirered/releases{/id}","deployments_url":"https://api.github.com/repos/pret/pokefirered/deployments","created_at":"2017-12-31T04:07:51Z","updated_at":"2019-11-26T15:49:40Z","pushed_at":"2019-11-27T00:05:08Z","git_url":"git://github.com/pret/pokefirered.git","ssh_url":"git@github.com:pret/pokefirered.git","clone_url":"https://github.com/pret/pokefirered.git","svn_url":"https://github.com/pret/pokefirered","homepage":null,"size":28027,"stargazers_count":166,"watchers_count":166,"language":"C","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":50,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":4,"license":null,"forks":50,"open_issues":4,"watchers":166,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/pret/pokefirered/pulls/169"},"html":{"href":"https://github.com/pret/pokefirered/pull/169"},"issue":{"href":"https://api.github.com/repos/pret/pokefirered/issues/169"},"comments":{"href":"https://api.github.com/repos/pret/pokefirered/issues/169/comments"},"review_comments":{"href":"https://api.github.com/repos/pret/pokefirered/pulls/169/comments"},"review_comment":{"href":"https://api.github.com/repos/pret/pokefirered/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/pret/pokefirered/pulls/169/commits"},"statuses":{"href":"https://api.github.com/repos/pret/pokefirered/statuses/f4b6a8195a0b5145b58afa81e87a457bda140c11"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"jiangzhengwenjz"}}