shithub: pokered

ref: 9cfae346587676e8f7b345a41b0b55734da2dd23
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