summaryrefslogtreecommitdiff
path: root/engine/pokemon
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 /engine/pokemon
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 'engine/pokemon')
-rwxr-xr-xengine/pokemon/health.asm6
1 files changed, 3 insertions, 3 deletions
diff --git a/engine/pokemon/health.asm b/engine/pokemon/health.asm
index 8456623..fbee391 100755
--- a/engine/pokemon/health.asm
+++ b/engine/pokemon/health.asm
@@ -1,6 +1,6 @@
INCLUDE "constants.asm"
-SECTION "HealParty", ROMX[$4d6f], BANK[$03]
+SECTION "engine/pokemon/health.asm@HealParty", ROMX
HealParty: ; 03:4d6f
ld hl, wPartySpecies
@@ -95,7 +95,7 @@ HealParty: ; 03:4d6f
jr nz, .pp_up
ret
-SECTION "HP Bar", ROMX[$4e3c], BANK[$03]
+SECTION "engine/pokemon/health.asm@HP Bar", ROMX
ComputeHPBarPixels: ; 03:4e3c
push hl
@@ -355,4 +355,4 @@ UpdateHPBar_CalcOldNewHPBarPixels: ; 03:4F8B
ld d, e
ld e, a
pop hl
- ret
+ ret \ No newline at end of file