You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-04-09 05:44:44 -07:00
use "x + -1" not "x +- 1"
(TODO: use "x - 1" once rgbds allows it)
This commit is contained in:
@@ -1110,7 +1110,7 @@ In [engine/search.asm](/engine/search.asm):
|
||||
|
||||
ld hl, PlayerName
|
||||
|
||||
rept NAME_LENGTH_JAPANESE +- 2 ; should be PLAYER_NAME_LENGTH +- 2
|
||||
rept NAME_LENGTH_JAPANESE + -2 ; should be PLAYER_NAME_LENGTH + -2
|
||||
ld a, [de]
|
||||
cp [hl]
|
||||
jr nz, .notfound
|
||||
@@ -1132,7 +1132,7 @@ endr
|
||||
ret
|
||||
```
|
||||
|
||||
**Fix:** Change `rept NAME_LENGTH_JAPANESE +- 2` to `rept PLAYER_NAME_LENGTH +- 2`.
|
||||
**Fix:** Change `rept NAME_LENGTH_JAPANESE + -2` to `rept PLAYER_NAME_LENGTH + -2`.
|
||||
|
||||
|
||||
## Catching a Transformed Pokémon always catches a Ditto
|
||||
|
Reference in New Issue
Block a user