shithub: pokered

ref: 53805947c3bc30c491b4f2a820c27e152dfa4b89
dir: /engine/menus/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:
	text_far _GetDexRatedText
	text_end

ClosedOaksPCText:
	text_far _ClosedOaksPCText
	text_waitbutton
	text_end

AccessedOaksPCText:
	text_far _AccessedOaksPCText
	text_end