summaryrefslogtreecommitdiff
path: root/maps/RedsHouse1F.asm
blob: 3384ac5239c1e05c2aeddbb45144159704a8ee26 (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
RedsHouse1F_MapScriptHeader: ; 0x19ae9c
	; trigger count
	db 1

	; triggers
	dw UnknownScript_0x19aea2, $0000

	; callback count
	db 0
; 0x19aea2

UnknownScript_0x19aea2: ; 0x19aea2
	end
; 0x19aea3

RedsMomScript_0x19aea3: ; 0x19aea3
	faceplayer
	loadfont
	checkevent EVENT_MET_REDS_MOM
	iftrue UnknownScript_0x19aeb4
	2writetext UnknownText_0x19aec0
	closetext
	loadmovesprites
	setevent EVENT_MET_REDS_MOM
	end
; 0x19aeb4

UnknownScript_0x19aeb4: ; 0x19aeb4
	2writetext UnknownText_0x19af81
	closetext
	loadmovesprites
	end
; 0x19aeba

MapRedsHouse1FSignpost2Script: ; 0x19aeba
	jumptext UnknownText_0x19afe8
; 0x19aebd

MapRedsHouse1FSignpost1Script: ; 0x19aebd
	jumpstd $0002
; 0x19aec0

UnknownText_0x19aec0: ; 0x19aec0
	db $0, "Hi!", $51
	db "RED's been away", $4f
	db "for a long time.", $51
	db "He hasn't called", $4f
	db "either, so I have", $51
	db "no idea where he", $4f
	db "is or what he's", $55
	db "been doing.", $51
	db "They say that no", $4f
	db "word is proof that", $51
	db "he's doing fine,", $4f
	db "but I do worry", $55
	db "about him.", $57
; 0x19af81

UnknownText_0x19af81: ; 0x19af81
	db $0, "I worry about RED", $4f
	db "getting hurt or", $51
	db "sick, but he's a", $4f
	db "boy. I'm proud", $51
	db "that he is doing", $4f
	db "what he wants to", $51
	db "do.", $57
; 0x19afe8

UnknownText_0x19afe8: ; 0x19afe8
	db $0, "They have programs", $4f
	db "that aren't shown", $55
	db "in JOHTO…", $57
; 0x19b017

RedsHouse1F_MapEventHeader: ; 0x19b017
	; filler
	db 0, 0

	; warps
	db 3
	warp_def $7, $2, 1, GROUP_PALLET_TOWN, MAP_PALLET_TOWN
	warp_def $7, $3, 1, GROUP_PALLET_TOWN, MAP_PALLET_TOWN
	warp_def $0, $7, 1, GROUP_REDS_HOUSE_2F, MAP_REDS_HOUSE_2F

	; xy triggers
	db 0

	; signposts
	db 3
	signpost 1, 0, $0, MapRedsHouse1FSignpost1Script
	signpost 1, 1, $0, MapRedsHouse1FSignpost1Script
	signpost 1, 2, $0, MapRedsHouse1FSignpost2Script

	; people-events
	db 1
	person_event SPRITE_REDS_MOM, 7, 9, $8, $0, 255, 255, $0, 0, RedsMomScript_0x19aea3, $ffff
; 0x19b048