2015-02-11 22:08:07 +00:00
|
|
|
|
2015-11-17 03:29:54 +00:00
|
|
|
_Diploma: ; 1dd702
|
2015-02-11 22:08:07 +00:00
|
|
|
call Function1dd709
|
2015-11-11 04:23:28 +00:00
|
|
|
call WaitPressAorB_BlinkCursor
|
2015-02-11 22:08:07 +00:00
|
|
|
ret
|
|
|
|
; 1dd709
|
|
|
|
|
|
|
|
Function1dd709: ; 1dd709
|
2015-11-12 04:38:57 +00:00
|
|
|
call ClearBGPalettes
|
2015-02-11 22:08:07 +00:00
|
|
|
call ClearTileMap
|
|
|
|
call ClearSprites
|
|
|
|
call DisableLCD
|
|
|
|
ld hl, LZ_1dd805
|
|
|
|
ld de, VTiles2
|
|
|
|
call Decompress
|
|
|
|
ld hl, Tilemap_1ddc4b
|
2015-07-22 19:57:02 +00:00
|
|
|
decoord 0, 0
|
|
|
|
ld bc, SCREEN_WIDTH * SCREEN_HEIGHT
|
2015-02-11 22:08:07 +00:00
|
|
|
call CopyBytes
|
|
|
|
ld de, String_1dd760
|
|
|
|
hlcoord 2, 5
|
|
|
|
call PlaceString
|
|
|
|
ld de, String_1dd767
|
|
|
|
hlcoord 15, 5
|
|
|
|
call PlaceString
|
|
|
|
ld de, PlayerName
|
|
|
|
hlcoord 9, 5
|
|
|
|
call PlaceString
|
|
|
|
ld de, String_1dd768
|
|
|
|
hlcoord 2, 8
|
|
|
|
call PlaceString
|
|
|
|
call EnableLCD
|
|
|
|
call WaitBGMap
|
2015-11-20 20:15:32 +00:00
|
|
|
ld b, SCGB_08
|
2015-02-11 22:08:07 +00:00
|
|
|
call GetSGBLayout
|
2015-09-09 23:27:07 +00:00
|
|
|
call SetPalettes
|
2015-02-11 22:08:07 +00:00
|
|
|
call DelayFrame
|
|
|
|
ret
|
|
|
|
; 1dd760
|
|
|
|
|
|
|
|
String_1dd760:
|
|
|
|
db "PLAYER@"
|
|
|
|
|
|
|
|
String_1dd767:
|
|
|
|
db "@"
|
|
|
|
|
|
|
|
String_1dd768:
|
|
|
|
db "This certifies"
|
|
|
|
next "that you have"
|
|
|
|
next "completed the"
|
|
|
|
next "new #DEX."
|
|
|
|
next "Congratulations!"
|
|
|
|
db "@"
|
|
|
|
; 1dd7ae
|
|
|
|
|
|
|
|
Function1dd7ae: ; 1dd7ae
|
2015-07-22 19:57:02 +00:00
|
|
|
hlcoord 0, 0
|
|
|
|
ld bc, SCREEN_WIDTH * SCREEN_HEIGHT
|
2015-02-11 22:08:07 +00:00
|
|
|
ld a, $7f
|
|
|
|
call ByteFill
|
|
|
|
ld hl, Tilemap_1dddb3
|
2015-07-22 19:57:02 +00:00
|
|
|
decoord 0, 0
|
|
|
|
ld bc, SCREEN_WIDTH * SCREEN_HEIGHT
|
2015-02-11 22:08:07 +00:00
|
|
|
call CopyBytes
|
|
|
|
ld de, String_1dd7fa
|
|
|
|
hlcoord 8, 0
|
|
|
|
call PlaceString
|
|
|
|
ld de, String_1dd7f0
|
|
|
|
hlcoord 3, 15
|
|
|
|
call PlaceString
|
|
|
|
hlcoord 12, 15
|
|
|
|
ld de, GameTimeHours
|
2015-10-10 21:03:04 +00:00
|
|
|
lb bc, 2, 4
|
2015-02-11 22:08:07 +00:00
|
|
|
call PrintNum
|
|
|
|
ld [hl], $67
|
|
|
|
inc hl
|
|
|
|
ld de, GameTimeMinutes
|
2015-10-10 21:03:04 +00:00
|
|
|
lb bc, PRINTNUM_LEADINGZEROS | 1, 2
|
2015-02-11 22:08:07 +00:00
|
|
|
call PrintNum
|
|
|
|
ret
|
|
|
|
; 1dd7f0
|
|
|
|
|
|
|
|
String_1dd7f0: db "PLAY TIME@"
|
|
|
|
String_1dd7fa: db "GAME FREAK@"
|
|
|
|
; 1dd805
|
|
|
|
|
|
|
|
LZ_1dd805: ; 1dd805
|
|
|
|
INCBIN "gfx/unknown/1dd805.2bpp.lz"
|
|
|
|
|
|
|
|
Tilemap_1ddc4b: ; 1ddc4b
|
|
|
|
INCBIN "gfx/unknown/1ddc4b.tilemap"
|
|
|
|
|
|
|
|
Tilemap_1dddb3: ; 1dddb3
|
|
|
|
INCBIN "gfx/unknown/1dddb3.tilemap"
|