summaryrefslogtreecommitdiff
path: root/scripts/Route1.asm
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/Route1.asm')
-rw-r--r--scripts/Route1.asm47
1 files changed, 9 insertions, 38 deletions
diff --git a/scripts/Route1.asm b/scripts/Route1.asm
index bd9afea3..d2f0b766 100644
--- a/scripts/Route1.asm
+++ b/scripts/Route1.asm
@@ -1,5 +1,6 @@
Route1_Script:
- jp EnableAutoTextBoxDrawing
+ call EnableAutoTextBoxDrawing
+ ret
Route1_TextPointers:
dw Route1Text1
@@ -8,45 +9,15 @@ Route1_TextPointers:
Route1Text1:
text_asm
- CheckAndSetEvent EVENT_GOT_POTION_SAMPLE
- jr nz, .got_item
- ld hl, Route1ViridianMartSampleText
- call PrintText
- lb bc, POTION, 1
- call GiveItem
- jr nc, .bag_full
- ld hl, Route1Text_1cae8
- jr .done
-.bag_full
- ld hl, Route1Text_1caf3
- jr .done
-.got_item
- ld hl, Route1Text_1caee
-.done
- call PrintText
+ farcall Func_f1ad2
jp TextScriptEnd
-Route1ViridianMartSampleText:
- text_far _Route1ViridianMartSampleText
- text_end
-
-Route1Text_1cae8:
- text_far _Route1Text_1cae8
- sound_get_item_1
- text_end
-
-Route1Text_1caee:
- text_far _Route1Text_1caee
- text_end
-
-Route1Text_1caf3:
- text_far _Route1Text_1caf3
- text_end
-
Route1Text2:
- text_far _Route1Text2
- text_end
+ text_asm
+ farcall Func_f1b0f
+ jp TextScriptEnd
Route1Text3:
- text_far _Route1Text3
- text_end
+ text_asm
+ farcall Func_f1b1b
+ jp TextScriptEnd