{"action":"created","comment":{"url":"https://api.github.com/repos/FullScreenShenanigans/FullScreenPokemon/pulls/comments/54359032","id":54359032,"diff_hunk":"@@ -4829,6 +4852,40 @@ module FullScreenPokemon {\n                 callback);\n         }\n \n+        /* partyActivate functions\n+         */\n+\n+        /**\n+         * Makes sure that Player is facing the correct HMSolid\n+         *\n+         * @param player   The Player.\n+         * @param pokemon   The Pokemon using the move.\n+         * @param move   The move being used.\n+         * @todo Eventually add check to make sure the Player beat the Gym leader needed to use the move.\n+         * @todo Add context for what happens if player is not bordering the correct HMSolid.\n+         */\n+        partyActivateCheckThing(player: IPlayer, pokemon: IPokemon, move: IMoveSchema): void {\n+            var borderedThing: IThing = player.bordering[player.direction];\n+\n+            if (borderedThing && borderedThing.title === move.solidName) {\n+                move.partyActivate(player, pokemon);\n+            }\n+        }\n+\n+        /**\n+         * Cuts a CuttableTree.\n+         *\n+         * @param player   The Player.\n+         * @param pokemon   The Pokemon using Cut.\n+         * @todo Eventually add check to make sure the Player beat the Gym leader needed to use the move.\n+         * @todo Add an animation for what happens when the CuttableTree is cut.\n+         */\n+        partyActivateCut(player: IPlayer, pokemon: IPokemon): void {\n+            player.FSP.MenuGrapher.registerB();\n+            player.FSP.MenuGrapher.registerB();\n+            player.FSP.closePauseMenu();\n+            player.FSP.killNormal(player.bordering[player.direction]);\n+        }\n ","path":"Source/FullScreenPokemon.ts","position":77,"original_position":77,"commit_id":"0bb47ec8dfcf23a52afb4faa800a0ae5b4bb7ed2","original_commit_id":"0bb47ec8dfcf23a52afb4faa800a0ae5b4bb7ed2","user":{"login":"JoshuaKGoldberg","id":3335181,"avatar_url":"https://avatars.githubusercontent.com/u/3335181?v=3","gravatar_id":"","url":"https://api.github.com/users/JoshuaKGoldberg","html_url":"https://github.com/JoshuaKGoldberg","followers_url":"https://api.github.com/users/JoshuaKGoldberg/followers","following_url":"https://api.github.com/users/JoshuaKGoldberg/following{/other_user}","gists_url":"https://api.github.com/users/JoshuaKGoldberg/gists{/gist_id}","starred_url":"https://api.github.com/users/JoshuaKGoldberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JoshuaKGoldberg/subscriptions","organizations_url":"https://api.github.com/users/JoshuaKGoldberg/orgs","repos_url":"https://api.github.com/users/JoshuaKGoldberg/repos","events_url":"https://api.github.com/users/JoshuaKGoldberg/events{/privacy}","received_events_url":"https://api.github.com/users/JoshuaKGoldberg/received_events","type":"User","site_admin":false},"body":"There should be two blank lines before `/* Cutscenes`.","created_at":"2016-02-28T23:31:34Z","updated_at":"2016-02-28T23:31:34Z","html_url":"https://github.com/FullScreenShenanigans/FullScreenPokemon/pull/177#discussion_r54359032","pull_request_url":"https://api.github.com/repos/FullScreenShenanigans/FullScreenPokemon/pulls/177","_links":{"self":{"href":"https://api.github.com/repos/FullScreenShenanigans/FullScreenPokemon/pulls/comments/54359032"},"html":{"href":"https://github.com/FullScreenShenanigans/FullScreenPokemon/pull/177#discussion_r54359032"},"pull_request":{"href":"https://api.github.com/repos/FullScreenShenanigans/FullScreenPokemon/pulls/177"}}},"pull_request":{"url":"https://api.github.com/repos/FullScreenShenanigans/FullScreenPokemon/pulls/177","id":61012302,"html_url":"https://github.com/FullScreenShenanigans/FullScreenPokemon/pull/177","diff_url":"https://github.com/FullScreenShenanigans/FullScreenPokemon/pull/177.diff","patch_url":"https://github.com/FullScreenShenanigans/FullScreenPokemon/pull/177.patch","issue_url":"https://api.github.com/repos/FullScreenShenanigans/FullScreenPokemon/issues/177","number":177,"state":"open","locked":false,"title":"Implemented ability to Cut CuttableTree objects.","user":{"login":"tsitsop","id":16912318,"avatar_url":"https://avatars.githubusercontent.com/u/16912318?v=3","gravatar_id":"","url":"https://api.github.com/users/tsitsop","html_url":"https://github.com/tsitsop","followers_url":"https://api.github.com/users/tsitsop/followers","following_url":"https://api.github.com/users/tsitsop/following{/other_user}","gists_url":"https://api.github.com/users/tsitsop/gists{/gist_id}","starred_url":"https://api.github.com/users/tsitsop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tsitsop/subscriptions","organizations_url":"https://api.github.com/users/tsitsop/orgs","repos_url":"https://api.github.com/users/tsitsop/repos","events_url":"https://api.github.com/users/tsitsop/events{/privacy}","received_events_url":"https://api.github.com/users/tsitsop/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-02-28T23:26:04Z","updated_at":"2016-02-28T23:31:34Z","closed_at":null,"merged_at":null,"merge_commit_sha":"03fe1a9c2526dd1eed01951b75a720524a83fd98","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/FullScreenShenanigans/FullScreenPokemon/pulls/177/commits","review_comments_url":"https://api.github.com/repos/FullScreenShenanigans/FullScreenPokemon/pulls/177/comments","review_comment_url":"https://api.github.com/repos/FullScreenShenanigans/FullScreenPokemon/pulls/comments{/number}","comments_url":"https://api.github.com/repos/FullScreenShenanigans/FullScreenPokemon/issues/177/comments","statuses_url":"https://api.github.com/repos/FullScreenShenanigans/FullScreenPokemon/statuses/0bb47ec8dfcf23a52afb4faa800a0ae5b4bb7ed2","head":{"label":"tsitsop:special-moves","ref":"special-moves","sha":"0bb47ec8dfcf23a52afb4faa800a0ae5b4bb7ed2","user":{"login":"tsitsop","id":16912318,"avatar_url":"https://avatars.githubusercontent.com/u/16912318?v=3","gravatar_id":"","url":"https://api.github.com/users/tsitsop","html_url":"https://github.com/tsitsop","followers_url":"https://api.github.com/users/tsitsop/followers","following_url":"https://api.github.com/users/tsitsop/following{/other_user}","gists_url":"https://api.github.com/users/tsitsop/gists{/gist_id}","starred_url":"https://api.github.com/users/tsitsop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tsitsop/subscriptions","organizations_url":"https://api.github.com/users/tsitsop/orgs","repos_url":"https://api.github.com/users/tsitsop/repos","events_url":"https://api.github.com/users/tsitsop/events{/privacy}","received_events_url":"https://api.github.com/users/tsitsop/received_events","type":"User","site_admin":false},"repo":{"id":52184993,"name":"FullScreenPokemon","full_name":"tsitsop/FullScreenPokemon","owner":{"login":"tsitsop","id":16912318,"avatar_url":"https://avatars.githubusercontent.com/u/16912318?v=3","gravatar_id":"","url":"https://api.github.com/users/tsitsop","html_url":"https://github.com/tsitsop","followers_url":"https://api.github.com/users/tsitsop/followers","following_url":"https://api.github.com/users/tsitsop/following{/other_user}","gists_url":"https://api.github.com/users/tsitsop/gists{/gist_id}","starred_url":"https://api.github.com/users/tsitsop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tsitsop/subscriptions","organizations_url":"https://api.github.com/users/tsitsop/orgs","repos_url":"https://api.github.com/users/tsitsop/repos","events_url":"https://api.github.com/users/tsitsop/events{/privacy}","received_events_url":"https://api.github.com/users/tsitsop/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tsitsop/FullScreenPokemon","description":"A free HTML5 remake of the original Pokemon, expanded for modern browsing. It will include the original maps, a random map generator, a level editor, and over a dozen custom mods.","fork":true,"url":"https://api.github.com/repos/tsitsop/FullScreenPokemon","forks_url":"https://api.github.com/repos/tsitsop/FullScreenPokemon/forks","keys_url":"https://api.github.com/repos/tsitsop/FullScreenPokemon/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tsitsop/FullScreenPokemon/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tsitsop/FullScreenPokemon/teams","hooks_url":"https://api.github.com/repos/tsitsop/FullScreenPokemon/hooks","issue_events_url":"https://api.github.com/repos/tsitsop/FullScreenPokemon/issues/events{/number}","events_url":"https://api.github.com/repos/tsitsop/FullScreenPokemon/events","assignees_url":"https://api.github.com/repos/tsitsop/FullScreenPokemon/assignees{/user}","branches_url":"https://api.github.com/repos/tsitsop/FullScreenPokemon/branches{/branch}","tags_url":"https://api.github.com/repos/tsitsop/FullScreenPokemon/tags","blobs_url":"https://api.github.com/repos/tsitsop/FullScreenPokemon/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tsitsop/FullScreenPokemon/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tsitsop/FullScreenPokemon/git/refs{/sha}","trees_url":"https://api.github.com/repos/tsitsop/FullScreenPokemon/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tsitsop/FullScreenPokemon/statuses/{sha}","languages_url":"https://api.github.com/repos/tsitsop/FullScreenPokemon/languages","stargazers_url":"https://api.github.com/repos/tsitsop/FullScreenPokemon/stargazers","contributors_url":"https://api.github.com/repos/tsitsop/FullScreenPokemon/contributors","subscribers_url":"https://api.github.com/repos/tsitsop/FullScreenPokemon/subscribers","subscription_url":"https://api.github.com/repos/tsitsop/FullScreenPokemon/subscription","commits_url":"https://api.github.com/repos/tsitsop/FullScreenPokemon/commits{/sha}","git_commits_url":"https://api.github.com/repos/tsitsop/FullScreenPokemon/git/commits{/sha}","comments_url":"https://api.github.com/repos/tsitsop/FullScreenPokemon/comments{/number}","issue_comment_url":"https://api.github.com/repos/tsitsop/FullScreenPokemon/issues/comments{/number}","contents_url":"https://api.github.com/repos/tsitsop/FullScreenPokemon/contents/{+path}","compare_url":"https://api.github.com/repos/tsitsop/FullScreenPokemon/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tsitsop/FullScreenPokemon/merges","archive_url":"https://api.github.com/repos/tsitsop/FullScreenPokemon/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tsitsop/FullScreenPokemon/downloads","issues_url":"https://api.github.com/repos/tsitsop/FullScreenPokemon/issues{/number}","pulls_url":"https://api.github.com/repos/tsitsop/FullScreenPokemon/pulls{/number}","milestones_url":"https://api.github.com/repos/tsitsop/FullScreenPokemon/milestones{/number}","notifications_url":"https://api.github.com/repos/tsitsop/FullScreenPokemon/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tsitsop/FullScreenPokemon/labels{/name}","releases_url":"https://api.github.com/repos/tsitsop/FullScreenPokemon/releases{/id}","deployments_url":"https://api.github.com/repos/tsitsop/FullScreenPokemon/deployments","created_at":"2016-02-21T01:21:28Z","updated_at":"2016-02-21T01:21:30Z","pushed_at":"2016-02-28T23:25:12Z","git_url":"git://github.com/tsitsop/FullScreenPokemon.git","ssh_url":"git@github.com:tsitsop/FullScreenPokemon.git","clone_url":"https://github.com/tsitsop/FullScreenPokemon.git","svn_url":"https://github.com/tsitsop/FullScreenPokemon","homepage":"http://www.fullscreenpokemon.com","size":277643,"stargazers_count":0,"watchers_count":0,"language":"TypeScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"FullScreenShenanigans:special-moves","ref":"special-moves","sha":"6a2eb8378fae0ca18cbf935d985ec252e77c0537","user":{"login":"FullScreenShenanigans","id":11371535,"avatar_url":"https://avatars.githubusercontent.com/u/11371535?v=3","gravatar_id":"","url":"https://api.github.com/users/FullScreenShenanigans","html_url":"https://github.com/FullScreenShenanigans","followers_url":"https://api.github.com/users/FullScreenShenanigans/followers","following_url":"https://api.github.com/users/FullScreenShenanigans/following{/other_user}","gists_url":"https://api.github.com/users/FullScreenShenanigans/gists{/gist_id}","starred_url":"https://api.github.com/users/FullScreenShenanigans/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FullScreenShenanigans/subscriptions","organizations_url":"https://api.github.com/users/FullScreenShenanigans/orgs","repos_url":"https://api.github.com/users/FullScreenShenanigans/repos","events_url":"https://api.github.com/users/FullScreenShenanigans/events{/privacy}","received_events_url":"https://api.github.com/users/FullScreenShenanigans/received_events","type":"Organization","site_admin":false},"repo":{"id":27313221,"name":"FullScreenPokemon","full_name":"FullScreenShenanigans/FullScreenPokemon","owner":{"login":"FullScreenShenanigans","id":11371535,"avatar_url":"https://avatars.githubusercontent.com/u/11371535?v=3","gravatar_id":"","url":"https://api.github.com/users/FullScreenShenanigans","html_url":"https://github.com/FullScreenShenanigans","followers_url":"https://api.github.com/users/FullScreenShenanigans/followers","following_url":"https://api.github.com/users/FullScreenShenanigans/following{/other_user}","gists_url":"https://api.github.com/users/FullScreenShenanigans/gists{/gist_id}","starred_url":"https://api.github.com/users/FullScreenShenanigans/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FullScreenShenanigans/subscriptions","organizations_url":"https://api.github.com/users/FullScreenShenanigans/orgs","repos_url":"https://api.github.com/users/FullScreenShenanigans/repos","events_url":"https://api.github.com/users/FullScreenShenanigans/events{/privacy}","received_events_url":"https://api.github.com/users/FullScreenShenanigans/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/FullScreenShenanigans/FullScreenPokemon","description":"A free HTML5 remake of the original Pokemon, expanded for modern browsing. It will include the original maps, a random map generator, a level editor, and over a dozen custom mods.","fork":false,"url":"https://api.github.com/repos/FullScreenShenanigans/FullScreenPokemon","forks_url":"https://api.github.com/repos/FullScreenShenanigans/FullScreenPokemon/forks","keys_url":"https://api.github.com/repos/FullScreenShenanigans/FullScreenPokemon/keys{/key_id}","collaborators_url":"https://api.github.com/repos/FullScreenShenanigans/FullScreenPokemon/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/FullScreenShenanigans/FullScreenPokemon/teams","hooks_url":"https://api.github.com/repos/FullScreenShenanigans/FullScreenPokemon/hooks","issue_events_url":"https://api.github.com/repos/FullScreenShenanigans/FullScreenPokemon/issues/events{/number}","events_url":"https://api.github.com/repos/FullScreenShenanigans/FullScreenPokemon/events","assignees_url":"https://api.github.com/repos/FullScreenShenanigans/FullScreenPokemon/assignees{/user}","branches_url":"https://api.github.com/repos/FullScreenShenanigans/FullScreenPokemon/branches{/branch}","tags_url":"https://api.github.com/repos/FullScreenShenanigans/FullScreenPokemon/tags","blobs_url":"https://api.github.com/repos/FullScreenShenanigans/FullScreenPokemon/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/FullScreenShenanigans/FullScreenPokemon/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/FullScreenShenanigans/FullScreenPokemon/git/refs{/sha}","trees_url":"https://api.github.com/repos/FullScreenShenanigans/FullScreenPokemon/git/trees{/sha}","statuses_url":"https://api.github.com/repos/FullScreenShenanigans/FullScreenPokemon/statuses/{sha}","languages_url":"https://api.github.com/repos/FullScreenShenanigans/FullScreenPokemon/languages","stargazers_url":"https://api.github.com/repos/FullScreenShenanigans/FullScreenPokemon/stargazers","contributors_url":"https://api.github.com/repos/FullScreenShenanigans/FullScreenPokemon/contributors","subscribers_url":"https://api.github.com/repos/FullScreenShenanigans/FullScreenPokemon/subscribers","subscription_url":"https://api.github.com/repos/FullScreenShenanigans/FullScreenPokemon/subscription","commits_url":"https://api.github.com/repos/FullScreenShenanigans/FullScreenPokemon/commits{/sha}","git_commits_url":"https://api.github.com/repos/FullScreenShenanigans/FullScreenPokemon/git/commits{/sha}","comments_url":"https://api.github.com/repos/FullScreenShenanigans/FullScreenPokemon/comments{/number}","issue_comment_url":"https://api.github.com/repos/FullScreenShenanigans/FullScreenPokemon/issues/comments{/number}","contents_url":"https://api.github.com/repos/FullScreenShenanigans/FullScreenPokemon/contents/{+path}","compare_url":"https://api.github.com/repos/FullScreenShenanigans/FullScreenPokemon/compare/{base}...{head}","merges_url":"https://api.github.com/repos/FullScreenShenanigans/FullScreenPokemon/merges","archive_url":"https://api.github.com/repos/FullScreenShenanigans/FullScreenPokemon/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/FullScreenShenanigans/FullScreenPokemon/downloads","issues_url":"https://api.github.com/repos/FullScreenShenanigans/FullScreenPokemon/issues{/number}","pulls_url":"https://api.github.com/repos/FullScreenShenanigans/FullScreenPokemon/pulls{/number}","milestones_url":"https://api.github.com/repos/FullScreenShenanigans/FullScreenPokemon/milestones{/number}","notifications_url":"https://api.github.com/repos/FullScreenShenanigans/FullScreenPokemon/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/FullScreenShenanigans/FullScreenPokemon/labels{/name}","releases_url":"https://api.github.com/repos/FullScreenShenanigans/FullScreenPokemon/releases{/id}","deployments_url":"https://api.github.com/repos/FullScreenShenanigans/FullScreenPokemon/deployments","created_at":"2014-11-29T19:51:14Z","updated_at":"2016-02-16T21:57:11Z","pushed_at":"2016-02-28T23:26:04Z","git_url":"git://github.com/FullScreenShenanigans/FullScreenPokemon.git","ssh_url":"git@github.com:FullScreenShenanigans/FullScreenPokemon.git","clone_url":"https://github.com/FullScreenShenanigans/FullScreenPokemon.git","svn_url":"https://github.com/FullScreenShenanigans/FullScreenPokemon","homepage":"http://www.fullscreenpokemon.com","size":278099,"stargazers_count":35,"watchers_count":35,"language":"TypeScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":14,"mirror_url":null,"open_issues_count":32,"forks":14,"open_issues":32,"watchers":35,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/FullScreenShenanigans/FullScreenPokemon/pulls/177"},"html":{"href":"https://github.com/FullScreenShenanigans/FullScreenPokemon/pull/177"},"issue":{"href":"https://api.github.com/repos/FullScreenShenanigans/FullScreenPokemon/issues/177"},"comments":{"href":"https://api.github.com/repos/FullScreenShenanigans/FullScreenPokemon/issues/177/comments"},"review_comments":{"href":"https://api.github.com/repos/FullScreenShenanigans/FullScreenPokemon/pulls/177/comments"},"review_comment":{"href":"https://api.github.com/repos/FullScreenShenanigans/FullScreenPokemon/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/FullScreenShenanigans/FullScreenPokemon/pulls/177/commits"},"statuses":{"href":"https://api.github.com/repos/FullScreenShenanigans/FullScreenPokemon/statuses/0bb47ec8dfcf23a52afb4faa800a0ae5b4bb7ed2"}}}}