summaryrefslogtreecommitdiff
path: root/data/maps/Route1/scripts.inc
diff options
context:
space:
mode:
Diffstat (limited to 'data/maps/Route1/scripts.inc')
-rw-r--r--data/maps/Route1/scripts.inc37
1 files changed, 37 insertions, 0 deletions
diff --git a/data/maps/Route1/scripts.inc b/data/maps/Route1/scripts.inc
new file mode 100644
index 000000000..16bd02597
--- /dev/null
+++ b/data/maps/Route1/scripts.inc
@@ -0,0 +1,37 @@
+Route1_MapScripts:: @ 8167EFD
+ .byte 0
+
+Route1_EventScript_167EFE:: @ 8167EFE
+ lock
+ faceplayer
+ checkflag FLAG_0x230
+ goto_if_eq EventScript_167F48
+ msgbox gUnknown_818329D
+ textcolor 3
+ checkitemspace ITEM_POTION, 1
+ compare_var_to_value VAR_RESULT, 0
+ goto_if_eq EventScript_1A6BF9
+ getitemname 1, ITEM_POTION
+ playfanfare MUS_FANFA1
+ message Text_1A51F6
+ waitmessage
+ waitfanfare
+ additem ITEM_POTION, 1
+ msgbox gUnknown_8183387
+ call EventScript_1A6675
+ setflag FLAG_0x230
+ release
+ end
+
+EventScript_167F48:: @ 8167F48
+ msgbox gUnknown_8183347
+ release
+ end
+
+Route1_EventScript_167F52:: @ 8167F52
+ msgbox gUnknown_81833B9, 2
+ end
+
+Route1_EventScript_167F5B:: @ 8167F5B
+ msgbox gUnknown_818343A, 3
+ end