From 229507e3f3722137c4b08ccbf8ee4b654db9baa4 Mon Sep 17 00:00:00 2001 From: yenatch Date: Thu, 29 May 2014 01:30:09 -0700 Subject: VRAM constants. --- constants.asm | 1 + vram.asm | 21 +++++++++++++++++++++ 2 files changed, 22 insertions(+) create mode 100644 vram.asm diff --git a/constants.asm b/constants.asm index 26356edd..b427e3c7 100644 --- a/constants.asm +++ b/constants.asm @@ -3,6 +3,7 @@ INCLUDE "version.asm" INCLUDE "macros.asm" INCLUDE "hram.asm" +INCLUDE "vram.asm" INCLUDE "constants/hardware_constants.asm" INCLUDE "constants/oam_constants.asm" diff --git a/vram.asm b/vram.asm new file mode 100644 index 00000000..05f3199e --- /dev/null +++ b/vram.asm @@ -0,0 +1,21 @@ +vChars0 EQU $8000 +vChars1 EQU $8800 +vChars2 EQU $9000 +vBGMap0 EQU $9800 +vBGMap1 EQU $9c00 + +; Battle/Menu +vSprites EQU vChars0 +vFont EQU vChars1 +vFrontPic EQU vChars2 +vBackPic EQU vFrontPic + 7 * 7 * $10 + +; Overworld +vNPCSprites EQU vChars0 +vNPCSprites2 EQU vChars1 +vTileset EQU vChars2 + +; Title +vTitleLogo EQU vChars1 +vTitleLogo2 EQU vFrontPic + 7 * 7 * $10 + -- cgit v1.2.3