summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKDLPro <38602758+KDLPro@users.noreply.github.com>2021-04-26 16:14:18 +0800
committerKDLPro <38602758+KDLPro@users.noreply.github.com>2021-04-26 16:14:18 +0800
commit0354deeef8381e0d70446e8a16a3f1e308156cd0 (patch)
tree445c6bf8f7da4ac89465a2fc5ad1390b816b9128
parentbce1455800bf058942a775f046adc467ce7b53c8 (diff)
Updated Modify existing gender formula (markdown)
-rw-r--r--Modify-existing-gender-formula.md36
1 files changed, 1 insertions, 35 deletions
diff --git a/Modify-existing-gender-formula.md b/Modify-existing-gender-formula.md
index b54538a..2364cb1 100644
--- a/Modify-existing-gender-formula.md
+++ b/Modify-existing-gender-formula.md
@@ -32,41 +32,7 @@ GetGender:
; This is determined by comparing the Attack and Speed DVs
; with the species' gender ratio.
-; Figure out what type of monster struct we're looking at.
-
-; 0: PartyMon
- ld hl, wPartyMon1DVs
- ld bc, PARTYMON_STRUCT_LENGTH
- ld a, [wMonType]
- and a
- jr z, .PartyMon
-
-; 1: OTPartyMon
- ld hl, wOTPartyMon1DVs
- dec a
- jr z, .PartyMon
-
-; 2: sBoxMon
- ld hl, sBoxMon1DVs
- ld bc, BOXMON_STRUCT_LENGTH
- dec a
- jr z, .sBoxMon
-
-; 3: Unknown
- ld hl, wTempMonDVs
- dec a
- jr z, .DVs
-
-; else: WildMon
- ld hl, wEnemyMonDVs
- jr .DVs
-
-; Get our place in the party/box.
-
-.PartyMon:
-.sBoxMon
- ld a, [wCurPartyMon]
- call AddNTimes
+...
.DVs:
; sBoxMon data is read directly from SRAM.