Skip to content

Version 0.3

Latest
Compare
Choose a tag to compare
@masonwheeler masonwheeler released this 14 Feb 16:49
· 1 commit to master since this release

Added a tree view to make it easier to search through the data obtained in "Decode file data" mode.

Added two new filtering commands: Any and All. Each one creates a new block that you can place expressions inside of. (As always in filtering, Python-style indentation rules apply.)

  • Inside an Any expression, the filter will match if any of the subexpressions match the script command
  • Inside an All expression, the filter will only match if all of the subexpressions match the script command
  • The default behavior is All. The All expression is useful for creating an All block inside of an Any block

For example, if you're scanning for the place where you obtain a specific weapon, you might find it from a Change Weapons command, or you might buy it at a store. The command code for Change Weapon is 127, and the item ID is found in value #0. For a store, the first item on the list is stored with the Shop Processing command (code 302) and all subsequent items are stored after it as code 605. On a store item, the item ID is found in value #1, and value #0 is 0, 1, or 2, depending on whether you're selling an Item, a Weapon, or an Armor, respectively. Therefore, the filter that matches a specific weapon ID in either case is:

Filter 'Add Weapon':
    Any:
        All:
            Code 127
            Value 0 = Target
        All:
            Any:
                Code 302
                Code 605
            Value 0 = 1
            Value 1 = Target

Enjoy!