Skip to content

Commit

Permalink
VRAM constants.
Browse files Browse the repository at this point in the history
  • Loading branch information
yenatch committed May 29, 2014
1 parent 619a4ea commit 229507e
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
1 change: 1 addition & 0 deletions constants.asm
Expand Up @@ -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"
Expand Down
21 changes: 21 additions & 0 deletions 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

0 comments on commit 229507e

Please sign in to comment.