Document a bugfix: 1/256 failure rate for 100% effect chance
This commit is contained in:
@@ -1877,6 +1877,8 @@ BattleCommand_EffectChance:
|
||||
ld hl, wEnemyMoveStruct + MOVE_CHANCE
|
||||
.got_move_chance
|
||||
|
||||
; BUG: 1/256 chance to fail even for a 100% effect chance,
|
||||
; since carry is not set if BattleRandom == [hl] == 255
|
||||
call BattleRandom
|
||||
cp [hl]
|
||||
pop hl
|
||||
|
Reference in New Issue
Block a user