summaryrefslogtreecommitdiff
path: root/engine/events/card_key.asm
diff options
context:
space:
mode:
Diffstat (limited to 'engine/events/card_key.asm')
-rwxr-xr-xengine/events/card_key.asm14
1 files changed, 7 insertions, 7 deletions
diff --git a/engine/events/card_key.asm b/engine/events/card_key.asm
index c77d5fcd..a37a1f27 100755
--- a/engine/events/card_key.asm
+++ b/engine/events/card_key.asm
@@ -72,14 +72,14 @@ SilphCoMapList:
db $FF
CardKeySuccessText::
- TX_FAR _CardKeySuccessText1
- TX_SFX_ITEM_1
- TX_FAR _CardKeySuccessText2
- db "@"
+ text_far _CardKeySuccessText1
+ sound_get_item_1
+ text_far _CardKeySuccessText2
+ text_end
CardKeyFailText::
- TX_FAR _CardKeyFailText
- db "@"
+ text_far _CardKeyFailText
+ text_end
; d = Y
; e = X
@@ -88,7 +88,7 @@ GetCoordsInFrontOfPlayer:
ld d, a
ld a, [wXCoord]
ld e, a
- ld a, [wSpriteStateData1 + 9] ; player's sprite facing direction
+ ld a, [wSpritePlayerStateData1FacingDirection]
and a
jr nz, .notFacingDown
; facing down