Sunday, May 16, 2010

Click-And-Set Overworld Editing

That's right! I've implemented click-and-set overworld editing. After going through a crap load of trial and error to get it all right, the editor now expands the ROM, decompresses all overworld (Small, actually) maps, and makes the maps ready to edit.

However, it wasn't just that simple. I had (Sorry, but it had to be done) to make a custom ASM script and change the way it gets the level data address. Basically, now it writes the bank of where the map data starts, since a region carries over to another bank. The only other thing I have to point out is the editor isn't very efficient with the 64 banks added. Each region gets 2 banks for map data, and there are 2 banks dedicated to map addressing. But, don't worry! You don't have to do anything. The editor will automatically expand the ROM, fix the header, and insert the ASM script.

Here's a test edit.


So as you can see, everything works great. You just click a tile and click where you want it on the map and it appears just like you want it to. Up next I'm working on dungeons. Let's hope they're not too much of a pain!

1 comment: