summaryrefslogtreecommitdiff
path: root/scripts/CeruleanTrashedHouse.asm
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2019-01-01 15:06:23 -0500
committerRangi <remy.oukaour+rangi42@gmail.com>2019-01-01 23:33:10 -0500
commitc7796024590fec48ac79756793c1a6e3b54daf8f (patch)
tree0d61caa7ebe429995a61e800d1d78c3a82aec886 /scripts/CeruleanTrashedHouse.asm
parent90430e6dee9e207dc0b618d07566f83617343f60 (diff)
Rename map files, labels, and constants to be consistent and work with Polished Map
Diffstat (limited to 'scripts/CeruleanTrashedHouse.asm')
-rwxr-xr-xscripts/CeruleanTrashedHouse.asm39
1 files changed, 39 insertions, 0 deletions
diff --git a/scripts/CeruleanTrashedHouse.asm b/scripts/CeruleanTrashedHouse.asm
new file mode 100755
index 00000000..f249ef01
--- /dev/null
+++ b/scripts/CeruleanTrashedHouse.asm
@@ -0,0 +1,39 @@
+CeruleanTrashedHouse_Script:
+ call EnableAutoTextBoxDrawing
+ ret
+
+CeruleanTrashedHouse_TextPointers:
+ dw CeruleanHouseTrashedText1
+ dw CeruleanHouseTrashedText2
+ dw CeruleanHouseTrashedText3
+
+CeruleanHouseTrashedText1:
+ TX_ASM
+ ld b, $e4
+ predef GetQuantityOfItemInBag
+ and b
+ jr z, .asm_f8734
+ ld hl, CeruleanHouseTrashedText_1d6b0
+ call PrintText
+ jr .asm_8dfe9
+.asm_f8734
+ ld hl, CeruleanHouseTrashedText_1d6ab
+ call PrintText
+.asm_8dfe9
+ jp TextScriptEnd
+
+CeruleanHouseTrashedText_1d6ab:
+ TX_FAR _CeruleanTrashedText_1d6ab
+ db "@"
+
+CeruleanHouseTrashedText_1d6b0:
+ TX_FAR _CeruleanTrashedText_1d6b0
+ db "@"
+
+CeruleanHouseTrashedText2:
+ TX_FAR _CeruleanHouseTrashedText2
+ db "@"
+
+CeruleanHouseTrashedText3:
+ TX_FAR _CeruleanHouseTrashedText3
+ db "@"