summaryrefslogtreecommitdiff
path: root/scripts/PewterMart.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/PewterMart.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/PewterMart.asm')
-rwxr-xr-xscripts/PewterMart.asm28
1 files changed, 28 insertions, 0 deletions
diff --git a/scripts/PewterMart.asm b/scripts/PewterMart.asm
new file mode 100755
index 00000000..c71f8413
--- /dev/null
+++ b/scripts/PewterMart.asm
@@ -0,0 +1,28 @@
+PewterMart_Script:
+ call EnableAutoTextBoxDrawing
+ ld a, $1
+ ld [wAutoTextBoxDrawingControl], a
+ ret
+
+PewterMart_TextPointers:
+ dw PewterCashierText
+ dw PewterMartText2
+ dw PewterMartText3
+
+PewterMartText2:
+ TX_ASM
+ ld hl, .Text
+ call PrintText
+ jp TextScriptEnd
+.Text
+ TX_FAR _PewterMartText2
+ db "@"
+
+PewterMartText3:
+ TX_ASM
+ ld hl, .Text
+ call PrintText
+ jp TextScriptEnd
+.Text
+ TX_FAR _PewterMartText3
+ db "@"