summaryrefslogtreecommitdiff
path: root/maps/MountMortar2FInside.asm
blob: e9c39c296cc7944c4489cb4c71cd3602c11173c0 (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
MountMortar2FInside_MapScriptHeader: ; 0x7e0c8
	; trigger count
	db 0

	; callback count
	db 0
; 0x7e0ca

TrainerSupernerdHugh: ; 0x7e0ca
	; bit/flag number
	dw $5c5

	; trainer group && trainer id
	db SUPER_NERD, HUGH

	; text when seen
	dw SupernerdHughSeenText

	; text when trainer beaten
	dw SupernerdHughBeatenText

	; script when lost
	dw $0000

	; script when talk again
	dw SupernerdHughScript
; 0x7e0d6

SupernerdHughScript: ; 0x7e0d6
	talkaftercancel
	loadfont
	2writetext UnknownText_0x7e10e
	closetext
	loadmovesprites
	end
; 0x7e0de

ItemFragment_0x7e0de: ; 0x7e0de
	db MAX_POTION, 1
; 0x7e0e0

ItemFragment_0x7e0e0: ; 0x7e0e0
	db RARE_CANDY, 1
; 0x7e0e2

ItemFragment_0x7e0e2: ; 0x7e0e2
	db TM_40, 1
; 0x7e0e4

ItemFragment_0x7e0e4: ; 0x7e0e4
	db DRAGON_SCALE, 1
; 0x7e0e6

ItemFragment_0x7e0e6: ; 0x7e0e6
	db ELIXER, 1
; 0x7e0e8

ItemFragment_0x7e0e8: ; 0x7e0e8
	db ESCAPE_ROPE, 1
; 0x7e0ea

MapMountMortar2FInsideSignpostItem0: ; 0x7e0ea
	dw $0092
	db FULL_RESTORE
	
; 0x7e0ed

SupernerdHughSeenText: ; 0x7e0ed
	text "Yo! MARKUS!"
	done
; 0x7e0fa

SupernerdHughBeatenText: ; 0x7e0fa
	text "Sorry, my mistake."
	done
; 0x7e10e

UnknownText_0x7e10e: ; 0x7e10e
	text "I'm investigating"
	line "MT.MORTAR, but my"
	cont "pal's gone AWOL."

	para "Have you seen a"
	line "trainer who has a"

	para "SLOWPOKE that can"
	line "use STRENGTH?"
	done
; 0x7e184

MountMortar2FInside_MapEventHeader: ; 0x7e184
	; filler
	db 0, 0

	; warps
	db 2
	warp_def $21, $11, 4, GROUP_MOUNT_MORTAR_1F_OUTSIDE, MAP_MOUNT_MORTAR_1F_OUTSIDE
	warp_def $5, $3, 6, GROUP_MOUNT_MORTAR_1F_INSIDE, MAP_MOUNT_MORTAR_1F_INSIDE

	; xy triggers
	db 0

	; signposts
	db 1
	signpost 8, 24, $7, MapMountMortar2FInsideSignpostItem0

	; people-events
	db 7
	person_event SPRITE_POKE_BALL, 26, 32, $1, $0, 255, 255, $1, 0, ItemFragment_0x7e0de, $0680
	person_event SPRITE_POKE_BALL, 37, 6, $1, $0, 255, 255, $1, 0, ItemFragment_0x7e0e0, $0681
	person_event SPRITE_POKE_BALL, 21, 23, $1, $0, 255, 255, $1, 0, ItemFragment_0x7e0e2, $0682
	person_event SPRITE_POKE_BALL, 9, 20, $1, $0, 255, 255, $1, 0, ItemFragment_0x7e0e4, $0683
	person_event SPRITE_POKE_BALL, 15, 13, $1, $0, 255, 255, $1, 0, ItemFragment_0x7e0e6, $0684
	person_event SPRITE_POKE_BALL, 9, 32, $1, $0, 255, 255, $1, 0, ItemFragment_0x7e0e8, $0685
	person_event SPRITE_SUPER_NERD, 30, 17, $a, $0, 255, 255, $b2, 2, TrainerSupernerdHugh, $ffff
; 0x7e1f4