summaryrefslogtreecommitdiff
path: root/wram.asm
diff options
context:
space:
mode:
authorMarcus Huderle <huderlem@gmail.com>2017-07-22 15:39:20 -0700
committerMarcus Huderle <huderlem@gmail.com>2017-07-22 15:39:20 -0700
commit87f5b3d0ac377c573ab40408bdca9bbd559d437d (patch)
tree41d6d1e09fadfb1e522800b31d0898a1fc405264 /wram.asm
parent91b1835a20eadfce06e4c389548522e5560ef23f (diff)
Label billboard tile illumination states
Diffstat (limited to 'wram.asm')
-rw-r--r--wram.asm13
1 files changed, 11 insertions, 2 deletions
diff --git a/wram.asm b/wram.asm
index d6c8859..a88b9a5 100644
--- a/wram.asm
+++ b/wram.asm
@@ -716,8 +716,17 @@ wTimerDigits:: ; 0xd582
; fourth byte = unused, but still written to
ds $4
-wd586:: ; 0xd586
- ds $30
+wBillboardTilesIlluminationStates:: ; 0xd586
+; This array holds the illuminated state for each of the 24 tiles in a pokemon's billboard picture.
+; During Catch'Em mode, the billboard picture starts with all tiles being "dark", and they light up
+; as the Shellder or Voltorb are hit.
+;
+; If the tile is lit up, the value is $01, and $00 when dark.
+;
+; Each entry in this array is 2 bytes.
+; Byte 1 = Current illumination state
+; Bytes 2 = Previous illumination state. This is used to avoid re-loading the same graphics.
+ ds $18 * 2
wd5b6:: ; 0xd5b6 a 24 wide block starts here and is filled before catch mode
ds $5