{"action":"opened","issue":{"url":"https://api.github.com/repos/sumotoy/RA8875/issues/43","labels_url":"https://api.github.com/repos/sumotoy/RA8875/issues/43/labels{/name}","comments_url":"https://api.github.com/repos/sumotoy/RA8875/issues/43/comments","events_url":"https://api.github.com/repos/sumotoy/RA8875/issues/43/events","html_url":"https://github.com/sumotoy/RA8875/issues/43","id":74223690,"number":43,"title":"BTE_Move doesn't work on layer 2 in portrait","user":{"login":"MorganSandercock","id":10385004,"avatar_url":"https://avatars.githubusercontent.com/u/10385004?v=3","gravatar_id":"","url":"https://api.github.com/users/MorganSandercock","html_url":"https://github.com/MorganSandercock","followers_url":"https://api.github.com/users/MorganSandercock/followers","following_url":"https://api.github.com/users/MorganSandercock/following{/other_user}","gists_url":"https://api.github.com/users/MorganSandercock/gists{/gist_id}","starred_url":"https://api.github.com/users/MorganSandercock/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MorganSandercock/subscriptions","organizations_url":"https://api.github.com/users/MorganSandercock/orgs","repos_url":"https://api.github.com/users/MorganSandercock/repos","events_url":"https://api.github.com/users/MorganSandercock/events{/privacy}","received_events_url":"https://api.github.com/users/MorganSandercock/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-05-08T04:16:49Z","updated_at":"2015-05-08T04:16:49Z","closed_at":null,"body":"The updates to BTE_Move() have broken portrait mode for layer 2. The high bit 0x80000000 must be set on the Y coordinate to indicate Layer 2 but the updated BTE_Move() then applies the portrait X-Y swap in BTE_fromTo() after setting that bit. So it can never work on layer 2.\r\nThere was a reason why I didn't use the BTE helper functions when I wrote it. I also advise against using the BTE_sourceLayer() and BTE_destLayer() functions in the BTE_Move() because those functions will take more time than the move itself does."}}