Skip to content

Commit

Permalink
Use labels for HRAM and VRAM
Browse files Browse the repository at this point in the history
  • Loading branch information
Rangi42 committed Jul 7, 2020
1 parent 453bb5c commit dd08b8d
Show file tree
Hide file tree
Showing 7 changed files with 329 additions and 268 deletions.
3 changes: 0 additions & 3 deletions constants.asm
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@ INCLUDE "charmap.asm"

INCLUDE "macros.asm"

INCLUDE "hram.asm"
INCLUDE "vram.asm"

INCLUDE "constants/hardware_constants.asm"
INCLUDE "constants/oam_constants.asm"
INCLUDE "constants/misc_constants.asm"
Expand Down
9 changes: 9 additions & 0 deletions constants/gfx_constants.asm
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,12 @@ SPRITEBUFFERSIZE EQU 7 * 7 * LEN_1BPP_TILE
HP_BAR_GREEN EQU 0
HP_BAR_YELLOW EQU 1
HP_BAR_RED EQU 2

; hAutoBGTransferEnabled
TRANSFERTOP EQU 0
TRANSFERMIDDLE EQU 1
TRANSFERBOTTOM EQU 2

; hRedrawRowOrColumnMode
REDRAW_COL EQU 1
REDRAW_ROW EQU 2
Loading

0 comments on commit dd08b8d

Please sign in to comment.