shithub: pokered

ref: 21c266b950e5f4379bb7c3f605689b9070c8f48d
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, TRUE
	ld [wAutoTextBoxDrawingControl], a
	tx_pre_jump PokemonCenterPCText

PokemonCenterPCText::
	script_pokecenter_pc