summaryrefslogtreecommitdiff
path: root/maps/Route1P1.asm
blob: 5f3a1b8e924f0dd4f9dcf7ffa851b523e21f0f7c (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
include "constants.asm"

SECTION "Route 1 East", ROMX[$7B98], BANK[$36]

Route1P1ScriptLoader:: ; 7B98
	ld hl, Route1P1ScriptPointers
	call RunMapScript
	call WriteBackMapScriptNumber
	ret
	
Route1P1ScriptPointers: ; 7BA2
	dw Route1P1Script
	dw Route1P1NPCIDs
	
Route1P1NPCIDs: ; 7BA6
	db 0
	db 1
	db $FF
	
Route1P1TextPointers: ;7BA9
	dw Route1P1TextSign1
	dw Route1P1TextSign2
	dw Route1P1TextNPC1
	dw Route1P1TextNPC2
	
Route1P1Script:: ; 7BB1
	ld hl, Route1P1NPCIDs
	ld de, Route1P1TextPointers
	call CallMapTextSubroutine
	ret

Route1P1TextNPC1: ; 7BBB
	ld hl, Route1P1TextString1
	call OpenTextbox
	ret
	
Route1P1TextNPC2: ; 7BC2
	ld hl, Route1P1TextString2
	call OpenTextbox
	ret
	
Route1P1TextSign1: ; 7BC9
	ld hl, Route1P1TextString3
	call OpenTextbox
	ret
	
Route1P1TextSign2: ; 7BD0
	ld hl, Route1P1TextString4
	call OpenTextbox
	ret
	
Route1P1TextString1: ; 7BD7
	text "しょうねん!"
	
	para "モンスターボールは"
	line "やせいの ポケモンを よわらせてから"
	cont "つかうのが きほんだ!"
	done
	
Route1P1TextString2: ; 7C08
	text "ぼく ゆうがた じゅくの かえりに"
	line "かわった ポケモンを みたよ"
	done
	
Route1P1TextString3: ; 7C2A
	text "このさき しずかな おか"
	line "やせいの ポケモンに ちゅうい"
	done
	
Route1P1TextString4:; 7C48
	text "ここは 1ばん どうろ"
	line "サイレントヒル …… オールドシティ"
	done
	
; 7C68