{"action":"opened","issue":{"url":"https://api.github.com/repos/roukaour/pokecrystal/issues/71","repository_url":"https://api.github.com/repos/roukaour/pokecrystal","labels_url":"https://api.github.com/repos/roukaour/pokecrystal/issues/71/labels{/name}","comments_url":"https://api.github.com/repos/roukaour/pokecrystal/issues/71/comments","events_url":"https://api.github.com/repos/roukaour/pokecrystal/issues/71/events","html_url":"https://github.com/roukaour/pokecrystal/issues/71","id":186459921,"number":71,"title":"Possible redundant code in LoadEnemyMon and InitEnemyMon","user":{"login":"roukaour","id":1761576,"avatar_url":"https://avatars.githubusercontent.com/u/1761576?v=3","gravatar_id":"","url":"https://api.github.com/users/roukaour","html_url":"https://github.com/roukaour","followers_url":"https://api.github.com/users/roukaour/followers","following_url":"https://api.github.com/users/roukaour/following{/other_user}","gists_url":"https://api.github.com/users/roukaour/gists{/gist_id}","starred_url":"https://api.github.com/users/roukaour/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/roukaour/subscriptions","organizations_url":"https://api.github.com/users/roukaour/orgs","repos_url":"https://api.github.com/users/roukaour/repos","events_url":"https://api.github.com/users/roukaour/events{/privacy}","received_events_url":"https://api.github.com/users/roukaour/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-11-01T05:04:52Z","updated_at":"2016-11-01T05:04:52Z","closed_at":null,"body":"battle/core.asm's LoadEnemyMon jumps early to InitEnemyMon if it's a link or Battle Tower battle, but continues with its own code for regular trainer battles. InitEnemyMon simply reads everything from the OTPartyMon data structure. LoadEnemyMon *apparently* has a more complicated way of doing the same thing, with lots of individual checks for \"if it's a trainer battle, get this particular data item from OTPartyMon, otherwise generate a new one for a wild Pokémon\". To do: try jumping to InitEnemyMon for all battles."}}
{"actor":{"display_login":"roukaour"}}