Skip to content

Releases

3.6.1

Choose a tag to compare

@github-actions github-actions released this 31 May 19:38

Fixed

  • Fix bug where comments inside multiline strings weren't properly stripped.

3.6.0

Choose a tag to compare

@github-actions github-actions released this 17 Feb 19:01

Added

  • Add multi-line string support.
    • Inspired by HexManiacAdvance
  • Add text-replacement support to font_config.json.

3.5.2

Choose a tag to compare

@github-actions github-actions released this 16 Feb 17:28
Release 3.5.2

3.5.1

Choose a tag to compare

@github-actions github-actions released this 24 Nov 15:40

Fixed

  • Fix bug where \N didn't respect numLines when using format().

3.5.0

Choose a tag to compare

@github-actions github-actions released this 10 Nov 20:55

Added

  • Movement can now be inlined within commands using a special moves() operator, similar to text. For example:
    applymovement(OBJ_EVENT_ID_PLAYER, moves(
        walk_left * 4
        face_down
    ))
    
  • Print a warning message when numLines is missing from a font's config. Defaults to numLines=2 in that case, rather than 0.
  • Added msgbox to the default command_config.json, since msgbox(.., MSGBOX_YESNO) would be a very common use case.

Changed

  • Multi-line string literals will now remove newline characters, and separate each line by a space character instead.
    • This should rarely, if ever, be used. But the previous behavior resulted in invalid compiled scripts.

3.4.0

Choose a tag to compare

@github-actions github-actions released this 16 Aug 00:07
  • Add support for AutoVar commands.
    • AutoVar commands can be used in place of the var operator to streamline comparisons.
    • AutoVar commands are defined in a new config file command_config.json.
  • Fix missing semicon character in FireRed/LeafGreen font config

The new command config file must now be specified with the -cc parameter in your Makefile
Example:

+ data/%.inc: data/%.pory; $(SCRIPT) -i $< -o $@ -fc tools/poryscript/font_config.json -cc tools/poryscript/command_config.json

3.4.0.2-autovars

3.4.0.2-autovars Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 15 Aug 14:16

Preview build for upcoming autovars feature.

3.3.0

Choose a tag to compare

@github-actions github-actions released this 15 Jan 20:04
  • Add ability to configure number of lines used by format(). For example, this is useful if the text is intended to render in, a 3-line textbox (instead of the usual 2).
    • Additionally, format() now accepts named parameters, and numLines has been included in font_config.json.

3.2.0

Choose a tag to compare

@github-actions github-actions released this 02 Dec 19:02

[3.2.0] - 2023-12-02

Added

  • Add -lm option for C Preprocessor line markers to improve error messages.
    • -lm is enabled by default. You can specify -lm=false to disable line markers in the compiled output.

3.1.0

Choose a tag to compare

@github-actions github-actions released this 11 Nov 16:22

Added

  • Add support for configuration of the textbox's cursor width to improve format()'s ability to fit text on a line.
    • This is achieved with a new cursorOverlapWidth field in font_config.json
    • Note, this change also changed the maxLineLength of the 1_latin_frlg font, so existing uses of format() could be affected--especially when used in combination with explicit line breaks inside the format() text content.
  • Add automatic line break (\N) support to format()