From 0354deeef8381e0d70446e8a16a3f1e308156cd0 Mon Sep 17 00:00:00 2001 From: KDLPro <38602758+KDLPro@users.noreply.github.com> Date: Mon, 26 Apr 2021 16:14:18 +0800 Subject: Updated Modify existing gender formula (markdown) --- Modify-existing-gender-formula.md | 36 +----------------------------------- 1 file changed, 1 insertion(+), 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. -- cgit v1.2.3