summaryrefslogtreecommitdiff
path: root/mobile
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2018-01-22 14:34:55 -0500
committerRangi <remy.oukaour+rangi42@gmail.com>2018-01-22 14:34:55 -0500
commit4d8528f90329e2ddfac16046ad8bf309ec1887f2 (patch)
tree8d5001b44a226b3a633d625ecd639a43ef8a4e09 /mobile
parent125d51b3b2e91230b693406de153e172f752bf41 (diff)
More engine flag constants
Diffstat (limited to 'mobile')
-rwxr-xr-xmobile/mobile_12.asm4
-rw-r--r--mobile/mobile_22.asm4
2 files changed, 4 insertions, 4 deletions
diff --git a/mobile/mobile_12.asm b/mobile/mobile_12.asm
index 934afb457..9d08c9284 100755
--- a/mobile/mobile_12.asm
+++ b/mobile/mobile_12.asm
@@ -315,7 +315,7 @@ asm_4828d: ; 4828d (12:428d)
ld a, [hli]
cp $50
jr nz, .asm_482e1
- ld a, $1
+ ld a, 1 << PLAYERGENDER_FEMALE_F
ld [wPlayerGender], a
jr .asm_482f1
.asm_482ed
@@ -800,7 +800,7 @@ Function4873c: ; 4873c (12:473c)
add B_BUTTON
ld [hli], a ; joypad filter
; ld a, [wPlayerGender]
- ; xor 1
+ ; xor 1 << PLAYERGENDER_FEMALE_F
; inc a
ld a, [wPlayerGender]
and a
diff --git a/mobile/mobile_22.asm b/mobile/mobile_22.asm
index 618c8a312..e96fd1e8f 100644
--- a/mobile/mobile_22.asm
+++ b/mobile/mobile_22.asm
@@ -619,7 +619,7 @@ Function89481: ; 89481
Function89492: ; 89492 (22:5492)
ld d, 0
ld a, [wPlayerGender]
- bit 0, a
+ bit PLAYERGENDER_FEMALE_F, a
ret z
inc d
ret
@@ -1269,7 +1269,7 @@ Function897d5: ; 897d5
Function89807: ; 89807 (22:5807)
ld hl, MobileAdapterGFX + $20 tiles
ld a, [wPlayerGender]
- bit 0, a
+ bit PLAYERGENDER_FEMALE_F, a
jr z, .asm_89814
ld hl, MobileAdapterGFX + $43 tiles
.asm_89814