shithub: pokered

ref: cec6e6e2fb7886acc85200f921d3913fd2ea8a2b
dir: /engine/menu/oaks_pc.asm/

View raw version
OpenOaksPC:
	call SaveScreenTilesToBuffer2
	ld hl, AccessedOaksPCText
	call PrintText
	ld hl, GetDexRatedText
	call PrintText
	call YesNoChoice
	ld a, [wCurrentMenuItem]
	and a
	jr nz, .closePC
	predef DisplayDexRating
.closePC
	ld hl, ClosedOaksPCText
	call PrintText
	jp LoadScreenTilesFromBuffer2

GetDexRatedText:
	TX_FAR _GetDexRatedText
	db "@"

ClosedOaksPCText:
	TX_FAR _ClosedOaksPCText
	TX_WAIT
	db "@"

AccessedOaksPCText:
	TX_FAR _AccessedOaksPCText
	db "@"