summaryrefslogtreecommitdiff
path: root/maps/Route10South.asm
blob: 61636069211f8069bf3d95db012a8217fda58d5c (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
129
130
131
132
133
134
135
136
137
138
139
Route10South_MapScriptHeader: ; 0x1ae3f4
	; trigger count
	db 0

	; callback count
	db 0
; 0x1ae3f6

TrainerHikerJim: ; 0x1ae3f6
	; bit/flag number
	dw $534

	; trainer group && trainer id
	db HIKER, JIM

	; text when seen
	dw HikerJimSeenText

	; text when trainer beaten
	dw HikerJimBeatenText

	; script when lost
	dw $0000

	; script when talk again
	dw HikerJimScript
; 0x1ae402

HikerJimScript: ; 0x1ae402
	talkaftercancel
	loadfont
	2writetext UnknownText_0x1ae43b
	closetext
	loadmovesprites
	end
; 0x1ae40a

TrainerPokefanmRobert: ; 0x1ae40a
	; bit/flag number
	dw $4cf

	; trainer group && trainer id
	db POKEFANM, ROBERT

	; text when seen
	dw PokefanmRobertSeenText

	; text when trainer beaten
	dw PokefanmRobertBeatenText

	; script when lost
	dw $0000

	; script when talk again
	dw PokefanmRobertScript
; 0x1ae416

PokefanmRobertScript: ; 0x1ae416
	talkaftercancel
	loadfont
	2writetext UnknownText_0x1ae4a9
	closetext
	loadmovesprites
	end
; 0x1ae41e

MapRoute10SouthSignpost0Script: ; 0x1ae41e
	jumptext UnknownText_0x1ae4dc
; 0x1ae421

HikerJimSeenText: ; 0x1ae421
	text "Hahahah!"
	done
; 0x1ae42b

HikerJimBeatenText: ; 0x1ae42b
	text "Hahaha-hachoo!"
	done
; 0x1ae43b

UnknownText_0x1ae43b: ; 0x1ae43b
	text "Hay fever is"
	line "making me sneeze!"
	cont "Ahahah-CHOO!"
	done
; 0x1ae468

PokefanmRobertSeenText: ; 0x1ae468
	text "You like #MON,"
	line "don't you?"

	para "Me too!"
	done
; 0x1ae48a

PokefanmRobertBeatenText: ; 0x1ae48a
	text "I'd have to say"
	line "that's my loss."
	done
; 0x1ae4a9

UnknownText_0x1ae4a9: ; 0x1ae4a9
	text "Look what you did"
	line "to my #MON…"

	para "I won't forget"
	line "this…"
	done
; 0x1ae4dc

UnknownText_0x1ae4dc: ; 0x1ae4dc
	text "ROUTE 10"

	para "CERULEAN CITY -"
	line "LAVENDER TOWN"
	done
; 0x1ae504

Route10South_MapEventHeader: ; 0x1ae504
	; filler
	db 0, 0

	; warps
	db 1
	warp_def $1, $6, 2, GROUP_ROCK_TUNNEL_1F, MAP_ROCK_TUNNEL_1F

	; xy triggers
	db 0

	; signposts
	db 1
	signpost 3, 5, $0, MapRoute10SouthSignpost0Script

	; people-events
	db 2
	person_event SPRITE_POKEFAN_M, 7, 21, $8, $0, 255, 255, $b2, 3, TrainerHikerJim, $ffff
	person_event SPRITE_POKEFAN_M, 14, 12, $a, $0, 255, 255, $82, 3, TrainerPokefanmRobert, $ffff
; 0x1ae52e