diff options
author | Remy Oukaour <remy.oukaour@gmail.com> | 2018-01-15 14:23:09 -0500 |
---|---|---|
committer | Remy Oukaour <remy.oukaour@gmail.com> | 2018-01-15 14:39:53 -0500 |
commit | 9fb74161e5347a91ff17d5ef490c04566c4375df (patch) | |
tree | 98e371fac01543dc96d1d444a545b79fdc551183 | |
parent | 6c7e88513a9b759584de2b50c5b67ecf94203607 (diff) |
Comments
-rw-r--r-- | data/predef_pointers.asm | 3 | ||||
-rw-r--r-- | data/special_pointers.asm | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/data/predef_pointers.asm b/data/predef_pointers.asm index 7d7064005..a6e2aa26f 100644 --- a/data/predef_pointers.asm +++ b/data/predef_pointers.asm @@ -1,3 +1,6 @@ +; Predef routines can be used with the "predef" and "predef_jump" macros. +; This preserves registers bc, de, hl and f. + add_predef: MACRO \1Predef:: dab \1 diff --git a/data/special_pointers.asm b/data/special_pointers.asm index e6ad1797d..6320838fc 100644 --- a/data/special_pointers.asm +++ b/data/special_pointers.asm @@ -1,3 +1,6 @@ +; Special routines can be used with the "special" map script command. +; They often use ScriptVar for arguments and return values. + add_special: MACRO \1Special:: dba \1 |