Skip to content

Iguana does not properly handle command="a" && command="b"-style triggers #8

@SuperFromND

Description

@SuperFromND

Some MUGEN characters specify multiple command inputs for a move like this:

[State -1, Multiple Moves via &&]
type = ChangeState
triggerall = command = "x" && command = "y"

However, Iguana can only parse the first statement and ignores everything afterwards:

Found move: {Multiple Moves via && [command="x"&&command="y"]}
...
Reading move: Multiple Moves via &&
Tokenizing string: x
Tokenized: x

One solution would be to internally split trigger strings using && as a delimiter. Problem is the current control flow of scrape_moves() doesn't really have an obvious place to slip that in, so a slight refactor might be needed first.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions