summaryrefslogtreecommitdiff
path: root/engine/events/hidden_objects/pokecenter_pc.asm
blob: f20f40ed4d32202e860868c380def895f665de38 (plain)
1
2
3
4
5
6
7
8
9
10
11
OpenPokemonCenterPC:
	ld a, [wSpritePlayerStateData1FacingDirection]
	cp SPRITE_FACING_UP
	ret nz
	call EnableAutoTextBoxDrawing
	ld a, TRUE
	ld [wAutoTextBoxDrawingControl], a
	tx_pre_jump PokemonCenterPCText

PokemonCenterPCText::
	script_pokecenter_pc