blob: f897279304aa192643c3f50cbba0ba37cfb679aa (
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
|
CeladonMansion3F_Script:
jp EnableAutoTextBoxDrawing
CeladonMansion3F_TextPointers:
dw ProgrammerText
dw GraphicArtistText
dw WriterText
dw DirectorText
dw GameFreakPCText1
dw GameFreakPCText2
dw GameFreakPCText3
dw GameFreakSignText
ProgrammerText:
text_far _ProgrammerText
text_end
GraphicArtistText:
text_far _GraphicArtistText
text_end
WriterText:
text_far _WriterText
text_end
DirectorText:
text_asm
ld hl, wPokedexOwned
ld b, wPokedexOwnedEnd - wPokedexOwned
call CountSetBits
ld a, [wNumSetBits]
cp NUM_POKEMON - 1 ; discount Mew
jr nc, .completed_dex
ld hl, .GameDesignerText
jr .done
.completed_dex
ld hl, .CompletedDexText
.done
call PrintText
jp TextScriptEnd
.GameDesignerText:
text_far _GameDesignerText
text_end
.CompletedDexText:
text_far _CompletedDexText
text_promptbutton
text_asm
callfar DisplayDiploma
ld a, TRUE
ld [wDoNotWaitForButtonPressAfterDisplayingText], a
jp TextScriptEnd
GameFreakPCText1:
text_far _CeladonMansion3Text5
text_end
GameFreakPCText2:
text_far _CeladonMansion3Text6
text_end
GameFreakPCText3:
text_far _CeladonMansion3Text7
text_end
GameFreakSignText:
text_far _CeladonMansion3Text8
text_end
|