Skip to content

rpg::MoveCommand::Code::change_graphic parameter reads as an unknown chunk #441

@elsemieni

Description

@elsemieni

Tested with master lcf2xml.

When trying to read the following command event:
@> Set Move Route: Player, Change Graphic...

It got read in the following way:

      <EventCommand>
        <code>11330</code>
        <indent>0</indent>
        <string></string>
        <parameters>10001 8 0 0 34 6 97 110 105 109 97 108 1</parameters>
       </EventCommand>

Understanding that is a undecoded Change graphic event with it's parameter in decimal.

Obviously this does not affect file reading/writing and it re-generates without problems, but I think liblcf is also unable to read it properly (only having access to undecoded parameters, just like the XML file output of lcf2xml).

By seeing https://github.com/EasyRPG/liblcf/blob/master/src/lmu_movecommand.cpp#L47 it seems to do explicitely in this way. This is beacuse this chunk is not investigated yet? Or it's a bug indeed?

Thanks in advance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions