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/overworld/spawn_points.asm | |
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/overworld/spawn_points.asm')
-rwxr-xr-x | engine/overworld/spawn_points.asm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/overworld/spawn_points.asm b/engine/overworld/spawn_points.asm index 2476c46..e07c150 100755 --- a/engine/overworld/spawn_points.asm +++ b/engine/overworld/spawn_points.asm @@ -1,6 +1,6 @@ INCLUDE "constants.asm" -SECTION "LoadSpawnPoint", ROMX[$4791], BANK[$03] +SECTION "engine/overworld/spawn_points.asm", ROMX LoadSpawnPoint: ; 03:4791 ; loads the spawn point in wDefaultSpawnPoint @@ -56,4 +56,4 @@ IsSpawnPoint: ; 03:47b6 ret .succeed scf - ret + ret
\ No newline at end of file |