aboutsummaryrefslogtreecommitdiffstats
path: root/engine/events/hidden_objects/pokecenter_pc.asm
blob: c1225d3ad0b53e2ae999bce500a6fcb281c4d737 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
OpenPokemonCenterPC:
	ld a, [wSpriteStateData1 + 9]
	cp SPRITE_FACING_UP ; check to see if player is facing up
	ret nz
	call EnableAutoTextBoxDrawing
	ld a, $1
	ld [wAutoTextBoxDrawingControl], a
	tx_pre_jump PokemonCenterPCText

PokemonCenterPCText::
	TX_POKECENTER_PC