diff options
author | yenatch <yenatch@gmail.com> | 2014-05-29 01:30:09 -0700 |
---|---|---|
committer | yenatch <yenatch@gmail.com> | 2014-05-29 01:30:09 -0700 |
commit | 229507e3f3722137c4b08ccbf8ee4b654db9baa4 (patch) | |
tree | 8178e087d70d51b31ef91ef67d5c1150c69020e8 | |
parent | 619a4ea8a1e6f087d9ae00a3f209b3ef648b2e50 (diff) |
VRAM constants.
-rw-r--r-- | constants.asm | 1 | ||||
-rw-r--r-- | vram.asm | 21 |
2 files changed, 22 insertions, 0 deletions
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 + |