summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2018-06-07 11:33:46 -0400
committerRangi <remy.oukaour+rangi42@gmail.com>2018-06-07 11:33:46 -0400
commit8c7dee0f27c9305ac573a7ada581f1927dfc4b79 (patch)
tree9c875c80a2e26655e7bf356b9342dadedaf867ca
parenta196b16f5bc58e844953694ed3bf7c8b84d066b0 (diff)
New DV format
-rw-r--r--Add-a-new-trainer-class.md9
1 files changed, 4 insertions, 5 deletions
diff --git a/Add-a-new-trainer-class.md b/Add-a-new-trainer-class.md
index 78e22d6..3898c9f 100644
--- a/Add-a-new-trainer-class.md
+++ b/Add-a-new-trainer-class.md
@@ -144,16 +144,15 @@ Edit [data/trainers/dvs.asm](../blob/master/data/trainers/dvs.asm):
```diff
TrainerClassDVs: ; 270d6
; entries correspond to trainer classes (see constants/trainer_constants.asm)
- ; Atk Spd
- ; Def Spc
- db $9A, $77 ; falkner
+ ; atk,def,spd,spc
+ dn 9, 10, 7, 7 ; FALKNER
...
- db $98, $88 ; mysticalman
+ dn 9, 8, 8, 8 ; MYSTICALMAN
+ db $78, $88 ; parasol lady
; 2715c
```
-The four digits define, in order, the Attack, Defense, Speed, and Special DVs for all the trainer class's Pokémon. (Remember, in Gen 2 there was one DV for both Special Attack and Special Defense; and bits from all four DVs were combined to calculate HP.)
+The four numbers define, in order, the Attack, Defense, Speed, and Special DVs for all the trainer class's Pokémon. Each DV can be from 0 to 15. (Remember, in Gen 2 there was one DV for both Special Attack and Special Defense; and bits from all four DVs were combined to calculate HP.)
Female trainer classes tend to have low Attack DVs so that their Pokémon will usually be female (since gender in Gen 2 was determined by the Attack and Speed DVs, primarily Attack). Gym Leaders are mostly an exception to this rule.