diff options
| author | edave64 <edave64@users.noreply.github.com> | 2025-04-02 16:49:15 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-04-02 10:49:15 -0400 |
| commit | e1b7b8af0a431f4624fc668a58b535a8be438d72 (patch) | |
| tree | abc59fa45c0a302d7ad45e161f7bb7061533c6aa /constants | |
| parent | Remove GSC-only Stadium data handling from make_patch.c (diff) | |
| download | pokeyellow-e1b7b8af0a431f4624fc668a58b535a8be438d72.tar.gz pokeyellow-e1b7b8af0a431f4624fc668a58b535a8be438d72.tar.xz pokeyellow-e1b7b8af0a431f4624fc668a58b535a8be438d72.zip | |
Use constants for PP masks instead of magic numbers (#504)
Diffstat (limited to 'constants')
| -rw-r--r-- | constants/pokemon_data_constants.asm | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/constants/pokemon_data_constants.asm b/constants/pokemon_data_constants.asm index 5cc2d344..e174f78d 100644 --- a/constants/pokemon_data_constants.asm +++ b/constants/pokemon_data_constants.asm @@ -98,3 +98,7 @@ DEF NUM_GROWTH_RATES EQU const_value ; wild data (see data/wild/maps/*.asm) DEF NUM_WILDMONS EQU 10 DEF WILDDATA_LENGTH EQU 1 + NUM_WILDMONS * 2 + +; PP in box_struct (see macros/ram.asm) +DEF PP_UP_MASK EQU %11000000 ; number of PP Up used +DEF PP_MASK EQU %00111111 ; currently remaining PP |
