summaryrefslogtreecommitdiff
path: root/scripts/CeladonDiner.asm
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2020-07-16 11:19:05 -0400
committerRangi <remy.oukaour+rangi42@gmail.com>2020-07-16 11:19:05 -0400
commit594c58a289cbad3954899d76ed000f483389472f (patch)
tree31c04c8930d25b68819d47b627a252ec271be849 /scripts/CeladonDiner.asm
parent58f10893707004fe353422e19f3d1f2b89e60a6c (diff)
Revise some map scripts, mostly for getting items
Diffstat (limited to 'scripts/CeladonDiner.asm')
-rwxr-xr-xscripts/CeladonDiner.asm14
1 files changed, 7 insertions, 7 deletions
diff --git a/scripts/CeladonDiner.asm b/scripts/CeladonDiner.asm
index e5a2d8b2..e95035f0 100755
--- a/scripts/CeladonDiner.asm
+++ b/scripts/CeladonDiner.asm
@@ -28,24 +28,24 @@ CeladonDinerText4:
CeladonDinerText5:
text_asm
CheckEvent EVENT_GOT_COIN_CASE
- jr nz, .asm_eb14d
+ jr nz, .got_item
ld hl, CeladonDinerText_491a7
call PrintText
lb bc, COIN_CASE, 1
call GiveItem
- jr nc, .BagFull
+ jr nc, .bag_full
SetEvent EVENT_GOT_COIN_CASE
ld hl, ReceivedCoinCaseText
call PrintText
- jr .asm_68b61
-.BagFull
+ jr .done
+.bag_full
ld hl, CoinCaseNoRoomText
call PrintText
- jr .asm_68b61
-.asm_eb14d
+ jr .done
+.got_item
ld hl, CeladonDinerText_491b7
call PrintText
-.asm_68b61
+.done
jp TextScriptEnd
CeladonDinerText_491a7: