summaryrefslogtreecommitdiff
path: root/main.asm
diff options
context:
space:
mode:
authorRemy Oukaour <remy.oukaour@gmail.com>2017-12-13 17:59:14 -0500
committerRemy Oukaour <remy.oukaour@gmail.com>2017-12-13 17:59:14 -0500
commit0e7a101e41bceb9f57eed614d56634403109aa4b (patch)
tree1aade4613bf091be7bbc9125f7cf737d0727de49 /main.asm
parent3e5b6322e1167758fedaec5b3930eadaeaa8ec33 (diff)
Use constants for gender ratios
Diffstat (limited to 'main.asm')
-rw-r--r--main.asm6
1 files changed, 3 insertions, 3 deletions
diff --git a/main.asm b/main.asm
index 6da4dabc2..876a06ef1 100644
--- a/main.asm
+++ b/main.asm
@@ -3640,13 +3640,13 @@ GetGender: ; 50bdd
; The higher the ratio, the more likely the monster is to be female.
- cp $ff
+ cp GENDERLESS
jr z, .Genderless
- and a
+ and a ; GENDER_F0?
jr z, .Male
- cp $fe
+ cp GENDER_F100
jr z, .Female
; Values below the ratio are male, and vice versa.