Commit Graph

31 Commits

Author SHA1 Message Date
octorock 5304b4759f Detect CallWithArg that pass a pointer to a script as an argument 2021-03-07 01:52:56 +01:00
octorock 8f7ad0a35c Fix parameters for all functions called from scripts 2021-03-07 01:29:31 +01:00
octorock 74e48d98b0 Rename to Begin/EndBlock 2021-03-07 01:25:44 +01:00
octorock 2bcea72f49 Clean up script files 2021-03-06 18:49:02 +01:00
octorock 15f480dc0f Add labels for relative jumps 2021-03-06 17:47:56 +01:00
octorock 33b1445deb Prefix script files with script_ instead of gUnk_ 2021-03-06 15:01:29 +01:00
octorock 09087886c6 Generate variants of macros for functions with variable parameter count 2021-03-06 14:53:33 +01:00
octorock 7730ea2097 Add labels for room entity lists referenced in scripts 2021-03-06 14:53:33 +01:00
octorock b65f5e1bd0 Reference pointers directly 2021-03-06 14:53:33 +01:00
octorock 9441dac477 Split at externally referenced labels 2021-03-06 14:53:33 +01:00
octorock c83c3e60d3 Split scripts at more useful places 2021-03-06 14:53:33 +01:00
octorock 6dce46458c Split scripts into separate files 2021-03-06 14:53:33 +01:00
octorock 37d03d1382 Apply renaming 2021-03-06 14:53:33 +01:00
octorock 461ab77595 Add parameters for all the commands 2021-03-06 14:53:33 +01:00
octorock d9034ef09a Create parser that resolves the .incbin macros 2021-03-06 14:53:33 +01:00
octorock e94df6de4a Move all scripts to data/scripts.s 2021-03-06 14:53:33 +01:00
octorock 223cf98a51 Use assembly macros instead 2021-03-06 14:53:33 +01:00
octorock 174694a99b Generate using inline assembly 2021-03-06 14:53:33 +01:00
octorock 3336b91812 Add first draft for a script disassembler 2021-03-06 14:53:33 +01:00
theo3 3079c016b4 clang-format and newlines 2020-11-13 23:27:50 -08:00
Behemoth 3d2ccd7d61 git subrepo pull tools/tmc_strings
subrepo:
  subdir:   "tools/tmc_strings"
  merged:   "3b16b11"
upstream:
  origin:   "git@github.com:HookedBehemoth/tmc_strings.git"
  branch:   "master"
  commit:   "3b16b11"
git-subrepo:
  version:  "0.4.1"
  origin:   "git@github.com:ingydotnet/git-subrepo.git"
  commit:   "a04d8c2"
2020-09-17 02:42:48 +02:00
Behemoth 868268e140 add string table builder and string json 2020-09-17 01:20:55 +02:00
theo3 293d080fca remove problematic file 2020-08-16 00:16:19 -07:00
theo3 83e6edf470 wisp.c OK 2020-08-05 20:47:10 -07:00
theo3 8604daff6a smallPesto 2020-06-15 00:11:43 -07:00
Ethan Roseman 3f369541da Usability fixes 2020-06-06 19:56:04 -04:00
theo 2554a7df5a fixed install.md 2020-06-06 13:49:18 -07:00
theo e0e05b1728 meddled some bits 2020-05-22 03:25:00 -07:00
jiangzhengwenjz 369dedd8f8 fix preproc 2020-05-18 11:08:15 -05:00
jiangzhengwenjz 9bbfe95925 calcrom.pl from pret/pokefirered 2020-04-27 20:41:56 +08:00
jiangzhengwenjz 43225434d7 initial commit 2020-03-27 09:41:51 +08:00