kep-hack/engine/events/hidden_objects/pokecenter_pc.asm

12 lines
255 B
NASM

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