summaryrefslogtreecommitdiff
path: root/maps/Route6SaffronGate.asm
blob: 380f9fbd818c5607aa5701f1e14b051c7b7171f0 (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
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
	checkbit1 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
	db $0, "Welcome to SAFFRON", $4f
	db "CITY, home of the", $55
	db "MAGNET TRAIN!", $51
	db "…That's what I'd", $4f
	db "normally say, but", $51
	db "the MAGNET TRAIN", $4f
	db "isn't running now.", $51
	db "It's not getting", $4f
	db "any electricity", $51
	db "because there's", $4f
	db "something wrong", $51
	db "with the POWER", $4f
	db "PLANT.", $57
; 0x1927cb

UnknownText_0x1927cb: ; 0x1927cb
	db $0, "The MAGNET TRAIN", $4f
	db "is the most famous", $51
	db "thing about SAF-", $4f
	db "FRON.", $57
; 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