super-continent / bbscript

Parses BBScript for various Arc System Works Games
GNU General Public License v3.0
43 stars 11 forks source link

fix missing endMove in dzy.bbscript in ggrev2 #40

Closed kkots closed 3 months ago

kkots commented 3 months ago

In Guilty Gear Xrd Rev 2, the dzy.bbscript in move "GammaRay" is missing an endMoveRegister instruction which causes all indentation to remain incremented by 1 for all instructions that follow after it. This commit fixes that.

It also changes indentation of closing instructions, such as endSubroutine, so that they're shown with indent - 1 from what is the current behavior of the bbscript parser.

super-continent commented 3 months ago

This seems like a good solution, thanks!