diff options
-rw-r--r-- | Allow-more-trainer-parties,-with-individual-DVs,-stat-experience,-nicknames,-variable-teams,-etc..md | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Allow-more-trainer-parties,-with-individual-DVs,-stat-experience,-nicknames,-variable-teams,-etc..md b/Allow-more-trainer-parties,-with-individual-DVs,-stat-experience,-nicknames,-variable-teams,-etc..md index f1c5f7b..0f4bcb5 100644 --- a/Allow-more-trainer-parties,-with-individual-DVs,-stat-experience,-nicknames,-variable-teams,-etc..md +++ b/Allow-more-trainer-parties,-with-individual-DVs,-stat-experience,-nicknames,-variable-teams,-etc..md @@ -452,7 +452,7 @@ Now you can give nicknames to enemy Pokémon. If the nickname is just `"@"`, it For example, here's a party for your rival that give him nicknames, held items, and a new Pokémon: -``` +```asm db "?@", TRAINERTYPE_NICKNAME | TRAINERTYPE_ITEM db 3, RATTATA, "@", NO_ITEM db 5, TOTODILE, "JAWS@", BERRY @@ -642,7 +642,7 @@ DVs are specified as `$AD, $SP`, where *A* = attack, *D* = defense, *S* = For example, here's a party with custom DVs: -``` +```asm db "?@", TRAINERTYPE_DVS | TRAINERTYPE_ITEM db 3, RATTATA, $87, $77, NO_ITEM db 5, TOTODILE, ATKDEFDV_SHINY, SPDSPCDV_SHINY, BERRY @@ -829,7 +829,7 @@ Stat experience is specified as five *words*, not bytes, because each of the fiv For example, here's a party with custom DVs, stat experience, held items, and moves: -``` +```asm db "?@", TRAINERTYPE_DVS | TRAINERTYPE_STAT_EXP | TRAINERTYPE_ITEM_MOVES db 3, RATTATA db PERFECT_DV, $de ; atk|def, spd|spc @@ -1415,7 +1415,7 @@ ReadTrainerPartyPieces: As an example, let's show how it'd work with Falkner: -``` +```asm FalknerGroup: ; FALKNER (1) db "Falkner@", TRAINERTYPE_VARIABLE @@ -1440,7 +1440,7 @@ As an example, let's show how it'd work with Falkner: db TRAINERTYPE_ITEM_MOVES db 58, PIDGEOT, NO_ITEM, MUD_SLAP, FLY, QUICK_ATTACK, WING_ATTACK db 60, PIDGEOT, SHARP_BEAK, MUD_SLAP, FLY, QUICK_ATTACK, WING_ATTACK - db $ff ; end + db -1 ; end ``` Now the enemy trainer's team will vary depending on how many badges you have. A few things to note about this: |