From d001ced41b53271373753de835a9c3b3413dc318 Mon Sep 17 00:00:00 2001 From: vulcandth Date: Thu, 13 Jul 2023 20:27:56 -0500 Subject: Add macros, constants, and labels for map scripts and text (#367) This introduces `def_script_pointers`, `def_text_pointers`, and `object_const_def` macros, and applies them to all maps. Most other map labels have also been identified. --- scripts/SilphCo1F.asm | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'scripts/SilphCo1F.asm') diff --git a/scripts/SilphCo1F.asm b/scripts/SilphCo1F.asm index bc484b7c..fbc70d77 100644 --- a/scripts/SilphCo1F.asm +++ b/scripts/SilphCo1F.asm @@ -9,8 +9,9 @@ SilphCo1F_Script: predef_jump ShowObject SilphCo1F_TextPointers: - dw SilphCo1Text1 + def_text_pointers + dw_const SilphCo1FLinkReceptionistText, TEXT_SILPHCO1F_LINK_RECEPTIONIST -SilphCo1Text1: - text_far _SilphCo1Text1 +SilphCo1FLinkReceptionistText: + text_far _SilphCo1FLinkReceptionistText text_end -- cgit v1.3.1-sl0p