summaryrefslogtreecommitdiff
path: root/scripts/CeladonDiner.asm
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/CeladonDiner.asm')
-rwxr-xr-xscripts/CeladonDiner.asm37
1 files changed, 1 insertions, 36 deletions
diff --git a/scripts/CeladonDiner.asm b/scripts/CeladonDiner.asm
index e95035f0..b4936e75 100755
--- a/scripts/CeladonDiner.asm
+++ b/scripts/CeladonDiner.asm
@@ -27,40 +27,5 @@ CeladonDinerText4:
CeladonDinerText5:
text_asm
- 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
+ callfar Func_f1f31
jp TextScriptEnd
-
-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