diff options
author | xCrystal <rgr.crystal@gmail.com> | 2016-01-25 23:17:22 +0100 |
---|---|---|
committer | xCrystal <rgr.crystal@gmail.com> | 2016-01-25 23:17:22 +0100 |
commit | 3519c3b611cb31bf81a1d25a9a4409b6152e0d10 (patch) | |
tree | a0e7cfe959d1650f778878a5620b9f556ebd4c62 /src/wram.asm | |
parent | 40351ed316cc22e4304f7bf15bd303d38729255e (diff) |
duel related labels/documentation 3
also timer counters and rng sources
Diffstat (limited to 'src/wram.asm')
-rwxr-xr-x | src/wram.asm | 33 |
1 files changed, 28 insertions, 5 deletions
diff --git a/src/wram.asm b/src/wram.asm index 9bb77e3..7fd0798 100755 --- a/src/wram.asm +++ b/src/wram.asm @@ -36,7 +36,15 @@ wPlayerDeckCards:: ; c27e ; the first x cards in the wPlayerDeckCards array are ignored (e.g. when drawing a card) wPlayerNumberOfCardsNotInDeck:: ; c2ba ds $1 - ds $d + +; Which card is in player's side of the field, as number 0 to 59 +wPlayerArenaCard:: ; c2bb + ds $1 + +; Which cards are in player's bench, as numbers 0 to 59 +wPlayerBench:: ; c2bc + ds BENCH_SIZE + ds $7 wPlayerArenaCardHP:: ; c2c8 ds $1 @@ -77,7 +85,13 @@ wOpponentDeckCards:: ; c37e wOpponentNumberOfCardsNotInDeck:: ; c3ba ds $1 - ds $d + +wOpponentArenaCard:: ; c3bb + ds $1 + +wOpponentBench:: ; c3bc + ds BENCH_SIZE + ds $7 wOpponentArenaCardHP:: ; c3c8 ds $1 @@ -163,7 +177,7 @@ wVBlankOAMCopyToggle:: ; cac0 wCounterCtr:: ; cac3 ds $1 -wCounterEnable:: ; cac4 +wPlayTimeCounterEnable:: ; cac4 ds $1 ; byte0: 1/60ths of a second @@ -171,9 +185,18 @@ wCounterEnable:: ; cac4 ; byte2: minutes ; byte3: hours (lower byte) ; byte4: hours (upper byte) -wCounter:: ; cac5 +wPlayTimeCounter:: ; cac5 ds $5 - ds $6 + +wRNG1:: ; caca + ds $1 + +wRNG2:: ; cacb + ds $1 + +wCounter:: ; cacc + ds $1 + ds $3 wVBlankFunctionTrampoline:: ; cad0 ds $20 ; unknown length |