shithub: pokered

Download patch

ref: 1d394b4f28a066a5cc270b4ac66994a9bba57d02
parent: 571cbba9a4aa1a9b462d3f66f7d57e96d01193ca
author: Bryan Bishop <kanzure@gmail.com>
date: Thu Jan 19 09:31:17 EST 2012

box items RAM locations and constants

hg-commit-id: 512ec5a4f510


--- a/constants.asm
+++ b/constants.asm
@@ -250,6 +250,112 @@
 
 W_NUMINBOX EQU $DA80
 
+;number of items in box
+W_NUMBOXITEMS EQU $D53A
+; BOXITEM01  is an item id
+; BOXCOUNT01 is how many of this item
+BOXITEM01     EQU $D53B
+BOXCOUNT01    EQU $D53C
+BOXITEM02     EQU $D53D
+BOXCOUNT02    EQU $D53E
+BOXITEM03     EQU $D53F
+BOXCOUNT03    EQU $D540
+BOXITEM04     EQU $D541
+BOXCOUNT04    EQU $D542
+BOXITEM05     EQU $D543
+BOXCOUNT05    EQU $D544
+BOXITEM06     EQU $D545
+BOXCOUNT06    EQU $D546
+BOXITEM07     EQU $D547
+BOXCOUNT07    EQU $D548
+BOXITEM08     EQU $D549
+BOXCOUNT08    EQU $D54A
+BOXITEM09     EQU $D54B
+BOXCOUNT09    EQU $D54C
+BOXITEM10     EQU $D54D
+BOXCOUNT10    EQU $D54E
+BOXITEM11     EQU $D54F
+BOXCOUNT11    EQU $D550
+BOXITEM12     EQU $D551
+BOXCOUNT12    EQU $D552
+BOXITEM13     EQU $D553
+BOXCOUNT13    EQU $D554
+BOXITEM14     EQU $D555
+BOXCOUNT14    EQU $D556
+BOXITEM15     EQU $D557
+BOXCOUNT15    EQU $D558
+BOXITEM16     EQU $D559
+BOXCOUNT16    EQU $D55A
+BOXITEM17     EQU $D55B
+BOXCOUNT17    EQU $D55C
+BOXITEM18     EQU $D55D
+BOXCOUNT18    EQU $D55E
+BOXITEM19     EQU $D55F
+BOXCOUNT19    EQU $D560
+BOXITEM20     EQU $D561
+BOXCOUNT20    EQU $D562
+BOXITEM21     EQU $D563
+BOXCOUNT21    EQU $D564
+BOXITEM22     EQU $D565
+BOXCOUNT22    EQU $D566
+BOXITEM23     EQU $D567
+BOXCOUNT23    EQU $D568
+BOXITEM24     EQU $D569
+BOXCOUNT24    EQU $D56A
+BOXITEM25     EQU $D56B
+BOXCOUNT25    EQU $D56C
+BOXITEM26     EQU $D56D
+BOXCOUNT26    EQU $D56E
+BOXITEM27     EQU $D56F
+BOXCOUNT27    EQU $D570
+BOXITEM28     EQU $D571
+BOXCOUNT28    EQU $D572
+BOXITEM29     EQU $D573
+BOXCOUNT29    EQU $D574
+BOXITEM30     EQU $D575
+BOXCOUNT30    EQU $D576
+BOXITEM31     EQU $D577
+BOXCOUNT31    EQU $D578
+BOXITEM32     EQU $D579
+BOXCOUNT32    EQU $D57A
+BOXITEM33     EQU $D57B
+BOXCOUNT33    EQU $D57C
+BOXITEM34     EQU $D57D
+BOXCOUNT34    EQU $D57E
+BOXITEM35     EQU $D57F
+BOXCOUNT35    EQU $D580
+BOXITEM36     EQU $D581
+BOXCOUNT36    EQU $D582
+BOXITEM37     EQU $D583
+BOXCOUNT37    EQU $D584
+BOXITEM38     EQU $D585
+BOXCOUNT38    EQU $D586
+BOXITEM39     EQU $D587
+BOXCOUNT39    EQU $D588
+BOXITEM40     EQU $D589
+BOXCOUNT40    EQU $D58A
+BOXITEM41     EQU $D58B
+BOXCOUNT41    EQU $D58C
+BOXITEM42     EQU $D58D
+BOXCOUNT42    EQU $D58E
+BOXITEM43     EQU $D58F
+BOXCOUNT43    EQU $D590
+BOXITEM44     EQU $D591
+BOXCOUNT44    EQU $D592
+BOXITEM45     EQU $D593
+BOXCOUNT45    EQU $D594
+BOXITEM46     EQU $D595
+BOXCOUNT46    EQU $D596
+BOXITEM47     EQU $D597
+BOXCOUNT47    EQU $D598
+BOXITEM48     EQU $D599
+BOXCOUNT48    EQU $D59A
+BOXITEM49     EQU $D59B
+BOXCOUNT49    EQU $D59C
+BOXITEM50     EQU $D59D
+BOXCOUNT50    EQU $D59E
+;box end of list $D59F
+
 H_RAND1 EQU $FFD3
 H_RAND2 EQU $FFD4