gbdk-2020 | GameBoy Development Kit |
| download: https://git.y1.nz/archives/gbdk.tar.gz | |
| README | Files | Log | Refs | LICENSE |
commit fcb42afd2d60ad58da9c0d56a8531f5bae4f0e80 parent 8fa2eb2a26ad7072870bdbbab2f94fafc045e110 Author: Toxa <untoxa@mail.ru> Date: Thu, 18 Apr 2024 21:00:44 +0300 fix order of the object tiles Diffstat:
| M | gbdk-support/png2asset/maps.cpp | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gbdk-support/png2asset/maps.cpp b/gbdk-support/png2asset/maps.cpp @@ -64,7 +64,7 @@ void GetMap(PNG2AssetData* assetData) if (assetData->args->has_entity_tileset && FindTile(tile, idx, props, assetData->entity_tiles, assetData)) { // Entity tilesets index counts from 255 down instead of 0 up, // so invert the tile ID on the 8 bit boundary - idx = 255 - idx; + idx = (256 - assetData->entity_tiles.size()) + idx; props = assetData->args->props_default; } // When both -keep_duplicate_tiles and source tilesets are used then
This webpage is intended to be an accessible preview of this repository. To get a fuller picture, clone it and use the git CLI.