SkyTemple / ExplorerScript

ExplorerScript and SSBScript: Script languages for decompiled SSB (Pokémon Mystery Dungeon Explorers of Sky)
MIT License
16 stars 6 forks source link

Allow `@` as label prefix #60

Closed tech-ticks closed 1 month ago

tech-ticks commented 1 month ago

Closes #52.

Note: I can't find a simple example to manually test this change with end-to-end, because simple code like

def 0 {
    @foo;
    jump @foo;
    end;
}

doesn't decompile to ExplorerScript and SSBScript only shows a jump to a "ghost label". However, this behavior is consistent with the current master (and an older SkyTemple version I have installed), so this change doesn't seem to break anything.