From e1659ecd41dfac70eb021c0f5fe983ed6f043433 Mon Sep 17 00:00:00 2001 From: luckytyphlosion <10688458+luckytyphlosion@users.noreply.github.com> Date: Tue, 3 Jul 2018 17:07:05 -0400 Subject: Introduce linkerscript. Addresses of sections will now be added to the linkerscript via `org`, and the section name will be the path/to/file. If there is more than one section in the file, then add a @SectionName after the path/to/file to describe the section. --- data/moves/names.asm | 4 ++-- data/moves/tmhm_moves.asm | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'data/moves') diff --git a/data/moves/names.asm b/data/moves/names.asm index db98d65..7936696 100644 --- a/data/moves/names.asm +++ b/data/moves/names.asm @@ -1,6 +1,6 @@ INCLUDE "constants.asm" -SECTION "MoveNames", ROMX[$52A1], BANK[$10] +SECTION "data/moves/names.asm", ROMX MoveNames:: db "はたく@" ; POUND @@ -253,4 +253,4 @@ MoveNames:: db "てつわん@" ; STRONG_ARM db "ひかりゴケ@" ; BRIGHT_MOSS db "うずしお@" ; WHIRLPOOL - db "とびはねる@" ; BOUNCE + db "とびはねる@" ; BOUNCE \ No newline at end of file diff --git a/data/moves/tmhm_moves.asm b/data/moves/tmhm_moves.asm index e62f1d5..84183ac 100644 --- a/data/moves/tmhm_moves.asm +++ b/data/moves/tmhm_moves.asm @@ -1,6 +1,6 @@ INCLUDE "constants.asm" -SECTION "TM/HM Moves", ROMX[$52D1], BANK[$04] +SECTION "data/moves/tmhm_moves.asm", ROMX ; This is a nearly-sequential table of new moves. ; It was probably meant for easy testing, not as @@ -65,4 +65,4 @@ TMHMMoves: ; 04:52d1 db MOVE_STRONG_ARM ; HM04 db MOVE_BRIGHT_MOSS ; HM05 db MOVE_WHIRLPOOL ; HM06 - db MOVE_BOUNCE ; HM07 + db MOVE_BOUNCE ; HM07 \ No newline at end of file -- cgit v1.2.3