blob: a88b1a55c91c372e650cf1d3f6b882fa6ef47b65 (
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
40
|
UndergroundPath_NorthEntrance_MapScripts:: @ 8160E38
.byte 0
UndergroundPath_NorthEntrance_EventScript_160E39:: @ 8160E39
lock
faceplayer
setvar VAR_0x8008, 2
call EventScript_1A8CAD
checkflag FLAG_0x24B
goto_if_eq EventScript_160EAB
msgbox gUnknown_81A5AD6, MSGBOX_YESNO
compare_var_to_value VAR_RESULT, 0
goto_if_eq EventScript_160E93
call EventScript_1A8CBD
compare_var_to_value VAR_0x8004, 6
goto_if 4, EventScript_160E93
call EventScript_1A8CC9
compare_var_to_var VAR_RESULT, VAR_0x8009
goto_if 5, EventScript_160E9D
call EventScript_1A8CD9
msgbox gUnknown_81A5B4A
setflag FLAG_0x24B
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
|