shithub: pokered

Download patch

ref: 229507e3f3722137c4b08ccbf8ee4b654db9baa4
parent: 619a4ea8a1e6f087d9ae00a3f209b3ef648b2e50
author: yenatch <yenatch@gmail.com>
date: Wed May 28 21:30:09 EDT 2014

VRAM constants.

--- a/constants.asm
+++ b/constants.asm
@@ -3,6 +3,7 @@
 INCLUDE "macros.asm"
 
 INCLUDE "hram.asm"
+INCLUDE "vram.asm"
 
 INCLUDE "constants/hardware_constants.asm"
 INCLUDE "constants/oam_constants.asm"
--- /dev/null
+++ b/vram.asm
@@ -1,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
+