aboutsummaryrefslogtreecommitdiffstats
path: root/engine/events/hidden_events/pokecenter_pc.asm
blob: 59867d1a4d82b39308b94617ddaf2b074bc8bca8 (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 << BIT_NO_AUTO_TEXT_BOX
	ld [wAutoTextBoxDrawingControl], a
	tx_pre_jump PokemonCenterPCText

PokemonCenterPCText::
	script_pokecenter_pc