diff --git a/adapter_smg2.py b/adapter_smg2.py index 74d2611..c1c5af8 100644 --- a/adapter_smg2.py +++ b/adapter_smg2.py @@ -64,7 +64,7 @@ def read_tag(self, stream: BinaryMemoryIO): raise LMSException(f"Wait tag length should be 2 (tag at 0x{tag_position})") wait_time = stream.read_u16() - return f'[wait:{wait_time}]' + return f'[delay:{wait_time}]' elif tag_id == 1: if len_data != 0: raise LMSException(f"Page break tag length should be 0 (tag at 0x{tag_position})") @@ -218,7 +218,7 @@ def write_tag(self, stream: BinaryMemoryIO, tag: str): stream.write_u16(color_id) # Display - elif tag_name == "wait": + elif tag_name == "delay": self._verify_tag_attr_size_(tag_name, tag_attrs, 1, tag) wait_time = self._get_tag_attr_u16_(tag_attrs[0], tag) diff --git a/guihelpers.py b/guihelpers.py index c9e419a..b142d2a 100644 --- a/guihelpers.py +++ b/guihelpers.py @@ -4,7 +4,7 @@ __all__ = ["SettingsHolder", "WorkerThread", "resolve_asset", "PROGRAM_VERSION", "PROGRAM_TITLE"] -PROGRAM_VERSION = "v0.1.1" +PROGRAM_VERSION = "v0.1.2" PROGRAM_TITLE = f"galaxymsbt -- Super Mario Galaxy 2 MSBT Editor -- {PROGRAM_VERSION}"