summaryrefslogtreecommitdiff
path: root/data/scripts/maps/SlateportCity_House1.s
diff options
context:
space:
mode:
Diffstat (limited to 'data/scripts/maps/SlateportCity_House1.s')
-rw-r--r--data/scripts/maps/SlateportCity_House1.s73
1 files changed, 73 insertions, 0 deletions
diff --git a/data/scripts/maps/SlateportCity_House1.s b/data/scripts/maps/SlateportCity_House1.s
new file mode 100644
index 000000000..bde33129c
--- /dev/null
+++ b/data/scripts/maps/SlateportCity_House1.s
@@ -0,0 +1,73 @@
+SlateportCity_House1_MapScripts:: @ 815567A
+ .byte 0
+
+SlateportCity_House1_EventScript_15567B:: @ 815567B
+ lock
+ faceplayer
+ msgbox SlateportCity_House1_Text_17D46A, 5
+ compare RESULT, 1
+ jumpeq SlateportCity_House1_EventScript_15569C
+ compare RESULT, 0
+ jumpeq SlateportCity_House1_EventScript_1556BF
+ end
+
+SlateportCity_House1_EventScript_15569C:: @ 815569C
+ msgbox SlateportCity_House1_Text_17D4DB, 4
+ special 159
+ waitstate
+ compare 0x8004, 255
+ jumpif 5, SlateportCity_House1_EventScript_1556C9
+ compare 0x8004, 255
+ jumpeq SlateportCity_House1_EventScript_1556BF
+ end
+
+SlateportCity_House1_EventScript_1556BF:: @ 81556BF
+ msgbox SlateportCity_House1_Text_17D61E, 4
+ release
+ end
+
+SlateportCity_House1_EventScript_1556C9:: @ 81556C9
+ specialval RESULT, 327
+ compare RESULT, 412
+ jumpeq SlateportCity_House1_EventScript_15571C
+ special 124
+ special 125
+ compare RESULT, 1
+ jumpeq SlateportCity_House1_EventScript_155726
+ specialval RESULT, 336
+ special 124
+ compare RESULT, 1
+ jumpeq SlateportCity_House1_EventScript_155726
+ msgbox SlateportCity_House1_Text_17D505, 5
+ compare RESULT, 1
+ jumpeq SlateportCity_House1_EventScript_155730
+ compare RESULT, 0
+ jumpeq SlateportCity_House1_EventScript_1556BF
+ end
+
+SlateportCity_House1_EventScript_15571C:: @ 815571C
+ msgbox SlateportCity_House1_Text_17D752, 4
+ release
+ end
+
+SlateportCity_House1_EventScript_155726:: @ 8155726
+ msgbox SlateportCity_House1_Text_17D6CC, 4
+ release
+ end
+
+SlateportCity_House1_EventScript_155730:: @ 8155730
+ msgbox SlateportCity_House1_Text_17D580, 4
+ call SlateportCity_House1_EventScript_1A0678
+ specialval RESULT, 123
+ special 124
+ compare RESULT, 1
+ jumpeq SlateportCity_House1_EventScript_15575A
+ msgbox SlateportCity_House1_Text_17D63A, 4
+ release
+ end
+
+SlateportCity_House1_EventScript_15575A:: @ 815575A
+ msgbox SlateportCity_House1_Text_17D5B0, 4
+ release
+ end
+