blob: 2a1e4ed4f850409ab3ff84c273f18c875d1aaae6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
UndergroundPath_NorthEntrance_MapScripts:: @ 8160E38
.byte 0
UndergroundPath_NorthEntrance_EventScript_160E39:: @ 8160E39
lock
faceplayer
setvar VAR_0x8008, 2
call EventScript_1A8CAD
goto_if_set FLAG_DID_MS_NIDO_TRADE, EventScript_160EAB
msgbox gUnknown_81A5AD6, MSGBOX_YESNO
compare VAR_RESULT, NO
goto_if_eq EventScript_160E93
call EventScript_1A8CBD
compare VAR_0x8004, 6
goto_if_ge EventScript_160E93
call EventScript_1A8CC9
compare VAR_RESULT, VAR_0x8009
goto_if_ne EventScript_160E9D
call EventScript_1A8CD9
msgbox gUnknown_81A5B4A
setflag FLAG_DID_MS_NIDO_TRADE
release
end
EventScript_160E93:: @ 8160E93
msgbox gUnknown_81A5B08
release
end
EventScript_160E9D:: @ 8160E9D
getspeciesname 0, VAR_0x8009
msgbox gUnknown_81A5B18
release
end
EventScript_160EAB:: @ 8160EAB
msgbox gUnknown_81A5B60
release
end
|