blob: d7dbf847089b0a217008e6f6d7d3d53fd5337e57 (
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
|
INCLUDE "constants.asm"
SECTION "scripts/PlayerHouse1F.asm", ROMX
PlayerHouse1F_ScriptLoader::
ld hl, PlayerHouse1FScriptPointers
call RunMapScript
call WriteBackMapScriptNumber
ret
PlayerHouse1FScriptPointers:
dw PlayerHouse1FScript1
dw PlayerHouse1FNPCIDs1
dw PlayerHouse1FScript2
dw PlayerHouse1FNPCIDs2
PlayerHouse1FNPCIDs1:
db $FF
PlayerHouse1FNPCIDs2:
db 0
db $FF
PlayerHouse1FScript1:
ld hl, PlayerHouse1FNPCIDs1
ld de, PlayerHouse1FSignPointers
call CallMapTextSubroutine
ret
PlayerHouse1FScript2:
ld hl, PlayerHouse1FNPCIDs2
ld de, PlayerHouse1FSignPointers
call CallMapTextSubroutine
ret
PlayerHouse1FSignPointers:
dw Function38ab
dw Function38b4
dw Function38a2
dw Function38bd
dw Function3899
PlayerHouse1F_TextPointers::
dw PlayerHouse1FNPCText1
PlayerHouse1FNPCText1:
ld hl, PlayerHouse1FTextString1
call OpenTextbox
ret
PlayerHouse1FTextString1:
text "おかあさん『えっ あなた"
line "オーキドはかせに"
cont "ポケモンずかんを つくってくれって"
cont "たのまれたの?"
para "すごいじゃない!"
line "わたしも ポケモン きらいって"
cont "わけじゃないし がんばるのよ!"
done
|