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/battle/core.asm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engine/battle') diff --git a/engine/battle/core.asm b/engine/battle/core.asm index c79fb22..e1996c2 100644 --- a/engine/battle/core.asm +++ b/engine/battle/core.asm @@ -1,6 +1,6 @@ include "constants.asm" -SECTION "Battle Random", ROMX [$63DA], BANK [$0F] +SECTION "engine/battle/core.asm", ROMX _BattleRandom: ; 3e3da (f:63da) ; If the normal RNG is used in a link battle it'll desync. ; To circumvent this a shared PRNG is used instead. @@ -66,4 +66,4 @@ _BattleRandom: ; 3e3da (f:63da) pop af pop bc pop hl - ret + ret \ No newline at end of file -- cgit v1.2.3