diff options
Diffstat (limited to 'wram.asm')
-rwxr-xr-x | wram.asm | 227 |
1 files changed, 210 insertions, 17 deletions
@@ -200,8 +200,9 @@ wFrequencyModifier:: ; c0f1 wTempoModifier:: ; c0f2 ds 1 - ds 13 - +wc0f3:: ds 1 +wc0f4:: ds 1 +wc0f5:: ds 11 SECTION "Sprite State Data", WRAM0[$c100] @@ -884,6 +885,8 @@ wPlayerSpinInPlaceAnimFrameDelay:: ; cd3d wPlayerSpinWhileMovingUpOrDownAnimDeltaY:: ; cd3d +wBoxNumString:: ; cd3d + wHiddenObjectFunctionArgument:: ; cd3d wWhichTrade:: ; cd3d @@ -971,6 +974,7 @@ wPlayerSpinWhileMovingUpOrDownAnimFrameDelay:: ; cd3f wHiddenObjectIndex:: ; cd3f wTrainerFacingDirection:: ; cd3f + ds 1 wHoFMonOrPlayer:: ; cd40 @@ -1319,12 +1323,8 @@ wScriptedNPCWalkCounter:: ; cf18 ds 1 -wGBC:: ; cf1a - ds 1 - wOnSGB:: ; cf1b ; if running on SGB, it's 1, else it's 0 - ds 1 wDefaultPaletteCommand:: ; cf1c ds 1 @@ -1367,6 +1367,7 @@ wExpAmountGained:: ; cf4b wcf4b:: ds 2 ; storage buffer for various strings wGainBoostedExp:: ; cf4d +>>>>>>> 1a987d1e1ab96ca9553d4253c72858057332a03a ds 1 ds 17 @@ -1544,9 +1545,9 @@ wEnemyMonAttack:: dw wEnemyMonDefense:: dw wEnemyMonSpeed:: dw wEnemyMonSpecial:: dw -wEnemyMonPP:: ds 2 ; NUM_MOVES - 2 +wEnemyMonPP:: ds 3 ; NUM_MOVES - 2 SECTION "WRAM Bank 1", WRAMX, BANK[1] - ds 2 ; NUM_MOVES - 2 + ds 1 ; NUM_MOVES - 2 wEnemyMonBaseStats:: ds 5 wEnemyMonCatchRate:: ds 1 @@ -2501,7 +2502,44 @@ wDestinationWarpID:: ; d42f ; if $ff, the player's coordinates are not updated when entering the map ds 1 - ds 128 +wd430:: ds 1 ; d42f +wd431:: ds 1 ; d430 + + ds 2 + +wd434:: ds 1 +wd435:: ds 1 +wd436:: ds 1 + + ds 17 + +wExpressionNumber:: + ds 1 + + ds 1 + +wd44a:: ds 1 +wd44b:: ds 1 + + ds 36 + +wd470:: ds 1 +wd471:: ds 1 +wd472:: ds 1 +wd473:: ds 1 + + ds 6 + +wd47a:: ds 1 + + ds 30 + +wUnknownSerialFlag_d499:: ds 1 ; d498 +wUnknownSerialFlag_d49a:: ds 1 ; d499 +wUnknownSerialFlag_d49b:: ds 1 ; d49a +wd49c:: ds 1 ; d49b + + ds 19 wNumSigns:: ; d4b0 ; number of signs in the current map (up to 16) @@ -3011,12 +3049,147 @@ wCardKeyDoorX:: ; d740 wFirstLockTrashCanIndex:: ; d743 ds 1 -wSecondLockTrashCanIndex:: ; d743 - ds 1 - - ds 2 -wEventFlags:: ; d747 - ds 320 +wSecondLockTrashCanIndex:: ; d744 + ds 1 + + ds 2 + +wd747:: ds 3 ; below here are mostly in game flags +wd74a:: ds 1 + +wd74b:: ; d74b +; bit 0: Prof. Oak has lead the player to the north end of his lab +; bit 1: Prof. Oak has asked the player to choose a pokemon +; bit 2: the player and the rival have received their pokemon +; bit 3: the player has battled the rival in Oak's lab +; bit 4: Prof. Oak has given the player 5 pokeballs +; bit 5: received pokedex + ds 1 + +wd74c:: ds 2 +wd74e:: ds 3 +wd751:: ds 1 +wd752:: ds 2 +wd754:: ds 1 +wd755:: ds 5 +wd75a:: ds 1 +wd75b:: ds 3 +wd75e:: ds 1 +wd75f:: ds 5 +wd764:: ds 1 +wd765:: ds 1 +wd766:: ds 1 +wd767:: ds 1 +wd768:: ds 1 +wd769:: ds 3 +wd76c:: ds 5 +wd771:: ds 2 +wd773:: ds 4 +wd777:: ds 1 +wd778:: ds 4 +wd77c:: ds 1 +wd77d:: ds 1 +wd77e:: ds 5 +wd783:: ds 11 +wd78e:: ds 2 +wd790:: ds 2 +wd792:: ds 4 +wd796:: ds 2 +wd798:: ds 2 +wd79a:: ds 1 +wd79b:: ds 1 +wd79c:: ds 5 +wd7a1:: ds 2 +wd7a3:: ds 12 +wd7af:: ds 2 +wd7b1:: ds 2 +wd7b3:: ds 1 +wd7b4:: ds 5 +wd7b9:: ds 4 +wd7bd:: ds 2 +wd7bf:: ds 3 +wd7c2:: ds 1 +wd7c3:: ds 2 +wd7c5:: ds 1 +wd7c6:: ds 3 +wd7c9:: ds 4 +wd7cd:: ds 2 +wd7cf:: ds 2 +wd7d1:: ds 1 +wd7d2:: ds 1 +wd7d3:: ds 2 +wd7d5:: ds 1 +wd7d6:: ds 1 +wd7d7:: ds 1 +wd7d8:: ds 1 +wd7d9:: ds 2 +wd7db:: ds 2 +wd7dd:: ds 2 +wd7df:: ds 1 +wd7e0:: ds 1 +wd7e1:: ds 2 +wd7e3:: ds 2 +wd7e5:: ds 2 +wd7e7:: ds 1 +wd7e8:: ds 1 +wd7e9:: ds 2 +wd7eb:: ds 2 +wd7ed:: ds 1 +wd7ee:: ds 1 +wd7ef:: ds 1 +wd7f0:: ds 1 +wd7f1:: ds 1 +wd7f2:: ds 1 +wd7f3:: ds 2 +wd7f5:: ds 1 +wd7f6:: ds 9 +wd7ff:: ds 4 +wd803:: ds 2 +wd805:: ds 2 +wd807:: ds 2 +wd809:: ds 10 +wd813:: ds 2 +wd815:: ds 1 +wd816:: ds 1 +wd817:: ds 2 +wd819:: ds 2 +wd81b:: ds 10 +wd825:: ds 1 +wd826:: ds 1 +wd827:: ds 1 +wd828:: ds 1 +wd829:: ds 1 +wd82a:: ds 1 +wd82b:: ds 1 +wd82c:: ds 1 +wd82d:: ds 1 +wd82e:: ds 1 +wd82f:: ds 1 +wd830:: ds 1 +wd831:: ds 1 +wd832:: ds 1 +wd833:: ds 1 +wd834:: ds 1 +wd835:: ds 1 +wd836:: ds 1 +wd837:: ds 1 +wd838:: ds 15 +wd847:: ds 2 +wd849:: ds 2 +wd84b:: ds 12 +wd857:: ds 8 +wd85f:: ds 4 +wd863:: ds 1 +wd864:: ds 1 +wd865:: ds 1 +wd866:: ds 1 +wd867:: ds 2 +wd869:: ds 20 +wd87d:: ds 2 +wd87f:: ds 1 +wd880:: ds 1 +wd881:: ds 1 +wd882:: ds 5 wLinkEnemyTrainerName:: ; d887 ; linked game's trainer name @@ -3101,10 +3274,30 @@ wBoxMon2:: ds box_struct_length * (MONS_PER_BOX + -1) ; dab7 wBoxMonOT:: ds NAME_LENGTH * MONS_PER_BOX ; dd2a wBoxMonNicks:: ds NAME_LENGTH * MONS_PER_BOX ; de06 -wBoxMonNicksEnd:: ; dee2 - +wBoxMonNicksEnd:: ; dee1 wBoxDataEnd:: +wdee2:: ds 1 ; dee1 +wdee3:: ds 1 ; dee2 +wdee4:: ds 1 +wdee5:: ds 1 +wdee6:: ds 1 +wdee7:: ds 1 +wdee8:: ds 1 +wdee9:: ds 1 +wdeea:: ds 1 +wdeeb:: ds 1 +wdeec:: ds 1 +wdeed:: ds 1 +wdeee:: ds 1 +wdeef:: ds 1 +wdef0:: ds 1 +wdef1:: ds 1 +wdef2:: ds 1 +wdef3:: ds 1 +wdef4:: ds 1 +wdef5:: ds 1 +wdef6:: ds 1 SECTION "Stack", WRAMX[$dfff], BANK[1] wStack:: ; dfff |