summaryrefslogtreecommitdiff
path: root/main.asm
diff options
context:
space:
mode:
authorIIMarckus <iimarckus@gmail.com>2014-10-24 00:18:48 -0600
committerIIMarckus <iimarckus@gmail.com>2014-10-24 00:18:48 -0600
commitb4df25a1e155cc383d6a2cc628b3830ae2e1e961 (patch)
tree2f70a00b6f9fd8e43b3c4dc731c48d733101e3af /main.asm
parent81e2a3f0cfd4a280196b1776de6ae7df334ad85c (diff)
More comments and labels for ball catch rates.
Diffstat (limited to 'main.asm')
-rw-r--r--main.asm10
1 files changed, 6 insertions, 4 deletions
diff --git a/main.asm b/main.asm
index 65d5182f5..beabda627 100644
--- a/main.asm
+++ b/main.asm
@@ -59442,11 +59442,13 @@ String_50bb5: ; 50bb5
GetGender: ; 50bdd
-; Return the gender of a given monster in a.
+; Return the gender of a given monster (CurPartyMon/CurOTMon/CurWildMon).
+; When calling this function, a should be set to an appropriate MonType value.
-; 1: male
-; 0: female
-; c: genderless
+; return values:
+; a = 1: f = nc|nz; male
+; a = 0: f = nc|z; female
+; f = c: genderless
; This is determined by comparing the Attack and Speed DVs
; with the species' gender ratio.