Skip to content

Commit

Permalink
Raised the species level cap from 100 to 150
Browse files Browse the repository at this point in the history
Because why not.
  • Loading branch information
LOuroboros committed Aug 6, 2022
1 parent be5f354 commit 118ad65
Show file tree
Hide file tree
Showing 3 changed files with 403 additions and 3 deletions.
2 changes: 1 addition & 1 deletion include/constants/pokemon.h
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@
#define MAX_GIFT_RIBBON 64

#define MIN_LEVEL 1
#define MAX_LEVEL 100
#define MAX_LEVEL 150

#define OT_ID_PLAYER_ID 0
#define OT_ID_PRESET 1
Expand Down
4 changes: 2 additions & 2 deletions include/pokemon.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ struct __attribute__((__packed__)) BoxPokemon

// Word 6: Species + Experience points (used to derive level)
u32 species:11;
u32 experience:21;
u32 experience:23;

// Words 7 & 8: moves, language, gender, friendship, Pokérus, ppBonuses
u32 move1:10;
Expand Down Expand Up @@ -54,7 +54,7 @@ struct __attribute__((__packed__)) BoxPokemon
u32 heldItem:10;
u32 formId:5;
u32 isEgg:1;
u32 metLevel:7;
u32 metLevel:8;
u32 metGame:3;
u32 pokeball:5; // 31 balls
u32 otGender:1;
Expand Down

0 comments on commit 118ad65

Please sign in to comment.