aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/CeladonDiner2.asm
diff options
context:
space:
mode:
authordannye <33dannye@gmail.com>2023-11-20 00:33:27 -0600
committerdannye <33dannye@gmail.com>2023-11-20 20:23:27 -0600
commit298e99d3776580585c3f434e5d93137ae431bdd3 (patch)
treea808c4ffd0fd0f9bd28972bae5236e0d3345c8e5 /scripts/CeladonDiner2.asm
parentAdd sound bits documentation for wOptions (#110) (diff)
parentName 2 unnamed labels I missed in SeafoamIslandsB4F and PokemonMansion3F (#437) (diff)
downloadpokeyellow-298e99d3776580585c3f434e5d93137ae431bdd3.tar.gz
pokeyellow-298e99d3776580585c3f434e5d93137ae431bdd3.tar.xz
pokeyellow-298e99d3776580585c3f434e5d93137ae431bdd3.zip
Merge branch 'master' of https://github.com/pret/pokered
Diffstat (limited to 'scripts/CeladonDiner2.asm')
-rw-r--r--scripts/CeladonDiner2.asm38
1 files changed, 0 insertions, 38 deletions
diff --git a/scripts/CeladonDiner2.asm b/scripts/CeladonDiner2.asm
deleted file mode 100644
index ceef9f52..00000000
--- a/scripts/CeladonDiner2.asm
+++ /dev/null
@@ -1,38 +0,0 @@
-Func_f1f31::
- CheckEvent EVENT_GOT_COIN_CASE
- jr nz, .got_item
- ld hl, CeladonDinerText_491a7
- call PrintText
- lb bc, COIN_CASE, 1
- call GiveItem
- jr nc, .bag_full
- SetEvent EVENT_GOT_COIN_CASE
- ld hl, ReceivedCoinCaseText
- call PrintText
- jr .done
-.bag_full
- ld hl, CoinCaseNoRoomText
- call PrintText
- jr .done
-.got_item
- ld hl, CeladonDinerText_491b7
- call PrintText
-.done
- ret
-
-CeladonDinerText_491a7:
- text_far _CeladonDinerText_491a7
- text_end
-
-ReceivedCoinCaseText:
- text_far _ReceivedCoinCaseText
- sound_get_key_item
- text_end
-
-CoinCaseNoRoomText:
- text_far _CoinCaseNoRoomText
- text_end
-
-CeladonDinerText_491b7:
- text_far _CeladonDinerText_491b7
- text_end