summaryrefslogtreecommitdiff
path: root/engine/phone
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2021-09-07 19:18:22 -0400
committerRangi <remy.oukaour+rangi42@gmail.com>2021-09-07 19:18:22 -0400
commitfb2a95afedc6d559614675b9e0763301cbd56072 (patch)
tree66e025da06dbdbff24fa725b36c387352140838f /engine/phone
parent7d40476e14542163830cfb60d4b84787d1123797 (diff)
`and 50 percent` -> `and %011111111`
Diffstat (limited to 'engine/phone')
-rw-r--r--engine/phone/phone.asm3
1 files changed, 2 insertions, 1 deletions
diff --git a/engine/phone/phone.asm b/engine/phone/phone.asm
index 3263f8b50..62dc01431 100644
--- a/engine/phone/phone.asm
+++ b/engine/phone/phone.asm
@@ -116,9 +116,10 @@ CheckPhoneCall::
nop
jr nc, .no_call
+ ; 50% chance for a call
call Random
ld b, a
- and 50 percent
+ and %01111111
cp b
jr nz, .no_call