Skip to content

Commit

Permalink
Add a subdirectory for RAM files
Browse files Browse the repository at this point in the history
Fixes #920
  • Loading branch information
Rangi42 committed Jun 18, 2022
1 parent 5dd6985 commit 4db344d
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 14 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ rom_obj := \
audio.o \
home.o \
main.o \
wram.o \
ram.o \
data/text/common.o \
data/maps/map_data.o \
data/pokemon/dex_entries.o \
Expand Down
9 changes: 9 additions & 0 deletions ram.asm
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
INCLUDE "constants.asm"

INCLUDE "macros/wram.asm"


INCLUDE "ram/vram.asm"
INCLUDE "ram/wram.asm"
INCLUDE "ram/sram.asm"
INCLUDE "ram/hram.asm"
File renamed without changes.
File renamed without changes.
File renamed without changes.
13 changes: 0 additions & 13 deletions wram.asm → ram/wram.asm
Original file line number Diff line number Diff line change
@@ -1,11 +1,3 @@
INCLUDE "constants.asm"

INCLUDE "macros/wram.asm"


INCLUDE "vram.asm"


SECTION "Stack", WRAM0

wStackBottom::
Expand Down Expand Up @@ -3614,8 +3606,3 @@ SECTION "Stack RAM", WRAMX

wWindowStack:: ds $1000 - 1
wWindowStackBottom:: ds 1


INCLUDE "sram.asm"

INCLUDE "hram.asm"

0 comments on commit 4db344d

Please sign in to comment.