diff options
| author | dannye <33dannye@gmail.com> | 2021-04-17 21:00:28 -0500 |
|---|---|---|
| committer | dannye <33dannye@gmail.com> | 2021-04-17 21:00:28 -0500 |
| commit | d4154b289176647ff20e19879de70073bd6d9a30 (patch) | |
| tree | f4175a9303dd0e1430f4c42e79a4d5ffb1f32c00 /macros/scripts/text.asm | |
| parent | Merge remote-tracking branch 'remotes/pokered/master' (diff) | |
| parent | Prevent some gcc versions from complaining about {0} in tools/scan_includes.c (diff) | |
| download | pokeyellow-d4154b289176647ff20e19879de70073bd6d9a30.tar.gz pokeyellow-d4154b289176647ff20e19879de70073bd6d9a30.tar.xz pokeyellow-d4154b289176647ff20e19879de70073bd6d9a30.zip | |
Merge branch 'master' of https://github.com/pret/pokered
Diffstat (limited to 'macros/scripts/text.asm')
| -rw-r--r-- | macros/scripts/text.asm | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/macros/scripts/text.asm b/macros/scripts/text.asm index 2ec1de43..38e56b77 100644 --- a/macros/scripts/text.asm +++ b/macros/scripts/text.asm @@ -169,10 +169,9 @@ ENDM script_mart: MACRO db TX_SCRIPT_MART db _NARG ; number of items -REPT _NARG - db \1 ; item id - SHIFT -ENDR + IF _NARG + db \# ; all item ids + ENDC db -1 ; end ENDM |
