aboutsummaryrefslogtreecommitdiffstats
path: root/constants/pokemon_data_constants.asm
diff options
context:
space:
mode:
authorvulcandth <vulcandth@gmail.com>2022-07-04 00:08:17 -0500
committerGitHub <noreply@github.com>2022-07-04 01:08:17 -0400
commit70cbb483288cd048f85420a63caadc707e9b75bf (patch)
tree5a5d1b5fbdd414ecd270a178f364e8dee840e71a /constants/pokemon_data_constants.asm
parentUse backwards-compatible EQU syntax for rgbdscheck.asm (diff)
downloadpokeyellow-70cbb483288cd048f85420a63caadc707e9b75bf.tar.gz
pokeyellow-70cbb483288cd048f85420a63caadc707e9b75bf.tar.xz
pokeyellow-70cbb483288cd048f85420a63caadc707e9b75bf.zip
party_struct constants and ExchangeBytes size (#364)
Co-Authored-By: Rangi <35663410+Rangi42@users.noreply.github.com>
Diffstat (limited to 'constants/pokemon_data_constants.asm')
-rw-r--r--constants/pokemon_data_constants.asm31
1 files changed, 31 insertions, 0 deletions
diff --git a/constants/pokemon_data_constants.asm b/constants/pokemon_data_constants.asm
index 430abfe0..1fd7ce19 100644
--- a/constants/pokemon_data_constants.asm
+++ b/constants/pokemon_data_constants.asm
@@ -23,6 +23,37 @@ DEF BASE_TMHM rb (NUM_TM_HM + 7) / 8
rb_skip
DEF BASE_DATA_SIZE EQU _RS
+; party_struct members (see macros/wram.asm)
+rsreset
+DEF MON_SPECIES rb
+DEF MON_HP rw
+DEF MON_BOX_LEVEL rb
+DEF MON_STATUS rb
+DEF MON_TYPE rw
+rsset MON_TYPE
+DEF MON_TYPE1 rb
+DEF MON_TYPE2 rb
+DEF MON_CATCH_RATE rb
+DEF MON_MOVES rb NUM_MOVES
+DEF MON_OTID rw
+DEF MON_EXP rb 3
+DEF MON_HP_EXP rw
+DEF MON_ATK_EXP rw
+DEF MON_DEF_EXP rw
+DEF MON_SPD_EXP rw
+DEF MON_SPC_EXP rw
+DEF MON_DVS rw
+DEF MON_PP rb NUM_MOVES
+DEF BOXMON_STRUCT_LENGTH EQU _RS
+DEF MON_LEVEL rb
+DEF MON_STATS rw NUM_STATS
+rsset MON_STATS
+DEF MON_MAXHP rw
+DEF MON_ATK rw
+DEF MON_DEF rw
+DEF MON_SPD rw
+DEF MON_SPC rw
+DEF PARTYMON_STRUCT_LENGTH EQU _RS
DEF PARTY_LENGTH EQU 6