summaryrefslogtreecommitdiff
path: root/data/scripts/maps/SootopolisCity_House8.inc
blob: 91dd3490ba5dccdad6a68c9a67597ffc89cfc78b (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
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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
SootopolisCity_House8_MapScripts:: @ 815B400
	.byte 0

SootopolisCity_House8_EventScript_15B401:: @ 815B401
	special GetShroomishSizeRecordInfo
	lock
	faceplayer
	msgbox SootopolisCity_House8_Text_1900F7, 4
	special SelectMonForNPCTrade
	waitstate
	copyvar RESULT, VAR_SPECIAL_4
	compare RESULT, 255
	goto_if_eq SootopolisCity_House8_EventScript_15B448
	special CompareShroomishSize
	compare RESULT, 1
	goto_if_eq SootopolisCity_House8_EventScript_15B452
	compare RESULT, 2
	goto_if_eq SootopolisCity_House8_EventScript_15B45C
	compare RESULT, 3
	goto_if_eq SootopolisCity_House8_EventScript_15B466
	release
	end

SootopolisCity_House8_EventScript_15B448:: @ 815B448
	msgbox SootopolisCity_House8_Text_190366, 4
	release
	end

SootopolisCity_House8_EventScript_15B452:: @ 815B452
	msgbox SootopolisCity_House8_Text_190329, 4
	release
	end

SootopolisCity_House8_EventScript_15B45C:: @ 815B45C
	msgbox SootopolisCity_House8_Text_1902E4, 4
	release
	end

SootopolisCity_House8_EventScript_15B466:: @ 815B466
	msgbox SootopolisCity_House8_Text_19021D, 4
	giveitem_std ITEM_ELIXIR
	compare RESULT, 0
	goto_if_eq SootopolisCity_House8_EventScript_15B488
	closemessage
	release
	end

SootopolisCity_House8_EventScript_15B488:: @ 815B488
	msgbox SootopolisCity_House8_Text_1902C4, 4
	release
	end

SootopolisCity_House8_EventScript_15B492:: @ 815B492
	special GetBarboachSizeRecordInfo
	lock
	faceplayer
	msgbox SootopolisCity_House8_Text_190431, 4
	special SelectMonForNPCTrade
	waitstate
	copyvar RESULT, VAR_SPECIAL_4
	compare RESULT, 255
	goto_if_eq SootopolisCity_House8_EventScript_15B4D9
	special CompareBarboachSize
	compare RESULT, 1
	goto_if_eq SootopolisCity_House8_EventScript_15B4E3
	compare RESULT, 2
	goto_if_eq SootopolisCity_House8_EventScript_15B4ED
	compare RESULT, 3
	goto_if_eq SootopolisCity_House8_EventScript_15B4F7
	release
	end

SootopolisCity_House8_EventScript_15B4D9:: @ 815B4D9
	msgbox SootopolisCity_House8_Text_19065A, 4
	release
	end

SootopolisCity_House8_EventScript_15B4E3:: @ 815B4E3
	msgbox SootopolisCity_House8_Text_190628, 4
	release
	end

SootopolisCity_House8_EventScript_15B4ED:: @ 815B4ED
	msgbox SootopolisCity_House8_Text_1905E6, 4
	release
	end

SootopolisCity_House8_EventScript_15B4F7:: @ 815B4F7
	msgbox SootopolisCity_House8_Text_190536, 4
	giveitem_std ITEM_ELIXIR
	compare RESULT, 0
	goto_if_eq SootopolisCity_House8_EventScript_15B519
	closemessage
	release
	end

SootopolisCity_House8_EventScript_15B519:: @ 815B519
	msgbox SootopolisCity_House8_Text_1905C1, 4
	release
	end

SootopolisCity_House8_EventScript_15B523:: @ 815B523
	special GetShroomishSizeRecordInfo
	lockall
	msgbox SootopolisCity_House8_Text_1903C9, 4
	releaseall
	end

SootopolisCity_House8_EventScript_15B531:: @ 815B531
	special GetBarboachSizeRecordInfo
	lockall
	msgbox SootopolisCity_House8_Text_1906BE, 4
	releaseall
	end