aboutsummaryrefslogtreecommitdiffstats
path: root/sram.asm
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2022-06-17 22:54:49 -0400
committerRangi <remy.oukaour+rangi42@gmail.com>2022-06-17 22:54:49 -0400
commit61b7f6c61647d4a60145049579fff101c0c44cd9 (patch)
tree615397cfc448e31a1a1785e09d68b4a586e19735 /sram.asm
parentRename `SLP` to `SLP_MASK` (#89) (diff)
downloadpokeyellow-61b7f6c61647d4a60145049579fff101c0c44cd9.tar.gz
pokeyellow-61b7f6c61647d4a60145049579fff101c0c44cd9.tar.xz
pokeyellow-61b7f6c61647d4a60145049579fff101c0c44cd9.zip
Add a subdirectory for RAM files
Diffstat (limited to 'sram.asm')
-rw-r--r--sram.asm53
1 files changed, 0 insertions, 53 deletions
diff --git a/sram.asm b/sram.asm
deleted file mode 100644
index 6cb45371..00000000
--- a/sram.asm
+++ /dev/null
@@ -1,53 +0,0 @@
-SECTION "Sprite Buffers", SRAM
-
-sSpriteBuffer0:: ds SPRITEBUFFERSIZE
-sSpriteBuffer1:: ds SPRITEBUFFERSIZE
-sSpriteBuffer2:: ds SPRITEBUFFERSIZE
-
- ds $100
-
-sHallOfFame:: ds HOF_TEAM * HOF_TEAM_CAPACITY
-
-
-SECTION "Save Data", SRAM
-
- ds $598
-
-sGameData::
-sPlayerName:: ds NAME_LENGTH
-sMainData:: ds wMainDataEnd - wMainDataStart
-sSpriteData:: ds wSpriteDataEnd - wSpriteDataStart
-sPartyData:: ds wPartyDataEnd - wPartyDataStart
-sCurBoxData:: ds wBoxDataEnd - wBoxDataStart
-sTileAnimations:: db
-sGameDataEnd::
-sMainDataCheckSum:: db
-
-
-; The PC boxes will not fit into one SRAM bank,
-; so they use multiple SECTIONs
-DEF box_n = 0
-MACRO boxes
- REPT \1
- DEF box_n += 1
- sBox{d:box_n}:: ds wBoxDataEnd - wBoxDataStart
- ENDR
-ENDM
-
-SECTION "Saved Boxes 1", SRAM
-
-; sBox1 - sBox6
- boxes 6
-sBank2AllBoxesChecksum:: db
-sBank2IndividualBoxChecksums:: ds 6
-
-SECTION "Saved Boxes 2", SRAM
-
-; sBox7 - sBox12
- boxes 6
-sBank3AllBoxesChecksum:: db
-sBank3IndividualBoxChecksums:: ds 6
-
-; All 12 boxes fit within 2 SRAM banks
- ASSERT box_n == NUM_BOXES, \
- "boxes: Expected {d:NUM_BOXES} total boxes, got {d:box_n}"