summaryrefslogtreecommitdiff
path: root/maps/PlayersHouse1F.asm
blob: 5157d63c783326aa70a8fcc562dcdd7c16c0ead5 (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
include "constants.asm"

SECTION "Player's House 1F", ROMX[$409C], BANK[$34]

PlayersHouse1FScriptLoader:: ; 409C
	ld hl, PlayersHouse1FScriptPointers
	call RunMapScript
	call WriteBackMapScriptNumber
	ret
	
PlayersHouse1FScriptPointers: ; 40A6
	dw PlayersHouse1FScript1 
	dw PlayersHouse1FNPCIDs1 
	dw PlayersHouse1FScript2 
	dw PlayersHouse1FNPCIDs2 
	
PlayersHouse1FNPCIDs1: ; 40AE
	db $FF
	
PlayersHouse1FNPCIDs2: ; 40AF
	db 0
	db $FF
	
PlayersHouse1FScript1: ; 40B1
	ld hl, PlayersHouse1FNPCIDs1
	ld de, PlayersHouse1FTextPointers
	call CallMapTextSubroutine
	ret
	
PlayersHouse1FScript2: ; 40BB
	ld hl, PlayersHouse1FNPCIDs2
	ld de, PlayersHouse1FTextPointers
	call CallMapTextSubroutine
	ret
	
PlayersHouse1FTextPointers: ; 40C5
	dw Function38ab 
	dw Function38b4 
	dw Function38a2 
	dw Function38bd 
	dw Function3899 
	dw PlayersHouse1FNPCText1 
	
PlayersHouse1FNPCText1: ; 40D1
	ld hl, PlayersHouse1FTextString1
	call OpenTextbox
	ret
	
PlayersHouse1FTextString1: ; 40D8
	text "おかあさん『えっ あなた"
	line "オーキドはかせに"
	cont "ポケモンずかんを つくってくれって"
	cont "たのまれたの?"
	
	para "すごいじゃない!"
	line "わたしも ポケモン きらいって"
	cont "わけじゃないし がんばるのよ!"
	done
	
; 4132