shithub: pokered

ref: 95014444bc0ee24553674f8c10e6b41ea43febbd
dir: /engine/events/hidden_objects/pokecenter_pc.asm/

View raw version
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