Skip to content

Commit

Permalink
Fix doc about Magikarp length calculation and bugfix doc
Browse files Browse the repository at this point in the history
  • Loading branch information
Idain committed Dec 24, 2023
1 parent 9a917e3 commit 6508421
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions docs/bugs_and_glitches.md
Original file line number Diff line number Diff line change
Expand Up @@ -2416,6 +2416,7 @@ CopyPokemonName_Buffer1_Buffer3:
cp d
ret c
- ret nc
+ ret nz
ld a, c
cp e
ret
Expand Down
2 changes: 1 addition & 1 deletion engine/events/magikarp.asm
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ CalcMagikarpLength:

; This function is poorly commented.

; In short, it generates a value between 190 and 1786 using
; In short, it generates a value between 190 and 1625 using
; a Magikarp's DVs and its trainer ID. This value is further
; filtered in LoadEnemyMon to make longer Magikarp even rarer.

Expand Down

0 comments on commit 6508421

Please sign in to comment.