2019-01-01 20:06:23 +00:00
|
|
|
CeladonMansion3F_Script:
|
2014-05-18 18:19:10 +00:00
|
|
|
jp EnableAutoTextBoxDrawing
|
|
|
|
|
2019-01-01 20:06:23 +00:00
|
|
|
CeladonMansion3F_TextPointers:
|
2023-07-14 01:27:56 +00:00
|
|
|
def_text_pointers
|
|
|
|
dw_const CeladonMansion3FProgrammerText, TEXT_CELADONMANSION3F_PROGRAMMER
|
|
|
|
dw_const CeladonMansion3FGraphicArtistText, TEXT_CELADONMANSION3F_GRAPHIC_ARTIST
|
|
|
|
dw_const CeladonMansion3FWriterText, TEXT_CELADONMANSION3F_WRITER
|
|
|
|
dw_const CeladonMansion3FGameDesignerText, TEXT_CELADONMANSION3F_GAME_DESIGNER
|
|
|
|
dw_const CeladonMansion3FGameProgramPCText, TEXT_CELADONMANSION3F_GAME_PROGRAM_PC
|
|
|
|
dw_const CeladonMansion3FPlayingGamePCText, TEXT_CELADONMANSION3F_PLAYING_GAME_PC
|
|
|
|
dw_const CeladonMansion3FGameScriptPCText, TEXT_CELADONMANSION3F_GAME_SCRIPT_PC
|
|
|
|
dw_const CeladonMansion3FDevRoomSignText, TEXT_CELADONMANSION3F_DEV_ROOM_SIGN
|
2014-05-18 18:19:10 +00:00
|
|
|
|
2023-07-14 01:27:56 +00:00
|
|
|
CeladonMansion3FProgrammerText:
|
|
|
|
text_far _CeladonMansion3FProgrammerText
|
2020-07-04 21:09:35 +00:00
|
|
|
text_end
|
2014-05-18 18:19:10 +00:00
|
|
|
|
2023-07-14 01:27:56 +00:00
|
|
|
CeladonMansion3FGraphicArtistText:
|
|
|
|
text_far _CeladonMansion3FGraphicArtistText
|
2020-07-04 21:09:35 +00:00
|
|
|
text_end
|
2014-05-18 18:19:10 +00:00
|
|
|
|
2023-07-14 01:27:56 +00:00
|
|
|
CeladonMansion3FWriterText:
|
|
|
|
text_far _CeladonMansion3FWriterText
|
2020-07-04 21:09:35 +00:00
|
|
|
text_end
|
2014-05-18 18:19:10 +00:00
|
|
|
|
2023-07-14 01:27:56 +00:00
|
|
|
CeladonMansion3FGameDesignerText:
|
2020-07-04 21:09:35 +00:00
|
|
|
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]
|
2020-07-16 15:19:05 +00:00
|
|
|
cp NUM_POKEMON - 1 ; discount Mew
|
|
|
|
jr nc, .completed_dex
|
2023-07-14 01:27:56 +00:00
|
|
|
ld hl, .Text
|
2014-05-18 18:19:10 +00:00
|
|
|
jr .done
|
2020-07-16 15:19:05 +00:00
|
|
|
.completed_dex
|
2014-05-18 18:19:10 +00:00
|
|
|
ld hl, .CompletedDexText
|
|
|
|
.done
|
|
|
|
call PrintText
|
|
|
|
jp TextScriptEnd
|
|
|
|
|
2023-07-14 01:27:56 +00:00
|
|
|
.Text:
|
|
|
|
text_far _CeladonMansion3FGameDesignerText
|
2020-07-04 21:09:35 +00:00
|
|
|
text_end
|
2014-05-18 18:19:10 +00:00
|
|
|
|
2020-07-16 15:19:05 +00:00
|
|
|
.CompletedDexText:
|
2023-07-14 01:27:56 +00:00
|
|
|
text_far _CeladonMansion3FGameDesignerCompletedDexText
|
2020-07-04 21:09:35 +00:00
|
|
|
text_promptbutton
|
|
|
|
text_asm
|
2020-07-07 01:18:22 +00:00
|
|
|
callfar DisplayDiploma
|
2020-07-16 15:19:05 +00:00
|
|
|
ld a, TRUE
|
2014-09-13 07:50:56 +00:00
|
|
|
ld [wDoNotWaitForButtonPressAfterDisplayingText], a
|
2014-05-18 18:19:10 +00:00
|
|
|
jp TextScriptEnd
|
|
|
|
|
2023-07-14 01:27:56 +00:00
|
|
|
CeladonMansion3FGameProgramPCText:
|
|
|
|
text_far _CeladonMansion3FGameProgramPCText
|
2020-07-04 21:09:35 +00:00
|
|
|
text_end
|
2014-05-18 18:19:10 +00:00
|
|
|
|
2023-07-14 01:27:56 +00:00
|
|
|
CeladonMansion3FPlayingGamePCText:
|
|
|
|
text_far _CeladonMansion3FPlayingGamePCText
|
2020-07-04 21:09:35 +00:00
|
|
|
text_end
|
2014-05-18 18:19:10 +00:00
|
|
|
|
2023-07-14 01:27:56 +00:00
|
|
|
CeladonMansion3FGameScriptPCText:
|
|
|
|
text_far _CeladonMansion3FGameScriptPCText
|
2020-07-04 21:09:35 +00:00
|
|
|
text_end
|
2014-05-18 18:19:10 +00:00
|
|
|
|
2023-07-14 01:27:56 +00:00
|
|
|
CeladonMansion3FDevRoomSignText:
|
|
|
|
text_far _CeladonMansion3FDevRoomSignText
|
2020-07-04 21:09:35 +00:00
|
|
|
text_end
|