From 764fab6e7177c55b983573e1379014c55928ea19 Mon Sep 17 00:00:00 2001 From: Vince Weaver Date: Fri, 12 Jul 2019 00:59:42 -0400 Subject: [PATCH] ootw: split off hl offsets --- ootw/gr_offsets.s | 11 ----------- ootw/gr_offsets_hl.s | 11 +++++++++++ ootw/ootw_c2.s | 1 + 3 files changed, 12 insertions(+), 11 deletions(-) create mode 100644 ootw/gr_offsets_hl.s diff --git a/ootw/gr_offsets.s b/ootw/gr_offsets.s index dbfe3a34..d3af91f7 100644 --- a/ootw/gr_offsets.s +++ b/ootw/gr_offsets.s @@ -3,14 +3,3 @@ gr_offsets: .word $428,$4a8,$528,$5a8,$628,$6a8,$728,$7a8 .word $450,$4d0,$550,$5d0,$650,$6d0,$750,$7d0 - -gr_offsets_h: - .byte >$400,>$480,>$500,>$580,>$600,>$680,>$700,>$780 - .byte >$428,>$4a8,>$528,>$5a8,>$628,>$6a8,>$728,>$7a8 - .byte >$450,>$4d0,>$550,>$5d0,>$650,>$6d0,>$750,>$7d0 - - -gr_offsets_l: - .byte <$400,<$480,<$500,<$580,<$600,<$680,<$700,<$780 - .byte <$428,<$4a8,<$528,<$5a8,<$628,<$6a8,<$728,<$7a8 - .byte <$450,<$4d0,<$550,<$5d0,<$650,<$6d0,<$750,<$7d0 diff --git a/ootw/gr_offsets_hl.s b/ootw/gr_offsets_hl.s new file mode 100644 index 00000000..0e54e5c3 --- /dev/null +++ b/ootw/gr_offsets_hl.s @@ -0,0 +1,11 @@ + +gr_offsets_h: + .byte >$400,>$480,>$500,>$580,>$600,>$680,>$700,>$780 + .byte >$428,>$4a8,>$528,>$5a8,>$628,>$6a8,>$728,>$7a8 + .byte >$450,>$4d0,>$550,>$5d0,>$650,>$6d0,>$750,>$7d0 + + +gr_offsets_l: + .byte <$400,<$480,<$500,<$580,<$600,<$680,<$700,<$780 + .byte <$428,<$4a8,<$528,<$5a8,<$628,<$6a8,<$728,<$7a8 + .byte <$450,<$4d0,<$550,<$5d0,<$650,<$6d0,<$750,<$7d0 diff --git a/ootw/ootw_c2.s b/ootw/ootw_c2.s index ff92582b..7f73ace1 100644 --- a/ootw/ootw_c2.s +++ b/ootw/ootw_c2.s @@ -130,6 +130,7 @@ end_message: .include "gr_putsprite_flipped.s" .include "gr_putsprite_crop.s" .include "gr_offsets.s" +.include "gr_offsets_hl.s" .include "gr_run_sequence.s" .include "gr_overlay.s" .include "random16.s"