blob: 115ed0453fab3067253e54a45d8b658432a90877 (
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
|
SootopolisCity_Mart_MapScripts:: @ 815B21A
.byte 0
SootopolisCity_Mart_EventScript_15B21B:: @ 815B21B
lock
faceplayer
message SootopolisCity_Mart_Text_1A0BE4
waitmessage
pokemart SootopolisCity_Mart_Items
msgbox SootopolisCity_Mart_Text_1A0C02, 4
release
end
.align 2
SootopolisCity_Mart_Items:: @ 815B234
.2byte ITEM_ULTRA_BALL
.2byte ITEM_HYPER_POTION
.2byte ITEM_MAX_POTION
.2byte ITEM_FULL_HEAL
.2byte ITEM_REVIVE
.2byte ITEM_MAX_REPEL
.2byte ITEM_X_ATTACK
.2byte ITEM_X_DEFEND
.2byte ITEM_SHADOW_MAIL
.2byte ITEM_NONE
release
end
SootopolisCity_Mart_EventScript_15B24A:: @ 815B24A
lock
faceplayer
checkflag FLAG_LEGENDARY_BATTLE_COMPLETED
goto_if_eq SootopolisCity_Mart_EventScript_15B268
checkflag FLAG_LEGEND_ESCAPED_SEAFLOOR_CAVERN
goto_if 0, SootopolisCity_Mart_EventScript_15B268
msgbox SootopolisCity_Mart_Text_18F8D7, 4
release
end
SootopolisCity_Mart_EventScript_15B268:: @ 815B268
msgbox SootopolisCity_Mart_Text_18F890, 4
release
end
SootopolisCity_Mart_EventScript_15B272:: @ 815B272
lock
faceplayer
checkflag FLAG_LEGENDARY_BATTLE_COMPLETED
goto_if_eq SootopolisCity_Mart_EventScript_15B290
checkflag FLAG_LEGEND_ESCAPED_SEAFLOOR_CAVERN
goto_if 0, SootopolisCity_Mart_EventScript_15B290
msgbox SootopolisCity_Mart_Text_18F96B, 4
release
end
SootopolisCity_Mart_EventScript_15B290:: @ 815B290
msgbox SootopolisCity_Mart_Text_18F8F2, 4
release
end
|