summaryrefslogtreecommitdiff
path: root/data/moves
diff options
context:
space:
mode:
authorluckytyphlosion <10688458+luckytyphlosion@users.noreply.github.com>2018-07-03 17:07:05 -0400
committerluckytyphlosion <10688458+luckytyphlosion@users.noreply.github.com>2018-07-03 17:07:05 -0400
commite1659ecd41dfac70eb021c0f5fe983ed6f043433 (patch)
tree86ec6137c666650168716247fa63241e79b1788b /data/moves
parentf3f0e711bf4f4205fd29f2b448c93ff5597507e5 (diff)
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.
Diffstat (limited to 'data/moves')
-rw-r--r--data/moves/names.asm4
-rw-r--r--data/moves/tmhm_moves.asm4
2 files changed, 4 insertions, 4 deletions
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