summaryrefslogtreecommitdiff
path: root/data/scripts/maps/FortreeCity_House2.inc
blob: ae70b86444cdf0bdcdd3c9c8ab0c10c37a989ee9 (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
FortreeCity_House2_MapScripts:: @ 81580B3
	.byte 0

FortreeCity_House2_EventScript_1580B4:: @ 81580B4
	lock
	faceplayer
	checkflag FLAG_RECEIVED_TM10
	goto_if_eq FortreeCity_House2_EventScript_158157
	checkflag FLAG_MET_HIDDEN_POWER_GIVER
	call_if 0, FortreeCity_House2_EventScript_15814B
	msgbox FortreeCity_House2_Text_186360, 4
	multichoice 21, 8, 54, 1
	switch RESULT
	case 1, FortreeCity_House2_EventScript_158161
	msgbox FortreeCity_House2_Text_1863F6, 4
	multichoice 21, 8, 54, 1
	switch RESULT
	case 1, FortreeCity_House2_EventScript_158161
	msgbox FortreeCity_House2_Text_186455, 4
	multichoice 21, 8, 54, 1
	switch RESULT
	case 0, FortreeCity_House2_EventScript_158161
	msgbox FortreeCity_House2_Text_1864C6, 4
	giveitem_std ITEM_TM10
	compare RESULT, 0
	goto_if_eq FortreeCity_House2_EventScript_1A029B
	setflag FLAG_RECEIVED_TM10
	msgbox FortreeCity_House2_Text_18652F, 4
	release
	end

FortreeCity_House2_EventScript_15814B:: @ 815814B
	msgbox FortreeCity_House2_Text_186306, 4
	setflag FLAG_MET_HIDDEN_POWER_GIVER
	return

FortreeCity_House2_EventScript_158157:: @ 8158157
	msgbox FortreeCity_House2_Text_18652F, 4
	release
	end

FortreeCity_House2_EventScript_158161:: @ 8158161
	msgbox FortreeCity_House2_Text_186565, 4
	release
	end