Mittwoch, 6. Februar 2019

Edit Treasure Chests

With the help of DontBaguMe, I was able to add treasure chest editing to the editor!
The treasure chest editor is part of the map editor just like the event and exit editor.
You can change the item which can be found in the treasure chest as well as if the fanfare music is played when the chest is opened.



4 Kommentare:

  1. Very cool. We shouldn't be far from being able to add chests to new locations as well. I haven't gotten to the bottom of it yet, but the map arrangement data must have special chest tiles that correspond to the X/Y coordinates in the treasure chest array. I know this because if you just change the coordinates in the array and try to open the chest, it will try to open it but give you a message like, "The chest is locked". I imagine if we can find out what tile types correspond to the chest placements on each map, we can add any number of new chests to the game - provided you expand the size of the ROM, of course:)

    Good work!

    AntwortenLöschen
  2. I already checked the tile type for the chests but it is not always the same (sometimes 14 which is unknown and sometime 15 - Block). So I still have no idea how the link is made between the treasure tile and the treasure event.

    AntwortenLöschen
    Antworten
    1. Please send me an example location in ROM and I can play around with it. If you happen to know the tile data for the diamond-block chest (map 29) that'd be a good test case, I think.

      Löschen
    2. The (compressed) tilemap data is located at 196059. But I'm afraid the treasure chest info is not part of this data since I already decoded the whole data.
      The tile type for the diamond-block chest is 15 - Block, so nothing special.

      Löschen