marcrobledo / acnl-editor

An Animal Crossing: New Leaf savegame editor made in HTML5
https://www.marcrobledo.com/acnl-editor/
MIT License
153 stars 33 forks source link

Fixed grass deterioration preview #4

Closed jexom closed 7 years ago

jexom commented 7 years ago

Haven't used the editor for a while and noticed the grass map preview. I did some research on how the grass addresses work and made an explanation here: http://imgur.com/a/1DCgq Tinkering just a bit with the code I managed to get it working correctly for my save file using the MAP_GRASS_PREVIOUS offset and changing width and length from (5,4) to (8,6). I also made the canvas a bit bigger. Here's what my grass map looks like after the changes: http://i.imgur.com/qCE82Mk.png