summaryrefslogtreecommitdiff
path: root/wram.asm
diff options
context:
space:
mode:
authorRangi <35663410+Rangi42@users.noreply.github.com>2018-07-29 19:56:54 -0400
committerGitHub <noreply@github.com>2018-07-29 19:56:54 -0400
commit98e670f3637b5f845a91423ee2d624d2f1e331a6 (patch)
tree20bacd2c3cd766eedddd636de59a99af1d662866 /wram.asm
parent2ec900d96c3b6020be0816151b9ad606c04114b5 (diff)
parente346cc7b4152578106f7708363b41d076a3e8d52 (diff)
Merge pull request #548 from Rangi42/master
Add meaningful aliases for wd265
Diffstat (limited to 'wram.asm')
-rw-r--r--wram.asm36
1 files changed, 22 insertions, 14 deletions
diff --git a/wram.asm b/wram.asm
index 5f8d73825..76785c49d 100644
--- a/wram.asm
+++ b/wram.asm
@@ -1320,9 +1320,7 @@ wcf5d:: dw
wMonType:: db ; cf5f
-wCurSpecies::
-wCurMove::
- db ; cf60
+wCurSpecies:: db ; cf60
wNamedObjectTypeBuffer:: db
@@ -1675,11 +1673,7 @@ wRadioTextEnd::
NEXTU ; d002
; lucky number show
-wLuckyNumberDigit1Buffer:: db
-wLuckyNumberDigit2Buffer:: db
-wLuckyNumberDigit3Buffer:: db
-wLuckyNumberDigit4Buffer:: db
-wLuckyNumberDigit5Buffer:: db
+wLuckyNumberDigitsBuffer:: ds 5
NEXTU ; d002
; movement buffer data
@@ -1701,7 +1695,7 @@ NEXTU ; d002
; trainer HUD data
ds 1
wPlaceBallsDirection:: db
-wTrainerHUDTiles:: db
+wTrainerHUDTiles:: ds 4
NEXTU ; d002
; mobile participant nicknames
@@ -1731,7 +1725,8 @@ wd003:: db
wd004:: db
; mobile?
- ds 3
+ ds 1
+wd006:: ds 2
wd008:: ds 2
ds 2
wd00c:: ds 1
@@ -1886,7 +1881,7 @@ wTMHMPocketScrollPosition:: db
wSwitchMon::
wSwitchItem::
wMoveSwapBuffer::
-wd0e3::
+wd0e3:: ; mobile
db
wMenuScrollPosition:: ds 4
@@ -2199,11 +2194,24 @@ wPutativeTMHMMove:: db
wInitListType:: db
wBattleHasJustStarted:: db
+; d265 has many different short-term uses
wNamedObjectIndexBuffer::
-wCurTMHM::
+wDeciramBuffer::
+wTempByteValue::
+wNumSetBits::
wTypeMatchup::
-wFoundMatchingIDInParty::
-wd265::
+wCurType::
+wTempSpecies::
+wTempIconSpecies::
+wTempTMHM::
+wTempPP::
+wNextBoxOrPartyIndex::
+wChosenCableClubRoom::
+wBreedingCompatibility::
+wMoveGrammar::
+wApplyStatLevelMultipliersToEnemy::
+wUsePPUp::
+wd265:: ; mobile
db
wFailedToFlee:: db