diff options
| author | luckytyphlosion <10688458+luckytyphlosion@users.noreply.github.com> | 2018-07-03 17:07:05 -0400 |
|---|---|---|
| committer | luckytyphlosion <10688458+luckytyphlosion@users.noreply.github.com> | 2018-07-03 17:07:05 -0400 |
| commit | e1659ecd41dfac70eb021c0f5fe983ed6f043433 (patch) | |
| tree | 86ec6137c666650168716247fa63241e79b1788b /engine/menu | |
| parent | f3f0e711bf4f4205fd29f2b448c93ff5597507e5 (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 'engine/menu')
| -rw-r--r-- | engine/menu/debug_menu.asm | 2 | ||||
| -rw-r--r-- | engine/menu/main_menu.asm | 4 | ||||
| -rw-r--r-- | engine/menu/reset_dialog.asm | 4 |
3 files changed, 5 insertions, 5 deletions
diff --git a/engine/menu/debug_menu.asm b/engine/menu/debug_menu.asm index be46a00..17f24af 100644 --- a/engine/menu/debug_menu.asm +++ b/engine/menu/debug_menu.asm @@ -1,6 +1,6 @@ INCLUDE "constants.asm" -SECTION "Debug Menu", ROMX[$4031], BANK[$01] +SECTION "engine/menu/debug_menu.asm", ROMX DebugMenu:: ; $4031 call ClearTileMap diff --git a/engine/menu/main_menu.asm b/engine/menu/main_menu.asm index 432570a..75fd00a 100644 --- a/engine/menu/main_menu.asm +++ b/engine/menu/main_menu.asm @@ -1,6 +1,6 @@ INCLUDE "constants.asm" -SECTION "Main Menu", ROMX[$53CC], BANK[$01] +SECTION "engine/menu/main_menu.asm", ROMX MainMenu:: ; 01:53CC ld hl, wd4a9 @@ -208,4 +208,4 @@ StartNewGame:: ; 555C call DebugSetUpPlayer jp IntroCleanup -; 558D +; 558D
\ No newline at end of file diff --git a/engine/menu/reset_dialog.asm b/engine/menu/reset_dialog.asm index 5c676a7..688a2e3 100644 --- a/engine/menu/reset_dialog.asm +++ b/engine/menu/reset_dialog.asm @@ -1,6 +1,6 @@ INCLUDE "constants.asm" -SECTION "Debug Reset Menu", ROMX[$4362], BANK[$3F] +SECTION "engine/menu/reset_dialog.asm", ROMX DisplayResetDialog:: ; fc362 (3f:4362) ld hl, _ResetConfirmText @@ -12,4 +12,4 @@ DisplayResetDialog:: ; fc362 (3f:4362) _ResetConfirmText:: text "ほんとにりセットしますか?" - done + done
\ No newline at end of file |
