{"action":"created","issue":{"url":"https://api.github.com/repos/jangler/oos-randomizer/issues/69","repository_url":"https://api.github.com/repos/jangler/oos-randomizer","labels_url":"https://api.github.com/repos/jangler/oos-randomizer/issues/69/labels{/name}","comments_url":"https://api.github.com/repos/jangler/oos-randomizer/issues/69/comments","events_url":"https://api.github.com/repos/jangler/oos-randomizer/issues/69/events","html_url":"https://github.com/jangler/oos-randomizer/issues/69","id":362997712,"node_id":"MDU6SXNzdWUzNjI5OTc3MTI=","number":69,"title":"Script command \"spawn item on link\" replacement / alternative","user":{"login":"jangler","id":1653421,"node_id":"MDQ6VXNlcjE2NTM0MjE=","avatar_url":"https://avatars0.githubusercontent.com/u/1653421?v=4","gravatar_id":"","url":"https://api.github.com/users/jangler","html_url":"https://github.com/jangler","followers_url":"https://api.github.com/users/jangler/followers","following_url":"https://api.github.com/users/jangler/following{/other_user}","gists_url":"https://api.github.com/users/jangler/gists{/gist_id}","starred_url":"https://api.github.com/users/jangler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jangler/subscriptions","organizations_url":"https://api.github.com/users/jangler/orgs","repos_url":"https://api.github.com/users/jangler/repos","events_url":"https://api.github.com/users/jangler/events{/privacy}","received_events_url":"https://api.github.com/users/jangler/received_events","type":"User","site_admin":false},"labels":[{"id":1007064184,"node_id":"MDU6TGFiZWwxMDA3MDY0MTg0","url":"https://api.github.com/repos/jangler/oos-randomizer/labels/enhancement","name":"enhancement","color":"a2eeef","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-09-24T01:50:52Z","updated_at":"2018-09-24T18:03:35Z","closed_at":null,"author_association":"OWNER","body":"Currently most scripts that directly give Link items do so using script command $de, which spawns an item interaction directly on Link, causing him to pick it up immediately. This has the limitation that if the item's collection mode is something like \"dive\", \"fall from ceiling\", or \"chest\", it won't work properly, so only unique items can be used.\r\n\r\nCustom function $3f21 (used for giving items from shops, etc.) *should* do everything that spawning an item on Link does (gives the item, plays the sound, shows the text), so it might be possible to replace the script command with a call to $3f21 instead. If that doesn't work across the board, maybe a new script command that uses the function could be added and used where applicable."},"comment":{"url":"https://api.github.com/repos/jangler/oos-randomizer/issues/comments/424069021","html_url":"https://github.com/jangler/oos-randomizer/issues/69#issuecomment-424069021","issue_url":"https://api.github.com/repos/jangler/oos-randomizer/issues/69","id":424069021,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNDA2OTAyMQ==","user":{"login":"jangler","id":1653421,"node_id":"MDQ6VXNlcjE2NTM0MjE=","avatar_url":"https://avatars0.githubusercontent.com/u/1653421?v=4","gravatar_id":"","url":"https://api.github.com/users/jangler","html_url":"https://github.com/jangler","followers_url":"https://api.github.com/users/jangler/followers","following_url":"https://api.github.com/users/jangler/following{/other_user}","gists_url":"https://api.github.com/users/jangler/gists{/gist_id}","starred_url":"https://api.github.com/users/jangler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jangler/subscriptions","organizations_url":"https://api.github.com/users/jangler/orgs","repos_url":"https://api.github.com/users/jangler/repos","events_url":"https://api.github.com/users/jangler/events{/privacy}","received_events_url":"https://api.github.com/users/jangler/received_events","type":"User","site_admin":false},"created_at":"2018-09-24T18:03:35Z","updated_at":"2018-09-24T18:03:35Z","author_association":"OWNER","body":"Yeah, the shops in particular have been annoying to work with since they do practically everything through asm (though they're not the only item slots that work that way). I don't think I knew about the sprite/object pointer table in bank 0, just the item sprite data in bank $3f (because of adding entries for items that are normally only sold in shops, etc.), and dynamically loading that data for randomized items in certain locations.\r\n\r\nAlso not sure if I know anything about the \"chest assembler\".\r\n\r\nThe 30 rupee instances are the chest in hero's cave, the chest in dungeon 3, and the chest in the cave in woods of winter, so I guess I miscounted. :stuck_out_tongue: "}}
{"actor":{"display_login":"jangler"}}