{"action":"created","issue":{"url":"https://api.github.com/repos/Zarel/Pokemon-Showdown-Client/issues/821","repository_url":"https://api.github.com/repos/Zarel/Pokemon-Showdown-Client","labels_url":"https://api.github.com/repos/Zarel/Pokemon-Showdown-Client/issues/821/labels{/name}","comments_url":"https://api.github.com/repos/Zarel/Pokemon-Showdown-Client/issues/821/comments","events_url":"https://api.github.com/repos/Zarel/Pokemon-Showdown-Client/issues/821/events","html_url":"https://github.com/Zarel/Pokemon-Showdown-Client/pull/821","id":191806454,"number":821,"title":"Fix Smeargles learnsets","user":{"login":"HoeenCoder","id":11671268,"avatar_url":"https://avatars.githubusercontent.com/u/11671268?v=3","gravatar_id":"","url":"https://api.github.com/users/HoeenCoder","html_url":"https://github.com/HoeenCoder","followers_url":"https://api.github.com/users/HoeenCoder/followers","following_url":"https://api.github.com/users/HoeenCoder/following{/other_user}","gists_url":"https://api.github.com/users/HoeenCoder/gists{/gist_id}","starred_url":"https://api.github.com/users/HoeenCoder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HoeenCoder/subscriptions","organizations_url":"https://api.github.com/users/HoeenCoder/orgs","repos_url":"https://api.github.com/users/HoeenCoder/repos","events_url":"https://api.github.com/users/HoeenCoder/events{/privacy}","received_events_url":"https://api.github.com/users/HoeenCoder/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-26T13:38:30Z","updated_at":"2016-11-26T18:09:05Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Zarel/Pokemon-Showdown-Client/pulls/821","html_url":"https://github.com/Zarel/Pokemon-Showdown-Client/pull/821","diff_url":"https://github.com/Zarel/Pokemon-Showdown-Client/pull/821.diff","patch_url":"https://github.com/Zarel/Pokemon-Showdown-Client/pull/821.patch"},"body":"Smeragle should only be able to learn Non-Z moves from the gen selected and back.\r\n\r\nBecause `BattleMovedex[i]` does not contain a `.gen` property, I used `Tools.getMove(i);`\r\n\r\nThe `.isZ` check is for gen 7, because Smeargle cannot sketch a Z-move to learn it."},"comment":{"url":"https://api.github.com/repos/Zarel/Pokemon-Showdown-Client/issues/comments/263077483","html_url":"https://github.com/Zarel/Pokemon-Showdown-Client/pull/821#issuecomment-263077483","issue_url":"https://api.github.com/repos/Zarel/Pokemon-Showdown-Client/issues/821","id":263077483,"user":{"login":"Zarel","id":551184,"avatar_url":"https://avatars.githubusercontent.com/u/551184?v=3","gravatar_id":"","url":"https://api.github.com/users/Zarel","html_url":"https://github.com/Zarel","followers_url":"https://api.github.com/users/Zarel/followers","following_url":"https://api.github.com/users/Zarel/following{/other_user}","gists_url":"https://api.github.com/users/Zarel/gists{/gist_id}","starred_url":"https://api.github.com/users/Zarel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Zarel/subscriptions","organizations_url":"https://api.github.com/users/Zarel/orgs","repos_url":"https://api.github.com/users/Zarel/repos","events_url":"https://api.github.com/users/Zarel/events{/privacy}","received_events_url":"https://api.github.com/users/Zarel/received_events","type":"User","site_admin":false},"created_at":"2016-11-26T18:09:05Z","updated_at":"2016-11-26T18:09:05Z","body":"You should look at the source for how `Tools.getMove` checks the gen, and copy that. I'd prefer not to use `Tools.getMove` in an inner loop."}}
{"actor":{"display_login":"Zarel"}}