summaryrefslogtreecommitdiff
path: root/data/maps/CeladonCity_DepartmentStore_2F/scripts.inc
blob: 0627bf3a0197f2d69b47e15463993e75ea206dbb (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
60
61
62
63
64
65
66
67
CeladonCity_DepartmentStore_2F_MapScripts:: @ 816BAF4
	.byte 0

CeladonCity_DepartmentStore_2F_EventScript_16BAF5:: @ 816BAF5
	msgbox gUnknown_81955C7, 2
	end

CeladonCity_DepartmentStore_2F_EventScript_16BAFE:: @ 816BAFE
	msgbox gUnknown_819560F, 2
	end

CeladonCity_DepartmentStore_2F_EventScript_16BB07:: @ 816BB07
	msgbox gUnknown_8195638, 3
	end

CeladonCity_DepartmentStore_2F_EventScript_16BB10:: @ 816BB10
	special sub_8110AB4
	compare_var_to_value VAR_RESULT, 2
	goto_if eq, EventScript_1A7AE0
	lock
	faceplayer
	message Text_1A6211
	waitmessage
	pokemart Items_16BB38
	msgbox gUnknown_81A5190
	release
	end

	.align 2
Items_16BB38:: @ 816BB38
	.2byte ITEM_GREAT_BALL
	.2byte ITEM_SUPER_POTION
	.2byte ITEM_REVIVE
	.2byte ITEM_ANTIDOTE
	.2byte ITEM_PARALYZE_HEAL
	.2byte ITEM_AWAKENING
	.2byte ITEM_BURN_HEAL
	.2byte ITEM_ICE_HEAL
	.2byte ITEM_SUPER_REPEL
	.2byte ITEM_NONE
	release
	end

CeladonCity_DepartmentStore_2F_EventScript_16BB4E:: @ 816BB4E
	special sub_8110AB4
	compare_var_to_value VAR_RESULT, 2
	goto_if eq, EventScript_1A7AE0
	lock
	faceplayer
	message Text_1A6211
	waitmessage
	pokemart Items_16BB74
	msgbox gUnknown_81A5190
	release
	end

	.align 2
Items_16BB74:: @ 816BB74
	.2byte ITEM_TM05
	.2byte ITEM_TM15
	.2byte ITEM_TM28
	.2byte ITEM_TM31
	.2byte ITEM_TM43
	.2byte ITEM_TM45
	.2byte ITEM_NONE
	release
	end