summaryrefslogtreecommitdiff
path: root/wram.asm
diff options
context:
space:
mode:
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 42cc1c4..f0b66a1 100644
--- a/wram.asm
+++ b/wram.asm
@@ -700,8 +700,17 @@ wTimerDigits:: ; 0xd582
; fourth byte = unused, but still written to
ds $4
-wd586:: ; 0xd586 something to do with catch mode billboard flipping. array of flags that set wether each tile is gray?
- 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
NumberOfCatchModeTilesFlipped:: ; 0xd5b6 a 24 wide block starts here and is filled before catch mode. first step of catch mode only passes if it is 24. top byte records the number of tiles flipped
ds $5