Skip to content

Commit

Permalink
Text hack
Browse files Browse the repository at this point in the history
  • Loading branch information
louist103 committed May 1, 2024
1 parent b80b107 commit bdcbb59
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mm/2s2h/resource/importer/TextMMFactory.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ std::shared_ptr<LUS::IResource> ResourceFactoryBinaryTextMMV0::ReadResource(std:
entry.id = reader->ReadUInt16();
entry.textboxType = reader->ReadUByte();
entry.textboxYPos = reader->ReadUByte();
entry.icon = reader->ReadUByte();
// BENTODO: the new ZAPD reads and exports this as an int16 for JP but nothing currently uses that and the game expects an int8. Use this for now.
entry.icon = (int8_t)reader->ReadUInt16();
entry.nextMessageID = reader->ReadUInt16();
entry.firstItemCost = reader->ReadUInt16();
entry.secondItemCost = reader->ReadUInt16();
Expand Down

0 comments on commit bdcbb59

Please sign in to comment.