pokered/scripts/CeladonMansion3F.asm

70 lines
1.2 KiB
NASM
Raw Normal View History

CeladonMansion3F_Script:
2014-05-18 18:19:10 +00:00
jp EnableAutoTextBoxDrawing
CeladonMansion3F_TextPointers:
2014-05-18 18:19:10 +00:00
dw ProgrammerText
dw GraphicArtistText
dw WriterText
dw DirectorText
dw GameFreakPCText1
dw GameFreakPCText2
dw GameFreakPCText3
dw GameFreakSignText
2016-06-12 00:24:04 +00:00
ProgrammerText:
text_far _ProgrammerText
text_end
2014-05-18 18:19:10 +00:00
2016-06-12 00:24:04 +00:00
GraphicArtistText:
text_far _GraphicArtistText
text_end
2014-05-18 18:19:10 +00:00
2016-06-12 00:24:04 +00:00
WriterText:
text_far _WriterText
text_end
2014-05-18 18:19:10 +00:00
2016-06-12 00:24:04 +00:00
DirectorText:
text_asm
2014-05-18 18:19:10 +00:00
ld hl, wPokedexOwned
ld b, wPokedexOwnedEnd - wPokedexOwned
call CountSetBits
2015-08-07 11:24:06 +00:00
ld a, [wNumSetBits]
cp NUM_POKEMON - 1 ; discount Mew
jr nc, .completed_dex
ld hl, .GameDesignerText
2014-05-18 18:19:10 +00:00
jr .done
.completed_dex
2014-05-18 18:19:10 +00:00
ld hl, .CompletedDexText
.done
call PrintText
jp TextScriptEnd
.GameDesignerText:
text_far _GameDesignerText
text_end
2014-05-18 18:19:10 +00:00
.CompletedDexText:
text_far _CompletedDexText
text_promptbutton
text_asm
callfar DisplayDiploma
ld a, TRUE
2014-09-13 07:50:56 +00:00
ld [wDoNotWaitForButtonPressAfterDisplayingText], a
2014-05-18 18:19:10 +00:00
jp TextScriptEnd
2016-06-12 00:24:04 +00:00
GameFreakPCText1:
text_far _CeladonMansion3Text5
text_end
2014-05-18 18:19:10 +00:00
2016-06-12 00:24:04 +00:00
GameFreakPCText2:
text_far _CeladonMansion3Text6
text_end
2014-05-18 18:19:10 +00:00
2016-06-12 00:24:04 +00:00
GameFreakPCText3:
text_far _CeladonMansion3Text7
text_end
2014-05-18 18:19:10 +00:00
2016-06-12 00:24:04 +00:00
GameFreakSignText:
text_far _CeladonMansion3Text8
text_end