summaryrefslogtreecommitdiff
path: root/scripts/celadondiner.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/celadondiner.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/celadondiner.asm')
-rwxr-xr-xscripts/celadondiner.asm66
1 files changed, 0 insertions, 66 deletions
diff --git a/scripts/celadondiner.asm b/scripts/celadondiner.asm
deleted file mode 100755
index 6fd594f7..00000000
--- a/scripts/celadondiner.asm
+++ /dev/null
@@ -1,66 +0,0 @@
-CeladonDinerScript:
- call EnableAutoTextBoxDrawing
- ret
-
-CeladonDinerTextPointers:
- dw CeladonDinerText1
- dw CeladonDinerText2
- dw CeladonDinerText3
- dw CeladonDinerText4
- dw CeladonDinerText5
-
-CeladonDinerText1:
- TX_FAR _CeladonDinerText1
- db "@"
-
-CeladonDinerText2:
- TX_FAR _CeladonDinerText2
- db "@"
-
-CeladonDinerText3:
- TX_FAR _CeladonDinerText3
- db "@"
-
-CeladonDinerText4:
- TX_FAR _CeladonDinerText4
- db "@"
-
-CeladonDinerText5:
- TX_ASM
- CheckEvent EVENT_GOT_COIN_CASE
- jr nz, .asm_eb14d
- ld hl, CeladonDinerText_491a7
- call PrintText
- lb bc, COIN_CASE, 1
- call GiveItem
- jr nc, .BagFull
- SetEvent EVENT_GOT_COIN_CASE
- ld hl, ReceivedCoinCaseText
- call PrintText
- jr .asm_68b61
-.BagFull
- ld hl, CoinCaseNoRoomText
- call PrintText
- jr .asm_68b61
-.asm_eb14d
- ld hl, CeladonDinerText_491b7
- call PrintText
-.asm_68b61
- jp TextScriptEnd
-
-CeladonDinerText_491a7:
- TX_FAR _CeladonDinerText_491a7
- db "@"
-
-ReceivedCoinCaseText:
- TX_FAR _ReceivedCoinCaseText
- TX_SFX_KEY_ITEM
- db "@"
-
-CoinCaseNoRoomText:
- TX_FAR _CoinCaseNoRoomText
- db "@"
-
-CeladonDinerText_491b7:
- TX_FAR _CeladonDinerText_491b7
- db "@"