summaryrefslogtreecommitdiff
path: root/maps/Route6SaffronGate.asm
blob: bf295023b099974780e633c7c67d46a80baf79a4 (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
Route6SaffronGate_MapScriptHeader: ; 0x1926e3
	; trigger count
	db 1

	; triggers
	dw UnknownScript_0x1926e9, $0000

	; callback count
	db 0
; 0x1926e9

UnknownScript_0x1926e9: ; 0x1926e9
	end
; 0x1926ea

OfficerScript_0x1926ea: ; 0x1926ea
	faceplayer
	loadfont
	checkevent EVENT_RETURNED_MACHINE_PART
	iftrue UnknownScript_0x1926f8
	2writetext UnknownText_0x1926fe
	closetext
	loadmovesprites
	end
; 0x1926f8

UnknownScript_0x1926f8: ; 0x1926f8
	2writetext UnknownText_0x1927cb
	closetext
	loadmovesprites
	end
; 0x1926fe

UnknownText_0x1926fe: ; 0x1926fe
	text "Welcome to SAFFRON"
	line "CITY, home of the"
	cont "MAGNET TRAIN!"

	para "…That's what I'd"
	line "normally say, but"

	para "the MAGNET TRAIN"
	line "isn't running now."

	para "It's not getting"
	line "any electricity"

	para "because there's"
	line "something wrong"

	para "with the POWER"
	line "PLANT."
	done
; 0x1927cb

UnknownText_0x1927cb: ; 0x1927cb
	text "The MAGNET TRAIN"
	line "is the most famous"

	para "thing about SAF-"
	line "FRON."
	done
; 0x192807

Route6SaffronGate_MapEventHeader: ; 0x192807
	; filler
	db 0, 0

	; warps
	db 4
	warp_def $0, $4, 12, GROUP_SAFFRON_CITY, MAP_SAFFRON_CITY
	warp_def $0, $5, 13, GROUP_SAFFRON_CITY, MAP_SAFFRON_CITY
	warp_def $7, $4, 2, GROUP_ROUTE_6, MAP_ROUTE_6
	warp_def $7, $5, 2, GROUP_ROUTE_6, MAP_ROUTE_6

	; xy triggers
	db 0

	; signposts
	db 0

	; people-events
	db 1
	person_event SPRITE_OFFICER, 8, 4, $9, $0, 255, 255, $90, 0, OfficerScript_0x1926ea, $ffff
; 0x19282e