ref: aabb21b8814f1de30fe74e3f098c3e07bb8a2979
dir: /sram.asm/
SECTION "Sprite Buffers", SRAM, BANK[0] S_SPRITEBUFFER0:: ds SPRITEBUFFERSIZE ; a000 S_SPRITEBUFFER1:: ds SPRITEBUFFERSIZE ; a188 S_SPRITEBUFFER2:: ds SPRITEBUFFERSIZE ; a310 ds $100 sHallOfFame:: ds HOF_TEAM * NUM_HOF_TEAMS ; a598 SECTION "Save Data", SRAM, BANK[1] SECTION "Sprite State Data", SRAM1[$a598] S_SAVEDPLAYERNAME:: ds 11 ; a598 S_SAVEDMAINDATA:: ds wPartyCount - wPlayerName ; a5a3 S_SAVEDSPRITEDATA:: ds W_NUMINBOX - wPokedexOwned ; ad2c S_SAVEDPARTYDATA:: ds wOAMBuffer - wSpriteStateData1 ; af2c S_SAVEDCURBOXDATA:: ds wPokedexOwned - wPartyCount ; b0c0 S_SAVEDhTilesetType:: ds wBoxMonNicksEnd - W_NUMINBOX ; b522 S_SAVEDMAINDATACHECKSUM:: ds 1 ; b523 S_SAVEDPLAYERID EQU S_SAVEDMAINDATA + (wPlayerID - wPokedexOwned) ; a605 SECTION "Saved Boxes", SRAM, BANK[2] ; pointers used for bank 3 too S_BOXLENGTH EQU wBoxMonNicksEnd - W_NUMINBOX ; $462 S_SAVEDBOX1:: ds S_BOXLENGTH ; a000 S_SAVEDBOX2:: ds S_BOXLENGTH ; a462 S_SAVEDBOX3:: ds S_BOXLENGTH ; a8c4 S_SAVEDBOX4:: ds S_BOXLENGTH ; ad26 S_SAVEDBOX5:: ds S_BOXLENGTH ; b188 S_SAVEDBOX6:: ds S_BOXLENGTH ; b5ea S_SAVEDBOXESCHECKSUM:: ds 1 ; ba4c S_SAVEDBOXESCHECKSUM2:: ds 6 ; ba4d