summaryrefslogtreecommitdiff
path: root/src/engine/menus/status.asm
blob: 4397423e2421878f0671bd3304f2906e3487e023 (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
_PauseMenu_Status:
	ld a, [wd291]
	push af
	call InitMenuScreen
	xor a
	ld [wMedalScreenYOffset], a
	call LoadCollectedMedalTilemaps
	lb de,  0,  0
	lb bc, 20,  8
	call DrawRegularTextBox
	ld hl, StatusScreenLabels
	call PrintLabels
	lb bc, 1, 1
	call DrawPauseMenuPlayerPortrait
	lb bc, 12, 4
	call PrintAlbumProgress
	lb bc, 13, 6
	call PrintPlayTime
	call FlashWhiteScreen
	ld a, A_BUTTON | B_BUTTON | START
	call WaitUntilKeysArePressed
	pop af
	ld [wd291], a
	ret

StatusScreenLabels:
	db 7, 2
	tx PlayerStatusNameText

	db 7, 4
	tx PlayerStatusAlbumText

	db 7, 6
	tx PlayerStatusPlayTimeText

	db $ff