diff options
Diffstat (limited to 'scripts/CeladonMansion3F.asm')
-rwxr-xr-x | scripts/CeladonMansion3F.asm | 71 |
1 files changed, 71 insertions, 0 deletions
diff --git a/scripts/CeladonMansion3F.asm b/scripts/CeladonMansion3F.asm new file mode 100755 index 00000000..43832f63 --- /dev/null +++ b/scripts/CeladonMansion3F.asm @@ -0,0 +1,71 @@ +CeladonMansion3F_Script: + jp EnableAutoTextBoxDrawing + +CeladonMansion3F_TextPointers: + dw ProgrammerText + dw GraphicArtistText + dw WriterText + dw DirectorText + dw GameFreakPCText1 + dw GameFreakPCText2 + dw GameFreakPCText3 + dw GameFreakSignText + +ProgrammerText: + TX_FAR _ProgrammerText + db "@" + +GraphicArtistText: + TX_FAR _GraphicArtistText + db "@" + +WriterText: + TX_FAR _WriterText + db "@" + +DirectorText: + TX_ASM + + ; check pokédex + ld hl, wPokedexOwned + ld b, wPokedexOwnedEnd - wPokedexOwned + call CountSetBits + ld a, [wNumSetBits] + cp 150 + jr nc, .CompletedDex + ld hl, .GameDesigner + jr .done +.CompletedDex + ld hl, .CompletedDexText +.done + call PrintText + jp TextScriptEnd + +.GameDesigner + TX_FAR _GameDesignerText + db "@" + +.CompletedDexText + TX_FAR _CompletedDexText + TX_BLINK + TX_ASM + callab DisplayDiploma + ld a, $1 + ld [wDoNotWaitForButtonPressAfterDisplayingText], a + jp TextScriptEnd + +GameFreakPCText1: + TX_FAR _CeladonMansion3Text5 + db "@" + +GameFreakPCText2: + TX_FAR _CeladonMansion3Text6 + db "@" + +GameFreakPCText3: + TX_FAR _CeladonMansion3Text7 + db "@" + +GameFreakSignText: + TX_FAR _CeladonMansion3Text8 + db "@" |