huderlem / poryscript

High-level scripting language for gen 3 pokemon decompilation projects
https://www.huderlem.com/poryscript-playground/
MIT License
197 stars 22 forks source link

[Enhancement] Support a "label" command #49

Closed Deokishisu closed 2 years ago

Deokishisu commented 2 years ago

One thing that has come up a handful of times that I would like to see from poryscript is the ability to put labels anywhere without defining a new script. While scripting there are a few very infrequent circumstances where being able to jump to an arbitrary point in a script without using one of the loops and without duplicating script segments is helpful.

huderlem commented 2 years ago

This is now in master. Before closing the issue, I'm waiting for confirmation that it works as expected and is actually useful.