Skip to content

Commit

Permalink
Added emit note for default attr values
Browse files Browse the repository at this point in the history
  • Loading branch information
grunt-lucas committed Oct 11, 2023
1 parent 1db0156 commit 63e2686
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/emitter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -345,6 +345,7 @@ void emitDecompiled(PtContext &ctx, png::image<png::rgba_pixel> &bottom, png::im
else {
outCsv << "id,behavior" << std::endl;
}
// TODO : if all elements in a row correspond to the selected defaults, skip emitting this row?
for (std::size_t metatileIndex = 0; metatileIndex < attributesMap.size(); metatileIndex++) {
if (ctx.targetBaseGame == TargetBaseGame::FIRERED) {
if (behaviorReverseMap.contains(attributesMap.at(metatileIndex).metatileBehavior)) {
Expand Down

0 comments on commit 63e2686

Please sign in to comment.