ref: b6c7544e85a8ede00ab5f059e95d7125d1c86951
parent: 8746c04d34e5eefc120ac9304e0ebe52b0bd39da
author: luckytyphlosion <alan.rj.huang@gmail.com>
date: Sun Apr 26 09:14:18 EDT 2015
S_SAVEDPLAYERID constant.
--- a/sram.asm
+++ b/sram.asm
@@ -19,6 +19,7 @@
S_SAVEDPLAYERNAME EQU $A598
S_SAVEDMAINDATA EQU S_SAVEDPLAYERNAME + (wPartyCount - wPlayerName) ; $A5A3
+S_SAVEDPLAYERID EQU S_SAVEDMAINDATA + (wPlayerID - wPokedexOwned) ; $A605
S_SAVEDSPRITEDATA EQU S_SAVEDMAINDATA + (W_NUMINBOX - wPokedexOwned) ; $AD2C
S_SAVEDPARTYDATA EQU S_SAVEDSPRITEDATA + (wOAMBuffer - wSpriteStateData1) ; $AF2C
S_SAVEDCURBOXDATA EQU S_SAVEDPARTYDATA + (wPokedexOwned - wPartyCount) ; $B0C0