diff options
author | Rangi <remy.oukaour+rangi42@gmail.com> | 2019-07-07 00:44:21 -0400 |
---|---|---|
committer | Rangi <remy.oukaour+rangi42@gmail.com> | 2019-07-07 00:44:21 -0400 |
commit | f99a715fae311d2611ec4a714b002e103c4642ca (patch) | |
tree | 55c3b2f36f037ab192777755fe7e4b8f5a22131d /wram.asm | |
parent | 725b86ebbec23bd1f53fd60bf0201c904fee951d (diff) |
Replace some hard-coded values with constants
Diffstat (limited to 'wram.asm')
-rwxr-xr-x | wram.asm | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -346,6 +346,7 @@ wSerialEnemyMonsPatchList:: ; c5d0 wTempPic:: wOverworldMap:: ; c6e8 ds 1300 +wOverworldMapEnd:: wRedrawRowOrColumnSrcTiles:: ; cbfc ; the tiles of the row or column to be redrawn by RedrawRowOrColumn @@ -1638,7 +1639,7 @@ wPartyGainExpFlags:: ; d058 wCurOpponent:: ; d059 ; in a wild battle, this is the species of pokemon -; in a trainer battle, this is the trainer class + 200 +; in a trainer battle, this is the trainer class + OPP_ID_OFFSET ds 1 wBattleType:: ; d05a @@ -2916,7 +2917,7 @@ wFossilMon:: ; d710 ds 2 wEnemyMonOrTrainerClass:: ; d713 -; trainer classes start at 200 +; trainer classes start at OPP_ID_OFFSET ds 1 wPlayerJumpingYScreenCoordsIndex:: ; d714 |