shithub: pokered

ref: e4e0af4d6713161d46cc0a1d580645ca40d6fa81
dir: /engine/events/hidden_objects/pokecenter_pc.asm/

View raw version
OpenPokemonCenterPC:
	ld a, [wSpriteStateData1 + 9]
	cp SPRITE_FACING_UP ; check to see if player is facing up
	ret nz
	call EnableAutoTextBoxDrawing
	ld a, $1
	ld [wAutoTextBoxDrawingControl], a
	tx_pre_jump PokemonCenterPCText

PokemonCenterPCText::
	TX_POKECENTER_PC