Skip to content

Commit

Permalink
Grok the dissolveFactor field!
Browse files Browse the repository at this point in the history
  • Loading branch information
npjg committed Oct 17, 2024
1 parent d27dcf6 commit 1ada653
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/MediaStation/Assets/Asset.py
Original file line number Diff line number Diff line change
Expand Up @@ -380,9 +380,7 @@ def _read_section(self, section_type, chunk):
self.palette = chunk.read(0x300)

elif section_type == 0x05dc:
# It's only not 0.0 in the 'Read to me' and 'Read and play'
# images of Dalmatians. So I will ignore it.
self.unks.append({hex(section_type): Datum(chunk).d})
self.dissolve_factor = Datum(chunk).d

elif section_type == 0x05dd: # HOTSPOT
self.get_offstage_events = bool(Datum(chunk).d)
Expand Down

0 comments on commit 1ada653

Please sign in to comment.