summaryrefslogtreecommitdiff
path: root/scripts/silphco1.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/silphco1.asm
parent13e28b0ece7c7888cba792cc6f7219b384213427 (diff)
enumerate events
Diffstat (limited to 'scripts/silphco1.asm')
-rwxr-xr-xscripts/silphco1.asm7
1 files changed, 2 insertions, 5 deletions
diff --git a/scripts/silphco1.asm b/scripts/silphco1.asm
index 8a399a4c..26c8c888 100755
--- a/scripts/silphco1.asm
+++ b/scripts/silphco1.asm
@@ -1,11 +1,8 @@
SilphCo1Script: ; 5d44e (17:544e)
call EnableAutoTextBoxDrawing
- ld a, [wd838]
- bit 7, a
+ CheckEvent EVENT_78F
ret z
- ld hl, wd7b9
- bit 7, [hl]
- set 7, [hl]
+ CheckAndSetEvent EVENT_397
ret nz
ld a, HS_SILPH_CO_1F_1
ld [wcc4d], a