shithub: pokered

Download patch

ref: b3d38369742cb8d06a88a6a4ba92e14f97038407
parent: 941d2b9eb8a59b42ea71a08b34b25c06477cf36d
author: luckytyphlosion <alan.rj.huang@gmail.com>
date: Sun Apr 26 07:54:26 EDT 2015

SRAM Constants

Adding SRAM Constants to replace direct addresses with labels.

--- a/wram.asm
+++ b/wram.asm
@@ -2302,3 +2302,9 @@
 
 sHallOfFame:: ds HOF_TEAM * NUM_HOF_TEAMS ; a598
 
+S_SAVEDBOX1 EQU $A000
+S_SAVEDBOX2 EQU S_SAVEDBOX1 + (wBoxMonNicksEnd - W_NUMINBOX)
+S_SAVEDBOX3 EQU S_SAVEDBOX2 + (wBoxMonNicksEnd - W_NUMINBOX)
+S_SAVEDBOX4 EQU S_SAVEDBOX3 + (wBoxMonNicksEnd - W_NUMINBOX)
+S_SAVEDBOX5 EQU S_SAVEDBOX4 + (wBoxMonNicksEnd - W_NUMINBOX)
+S_SAVEDBOX6 EQU S_SAVEDBOX5 + (wBoxMonNicksEnd - W_NUMINBOX)