# Poryscript

> Poryscript compiles a higher-level script into the script bytecode used by pokeemerald, pokefirered, and pokeruby. It adds if, elif, else, while, do...while, and switch, and formats inline text for the in-game box. ./poryscript reads a file or standard input and writes a script file or standard output. -s sets a compile-time switch such as VERSION=RUBY. The program is written in Go. go build produces the poryscript binary, and ./install.sh copies it into a decompilation project.

- Type: Tool
- Targets: Game
- Category: Game analysis tools
- Relationship: Foundation tool
- Sources reviewed: 2026-11-07
- Added to the catalog: 2026-11-09
- Original resource: <https://github.com/huderlem/poryscript>
- Primary source: <https://github.com/huderlem/poryscript/blob/c32481161c767b25a3425fa9f1f8729927ff3d55/README.md>
- Catalog page: <https://awesomerea.org/resources/poryscript/>
- Record JSON: <https://awesomerea.org/resources/poryscript/record.json>
- Chinese version: [简体中文](https://awesomerea.org/zh/resources/poryscript/index.md)

## Requirements & limits

- Go. From the project directory, run go build.
- License: MIT.

## Primary sources

1. <https://github.com/huderlem/poryscript/blob/c32481161c767b25a3425fa9f1f8729927ff3d55/README.md>

## More in Games

- [OverPy](https://awesomerea.org/resources/overpy/index.md) · Tool
- [homm3 unpacker](https://awesomerea.org/resources/homm3-unpacker/index.md) · Tool
- [LEGO Dimensions Save Converter](https://awesomerea.org/resources/lego-dimensions-save-converter/index.md) · Tool
- [pureikyubu](https://awesomerea.org/resources/pureikyubu/index.md) · Tool
- [GiiBiiAdvance](https://awesomerea.org/resources/giibiiadvance-debugger/index.md) · Tool
- [Space Invaders Emulator](https://awesomerea.org/resources/space-invaders-emulator/index.md) · Tool

## About this entry

The description was reviewed against primary sources.
Original editorial content: MIT. Linked projects, papers and assets retain their own rights and licenses.
