summaryrefslogtreecommitdiff
path: root/engine/events/card_key.asm
diff options
context:
space:
mode:
authorluckytyphlosion <10688458+luckytyphlosion@users.noreply.github.com>2018-01-23 17:39:09 -0500
committerluckytyphlosion <10688458+luckytyphlosion@users.noreply.github.com>2018-01-23 17:39:09 -0500
commita1951cefc09035e11077a433b28ec8c66b3b03db (patch)
tree4de98db5a6edb6d74192028d50893da2b764421f /engine/events/card_key.asm
parent79bd48f85c7dd1868264e290b12dad17a6e25b95 (diff)
Prefix wram labels with w, part 2.
Diffstat (limited to 'engine/events/card_key.asm')
-rwxr-xr-xengine/events/card_key.asm6
1 files changed, 3 insertions, 3 deletions
diff --git a/engine/events/card_key.asm b/engine/events/card_key.asm
index dc4c73ad2..0f0b0ff33 100755
--- a/engine/events/card_key.asm
+++ b/engine/events/card_key.asm
@@ -1,14 +1,14 @@
_CardKey: ; 50779
; Are we even in the right map to use this?
- ld a, [MapGroup]
+ ld a, [wMapGroup]
cp GROUP_RADIO_TOWER_3F
jr nz, .nope
- ld a, [MapNumber]
+ ld a, [wMapNumber]
cp MAP_RADIO_TOWER_3F
jr nz, .nope
; Are we facing the slot?
- ld a, [PlayerDirection]
+ ld a, [wPlayerDirection]
and %1100
cp OW_UP
jr nz, .nope