summaryrefslogtreecommitdiff
path: root/data/maps/UndergroundPath_NorthEntrance/scripts.inc
diff options
context:
space:
mode:
Diffstat (limited to 'data/maps/UndergroundPath_NorthEntrance/scripts.inc')
-rw-r--r--data/maps/UndergroundPath_NorthEntrance/scripts.inc12
1 files changed, 6 insertions, 6 deletions
diff --git a/data/maps/UndergroundPath_NorthEntrance/scripts.inc b/data/maps/UndergroundPath_NorthEntrance/scripts.inc
index a88b1a55c..4d5a806e2 100644
--- a/data/maps/UndergroundPath_NorthEntrance/scripts.inc
+++ b/data/maps/UndergroundPath_NorthEntrance/scripts.inc
@@ -6,20 +6,20 @@ UndergroundPath_NorthEntrance_EventScript_160E39:: @ 8160E39
faceplayer
setvar VAR_0x8008, 2
call EventScript_1A8CAD
- checkflag FLAG_0x24B
- goto_if_eq EventScript_160EAB
+ checkflag FLAG_DID_MS_NIDO_TRADE
+ goto_if TRUE, EventScript_160EAB
msgbox gUnknown_81A5AD6, MSGBOX_YESNO
compare_var_to_value VAR_RESULT, 0
- goto_if_eq EventScript_160E93
+ goto_if eq, EventScript_160E93
call EventScript_1A8CBD
compare_var_to_value VAR_0x8004, 6
- goto_if 4, EventScript_160E93
+ goto_if ge, EventScript_160E93
call EventScript_1A8CC9
compare_var_to_var VAR_RESULT, VAR_0x8009
- goto_if 5, EventScript_160E9D
+ goto_if ne, EventScript_160E9D
call EventScript_1A8CD9
msgbox gUnknown_81A5B4A
- setflag FLAG_0x24B
+ setflag FLAG_DID_MS_NIDO_TRADE
release
end