From a999787cb84e8363509ad72d92be8f1fc8b7d321 Mon Sep 17 00:00:00 2001 From: Rangi Date: Sun, 17 Feb 2019 13:18:38 -0500 Subject: Update documentation: - Apply more edits from #595 - Move music ID behavior from the wiki to docs - Move assembly programming links from docs to the wiki - Describe why the TM item gaps exist --- engine/battle/core.asm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'engine') diff --git a/engine/battle/core.asm b/engine/battle/core.asm index 3241e5022..72e85f088 100644 --- a/engine/battle/core.asm +++ b/engine/battle/core.asm @@ -6164,18 +6164,18 @@ LoadEnemyMon: call Random cp 5 percent jr c, .CheckMagikarpArea -; Try again if length >= 1616 mm (i.e. if LOW(length) >= 3 inches) +; Try again if length >= 1616 mm (i.e. if LOW(length) >= 4 inches) ld a, [wMagikarpLength + 1] - cp LOW(1616) ; should be "cp 3", since 1616 mm = 5'3", but LOW(1616) = 80 + cp LOW(1616) ; should be "cp 4", since 1616 mm = 5'4", but LOW(1616) = 80 jr nc, .GenerateDVs ; 20% chance of skipping this check call Random cp 20 percent - 1 jr c, .CheckMagikarpArea -; Try again if length >= 1600 mm (i.e. if LOW(length) >= 2 inches) +; Try again if length >= 1600 mm (i.e. if LOW(length) >= 3 inches) ld a, [wMagikarpLength + 1] - cp LOW(1600) ; should be "cp 2", since 1600 mm = 5'2", but LOW(1600) = 64 + cp LOW(1600) ; should be "cp 3", since 1600 mm = 5'3", but LOW(1600) = 64 jr nc, .GenerateDVs .CheckMagikarpArea: -- cgit v1.2.3