From e1659ecd41dfac70eb021c0f5fe983ed6f043433 Mon Sep 17 00:00:00 2001 From: luckytyphlosion <10688458+luckytyphlosion@users.noreply.github.com> Date: Tue, 3 Jul 2018 17:07:05 -0400 Subject: 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. --- engine/sprites/sprites.asm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'engine/sprites') 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 -- cgit v1.2.3