pokered/engine/events/hidden_objects/pokecenter_pc.asm
2024-09-23 23:51:44 -04:00

11 lines
276 B
NASM

OpenPokemonCenterPC:
ld a, [wSpritePlayerStateData1FacingDirection]
cp SPRITE_FACING_UP
ret nz
call EnableAutoTextBoxDrawing
ld a, 1 << BIT_NO_AUTO_TEXT_BOX
ld [wAutoTextBoxDrawingControl], a
tx_pre_jump PokemonCenterPCText
PokemonCenterPCText::
script_pokecenter_pc