diff options
| author | Daniel Harding <33dannye@gmail.com> | 2019-07-17 17:30:53 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-07-17 17:30:53 -0500 |
| commit | 36597a7917144bbf5d9ae63a0f9d537f6f58eb74 (patch) | |
| tree | e478588912070f759c95b8c276c03dc7a296c9d2 /wram.asm | |
| parent | Merge pull request #201 from SatoMew/master (diff) | |
| parent | Merge branch 'master' of https://github.com/pret/pokered (diff) | |
| download | pokeyellow-36597a7917144bbf5d9ae63a0f9d537f6f58eb74.tar.gz pokeyellow-36597a7917144bbf5d9ae63a0f9d537f6f58eb74.tar.xz pokeyellow-36597a7917144bbf5d9ae63a0f9d537f6f58eb74.zip | |
Merge pull request #220 from Rangi42/master
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 |
