diff options
| author | vulcandth <vulcandth@gmail.com> | 2023-07-13 20:27:56 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-07-13 21:27:56 -0400 |
| commit | d001ced41b53271373753de835a9c3b3413dc318 (patch) | |
| tree | ff2db7f403bddfcdeb12e50def8411cafedcdd5e /scripts/CinnabarLab.asm | |
| parent | Make wCurrentBoxNum a byte instead of word (#414) (diff) | |
| download | pokeyellow-d001ced41b53271373753de835a9c3b3413dc318.tar.gz pokeyellow-d001ced41b53271373753de835a9c3b3413dc318.tar.xz pokeyellow-d001ced41b53271373753de835a9c3b3413dc318.zip | |
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.
Diffstat (limited to 'scripts/CinnabarLab.asm')
| -rw-r--r-- | scripts/CinnabarLab.asm | 31 |
1 files changed, 16 insertions, 15 deletions
diff --git a/scripts/CinnabarLab.asm b/scripts/CinnabarLab.asm index 2f4be7f2..baf9b40a 100644 --- a/scripts/CinnabarLab.asm +++ b/scripts/CinnabarLab.asm @@ -3,28 +3,29 @@ CinnabarLab_Script: ret CinnabarLab_TextPointers: - dw Lab1Text1 - dw Lab1Text2 - dw Lab1Text3 - dw Lab1Text4 - dw Lab1Text5 + def_text_pointers + dw_const CinnabarLabFishingGuruText, TEXT_CINNABARLAB_FISHING_GURU + dw_const CinnabarLabPhotoText, TEXT_CINNABARLAB_PHOTO + dw_const CinnabarLabMeetingRoomSignText, TEXT_CINNABARLAB_MEETING_ROOM_SIGN + dw_const CinnabarLabRAndDSignText, TEXT_CINNABARLAB_R_AND_D_SIGN + dw_const CinnabarLabTestingRoomSignText, TEXT_CINNABARLAB_TESTING_ROOM_SIGN -Lab1Text1: - text_far _Lab1Text1 +CinnabarLabFishingGuruText: + text_far _CinnabarLabFishingGuruText text_end -Lab1Text2: - text_far _Lab1Text2 +CinnabarLabPhotoText: + text_far _CinnabarLabPhotoText text_end -Lab1Text3: - text_far _Lab1Text3 +CinnabarLabMeetingRoomSignText: + text_far _CinnabarLabMeetingRoomSignText text_end -Lab1Text4: - text_far _Lab1Text4 +CinnabarLabRAndDSignText: + text_far _CinnabarLabRAndDSignText text_end -Lab1Text5: - text_far _Lab1Text5 +CinnabarLabTestingRoomSignText: + text_far _CinnabarLabTestingRoomSignText text_end |
