Hi, I thought this was very interesting, but it doesn't work for the english version, so I thought I would make some sort of port.
I started on the assumption that the user already has an item pointing to the first box name.
So since some of the opcodes required for Crystal_'s implementation is missing from the english version I thought that since there is already a ram editor for the silver/gold coin case glitch
I could just edit that and make the box names point to the PC's first item.http://pastebin.com/AEALLsqR
The assembled code:
Now that we can point to the PC's first item we need to get an item setup that can edit an arbitrary ram location, I have modified Crystal_'s
implementation of the RAM editor, such that it operates the same way as the coin case glitch one, except that you don't need specific move patterns
and it uses the BOX 4 name instead of BOX 9 name.(I hope it's alright me more or less copying the code...)http://pastebin.com/YjZ4xEi5
it's probably easier to read the item requirement in the pastebin, so I won't copy them here
You can test that the code works with this code:
should make your character green.
I made some item modifying codes to make it possible/easier to get some of the requirements:http://pastebin.com/GWXC1u2Q
the only code of those that are really necessary are the code for the amount of items in the first spot in the item bag, this is the assembled version of the x144 code:
I haven't tried yet, but I think that it would be trivial to do the rest of what is done in Crystal_'s implementation from here on.
I used a list of all the letters available in box names that I compiled myself because I couldn't find a similar list, I have thrown that on pastebin here:http://pastebin.com/jxLY31kq
I also edited a list of opcodes for the game boy to only include those accessible using box names an image of it is attached,
hopefully they will be of use to someone