diff options
Diffstat (limited to 'event/card_key.asm')
-rwxr-xr-x | event/card_key.asm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/event/card_key.asm b/event/card_key.asm index 711d97725..dc4c73ad2 100755 --- a/event/card_key.asm +++ b/event/card_key.asm @@ -9,7 +9,7 @@ _CardKey: ; 50779 jr nz, .nope ; Are we facing the slot? ld a, [PlayerDirection] - and $c + and %1100 cp OW_UP jr nz, .nope @@ -23,12 +23,12 @@ _CardKey: ; 50779 ; Let's use the Card Key. ld hl, .CardKeyScript call QueueScript - ld a, $1 + ld a, TRUE ld [wItemEffectSucceeded], a ret .nope - ld a, $0 + ld a, FALSE ld [wItemEffectSucceeded], a ret ; 507af |