mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-01-23 09:16:20 -08:00
and 50 percent
-> and %011111111
This commit is contained in:
parent
7d40476e14
commit
fb2a95afed
@ -116,9 +116,10 @@ CheckPhoneCall::
|
|||||||
nop
|
nop
|
||||||
jr nc, .no_call
|
jr nc, .no_call
|
||||||
|
|
||||||
|
; 50% chance for a call
|
||||||
call Random
|
call Random
|
||||||
ld b, a
|
ld b, a
|
||||||
and 50 percent
|
and %01111111
|
||||||
cp b
|
cp b
|
||||||
jr nz, .no_call
|
jr nz, .no_call
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user