You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-04-09 05:44:44 -07:00
Document bugs and glitches
This commit is contained in:
@ -9810,7 +9810,7 @@ GetItemHeldEffect: ; 37dd0
|
||||
dec a
|
||||
ld c, a
|
||||
ld b, 0
|
||||
ld a, Item2Attributes - Item1Attributes
|
||||
ld a, ITEMATTR_STRUCT_LENGTH
|
||||
call AddNTimes
|
||||
ld a, BANK(ItemAttributes)
|
||||
call GetFarHalfword
|
||||
|
@ -298,7 +298,6 @@ CANT_TOSS EQU 1 << 7
|
||||
|
||||
; held item effects
|
||||
const_def
|
||||
|
||||
const HELD_NONE
|
||||
const HELD_BERRY
|
||||
const HELD_2
|
||||
@ -382,7 +381,7 @@ const_value SET 70
|
||||
const ITEMATTR_PERMISSIONS
|
||||
const ITEMATTR_POCKET
|
||||
const ITEMATTR_HELP
|
||||
NUM_ITEMATTRS EQU const_value
|
||||
ITEMATTR_STRUCT_LENGTH EQU const_value
|
||||
|
||||
; item menu types
|
||||
ITEMMENU_NOUSE EQU 0
|
||||
|
689
docs/bugs.md
Normal file
689
docs/bugs.md
Normal file
File diff suppressed because it is too large
Load Diff
@ -554,7 +554,7 @@ GetItemAttr: ; d460
|
||||
ld a, [CurItem]
|
||||
dec a
|
||||
ld c, a
|
||||
ld a, NUM_ITEMATTRS
|
||||
ld a, ITEMATTR_STRUCT_LENGTH
|
||||
call AddNTimes
|
||||
ld a, BANK(ItemAttributes)
|
||||
call GetFarByte
|
||||
|
@ -219,7 +219,7 @@ CheckOwnMon: ; 0x4a7ba
|
||||
|
||||
ld hl, PlayerName
|
||||
|
||||
rept 4
|
||||
rept PLAYER_NAME_LENGTH_JAPANESE - 1 ; should be PLAYER_NAME_LENGTH - 1
|
||||
ld a, [de]
|
||||
cp [hl]
|
||||
jr nz, .notfound
|
||||
@ -227,7 +227,7 @@ CheckOwnMon: ; 0x4a7ba
|
||||
jr z, .found ; reached end of string
|
||||
inc hl
|
||||
inc de
|
||||
endr
|
||||
endr
|
||||
|
||||
ld a, [de]
|
||||
cp [hl]
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -1006,7 +1006,7 @@ LoveBallMultiplier:
|
||||
pop de
|
||||
cp d
|
||||
pop bc
|
||||
ret nz ; for the intended effect, this should be “ret z”
|
||||
ret nz ; for the intended effect, this should be "ret z"
|
||||
|
||||
sla b
|
||||
jr c, .max
|
||||
@ -1044,7 +1044,7 @@ FastBallMultiplier:
|
||||
cp -1
|
||||
jr z, .next
|
||||
cp c
|
||||
jr nz, .next ; for the intended effect, this should be “jr nz, .loop”
|
||||
jr nz, .next ; for the intended effect, this should be "jr nz, .loop"
|
||||
sla b
|
||||
jr c, .max
|
||||
|
||||
|
Reference in New Issue
Block a user