summaryrefslogtreecommitdiff
path: root/data/scripts/maps/FortreeCity_House1.s
diff options
context:
space:
mode:
Diffstat (limited to 'data/scripts/maps/FortreeCity_House1.s')
-rw-r--r--data/scripts/maps/FortreeCity_House1.s66
1 files changed, 66 insertions, 0 deletions
diff --git a/data/scripts/maps/FortreeCity_House1.s b/data/scripts/maps/FortreeCity_House1.s
new file mode 100644
index 000000000..827e6cc34
--- /dev/null
+++ b/data/scripts/maps/FortreeCity_House1.s
@@ -0,0 +1,66 @@
+FortreeCity_House1_MapScripts:: @ 8157E12
+ .byte 0
+
+FortreeCity_House1_EventScript_157E13:: @ 8157E13
+ lock
+ faceplayer
+ checkflag 155
+ jumpeq FortreeCity_House1_EventScript_157EAD
+ setvar 0x8008, 1
+ copyvar 0x8004, 0x8008
+ specialval RESULT, 252
+ copyvar 0x8009, RESULT
+ msgbox FortreeCity_House1_Text_18568C, 5
+ compare RESULT, 0
+ jumpeq FortreeCity_House1_EventScript_157E95
+ special 159
+ waitstate
+ copyvar 0x800a, 0x8004
+ compare 0x8004, 255
+ jumpeq FortreeCity_House1_EventScript_157E95
+ copyvar 0x8005, 0x800a
+ specialval RESULT, 255
+ copyvar 0x800b, RESULT
+ comparevars RESULT, 0x8009
+ jumpif 5, FortreeCity_House1_EventScript_157E9F
+ copyvar 0x8004, 0x8008
+ copyvar 0x8005, 0x800a
+ special 253
+ special 254
+ waitstate
+ bufferpoke 0, 0x8009
+ msgbox FortreeCity_House1_Text_1856F7, 4
+ setflag 155
+ release
+ end
+
+FortreeCity_House1_EventScript_157E95:: @ 8157E95
+ msgbox FortreeCity_House1_Text_18577F, 4
+ release
+ end
+
+FortreeCity_House1_EventScript_157E9F:: @ 8157E9F
+ bufferpoke 0, 0x8009
+ msgbox FortreeCity_House1_Text_185737, 4
+ release
+ end
+
+FortreeCity_House1_EventScript_157EAD:: @ 8157EAD
+ msgbox FortreeCity_House1_Text_1857C7, 4
+ release
+ end
+
+FortreeCity_House1_EventScript_157EB7:: @ 8157EB7
+ msgbox FortreeCity_House1_Text_18582A, 2
+ end
+
+FortreeCity_House1_EventScript_157EC0:: @ 8157EC0
+ lock
+ faceplayer
+ checksound
+ pokecry SPECIES_ZIGZAGOON, 0
+ msgbox FortreeCity_House1_Text_185888, 4
+ waitpokecry
+ release
+ end
+