summaryrefslogtreecommitdiff
path: root/data/maps/SootopolisCity_House8/scripts.inc
blob: 0e00ae7d664dd0c3685ddc6fc88726afaa8adf44 (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, MSGBOX_DEFAULT
	special SelectMonForNPCTrade
	waitstate
	copyvar VAR_RESULT, VAR_0x8004
	compare VAR_RESULT, 255
	goto_if_eq SootopolisCity_House8_EventScript_15B448
	special CompareShroomishSize
	compare VAR_RESULT, 1
	goto_if_eq SootopolisCity_House8_EventScript_15B452
	compare VAR_RESULT, 2
	goto_if_eq SootopolisCity_House8_EventScript_15B45C
	compare VAR_RESULT, 3
	goto_if_eq SootopolisCity_House8_EventScript_15B466
	release
	end

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

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

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

SootopolisCity_House8_EventScript_15B466:: @ 815B466
	msgbox SootopolisCity_House8_Text_19021D, MSGBOX_DEFAULT
	giveitem ITEM_ELIXIR
	compare VAR_RESULT, 0
	goto_if_eq SootopolisCity_House8_EventScript_15B488
	closemessage
	release
	end

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

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

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

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

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

SootopolisCity_House8_EventScript_15B4F7:: @ 815B4F7
	msgbox SootopolisCity_House8_Text_190536, MSGBOX_DEFAULT
	giveitem ITEM_ELIXIR
	compare VAR_RESULT, 0
	goto_if_eq SootopolisCity_House8_EventScript_15B519
	closemessage
	release
	end

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

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

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