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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
|
FiveIsland_MemorialPillar_MapScripts:: @ 81689D2
.byte 0
FiveIsland_MemorialPillar_EventScript_1689D3:: @ 81689D3
lock
checkflag FLAG_0x236
goto_if_eq EventScript_168A18
checkflag FLAG_0x2D7
goto_if_eq EventScript_168A22
msgbox gUnknown_818B02E
closemessage
applymovement 1, Movement_1A75E1
waitmovement 0
delay 45
msgbox gUnknown_818B03C
applymovement 1, Movement_1A75E9
waitmovement 0
msgbox gUnknown_818B05E
release
end
EventScript_168A18:: @ 8168A18
msgbox gUnknown_818B2DA
release
end
EventScript_168A22:: @ 8168A22
msgbox gUnknown_818B282
giveitem ITEM_TM42
compare_var_to_value VAR_RESULT, 0
goto_if_eq EventScript_168AFE
call EventScript_168AE8
release
end
FiveIsland_MemorialPillar_EventScript_168A48:: @ 8168A48
special sub_8110AB4
compare_var_to_value VAR_RESULT, 2
goto_if_eq EventScript_1A7AE0
special sub_8112364
lockall
checkflag FLAG_0x236
goto_if_eq EventScript_168B0B
checkflag FLAG_0x2D7
goto_if_eq EventScript_168B0B
msgbox gUnknown_818B095
checkitem ITEM_LEMONADE, 1
compare_var_to_value VAR_RESULT, 1
goto_if_eq EventScript_168A86
releaseall
end
EventScript_168A86:: @ 8168A86
msgbox gUnknown_818B105, MSGBOX_YESNO
compare_var_to_value VAR_RESULT, 1
goto_if_eq EventScript_168A9B
releaseall
end
EventScript_168A9B:: @ 8168A9B
removeitem ITEM_LEMONADE, 1
msgbox gUnknown_818B13E
closemessage
applymovement 1, Movement_1A75EB
waitmovement 0
delay 45
applymovement 255, Movement_1A75E7
waitmovement 0
textcolor 0
msgbox gUnknown_818B171
giveitem ITEM_TM42
compare_var_to_value VAR_RESULT, 0
goto_if_eq EventScript_168AFE
call EventScript_168AE8
releaseall
end
EventScript_168AE8:: @ 8168AE8
msgbox gUnknown_818B219
applymovement 1, Movement_1A75E9
waitmovement 0
setflag FLAG_0x236
return
EventScript_168AFE:: @ 8168AFE
setflag FLAG_0x2D7
msgbox gUnknown_818B23E
releaseall
end
EventScript_168B0B:: @ 8168B0B
msgbox gUnknown_818B2F8
releaseall
end
|