summaryrefslogtreecommitdiff
path: root/maps/MountMortar1FInside.asm
blob: 948b856fa0f686020ced91ef13545e6cfb17bb7f (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
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
MountMortar1FInside_MapScriptHeader: ; 0x7de4f
	; trigger count
	db 0

	; callback count
	db 0
; 0x7de51

TrainerPokemaniacMiller: ; 0x7de51
	; bit/flag number
	dw $5c4

	; trainer group && trainer id
	db POKEMANIAC, MILLER

	; text when seen
	dw PokemaniacMillerSeenText

	; text when trainer beaten
	dw PokemaniacMillerBeatenText

	; script when lost
	dw $0000

	; script when talk again
	dw PokemaniacMillerScript
; 0x7de5d

PokemaniacMillerScript: ; 0x7de5d
	talkaftercancel
	loadfont
	2writetext UnknownText_0x7debd
	closetext
	loadmovesprites
	end
; 0x7de65

TrainerSupernerdMarkus: ; 0x7de65
	; bit/flag number
	dw $5c6

	; trainer group && trainer id
	db SUPER_NERD, MARKUS

	; text when seen
	dw SupernerdMarkusSeenText

	; text when trainer beaten
	dw SupernerdMarkusBeatenText

	; script when lost
	dw $0000

	; script when talk again
	dw SupernerdMarkusScript
; 0x7de71

SupernerdMarkusScript: ; 0x7de71
	talkaftercancel
	loadfont
	2writetext UnknownText_0x7df97
	closetext
	loadmovesprites
	end
; 0x7de79

BoulderScript_0x7de79: ; 0x7de79
	jumpstd $000e
; 0x7de7c

ItemFragment_0x7de7c: ; 0x7de7c
	db ESCAPE_ROPE, 1
; 0x7de7e

ItemFragment_0x7de7e: ; 0x7de7e
	db MAX_REVIVE, 1
; 0x7de80

ItemFragment_0x7de80: ; 0x7de80
	db HYPER_POTION, 1
; 0x7de82

ItemFragment_0x7de82: ; 0x7de82
	db MAX_POTION, 1
; 0x7de84

ItemFragment_0x7de84: ; 0x7de84
	db NUGGET, 1
; 0x7de86

ItemFragment_0x7de86: ; 0x7de86
	db IRON, 1
; 0x7de88

ItemFragment_0x7de88: ; 0x7de88
	db ULTRA_BALL, 1
; 0x7de8a

MapMountMortar1FInsideSignpostItem0: ; 0x7de8a
	dw $0091
	db MAX_REPEL
	
; 0x7de8d

PokemaniacMillerSeenText: ; 0x7de8d
	text "I'm not losing"
	line "this time!"
	done
; 0x7dea7

PokemaniacMillerBeatenText: ; 0x7dea7
	text "I lost to some"
	line "kid…?"
	done
; 0x7debd

UnknownText_0x7debd: ; 0x7debd
	text "A while back, this"
	line "karate dude wanted"

	para "to battle. He was"
	line "ridiculously good."

	para "He just thrashed"
	line "us silly."

	para "He went in deeper"
	line "saying it was for"

	para "his training. I"
	line "wonder how he is?"
	done
; 0x7df6a

SupernerdMarkusSeenText: ; 0x7df6a
	text "Hey! HUGH!"
	done
; 0x7df76

SupernerdMarkusBeatenText: ; 0x7df76
	text "I mistook you for"
	line "someone else…"
	done
; 0x7df97

UnknownText_0x7df97: ; 0x7df97
	text "I came to explore"
	line "MT.MORTAR, but I"

	para "got separated from"
	line "my partner…"

	para "Did you run into a"
	line "trainer who uses a"

	para "SEADRA that knows"
	line "WATERFALL?"
	done
; 0x7e01d

MountMortar1FInside_MapEventHeader: ; 0x7e01d
	; filler
	db 0, 0

	; warps
	db 6
	warp_def $2f, $b, 5, GROUP_MOUNT_MORTAR_1F_OUTSIDE, MAP_MOUNT_MORTAR_1F_OUTSIDE
	warp_def $2f, $1d, 6, GROUP_MOUNT_MORTAR_1F_OUTSIDE, MAP_MOUNT_MORTAR_1F_OUTSIDE
	warp_def $27, $5, 8, GROUP_MOUNT_MORTAR_1F_OUTSIDE, MAP_MOUNT_MORTAR_1F_OUTSIDE
	warp_def $29, $21, 9, GROUP_MOUNT_MORTAR_1F_OUTSIDE, MAP_MOUNT_MORTAR_1F_OUTSIDE
	warp_def $13, $3, 1, GROUP_MOUNT_MORTAR_B1F, MAP_MOUNT_MORTAR_B1F
	warp_def $9, $9, 2, GROUP_MOUNT_MORTAR_2F_INSIDE, MAP_MOUNT_MORTAR_2F_INSIDE

	; xy triggers
	db 0

	; signposts
	db 1
	signpost 11, 30, $7, MapMountMortar1FInsideSignpostItem0

	; people-events
	db 10
	person_event SPRITE_BOULDER, 47, 25, $19, $0, 255, 255, $0, 0, BoulderScript_0x7de79, $ffff
	person_event SPRITE_POKE_BALL, 42, 39, $1, $0, 255, 255, $1, 0, ItemFragment_0x7de7c, $067d
	person_event SPRITE_POKE_BALL, 14, 20, $1, $0, 255, 255, $1, 0, ItemFragment_0x7de7e, $067e
	person_event SPRITE_POKE_BALL, 31, 14, $1, $0, 255, 255, $1, 0, ItemFragment_0x7de80, $067f
	person_event SPRITE_POKE_BALL, 24, 26, $1, $0, 255, 255, $1, 0, ItemFragment_0x7de82, $07a6
	person_event SPRITE_POKE_BALL, 23, 39, $1, $0, 255, 255, $1, 0, ItemFragment_0x7de84, $07a7
	person_event SPRITE_SUPER_NERD, 47, 37, $8, $0, 255, 255, $92, 3, TrainerPokemaniacMiller, $ffff
	person_event SPRITE_SUPER_NERD, 32, 28, $a, $0, 255, 255, $b2, 3, TrainerSupernerdMarkus, $ffff
	person_event SPRITE_POKE_BALL, 20, 12, $1, $0, 255, 255, $1, 0, ItemFragment_0x7de86, $07c8
	person_event SPRITE_POKE_BALL, 21, 21, $1, $0, 255, 255, $1, 0, ItemFragment_0x7de88, $07c9
; 0x7e0c8