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/items.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/items.asm')
-rwxr-xr-x | home/items.asm | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/home/items.asm b/home/items.asm index 332d5e1..f37a4df 100755 --- a/home/items.asm +++ b/home/items.asm @@ -1,10 +1,10 @@ INCLUDE "constants.asm" -if DEBUG -SECTION "TossItem", ROM0[$3243] -else -SECTION "TossItem", ROM0[$3207] -endc +; if DEBUG +SECTION "home/items.asm@TossItem", ROM0 +; else +; SECTION "TossItem", ROM0[$3207] +; endc TossItem: ; 00:3243 ldh a, [hROMBank] @@ -45,11 +45,11 @@ ReceiveItem:: ; 3259 pop bc ret -if DEBUG -SECTION "GiveItem", ROM0[$366C] -else -SECTION "GiveItem", ROM0[$3630] -endc +; if DEBUG +SECTION "home/items.asm@GiveItem", ROM0 +; else +; SECTION "GiveItem", ROM0[$3630] +; endc GiveItem:: ; Give player quantity c of item b, @@ -66,4 +66,4 @@ GiveItem:: call GetItemName call CopyStringToStringBuffer2 scf - ret + ret
\ No newline at end of file |