diff options
author | luckytyphlosion <10688458+luckytyphlosion@users.noreply.github.com> | 2018-07-22 09:20:33 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-22 09:20:33 -0400 |
commit | a586811e197d2a28d3a08dff03548fb69342da96 (patch) | |
tree | d5eec033243b0031afd3a82d47bbe1b7779d1675 /home/overworld.asm | |
parent | 5ec276e7c77244befe0b6c9931cda191aa3818b6 (diff) | |
parent | 5b4ef99f4bfec7a1cf41cd3eab601d355bb0fadf (diff) |
Merge pull request #38 from luckytyphlosion/section-reorg
Add linkerscript to replace completely anonymous sections.
Diffstat (limited to 'home/overworld.asm')
-rw-r--r-- | home/overworld.asm | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/home/overworld.asm b/home/overworld.asm index 51ba0f5..f276ea1 100644 --- a/home/overworld.asm +++ b/home/overworld.asm @@ -1,10 +1,10 @@ INCLUDE "constants.asm" -if DEBUG -SECTION "Startmenu and Select Button Check", ROM0[$2C05] -else -SECTION "Startmenu and Select Button Check", ROM0[$2BDF] -endc +; if DEBUG +SECTION "home/overworld.asm@Startmenu and Select Button Check", ROM0 +; else +; SECTION "Startmenu and Select Button Check", ROM0[$2BDF] +; endc OverworldStartButtonCheck:: ; 2c05 (0:2c05) ldh a, [hJoyState] @@ -177,11 +177,11 @@ ScheduleColumnRedrawHelper: ; 2d10 (0:2d10) jr nz, .loop ret -if DEBUG -SECTION "QueueScript", ROM0[$35EC] -else -SECTION "QueueScript", ROM0[$35B0] -endc +; if DEBUG +SECTION "home/overworld.asm@QueueScript", ROM0 +; else +; SECTION "QueueScript", ROM0[$35B0] +; endc QueueScript:: ; Install a function that is called as soon as @@ -192,4 +192,4 @@ QueueScript:: ld [wQueuedScriptAddr], a ld a, h ld [wQueuedScriptAddr + 1], a - ret + ret
\ No newline at end of file |