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/sprites | |
| 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/sprites')
| -rw-r--r-- | engine/sprites/sprites.asm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engine/sprites/sprites.asm b/engine/sprites/sprites.asm index a1dc401..6f07956 100644 --- a/engine/sprites/sprites.asm +++ b/engine/sprites/sprites.asm @@ -1,6 +1,6 @@ INCLUDE "constants.asm" -SECTION "LoadOverworldSprite", ROMX[$4150], BANK[$05] +SECTION "engine/sprites/sprites.asm@LoadOverworldSprite", ROMX LoadOverworldSprite: ; 05:4150 push af @@ -53,7 +53,7 @@ GetOverworldSpriteData: ; 05:417d pop hl ret -SECTION "OverworldSprites", ROMX[$423B], BANK[$05] +SECTION "engine/sprites/sprites.asm@OverworldSprites", ROMX overworld_sprite: MACRO ; pointer, length, bank @@ -152,4 +152,4 @@ OverworldSprites:: overworld_sprite OldLinkReceptionistSpriteGFX, 4 overworld_sprite OldLinkReceptionistSpriteGFX, 4 overworld_sprite EggSpriteGFX, 4 - overworld_sprite BoulderSpriteGFX, 4 + overworld_sprite BoulderSpriteGFX, 4
\ No newline at end of file |
