aboutsummaryrefslogtreecommitdiffstats
path: root/engine/events/hidden_objects/pokecenter_pc.asm
blob: 9ae7d41c010b8b5a2d4b3b87661e809e4830305a (plain) (blame)
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, $1
	ld [wAutoTextBoxDrawingControl], a
	tx_pre_jump PokemonCenterPCText

PokemonCenterPCText::
	script_pokecenter_pc