summaryrefslogtreecommitdiff
path: root/data/maps/Route2_House
diff options
context:
space:
mode:
authorPikalaxALT <PikalaxALT@users.noreply.github.com>2020-01-12 17:04:23 -0500
committerGitHub <noreply@github.com>2020-01-12 17:04:23 -0500
commit92d99d4fd2e5579372b9f4cc39468000553ba3a8 (patch)
tree4ff8e60d1ad6a25dad888a4e78011624b46ad9ec /data/maps/Route2_House
parent15ff7eb2f87032797f6ce9ef9bb471c468b48a36 (diff)
parent0676e732869d0e62322b001cbab57b8500361005 (diff)
Merge pull request #207 from GriffinRichards/sync-script
Sync scripts with pokeemerald
Diffstat (limited to 'data/maps/Route2_House')
-rw-r--r--data/maps/Route2_House/scripts.inc17
1 files changed, 8 insertions, 9 deletions
diff --git a/data/maps/Route2_House/scripts.inc b/data/maps/Route2_House/scripts.inc
index 62367586d..f4bc2d0ed 100644
--- a/data/maps/Route2_House/scripts.inc
+++ b/data/maps/Route2_House/scripts.inc
@@ -2,7 +2,7 @@ Route2_House_MapScripts:: @ 816F5F8
.byte 0
Route2_House_EventScript_16F5F9:: @ 816F5F9
- msgbox gUnknown_819D5E7, 2
+ msgbox gUnknown_819D5E7, MSGBOX_NPC
end
Route2_House_EventScript_16F602:: @ 816F602
@@ -10,17 +10,16 @@ Route2_House_EventScript_16F602:: @ 816F602
faceplayer
setvar VAR_0x8008, 0
call EventScript_1A8CAD
- checkflag FLAG_DID_MIMIEN_TRADE
- goto_if TRUE, EventScript_16F674
+ goto_if_set FLAG_DID_MIMIEN_TRADE, EventScript_16F674
msgbox gUnknown_81A597B, MSGBOX_YESNO
- compare_var_to_value VAR_RESULT, 0
- goto_if eq, EventScript_16F65C
+ compare VAR_RESULT, NO
+ goto_if_eq EventScript_16F65C
call EventScript_1A8CBD
- compare_var_to_value VAR_0x8004, 6
- goto_if ge, EventScript_16F65C
+ compare VAR_0x8004, 6
+ goto_if_ge EventScript_16F65C
call EventScript_1A8CC9
- compare_var_to_var VAR_RESULT, VAR_0x8009
- goto_if ne, EventScript_16F666
+ compare VAR_RESULT, VAR_0x8009
+ goto_if_ne EventScript_16F666
call EventScript_1A8CD9
msgbox gUnknown_81A59DA
setflag FLAG_DID_MIMIEN_TRADE