diff options
Diffstat (limited to 'wram.asm')
-rw-r--r-- | wram.asm | 74 |
1 files changed, 49 insertions, 25 deletions
@@ -158,11 +158,10 @@ wDisableTextAcceleration:: db wPreviousLandmark:: db wCurrentLandmark:: db wLandmarkSignTimer:: dw -wLinkMode:: ; c2dc -; 0 not in link battle -; 1 link battle -; 4 mobile battle - db + +wLinkMode:: +; a LINK_* value for the link type + db ; c2dc wScriptVar:: db ; c2dd @@ -359,7 +358,13 @@ SECTION "Battle", WRAM0 UNION ; c608 ; unidentified uses -wc608:: ds 480 +wc608:: ds 53 +wc63d:: ds 5 +wc642:: ds 5 +wc647:: ds 33 +wc668:: ds 32 +wc688:: ds 2 +wc68a:: ds 350 NEXTU ; c608 ; surrounding tiles @@ -868,7 +873,18 @@ endc NEXTU ; c6d0 ; mobile data -wc6d0:: ds 126 +wc6d0:: ds 56 +wc708:: db +wc709:: db +wc70a:: db +wc70b:: db +wc70c:: db +wc70d:: db +wc70e:: db +wc70f:: db +wc710:: db +wc711:: db +wc712:: ds 60 wc74e:: ds 107 wc7b9:: ds 1 wc7ba:: ds 1 @@ -1304,9 +1320,7 @@ wcf5d:: dw wMonType:: db ; cf5f -wCurSpecies:: -wCurMove:: - db ; cf60 +wCurSpecies:: db ; cf60 wNamedObjectTypeBuffer:: db @@ -1659,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 @@ -1685,7 +1695,7 @@ NEXTU ; d002 ; trainer HUD data ds 1 wPlaceBallsDirection:: db -wTrainerHUDTiles:: db +wTrainerHUDTiles:: ds 4 NEXTU ; d002 ; mobile participant nicknames @@ -1715,7 +1725,8 @@ wd003:: db wd004:: db ; mobile? - ds 3 + ds 1 +wd006:: ds 2 wd008:: ds 2 ds 2 wd00c:: ds 1 @@ -1870,7 +1881,7 @@ wTMHMPocketScrollPosition:: db wSwitchMon:: wSwitchItem:: wMoveSwapBuffer:: -wd0e3:: +wd0e3:: ; mobile db wMenuScrollPosition:: ds 4 @@ -2183,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 @@ -2507,7 +2531,7 @@ wRegisteredItem:: db ; d95c wPlayerState:: db ; d95d wHallOfFameCount:: dw -wTradeFlags:: flag_array PARTY_LENGTH ; d960 +wTradeFlags:: flag_array NUM_NPC_TRADES ; d960 ds 1 wMooMooBerries:: db ; d962 wUndergroundSwitchPositions:: db ; d963 @@ -2690,8 +2714,8 @@ wWhichMomItemSet:: db ; dc18 wMomItemTriggerBalance:: ds 3 ; dc19 wDailyResetTimer:: dw ; dc1c -wDailyFlags:: db -wWeeklyFlags:: db +wDailyFlags1:: db +wDailyFlags2:: db wSwarmFlags:: db ds 2 wTimerEventStartDay:: db @@ -2876,6 +2900,7 @@ wTempTileMap:: ds SCREEN_WIDTH * SCREEN_HEIGHT ; $168 = 360 ; PokeAnim data +wPokeAnimStruct:: wPokeAnimSceneIndex:: db wPokeAnimPointer:: dw wPokeAnimSpecies:: db @@ -2884,7 +2909,6 @@ wPokeAnimSpeciesOrUnown:: db wPokeAnimGraphicStartTile:: db wPokeAnimCoord:: dw wPokeAnimFrontpicHeight:: db -; PokeAnim Data wPokeAnimIdleFlag:: db wPokeAnimSpeed:: db wPokeAnimPointerBank:: db |