summaryrefslogtreecommitdiff
path: root/maps/GoldenrodBikeShop.asm
blob: 39a3313f3df859b0cf22578431f32efc5d956b75 (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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
GoldenrodBikeShop_MapScriptHeader:
.MapTriggers:
	db 0

.MapCallbacks:
	db 0

UnknownScript_0x5474f:
	end

ClerkScript_0x54750:
	faceplayer
	loadfont
	checkevent EVENT_GOT_BICYCLE
	iftrue UnknownScript_0x54775
	writetext UnknownText_0x54787
	yesorno
	iffalse UnknownScript_0x5477b
	writetext UnknownText_0x547f8
	keeptextopen
	waitbutton
	giveitem BICYCLE, 1
	writetext UnknownText_0x54848
	playsound SFX_KEY_ITEM
	waitbutton
	itemnotify
	setflag ENGINE_BIKE_SHOP_CALL_ENABLED
	setevent EVENT_GOT_BICYCLE
UnknownScript_0x54775:
	writetext UnknownText_0x5485f
	closetext
	loadmovesprites
	end

UnknownScript_0x5477b:
	writetext UnknownText_0x54898
	closetext
	loadmovesprites
	end

; possibly unused
UnknownScript_0x54781:
	jumptext UnknownText_0x548c0

MapGoldenrodBikeShopSignpost8Script:
	jumptext UnknownText_0x548ed

UnknownText_0x54787:
	text "…sigh… I moved"
	line "here, but I can't"

	para "sell my BICYCLES."
	line "Why is that?"

	para "Could you ride a"
	line "BICYCLE and adver-"
	cont "tise for me?"
	done

UnknownText_0x547f8:
	text "Really? Great!"

	para "Give me your name"
	line "and phone number,"

	para "and I'll loan you"
	line "a BICYCLE."
	done

UnknownText_0x54848:
	text "<PLAYER> borrowed a"
	line "BICYCLE."
	done

UnknownText_0x5485f:
	text "My BICYCLES are"
	line "first-rate! You"

	para "can ride them"
	line "anywhere."
	done

UnknownText_0x54898:
	text "…sigh… Oh, for"
	line "the kindness of"
	cont "people…"
	done

; possibly unused
UnknownText_0x548c0:
	text "Just released!"

	para "First-rate compact"
	line "BICYCLES!"
	done

UnknownText_0x548ed:
	text "It's a shiny new"
	line "BICYCLE!"
	done

GoldenrodBikeShop_MapEventHeader:
	; filler
	db 0, 0

.Warps:
	db 2
	warp_def $7, $2, 2, GOLDENROD_CITY
	warp_def $7, $3, 2, GOLDENROD_CITY

.XYTriggers:
	db 0

.Signposts:
	db 9
	signpost 2, 1, SIGNPOST_READ, MapGoldenrodBikeShopSignpost8Script
	signpost 3, 0, SIGNPOST_READ, MapGoldenrodBikeShopSignpost8Script
	signpost 3, 1, SIGNPOST_READ, MapGoldenrodBikeShopSignpost8Script
	signpost 5, 0, SIGNPOST_READ, MapGoldenrodBikeShopSignpost8Script
	signpost 5, 1, SIGNPOST_READ, MapGoldenrodBikeShopSignpost8Script
	signpost 6, 0, SIGNPOST_READ, MapGoldenrodBikeShopSignpost8Script
	signpost 6, 1, SIGNPOST_READ, MapGoldenrodBikeShopSignpost8Script
	signpost 6, 6, SIGNPOST_READ, MapGoldenrodBikeShopSignpost8Script
	signpost 6, 7, SIGNPOST_READ, MapGoldenrodBikeShopSignpost8Script

.PersonEvents:
	db 1
	person_event SPRITE_CLERK, 2, 7, $8, 0, 0, -1, -1, (1 << 3) | PAL_OW_RED, 0, 0, ClerkScript_0x54750, -1