huderlem / poryscript

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

Support ASCII strings #34

Closed huderlem closed 3 years ago

huderlem commented 3 years ago

Currently, only "poke"-style strings are supported in scripts. As in, they are rendered using the .string directive. There are use cases where the user might want to use ASCII strings instead. For example, when using emulator print debugging capabilities. ASCII strings can be rendered using the .ascii directive or the .byte directive. The .ascii directive is probably preferred, but I need to do a bit more investigation into it.

ASCII strings could be specified with a prefix character, perhaps: a"My ASCII string", or ascii"My ASCII string"

huderlem commented 3 years ago

Closed by 1007843bb6f894655e77d370217c7fa89547949e