huderlem / poryscript

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

Combine identical implicit texts #13

Closed huderlem closed 5 years ago

huderlem commented 5 years ago

In optimize=true mode, combine identical implicit texts in the output. The following should only produce a single text.

lock
faceplayer
msgbox("Hello$")
...
msgbox("Hello$")
release
huderlem commented 5 years ago

d9fb2a3ae7a1a991a13c34cbf4598a6119bd2681