summaryrefslogtreecommitdiff
path: root/data/maps/FortreeCity_House1/scripts.inc
diff options
context:
space:
mode:
Diffstat (limited to 'data/maps/FortreeCity_House1/scripts.inc')
-rw-r--r--data/maps/FortreeCity_House1/scripts.inc9
1 files changed, 4 insertions, 5 deletions
diff --git a/data/maps/FortreeCity_House1/scripts.inc b/data/maps/FortreeCity_House1/scripts.inc
index 52a9793c3..44651ae0d 100644
--- a/data/maps/FortreeCity_House1/scripts.inc
+++ b/data/maps/FortreeCity_House1/scripts.inc
@@ -4,25 +4,24 @@ FortreeCity_House1_MapScripts:: @ 82162BA
FortreeCity_House1_EventScript_2162BB:: @ 82162BB
lock
faceplayer
- checkflag FLAG_0x09B
- goto_eq FortreeCity_House1_EventScript_216355
+ goto_if_set FLAG_0x09B, FortreeCity_House1_EventScript_216355
setvar VAR_0x8008, 1
copyvar VAR_0x8004, VAR_0x8008
specialvar VAR_RESULT, sub_807E73C
copyvar VAR_0x8009, VAR_RESULT
msgbox FortreeCity_House1_Text_21637B, MSGBOX_YESNO
compare VAR_RESULT, 0
- goto_eq FortreeCity_House1_EventScript_21633D
+ goto_if_eq FortreeCity_House1_EventScript_21633D
special sub_81B94B0
waitstate
copyvar VAR_0x800A, VAR_0x8004
compare VAR_0x8004, 255
- goto_eq FortreeCity_House1_EventScript_21633D
+ goto_if_eq FortreeCity_House1_EventScript_21633D
copyvar VAR_0x8005, VAR_0x800A
specialvar VAR_RESULT, sub_807E9D4
copyvar VAR_0x800B, VAR_RESULT
compare VAR_RESULT, VAR_0x8009
- goto_if 5, FortreeCity_House1_EventScript_216347
+ goto_if_ne FortreeCity_House1_EventScript_216347
copyvar VAR_0x8004, VAR_0x8008
copyvar VAR_0x8005, VAR_0x800A
special sub_807EA10