Read callback_label for FRLG

This commit is contained in:
GriffinR 2020-04-19 18:23:37 -04:00
parent f2ae83b33e
commit d91107a07d

View file

@ -1100,6 +1100,7 @@ Tileset* Project::loadTileset(QString label, Tileset *tileset) {
tileset->palettes_label = values->value(4);
tileset->metatiles_label = values->value(5);
if (projectConfig.getBaseGameVersion() == BaseGameVersion::pokefirered) {
tileset->callback_label = values->value(6);
tileset->metatile_attrs_label = values->value(7);
} else {
tileset->metatile_attrs_label = values->value(6);