summaryrefslogtreecommitdiff
path: root/scripts/MrPsychicsHouse.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/MrPsychicsHouse.asm
parent58f10893707004fe353422e19f3d1f2b89e60a6c (diff)
Revise some map scripts, mostly for getting items
Diffstat (limited to 'scripts/MrPsychicsHouse.asm')
-rwxr-xr-xscripts/MrPsychicsHouse.asm14
1 files changed, 7 insertions, 7 deletions
diff --git a/scripts/MrPsychicsHouse.asm b/scripts/MrPsychicsHouse.asm
index 1e694772..399edfbd 100755
--- a/scripts/MrPsychicsHouse.asm
+++ b/scripts/MrPsychicsHouse.asm
@@ -7,24 +7,24 @@ MrPsychicsHouse_TextPointers:
SaffronHouse2Text1:
text_asm
CheckEvent EVENT_GOT_TM29
- jr nz, .asm_9e72b
+ jr nz, .got_item
ld hl, TM29PreReceiveText
call PrintText
lb bc, TM_PSYCHIC_M, 1
call GiveItem
- jr nc, .BagFull
+ jr nc, .bag_full
ld hl, ReceivedTM29Text
call PrintText
SetEvent EVENT_GOT_TM29
- jr .asm_fe4e1
-.BagFull
+ jr .done
+.bag_full
ld hl, TM29NoRoomText
call PrintText
- jr .asm_fe4e1
-.asm_9e72b
+ jr .done
+.got_item
ld hl, TM29ExplanationText
call PrintText
-.asm_fe4e1
+.done
jp TextScriptEnd
TM29PreReceiveText: