summaryrefslogtreecommitdiff
path: root/scripts/celadonmart3.asm
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/celadonmart3.asm')
-rwxr-xr-xscripts/celadonmart3.asm6
1 files changed, 2 insertions, 4 deletions
diff --git a/scripts/celadonmart3.asm b/scripts/celadonmart3.asm
index 46e58d8c..6e17ac77 100755
--- a/scripts/celadonmart3.asm
+++ b/scripts/celadonmart3.asm
@@ -22,16 +22,14 @@ CeladonMart3TextPointers: ; 48228 (12:4228)
CeladonMart3Text1: ; 4824a (12:424a)
TX_ASM
- ld a, [wd778]
- bit 7, a
+ CheckEvent EVENT_18F
jr nz, .asm_a5463
ld hl, TM18PreReceiveText
call PrintText
ld bc, (TM_18 << 8) | 1
call GiveItem
jr nc, .BagFull
- ld hl, wd778
- set 7, [hl]
+ SetEvent EVENT_18F
ld hl, ReceivedTM18Text
jr .asm_81359
.BagFull