summaryrefslogtreecommitdiff
path: root/scripts/celadondiner.asm
diff options
context:
space:
mode:
authorYamaArashi <shadow962@live.com>2015-07-20 18:32:02 -0700
committerYamaArashi <shadow962@live.com>2015-07-20 18:32:26 -0700
commitfcab935a0f449246380480613ac0896e0b90a0d8 (patch)
tree60391cf3fa91cc8173d13cc9fd75c050d9898e0c /scripts/celadondiner.asm
parent13e28b0ece7c7888cba792cc6f7219b384213427 (diff)
enumerate events
Diffstat (limited to 'scripts/celadondiner.asm')
-rwxr-xr-xscripts/celadondiner.asm6
1 files changed, 2 insertions, 4 deletions
diff --git a/scripts/celadondiner.asm b/scripts/celadondiner.asm
index f6db1606..d4d4b84b 100755
--- a/scripts/celadondiner.asm
+++ b/scripts/celadondiner.asm
@@ -27,16 +27,14 @@ CeladonDinerText4: ; 4916e (12:516e)
CeladonDinerText5: ; 49173 (12:5173)
TX_ASM
- ld a, [wd783]
- bit 0, a
+ CheckEvent EVENT_1E0
jr nz, .asm_eb14d
ld hl, CeladonDinerText_491a7
call PrintText
ld bc, (COIN_CASE << 8) | 1
call GiveItem
jr nc, .BagFull
- ld hl, wd783
- set 0, [hl]
+ SetEvent EVENT_1E0
ld hl, ReceivedCoinCaseText
call PrintText
jr .asm_68b61