summaryrefslogtreecommitdiff
path: root/scripts/SilphCo1F.asm
diff options
context:
space:
mode:
authorDaniel Harding <33dannye@gmail.com>2019-01-13 22:38:16 -0600
committerGitHub <noreply@github.com>2019-01-13 22:38:16 -0600
commit725b86ebbec23bd1f53fd60bf0201c904fee951d (patch)
treea37f4d33c5b77635c7ff72b91a73fcd90c4af915 /scripts/SilphCo1F.asm
parent108245cb21abb3abac051b7db84ed6c694192a61 (diff)
parentc7796024590fec48ac79756793c1a6e3b54daf8f (diff)
Merge pull request #196 from Rangi42/polishedmaps
Rename map files, labels, and constants to be consistent and work with Polished Map
Diffstat (limited to 'scripts/SilphCo1F.asm')
-rwxr-xr-xscripts/SilphCo1F.asm16
1 files changed, 16 insertions, 0 deletions
diff --git a/scripts/SilphCo1F.asm b/scripts/SilphCo1F.asm
new file mode 100755
index 00000000..6ccaa29c
--- /dev/null
+++ b/scripts/SilphCo1F.asm
@@ -0,0 +1,16 @@
+SilphCo1F_Script:
+ call EnableAutoTextBoxDrawing
+ CheckEvent EVENT_BEAT_SILPH_CO_GIOVANNI
+ ret z
+ CheckAndSetEvent EVENT_SILPH_CO_RECEPTIONIST_AT_DESK
+ ret nz
+ ld a, HS_SILPH_CO_1F_RECEPTIONIST
+ ld [wMissableObjectIndex], a
+ predef_jump ShowObject
+
+SilphCo1F_TextPointers:
+ dw SilphCo1Text1
+
+SilphCo1Text1:
+ TX_FAR _SilphCo1Text1
+ db "@"