shithub: pokered

Download patch

ref: 22eb324fefdff68723a12c3765cfabf6b1ab7c00
parent: 75551f100b7befe991faf139e0e99f9168506851
author: luckytyphlosion <alan.rj.huang@gmail.com>
date: Sun Apr 26 11:59:50 EDT 2015

Remove S_SAVEDPLAYERID as a constant

Expression must have a constant value.

--- a/sram.asm
+++ b/sram.asm
@@ -19,8 +19,6 @@
 S_SAVEDhTilesetType:: ds 1 ; 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