summaryrefslogtreecommitdiff
path: root/scripts/silphco1.asm
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/silphco1.asm')
-rwxr-xr-xscripts/silphco1.asm17
1 files changed, 7 insertions, 10 deletions
diff --git a/scripts/silphco1.asm b/scripts/silphco1.asm
index 8a399a4c..c0cb169b 100755
--- a/scripts/silphco1.asm
+++ b/scripts/silphco1.asm
@@ -1,19 +1,16 @@
-SilphCo1Script: ; 5d44e (17:544e)
+SilphCo1Script:
call EnableAutoTextBoxDrawing
- ld a, [wd838]
- bit 7, a
+ CheckEvent EVENT_BEAT_SILPH_CO_GIOVANNI
ret z
- ld hl, wd7b9
- bit 7, [hl]
- set 7, [hl]
+ CheckAndSetEvent EVENT_SILPH_CO_RECEPTIONIST_AT_DESK
ret nz
- ld a, HS_SILPH_CO_1F_1
- ld [wcc4d], a
+ ld a, HS_SILPH_CO_1F_RECEPTIONIST
+ ld [wMissableObjectIndex], a
predef_jump ShowObject
-SilphCo1TextPointers: ; 5d469 (17:5469)
+SilphCo1TextPointers:
dw SilphCo1Text1
-SilphCo1Text1: ; 5d46b (17:546b)
+SilphCo1Text1:
TX_FAR _SilphCo1Text1
db "@"