poryscript
poryscript copied to clipboard
High-level scripting language for gen 3 pokemon decompilation projects
Fire Red has a small text-box, so this should be moved to the config file: https://github.com/huderlem/poryscript/blob/master/main.go#L51
Currently, the lexer knows how to parse regular integers and `0x`-prefixed hexadecimal integers. It should also be updated to support binary notation numbers. I believe the arm assembler uses `0b`-prefix...
See title. Context is @aarant's Guillotine branch, which alters strings that are not `.fixstr` on runtime to decapitalise them, whereas `.fixstr` is left alone.
Additionally to the Makefile changes that have been written down in the Usage Section, a necessary change of the TOOLSDIRS variable has been omitted. `-TOOLDIRS := $(filter-out tools/agbcc tools/binutils,$(wildcard tools/*))`...
Would allow converting something like this: ``` MAP_SCRIPT_ON_WARP_INTO_MAP_TABLE [ VAR_BIRCH_LAB_STATE, 2 { turnobject (OBJ_EVENT_ID_PLAYER, DIR_NORTH) } VAR_DEX_UPGRADE_JOHTO_STARTER_STATE, 1: LittlerootTown_ProfessorBirchsLab_EventScript_SetObjectPosForDexUpgrade VAR_DEX_UPGRADE_JOHTO_STARTER_STATE, 2: LittlerootTown_ProfessorBirchsLab_EventScript_SetObjectPosForDexUpgrade } ``` Into this: ``` MAP_SCRIPT_ON_WARP_INTO_MAP_TABLE [ VAR_BIRCH_LAB_STATE,...
Title. I created a new macro and added its case to AutoVar, and then used it in my pory script. But it gave me an error because of `== true`....
Keeping that file updated when you have custom characters or changed font-size is usually a pain in the ass, specially when that file doesnt only contain character widths but also...
Or at least default it to 2.
On Windows, when compiling formatted strings, eg: ``` format("This is a string that is on multiple lines") ``` The resulting compiled string may end up with invalid line breaks in...
I've seen quite enough people get tripped up about the difference between the Windows and Linux binaries (including on occasion, more experienced hackers that don't normally use Windows). Anyone who...