shithub: pokered

ref: 6ef36800b0dcb86100a7c716172015667e60dc99
dir: /engine/events/hidden_objects/town_map.asm/

View raw version
TownMapText::
	TX_FAR _TownMapText
	TX_BLINK
	TX_ASM
	ld a, $1
	ld [wDoNotWaitForButtonPressAfterDisplayingText], a
	ld hl, wd730
	set 6, [hl]
	call GBPalWhiteOutWithDelay3
	xor a
	ld [hWY], a
	inc a
	ld [hAutoBGTransferEnabled], a
	call LoadFontTilePatterns
	callba DisplayTownMap
	ld hl, wd730
	res 6, [hl]
	ld de, TextScriptEnd
	push de
	ld a, [hLoadedROMBank]
	push af
	jp CloseTextDisplay